CN108269570A - Method, apparatus, equipment and the storage medium of voice control background music host - Google Patents

Method, apparatus, equipment and the storage medium of voice control background music host Download PDF

Info

Publication number
CN108269570A
CN108269570A CN201810045466.1A CN201810045466A CN108269570A CN 108269570 A CN108269570 A CN 108269570A CN 201810045466 A CN201810045466 A CN 201810045466A CN 108269570 A CN108269570 A CN 108269570A
Authority
CN
China
Prior art keywords
background music
system time
mentioned
host
music host
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.)
Granted
Application number
CN201810045466.1A
Other languages
Chinese (zh)
Other versions
CN108269570B (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.)
Shenzhen Point Interactive Technology Co
Original Assignee
Shenzhen Point Interactive Technology Co
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 Shenzhen Point Interactive Technology Co filed Critical Shenzhen Point Interactive Technology Co
Priority to CN201810045466.1A priority Critical patent/CN108269570B/en
Publication of CN108269570A publication Critical patent/CN108269570A/en
Application granted granted Critical
Publication of CN108269570B publication Critical patent/CN108269570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

Present invention is disclosed a kind of method, apparatus, equipment and the storage medium of voice control background music host, including:Receive the audio controls by the special translation of upper equipment, the translation process includes the voice paragraph of the specified voice combination of crawl, the duration of a sound that judgement institute speech segment is fallen, falls according to institute's speech segment and duration of a sound judgement matches corresponding command function and generates the audio controls;Specified operation is carried out according to the audio controls.The method, apparatus of voice control background music host of the present invention, equipment and storage medium have the beneficial effect that:By increasing speech processes process, background music host is enable directly to be operated by the voice control of user, by increasing the resolution improved to the judgement of voice to user's voice, the step of by increasing time synchronization, reduces more equipment rooms and synchronizes the error performed, improves synchronization accuracy.

Description

