CN104038773B - Generate the method and device of ring signal file - Google Patents

Generate the method and device of ring signal file Download PDF

Info

Publication number
CN104038773B
CN104038773B CN201410307727.4A CN201410307727A CN104038773B CN 104038773 B CN104038773 B CN 104038773B CN 201410307727 A CN201410307727 A CN 201410307727A CN 104038773 B CN104038773 B CN 104038773B
Authority
CN
China
Prior art keywords
identification information
file
tinkle
bells
server
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
CN201410307727.4A
Other languages
Chinese (zh)
Other versions
CN104038773A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201410307727.4A priority Critical patent/CN104038773B/en
Publication of CN104038773A publication Critical patent/CN104038773A/en
Application granted granted Critical
Publication of CN104038773B publication Critical patent/CN104038773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses the method and device of generation ring signal file, methods described includes;In first terminal equipment side, during by browser playing video file, the request according to designated documenting ring signal file is received by the first preset operation entry;Obtain the identification information of the designated file;The identification information is sent to sound wave generation server, the sound wave generation server stores the identification information, and generates store identification information for the storage entry, and the store identification information is encoded into sonic data and returned;Receive the sonic data of the sound wave generation server return and play the sonic data, so that second terminal equipment receives the sonic data decoding, the identification information of the video file is obtained, and the identification information of video file is sent to the tinkle of bells generation server, and generates ring signal file.Such scheme can help that user will more easily dub in background music or background music is fabricated to the tinkle of bells in time.

Description

