IP Library Granted Patent US 8,537,678
Granted Patent B2
US 8,537,678 · App. 13/257,931 · Granted Sep 17, 2013

MMS (multimedia messaging service) decoding method, MMS decoder and mobile terminal

Inventor: Gang Cao (Shenzhen, CN)
Assignee: ZTE Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,537,678
App. No.
13/257,931
Granted
Sep 17, 2013
Kind
B2
Abstract

The present disclosure discloses a multimedia messaging service (MMS) decoding method, an MMS decoder and a mobile terminal. The method comprises the steps of: parsing an original MMS data packet, acquiring all the non-SMIL (synchronized multimedia integration language) files in it, and counting the number of all the non-SMIL files as the first non-SMIL file number; determining whether an SMIL file exists in the parsing result, if yes, pre-parsing the SMIL file, obtaining the number of the non-SMIL files described by the SMIL file, and counting the number as the second non-SMIL file number, comparing the first non-SMIL file number with the second non-SMIL file number to obtain the formal SMIL file to be parsed; integrally parsing the formal SMIL file to be parsed, obtaining the data structure describing the playing layout of MMS, and taking the data structure and all the non-SMIL files obtained in step A as the MMS decoding result. The present disclosure improves the MMS decoding effect and the user experience.

Claims (66)

1. A Multimedia Messaging Service (MMS) decoding method, comprising the following steps of:

A: parsing an original MMS data packet, acquiring all the non-Synchronized Multimedia Integration Language (SMIL) files in the original MMS data packet, and counting the number of all the non-SMIL files as a first non-SMII, file number;

B: determining whether an SMIL file exists in the parsing result, when there exists an SMIL file, pre-parsing the SMIL file, obtaining the number of non-SMIL files described by the SMIL file, counting the number as a second non-SMIL file number, and executing step C;

C: determining whether the first non-SMIL file number is equal to the second non-SMIL file number, when they are equal, taking the SMIL file in the parsing result as a formal SMIL file to be parsed, and executing step E;

E: integrally parsing the formal SMIL file to be parsed, obtaining a data structure describing a playing layout of MMS, taking the obtained data structure and all the non-SMIL files obtained in step A as an MMS decoding result.

2. The method according to claim 1 , wherein the step A specifically comprises:

A1: parsing an original MMS data packet and acquiring all the files in the original MMS data packet; every time a file is acquired, determining a format of the file by checking a content-type field of the file and saving the file into a file body of a corresponding format;

A2: acquiring all the non-SMIL files in the parsing result and counting the number of all the non-SMIL files as a first non-SMIL file number.

3. The method according to claim 2 , wherein the format of the file comprises one or more types selected from a group consisting of a text format, an image format, an audio format, a video format and an attachment format.

4. The method according to claim 2 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

5. the method according to claim 1 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

6. An MMS decoder, comprising:

A file parsing module configured for parsing an original MMS data packet, acquiring all the non-SMIL files in the original MMS data packet and counting the number of all the non-SMIL files as a first non-SMIL file number;

an SMIL pre-parsing module configured for determining whether an SMIL file exists in a parsing result, when an SMIL file exists, then pre-parsing the SMIL file, obtaining the number of non-SMIL files described by the SMIL file and counting the number as a second non-SMIL file number; when no SMIL file exists, then setting the second non-SMIL file number as zero;

an SMIL decision unit configured for comparing the first non-SMIL file number with the second non-SMIL file number, and taking the SMIL file in the parsing result as a formal SMIL file to be parsed when the two numbers are equal;

an SMIL file reconstruction unit configured for, when the first non-SMIL file number and the second non-SMIL file number are not equal, constructing an SMIL file according to all the non-SMIL files obtained in the file parsing module, and taking the constructed SMIL file as a formal SMIL file to be parsed;

An MMS decoding output module configured for integrally parsing the formal SMIL file to be parsed, obtaining a data structure describing a playing layout of MMS, and taking the obtained data structure and all the non-SMIL files obtained in the file parsing module as an MMS decoding result.

7. The MMS decoder according to claim 6 , wherein the file parsing module comprises:

a parsing processing unit configured for parsing an original MMS data packet, every time a file is acquired, determining a format of the file by checking a content-type field of the file and saving the file into a file body of a corresponding format;

A non-SMIL file acquisition unit configured for acquiring all the non-SMIL files in a parsing result and counting the number of all the non-SMIL files as a first non-SMIL file number.

8. The MMS decoder according to claim 7 , wherein the format of the file comprises one or more formats selected from a group consisting of a text format, an image format, an audio format, a video format and an attachment format.

9. A mobile terminal including the MMS decoder according to claim 6 .

10. The method according to claim 3 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

11. The method according to claim 2 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

12. The method according to claim 3 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

13. A mobile terminal including the MMS decoder according to claim 7 .

14. A mobile terminal including the MMS decoder according to claim 8 .

15. A Multimedia Messaging Service (MMS) decoding method, comprising the following steps of:

A: parsing an original MMS data packet, acquiring all the non- Synchronized Multimedia Integration Language (SMIL) files in the original MMS data packet, and counting the number of all the non-SMIL files as a first non-SMIL file number;

B: determining whether an SMIL file exists in the parsing result, when there does not exist an SMIL file, executing step D;

D: constructing an SMIL file according to all the non-SMIL files obtained in step A and taking the constructed SMIL file as a formal SMIL file to be parsed;

E: integrally parsing the formal SMIL file to be parsed, obtaining a data structure describing a playing layout of MMS, taking the obtained data structure and all the non-SMIL files obtained in step A as an MMS decoding result.

16. The method according to claim 15 , wherein the step A specifically comprises:

A1: parsing an original MMS data packet and acquiring all the files in the original MMS data packet; every time a file is acquired, determining a format of the file by checking a content-type field of the file and saving the file into a file body of a corresponding format;

A2: acquiring all the non-SMIL files in the parsing result and counting the number of all the non-SMIL files as a first non-SMIL file number.

17. The method according to claim 16 , wherein the format of the file comprises one or more types selected from a group consisting of a text format, an image format, an audio format, a video format and an attachment format.

18. The method according to claim 17 , wherein in the step D, the constructing an SMIL file according to all the non-SMIL files obtained in step A is carried out in the following way:

D1: determining a construction principle of an SMIL file, wherein the construction principle comprises: only one file of one file format can exist in a frame; a video file or an attachment file can only coexist with a text file in a frame;

D2: constructing an SMIL file describing a playing layout of all the non-SMIL files according to the construction principle.

19. The method according to claim 16 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

20. The method according to claim 15 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

21. The method according to claim 17 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

22. The method according to claim 18 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

23. The method according to claim 16 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

24. The method according to claim 17 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

25. The method according to claim 18 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

26. A Multimedia Messaging Service (MMS) decoding method, comprising the following steps of:

A: parsing an original MMS data packet, acquiring all the non- Synchronized Multimedia Integration Language (SMIL) files in the original MMS data packet, and counting the number of all the non-SMIL files as a first non-SMIL file number;

B: determining whether an SMIL file exists in the parsing result, when there exists an SMIL file, pre-parsing the SMIL file, obtaining the number of non-SMIL files described by the SMIL file, counting the number as a second non-SMIL file number, and executing step C;

C: determining whether the first non-SMIL file number is equal to the second non-SMIL file number, when they are not equal, executing step D;

D: constructing an SMIL file according to all the non-SMIL files obtained in step A and taking the constructed SMIL file as a formal SMIL file to be parsed;

E: integrally parsing the formal SMIL file to be parsed, obtaining a data structure describing a playing layout of MMS, taking the obtained data structure and all the non-SMIL files obtained in step A as an MMS decoding result.

27. The method according to claim 26 , wherein the step A specifically comprises:

A1: parsing an original MMS data packet and acquiring all the files in the original MMS data packet; every time a file is acquired, determining a format of the file by checking a content-type field of the file and saving the file into a file body of a corresponding format;

A2: acquiring all the non-SMIL files in the parsing result and counting the number of all the non-SMIL files as a first non-SMIL file number.

28. The method according to claim 27 , wherein the format of the file comprises one or more types selected from a group consisting of a text format, an image format, an audio format, a video format and an attachment format.

29. The method according to claim 28 , wherein in the step D, the constructing an SMIL file according to all the non-SMIL files obtained in step A is carried out in the following way:

D1: determining a construction principle of an SMIL file, wherein the construction principle comprises: only one file of one file format can exist in a frame; a video file or an attachment file can only coexist with a text file in a frame;

D2: constructing an SMIL file describing a playing layout of all the non-SMIL files according to the construction principle.

30. The method according to claim 27 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

31. The method according to claim 26 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

32. The method according to claim 28 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

33. The method according to claim 29 , wherein for the non-SMIL files of different file formats, their respective file bodies are of list structures; all the non-SMIL file lists of different file formats are combined into a non-SMIL file sequence.

34. The method according to claim 27 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

35. The method according to claim 28 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

36. The method according to claim 29 , wherein the data structure describing a playing layout of MMS is a slide sequence structure.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 20, 2022
From: ZTE CORPORATION
To: PATTINGTON IP LLC
Reel/Frame 060777/0652 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 2, 2012
From: CAO, GANG
To: ZTE CORPORATION
Reel/Frame 028139/0632 →
Priority Claims (1)
CN 2009 1 0109401 · Aug 14, 2009 · national
Continuity (1)
Related Publication 20120157133A1 · Jun 21, 2012