CN101662507B - Method, system, server and electronic device for storing and downloading songs - Google Patents

Method, system, server and electronic device for storing and downloading songs Download PDF

Info

Publication number
CN101662507B
CN101662507B CN 200910190074 CN200910190074A CN101662507B CN 101662507 B CN101662507 B CN 101662507B CN 200910190074 CN200910190074 CN 200910190074 CN 200910190074 A CN200910190074 A CN 200910190074A CN 101662507 B CN101662507 B CN 101662507B
Authority
CN
China
Prior art keywords
song
text
module
sample data
title
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.)
Active
Application number
CN 200910190074
Other languages
Chinese (zh)
Other versions
CN101662507A (en
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN 200910190074 priority Critical patent/CN101662507B/en
Publication of CN101662507A publication Critical patent/CN101662507A/en
Application granted granted Critical
Publication of CN101662507B publication Critical patent/CN101662507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention, applied to the technical field of communication, provides a method, a system, a server and an electronic device for storing and downloading songs. The method for storing songs comprises the steps of analyzing the sample data of songs, changing the analyzed sample data into a text file, and storing the text file of sample data of songs. The downloading method for songs comprises the steps of sending a requirement message for downloading songs which contains a song name to a server, receiving the text file corresponding to the song name sent by the server, changing the text file into a complete standard song, and storing the complete standard song. The invention decreases the data size for user downloading songs, saves space and time for network transmission, saves a lot of downloading time and downloading cost for user, and changes the traditional downloading model.

Description

A kind of storage of song and method for down loading, system and server and electronic equipment
Technical field
The invention belongs to communication technical field, relate in particular to a kind of storage and method for down loading, system and server and electronic equipment of song.
Background technology
At present, the download technology of the song of all MP3 or MP4 form, all by above downloading to the server request song at client device (handheld device or PC), then by FTP or http protocol, from server the transfer of data of whole song to client device (handheld device or PC).Due to the song data amount of MP3 or MP4 form large (data volume of general one first song is more than 4M), it is larger that this makes the user download the cost of song, and longer during mail downloading charge.
Summary of the invention
Embodiment of the present invention technical problem to be solved is to provide a kind of can save the time of download song and storage and method for down loading, system and server and the electronic equipment of the song that mail downloading charge is used.
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of storage means of song, said method comprising the steps of:
The sample data that decomposes full songs at server end;
Song sample data decomposition completed at server end the sequencing of position occurs according to it, forms array data and writes in text;
Text in server end storage song sample data;
When receiving the download song request message of client transmission, in described request message, include song title; Search the text of song corresponding to described song title in the text of song sample data, if do not find; Obtain whole song corresponding to described song title; Then carry out the sample data that decomposes song; The song sample data that decomposition is completed forms text; The text of storage song sample data; Then by described song title, corresponding text is sent on client; If find, by described song title, corresponding text is sent on client.
The embodiment of the present invention also provides a kind of storage system of song, and described system comprises:
Decomposing module, for decomposing the sample data of full songs;
Text forms module, for the song sample data that decomposition is completed, according to it, the sequencing of position occurs, forms array data and writes in text;
Memory module, for storing the text of song sample data;
Receiver module, the download song request message sent for receiving client, include song title in described request message;
Search module, search the text of song corresponding to described song title for the text in the song sample data;
Acquisition module, for while not finding text, obtaining whole song corresponding to described song title when the described module of searching; The sample data that decomposes song by described decomposing module; Described text forms the song sample data formation text that module completes decomposition; The text of described memory module storage song sample data; By described song title, corresponding text is sent on client download module;
Download module, also for when the described module searches of searching when the text, by described song title, corresponding text is sent on client.
The embodiment of the present invention also provides a kind of server that comprises the storage system of song recited above.
The embodiment of the present invention also provides a kind of method for down loading of song, said method comprising the steps of:
Send the request message of downloading song to server, in described request message, include song title;
Text corresponding to described song title that reception server sends;
By the synthetic complete standard song of the text of song, be specially: resolve the text of song, obtain the array data of the appearance position of song sample data; According to the essential information of song, create sample MP3 format song; According to the array data of the appearance position of the song sample data sample MP3 format song of modifying, form the complete standard song of binary data;
Store described complete standard song.
The embodiment of the present invention also provides a kind of download system of song, and described system comprises:
The request message sending module, for send the request message of downloading song to server, include song title in described request message;
The text receiver module, text corresponding to described song title sent for reception server;
The song synthesis module, for the synthetic complete standard song of the text by song;
The song memory module, for storing described complete standard song;
Described song synthesis module specifically comprises: parsing module, creation module, modified module and song form module.
Parsing module, for resolving the text of song, obtain the array data of the appearance position of song sample data;
Creation module, for the essential information according to song, create sample MP3 format song;
Modified module, for the array data of the appearance position according to the song sample data sample MP3 format song of modifying;
Song forms module, for amended sample MP3 format song being formed to the complete standard song of binary data.
The embodiment of the present invention also provides a kind of electronic equipment that comprises the download system of song recited above.
In embodiments of the present invention, by decompose the sample data of song at server end, and form text; When song is downloaded in the client electronic device request, the text that only needs the sample data of this song of download, then on client electronic device, the sample data according to song synthesizes a complete song, thereby realize the download of song, it has reduced the data volume that the user downloads song, save the room and time of Internet Transmission, for the user has saved a large amount of download times and mail downloading charge use, changed traditional song downloading mode.
The accompanying drawing explanation
Fig. 1 is the realization flow schematic diagram of the storage means of the song that provides of the embodiment of the present invention.
Fig. 2 is the structural representation of the storage system of the song that provides of the embodiment of the present invention.
Fig. 3 is the realization flow schematic diagram of the method for down loading of the song that provides of the embodiment of the present invention.
Fig. 4 is the structural representation of the download system of the song that provides of the embodiment of the present invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect 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.
In embodiments of the present invention, by decompose the sample data (comprising track information, channel information, musical instrument effect, tamber effect, accuracy in pitch dot information, tone information, song dynamics information etc.) of song at server end, and form text; When song is downloaded in the client electronic device request, the text that only needs the sample data of this song of download, then on client electronic device, the sample data according to song synthesizes a complete song, thereby realize the download of song, it has reduced the data volume that the user downloads song, for the user has saved a large amount of download time and mail downloading charge is used.
Refer to Fig. 1, the storage means of the song provided for the embodiment of the present invention, it comprises the following steps:
In step S101, decompose the sample data of song;
In embodiments of the present invention, the form of described song is comprised of a plurality of frames, and each frame is comprised of frame head, additional information, voice data etc. again.Described sample data mainly comprises: track information, channel information, musical instrument effect, tamber effect, accuracy in pitch dot information, tone information, song dynamics information etc.
In step S102, the song sample data that decomposition is completed forms text;
In embodiments of the present invention, the described song sample data that decomposition is completed forms the step of text, and be specially: the song sample data that decomposition is completed the sequencing of position occurs according to it, forms array data and writes in text.
In step S103, the text of storage song sample data.
In embodiments of the present invention, when receiving the download song request message of client transmission, in described request message, include song title; Search the text of song corresponding to described song title in the text of song sample data, if do not find; Obtain whole song corresponding to described song title; Then carry out the sample data that decomposes song; The song sample data that decomposition is completed forms text; The text of storage song sample data; Then by described song title, corresponding text is sent on client.If find, by described song title, corresponding text is sent on client.
In embodiments of the present invention, can by HTTP or ICP/IP protocol, by described song title, corresponding text be sent on client.
Refer to Fig. 2, the storage system of the song provided for the embodiment of the present invention, for convenience of explanation, only show part related to the present invention.The storage system of described song comprises: decomposing module 10, text form module 20 and memory module 30.The storage system of described song can be the unit that is built in software unit, hardware cell or software and hardware combining in server.
Decomposing module 10 is decomposed the sample data of song; Text forms the song sample data formation text that module 20 completes decomposition; The text of memory module 30 storage song sample data.
In embodiments of the present invention, described text formation module 20 specifically comprises: form module and writing module.The song sample data that the composition module completes decomposition the sequencing of position occurs according to it, forms array data; Writing module writes array data in text.
In embodiments of the present invention, the storage system of described song also comprises: receiver module 40, search module 50, acquisition module 60 and download module 70.When receiver module 40 receives the download song request message of client transmission, in described request message, include song title; Search module 50 and search the text of song corresponding to described song title in the text of song sample data; If do not find, acquisition module 60 obtains whole song corresponding to described song title; Then decomposing the sample data of song by decomposing module 10; Text forms the song sample data formation text that module 20 completes decomposition; The text of memory module 30 storage song sample data; Then by download module 70, by described song title, corresponding text is sent on client.If find, by described song title, corresponding text is sent on client download module 70.
Refer to Fig. 3, the method for down loading of the song provided for the embodiment of the present invention, it comprises the following steps:
In step S201, send the request message of downloading song to server, include song title in described request message;
In embodiments of the present invention, can send the request message of downloading song to server by HTTP or ICP/IP protocol.
In step S202, text corresponding to described song title that reception server sends;
In step S203, by the synthetic complete standard song of the text of song;
In embodiments of the present invention, described step of the text of song being synthesized to complete standard song is specially:
Resolve the text of song, obtain the array data of the appearance position of song sample data;
According to the essential information of song, create sample MP3 format song;
According to the array data of the appearance position of the song sample data sample MP3 format song of modifying, form the complete standard song of binary data.
In step S204, store described complete standard song.
Refer to Fig. 4, the download system of the song provided for the embodiment of the present invention, for convenience of explanation, only show part related to the present invention.The download system of described song comprises: request message sending module 100, text receiver module 200, song synthesis module 300 and song memory module 400.The download system of described song can be the unit that is built in software unit, hardware cell or software and hardware combining in electronic equipment.Described electronic equipment can be handheld device or computer etc., and described handheld device can be mobile terminal or PDA etc.
Request message sending module 100 sends the request message of downloading song to server, in described request message, include song title; Text corresponding to described song title that text receiver module 200 reception servers send; Song synthesis module 300 is by the synthetic complete standard song of the text of song; The described complete standard song of song memory module 400 storage.
In embodiments of the present invention, described song synthesis module 300 specifically comprises: parsing module, creation module, modified module and song form module.
Parsing module, for resolving the text of song, obtain the array data of the appearance position of song sample data;
Creation module, according to the essential information of song, creates sample MP3 format song;
Modified module is according to the array data of the appearance position of the song sample data sample MP3 format song of modifying, and song forms module and amended sample MP3 format song formed to the complete standard song of binary data.
As from the foregoing, the embodiment of the present invention is by decompose the sample data (comprising track information, channel information, musical instrument effect, tamber effect, accuracy in pitch dot information, tone information, song dynamics information etc.) of song at server end, and the formation text; When song is downloaded in the client electronic device request, the text that only needs the sample data of this song of download, then on client electronic device, the sample data according to song synthesizes a complete song, thereby realize the download of song, it has reduced the data volume that the user downloads song, save the room and time of Internet Transmission, for the user has saved a large amount of download times and mail downloading charge use, changed traditional song downloading mode.
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 (7)

1. the storage means of a song, is characterized in that, said method comprising the steps of:
The sample data that decomposes full songs at server end;
Song sample data decomposition completed at server end the sequencing of position occurs according to it, forms array data and writes in text;
Text in server end storage song sample data;
When receiving the download song request message of client transmission, in described request message, include song title; Search the text of song corresponding to described song title in the text of song sample data, if do not find; Obtain whole song corresponding to described song title; Then carry out the sample data that decomposes song; The song sample data that decomposition is completed forms text; The text of storage song sample data; Then by described song title, corresponding text is sent on client; If find, by described song title, corresponding text is sent on client.
2. storage means as claimed in claim 1, is characterized in that, described sample data comprises: track information, channel information, musical instrument effect, tamber effect, accuracy in pitch dot information, tone information and song dynamics information.
3. the storage system of a song, is characterized in that, described system comprises:
Decomposing module, for decomposing the sample data of full songs;
Text forms module, for the song sample data that decomposition is completed, according to it, the sequencing of position occurs, forms array data and writes in text;
Memory module, for storing the text of song sample data;
Receiver module, the download song request message sent for receiving client, include song title in described request message;
Search module, search the text of song corresponding to described song title for the text in the song sample data;
Acquisition module, for while not finding text, obtaining whole song corresponding to described song title when the described module of searching; The sample data that decomposes song by described decomposing module; Described text forms the song sample data formation text that module completes decomposition; The text of described memory module storage song sample data; By described song title, corresponding text is sent on client download module;
Download module, also for when the described module searches of searching when the text, by described song title, corresponding text is sent on client.
4. a server that comprises the storage system of song claimed in claim 3.
5. the method for down loading of a song, is characterized in that, said method comprising the steps of:
Send the request message of downloading song to server, in described request message, include song title;
Text corresponding to described song title that reception server sends;
By the synthetic complete standard song of the text of song, be specially: resolve the text of song, obtain the array data of the appearance position of song sample data; According to the essential information of song, create sample MP3 format song; According to the array data of the appearance position of the song sample data sample MP3 format song of modifying, form the complete standard song of binary data;
Store described complete standard song.
6. the download system of a song, is characterized in that, described system comprises: the request message sending module, for send the request message of downloading song to server, includes song title in described request message;
The text receiver module, text corresponding to described song title sent for reception server;
The song synthesis module, for the synthetic complete standard song of the text by song;
The song memory module, for storing described complete standard song;
Described song synthesis module specifically comprises: parsing module, creation module, modified module and song form module;
Parsing module, for resolving the text of song, obtain the array data of the appearance position of song sample data;
Creation module, for the essential information according to song, create sample MP3 format song;
Modified module, for the array data of the appearance position according to the song sample data sample MP3 format song of modifying;
Song forms module, for amended sample MP3 format song being formed to the complete standard song of binary data.
7. an electronic equipment that comprises the download system of song claimed in claim 6.
CN 200910190074 2009-09-15 2009-09-15 Method, system, server and electronic device for storing and downloading songs Active CN101662507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910190074 CN101662507B (en) 2009-09-15 2009-09-15 Method, system, server and electronic device for storing and downloading songs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910190074 CN101662507B (en) 2009-09-15 2009-09-15 Method, system, server and electronic device for storing and downloading songs

Publications (2)

Publication Number Publication Date
CN101662507A CN101662507A (en) 2010-03-03
CN101662507B true CN101662507B (en) 2013-12-25

Family

ID=41790289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910190074 Active CN101662507B (en) 2009-09-15 2009-09-15 Method, system, server and electronic device for storing and downloading songs

Country Status (1)

Country Link
CN (1) CN101662507B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404439A (en) * 2010-09-14 2012-04-04 上海三旗通信科技股份有限公司 Storage and application method for binary object code of mobile phone
US9373313B2 (en) * 2012-10-04 2016-06-21 Fender Musical Instruments Corporation System and method of storing and accessing musical performance on remote server
CN104092724B (en) * 2014-04-10 2016-08-17 腾讯科技(深圳)有限公司 Method, terminal and the server that song data pulls
CN105723369A (en) * 2016-01-22 2016-06-29 张阳 Method and system for processing lyrics of KTV
CN106409282B (en) * 2016-08-31 2020-06-16 得理电子(上海)有限公司 Audio synthesis system and method, electronic equipment and cloud server thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1153961A (en) * 1995-10-30 1997-07-09 日本胜利株式会社 Method of recording musical data and reproducing apparatus thereof
CN1719544A (en) * 2004-07-06 2006-01-11 声发梅迪亚株式会社 Portable electronic apparatus with song selecting function
US20060271620A1 (en) * 2005-05-27 2006-11-30 Beaty Robert M Digital music social network player system
CN1963822A (en) * 2006-11-28 2007-05-16 威盛电子股份有限公司 Method for conformity play of information of lyric and song and music

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1153961A (en) * 1995-10-30 1997-07-09 日本胜利株式会社 Method of recording musical data and reproducing apparatus thereof
CN1719544A (en) * 2004-07-06 2006-01-11 声发梅迪亚株式会社 Portable electronic apparatus with song selecting function
US20060271620A1 (en) * 2005-05-27 2006-11-30 Beaty Robert M Digital music social network player system
CN1963822A (en) * 2006-11-28 2007-05-16 威盛电子股份有限公司 Method for conformity play of information of lyric and song and music

Also Published As

Publication number Publication date
CN101662507A (en) 2010-03-03

Similar Documents

Publication Publication Date Title
CN101662507B (en) Method, system, server and electronic device for storing and downloading songs
CN104995924B (en) The caching based on program in live media distribution
US8527660B2 (en) Data synchronization by communication of modifications
RU2486586C1 (en) Method and device for integration of data on point provided by group of suppliers
CN108900945A (en) Bluetooth headset box and audio recognition method, server and storage medium
CN104798082A (en) Method and apparatus for providing privacy policy for data stream
CN102349314B (en) Method and apparatus for accessing content based on user geolocation
CN102612693A (en) Method and apparatus for classifying content
CN102349278B (en) Method and apparatus for on-demand content mapping
US20080189354A1 (en) Method and apparatus for automated user review of media content in a mobile communication device
CN106909447B (en) Background application processing method and device and terminal
CN109543671B (en) Touch reading method, touch reading pen, server data processing method and touch reading system
CN101605307A (en) Test short message service (SMS) voice play system and method
KR20130137332A (en) Speech recognition server for determining service type based on speech informaion of device, content server for providing content to the device based on the service type, the device, and methods thereof
CN104123114A (en) Method and device for playing voice
CN101184123B (en) Method for obtaining linkman information in address list, system and communication terminal
CN106888154A (en) Music sharing method and system
CN103366010A (en) Method and device for searching audio file
CN103080931B (en) For the method and apparatus of page updates agreement
CN103034734A (en) File storage and inquiry agency and information searching method and system
CN103838464A (en) Adaptive method of graphical controls for the blind to read mobile phone screens
CN101470609A (en) Software upgrading method, system and electronic equipment thereof
CN105868424A (en) Audio file naming method and device and electronic equipment
CN111641690B (en) Session message processing method and device and electronic equipment
CN103294881A (en) Method and device for acquiring game page and mobile 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
C14 Grant of patent or utility model
GR01 Patent grant