Generate the method and device of ring signal file
Technical field
The present invention relates to ring signal file manufacture technology field, the method and device of ring signal file is more particularly to generated.
Background technology
With the popularity rate more and more higher of the terminal devices such as mobile phone, people to the personalized pursuit of mobile phone also more and more higher, And ringing sound of cell phone is weighed as an important embodiment of Individualized Pursuit by the user of more and more pursuit personalized handset Depending on.When the tinkle of bells is selected, user can download the audio file oneself liked directly as the tinkle of bells.And some audio files Special processing is needed to be used as ringing sound of cell phone.In the prior art ringing sound of cell phone set software common practice be for Family one audio of offer cuts the instrument with transcoding, and what user oneself be able to will be found using this Software tool includes desired sound The music file of sound is cut and transcoding, and file after the transcoding of generation then is set into the tinkle of bells using this software.
Due to gradually popularization of the Web Video Service in life, user is regular to pass through browser access video website Video is watched, during video is watched, people often think that certain section of music in video is very pleasing to the ear, and wish to Certain section of music in enough videos for liking oneself as the ringing sound of cell phone of oneself, user can be worked as during video is seen if Want wherein a certain section to dub in background music or background music is made as the tinkle of bells, generally, user can only try every possible means to know that this section is matched somebody with somebody The mark such as title of happy or background music, then will change music according to the mark of this section of music by means such as internet hunts File download is into terminal devices such as the mobile phones of oneself, to be used as optional ring signal file.Or.Also exist in the prior art Some ring making instruments, the instrument can extract voice data from specified video file, and be cut out transcoding etc., system Ring signal file is made, still, the instrument of this class is generally required in the computer equipments such as desktop computer, notebook computer, That is, user can only be in these computer equipments to the mark such as title of the instrument input video file, when the work Tool is fabricated to after ring signal file, in addition it is also necessary to the mode such as is connected by data wire and is transferred in the terminal devices such as mobile phone, so It can be used as the tinkle of bells for making the terminal device.
It can be seen that, can not meet in the prior art user in time, fast and accurately by watch video when heard dub in background music or Person's background music is fabricated to the demand of the tinkle of bells, therefore, how to help user convenient will to watch dubbing in background music of being heard in video or Background music is fabricated to the tinkle of bells in time, as the technical problem solved in the urgent need to those skilled in the art.
The content of the invention
Based on above mentioned problem, the embodiment of the invention discloses the method and device of generation ring signal file, user can be helped More easily by watch video in heard dub in background music or background music is fabricated to the tinkle of bells in time.Technical scheme is as follows:
The embodiment of the present invention provides a kind of method for generating ring signal file, applied to first terminal equipment, including:
During by browser playing video file, received and regarded according to specified by the first preset operation entry Frequency file makes the request of ring signal file;
Obtain the identification information of the designated file;
The identification information is sent to sound wave generation server, so that sound wave generation server believes the mark Breath storage, and store identification information is generated for the storage entry, the store identification information is encoded to sonic data and returned Return;
Receive the sonic data of the sound wave generation server return and play the sonic data, so that second terminal is set It is standby to receive the sonic data decoding, the store identification information is obtained, the store identification information is sent to sound wave generation Server, obtains the identification information of the video file, and the identification information of video file is sent into the tinkle of bells generation server, Server is generated by the tinkle of bells voice data is extracted from the video file, and generate ring signal file.
The embodiment of the present invention also provides a kind of method for generating ring signal file, applied in second terminal equipment, including:
The sonic data played in the loudspeaker for receiving first terminal equipment, obtains and specifies storage identification information;
The storage identification information got is sent to sound wave generation server;
The identification information that the sound wave is generated into the video file that server is returned is sent to the tinkle of bells generation server, so as to The tinkle of bells generation server is extracted in the video file according to the identification information of the designated file got Voice data, generates ring signal file and returns;
Receive the ring signal file of the tinkle of bells generation server return and preserve.
The embodiment of the present invention also provides a kind of device for generating ring signal file, applied to first terminal equipment, including:
Ring making request reception unit, for during by browser playing video file, by preset First operation entry receives the request according to designated documenting ring signal file;
Identification information obtaining unit, the identification information for obtaining the designated file;
Transmitting element, for the identification information to be sent into sound wave generation server, is serviced so that the sound wave is generated Device stores the identification information, and generates store identification information for the storage entry, and the store identification information is encoded For sonic data and return;
Sonic data broadcast unit, for receiving the sonic data of the sound wave generation server return and playing the sound Wave number evidence, so that second terminal equipment receives the sonic data decoding, obtains the store identification information, the storage is marked Know information and be sent to sound wave generation server, obtain the identification information of the video file, and by the identification information of video file The tinkle of bells generation server is sent to, generate server by the tinkle of bells extracts voice data from the video file, and generates Ring signal file.
The embodiment of the present invention also provides a kind of device for generating ring signal file, applied in second terminal equipment, including:
The sonic data played in sound wave decoding unit, the loudspeaker for receiving first terminal equipment, obtains to specify and deposits Store up identification information;
First transmitting element, for the storage identification information got to be sent into sound wave generation server;
Second transmitting element, the identification information for the sound wave to be generated to the video file that server is returned is sent to bell Sound generates server, so that the tinkle of bells generates server according to the identification information of the designated file got, carries The voice data in the video file is taken, ring signal file is generated and returns;
Ring signal file receiving unit, for receiving the ring signal file of the tinkle of bells generation server return and preserving.
The technical scheme provided using the embodiment of the present invention, user only needs to select oneself to feel from first terminal equipment The identification information of the video file can just be sent to sound wave generation server and enter by the video file of interest, first terminal equipment Row is preserved, and storage identification information can be generated sonic data and returned by sound wave generation server, and first terminal equipment is being received It can be played out afterwards by loudspeaker, now, user can be to monitor the sound wave using second terminal equipment and be solved Code, to obtain storage identification information, and utilizes the mark of storage identification information extraction video file from sound wave generation server Know information, and then the identification information can be just sent to the making that ring signal file generation server carries out ring signal file, finally Second terminal equipment only needs to receive ring signal file and the preservation that ring signal file generation server is returned.It can be seen that, in the reality , it is necessary to which the operation that user manually performs only selects video file in first terminal equipment during existing, and utilize second Terminal device monitors sonic data, and other processes can be automatically performed by application provided in an embodiment of the present invention, reduces The running cost of user.Also, the generation of sonic data and the making of ring signal file can be completed in server end, Server end can be made full use of to store and the more powerful advantage of calculation function, and do not need user to be installed in terminal device Related instrument, is also beneficial to save client resource.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of first method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of second method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of first device provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of second device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In the embodiment of the present invention, a kind of method for generating ring signal file can be provided, with it, user can be clear Look at device playing video file when, music or snatch of music in the video that oneself is liked are fabricated to the ringing sound of cell phone of oneself.
In the method, the making of ring signal file can be completed by two terminal devices.Wherein, first terminal equipment In browser is installed, the browser with streaming media playing instrument (such as can with the plug-in unit of browser form presence), One application program is installed in second terminal equipment, the application program have receive and parse through sonic data function (for ease of The application program, is referred to as " sound wave decoding program " by description herein).Specifically, user can be used in first terminal equipment The browser of installation watches video file online, and accordingly, the streaming media playing instrument in browser is in playing video file During, can provide the user for select the operation entry of video file (such as can be with button control shape Formula presence), user can select oneself video file interested by the operation entry, accordingly, and browser can be extracted Go out the identification information (such as ID) of the video file, and be sent to sound wave generation server, sound wave generation server can be right The identification information is preserved, and for storage entry generation storage identification information, the storage identification information then is carried out into coding life Into sonic data, and first terminal equipment is returned to, so, first terminal equipment can just play out the sonic data.Afterwards, User can just open the sound wave decoding program in second terminal equipment, now, the sound wave monitoring equipment (example of second terminal equipment Such as Mike) it can be unlocked automatically, sound wave decoding program can just be parsed to the sonic data listened to, so as to read out it In the storage identification information that includes.Next, storage identification information can just be sent to sound wave generation clothes by second terminal equipment The identification information for storing video file corresponding to identification information can be returned to second terminal and set by business device, sound wave generation server It is standby, and then, second terminal equipment just can the video file identification information be sent to the tinkle of bells generation server, given birth to by the tinkle of bells Into whois lookup to the video file, voice data is therefrom extracted, and is fabricated to ring signal file, second terminal is returned to and sets Standby, so, second terminal equipment can just get corresponding ring signal file, and can further be set to this second The tinkle of bells of terminal device.
It can be seen that, in the embodiment of the present invention, user can select video file from a terminal device, and then the terminal is set It is standby just to play sound wave to user, next, user only needs to decode the sound wave with another terminal device, and with Interacted between sound wave generation server, it is possible to which the voice data included in the video file is fabricated to available the tinkle of bells File, it is possible thereby to be easy to user to obtain ring signal file from video file.
The main angle from this first terminal equipment and second terminal equipment is to skill provided in an embodiment of the present invention below Art scheme is introduced.
Embodiment one:
Reference picture 1, the method for showing a kind of generation ring signal file of the embodiment of the present invention, applied to first terminal equipment Flow chart, as shown in figure 1, this method comprises the following steps:
S101:During by browser playing video file, basis is received by the first preset operation entry The request of designated documenting ring signal file;
In first terminal equipment side, various video files can be played by a DST PLAYER, wherein, video text Part may come from streaming media server, and in embodiments of the present invention, streaming media playing server typically can be as clear The form such as plug-in unit of device of looking at is present, namely, it is necessary to carries out specific video file play operation in a browser.For the ease of with Family carries out the making of ring signal file during video file is watched, and the embodiment of the present invention can provide one in a browser First operation entry, first operation entry is mainly used in responding the selection operation of user, and user first can be operated by this Entrance initiates the request according to designated documenting ring signal file.When implementing, the designated file can be The video file being currently played, now, as long as receiving the request of user, browser just currently will can be broadcast automatically The video file put is defined as the video file that user specifies.Or, can also be in video file under another implementation The first operation entry of selection designated file is provided in the catalogues such as list, now, each video file can correspond to one First operation entry, after the request of user is received by certain first operation entry, it is possible to by first operation entry pair The video file answered is defined as the video file that the user specifies.
After request is have issued by above-mentioned first operation entry, browser can know that user is needed according to video Documenting ring signal file.In the case of acquiescence, browser can consider that user is to need to include according in the video file All audio frequency data generate ring signal file, feasible, such as some advertising films when this is for some short video files, or MV of person's song etc., its length typically can within 5 minutes, and in requirement in terminal device to ring signal file size, one As be also required to control within the time span, therefore the requirement of ring signal file can be met just.So, in such case Under, user is after it have selected the video file, it is believed that dubbing in background music in whole video or background music it is all oneself The music liked is, it is necessary to all choose, and therefore, in first terminal equipment side, user only needs to specify specific video file i.e. Can, it is not necessary to perform other operations again.
But, it is probably the long file such as some films to also have some video files, by all audio frequency number therein According to extracting, making ring signal file is clearly inappropriate, and the ratio of dubbing in background music of user typically also simply to wherein some fragment It is interested, and it is desirable that this section, which is dubbed in background music, is made as ring signal file.Now, in embodiments of the present invention, can also be in browser The second operation entry is provided in interface, user can need the piece of interception by second operation entry in designated file Section.When implementing, can in the progress monitoring sliding block of DST PLAYER the integrated second operation entry function, now, If the video file being currently played selection is designated file by user, it can be carried out by dragging the sliding block The interception of video segment.Or, it can also be provided the user in interface for input video fragment initial time and end The input frame of time, user can carry out the interception of video segment by input time information.So, user is in viewing video During, if hear certain section oneself like dub in background music or background music after, it is possible to select this through the above way Duan Peile or the corresponding video segment of background music.For example, when user watches a film, movie playback is to 45 points When clock was by 50 minutes, in the film correspondence play dub in background music or background music be user want to be made as oneself ringing sound of cell phone Musical portions, then it is initial time t that user, which can select the film the 45th minute,b, at the end of the 50th minute of the film is Between te.In addition, in actual applications, due to the characteristic that second terminal equipment is limited ring signal file existence time, therefore with When family intercepts video segment, the maximum time length that can be intercepted can also be limited in advance, when user's overlong time to be intercepted When, whether may remind the user that is used for ringing sound of cell phone, if it is, its selection of user can be pointed out to be that video-frequency band is long, and will User is asked to re-start interception.
S102:Obtain the identification information of the designated file;
User is defined in previous step during video is watched by browser, it is selected to be used to make bell The video file of sound file, in this step, in browser end, it may be determined that go out the identification information of the video file, such as name Title, ID etc..Wherein, because appointed video file is probably the video file just played in a browser, therefore, browser The identification information of the video file can be directly extracted according to play parameter etc., and on the video file in playlist, The identification information of video file can also be extracted from the information such as broadcasting link.Because video ID is the phase in Internet video , can be for accurately finding the video file from network media file storehouse to unique coding.
Wherein, if in step S101, user has also carried out the interception of video segment, then in this step, can be with Determine initial time t of the video segment in the videobAnd end time te
S103:The identification information is sent to sound wave generation server, so that sound wave generation server will be described Identification information is stored, and generates store identification information for the storage entry, and the store identification information is encoded into sound wave number According to and return;
After the identification information of designated file is determined, video file identification information can be uploaded to sound by browser Ripple generates server.Sound wave generates server and returns to first terminal equipment after generation sonic data, actually using sound Ripple is as carrier, to transmit the identification information for the video file that user selects.Therefore, in theory, sound wave generation server Directly the identification information of video file can be encoded, generate sonic data and return to first terminal equipment, but by It is generally not suitable for being once transmitted across many information in sonic data, and the identification information of video file typically may be long, Therefore, if the identification information directly is generated into sonic data, and first terminal equipment is returned to, easily causes error etc. existing As.Therefore, in embodiments of the present invention, sound wave generates server after the identification information of video file is received, can be first First the identification information is preserved, and storage identification information (for example storing id) is provided for the storage entry, due to the storage Identification information is sound wave generation server oneself definition, therefore, it can define its length according to the characteristics of acoustic data transmissions Degree, to ensure to malfunction in transmitting procedure.In addition, when having intercepted video segment, can also be by video segment Initial time tbAnd end time teSound wave generation server is sent to, when sound wave maker is by the video ID received, starting Between tbAnd end time tePreserved as a storage entry, and the storage identification information for storing entry is carried out The corresponding sound wave of coding generation.After sound wave generation, the sonic data is returned to first terminal equipment by sound wave generation server.
S104:Receive the sonic data of the sound wave generation server return and play the sonic data, so as to second Terminal device receives the sonic data decoding, obtains the store identification information, the store identification information is sent into sound Ripple generates server, obtains the identification information of the video file, and the identification information of video file is sent into the tinkle of bells generation Server, generates server by the tinkle of bells and voice data is extracted from the video file, and generate ring signal file.
First terminal equipment receives from sound wave and generates the sonic data for carrying storage identification information that server is returned Afterwards, decoded and played in the first terminal equipment, so that user uses specific sound wave decoding software in the second equipment Sound wave is decoded.The sound wave decoding software has data-transformation facility, can after the decoding, the storage mark that decoding is obtained Know information and be sent to sound wave generation server.Sound wave generates server after the storage identification information is received, can be from correspondence The identification information of video file is taken out in storage entry and second terminal equipment is returned to, and then second terminal equipment again can be by The identification information of the video file is sent to the tinkle of bells generation server, and the tinkle of bells generates server after above- mentioned information is received, first Target video can be found in corresponding media file storehouse according to video ID, then can therefrom extract audio-frequency unit therein The data data of video file (because combined by the data of image section and the data of audio-frequency unit), according to the tinkle of bells text The form of part carries out the making of ring signal file, can just the ring signal file made be returned into second terminal equipment afterwards.Such as Also include initial time and the end time of the video segment of interception in the storage entry that fruit sound wave generation server is preserved, Then second terminal equipment can also be by the initial time t of the video segmentbAnd end time teIt is sent to the tinkle of bells generation service Device, the server can be first according to video file identifier lookup to video file, and determines the corresponding period in the video Interior video segment, extracts the voice data, and carry out the operation generation ring signal file such as transcoding from the video segment.It is based on The powerful computing capability of ring signal server, the extraction and transcoding process that ensure that snatch of music is quickly completed.The bell of generation Sound file generates server by the tinkle of bells, is sent in second terminal equipment, is used for user's storage.
Wherein, the address of server is generated on the tinkle of bells, can configure good in second terminal equipment in advance, this Sample, second terminal equipment side is after scanning and parsing video file information, it is possible to be transmitted directly to the server.Or Person, under another implementation, can also be what is specified by first terminal equipment side, at this point it is possible in first terminal equipment Side configures the tinkle of bells that can use and generates the address of server, or can also provide multiple addresses and selected for user, Afterwards when generating the information of server transmission making sonic data to sound wave, the address that the tinkle of bells can also be generated to server is believed Breath (such as uniform resource position mark URL) is also sent to sound wave generation server, so, and the bell can be just included in storage bar code Sound generates the address information of server.Storage identification information is being sent to sound wave generation server in second terminal equipment afterwards Afterwards, except that can know the identification information of video file, initial time, the end time information of video segment can also be obtained Know that the tinkle of bells generates the address information of server, and according to the address information, be identified information, temporal information transmission i.e. Can.
In addition, for different second terminal equipment, different requirements are might have to form of ring signal file etc., Now, if the tinkle of bells generates the making that server carries out ring signal file according to unified form, the ring signal file ultimately generated Possibly it can not be adapted to use in the second terminal equipment of institute's organic type.Therefore, generate and service to the tinkle of bells in second terminal equipment While device sends the information such as video file mark, initial time, end time, current second terminal equipment can also be got Type identifier code etc. information, and by the type identifier code be also sent to the tinkle of bells generation server.So, the tinkle of bells generation service Device can produce the ring signal file suitable for the second terminal equipment according to the model of specific second terminal equipment.For example, If the tinkle of bells generation server determines that second terminal equipment is equipped with iOS system according to the model of second terminal equipment, When generating ring signal file, ring format can be defined as M4R forms, if being equipped with android system, then the tinkle of bells text Part form can be defined as MP3 format, midi format or mpeg format etc..
In a word, the method for the generation ring signal file provided using the embodiment of the present invention, user is only needed to from first terminal The identification information of the video file can be just sent to by the video file for selecting oneself interested in equipment, first terminal equipment Sound wave generation server is preserved, and will be played out the sound wave for carrying storage identification information, now, user can just make Sonic data is decoded with second terminal equipment, can be from according to the storage identification information to obtain storage identification information Sound wave generation server goes out to get the identification information of video file, and then can just send the identification information of the video file The making that server carries out ring signal file is generated to ring signal file, the second last terminal device only needs to receive ring signal file generation The ring signal file of server return and preservation.It can be seen that, it is necessary to which the operation that user manually performs only has in the implementation process Video file is selected in first terminal equipment, and sonic data is monitored using second terminal equipment, other mistakes Journey can be automatically performed by application provided in an embodiment of the present invention, reduce the running cost of user.Also, sonic data Generation and the making of ring signal file can be completed in server end, server end can be made full use of to store and computing Advantage with better function, and do not need user that the instrument of correlation is installed in terminal device, it is also beneficial to save client Resource.
Embodiment two:
Above example one is situated between from the angle of first terminal equipment to the specific implementation of the embodiment of the present invention Continue, in the embodiment two, mainly the angle from second terminal equipment is introduced.Referring to Fig. 2, the embodiment two provides one The method for planting generation ring signal file, applied in second terminal equipment, this method specifically may comprise steps of:
S201:The sonic data played in the loudspeaker for receiving first terminal equipment, obtains and specifies storage identification information;
S202:The storage identification information got is sent to sound wave generation server;
S203:The identification information that the sound wave is generated into the video file that server is returned is sent to the tinkle of bells generation service Device, so that the tinkle of bells generates identification information of the server according to the designated file got, extracts the video Voice data in file, generates ring signal file and returns;
S204:Receive the ring signal file of the tinkle of bells generation server return and preserve.
Wherein, can be with order that the ring signal file that must be generated can be applied to use in current second terminal equipment The type identifier code information of the second terminal equipment is obtained, so, identification information (rising for video segment is being also possible that End time time beginning etc.) be sent to the tinkle of bells generation server when, can also be by second terminal unit type identification number information The tinkle of bells generation server is sent to, so that the tinkle of bells generates identification information and second terminal equipment of the server according to video file Type identifier code information, generation is adapted to the ring signal file of the second terminal equipment.
It should be noted that the embodiment two is compared with embodiment one, it is only different, the phase in terms of angle is described The details that implements closed is identical or corresponding, therefore, it can, with reference to the introduction in embodiment one, repeat no more here.
Method with generation ring signal file provided in an embodiment of the present invention is corresponding, and the embodiment of the present invention additionally provides one kind The device of ring signal file is generated, the device is applied to first terminal equipment, and referring to Fig. 3, the device can include;
Ring making request reception unit 301, for during by browser playing video file, by preset The first operation entry receive according to the request of designated documenting ring signal file;
Identification information obtaining unit 302, the identification information for obtaining the designated file;
Transmitting element 303, for the identification information to be sent into sound wave generation server, takes so that the sound wave is generated Business device stores the identification information, and generates store identification information for the storage entry, and the store identification information is compiled Code is sonic data and returns;
Sonic data broadcast unit 304, for receiving the sonic data of the sound wave generation server return and playing institute Sonic data is stated, so that second terminal equipment receives the sonic data decoding, the store identification information is obtained, by the storage Deposit identification information and be sent to sound wave generation server, obtain the identification information of the video file, and by the mark of video file Information is sent to the tinkle of bells generation server, and generate server by the tinkle of bells extracts voice data from the video file, and Generate ring signal file.
Wherein, when implementing, returning apparatus can also include:
Video-frequency band interception unit, is intercepted for being received by the second preset operation entry from the designated file The request of particular video frequency section;
Time determining unit, initial time and end time for determining the particular video frequency section;
Now, the transmitting element 303 is additionally operable to:, will when the identification information is sent into sound wave generation server The initial time of the particular video frequency section and end time are sent to the sound wave generation server, so that the sound wave is generated Server is stored according to the video file identification information, initial time and end time, and is storage entry generation Store identification information, receive second terminal equipment transmission storage identification information after, by the video file identification information, Initial time and end time return to second terminal equipment, and the second terminal equipment, which identifies the video file, to be believed Breath, initial time and end time are sent to the tinkle of bells generation server, and generate server by the tinkle of bells regards from described The corresponding voice data of the particular video frequency section is extracted in frequency file, and generates ring signal file.
Wherein, the sonic data of the generation also includes the uniform resource position mark URL that specified the tinkle of bells generates server, The tinkle of bells generation is specified so that the identification information parsed in the obtained sonic data is sent to this by the second terminal equipment Server.
Method with the generation ring signal file that the embodiment of the present invention two is provided is corresponding, and the embodiment of the present invention additionally provides one The device of generation ring signal file is planted, the device is applied in second terminal equipment, and referring to Fig. 4, the device can specifically include:
The sonic data played in sound wave decoding unit 401, the loudspeaker for receiving first terminal equipment, obtains and specifies Store identification information;
First transmitting element 402, for the storage identification information got to be sent into sound wave generation server;
Second transmitting element 403, the identification information for the sound wave to be generated to the video file that server is returned is sent Server is generated to the tinkle of bells, so that the tinkle of bells generation server is believed according to the mark of the designated file got Breath, extracts the voice data in the video file, generates ring signal file and returns;
Ring signal file receiving unit 404, for receiving the ring signal file of the tinkle of bells generation server return and protecting Deposit.
Wherein, the initial time also including video-frequency band and end time in the information that the sound wave generation server is returned Information, second transmitting element 403 can be also used for:
When the identification information of the video file is sent into the tinkle of bells generation server, also by the starting of the video-frequency band Time and end time information are sent to the tinkle of bells generation server, so that the tinkle of bells generates server from the video The corresponding voice data of the particular video frequency section is extracted in file, and generates ring signal file.
In addition, the device can also include:
Type information acquiring unit, the type identifier code information for obtaining the second terminal equipment;
Now, second transmitting element 403 is additionally operable to:When the identification information is sent to the tinkle of bells generation server, The second terminal unit type information of identification code is sent to the tinkle of bells generation server, so that the tinkle of bells generates server root According to the identification information and the second terminal unit type information of identification code, generation is adapted to the tinkle of bells of the second terminal equipment File.
By the present invention, user only needs to the video file for selecting oneself interested from first terminal equipment, and first eventually The identification information of the video file can just be sent to sound wave generation server and be preserved by end equipment, sound wave generation server By storage identification information generation sonic data and it can return, first terminal equipment can be carried out by loudspeaker upon receipt Play, now, user can to monitor the sound wave using second terminal equipment and be decoded, to obtain storage identification information, And the identification information of video file is extracted from sound wave generation server using the storage identification information, and then this can just be marked Know information and be sent to the making that ring signal file generation server carries out ring signal file, the second last terminal device only needs to receive bell The ring signal file of sound file generation server return and preservation.It can be seen that, it is necessary to which user manually performs in the implementation process Operation only select video file in first terminal equipment, and monitor sonic data using second terminal equipment, other Process can be automatically performed by application provided in an embodiment of the present invention, reduce the running cost of user.Also, sound wave The generation of data and the making of ring signal file can be completed in server end, can make full use of server end store and The more powerful advantage of calculation function, and do not need user that the instrument of correlation is installed in terminal device, it is also beneficial to save visitor Family end resource.
For system or device embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of method for generating ring signal file, applied to first terminal equipment, it is characterised in that including:
During by browser playing video file, received by the first preset operation entry according to designated text Part makes the request of ring signal file;
Obtain the identification information of the designated file;
The identification information is sent to sound wave generation server, so that sound wave generation server stores up the identification information Deposit, and store identification information is generated for the storage entry, the store identification information is encoded to sonic data and returned;
Receive the sonic data of the sound wave generation server return and play the sonic data, so that second terminal equipment connects The sonic data decoding is received, the store identification information is obtained, the store identification information is sent to sound wave generation service Device, obtains the identification information of the video file, and the identification information of video file is sent into the tinkle of bells generation server, passes through The tinkle of bells generation server extracts voice data from the video file, and generates ring signal file.
2. according to the method described in claim 1, it is characterised in that also include:
The request that particular video frequency section is intercepted from the designated file is received by the second preset operation entry;
Determine initial time and the end time of the particular video frequency section;
When the identification information is sent into sound wave generation server, by the initial time of particular video frequency section and end Time is sent to sound wave generation server, so as to sound wave generation server according to the video file identification information, Initial time and end time are stored, and are storage entry generation storage identification information, are set receiving second terminal After the storage identification information that preparation is sent, the video file identification information, initial time and end time are returned to second The video file identification information, initial time and end time are sent to institute by terminal device, the second terminal equipment The tinkle of bells generation server is stated, it is corresponding that the particular video frequency section is extracted from the video file by the tinkle of bells generation server Voice data, and generate ring signal file.
3. according to the method described in claim 1, it is characterised in that:The sonic data of the generation also includes specified the tinkle of bells life Into the uniform resource position mark URL of server, so that the second terminal equipment will be parsed in the obtained sonic data Identification information is sent to this and specifies the tinkle of bells generation server.
4. a kind of method for generating ring signal file, applied in second terminal equipment, it is characterised in that including:
The sonic data played in the loudspeaker for receiving first terminal equipment, obtains and specifies storage identification information;
The storage identification information got is sent to sound wave generation server;
The identification information that the sound wave is generated into the video file that server is returned is sent to the tinkle of bells generation server, so as to described The tinkle of bells generates identification information of the server according to the designated file got, extracts the audio in the video file Data, generate ring signal file and return;
Obtain the type identifier code information of the second terminal equipment;
When the identification information is sent to the tinkle of bells generation server, the second terminal unit type information of identification code is sent Server is generated to the tinkle of bells, so that the tinkle of bells generates server according to the identification information and the second terminal equipment type Number information of identification code, generation is adapted to the ring signal file of the second terminal equipment;
Receive the ring signal file of the tinkle of bells generation server return and preserve.
5. method according to claim 4, it is characterised in that also include in the information that the sound wave generation server is returned The initial time and end time information of video-frequency band, in addition to:
When the identification information of the video file is sent into the tinkle of bells generation server, also by the initial time of the video-frequency band And end time information is sent to the tinkle of bells generation server, so that the tinkle of bells generates server from the video file It is middle to extract the corresponding voice data of particular video frequency section, and generate ring signal file.
6. a kind of device for generating ring signal file, applied to first terminal equipment, it is characterised in that including:
Ring making request reception unit, for during by browser playing video file, passing through preset first Operation entry receives the request according to designated documenting ring signal file;
Identification information obtaining unit, the identification information for obtaining the designated file;
Transmitting element, for the identification information to be sent into sound wave generation server, so that sound wave generation server will The identification information storage, and store identification information is generated for the storage entry, the store identification information is encoded to sound Wave number evidence is simultaneously returned;
Sonic data broadcast unit, for receiving the sonic data of the sound wave generation server return and playing the sound wave number According to so that second terminal equipment receives the sonic data decoding, the acquisition store identification information believes the store identification Breath is sent to sound wave generation server, obtains the identification information of the video file, and the identification information of video file is sent Server is generated to the tinkle of bells, generate server by the tinkle of bells extracts voice data from the video file, and generates the tinkle of bells File.
7. device according to claim 6, it is characterised in that also include:
Video-frequency band interception unit, it is specific for being intercepted by preset the second operation entry reception from the designated file The request of video-frequency band;
Time determining unit, initial time and end time for determining the particular video frequency section;
The transmitting element is additionally operable to:When the identification information is sent into sound wave generation server, by the particular video frequency The initial time and end time of section are sent to the sound wave generation server, so that the sound wave generates server according to institute Stating video file identification information, initial time and end time is stored, and is storage entry generation storage identification information, Receive second terminal equipment transmission storage identification information after, by the video file identification information, initial time and End time returns to second terminal equipment, the second terminal equipment by the video file identification information, initial time with And the end time is sent to the tinkle of bells generation server, generate server by the tinkle of bells extracts institute from the video file The corresponding voice data of particular video frequency section is stated, and generates ring signal file.
8. device according to claim 6, it is characterised in that:The sonic data of the generation also includes specified the tinkle of bells life Into the uniform resource position mark URL of server, so that the second terminal equipment will be parsed in the obtained sonic data Identification information is sent to this and specifies the tinkle of bells generation server.
9. a kind of device for generating ring signal file, applied in second terminal equipment, it is characterised in that including:
The sonic data played in sound wave decoding unit, the loudspeaker for receiving first terminal equipment, obtains and specifies storage mark Know information;
First transmitting element, for the storage identification information got to be sent into sound wave generation server;
Second transmitting element, the tinkle of bells life is sent to for the sound wave to be generated to the identification information for the video file that server is returned Into server, so that the tinkle of bells generates identification information of the server according to the designated file got, institute is extracted The voice data in video file is stated, ring signal file is generated and returns;
Type information acquiring unit, the type identifier code information for obtaining the second terminal equipment;
Second transmitting element is additionally operable to:When the identification information is sent to the tinkle of bells generation server, by described second eventually End equipment type identifier code information is sent to the tinkle of bells generation server, so that the tinkle of bells generation server is believed according to the mark Breath and the second terminal unit type information of identification code, generation are adapted to the ring signal file of the second terminal equipment;
Ring signal file receiving unit, for receiving the ring signal file of the tinkle of bells generation server return and preserving.
10. device according to claim 9, it is characterised in that also wrapped in the information that the sound wave generation server is returned The initial time and end time information of video-frequency band are included, second transmitting element is additionally operable to:
When the identification information of the video file is sent into the tinkle of bells generation server, also by the initial time of the video-frequency band And end time information is sent to the tinkle of bells generation server, so that the tinkle of bells generates server from the video file It is middle to extract the corresponding voice data of particular video frequency section, and generate ring signal file.
CN201410307727.4A 2014-06-30 2014-06-30 Generate the method and device of ring signal file Active CN104038773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410307727.4A CN104038773B (en) 2014-06-30 2014-06-30 Generate the method and device of ring signal file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410307727.4A CN104038773B (en) 2014-06-30 2014-06-30 Generate the method and device of ring signal file

