CN101883172A - Method providing background music for short messages and implementation device thereof - Google Patents
Method providing background music for short messages and implementation device thereof Download PDFInfo
- Publication number
- CN101883172A CN101883172A CN2009101069446A CN200910106944A CN101883172A CN 101883172 A CN101883172 A CN 101883172A CN 2009101069446 A CN2009101069446 A CN 2009101069446A CN 200910106944 A CN200910106944 A CN 200910106944A CN 101883172 A CN101883172 A CN 101883172A
- Authority
- CN
- China
- Prior art keywords
- note
- background music
- music
- header information
- coding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000007689 inspection Methods 0.000 claims description 12
- 238000010295 mobile communication Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method providing background music for short messages and an implementation device thereof. The method comprises the following steps: reading a short message, judging whether the short message is a short message with background music, if so, analyzing codes of the back ground music; searching in a locally preset background music library according to the codes of the back ground music, finding out the relevant background music corresponding to the back ground music code and then playing. The implementation device comprises a judging unit, a decoding unit, a searching unit and a playing unit. In the invention, the method and the implementation device thereof realize the purpose of playing the background music while reading the short message by analyzing the codes of the back ground music, finding out the relevant background music corresponding to the back ground music code in the locally preset background music library and then playing.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and implement device thereof that background music is provided for note.
Background technology
Multimedia message is a kind of MMS (Multimedia Message Service), and it is not a kind of note technically, but under the support of GPRS network, is a kind of multimedia technology that carrier transmits information such as picture, sound and literal with the WAP WAP (wireless application protocol).
Note is that the user passes through mobile phone or other-end directly sends or the literal and the digital information of reception.Note is to follow digital mobile communication system and a kind of telecommunication service of producing, by the signaling channel and the signaling network of mobile communication system, transmits literal or numeric messaging breath, belongs to a kind of data communication service of non real-time, non-voice.Note can be by mobile communication terminal, and for example mobile phone starts, and also can be started by the SMS platform server of Mobile Network Operator, also can be by starting with the interconnected network provider SP (comprising ICP, ISP etc.) of mobile operator SMS platform.
Therefore, from present technical, multimedia message can provide background music in the information of transmission, and note does not just possess the function that background music is provided.
Summary of the invention
For this reason, technical problem to be solved by this invention is: provide a kind of for note provides the method and the implement device thereof of background music, make that the note implement device can provide background music for the user when reading note.
So, the invention provides a kind ofly for note provides the method for background music, this method comprises:
Read note, judge whether this note is the background music note, if then parse the background music coding;
Be coded in the background sound music storehouse that presets this locality according to described background music and search for, find the corresponding respective background music of described background music coding, and play.
This method also comprises: close note, close background music simultaneously and play.
Wherein, describedly judge that whether note is the background music note, comprising:
Judge according to the TP UDHI field that comprises in the note packet header information whether this note is the background music note.
The described background music coding that parses comprises:
Check the header information length in the note packet header information,, obtain this information corresponding background music in the background sound music storehouse and encode according to the respective length header information in this length check note packet header information.
Described background music coding comprises big class coding of song and song group coding.
It is a kind of for note provides the implement device of background music that the present invention also provides, and this device comprises:
Judging unit when being used to read note, judges whether this note is the background music note;
Decoding unit is used to parse the background music coding of background music note correspondence;
Search unit, the background music that is used for obtaining according to decoding unit is encoded, and searches in the background sound music storehouse that preset this locality, finds the corresponding background music of described background music coding;
Broadcast unit, the respective background music that is used for finding according to search unit is play.
This device also comprises: the background music closing unit, be used for when note is closed, and close the background music of described broadcast.
Wherein, described decoding unit comprises:
First inspection unit is used for checking the header information length of note packet header information;
Second inspection unit is used for the header information according to described header information length check note packet header information respective length;
Obtain the unit, be used for result, obtain this note background music coding according to the output of second inspection unit.
Method and the implement device thereof that background music is provided for note of the present invention, by the background music coding that parses, preset respective background music and the broadcast that searches out background music coding correspondence in the background sound music storehouse in this locality, realized when reading note, playing the purpose of background music.
Description of drawings
Fig. 1 is the method flow diagram that background music is provided for note of the present invention;
Fig. 2 is the implement device structural representation that background music is provided for note of the present invention.
Embodiment
Below, describe the present invention in conjunction with the accompanying drawings.
As shown in Figure 1, for note provides the method for background music, this method comprises:
Step 11 is read note;
Step 14 according to the described background music coding that step 12 parses, is searched in the background sound music storehouse that preset this locality, finds the corresponding respective background music of described background music coding, and plays;
Wherein, judge that whether this note is that the method for background music note is:
Judge according to the TP UDHITP that comprises in the note packet header information (User Data Header Indicator) field whether this note has other special purposes,, represent that then this note is the background music note if having.Usually, in the normal note packet header information (this header information does not take the payload of 140 bytes of note), if TP UDHI field is set to 1, the preceding several bytes that then are illustrated in the payload of 140 bytes have extra header information, are used as other special purposes.Utilize this point, we can increase a newtype, the i.e. extra head of note in short message protocol.We set, if note has extra header information, represent that then this note is the background music note.This note header information comprises three parts: head sign, head length and header information.For example, the extra head of note is " happy birthday " song, and then this note head sign takies 1 byte, and head length takies 1 byte, and header information takies 2 bytes.
The planning of note head sign is as follows in the prior art:
As seen, we can select 21-6F for use, and A0-BF, a numerical value among the E0-FF are used as background music note head value of statistical indicant usefulness, for example, use 0x21 to be used as the head value of statistical indicant that we need.
Head length represents that follow-up header information takies several bytes, if we need 2 bytes to describe header information, then the head length value is 2.
Header information, we can be defined as: in the background sound music storehouse the big class of song be encoded to 4 bit bytes, the sub-song of following the big class coding of song is encoded to 12 bit bytes.In the present embodiment, we define sub-song coding is 1 entirely, promptly 1,111 1,111 1111 o'clock, is illustrated in this big class and selects the note background music at random; Big class coding of song and sub-song coding are 0 o'clock entirely, are illustrated in to carry out the broadcast of note background music in all songs at random.
That is to say that we can use 0x21 to be used as the head sign value that we need, representing this is the background music note.Promptly the 1st byte is 0x21, the 2nd byte is head length, it is used to represent that follow-up header information takies several bytes, if need 2 bytes header information is described, then the 2nd byte value is 0x02, the 3rd and the 4th byte are exactly header information, have comprised: the coding of the big class of song of note background sound music storehouse (4 bit byte) and follow thereafter sub-song coding (12 bit byte).
So, obtain this information corresponding big class of song and song group in the background sound music storehouse and encode.Like this, when the user sends described background music note by above-mentioned form, after the other user receives the background music note, the other user's note receiving system at first solves the background music coding of this note, in the background sound music storehouse of this locality, search for then, find the corresponding respective background music track of described background music coding, and play, finish note background music function.
As shown in Figure 2, it is a kind of for note provides the implement device of background music that present embodiment also provides, and this device comprises:
Judging unit 21 when being used to read note, judges whether this note is the background music note;
Decoding unit 22 is used for according to the background music note, parses the background music coding of this note correspondence;
Search unit 23, the background music that is used for obtaining according to decoding unit is encoded, and searches in the background sound music storehouse that preset this locality, finds the corresponding background music of described background music coding;
Broadcast unit 24, the respective background music that is used for finding according to search unit is play;
Background music closing unit 25 is used for when note is closed, and closes the background music of described broadcast.
Wherein, described decoding unit 22 comprises:
First inspection unit 221 is used for checking the header information length of note packet header information;
Second inspection unit 222 is used for the header information according to described header information length check note packet header information respective length;
Obtain unit 223, be used for result, obtain this note background music coding according to the output of second inspection unit.
Wherein, described can be mobile communication terminal for note provides the implement device of background music, and for example mobile phone also can be the SMS platform server of Mobile Network Operator, can also be and the interconnected network provider of mobile operator SMS platform.
After the note recipient receives note, when the user reads note, judging unit 21 judges according to the TP UDHI field that comprises in the note packet header information whether this note has other special purposes, for example if this field was set to 1 o'clock, the preceding several bytes that are illustrated in the payload of 140 bytes of note have extra header information, and this note is the background music note;
When learning that this note is the background music note, header information length in first inspection unit, the 221 note packet header information in the decoding unit 22, second inspection unit 222 is according to the header information of respective length in the described header information length check note packet header information, according to the result of second inspection unit output, obtain unit 223 and obtain this note background music coding.
Parse the background music coding of this note correspondence when decoding unit 22 after, search unit 23 is searched in the background sound music storehouse that preset this locality, find the corresponding background music of described background music coding, broadcast unit 24 is play according to the respective background music that search unit finds.When note was closed, background music closing unit 25 was closed the background music of described broadcast.
In the present embodiment, use ripe music format midi (this also is a ringing sound of cell phone form commonly used), because this music format file is little, therefore can pass through the said short message form, specify and select specific song (or any one song in the particular category in the background sound music storehouse, or select a song at random), then when the cellphone subscriber reads this background music note, automatic this background music of loop play, for example you have sent one happy birthday note, then by specify particular track " happy birthday " song in note, the user will loop play should " happy birthday " sing when reading this note like this.
Considering that the user reads time of note generally can be above 30 second, surpass 30 seconds so we can limit a song maximum, generally adopt the most pleasing to the ear everybody that the most familiar section in the selected parts one first song or several sections melody to constitute the song of note background sound music storehouse.In general the size of 30 seconds midi music is about 8KB, and according to the standard configuration of present mobile phone, generally its T card capacity can be less than 512M, even store 1000 first midi songs so, its memory space that takies approximately is 8M.
The song of note background sound music storehouse generally stores classifiedly, and for example is divided into 16 big classes, and maximum can be held 4096 first songs below each big class.Big class is numbered with code 0-15 respectively, and the sub-song under each big class is numbered according to 0-4095.
In sum, described method and the implement device thereof that background music is provided for note of the embodiment of the invention, by the background music coding that parses, preset respective background music and the broadcast that searches out background music coding correspondence in the background sound music storehouse in this locality, realized when reading the background music note, playing the purpose of background music.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. one kind for note provides the method for background music, it is characterized in that, comprising:
Read note, judge whether this note is the background music note, if then parse the background music coding;
Be coded in the background sound music storehouse that presets this locality according to described background music and search for, find the corresponding respective background music of described background music coding, and play.
2. method according to claim 1 is characterized in that, also comprises:
Close note, close background music simultaneously and play.
3. method according to claim 1 is characterized in that, describedly judges that whether note is the background music note, comprising:
Judge according to the TP UDHI field that comprises in the note packet header information whether this note is the background music note.
4. according to claim 1 or 3 described methods, it is characterized in that the described background music coding that parses comprises:
Check the header information length in the note packet header information,, obtain this information corresponding background music in the background sound music storehouse and encode according to the respective length header information in this length check note packet header information.
5. method according to claim 4 is characterized in that, described background music coding comprises big class coding of song and song group coding.
6. one kind for note provides the implement device of background music, it is characterized in that, comprising:
Judging unit when being used to read note, judges whether this note is the background music note;
Decoding unit is used to parse the background music coding of background music note correspondence;
Search unit, the background music that is used for obtaining according to decoding unit is encoded, and searches in the background sound music storehouse that preset this locality, finds the corresponding background music of described background music coding;
Broadcast unit, the respective background music that is used for finding according to search unit is play.
7. device according to claim 6 is characterized in that, also comprises:
The background music closing unit is used for when note is closed, and closes the background music of described broadcast.
8. device according to claim 6 is characterized in that, described decoding unit comprises:
First inspection unit is used for checking the header information length of note packet header information;
Second inspection unit is used for the header information according to described header information length check note packet header information respective length;
Obtain the unit, be used for result, obtain this note background music coding according to the output of second inspection unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101069446A CN101883172A (en) | 2009-05-08 | 2009-05-08 | Method providing background music for short messages and implementation device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101069446A CN101883172A (en) | 2009-05-08 | 2009-05-08 | Method providing background music for short messages and implementation device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101883172A true CN101883172A (en) | 2010-11-10 |
Family
ID=43055053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101069446A Pending CN101883172A (en) | 2009-05-08 | 2009-05-08 | Method providing background music for short messages and implementation device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101883172A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012079420A1 (en) * | 2010-12-15 | 2012-06-21 | 中兴通讯股份有限公司 | Method and system for processing media messages |
CN104301878A (en) * | 2014-10-28 | 2015-01-21 | 广东欧珀移动通信有限公司 | Method and system for carrying out audio playing in short message editing process |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1246081A2 (en) * | 2001-03-30 | 2002-10-02 | Yamaha Corporation | Apparatus and method for adding music content to visual content delivered via communication network |
CN1738462A (en) * | 2004-08-16 | 2006-02-22 | 乐金电子(中国)研究开发中心有限公司 | Background image and music service method of mobile phone |
CN101083798A (en) * | 2007-07-09 | 2007-12-05 | 中兴通讯股份有限公司 | Method for realizing multimedia speech SMS service |
CN101247558A (en) * | 2008-03-14 | 2008-08-20 | 杭州彩通网络技术有限公司 | Method and system for implementing incremental value service for converting words note to voice telephone |
CN101420682A (en) * | 2008-12-11 | 2009-04-29 | 深圳华为通信技术有限公司 | Mobile terminal and method for processing short message thereby |
-
2009
- 2009-05-08 CN CN2009101069446A patent/CN101883172A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1246081A2 (en) * | 2001-03-30 | 2002-10-02 | Yamaha Corporation | Apparatus and method for adding music content to visual content delivered via communication network |
CN1738462A (en) * | 2004-08-16 | 2006-02-22 | 乐金电子(中国)研究开发中心有限公司 | Background image and music service method of mobile phone |
CN101083798A (en) * | 2007-07-09 | 2007-12-05 | 中兴通讯股份有限公司 | Method for realizing multimedia speech SMS service |
CN101247558A (en) * | 2008-03-14 | 2008-08-20 | 杭州彩通网络技术有限公司 | Method and system for implementing incremental value service for converting words note to voice telephone |
CN101420682A (en) * | 2008-12-11 | 2009-04-29 | 深圳华为通信技术有限公司 | Mobile terminal and method for processing short message thereby |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012079420A1 (en) * | 2010-12-15 | 2012-06-21 | 中兴通讯股份有限公司 | Method and system for processing media messages |
CN102546537A (en) * | 2010-12-15 | 2012-07-04 | 中兴通讯股份有限公司 | Method and system for processing media message |
CN102546537B (en) * | 2010-12-15 | 2017-03-29 | 中兴通讯股份有限公司 | The processing method and system of media information |
CN104301878A (en) * | 2014-10-28 | 2015-01-21 | 广东欧珀移动通信有限公司 | Method and system for carrying out audio playing in short message editing process |
CN104301878B (en) * | 2014-10-28 | 2018-01-16 | 广东欧珀移动通信有限公司 | The method and system of audio broadcasting is carried out during editing short message |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101854602B (en) | Method for transmitting and receiving multimedia information and terminal | |
US7136630B2 (en) | Methods of recording voice signals in a mobile set | |
CN100471302C (en) | Method and apparatus for delayed transmission of sms messages | |
CN100418325C (en) | Method for management of vcards | |
EP2205010A1 (en) | Messaging | |
KR101306119B1 (en) | Apparatus for offering information using short message service in portable terminal and Method thereof | |
CN101094445B (en) | System and method for implementing playing back voice of text, and short message | |
US6459910B1 (en) | Use of speech recognition in pager and mobile telephone applications | |
CN101883172A (en) | Method providing background music for short messages and implementation device thereof | |
CN101217685A (en) | A method and device allowing MMS sending by textual SMS | |
AU2009351013B2 (en) | MMS (Multimedia Messaging Service) decoding method, MMS decoder and mobile terminal | |
CN101378533A (en) | Method for setting and displaying or playing point-to-point virtual person in stream medium or multimedia transmission | |
RU2007119308A (en) | PRESENTED RINGTONE SEGMENTS IN THE SOURCE OF THE AUDIO SIGNAL | |
KR100325986B1 (en) | Method and apparatus for sending and receiving multi-media cards using telephone | |
CN101483837B (en) | Method, mobile terminal and system for multimedia message reading report | |
CN107682029A (en) | A kind of intercom with presentation of information store function | |
CN101022574A (en) | Method for changing MMS to speech | |
KR20110029485A (en) | Voice playback method, terminal and system for same | |
AU5530199A (en) | Bell sound selecting method for a cellular phone using an audio response system | |
KR100282159B1 (en) | Bell sound selecting method for cellular phone using audio response system | |
CN1187683C (en) | Portable voice broadcast E-mail device and method | |
CN101552961A (en) | Short message based stream media customization system and realization method thereof | |
CN102377856A (en) | Wireless communication equipment and mail notification method thereof | |
BE1017454A6 (en) | Short text messaging method, sends text code with message in order to activate e.g. sounds or graphic images in destination phone when message is opened | |
CN101312549A (en) | Method for converting text information into stream media of multimedia and further receiving by terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101110 |