CN107863104A - A kind of sound control method and device - Google Patents
A kind of sound control method and device Download PDFInfo
- Publication number
- CN107863104A CN107863104A CN201711155578.4A CN201711155578A CN107863104A CN 107863104 A CN107863104 A CN 107863104A CN 201711155578 A CN201711155578 A CN 201711155578A CN 107863104 A CN107863104 A CN 107863104A
- Authority
- CN
- China
- Prior art keywords
- control
- infrared
- equipment
- keyword
- phonetic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000000605 extraction Methods 0.000 claims abstract description 46
- 230000001755 vocal effect Effects 0.000 claims description 37
- 238000003860 storage Methods 0.000 claims description 24
- 230000004044 response Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 abstract description 11
- 238000004590 computer program Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000004378 air conditioning Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 241000270322 Lepidosauria Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L17/00—Speaker identification or verification techniques
- G10L17/22—Interactive procedures; Man-machine interfaces
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of sound control method and device, is related to technical field of data processing, and method of the invention includes:Phonetic control command is received and parsed through, obtains the current control keyword carried in the phonetic control command;Extraction Infrared ID corresponding with the currently control keyword;The Infrared ID is called to control the infrared equipment.User is realized in the case of no remote control by Voice command infrared equipment, simplifies equipment control operation, improves Consumer's Experience.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of sound control method and device.
Background technology
With the continuous development of infrared technology, the application of infrared equipment is more and more common, such as television set, air-conditioning, electric wind
Fan etc..Under normal circumstances, each infrared equipment is equipped with a remote control, and user can be by matching remote control to infrared
Equipment is controlled.In order to accurately control infrared equipment, it is provided between each equipment and appliance remote control one-to-one
Mark.
Inventor has found following technical problem in the prior art be present during the present invention is realized, user is being controlled
During infrared equipment processed, mainly by the way that uniquely corresponding IR remote controller is controlled with equipment, so that when user looks for
It during less than remote control, will be unable to by device pairing remote controller control device, and can not also pass through the distant of other infrared equipments
Control device is controlled, and can only be controlled by the operating key in equipment so that cumbersome and influence Consumer's Experience.
The content of the invention
In view of the above problems, the present invention provides a kind of sound control method and device, main purpose are by voice control
Infrared equipment processed, without IR remote controller, simplify operation and improve Consumer's Experience.
In order to solve the above technical problems, in a first aspect, the invention provides a kind of sound control method, this method includes:
Phonetic control command is received and parsed through, obtains the current control keyword carried in the phonetic control command;
Extraction Infrared ID corresponding with the currently control keyword, it is red that the Infrared ID is used for mark control
Infrared ray corresponding to external equipment;
The Infrared ID is called to control the infrared equipment.
Optionally, methods described also includes:
Create the first Voice command table, preserved in the first Voice command table all Infrared IDs and with
One or more control keywords corresponding to each Infrared ID difference.
Optionally, methods described also includes:
Output equipment selects information, and the equipment selection information is the information for selecting control equipment to be controlled for user;
According to the corresponding response message of equipment selection information, from the first Voice command table extraction with it is described
Infrared ID corresponding to control equipment to be controlled and the control keyword, obtain the second Voice command table.
Optionally, before extraction Infrared ID corresponding with the currently control keyword, methods described is also wrapped
Include:
Search whether the current control keyword be present in the second Voice command table;
Extraction Infrared ID corresponding with the currently control keyword includes:
If so, infrared ray mark corresponding with the currently control keyword is then extracted from the second Voice command table
Know.
Optionally, the phonetic control command that receives and parses through includes:
Receive phonetic control command and detect whether vocal print corresponding to the phonetic control command is effective vocal print, it is described to have
Effect vocal print is the vocal print that can control the infrared equipment;
If so, then parse the phonetic control command.
Second aspect, present invention also offers a kind of phonetic controller, the device includes:
Receiving unit, for receiving and parsing through phonetic control command, obtain carrying in the phonetic control command current
Control keyword;
Extraction unit, for extracting Infrared ID corresponding with the currently control keyword, the Infrared ID
For identifying infrared ray corresponding to control infrared equipment;
Control unit, for calling the Infrared ID to control the infrared equipment.
Optionally, described device also includes:
Creating unit, for creating the first Voice command table, preserved in the first Voice command table all described red
Outside line identifies and distinguishes the corresponding one or more control keyword with each Infrared ID.
Optionally, described device also includes:Output unit,
The output unit, information is selected for output equipment, the equipment selection information is for treating for user's selection
The information of control device;
The extraction unit, it is additionally operable to according to response message corresponding with equipment selection information, from first language
Extraction and the corresponding Infrared ID of control equipment to be controlled and the control keyword, obtain the second voice control in sound control tabulation
Tabulation.
Optionally, described device also includes:Searching unit,
The searching unit, for searching whether the current control key be present in the second Voice command table
Word;
The extraction unit, if specifically for the current control keyword in the second Voice command table be present,
The then extraction Infrared ID corresponding with the currently control keyword from the second Voice command table.
Optionally, the receiving unit includes:
Receiving module, for receiving phonetic control command;
Detection module, for detecting whether vocal print corresponding to the phonetic control command is effective vocal print, effective sound
Line is the vocal print that can control the infrared equipment;
Parsing module, if being effective vocal print for vocal print corresponding to the phonetic control command, parse the voice control
System instruction.
To achieve these goals, according to the third aspect of the invention we, there is provided a kind of storage medium, the storage medium
Program including storage, wherein, equipment where the storage medium is controlled when described program is run performs language described above
Sound controlling method.
To achieve these goals, according to the fourth aspect of the invention, there is provided a kind of processor, the processor are used for
Operation program, wherein, described program performs sound control method described above when running.
By above-mentioned technical proposal, sound control method and device provided by the invention, for user in the prior art
Can only be by the way that uniquely corresponding IR remote controller be controlled with infrared equipment, so that can only pass through when no remote control
Operating key in equipment is controlled, cumbersome and influence Consumer's Experience, what the present invention was sent by receiving and parsing through user
Phonetic control command, obtain controlling keyword, then extract Infrared ID corresponding with the control keyword, and call this red
Outside line mark is controlled to infrared equipment, therefore compared to prior art, the present invention is in the case of without IR remote controller, energy
The control to infrared equipment is enough realized by phonetic order, avoiding can only be controlled by the operating key in equipment to cause
It is cumbersome the problem of, so as to simplify the operation of equipment control, and improve Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of sound control method flow chart provided in an embodiment of the present invention;
Fig. 2 shows another sound control method flow chart provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition frame chart of phonetic controller provided in an embodiment of the present invention;
Fig. 4 shows the composition frame chart of another phonetic controller provided in an embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
For the operation of simplify control infrared equipment, the embodiments of the invention provide a kind of sound control method, such as Fig. 1 institutes
Show, this method includes:
101st, phonetic control command is received and parsed through.
Further, the current control keyword carried in the phonetic control command is obtained.Specifically, solved in this step
Analysis phonetic control command can be implemented by being implemented in the prior art by modes such as sound framing identifications to this present invention
Example does not repeat., can be according to different applied fields and the control keyword can be Chinese key, English keyword etc.
Scape is set.
It should be noted that the executive agent for the embodiment of the present invention can be configuration for controlling multiple infrared set
In standby controller, the device for Voice command.For the embodiment of the present invention, it can preset and wake up controller instruction
Word, for example, user by " opening controller " etc. instruct word wake up resting state under controller after, controller is received and solved
Analyse the ensuing phonetic control command of user;Can also be that controller, such as user are directly waken up by phonetic control command
Controller is waken up by " closing infrared equipment ", then controller receives and parses through the phonetic control command, and then realizes voice
Control infrared equipment.
102nd, extraction Infrared ID corresponding with the currently control keyword.
Wherein, the Infrared ID is used to identify infrared ray corresponding to control infrared equipment.And the Infrared ID
Can be infrared frequency, or binary pulse code corresponding with infrared ray, can also be it is set in advance with it is each
Unique serial number mark etc. corresponding to equipment, the embodiment of the present invention is not specifically limited to this.
For the embodiment of the present invention, can configuration data table in the controller in advance, and tables of data correspondingly preserve with
Control keyword corresponding to each Infrared ID, so that after obtaining controlling keyword by step 101 parsing,
Searched in this step according to control keyword in tables of data, obtain Infrared ID corresponding with the keyword.
For example, tables of data as shown in table 1 is configured in the controller, so as to be obtained when reception parsing phonetic control command
During the control keyword of " unlatching television set ", then it can be extracted and control keyword according to the corresponding relation recorded in tables of data
Infrared ID " infrared frequency 1 " corresponding to " unlatching television set ".
Table 1
103rd, the Infrared ID is called to control the infrared equipment.
Specifically, this step can realize Infrared ID corresponding to calling by call function, and will be with the infrared ray
Infrared ray is transmitted corresponding to mark, realizes the control to infrared equipment.
Sound control method provided by the invention, can only be by uniquely right with infrared equipment for user in the prior art
The IR remote controller answered is controlled, so that can only be controlled when no remote control by the operating key in equipment,
Cumbersome and influence Consumer's Experience, the phonetic control command that the present invention is sent by receiving and parsing through user, obtain control and close
Keyword, Infrared ID corresponding with the control keyword is then extracted, and call the Infrared ID to carry out infrared equipment
Control, therefore compared to prior art, the present invention can be realized to red in the case of without IR remote controller by phonetic order
The control of external equipment, the problem of cumbersome and caused by can only be controlled by the operating key in equipment by avoiding, so as to
The operation of equipment control is simplified, and improves Consumer's Experience.
Further, another language is additionally provided as the refinement and extension to embodiment illustrated in fig. 1, the embodiment of the present invention
Sound controlling method, as shown in Figure 2.
201st, the first Voice command table is created.
Wherein, preserved in the first Voice command table all Infrared IDs and with each infrared ray
One or more control keywords corresponding to mark difference.And the concept explanation of the Infrared ID may be referred to it is described
Accordingly describe, will not be repeated here in step 102.
As accordingly described in the step 101, the embodiment of the present invention can be only fitted in a general purpose controller, pass through wound
Voice command table is built, and by for controlling whole manufacturers, the Infrared ID of each manufacturer's whole infrared equipment and control
Keyword is stored in Voice command table, so as to be controlled by phonetic order to any one infrared equipment.
For example, the first Voice command table created is as shown in table 2:
Table 2
For the embodiment of the present invention, by by infrared ray corresponding to whole infrared equipments of whole manufacturers and each manufacturer
Mark is uniformly preserved and configured in the controller, can enable the controller by phonetic control command to any one infrared
Equipment is controlled, without each equipment is equipped with into a remote control, so as to simplify remote controller operation and save resource.
202nd, output equipment selection information.
Wherein, the equipment selection information is the information for selecting control equipment to be controlled for user.And the equipment selection
Information can be text information, pictorial information, voice messaging etc..For the embodiment of the present invention, can configure in the controller aobvious
Show interface, and when user uses for the first time, output display needs device to be controlled for user's selection in display interface, and
Configuration modification equipment selection window in the controller, so that during the infrared equipment of the increase of proper user needs or reduction control,
It can modify.
203rd, according to the corresponding response message of equipment selection information, from the first Voice command table extraction with
Infrared ID corresponding to the control equipment to be controlled and the control keyword.
Further, the second Voice command table is obtained.Wherein, the response message is relative with equipment selection information type
Should, for example, when equipment select information for text information when, then response message is also text information.
For example, the equipment selection information of whole infrared equipments corresponding to output includes whole manufacturers, each manufacturer is distinguished
To be { beautiful:Electric cooker, electric fan, air-conditioning;Sony:Television set, sound equipment;Siemens:Refrigerator, electric oven }, the response received
Information is { beautiful:Electric fan;Sony:Television set }, then now extract what is included in response message from the first Voice command table
Second Voice command table is as shown in table 3 corresponding to control equipment to be controlled:
Table 3
For the embodiment of the present invention, extracted by the control equipment to be controlled selected according to user and generate corresponding second voice
Control table, so that can directly be extracted from the control table when needing to use data, avoid and including a large amount of nothings
The problem of data obtaining time caused by carrying out lookup acquisition in first voice messaging of ordinal number evidence is longer, so as to improve data
The efficiency of acquisition, and then improve the efficiency of Voice command.
204th, phonetic control command is received and parsed through.
Further, the current control keyword carried in the phonetic control command is obtained.Wherein, the control is crucial
The concept explanation of word, and the embodiment of the parsing phonetic control command, it is identical with the step 101, this
Inventive embodiments will not be described here.
Specifically, the step 204 includes:Receive phonetic control command and detect sound corresponding to the phonetic control command
Whether line is effective vocal print;If so, then parse the phonetic control command.Wherein, the effectively vocal print is described for that can control
The vocal print of infrared equipment.For the embodiment of the present invention, by before phonetic control command is parsed, first to sending Voice command
The vocal print of instruction user is detected, so as to avoid user's control device of non-permitted control device and caused by control
Problem-Error, so as to improve the accuracy of Voice command infrared equipment.
205th, search whether the current control keyword be present in the second Voice command table.
Specifically, can also can be crawled in this step by calling lookup function to be searched by reptile, originally
Inventive embodiments are not specifically limited to this.
For the embodiment of the present invention, after obtaining controlling keyword in parsing, in the control device pair of user's selection
Searched in the Voice command table answered, taken appropriate measures further according to lookup result, so as to avoiding losing time and
The problem of resource, improve the efficiency of Voice command and economize on resources.
206th, if so, then extracting infrared ray corresponding with the currently control keyword from the second Voice command table
Mark.
Specifically, the mode of the extraction Infrared ID described in this step is identical with the step 102, and the present invention is real
Example is applied to repeat no more this.
It should be noted that when the Query Result in above-mentioned steps 205 be in the second Voice command table be not present work as
During preceding control keyword, further it can be inquired about in the first Voice command table, if further Query Result is the
Current control keyword in one Voice command table be present, then extract Infrared ID corresponding to the keyword, and export prompting letter
Otherwise breath does not take any measure to prompt the user whether the equipment being added in list of devices to be controlled.
207th, the Infrared ID is called to control the infrared equipment.
Specifically, the embodiment described in this step specifically may be referred to accordingly describe in the step 103, herein not
Repeat again.
Further, the method according to step 201-207, the embodiment of the present invention can also provide a kind of combine specifically
Application scenarios under to the embodiment of Voice command, the implementation process is divided into five execution steps, specifically, following institute
State:
The first step, the first Voice command table is created, and whole manufacturers are preserved, corresponding to each manufacturer in Voice command table
The device identification of whole infrared equipments, and Infrared ID corresponding with each equipment difference, control keyword.
For the control equipment to be controlled selection information of user's selection, user selects from armamentarium information need to for second step, output
Device to be controlled simultaneously confirms to submit, and controller carries according to the response message received from the first Voice command table of establishment
The facility information to be controlled with being included in response message is taken, obtains the second Voice command table.
3rd step, when controller is waken up in the dormant state, first to sending vocal print corresponding to phonetic control command
Detected whether for effective vocal print of the preset limit that is possessed of control power, to be shown as sending the sound of phonetic control command in testing result
When line is effective vocal print, the phonetic control command of user's transmission is received and parsed through, and obtains controlling keyword.
Inquire about and extract and control keyword in Voice command table corresponding to 4th step, the control equipment to be controlled in user's selection
Corresponding Infrared ID.
The Infrared ID that 5th step, basis are extracted, calls infrared ray corresponding with the Infrared ID simultaneously to be sent out
Send, so as to realize the control for equipment corresponding to the Infrared ID.
But it should be recognized that what the embodiment described in above-mentioned application scenarios was merely exemplary, it is not this hair
Unique embodiment of bright embodiment, it is only to meet one of optimal enforcement mode of method of the present invention herein.
Further, as the realization to method shown in above-mentioned Fig. 1, the embodiment of the present invention additionally provides a kind of Voice command
Device, for being realized to the method shown in above-mentioned Fig. 1.The device embodiment is corresponding with preceding method embodiment, for ease of
Read, present apparatus embodiment is no longer repeated the detail content in preceding method embodiment one by one, it should be understood that this reality
The full content realized in preceding method embodiment can be corresponded to by applying the device in example.As shown in figure 3, the device includes:Receive
Unit 31, extraction unit 32, control unit 33, wherein
It receiving unit 31, can be used for receiving and parsing through phonetic control command, obtain carrying in the phonetic control command
Current control keyword.
Extraction unit 32, it can be used for extraction and receive and parse through obtained current control keyword with the receiving unit 31
Corresponding Infrared ID, the Infrared ID are used to identify infrared ray corresponding to control infrared equipment.
Control unit 33, the Infrared ID control that can be used for calling the extraction unit 32 to extract is described infrared to be set
It is standby.
Further, as the realization to method shown in above-mentioned Fig. 2, the embodiment of the present invention additionally provides another voice control
Device processed, for being realized to the method shown in above-mentioned Fig. 2.The device embodiment is corresponding with preceding method embodiment, for just
In reading, present apparatus embodiment is no longer repeated the detail content in preceding method embodiment one by one, it should be understood that this
Device in embodiment can correspond to the full content realized in preceding method embodiment.As shown in figure 4, the device includes:Connect
Unit 41, extraction unit 42, control unit 43 are received, wherein
It receiving unit 41, can be used for receiving and parsing through phonetic control command, obtain carrying in the phonetic control command
Current control keyword.
Extraction unit 42, it can be used for extraction and receive and parse through obtained current control keyword with the receiving unit 41
Corresponding Infrared ID, the Infrared ID are used to identify infrared ray corresponding to control infrared equipment.
Control unit 43, the Infrared ID control that can be used for calling the extraction unit 42 to extract is described infrared to be set
It is standby.
Further, described device also includes:
Creating unit 44, it can be used for creating the first Voice command table, whole preserved in the first Voice command table
The Infrared ID and with each Infrared ID corresponding one or more control keyword respectively.
Output unit 45, it can be used for output equipment selection information, the equipment selection information is for selecting for user
The information of control equipment to be controlled.
Further,
The extraction unit 42, can be also used for according to the corresponding response message of equipment selection information, from described
Extraction and the corresponding Infrared ID of control equipment to be controlled and the control keyword, obtain second in first Voice command table
Voice command table.
Further, the receiving unit 41 includes:
Receiving module 4101, it can be used for receiving phonetic control command.
Detection module 4102, can be used for detecting whether vocal print corresponding to the phonetic control command is effective vocal print.
Parsing module 4103, it can be used for if so, then parsing the phonetic control command.
Further, described device also includes:Searching unit 46.
The searching unit 46, it can be used in the second Voice command table searching whether the current control be present
Keyword.
The extraction unit 42, specifically it can be used for if so, then extraction is worked as with described from the second Voice command table
Infrared ID corresponding to preceding control keyword.
Another driver's voice provided in an embodiment of the present invention wakes up the dynamic adjusting device of instruction word weight.The dress
Put including:Receiving unit, extraction unit, control unit.Can only be by unique with infrared equipment for user in the prior art
Corresponding IR remote controller is controlled, so that can only be controlled when no remote control by the operating key in equipment
System, cumbersome and influence Consumer's Experience, the phonetic control command that the present invention is sent by receiving and parsing through user, is controlled
Keyword, Infrared ID corresponding with the control keyword is then extracted, and call the Infrared ID to enter infrared equipment
Row control, therefore compared to prior art, the present invention can pass through phonetic order realization pair in the case of without IR remote controller
The control of infrared equipment, the problem of cumbersome and caused by can only be controlled by the operating key in equipment by avoiding, from
And the operation of equipment control is simplified, and improve Consumer's Experience;In addition, include the infrared of whole infrared equipments by creating
The Voice command table of line mark, and it is corresponding with control equipment to be controlled according to the response message of the hungry control equipment to be controlled of user's selection, extraction
Data message generate corresponding Voice command table, so as to which inquiry extraction can be directly carried out from the control table when in use,
The process of data processing is enormously simplify, so as to improve the efficiency of data processing, and then improves the efficiency of Voice command.Together
When, vocal print corresponding to phonetic order is detected before parsing phonetic order is received, is judging that the vocal print is preset vocal print
Under conditions of phonetic order is handled again, avoid the user without control authority and equipment be controlled, so as to
Improve the accuracy and security of Voice command.
The text processing apparatus includes processor and memory, and above-mentioned receiving unit 31, extraction unit 32, control are single
First 33 grades as program unit storage in memory, by the said procedure unit of computing device storage in memory Lai
Realize corresponding function.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, simplify the operation that infrared equipment controls by adjusting kernel parameter.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the form such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
The embodiments of the invention provide a kind of storage medium, program is stored thereon with, it is real when the program is executed by processor
Existing driver's voice wakes up the dynamic adjusting method of instruction word weight.
The embodiments of the invention provide a kind of processor, the processor is used for operation program, wherein, described program operation
Sound control method described in Shi Zhihang.
The embodiments of the invention provide a kind of equipment, equipment includes processor, memory and storage on a memory and can
The program run on a processor, following steps are realized during computing device program:Phonetic control command is received and parsed through, is obtained
The current control keyword carried in the phonetic control command;Extraction infrared ray mark corresponding with the currently control keyword
Know, the Infrared ID is used to identify infrared ray corresponding to control infrared equipment;Call described in the Infrared ID control
Infrared equipment.
Further, methods described also includes:
Create the first Voice command table, preserved in the first Voice command table all Infrared IDs and with
One or more control keywords corresponding to each Infrared ID difference.
Further, methods described also includes:
Output equipment selects information, and the equipment selection information is the information for selecting control equipment to be controlled for user;
According to the corresponding response message of equipment selection information, from the first Voice command table extraction with it is described
Infrared ID corresponding to control equipment to be controlled and the control keyword, obtain the second Voice command table.
Further, before extraction Infrared ID corresponding with the currently control keyword, methods described is also
Including:
Search whether the current control keyword be present in the second Voice command table;
Extraction Infrared ID corresponding with the currently control keyword includes:
If so, infrared ray mark corresponding with the currently control keyword is then extracted from the second Voice command table
Know.
Further, the phonetic control command that receives and parses through includes:
Receive phonetic control command and detect whether vocal print corresponding to the phonetic control command is effective vocal print, it is described to have
Effect vocal print is the vocal print that can control the infrared equipment;
If so, then parse the phonetic control command.
Equipment in the embodiment of the present invention can be server, PC, PAD, mobile phone etc..
The embodiment of the present invention additionally provides a kind of computer program product, when being performed on data processing equipment, is suitable to
Perform the program of initialization there are as below methods step:Phonetic control command is received and parsed through, is obtained in the phonetic control command
The current control keyword carried;Extraction Infrared ID corresponding with the currently control keyword, the Infrared ID
For identifying infrared ray corresponding to control infrared equipment;The Infrared ID is called to control the infrared equipment.
Further, methods described also includes:
Create the first Voice command table, preserved in the first Voice command table all Infrared IDs and with
One or more control keywords corresponding to each Infrared ID difference.
Further, methods described also includes:
Output equipment selects information, and the equipment selection information is the information for selecting control equipment to be controlled for user;
According to the corresponding response message of equipment selection information, from the first Voice command table extraction with it is described
Infrared ID corresponding to control equipment to be controlled and the control keyword, obtain the second Voice command table.
Further, before extraction Infrared ID corresponding with the currently control keyword, methods described is also
Including:
Search whether the current control keyword be present in the second Voice command table;
Extraction Infrared ID corresponding with the currently control keyword includes:
If so, infrared ray mark corresponding with the currently control keyword is then extracted from the second Voice command table
Know.
Further, the phonetic control command that receives and parses through includes:
Receive phonetic control command and detect whether vocal print corresponding to the phonetic control command is effective vocal print, it is described to have
Effect vocal print is the vocal print that can control the infrared equipment;
If so, then parse the phonetic control command.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device include one or more processors (CPU), input/output interface,
Network interface and internal memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the form such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electrically erasable
Except programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-
ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic are deposited
Equipment or any other non-transmission medium are stored up, the information that can be accessed by a computing device available for storage.According to boundary herein
Fixed, computer-readable medium does not include temporary computer readable media (transitory media), such as the data-signal of modulation and
Carrier wave.
Further, the embodiment of the invention also discloses:
B9, the device according to claim B8, it is characterised in that described device also includes:Searching unit,
The searching unit, for searching whether the current control key be present in the second Voice command table
Word;
The extraction unit, if specifically for the current control keyword in the second Voice command table be present,
The then extraction Infrared ID corresponding with the currently control keyword from the second Voice command table.
B10, the device according to claim B8 or B9, it is characterised in that the receiving unit includes:
Receiving module, for receiving phonetic control command;
Detection module, for detecting whether vocal print corresponding to the phonetic control command is effective vocal print, effective sound
Line is the vocal print that can control the infrared equipment;
Parsing module, if being effective vocal print for vocal print corresponding to the phonetic control command, parse the voice control
System instruction.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence " including one ... ", it is not excluded that including key element
Process, method, other identical element also be present in commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
Embodiments herein is these are only, is not limited to the application.To those skilled in the art,
The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent substitution,
Improve etc., it should be included within the scope of claims hereof.
Claims (10)
1. a kind of sound control method, it is characterised in that methods described includes:
Phonetic control command is received and parsed through, obtains the current control keyword carried in the phonetic control command;
Extraction Infrared ID corresponding with the currently control keyword, for identifying, control is infrared to be set the Infrared ID
Standby corresponding infrared ray;
The Infrared ID is called to control the infrared equipment.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Create the first Voice command table, preserved in the first Voice command table all Infrared IDs and with it is described
One or more control keywords corresponding to each Infrared ID difference.
3. according to the method for claim 2, it is characterised in that methods described also includes:
Output equipment selects information, and the equipment selection information is the information for selecting control equipment to be controlled for user;
According to the corresponding response message of equipment selection information, from the first Voice command table extraction with it is described to be controlled
Infrared ID corresponding to control equipment and the control keyword, obtain the second Voice command table.
4. according to the method for claim 3, it is characterised in that the extraction and the current control keyword are corresponding red
Before outside line mark, methods described also includes:
Search whether the current control keyword be present in the second Voice command table;
Extraction Infrared ID corresponding with the currently control keyword includes:
If so, Infrared ID corresponding with the currently control keyword is then extracted from the second Voice command table.
5. according to the method for claim 1, it is characterised in that the phonetic control command that receives and parses through includes:
Receive phonetic control command and detect whether vocal print corresponding to the phonetic control command is effective vocal print, effective sound
Line is the vocal print that can control the infrared equipment;
If so, then parse the phonetic control command.
6. a kind of phonetic controller, it is characterised in that described device includes:
Receiving unit, for receiving and parsing through phonetic control command, obtain the current control carried in the phonetic control command
Keyword;
Extraction unit, for extracting Infrared ID corresponding with the currently control keyword, the Infrared ID is used for
Infrared ray corresponding to mark control infrared equipment;
Control unit, for calling the Infrared ID to control the infrared equipment.
7. device according to claim 6, it is characterised in that described device also includes:
Creating unit, for creating the first Voice command table, all infrared rays are preserved in the first Voice command table
Identify and distinguish the corresponding one or more control keyword with each Infrared ID.
8. device according to claim 7, it is characterised in that described device also includes:Output unit,
The output unit, information is selected for output equipment, the equipment selection information is to be controlled for being selected for user
The information of equipment;
The extraction unit, it is additionally operable to according to response message corresponding with equipment selection information, from the first voice control
Extraction and the corresponding Infrared ID of control equipment to be controlled and the control keyword, obtain the second Voice command in tabulation
Table.
A kind of 9. storage medium, it is characterised in that the storage medium includes the program of storage, wherein, run in described program
When control the storage medium where equipment perform claim require the 1 Voice command side into claim 5 described in any one
Method.
A kind of 10. processor, it is characterised in that the processor is used for operation program, wherein, right of execution when described program is run
Profit requires 1 sound control method into claim 5 described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711155578.4A CN107863104A (en) | 2017-11-17 | 2017-11-17 | A kind of sound control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711155578.4A CN107863104A (en) | 2017-11-17 | 2017-11-17 | A kind of sound control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107863104A true CN107863104A (en) | 2018-03-30 |
Family
ID=61702098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711155578.4A Pending CN107863104A (en) | 2017-11-17 | 2017-11-17 | A kind of sound control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107863104A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111145749A (en) * | 2019-12-31 | 2020-05-12 | 联想(北京)有限公司 | Control method and control device |
WO2020103397A1 (en) * | 2018-11-20 | 2020-05-28 | 深圳创维-Rgb电子有限公司 | Smart home system, control method, device, and medium |
CN111276145A (en) * | 2020-03-10 | 2020-06-12 | 科通工业技术(深圳)有限公司 | Intelligent voice infrared equipment control system and method |
CN111475216A (en) * | 2020-04-15 | 2020-07-31 | 湖北亿咖通科技有限公司 | Voice control method of APP, computer storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105242556A (en) * | 2015-10-28 | 2016-01-13 | 小米科技有限责任公司 | A speech control method and device of intelligent devices, a control device and the intelligent device |
CN105405442A (en) * | 2015-10-28 | 2016-03-16 | 小米科技有限责任公司 | Speech recognition method, device and equipment |
JP2016114744A (en) * | 2014-12-15 | 2016-06-23 | オンキヨー株式会社 | Electronic device control system, terminal device and server |
CN106023578A (en) * | 2016-07-14 | 2016-10-12 | 广州视源电子科技股份有限公司 | Wearable device and control method of household device |
CN106782535A (en) * | 2016-12-26 | 2017-05-31 | 深圳前海勇艺达机器人有限公司 | Data processing method and device based on intelligent appliance |
-
2017
- 2017-11-17 CN CN201711155578.4A patent/CN107863104A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016114744A (en) * | 2014-12-15 | 2016-06-23 | オンキヨー株式会社 | Electronic device control system, terminal device and server |
CN105242556A (en) * | 2015-10-28 | 2016-01-13 | 小米科技有限责任公司 | A speech control method and device of intelligent devices, a control device and the intelligent device |
CN105405442A (en) * | 2015-10-28 | 2016-03-16 | 小米科技有限责任公司 | Speech recognition method, device and equipment |
CN106023578A (en) * | 2016-07-14 | 2016-10-12 | 广州视源电子科技股份有限公司 | Wearable device and control method of household device |
CN106782535A (en) * | 2016-12-26 | 2017-05-31 | 深圳前海勇艺达机器人有限公司 | Data processing method and device based on intelligent appliance |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020103397A1 (en) * | 2018-11-20 | 2020-05-28 | 深圳创维-Rgb电子有限公司 | Smart home system, control method, device, and medium |
CN111145749A (en) * | 2019-12-31 | 2020-05-12 | 联想(北京)有限公司 | Control method and control device |
CN111145749B (en) * | 2019-12-31 | 2023-05-02 | 联想(北京)有限公司 | Control method and control device |
CN111276145A (en) * | 2020-03-10 | 2020-06-12 | 科通工业技术(深圳)有限公司 | Intelligent voice infrared equipment control system and method |
CN111475216A (en) * | 2020-04-15 | 2020-07-31 | 湖北亿咖通科技有限公司 | Voice control method of APP, computer storage medium and electronic device |
CN111475216B (en) * | 2020-04-15 | 2024-03-08 | 亿咖通(湖北)技术有限公司 | APP voice control method, computer storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2836955B1 (en) | Method for malicious activity detection in a mobile station | |
EP3848838A1 (en) | Model parameter acquisition method and system based on federated learning, and readable storage medium | |
US10686602B2 (en) | Portable device interface methods and systems | |
CN107610695A (en) | Driver's voice wakes up the dynamic adjusting method of instruction word weight | |
US20190318089A1 (en) | System security method and apparatus | |
CN107863104A (en) | A kind of sound control method and device | |
CN109684047A (en) | Event-handling method, device, equipment and computer storage medium | |
EP3300333A1 (en) | Accelerated passphrase verification | |
EP3211825B1 (en) | Trusted terminal verification method and apparatus | |
US10599402B2 (en) | Techniques to configure a web-based application for bot configuration | |
CN106656932A (en) | Business processing method and device | |
US9380516B2 (en) | Local wireless data communication system, and method and apparatus for automatically setting information in the system | |
CN109194689B (en) | Abnormal behavior recognition method, device, server and storage medium | |
CN109618202A (en) | Control method, TV and the readable storage medium storing program for executing of peripheral hardware | |
CN103037476A (en) | Control method for wireless network access and control device for wireless network access | |
CN110099065A (en) | Internet of things equipment and authentication method, Cloud Server, processing equipment, readable medium | |
CN106713004A (en) | Router adaptation method and system | |
CN107895573A (en) | Method and device for identification information | |
CN105759938A (en) | Energy-saving method and equipment for mobile terminal | |
US11798545B2 (en) | Speech interaction method and apparatus, device and storage medium | |
CN106488534A (en) | Obtain the method and system of Network Access Point | |
CN106888108A (en) | The networking methods of smart machine, smart machine and mobile client | |
WO2014198111A1 (en) | Systems and methods for multimedia-processing | |
CN107733785A (en) | A kind of multiple terminals chat message synchronization removal method and device | |
CN113727298A (en) | Layer two identifier determining method and device and terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180330 |
|
RJ01 | Rejection of invention patent application after publication |