Publications (2)

Publication Number Publication Date
CN104038773A CN104038773A (en) 2014-09-10
CN104038773B true CN104038773B (en) 2017-08-25

Family

ID=51469344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410307727.4A Active CN104038773B (en) 2014-06-30 2014-06-30 Generate the method and device of ring signal file

Country Status (1)

Country Link
CN (1) CN104038773B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937129A (en) * 2015-12-31 2017-07-07 广州华多网络科技有限公司 A kind of live real-time clipping method of Online Video and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878217A (en) * 2006-06-30 2006-12-13 深圳市杰特电信控股有限公司 Mobile phone ring making method
CN201349326Y (en) * 2008-12-30 2009-11-18 深圳市同洲电子股份有限公司 Audio storage system and mobile terminal
CN101595492A (en) * 2007-01-25 2009-12-02 索尼株式会社 Portable video programs
CN102170420A (en) * 2010-02-26 2011-08-31 腾讯科技(深圳)有限公司 Method for obtaining ring tone and ring tone obtaining system
CN102547432A (en) * 2010-12-16 2012-07-04 中国移动通信集团广东有限公司 Information processing system, method for processing multimedia information and system
CN103024601A (en) * 2011-09-23 2013-04-03 吕品 Audio coding method and device, information collection method and system
CN103327021A (en) * 2013-06-24 2013-09-25 腾讯科技(深圳)有限公司 Method, devices and system of multi-device interaction

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8166093B2 (en) * 2001-02-08 2012-04-24 Warner Music Group, Inc. Method and apparatus for processing multimedia programs for play on incompatible devices
CN101257677A (en) * 2008-03-19 2008-09-03 深圳华为通信技术有限公司 Color ring setting method, terminal and color ring resource server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878217A (en) * 2006-06-30 2006-12-13 深圳市杰特电信控股有限公司 Mobile phone ring making method
CN101595492A (en) * 2007-01-25 2009-12-02 索尼株式会社 Portable video programs
CN201349326Y (en) * 2008-12-30 2009-11-18 深圳市同洲电子股份有限公司 Audio storage system and mobile terminal
CN102170420A (en) * 2010-02-26 2011-08-31 腾讯科技(深圳)有限公司 Method for obtaining ring tone and ring tone obtaining system
CN102547432A (en) * 2010-12-16 2012-07-04 中国移动通信集团广东有限公司 Information processing system, method for processing multimedia information and system
CN103024601A (en) * 2011-09-23 2013-04-03 吕品 Audio coding method and device, information collection method and system
CN103327021A (en) * 2013-06-24 2013-09-25 腾讯科技(深圳)有限公司 Method, devices and system of multi-device interaction