Method, apparatus, equipment and the storage medium of voice control background music host
Technical field
The present invention relates to field of wireless communication, especially relate to a kind of method of voice control background music host, Device, equipment and storage medium.
Background technology
As people's living standard improves, social science and technology's progress, active demand Intelligent life.Therefore, go out in the market Now a large amount of smart home enterprise, produces abundant smart machine, including intelligent gateway, intelligent socket, intelligent panel etc..Though Right intellectual product enriches, but traditional interactive mode cannot but improve user experience, it is also necessary to the lookup of user.
Common background music host can only rely on screen or button and user to interact, it is impossible to provide voice knowledge It Kong Zhi not interact.
Invention content
The main object of the present invention is to provide a kind of method, apparatus, equipment and the storage of voice control background music host Medium, to achieve the purpose that speech recognition controlled background music host.
The present invention proposes a kind of method of voice control background music host, including step:
The audio controls by the special translation of upper equipment are received, above-mentioned translation process includes the specified sound group of crawl The voice paragraph of conjunction, speech segment falls the duration of a sound and tone of special sound in judgement, is fallen according to upper speech segment, the duration of a sound and tone Judgement matches corresponding command function and generates above-mentioned audio controls;
Specified operation is carried out according to above-mentioned audio controls.
Further, the method for above-mentioned voice control background music host, is translated in above-mentioned reception by host computer Include step before the step of audio controls:
Judgement is carried on the back when receiving the system time of background music host when upper equipment synchronizes reply with initiating synchronization request Whether the difference of the system time of scape music host is less than decision content;
If so, synchronizing amendment to the system time of background music host, and above-mentioned difference is set as new decision content.
Further, between above-mentioned multiple wireless devices system time synchronization method, received in above-mentioned judgement upper Equipment synchronizes the system time of background music host when the system time of background music host is with initiating synchronization request when replying Before the step of whether difference is less than decision content, step is further included:
The presynchronization test of system time several times is carried out, obtain per hyposynchronous above-mentioned difference and is stored to caching row Table;
Above-mentioned difference in cache list be compared to each other and obtains minimal difference, and above-mentioned minimal difference is set as Decision content.
Further, between above-mentioned multiple wireless devices system time synchronization method, it is above-mentioned that above-mentioned difference is set as new Decision content the step of include step:
Above-mentioned difference is stored to cache list, and using the minimum value of the above-mentioned difference in above-mentioned cache list as above-mentioned New decision content.
Further, between above-mentioned multiple wireless devices system time synchronization method, received in above-mentioned judgement upper Equipment synchronizes the system time of background music host when the system time of background music host is with initiating synchronization request when replying After the step of whether difference is less than decision content, step is further included:
If it is not, abandoning subsynchronous, and above-mentioned difference is stored to cache list.
Further, between above-mentioned multiple wireless devices system time synchronization method, according to the following formula to background sound The system time of happy host synchronizes amendment,
T is the revised system time of background music host synchronization;T1Background music host during to initiate synchronization request System time;T2The system time of upper equipment during to receive synchronization request;T3It is carried on the back to receive when upper equipment is synchronized and replied The system time of scape music host.
Further, between above-mentioned multiple wireless devices system time synchronization method, received in above-mentioned judgement upper Equipment synchronizes the system time of background music host when the system time of background music host is with initiating synchronization request when replying Before the step of whether difference is less than decision content, step is further included:
Obtain the system time of background music host when initiating synchronization request;
It obtains and receives the system time that upper equipment synchronizes background music host when replying.
The present invention proposes a kind of background music host, including:
Receiving module, for receiving the audio controls translated by host computer, above-mentioned translation process includes gripping finger Determine the voice paragraph of voice combination, speech segment falls the duration of a sound and tone of special sound in judgement, is fallen according to upper speech segment, sound The judgement of long and tone matches corresponding command function and generates above-mentioned audio controls;
Execution module, for carrying out specified operation according to above-mentioned audio controls.
The present invention proposes a kind of computer equipment, on a memory and can locate including memory, processor and storage The computer program run on reason device, above-mentioned processor are realized when performing above procedure as any one in inventive embodiments is above-mentioned Method.
The present invention proposes a kind of computer readable storage medium, is stored thereon with computer program, the program is by processor Method as above-mentioned such as any one in inventive embodiments is realized during execution.
The method, apparatus of voice control background music host of the present invention, equipment and storage medium have the beneficial effect that:It is logical It crosses and increases speech processes process, background music host is enable directly to be operated by the voice control of user, is passed through Increase and resolution to user's voice improved to judgements of voice, by increasing time synchronization the step of reduce more set The synchronous error performed, improves synchronization accuracy between standby, and it is small to synchronize rear error jitter range, by network delay in synchronizing process Influence it is low, it is low to the degree of dependence of hardware when being played simultaneously to also reduce more equipment, as long as equipment room can pass through network It mutually accesses and can be completed, it is versatile.
Description of the drawings
Fig. 1 is the flow diagram of the method for the voice control background music host of one embodiment of the invention;
Fig. 2 is the flow diagram of the method for the voice control background music host of one embodiment of the invention;
Fig. 3 is the modular structure schematic diagram of the device of the voice control background music host of one embodiment of the invention;
Fig. 4 is the modular structure schematic diagram of the device of the voice control background music host of one embodiment of the invention;
Fig. 5 is a kind of structure diagram of computer equipment of one embodiment of the invention.
12nd, computer equipment;14th, external equipment;16th, processing unit;18th, bus;20th, network adapter;22、(I/O) Interface;24th, display;28th, system storage;30th, random access memory (RAM);32nd, cache memory;34th, it stores System;40th, program/utility;42nd, program module;101st, receiving module;102nd, execution module;401st, the 4th determination module; 402nd, modified module;403rd, pretest module;404th, comparison module;405th, the second update module;501st, the first acquisition module; 502nd, the second acquisition module;601st, the first update submodule.
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only the part of the embodiment of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
In addition, the description for being related to " first ", " second " etc. in the present invention is only used for description purpose, and it is not intended that referring to Show or imply its relative importance or imply the quantity of the technical characteristic indicated by indicating." first ", " are defined as a result, At least one this feature can be expressed or be implicitly included to two " feature.In addition, the technical solution between each embodiment can To be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when the combination of technical solution occurs Conflicting or can not realize when, will be understood that the combination of this technical solution is not present, also not the present invention claims protection model Within enclosing.
With reference to Fig. 1, in embodiments of the present invention, the present invention provides a kind of method of voice control background music host, packet Include step:
By the audio controls of the special translation of upper equipment, it is specified that above-mentioned translation process includes crawl for S101, reception The voice paragraph of voice combination, speech segment falls the duration of a sound and tone of special sound in judgement, is fallen according to upper speech segment, the duration of a sound Corresponding command function is matched with tone judgement and generates above-mentioned audio controls;
S102, specified operation is carried out according to above-mentioned audio controls.
Such as above-mentioned steps S101, the audio controls by the special translation of upper equipment, above-mentioned translation process packet are received Include the voice paragraph of the specified voice combination of crawl, speech segment falls the duration of a sound and tone of special sound in judgement, according to upper predicate Segment is fallen, the duration of a sound and tone judgement match corresponding command function and generate above-mentioned audio controls, above-mentioned upper equipment one As special translation is carried out to the voice after the voice for receiving user, reached and the voice of user be converted to voice control The purpose of signal processed, step are as follows:Search for and capture the voice paragraph of specified voice combination, such as reduction, increase, raising, volume, The specific human voices such as opening, closing;Judge the duration of a sound of every section of voice combination, due in the communication between the mankind, word Duration of a sound difference frequently can lead to a word or the meaning of sentence is overturned completely, e.g., reduce, the sound when user says reduction Length is different with tone, and the sound that reduces of needs is often different, and the duration of a sound when user says reduction is shorter, and tone is higher When, the volume reduced is needed to be much larger than longer in the duration of a sound, when tone is relatively low, therefore, determination step is as follows:
In judging that upper speech segment is fallen simultaneously, whether the duration of a sound of each word tone is more than the first designated value, and whether tone is higher than Second designated value;When the duration of a sound is less than the first designated value and tone is higher than the second designated value, by the journey of the voice requirement of user Degree improves 15-25%;When the duration of a sound is less than the first designated value and tone is less than or equal to the second designated value, by the voice of user It is required that degree improve 2-3%;When the duration of a sound is greater than or equal to the first designated value and tone is higher than the second designated value, by user Voice requirement function improve 5-10%;When the duration of a sound is specified more than or equal to the first designated value and tone less than or equal to second During value, the degree of the voice requirement of user is maintained.
But due to the having differences property that everyone speaks, generally required before the judgement of upper equipment user use it is gentle The tone carries out reading aloud specific article to measure above-mentioned first designated value and above-mentioned second designated value.
It is corresponding with the progress of preset feature list according to the content of judgement result and voice paragraph after judgement Matching generates corresponding above-mentioned audio controls.
Such as above-mentioned steps S102, specified operation is carried out according to above-mentioned audio controls, background music host is in execution After stating step S101, above-mentioned audio controls are performed.
With reference to Fig. 4, in the present embodiment, the method for above-mentioned voice control background music host is upper in above-mentioned reception Before the step of audio signal that equipment is generated by specific mode, step is further included:
S401, judgement receive upper equipment and synchronize the system time of background music host and initiation synchronization request when replying When background music host system time difference whether be less than decision content;
S402, if so, synchronizing amendment to the system time of background music host, and above-mentioned difference is set as new and is sentenced Definite value.
Since the communication between wireless device is there are the influence of network delay, cause during time synchronization, background Music host at work can not can cause when receiving the signal of synchronous reply that upper equipment is sent there are time error Reach accurately synchronous, therefore, generally required before each above-mentioned steps S101 execution and carry out time synchronization calibration.
Such as above-mentioned steps S401, judgement receives the system time and hair that upper equipment synchronizes background music host when replying Whether the difference of the system time of background music host is less than decision content when playing synchronization request, and background music host is generally receiving To upper equipment feed back it is synchronous reply after carry out judgement to above-mentioned difference, the size of above-mentioned difference generally by network delay and The influence of device hardware, in embodiments of the present invention, above-mentioned decision content is generally in above-mentioned difference in synchronizing process several times recently The minimum value of value, but may be definite value or interval value that user thinks input.
Such as above-mentioned steps S402, if so, synchronize amendment to the system time of background music host, and by above-mentioned difference New decision content is set as, in embodiments of the present invention, generally the system time of background music host is carried out according to the following formula It is synchronous to correct:
T is the revised system time of background music host synchronization;T1Background music host during to initiate synchronization request System time;T2The system time of upper equipment during to receive synchronization request;T3It is carried on the back to receive when upper equipment is synchronized and replied The system time of scape music host.
(T is set in above-mentioned formula3-T1)/2 synchronize for the transmission of upper equipment and return back to the reception of background music host acknowledgement Time delays, the time delays of the signal contact when network delay is more steady between generally upper equipment and background music host It is identical or close to identical, therefore as (T3-T1) (i.e. above-mentioned difference) more than or equal to above-mentioned decision content (i.e. in nearest several synchronizations The minimum value of above-mentioned difference in the process) when, background music host abandons that this is subsynchronous, and when judgement, above-mentioned difference is less than in the process During above-mentioned decision content, background music host carries out time synchronization, wherein, when background music host carries out time synchronization, generally Also by above-mentioned difference with being newly new decision content.Time synchronization amendment is carried out by above-mentioned formula to background music host generally to repair Error may remain within 3ms after just, reach the time synchronization requirement of high precision wireless equipment.
In the present embodiment, it in the method for above-mentioned voice control background music host, is received in above-mentioned judgement Position equipment synchronizes the system time of background music host when the system time of background music host is with initiating synchronization request when replying Difference whether be less than decision content the step of before, further include step:
S403, the presynchronization test for carrying out system time several times, obtain per hyposynchronous above-mentioned difference and store to slow Deposit list;
S404, it the above-mentioned difference in cache list be compared to each other obtains minimal difference, and by above-mentioned minimal difference It is set as decision content.
Such as above-mentioned steps S403, the presynchronization test of system time several times is carried out, is obtained per hyposynchronous above-mentioned difference And store to cache list, before above-mentioned steps S401 is performed, background music host generally can send presynchronization to upper equipment Test request, when presynchronization is tested, background music host normally only carries out contacting between upper equipment signal, to obtain Above-mentioned difference in the test of presynchronization several times be used as generated when performing above-mentioned steps S401 the benchmark of above-mentioned decision content with With reference to, and store to above-mentioned cache list, wherein, the general presynchronization test for carrying out 15-25 times, preferably 20 times;
In embodiments of the present invention, background music host can be same between same specification equipment by inquiring in cloud database The historical data of step, it is above-mentioned to replace to obtain benchmark and reference that above-mentioned decision content is generated when performing above-mentioned steps S401 Step S403;
In embodiments of the present invention, user can also be directly according to personal use habit to generating above-mentioned steps S401 Above-mentioned decision content benchmark and with reference to being adjusted, be optimal effect.
Such as above-mentioned steps S404, the above-mentioned difference in cache list be compared to each other obtain minimal difference, and will be upper It states minimal difference and is set as decision content, after above-mentioned steps S403 has been performed, size is carried out to the above-mentioned difference in cache list Compare the minimum value for obtaining above-mentioned difference, and the minimum value is set as above-mentioned decision content, wherein, since the cache list is general The above-mentioned difference only stored is generally the hyposynchronous above-mentioned differences of nearest 15-25, preferably nearest 20 hyposynchronous above-mentioned difference Value.
In the present embodiment, it in the method for above-mentioned voice control background music host, is received in above-mentioned judgement Position equipment synchronizes the system time of background music host when the system time of background music host is with initiating synchronization request when replying Difference whether be less than decision content the step of after, further include step:
S405, if it is not, abandoning subsynchronous, and above-mentioned difference is stored to cache list.
Such as above-mentioned steps S405, if it is not, abandoning subsynchronous, and above-mentioned difference is stored to cache list, when above-mentioned step When rapid S401 judges the difference more than or equal to the decision content, background music host abandon it is subsynchronous, but by above-mentioned difference Value storage is to above-mentioned cache list, at this time not with new above-mentioned decision content.
In the present embodiment, the method for above-mentioned voice control background music host, upper set is received in above-mentioned judgement The difference of the system time of background music host when the system time of background music host is with initiating synchronization request during standby synchronous reply Before the step of whether value is less than decision content, step is further included:
S501, the system time for obtaining background music host when initiating synchronization request;
S502, acquisition receive the system time that upper equipment synchronizes background music host when replying.
Such as above-mentioned steps S501, the system time of background music host when initiating synchronization request, background music host are obtained After sending time synchronization request, sending time is recorded, wherein, change time record and be generally accurate to Millisecond, in the present embodiment In, preferably it is accurate to time of nanosecond.
Such as above-mentioned steps S502, obtain and receive the system time that upper equipment synchronizes background music host when replying, the back of the body Scape music host records sending time after acquisition receives upper equipment synchronization reply, wherein, it is general accurate to change time record To Millisecond, in the present embodiment, the time of nanosecond is preferably accurate to, wherein, due to existing between upper background music host The problem of whether communication is successful, therefore in embodiments of the present invention, equipped with the communication between background music host and upper equipment Default time is waited for, then regards as Communications failure more than the default time when background music host waiting time, the default time Generally 150-500ms, preferably 200ms.
In the present embodiment, the method for above-mentioned voice control background music host, it is above-mentioned that above-mentioned difference is set as new The step of decision content, includes step:
S601, above-mentioned difference is stored to cache list, and the minimum value of the above-mentioned difference in above-mentioned cache list is made For above-mentioned new decision content.
Such as above-mentioned steps S601, above-mentioned difference is stored to cache list, and by the above-mentioned difference in above-mentioned cache list Minimum value as above-mentioned new decision content, will be above-mentioned after above-mentioned steps S401 judges that above-mentioned difference is less than above-mentioned decision content Difference is stored to above-mentioned cache list, and by above-mentioned difference with being newly the new decision content, to improve the background music host With the timing tracking accuracy of upper equipment room.
With reference to Fig. 5, the present invention proposes a kind of device of voice control background music host, including:
Receiving module 101, for receiving the audio controls by the special translation of upper equipment, above-mentioned translation process packet Include the voice paragraph of the specified voice combination of crawl, speech segment falls the duration of a sound and tone of special sound in judgement, according to upper predicate Segment is fallen, the duration of a sound and tone judgement match corresponding command function and generate above-mentioned audio controls;
Execution module 102, for carrying out specified operation according to above-mentioned audio controls.
Above-mentioned receiving module 101 is generally used for receiving the audio controls by the special translation of upper equipment, above-mentioned to turn over Translate the voice paragraph that process includes the specified voice combination of crawl, speech segment falls the duration of a sound and tone of special sound, root in judgement Fallen according to upper speech segment, the judgement of the duration of a sound and tone matches corresponding command function and generates above-mentioned audio controls, it is above-mentioned on Position equipment carries out special translation generally after the voice for receiving user to the voice, has reached and has converted the voice of user Into the purpose of audio controls, step is as follows:The voice paragraph of specified voice combination is searched for and captured, such as reduces, increase, carry The specific human voices such as height, volume, opening, closing;Judge the duration of a sound of every section of voice combination, due in the communication between the mankind, one The duration of a sound difference of a word frequently can lead to a word or the meaning of sentence is overturned completely, e.g., reduce, when user says drop Duration of a sound when low and tone are different, need the sound reduced often different, and the duration of a sound when user says reduction is shorter, sound When adjusting higher, the volume reduced is needed to be much larger than longer in the duration of a sound, when tone is relatively low, therefore, determination step is as follows:
In judging that upper speech segment is fallen simultaneously, whether the duration of a sound of each word tone is more than the first designated value, and whether tone is higher than Second designated value;When the duration of a sound is less than the first designated value and tone is higher than the second designated value, by the journey of the voice requirement of user Degree improves 15-25%;When the duration of a sound is less than the first designated value and tone is less than or equal to the second designated value, by the voice of user It is required that degree improve 2-3%;When the duration of a sound is greater than or equal to the first designated value and tone is higher than the second designated value, by user Voice requirement function improve 5-10%;When the duration of a sound is specified more than or equal to the first designated value and tone less than or equal to second During value, the degree of the voice requirement of user is maintained.
But due to the having differences property that everyone speaks, generally required before the judgement of upper equipment user use it is gentle The tone carries out reading aloud specific article to measure above-mentioned first designated value and above-mentioned second designated value.
It is corresponding with the progress of preset feature list according to the content of judgement result and voice paragraph after judgement Matching generates corresponding above-mentioned audio controls.
Above-mentioned execution module 102 is generally used for carrying out specified operation, background music host according to above-mentioned audio controls After the execution of above-mentioned receiving module 101, above-mentioned audio controls are performed.
With reference to Fig. 4, in the present embodiment, the device of above-mentioned voice control background music host further includes:
4th determination module 401, when receiving the system of background music host when upper equipment synchronizes reply for judgement Between with initiate synchronization request when background music host system time difference whether be less than decision content,
Modified module 402, for if so, synchronize amendment to the system time of background music host, and by above-mentioned difference Value is set as new decision content.
Above-mentioned 4th determination module 401 is generally used for judgement and receives background music host when upper equipment synchronizes reply System time with initiate synchronization request when background music host system time difference whether be less than decision content, background music Host generally carries out the judgement to above-mentioned difference, the size one of above-mentioned difference after the synchronous reply for receiving upper equipment feedback As influenced by network delay and device hardware, in embodiments of the present invention, above-mentioned decision content is generally same several times recently The minimum value of above-mentioned difference during step, but may be definite value or interval value that user thinks input.
Above-mentioned modified module 402 is generally used for if so, synchronize amendment to the system time of background music host, and Above-mentioned difference is set as new decision content, in embodiments of the present invention, generally according to the following formula to background music host system The system time synchronizes amendment:
T is the revised system time of background music host synchronization;T1Background music host during to initiate synchronization request System time;T2The system time of upper equipment during to receive synchronization request;T3It is carried on the back to receive when upper equipment is synchronized and replied The system time of scape music host.
(T is set in above-mentioned formula3-T1)/2 synchronize for the transmission of upper equipment and return back to the reception of background music host acknowledgement Time delays, the time delays of the signal contact when network delay is more steady between generally upper equipment and background music host It is identical or close to identical, therefore as (T3-T1) (i.e. above-mentioned difference) more than or equal to above-mentioned decision content (i.e. in nearest several synchronizations The minimum value of above-mentioned difference in the process) when, background music host abandons that this is subsynchronous, and when judgement, above-mentioned difference is less than in the process During above-mentioned decision content, background music host carries out time synchronization, wherein, when background music host carries out time synchronization, generally Also by above-mentioned difference with being newly new decision content.Time synchronization amendment is carried out by above-mentioned formula to background music host generally to repair Error may remain within 3ms after just, reach the time synchronization requirement of high precision wireless equipment.
In the present embodiment, it in the device of above-mentioned voice control background music host, further includes:
Pretest module 403 for carrying out the test of the presynchronization of system time several times, is obtained per hyposynchronous above-mentioned difference It is worth and stores to cache list;
Comparison module 404 obtains minimal difference, and will be upper for be compared to each other the above-mentioned difference in cache list It states minimal difference and is set as decision content.
Above-mentioned pretest module 403 is generally used for carrying out the presynchronization test of system time several times, obtains per subsynchronous Above-mentioned difference and store to cache list, before the driving of above-mentioned 4th determination module 401, background music host generally can be upward Position equipment sends presynchronization test request, and when presynchronization is tested, background music host is normally only carried out between upper equipment The contact of signal, to show that the above-mentioned difference in the test of presynchronization several times is run as in above-mentioned 4th determination module 401 The benchmark of the above-mentioned decision contents of Shi Shengcheng and reference, and store to above-mentioned cache list, wherein, it is general carry out 15-25 time it is pre- together Pacing tries, preferably 20 times;
In embodiments of the present invention, background music host can be same between same specification equipment by inquiring in cloud database The historical data of step, to obtain benchmark and reference that above-mentioned decision content is generated when above-mentioned 4th determination module 401 drives, with generation The result obtained for above-mentioned pretest module 403;
In embodiments of the present invention, user can also be directly according to personal use habit to above-mentioned 4th determination module The benchmark of the above-mentioned decision content of 401 generations and reference are adjusted, and have been optimal effect.
Above-mentioned comparison module 404 is generally used for be compared to each other obtaining lowest difference by the above-mentioned difference in cache list Value, and above-mentioned minimal difference is set as decision content, after above-mentioned pretest module 403 has driven, to upper in cache list It states difference progress size and relatively obtains the minimum value of above-mentioned difference, and the minimum value is set as above-mentioned decision content, wherein, due to The above-mentioned difference that the cache list normally only stores is generally the hyposynchronous above-mentioned differences of nearest 15-25, and preferably nearest 20 Hyposynchronous above-mentioned difference.
In the present embodiment, it in the device of above-mentioned voice control background music host, further includes:
Second update module 405, for if it is not, abandon subsynchronous, and above-mentioned difference being stored to cache list.
Above-mentioned second update module 405 is generally used for if it is not, abandon subsynchronous, and above-mentioned difference being stored to caching List, when above-mentioned 4th determination module 401 judges that the difference is greater than or equal to the decision content, background music host is abandoned This is subsynchronous, but above-mentioned difference is stored to above-mentioned cache list, at this time not with new above-mentioned decision content.
In the present embodiment, in the device of above-mentioned voice control background music host, above-mentioned modified module 402 wraps It includes:
First update submodule 601, for storing above-mentioned difference to cache list, and will be upper in above-mentioned cache list The minimum value of difference is stated as above-mentioned new decision content.
Above-mentioned first update submodule 601, is generally used for storing above-mentioned difference to cache list, and above-mentioned caching is arranged The minimum value of above-mentioned difference in table is as above-mentioned new decision content, when above-mentioned 4th determination module 401 judges that above-mentioned difference is small After above-mentioned decision content, above-mentioned difference is stored to above-mentioned cache list, and by above-mentioned difference with being newly the new decision content, To improve the timing tracking accuracy of the background music host and upper equipment room.
With reference to Fig. 4, in the present embodiment, in the device of above-mentioned voice control background music host, further include:
First acquisition module 501 initiates the system time of background music host during synchronization request for obtaining;
Second acquisition module 502, when receiving the system of background music host when upper equipment synchronizes reply for obtaining Between.
Above-mentioned first acquisition module 501 is generally used for obtaining the system time of background music host when initiating synchronization request, Background music host records sending time after sending time synchronization request, wherein, change time record and be generally accurate to millisecond Grade, in the present embodiment, is preferably accurate to the time of nanosecond.
Above-mentioned second acquisition module 502 is generally used for obtaining background music host when receiving upper equipment synchronization reply System time, background music host received in acquisition after upper equipment synchronizes and reply, and records sending time, wherein, when changing Between record be generally accurate to Millisecond, in the present embodiment, be preferably accurate to the time of nanosecond, wherein, due to upper background sound There is the problem of whether communication successful between happy host, therefore in embodiments of the present invention, equipped with background music host with it is upper Communication standby default time between equipment is more than that the default time then regards as communication mistake when background music host waiting time It loses, which is generally 150-500ms, preferably 200ms.
With reference to Fig. 5, in embodiments of the present invention, the present invention also provides a kind of computer equipment, above computer equipment 12 It is showed in the form of universal computing device, the component of computer equipment 12 can include but is not limited to:One or more processing Device or processing unit 16, system storage 28, connection different system component (including system storage 28 and processing unit 16) Bus 18.
Bus 18 represents one or more in a few 18 structures of class bus, is controlled including memory bus 18 or memory Device, peripheral bus 18, graphics acceleration port, processor or the office using 18 structure of arbitrary bus in a variety of 18 structures of bus Domain bus 18.For example, these architectures include but not limited to industry standard architecture (ISA) bus 18, microchannel Architecture (MAC) bus 18, enhanced isa bus 18, Video Electronics Standards Association (VESA) local bus 18 and periphery Component interconnects (PCI) bus 18.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatile and non-volatile medium, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include other movement/it is not removable Dynamic, volatile/non-volatile computer decorum storage medium.Only as an example, storage system 34 can be used for read-write can not Mobile, non-volatile magnetic media (commonly referred to as " hard disk drive ").Although being not shown in Fig. 5, can provide for pair can The disc driver of mobile non-volatile magnetic disk (such as " floppy disk ") read-write and to removable anonvolatile optical disk (such as CD~ ROM, DVD~ROM or other optical mediums) read-write CD drive.In these cases, each driver can pass through one A or multiple data media interfaces are connected with bus 18.Memory can include at least one program product, the program product With one group of (for example, at least one) program module 42, these program modules 42 are configured to perform the work(of various embodiments of the present invention Energy.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory, Such program module 42 includes --- but being not limited to --- operating system, one or more application program, other program moulds Block 42 and program data may include the realization of network environment in each or certain combination in these examples.Program mould Block 42 usually performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also with one or more external equipments 14 (such as keyboard, sensing equipment, display 24, Camera etc.) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate and/ Or with enable any equipment that the computer equipment 12 communicates with one or more of the other computing device (such as network interface card, Modem etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 can also by network adapter 20 and one or more network (such as LAN (LAN)), wide area network (WAN) and/or Public network (such as internet) communicates.As shown in the figure, network adapter 20 passes through other of bus 18 and computer equipment 12 Module communicates.It should be understood that although being not shown in Fig. 5, computer equipment 12 can be combined and use other hardware and/or software mould Block, including but not limited to:Microcode, device driver, redundant processing unit 16, external disk drive array, RAID system, magnetic Tape drive and data backup storage system 34 etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various functions application and Data processing, such as realize the method for voice control background music host that the embodiment of the present invention is provided.
That is, above-mentioned processing unit 16 is realized when performing above procedure:Receive the voice by the special translation of upper equipment Signal is controlled, above-mentioned translation process includes the voice paragraph of the specified voice combination of crawl, and speech segment falls special sound in judgement The duration of a sound and tone, fallen according to upper speech segment, the judgement of the duration of a sound and tone matches corresponding command function and generates above-mentioned voice Control signal;Specified operation is carried out according to above-mentioned audio controls.
In embodiments of the present invention, the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer Program realizes the side of voice control background music host provided such as all embodiments of the application when the program is executed by processor Method:
That is, it is realized when being executed by processor to program:The audio controls by the special translation of upper equipment are received, Above-mentioned translation process includes the voice paragraph of the specified voice combination of crawl, and speech segment falls the duration of a sound and sound of special sound in judgement It adjusts, is fallen according to upper speech segment, the judgement of the duration of a sound and tone matches corresponding command function and generates above-mentioned audio controls;Root Specified operation is carried out according to above-mentioned audio controls.
The arbitrary combination of one or more computer-readable media may be used.Computer-readable medium can be calculated Machine gram signal media or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited In --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device or it is arbitrary more than combination.Computer The more specific example (non exhaustive list) of readable storage medium storing program for executing includes:Being electrically connected, be portable with one or more conducting wires Formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPOM or flash memory), optical fiber, portable compact disc read-only memory (CD~ROM), light storage device, magnetic memory device or Above-mentioned any appropriate combination.In this document, computer readable storage medium can any include or store program Tangible medium, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as a carrier wave part propagation data-signal, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, change computer-readable medium can send, propagate or Transmission for by instruction execution system, device either device use or program in connection.
It can write to perform the computer that operates of the present invention with one or more programming language or combinations Program code, above procedure design language include object oriented program language --- such as Java, Smalltalk, C+ +, further include conventional procedural programming language --- such as " C " language or similar programming language.Program code It can fully perform, partly perform on the user computer on the user computer, the software package independent as one is held Execution is either held on remote computer or server completely on the remote computer for part on the user computer for row, part Row.In situations involving remote computers, remote computer can pass through the network of any kind --- including LAN (LAN) or wide area network (WAN) --- be connected to subscriber computer or, it may be connected to outer computer is (such as using because of spy Service provider is netted to pass through Internet connection).
The method, apparatus of voice control background music host of the present invention, equipment and storage medium have the beneficial effect that:It is logical It crosses and increases speech processes process, background music host is enable directly to be operated by the voice control of user, is passed through Increase and resolution to user's voice improved to judgements of voice, by increasing time synchronization the step of reduce more set The synchronous error performed, improves synchronization accuracy between standby, and it is small to synchronize rear error jitter range, by network delay in synchronizing process Influence it is low, it is low to the degree of dependence of hardware when being played simultaneously to also reduce more equipment, as long as equipment room can pass through network It mutually accesses and can be completed, it is versatile.
The foregoing is merely the preferred embodiment of the present invention, are not intended to limit the scope of the invention, every utilization The equivalent structure or equivalent flow shift that description of the invention and accompanying drawing content are made directly or indirectly is used in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

  1. A kind of 1. method of voice control background music host, which is characterized in that including step:
    The audio controls by the special translation of upper equipment are received, the translation process includes the specified voice combination of crawl Voice paragraph, judgement institute speech segment fall the duration of a sound and tone of special sound, are fallen according to institute's speech segment, the judgement of the duration of a sound and tone It matches corresponding command function and generates the audio controls;
    Specified operation is carried out according to the audio controls.
  2. 2. the method for voice control background music host according to claim 1, which is characterized in that pass through in the reception Include step before the step of audio controls of host computer translation:
    Judgement receives upper equipment and synchronizes background sound when the system time of background music host is with initiating synchronization request when replying Whether the difference of the system time of happy host is less than decision content;
    If so, synchronizing amendment to the system time of background music host, and the difference is set as new decision content.
  3. 3. the method for system time synchronization between multiple wireless devices according to claim 2, which is characterized in that sentence described Surely it receives upper equipment and synchronizes background music host when the system time of background music host is with initiating synchronization request when replying System time difference whether be less than decision content the step of before, further include step:
    The presynchronization test of system time several times is carried out, obtains per the hyposynchronous difference and stores to cache list;
    The difference in cache list be compared to each other and obtains minimal difference, and the minimal difference is set as judging Value.
  4. 4. the method for system time synchronization between multiple wireless devices according to claim 2, which is characterized in that described by institute The step of stating the decision content that difference is set as new includes step:
    The difference is stored to cache list, and using the minimum value of the difference in the cache list as described new Decision content.
  5. 5. the method for system time synchronization between multiple wireless devices according to claim 2, which is characterized in that sentence described Surely it receives upper equipment and synchronizes background music host when the system time of background music host is with initiating synchronization request when replying System time difference whether be less than decision content the step of after, further include step:
    If it is not, abandoning subsynchronous, and the difference is stored to cache list.
  6. 6. the method for system time synchronization between multiple wireless devices according to claim 2, which is characterized in that according to following Formula synchronizes amendment to the system time of background music host,
    T is the revised system time of background music host synchronization;T1During to initiate synchronization request during the system of background music host Between;T2The system time of upper equipment during to receive synchronization request;T3To receive background music when upper equipment synchronizes reply The system time of host.
  7. 7. the method for system time synchronization between multiple wireless devices according to claim 2, which is characterized in that sentence described Surely it receives upper equipment and synchronizes background music host when the system time of background music host is with initiating synchronization request when replying System time difference whether be less than decision content the step of before, further include step:
    Obtain the system time of background music host when initiating synchronization request;
    It obtains and receives the system time that upper equipment synchronizes background music host when replying.
  8. 8. a kind of background music host, which is characterized in that including:
    Receiving module, for receiving the audio controls translated by host computer, the translation process includes the specified sound of crawl The voice paragraph of sound combination, the duration of a sound that judgement institute speech segment is fallen, falls according to institute's speech segment and duration of a sound judgement matching corresponds to Command function and generate the audio controls;
    Execution module, for carrying out specified operation according to the audio controls.
  9. 9. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage Computer program, which is characterized in that the processor is realized when performing described program such as any one institute in claim 1~7 The method stated.
  10. 10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method as described in any one in claim 1~7 is realized during execution.
CN201810045466.1A 2018-01-17 2018-01-17 Method, device, equipment and storage medium for voice control of background music host Active CN108269570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810045466.1A CN108269570B (en) 2018-01-17 2018-01-17 Method, device, equipment and storage medium for voice control of background music host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810045466.1A CN108269570B (en) 2018-01-17 2018-01-17 Method, device, equipment and storage medium for voice control of background music host

Publications (2)

Publication Number Publication Date
CN108269570A true CN108269570A (en) 2018-07-10
CN108269570B CN108269570B (en) 2020-09-11

Family

ID=62775802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810045466.1A Active CN108269570B (en) 2018-01-17 2018-01-17 Method, device, equipment and storage medium for voice control of background music host

Country Status (1)

Country Link
CN (1) CN108269570B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110060682A (en) * 2019-04-28 2019-07-26 Oppo广东移动通信有限公司 Speaker control method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1311611A (en) * 2000-03-01 2001-09-05 朗迅科技公司 Synchronous filtering funcltion for base station transceiver to radio network controller
CN101599270A (en) * 2008-06-02 2009-12-09 海尔集团公司 Voice server and voice control method
CN102520789A (en) * 2011-11-18 2012-06-27 上海聚力传媒技术有限公司 Method and equipment for realizing voice control of controlled equipment
CN104113634A (en) * 2013-04-22 2014-10-22 三星电子(中国)研发中心 Voice processing method
CN104123938A (en) * 2013-04-29 2014-10-29 富泰华工业(深圳)有限公司 Voice control system, electronic device and voice control method
CN105280180A (en) * 2014-06-11 2016-01-27 中兴通讯股份有限公司 Terminal control method, device, voice control device and terminal
CN105334743A (en) * 2015-11-18 2016-02-17 深圳创维-Rgb电子有限公司 Intelligent home control method and system based on emotion recognition
CN105680969A (en) * 2015-12-31 2016-06-15 浙江中控技术股份有限公司 Clock synchronization method and device
CN105719646A (en) * 2016-01-22 2016-06-29 史唯廷 Voice control music playing method and voice control music playing apparatus
CN106228978A (en) * 2016-08-04 2016-12-14 成都佳荣科技有限公司 A kind of audio recognition method
CN107147936A (en) * 2017-04-21 2017-09-08 合网络技术(北京)有限公司 The display control method and device of barrage
KR20170135598A (en) * 2016-05-31 2017-12-08 홍덕기 System and Method for Voice Conversation using Synthesized Virtual Voice of a Designated Person

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1311611A (en) * 2000-03-01 2001-09-05 朗迅科技公司 Synchronous filtering funcltion for base station transceiver to radio network controller
CN101599270A (en) * 2008-06-02 2009-12-09 海尔集团公司 Voice server and voice control method
CN102520789A (en) * 2011-11-18 2012-06-27 上海聚力传媒技术有限公司 Method and equipment for realizing voice control of controlled equipment
CN104113634A (en) * 2013-04-22 2014-10-22 三星电子(中国)研发中心 Voice processing method
CN104123938A (en) * 2013-04-29 2014-10-29 富泰华工业(深圳)有限公司 Voice control system, electronic device and voice control method
CN105280180A (en) * 2014-06-11 2016-01-27 中兴通讯股份有限公司 Terminal control method, device, voice control device and terminal
CN105334743A (en) * 2015-11-18 2016-02-17 深圳创维-Rgb电子有限公司 Intelligent home control method and system based on emotion recognition
CN105680969A (en) * 2015-12-31 2016-06-15 浙江中控技术股份有限公司 Clock synchronization method and device
CN105719646A (en) * 2016-01-22 2016-06-29 史唯廷 Voice control music playing method and voice control music playing apparatus
KR20170135598A (en) * 2016-05-31 2017-12-08 홍덕기 System and Method for Voice Conversation using Synthesized Virtual Voice of a Designated Person
CN106228978A (en) * 2016-08-04 2016-12-14 成都佳荣科技有限公司 A kind of audio recognition method
CN107147936A (en) * 2017-04-21 2017-09-08 合网络技术(北京)有限公司 The display control method and device of barrage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110060682A (en) * 2019-04-28 2019-07-26 Oppo广东移动通信有限公司 Speaker control method and device

Also Published As

Publication number Publication date
CN108269570B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
US10839803B2 (en) Contextual hotwords
CN109196532B (en) Method, system, computer readable medium for asynchronous processing of digital assistant requests
EP3477637B1 (en) Integration of embedded and network speech recognizers
US9697829B1 (en) Evaluating pronouns in context
KR101752119B1 (en) Hotword detection on multiple devices
US10705789B2 (en) Dynamic volume adjustment for virtual assistants
WO2019118633A1 (en) Architecture for a hub configured to control a second device while a connection to a remote system is unavailable
KR20190113927A (en) Multi-User Authentication for Devices
KR100719981B1 (en) Controlling home entertainment systems using a natural language server
JP6918255B1 (en) Rendering the response to the user's oral utterance using a local text response map
JP2021508842A (en) Audio processing system and method
JP7300435B2 (en) Methods, apparatus, electronics, and computer-readable storage media for voice interaction
Olwal et al. Interaction techniques using prosodic features of speech and audio localization
US10170122B2 (en) Speech recognition method, electronic device and speech recognition system
EP4022602A1 (en) Customizable keyword spotting system with keyword adaptation
CN108269570A (en) Method, apparatus, equipment and the storage medium of voice control background music host
US20190394247A1 (en) Conference system, conference server, and program
CN106990917B (en) File reading and writing method and system
US11875786B2 (en) Natural language recognition assistant which handles information in data sessions
CN108259107A (en) The method, apparatus of system time synchronization, equipment and storage medium between multiple wireless devices
TWI770395B (en) Device and method of a voice-activated banking transfer application on a tv
AU2014200663B2 (en) Integration of embedded and network speech recognizers
CN110473535A (en) Teaching playback method and device, storage medium and electronic equipment
US20230206910A1 (en) Method and system for recognizing a user utterance
WO2023076187A2 (en) Systems and methods for query source identification and response

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant