CN103780611A - Music sharing method and system - Google Patents

Music sharing method and system Download PDF

Info

Publication number
CN103780611A
CN103780611A CN201410023167.XA CN201410023167A CN103780611A CN 103780611 A CN103780611 A CN 103780611A CN 201410023167 A CN201410023167 A CN 201410023167A CN 103780611 A CN103780611 A CN 103780611A
Authority
CN
China
Prior art keywords
audio
module
sharing
coding
pcm data
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
Application number
CN201410023167.XA
Other languages
Chinese (zh)
Inventor
徐隽
洪瑜
韩鹏
丁鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201410023167.XA priority Critical patent/CN103780611A/en
Publication of CN103780611A publication Critical patent/CN103780611A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention is suitable for the technical field of multi-media communication, and provides a music sharing method and system. In the method and system of the invention, decoded pulse encoding modulation PCM data corresponding to the audio to be shared is acquired, encoding is performed according to a specified play format and the acquired PCM data to obtain the encoded shared audio data, and the encoded shared audio data is cached, and finally the cached encoded shared audio data is read, and the encoded shared audio data is sent to parties sharing the audio, the audio PCM data is acquired directly, and then the audio PCM data is encoded according to the play format supported by the parties sharing the audio and then sent to the parties sharing the audio, the URL address of the music does not need to be sent, and the URL address is encoded according to the play format supported by the parties sharing the audio, so that the problem that the music cannot be played caused by the reason that the source description of the music cannot be acquired directly and the reason of inconsistent play format with existing music sharing schemes can be solved.

Description

A kind of music sharing method and system
Technical field
The invention belongs to multimedia communication technology field, relate in particular to a kind of music sharing method and system.
Background technology
At present on mobile phone, there is a lot of application, as KuGoo music, QQ music, Baidu's music etc., use them can listen at any time easily up-to-date pop music.Based on DLNA(Digital Living Network Alliance, DLNA) music share in scheme, we can by WIFI technology directly by newly-built DLNA server by the media content in mobile phone by Wireless Data Transmission in the player of computer or television.
Share in scheme in a kind of typical music based on DLNA, its schematic diagram as shown in Figure 1, first mobile phone application 11 obtains sharing the URL(Uniform Resource Locator of music, URL(uniform resource locator)) address, then the URL address of music is sent to by the side of sharing (as TV 12), received behind URL address by the side of sharing, connecting this URL address, obtaining this music and play from server 13 ends.The operation principle that this music is shared as shown in Figure 1.The problem that this sharing model exists is: the music data of playing in mobile phone has a variety of sources, may be third-party application, webpage, local player etc., what we many times cannot directly obtain music carrys out Source Description (local file path or online URL), in this case, just there will be the problem that cannot share broadcasting.Another kind of situation is: the opposing party who shares does not support some music format of playing in the machine, will cause playing because of its form of None-identified like this, affects user and experiences.
Summary of the invention
The object of the present invention is to provide a kind of music sharing method, be intended to solve the existing music based on DLNA and share scheme, come Source Description and the inconsistent problem that cannot play of causing of broadcast format due to what cannot directly obtain music.
The present invention is a kind of music sharing method of realizing like this, comprising:
Gather decoded pulse code modulation PCM data corresponding to audio frequency that will share;
According to specifying broadcast format and described PCM data to encode, after encode, share voice data, and the voice data of sharing after encoding is carried out to buffer memory;
Read the voice data of sharing after the coding of buffer memory, and send the voice data of sharing after described coding.
The present invention also provides a kind of music share system, comprising:
Audio collection module, audio coding module, voice data source module and server module;
Described audio collection module, for gathering decoded pulse code modulation PCM data corresponding to audio frequency that will share;
Described audio coding module, for according to specifying broadcast format and described PCM data to encode, shares voice data after encode, and will after coding, share extremely described voice data source module of voice data buffer memory;
Described server module, for reading the voice data of sharing after the coding of voice data source module buffer memory, and sends the voice data of sharing after described coding.
In the present invention, by gathering decoded pulse code modulation PCM data corresponding to audio frequency that will share, encode according to the PCM data of specifying broadcast format and collect, after being encoded, share voice data, and the voice data of sharing after coding is carried out to buffer memory, finally read the voice data of sharing after the coding of buffer memory, and send and share voice data to by the side of sharing after coding, because being directly obtains audio frequency PCM data, audio frequency PCM data are sent to by the side of sharing after being encoded by the side's of sharing broadcast format again, do not need to send the URL address of music, and be according to being encoded by the broadcast format that the side of sharing supported, thereby having solved existing music shares in scheme and to come Source Description and the inconsistent problem that cannot play of causing of broadcast format due to what cannot directly obtain music.
Accompanying drawing explanation
Fig. 1 is a kind of existing music sharing principle block diagram based on DLNA;
Fig. 2 is the realization flow figure of the music sharing method that provides of the embodiment of the present invention;
Fig. 3 is the realization flow figure that audio coding module that the embodiment of the present invention provides is carried out AAC coding;
Fig. 4 is the structured flowchart of the music share system that provides of the embodiment of the present invention;
Fig. 5 is the structured flowchart of the AAC coding submodule of the music share system that provides of the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 2 shows the realization flow of a kind of music sharing method that the embodiment of the present invention provides, this music sharing method is also the music sharing method based on DLNA, it has realized a server based on HTTP, directly take out the decoded PCM data of the voice data of current broadcasting, it is encoded and is sent to by the side of sharing, and details are as follows:
Decoded pulse code modulation PCM data corresponding to audio frequency that step 201, collection will be shared.
Concrete, it is shared that the terminal under support DLNA agreement can be carried out multimedia, comprises music sharing.In the time that needs are shared audio frequency, the side of sharing can initiatively send the first audio frequency by the side's of sharing server module and share request signal to the quilt side of sharing.The first audio frequency is shared request signal and is comprised audio identification and request address, and audio identification can be title, the descriptor etc. of identification audio, does not limit at this.Received after the first audio frequency is shared request signal and can share response message to the side's of sharing server module by transmission the first audio frequency by the side of sharing, the first audio frequency is shared response message and is comprised the broadcast format of being supported by the side of sharing, such as MP3 format, AAC(Advanced Audio Coding, Advanced Audio Coding) form or OGG(OGG Vorbis) form etc.Such as mobile phone is applied the online audio frequency that need to play by local audio or and is shared television set and play, mobile phone application can send the first audio frequency to television set by the server module of mobile phone and shares request signal, television set receives the first audio frequency and shares after request signal, can send the first audio frequency and share response message to mobile phone, this first audio frequency is shared the broadcast format that response message comprises that television set is supported.
While being needed to share the audio frequency of the side of sharing by the side of sharing, also can initiatively be sent the second audio frequency share request signal to the side's of sharing server module by the side's of sharing application, the side's of sharing server module receives the second audio frequency again and shares request signal.The second audio frequency shares that request signal comprises audio identification, request address and by broadcast format that the side of sharing supported.Audio identification can be title, the descriptor etc. of identification audio, does not limit at this.Equally, the side's of sharing server module receives the second audio frequency being sent by the side's of sharing application to be shared after request signal, and the side's of sharing server module can be shared response message to being sent the second audio frequency by the side of sharing.Such as, when television applications active request share mobile phone local audio or playing online audio frequency time, send the second audio frequency can initiatively to handset server module and share request signal, handset server module receives the second audio frequency to be shared after request signal, sends the second audio frequency and shares response message to television set.
The above-mentioned side of sharing server module is HTTP(Hypertext transfer protocol, HTML (Hypertext Markup Language)) server module, certainly before transmission audio frequency is shared request signal, http server module needs binding IP address and port, then by setting up stream socket, socket is bundled on IP address and port, realizing HTTP by socket connects, open a socket and it is constrained on a port, if success is just equivalent to set up a virtual file.Just can on this virtual file, write data and outwards transmit by network later.Because http protocol is simple, make the program small scale of http server module, thereby communication speed is very fast.
The side's of sharing server module receives by the first audio frequency of the side of sharing to be shared after response message, or after the side's of sharing server module receives and shared request signal by the second audio frequency of the side of sharing, the side's of sharing server module can start decoded pulse code modulation PCM data corresponding to audio frequency that the collection of audio collection module will be shared.Particularly, audio collection module is shared the decoded PCM data of audio identification collection in the request signal audio frequency corresponding with described audio identification according to audio frequency.Such as mobile phone receive the first audio frequency share response message after or directly receive the second audio frequency that television set initiatively requires to share the online audio frequency of playing local certain audio frequency of mobile phone or playing and share after request signal, the server module of mobile phone can start handset audio acquisition module and gather the PCM data of corresponding audio frequency.
The decoded PCM data that the audio manager that audio collection module is called terminal system directly obtains the audio frequency that will share comprise the PCM data of the online audio frequency of playing and the PCM data of local audio, if such as system is Android system, audio collection module is directly called the expansion interface of the audio manager AudioFlinger of Android system, imports the end of writing of a pipeline (pipe) into.Obtain the online audio frequency of playing after audio manager AudioFlinger audio mixing or the PCM data of local audio by this pipeline.
Optional audio collection module collects after PCM data, can regulate the parameter of PCM data, such as amplitude etc.Do be like this for, regulate some obvious inharmonic data or noise etc., make audio frequency after next code sound comfortable normal, such as the amplitude of accommodation is obviously much higher than or lower than the PCM data of normal range (NR).
Step 202, according to specifying broadcast format and described pulse code modulation PCM data to encode, after encode, share voice data, and the voice data of sharing after encoding carried out to buffer memory.
Concrete, share the phonetic aspect of a dialect frequently coding module first configure and specify coded format that broadcast format is corresponding and the parameter of PCM data, the parameter of PCM data comprises code check, sample rate, figure place etc.Above-mentioned appointment broadcast format refers to the broadcast format of being supported by the side of sharing, and comprises such as MP3 format, AAC(Advanced Audio Coding, Advanced Audio Coding) form, OGG(OGG Vorbis) form etc.
Such as mobile phone is the side of sharing, be television set by the side of sharing, handset server module knows that the broadcast format of television set support is AAC coded format, be AAC form by mobile phone coding module configuration audio coding form, and then the parameter of configuration PCM data, such as code check is 96kbps, 16, binary channels etc.The broadcast format of the support that the side of sharing can share in request signal to be comprised by the second audio frequency being sent by the side of sharing knows, or knows at the broadcast format that receives the support of being shared in response message to be comprised by the side of sharing transmission the first audio frequency.Certainly also can its broadcast format of being supported of active reporting by the side of sharing.The side of sharing can carry out memory storage to the broadcast format of being shared simultaneously.In the time that next audio frequency is shared, initiatively adopt when last time, audio frequency was shared the broadcast format by the side of sharing supported.
Then sharing phonetic aspect of a dialect frequency coding module encodes according to the coded format of configuration and the parameter of PCM data, after being encoded, share voice data, and the voice data of sharing after coding is left in voice data source module, voice data source module carries out buffer memory to the voice data after encoding.
Step 203, read the voice data of sharing after the coding of buffer memory, and send the voice data of sharing after described coding.
Read the voice data after the coding of voice data source module buffer memory by the side's of sharing server module, and send it to by the side of sharing.
The embodiment of the present invention, owing to being according to by broadcast format that the side of sharing supported, PCM data encoding being sent to the voice data after coding by the side of sharing again, rather than the URL address of transmission music, and be according to being encoded by the broadcast format that the side of sharing supported, solve and come Source Description and the inconsistent problem that cannot play of causing of broadcast format due to what cannot directly obtain music, promoted user's experience.
In order to further describe encoding according to pulse code modulation PCM data and appointment broadcast format about audio coding module in above-described embodiment step 202, the embodiment of the present invention 3 is done following more detailed description by reference to the accompanying drawings:
Share phonetic aspect of a dialect frequency coding module and also comprise multiple coding submodules, such as the coding submodule of the various forms such as MP3 coding submodule, AAC coding submodule, OGG coding submodule, audio coding module, according to the format configuration coded format that is needed to play by the side of sharing and the parameter of PCM data, is then called corresponding coding submodule and is encoded.Fig. 3 is in the time that the broadcast format being required by the side of sharing is AAC form, audio coding module coding flow process, and details are as follows:
Step 301, configuration codes form are AAC coded format.
Be set to AAC coded format by coded format, call AAC coding submodule simultaneously.
The parameter of step 302, configuration PCM data.
The parameter of configuration PCM data, such as code check is set to 96Kbps, 16, binary channels etc.
Step 303, according to psychoacoustic model, described PCM data are carried out to filtering.
AAC coding submodule carries out filtering according to psychoacoustic model to described PCM data, utilizes the critical band of psychoacoustic model to use filter to carry out time-frequency conversion to PCM data.
Step 304, filtered data are carried out to quantization encoding.
Concrete, by the AAC submodule of encoding, be that frequency spectrum is divided into multiple quantization scaling factor bands by filtered data, the masking threshold then obtaining according to psychoacoustic model carries out non-uniform quantizing on each scale factor band, encode afterwards, obtain AAC frame data.
AAC frame data after step 305, output encoder.
The coding flow process of extended formatting is similar, slightly has any different according to concrete coded system difference.The broadcast format that can need according to user like this be encoded, and has solved the inconsistent and problem that cannot play of form.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.
Fig. 4 shows the structured flowchart of a kind of music share system that the embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant to the present embodiment.This music share system can be realized the music sharing method described in previous embodiment.This system can run on the various terminals of supporting DLNA agreement, include but not limited to mobile phone, pocket computer (Pocket Personal Computer, PPC), palmtop PC, computer, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), television set etc.With reference to Fig. 4, this music share system comprises: audio collection module 41, audio coding module 42, voice data source module 43 and server module 44.
Audio collection module 41, for gathering decoded pulse code modulation PCM data corresponding to audio frequency that will share.Audio coding module 42, for according to specifying broadcast format and described PCM data to encode, shares voice data after encode, and will after coding, share extremely described voice data source module 43 of voice data buffer memory.Server module 44, for reading the voice data of sharing after the coding of voice data source module 43 buffer memorys, and sends the voice data of sharing after described coding.
Further, server module 44 also comprises: sending/receiving module 441, share request signal for transmission or audio reception, and this audio frequency is shared request signal and is comprised audio identification, request address.Terminal under concrete support DLNA agreement can be carried out multimedia and be shared and comprise music sharing, in the time that needs are shared audio frequency, the side of sharing can initiatively send the first audio frequency by sending/receiving module 441 by server module 44 and share request signal to the quilt side of sharing, the first audio frequency is shared request signal and is comprised audio identification and request address, audio identification can be title, the descriptor etc. of identification audio, does not limit at this.Being received the first audio frequency by the side of sharing shares after request signal, can send the first audio frequency and share response message to the side's of sharing server module, the first audio frequency is shared response message and is comprised the broadcast format of being supported by the side of sharing, such as MP3 format, AAC(Advanced Audio Coding, Advanced Audio Coding) form or OGG(OGG Vorbis) form etc.Such as mobile phone is applied the online audio frequency that need to play by local audio or and is shared television set, can send the first audio frequency to television set by the sending/receiving module 441 of handset server module 44 and share request signal, television set receives the first audio frequency while sharing request signal, can send the first audio frequency and share response message to mobile phone, the first audio frequency is shared the broadcast format that response message comprises that television set is supported.
While being needed to share the audio frequency of the side of sharing by the side of sharing, also can be sent the second audio frequency share request signal to the side's of sharing server module 44 by the side's of sharing application, the sending/receiving module 441 of the side's of sharing server module 44 receives the second audio frequency again and shares request signal.The second audio frequency shares that request signal comprises audio identification, request address and by broadcast format that the side of sharing supported.Audio identification can be title, the descriptor etc. of identification audio, does not limit at this.Equally, the side's of sharing server module receives the second audio frequency being sent by the side's of sharing application to be shared after request signal, and the side's of sharing server module can be shared response message to being sent the second audio frequency by the side of sharing.In the side's of sharing server module 44, share after request signal by sending/receiving module 441 audio receptions, can be to being sent the second acoustic frequency response message by the side of sharing.Such as, when television applications active request share mobile phone local audio or playing online audio frequency time, send the second audio frequency can initiatively to handset server module 44 and share request signal, handset server module receives the second audio frequency to be shared after request signal, sends the second audio frequency and shares response message to television set.
The above-mentioned side of sharing server module 44 is HTTP(Hypertext transfer protocol, HTML (Hypertext Markup Language)) server module, certainly before transmission audio frequency is shared request signal, http server module needs binding IP address and port, then by setting up stream socket, socket is bundled on IP address and port, realizing HTTP by socket connects, open a socket and it is constrained on a port, if success is just equivalent to set up a virtual file.Just can on this virtual file, write data and outwards transmit by network later.Because http protocol is simple, make the program small scale of http server module, thereby communication speed is very fast.
The side's of sharing sending/receiving module 441 receives the first audio frequency of being shared and shares after response message, or after receiving and being shared request signal by the second audio frequency of the side of sharing, server module 44 can start audio collection modules 41 gather decoded pulse code modulation PCM data corresponding to audio frequency that will share.Particularly, audio collection module 41 is shared the decoded PCM data of audio identification collection in the request signal audio frequency corresponding with described audio identification according to audio frequency.Such as, the server module 44 of mobile phone receive the first audio frequency of television set share response message after or directly receive the second audio frequency that television set initiatively requires to share the online audio frequency of playing local certain audio frequency of mobile phone or playing and share after request signal, the server module 44 of mobile phone can start handset audio acquisition modules 41 and gather the PCM data of corresponding audio frequency.General, the audio manager that audio collection module 41 can be called terminal system directly obtains the decoded PCM data of the audio frequency that will share, comprise the PCM data of the online audio frequency of playing and the PCM data of local audio, if such as system is Android system, audio collection module is directly called the expansion interface of the audio manager AudioFlinger of Android system, imports the end of writing of a pipeline (pipe) into.Obtain the PCM data of the online audio frequency of playing after audio manager AudioFlinger audio mixing or the PCM data of local audio by this pipeline.Further, audio collection module 41 also comprises adjustment module 411, for regulating the parameter of voice data.Audio collection module collects after PCM data, regulates the parameter of PCM data by adjustment module 411, such as amplitude etc.Do be like this for, regulate some obvious inharmonic data or noise etc., make audio frequency after next code sound comfortable normal, such as regulating some amplitude to be obviously much higher than or lower than the PCM data of normal range (NR).
Further, audio coding module 42 also comprises: the first configuration module 421 and coding submodule 422.The first configuration module 421, for configuring coded format that described appointment broadcast format is corresponding and the parameter of PCM data.Coding submodule 422, for encoding according to the parameter of the coded format of described configuration and PCM data.
The audio coding module 42 of the side of sharing is first by coded format corresponding to the first configuration module 421 configuration appointment broadcast formats and the parameter of PCM data, and the parameter of PCM data comprises code check, sample rate, figure place etc.Above-mentioned appointment broadcast format refers to the broadcast format of being supported by the side of sharing, and comprises such as MP3 format, AAC(Advanced Audio Coding, Advanced Audio Coding) form, OGG(OGG Vorbis) form etc.The broadcast format of the support that the side of sharing can share in request signal to be comprised by the audio frequency being sent by the side of sharing knows, or knows at the broadcast format that receives the support of being shared in response message to be comprised by the side of sharing transmission audio frequency.Certainly also can its broadcast format of being supported of active reporting by the side of sharing.The side of sharing can carry out memory storage to the broadcast format of being shared simultaneously.In the time that next audio frequency is shared, initiatively adopt when last time, audio frequency was shared the broadcast format by the side of sharing supported.Such as mobile phone is the side of sharing, be television set by the side of sharing, mobile phone knows that the broadcast format of television set support is AAC coded format, configuring audio coding form by the first configuration module 421 of mobile phone coding module 42 is AAC form, and then the parameter of configuration PCM data, such as code check is 96kbps, 16, binary channels etc.Then share the coding submodule 422 that square tube crosses audio coding module 42 and encode according to the coded format of configuration and the parameter of PCM data, after being encoded, share voice data.Coding submodule 422 comprises the coding submodule of the various forms such as MP3 coding submodule 4221, AAC coding submodule 4222, OGG coding submodule 4223.Audio coding module 42, is then called corresponding coding submodule and is encoded according to the format configuration coded format that is needed to play by the side of sharing and the parameter of PCM data by the first configuration module 421.
After coding, audio coding module 42 leaves the voice data of sharing after coding in voice data source module 43 in, and voice data source module 43 carries out buffer memory to the voice data after encoding.
Finally, read the voice data after the coding of voice data source module 43 buffer memorys by the side's of sharing server module 44, and send it to by the side of sharing.
In embodiments of the present invention, because being encodes according to the PCM data that audio collection module 41 collected by the broadcast format of the side's of sharing needs by audio coding module 42, by server module 44, the voice data after coding is sent to by the side of sharing again, rather than the URL address of transmission music, and be to encode according to the broadcast format being needed by the side of sharing, solve and come Source Description and the inconsistent problem that cannot play of causing of broadcast format due to what cannot directly obtain music, promoted user's experience.
Fig. 5 is the structured flowchart of above-mentioned AAC coding submodule 4222, for convenience of explanation, only shows the part relevant to the present embodiment.With reference to Fig. 5, this AAC coding submodule comprises:
Filtration module 42221, quantization encoding module 42222, output module 42223;
Described filtration module 42221, when being Advanced Audio Coding AAC form when described coded format, carries out filtering according to psychoacoustic model to PCM data.Filtration module 42221 carries out filtering according to psychoacoustic model to described PCM data, and object is to utilize the critical band of psychoacoustic model to use filter to carry out time-frequency conversion to PCM data.
Quantization encoding module 42222, for carrying out quantization encoding to filtered data.Quantization encoding module 42222 is that frequency spectrum is divided into multiple quantization scaling factor bands by filtered data, and the masking threshold then obtaining according to psychoacoustic model carries out non-uniform quantizing on each scale factor band, encodes afterwards, obtains AAC frame data.
Output module 42223, for the AAC frame data after output encoder.
Realize the PCM data that collect are carried out to the coding of AAC form by the AAC submodule of encoding like this.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. a music sharing method, is characterized in that, comprising:
Gather decoded pulse code modulation PCM data corresponding to audio frequency that will share;
According to specifying broadcast format and described PCM data to encode, after encode, share voice data, and the voice data of sharing after encoding is carried out to buffer memory;
Read the voice data of sharing after the coding of buffer memory, and send the voice data of sharing after described coding.
2. the method for claim 1, is characterized in that, decoded pulse code modulation PCM data corresponding to audio frequency that described collection will be shared also comprise before:
Transmission or audio reception are shared request signal, and described audio frequency is shared request signal and comprised audio identification, request address.
3. method as claimed in claim 2, is characterized in that, decoded pulse code modulation PCM data corresponding to audio frequency that described collection will be shared, are specially:
Gather the decoded pulse code modulation PCM data of the audio frequency corresponding with described audio identification.
4. the method as described in one of claims 1 to 3, is characterized in that, the decoded pulse code modulation PCM data that audio frequency is corresponding are shared in described collection, also comprise afterwards:
Regulate the parameter of described PCM, the parameter of described corresponding audio frequency comprises volume.
5. the method as described in one of claims 1 to 3, is characterized in that, described according to specifying broadcast format and described pulse code modulation PCM data to encode, and is specially:
Configure coded format that described appointment broadcast format is corresponding and the parameter of PCM data;
Encode according to the coded format of configuration and the parameter of PCM data.
6. method as claimed in claim 4, is characterized in that, encodes according to the parameter of the coded format of described configuration and PCM data, comprising:
In the time that described coded format is Advanced Audio Coding AAC form, according to psychoacoustic model, described PCM data are carried out to filtering;
Filtered data are carried out to quantization encoding;
AAC frame data after output encoder.
7. a music share system, is characterized in that, comprising:
Audio collection module, audio coding module, voice data source module and server module;
Described audio collection module, for gathering decoded pulse code modulation PCM data corresponding to audio frequency that will share;
Described audio coding module, for according to specifying broadcast format and described PCM data to encode, shares voice data after encode, and will after coding, share extremely described voice data source module of voice data buffer memory;
Described server module, for reading the voice data of sharing after the coding of voice data source module buffer memory, and sends the voice data of sharing after described coding.
8. the system as claimed in claim 1, described server module also comprises: sending/receiving module, share request signal for transmission or audio reception, described audio frequency is shared request signal and is comprised audio identification, request address.
9. system as claimed in claim 8, described audio collection module also comprises collection submodule, for gathering the decoded pulse code modulation PCM data of the audio frequency corresponding with described audio identification.
10. the system as described in one of claim 7-9, is characterized in that, described audio collection module also comprises: adjustment module, for regulating the parameter of described PCM, described parameter comprises amplitude.
11. systems as described in one of claim 7-9, is characterized in that, described audio coding module also comprises:
The first configuration module and coding submodule;
Described the first configuration module, for configuring coded format that described appointment broadcast format is corresponding and the parameter of PCM data;
Described coding submodule, for encoding according to the parameter of the coded format of described configuration and PCM data.
12. systems as claimed in claim 11, is characterized in that, described coding submodule also comprises Advanced Audio Coding AAC coding submodule, and described AAC coding submodule also comprises filtration module, quantization encoding module, output module;
Described filtration module, when being Advanced Audio Coding AAC form when described coded format, carries out filtering according to psychoacoustic model to PCM data;
Described quantization encoding module, for carrying out quantization encoding to filtered data;
Output module, for the AAC frame data after output encoder.
CN201410023167.XA 2014-01-17 2014-01-17 Music sharing method and system Pending CN103780611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410023167.XA CN103780611A (en) 2014-01-17 2014-01-17 Music sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410023167.XA CN103780611A (en) 2014-01-17 2014-01-17 Music sharing method and system

Publications (1)

Publication Number Publication Date
CN103780611A true CN103780611A (en) 2014-05-07

Family

ID=50572441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410023167.XA Pending CN103780611A (en) 2014-01-17 2014-01-17 Music sharing method and system

Country Status (1)

Country Link
CN (1) CN103780611A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261369A (en) * 2015-10-30 2016-01-20 李道恒 Music sharing method and system
CN105976825A (en) * 2016-06-15 2016-09-28 贵阳朗玛信息技术股份有限公司 Music sharing device and music sharing method
CN107566862A (en) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 For sharing the method and system of music between multimedia communication terminal
CN110034828A (en) * 2018-01-12 2019-07-19 网宿科技股份有限公司 The audio collection method and server of cloud application
CN110213197A (en) * 2018-02-28 2019-09-06 北京京东尚科信息技术有限公司 Audio file tune listens method and system
CN112206520A (en) * 2020-10-21 2021-01-12 深圳市欢太科技有限公司 Real-time audio acquisition method, system, server, client and storage medium
WO2023029689A1 (en) * 2021-09-06 2023-03-09 中兴通讯股份有限公司 Multimedia data sharing method, media sharing server, terminal, electronic device, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516436A (en) * 2003-08-27 2004-07-28 腾讯科技(深圳)有限公司 Voice frequency/video frequency share method and system in instantaneous communication
US20110306325A1 (en) * 2010-06-10 2011-12-15 Rajesh Gutta Streaming video/audio from mobile phone to any device
CN102385864A (en) * 2010-08-31 2012-03-21 Tcl集团股份有限公司 Audio data decoding method, device and audio player
US20120122438A1 (en) * 2010-07-29 2012-05-17 Myriad Group Ag Mobile phone including a streaming server with means for controlling the processing of a file before its release
CN202332294U (en) * 2011-09-17 2012-07-11 闫天时 Multiple resources shared high definition audio playing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516436A (en) * 2003-08-27 2004-07-28 腾讯科技(深圳)有限公司 Voice frequency/video frequency share method and system in instantaneous communication
US20110306325A1 (en) * 2010-06-10 2011-12-15 Rajesh Gutta Streaming video/audio from mobile phone to any device
US20120122438A1 (en) * 2010-07-29 2012-05-17 Myriad Group Ag Mobile phone including a streaming server with means for controlling the processing of a file before its release
CN102385864A (en) * 2010-08-31 2012-03-21 Tcl集团股份有限公司 Audio data decoding method, device and audio player
CN202332294U (en) * 2011-09-17 2012-07-11 闫天时 Multiple resources shared high definition audio playing system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261369A (en) * 2015-10-30 2016-01-20 李道恒 Music sharing method and system
CN105976825A (en) * 2016-06-15 2016-09-28 贵阳朗玛信息技术股份有限公司 Music sharing device and music sharing method
CN107566862A (en) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 For sharing the method and system of music between multimedia communication terminal
CN107566862B (en) * 2016-06-30 2021-05-11 上海博泰悦臻网络技术服务有限公司 Method and system for sharing music among multimedia communication terminals
CN110034828A (en) * 2018-01-12 2019-07-19 网宿科技股份有限公司 The audio collection method and server of cloud application
CN110034828B (en) * 2018-01-12 2021-11-19 网宿科技股份有限公司 Audio acquisition method and server for cloud application
CN110213197A (en) * 2018-02-28 2019-09-06 北京京东尚科信息技术有限公司 Audio file tune listens method and system
CN112206520A (en) * 2020-10-21 2021-01-12 深圳市欢太科技有限公司 Real-time audio acquisition method, system, server, client and storage medium
CN112206520B (en) * 2020-10-21 2022-09-02 深圳市欢太科技有限公司 Real-time audio acquisition method, system, server, client and storage medium
WO2023029689A1 (en) * 2021-09-06 2023-03-09 中兴通讯股份有限公司 Multimedia data sharing method, media sharing server, terminal, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN103780611A (en) Music sharing method and system
CN101286770B (en) Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP
US20190013788A1 (en) Last mile equalization
US11848030B2 (en) Audio encoding for functional interactivity
CN102868752A (en) Method, system and terminals for data transmission
CN102355309A (en) Method and apparatus for realization of Bluetooth stereophonic sound with support of a plurality of sampling rates
CN104835520A (en) Mobile equipment recording method and device
CN101799738B (en) Method and device for dynamically adjusting compression rate of browser
TW201014292A (en) Systems, methods and apparatus for transmitting data over a voice channel of a wireless telephone network using multiple frequency shift-keying modulation
CN103402171A (en) Method and terminal for sharing background music during communication
CN111078930A (en) Audio file data processing method and device
CN102280132A (en) Online streaming audio play method based on HTTP (hyper text transfer protocol)
Nittala et al. Phoneear: interactions for mobile devices that hear high-frequency sound-encoded data
WO2021160040A1 (en) Audio transmission method and electronic device
CN103533093B (en) A kind of data transmission method based on sound and system
CN103024491A (en) Video playing method and video playing system of mobile terminal
CN107632988A (en) Browser voice method of sending and receiving, device and voice inter-speaking system
CN104394255A (en) A method and device for adding a friend
CN101800894B (en) Method and system for converting and transmitting multimedia video and audio
CN104038772B (en) Generate the method and device of ring signal file
CN103888473A (en) Systems, Methods And Apparatus For Transmitting Data Over A Voice Channel Of A Wireless Telephone Network
CN104066033A (en) Bluetooth sound box system and using method thereof
CN105338207A (en) WiFi (wireless fidelity) transmission based mobile phone sound system and using method thereof
CN103338416A (en) Music sharing system and method of wireless card earphone
CN105261369A (en) Music sharing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140507

RJ01 Rejection of invention patent application after publication