Also Published As

Publication number Publication date
CN104038773A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
US11763800B2 (en) Real time popularity based audible content acquisition
EP2406732B1 (en) Bookmarking system
US8805723B2 (en) Acoustically transmitting a resource identifier in multiple concurrent segments
EP2710397B1 (en) Sonic signaling communication for user devices
US11848030B2 (en) Audio encoding for functional interactivity
CN104038774B (en) Generate the method and device of ring signal file
US20070010195A1 (en) Mobile multimedia services ecosystem
US11474775B2 (en) Sound effect adjustment method, device, electronic device and storage medium
US20100138655A1 (en) Terminal apparatus and operation information collecting system
KR20100014821A (en) Systems and methods for music recognition
CN104038772B (en) Generate the method and device of ring signal file
JP2014006669A (en) Recommended content notification system, control method and control program thereof, and recording medium
CN102707914B (en) Messaging device and method
CN108833983A (en) Played data acquisition methods, device, equipment and storage medium
CN104038773B (en) Generate the method and device of ring signal file
CN104079948B (en) Generate the method and device of ring signal file
CN105448296B (en) Information dispensing method and device and message receiving method and device
WO2013189408A2 (en) Video sending method, device, and system
CN113826406A (en) Information processing method, information processing system, and program
KR20150114759A (en) Method of providing personalized digital albums using Dynamic Label Plus in Digital Audio Broadcasting, and computer-readable recording medium for the same
CN104936092A (en) Data processing method, related device 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
GR01 Patent grant
GR01 Patent grant