CN107545892A - The control method of equipment, apparatus and system - Google Patents

The control method of equipment, apparatus and system Download PDF

Info

Publication number
CN107545892A
CN107545892A CN201610473802.3A CN201610473802A CN107545892A CN 107545892 A CN107545892 A CN 107545892A CN 201610473802 A CN201610473802 A CN 201610473802A CN 107545892 A CN107545892 A CN 107545892A
Authority
CN
China
Prior art keywords
control
external equipment
instruction
grammar
equipment
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
CN201610473802.3A
Other languages
Chinese (zh)
Other versions
CN107545892B (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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610473802.3A priority Critical patent/CN107545892B/en
Priority to PCT/CN2016/099469 priority patent/WO2017219519A1/en
Publication of CN107545892A publication Critical patent/CN107545892A/en
Application granted granted Critical
Publication of CN107545892B publication Critical patent/CN107545892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems

Abstract

The invention provides a kind of control method of equipment, apparatus and system.This method includes:Syntax library is updated based on the multiple grammar files received, wherein, the phonetic order for controlling external equipment corresponding with grammar file is carried in each grammar file;When receiving voice messaging, identify that target voice corresponding with voice messaging instructs by the syntax library after renewal;Pass through external equipment corresponding to target voice instruction control.The present invention is solved in correlation technique, when carrying out Voice command using wearable device, the poor technical problem of its compatibility.

Description

The control method of equipment, apparatus and system
Technical field
The present invention relates to smart machine field, in particular to a kind of control method of equipment, dress Put and system.
Background technology
At present, wearable device is limited by product form, and its build is universal smaller, and physical size determines Its storage resource and RAM resources are smaller, and computing capability is weaker, therefore, use wearable device When carrying out Voice command to other equipment, the instruction of its offline voice is confined to 3 to 5 substantially, and It is configured both for some particular device, it is very few so as to cause the instruction of its support, and prop up The equipment held is insufficient, have impact on the experience of user.
When in face of carrying out Voice command using wearable device, the poor (equipment of support of its compatibility Type it is few and support phonetic order it is less) the problem of, industry generally using preset APP or The scheme of line identification solves the problem, and (such as other wearable set for wearable device control other equipment Standby, smart home, intelligent automobile) there are following several schemes:
Scheme one, in terminal device by it is most can the phonetic order of acoustic control electrical equipment be all integrated in one Rise, installed on the terminal device in the form of APP, referred to voice by modes such as infrared, WIFI Order is sent to equipment, realizes Voice command;
Scheme two, using the phonetic order collection of high in the clouds storage device, wearable device passes through network insertion Voice command is carried out to local device behind high in the clouds.
It is larger to the system resources consumption of equipment in scheme one, can not be in limited system resources can Use on wearable device, answered in addition, if changed terminal device and also to have reinstalled these APP With that could use, still can not solve the problems, such as the compatible poor of wearable device;In scheme two, When network disconnects, then voice control function can not be used.
For in correlation technique, when carrying out Voice command using wearable device, its compatibility is poor Technical problem, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind of control method of equipment, apparatus and system, at least to solve In correlation technique, when carrying out Voice command using wearable device, the poor technical problem of its compatibility.
One side according to embodiments of the present invention, there is provided a kind of control method of equipment, this method Including:Syntax library is updated based on the multiple grammar files received, wherein, taken in each grammar file With the phonetic order for controlling external equipment corresponding with grammar file;Receiving voice messaging When, identify that target voice corresponding with voice messaging instructs by the syntax library after renewal;Pass through mesh Mark external equipment corresponding to phonetic order control.
Further, identify that target voice corresponding with voice messaging refers to by the syntax library after renewal Order includes:Using the syntax library after renewal, identify that target voice instructs from voice messaging, and base In the external equipment that voice messaging determines to be controlled by target voice instruction request.
Further, included by external equipment corresponding to target voice instruction control:Generation corresponds to The controlling feature code of target voice instruction, wherein, the control that controlling feature code corresponds to external equipment refers to Order;Controlling feature code is sent to external equipment.
Further, the external equipment bag controlled by target voice instruction request is determined based on voice messaging Include:The instruction for indicating control object is identified from voice messaging;It is determined that with being controlled for instruction External equipment corresponding to the instruction of object.
Further, included based on the multiple grammar files renewal syntax library received:Parse multiple The phonetic order carried in grammar file;The phonetic order parsed is preserved into syntax library, and compiled Translate syntax library.
Further, before syntax library is updated based on the multiple grammar files received, using as follows Mode receives multiple grammar files:Obtained from gateway device multiple correspondingly with multiple external equipments Grammar file, wherein, the grammar file for being stored in gateway device is the foundation of any external equipment and gateway During the communication connection of equipment, the file that is obtained by gateway device from any external equipment.
Further, after by external equipment corresponding to target voice instruction control, the controlling party Method also includes:Delete in syntax library and refer to corresponding to the voice of one or more grammar files received Order.
Further, the language of one or more grammar files received is corresponded in syntax library is deleted Before sound instruction, the control method also includes:When disconnecting the communication connection with target external device, Prompt message is generated, wherein, whether prompt message is used to prompt to delete to receive corresponding to one or more The phonetic order of the grammar file arrived;Receive and delete instruction or reserve statement, wherein, delete instruction and use The step of deleting the phonetic order for corresponding to one or more grammar files in syntax library is performed in instruction, Reserve statement is used to indicate to retain the phonetic order corresponding to multiple grammar files in syntax library.
Other side according to embodiments of the present invention, there is provided a kind of control device of external equipment, The device includes:Updating block, for updating syntax library based on the multiple grammar files received, its In, carried in each grammar file for controlling the voice of external equipment corresponding with grammar file to refer to Order;Recognition unit, for when receiving voice messaging, by the syntax library after renewal identify with Target voice corresponding to voice messaging instructs;Control unit, for passing through target voice instruction control pair The external equipment answered.
Further, updating block includes:Parsing module, taken for parsing in multiple grammar files The phonetic order of band;Preserving module, for the phonetic order parsed to be preserved into syntax library, and Compile syntax library.
Other side according to embodiments of the present invention, there is provided a kind of control system of equipment, this is System includes:Multiple external equipments, gateway device and control device, wherein:Preserved on each external equipment There is grammar file, wherein, the phonetic order for controlling external equipment is carried in each grammar file; Gateway device is connected with multiple external equipments, and gateway device is used for when control device accesses, and is sent and is protected Multiple grammar files of multiple external equipments on gateway device be present to control device, with by multiple Grammar file updates the syntax library of control device;Control device is used for when receiving voice messaging, leads to The syntax library crossed after renewal identifies target voice instruction corresponding with voice messaging, and passes through target language External equipment corresponding to sound instruction control.
Other side according to embodiments of the present invention, additionally provide a kind of storage medium.Above-mentioned storage Medium can be configured to the program code that storage is used to perform following steps:It is multiple based on what is received Grammar file updates syntax library, wherein, carried in each grammar file for control and grammar file The phonetic order of corresponding external equipment;When receiving voice messaging, pass through the syntax library after renewal Identify target voice instruction corresponding with voice messaging;By outer corresponding to target voice instruction control Portion's equipment.
In embodiments of the present invention, syntax library, Mei Geyu are updated based on the multiple grammar files received The phonetic order for controlling external equipment corresponding with grammar file is carried in method file;Receiving During to voice messaging, identify that target voice corresponding with voice messaging refers to by the syntax library after renewal Order;Then by external equipment corresponding to target voice instruction control, due to entering to new external equipment During row control, syntax library is updated using the grammar file of new external equipment, so as to solve In correlation technique, when carrying out Voice command using wearable device, the poor technical problem of its compatibility, Realize and improve the compatible technique effect that wearable device carries out Voice command.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the one of the application Part, schematic description and description of the invention are used to explain the present invention, not formed to this hair Bright improper restriction.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of mobile terminal according to embodiments of the present invention;
Fig. 2 is the flow chart of the control method of equipment according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of optional Voice command according to embodiments of the present invention;
Fig. 4 is the schematic diagram of the control device of equipment according to embodiments of the present invention;
Fig. 5 is the schematic diagram of progress grammer renewal according to embodiments of the present invention;
Fig. 6 is the schematic diagram of transfer syntax file according to embodiments of the present invention;
Fig. 7 is the schematic diagram of foundation connection according to embodiments of the present invention;
Fig. 8 is the schematic diagram of grammer renewal according to embodiments of the present invention;
Fig. 9 is the schematic diagram of grammer identification and control according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that In the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that the term in description and claims of this specification and above-mentioned accompanying drawing " first ", " second " etc. be for distinguishing similar object, without for describe specific order or Precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application one is provided can be (such as wearable to set in mobile terminal It is standby), perform in terminal or similar arithmetic unit.Exemplified by running on mobile terminals, As shown in figure 1, mobile terminal can include one or more (one is only shown in figure) processors 101 (processor 101 can include but is not limited to Micro-processor MCV or PLD FPGA Deng processing unit), the memory 103 for data storage and the transmission for communication function dress Put 105.It will appreciated by the skilled person that the structure shown in Fig. 1 is only to illustrate, it is simultaneously The structure of above-mentioned electronic installation is not caused to limit.
Memory 103 can be used for the software program and module of storage application software, and such as present invention is implemented Programmed instruction/module corresponding to the control method of equipment in example, processor 101 are stored in by operation Software program and module in memory 103, so as to perform various function application and data processing, Realize above-mentioned method.Memory may include high speed random access memory, may also include non-volatile deposit Reservoir, as one or more magnetic storage device, flash memory or other nonvolatile solid states store Device.In some instances, memory can further comprise relative to the remotely located memory of processor, These remote memories can pass through network connection to terminal.The example of above-mentioned network include but It is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device is used to data are received or sent via a network.Above-mentioned network instantiation It may include the wireless network that the communication providerses of terminal provide.In an example, transmission dress Put including a network adapter (Network Interface Controller, NIC), it can pass through base Stand and be connected with other network equipments so as to be communicated with internet.In an example, transmission dress It can be radio frequency (Radio Frequency, RF) module to put, its be used for wirelessly with interconnection Net is communicated.
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the control method of equipment, it is necessary to Illustrate, can be in such as one group of computer executable instructions the flow of accompanying drawing illustrates the step of Computer system in perform, although also, show logical order in flow charts, at certain , can be with the step shown or described by being performed different from order herein in the case of a little.
Fig. 2 is the flow chart of the control method of equipment according to embodiments of the present invention, as shown in Fig. 2 This method comprises the following steps:
Step S202, update syntax library, each grammar file based on the multiple grammar files received In carry phonetic order for controlling corresponding with grammar file external equipment.
Step S204, when receiving voice messaging, identified by the syntax library after renewal and language Target voice instruction corresponding to message breath.
Step S206, pass through external equipment corresponding to target voice instruction control.
By above-described embodiment, syntax library, each grammer are updated based on the multiple grammar files received The phonetic order for controlling equipment corresponding with grammar file is carried in file;Receiving voice During information, identify that target voice corresponding with voice messaging instructs by the syntax library after renewal;So , can profit due to when being controlled to new equipment afterwards by equipment corresponding to target voice instruction control Syntax library is updated with the grammar file of new equipment, so as to solve in correlation technique, using can When wearable device carries out Voice command, the poor technical problem of its compatibility, it is wearable to realize raising Equipment carries out the compatible technique effect of Voice command.
Alternatively, the executive agent of above-mentioned steps can be support speech recognition or can expand voice knowledge Other control device, including but not limited to wearable device, mobile phone, flat board etc., it is mainly used in certainly Body stock number (such as storage resource, computing resource) less equipment, such as wearable device, subsequently Illustrated by taking wearable device as an example.Above-mentioned external equipment (namely controlled device) is support The smart machine (such as intelligent refrigerator, intelligent television) of Voice command.
In the above-described embodiments, when updating syntax library based on the multiple grammar files received, can solve Separate out the phonetic order carried in multiple grammar files;The phonetic order parsed is preserved to syntax library In, and compile syntax library.
Specifically, before syntax library is updated based on the multiple grammar files received, using such as lower section Formula receives multiple grammar files:Obtained and multiple external equipments multiple languages correspondingly from gateway device Method file, be stored in the grammar file of gateway device established for any external equipment it is logical with gateway device During letter connection, the file that is obtained by gateway device from any external equipment.
Above-mentioned gateway device includes but is not limited to wireless router, below by taking wireless router as an example Embodiments herein is described in detail.The tool for the one-to-many Voice command based on home network that the application provides Body step is as follows:
Step S11, control equipment (i.e. controlled plant) to be controlled lead to WIFI wireless networks and wireless routing Device connects.
Step S12, after control equipment to be controlled establishes connection with wireless router, log-on data transfer process, Family lan accesses intelligent appliance equipment (control equipment i.e. to be controlled), and by the voice grammar in equipment File is transferred in the special purpose memory devices of wireless router and preserved.
Obtained grammar file is carried out classification storage by step S13, wireless router according to predetermined format, Such as, the phonetic control command of television set is stored in the list of " TV " name, by air-conditioning Phonetic control command be stored in " AHU " name list it is medium.
Step S14, the office is connected when router recognizes the wearable device with speech identifying function After the net of domain, router initiates to ask whether to need the prompting of Voice command to wearable device, when obtaining Wearable device copies the grammar file stored in the router to local automatically after confirmation, and carries out Compiling it is come into force, after the completion of remind user renewal finish.
Step S15, after renewal finishes, Voice command can be carried out, for example, " television set, Switch next channel ", phonetic order will be broken down into " waking up word (TV) " and " switching is next Two parts of channel (control instruction) ", the sound identification module that word will start corresponding device is waken up, Then instruction control is carried out again.
Step S16, after equipment corresponding to the instruction control instructed according to target voice, it can delete Correspond to the phonetic order of one or more grammar files in syntax library, namely when wearable device disconnects After connecting logout, start to perform logout more new technological process, delete (can also select to retain) grammar file, Equipment slot milling is given, facilitates next networking.
Specifically, when disconnecting the communication connection with external equipment (control equipment i.e. to be controlled), generation carries Show information, the voice that prompt message is used to prompting whether deleting corresponding to one or more grammar files refers to Order;Then the selection of user is waited, and receives the deletion instruction or reserve statement for corresponding to user's selection, Instruction is deleted to be used to indicate to perform the voice deleted and correspond to one or more grammar files in syntax library The step of instruction, reserve statement are used to indicate to retain the language corresponding to multiple grammar files in syntax library Sound instructs.
In the above-described embodiments, the storage device using home wireless router as grammar file, passes through Networking renewal, voice wake up, and three core procedures of speech recognition can realize the one-to-many of wearable device Voice command.It is to be controlled after control equipment to be controlled is connected with wireless router in family lan Equipment transmits voice grammar file to wireless router, by wireless router to receiving not Voice grammar file data with control equipment to be controlled carries out classification storage.When wearable device accesses the office Voice command authority is obtained by applying after the net of domain, obtains the grammar file in router, by compiling Fusion, voice realize one-to-many Voice command after waking up.It is achieved thereby that wearable device enters family After LAN, the effect of Voice command can be carried out to multiple equipment, improves speech recognition and each intelligence Compatibility between energy equipment, and then improve Consumer's Experience.
When control device (i.e. wearable device) runs the present processes, such as Fig. 3 institutes can be passed through Grammar file memory module, grammer update module, voice wake-up module and the sound identification module shown 4 main modulars realize its function.
Grammar file memory module:In all outsides, it is (logical to be all connected to family lan for control equipment to be controlled Cross the wireless network that wireless telecommunications mould is connected to wireless routing) in the case of, the module is responsible for receiving Grammar file in the control equipment to be controlled (including control equipment to be controlled 1 to n) arrived carries out classification storage, The module is completed by 2 step cooperations.
Step S21, adds EIC equipment identification code, and control equipment to be controlled is establishing wireless telecommunications with wireless routing After connection, grammar file is packed, and the identification code of equipment is added, is then transferred to wireless routing Device, for example, the identification code of TV is 001, air-conditioning for 002.
Step S22, generative grammar list, after wireless router receives grammar file packet, root Corresponding storage list is generated according to EIC equipment identification code, identification code is List name, and grammer is list content. Such as, " 001 [TV] [start, shutdown, switching channels ... ...] ", " 002 [air-conditioning] [start, shutdown, Temperature is heightened, turns down temperature ... ...] ", then it is stored in grammar file memory module.
Grammer update module:The module is responsible for the renewal of syntax library, and the module is cooperated by 3 steps and completed.
Step S31, after wearable device starts voice control function, network state inspection, inspection is It is no to be connected to wireless network, when wearable device is connected normally with family lan, then send mode bit To next grammer update module, otherwise application is connected to the wireless network of wireless routing, and mode bit is " 1 " Normal connection is represented, mode bit is that " 0 " represents to disconnect.
Step S32, grammar file transmission, after the completion of Network Check, then start grammar file transmission Action, the action can actively be initiated by wearable device, can also actively be initiated, sent out by router Rise after transmitting instruction, the grammar file memory module of router passes to grammar file list wearable Equipment, it is updated for grammer update module.
Step S33, the step can be divided into increase, reduce by two key operations, after the completion of renewal, its Syntax library can increase or reduce the syntax instructions of control equipment to be controlled, if after network connection is normal, increasing Add the syntax instructions of control equipment to be controlled, if after network disconnects, deleting the syntax instructions of control equipment to be controlled.
Voice wake-up module:The module treats control device and carries out voice wake operation, by 3 steps Complete.
Step S41, device name matching, user are referred to using the microphone input voice of wearable device After order, the module is to the device name (such as TV, refrigerator, air-conditioning) contained in sentence in grammer Matched in list, to determine that user asks the object of control.
Specifically, the syntax library after by renewal identifies that target voice corresponding with voice messaging refers to Order is that the syntax library after renewal can be used, determined based on voice messaging in multiple external equipments by target The external equipment of phonetic order request control, i.e., identify from voice messaging for indicating control object Instruction (e.g., opening TV, switching channels etc.);Determine to indicate with being used in multiple external equipments External equipment corresponding to the instruction of control object.
Step S42, confirm syntax instructions, the syntax instructions of corresponding device are found after step S41 Collect and pass to sound identification module, make the phonetic order for there was only current device in sound identification module Collection.
Step S43, control equipment to be controlled is waken up, completed after acting above, wearable device passes through family LAN sends the controlling feature code corresponding to phonetic order to control equipment to be controlled, wakes up control equipment to be controlled On sound identification module, after waking up successfully control equipment to be controlled to wearable device feedback current speech know Other module status.
Sound identification module, after wearable device receives the confirmation information of control equipment to be controlled, voice Instruction is locally passing through speech recognition engine, after successfully identifying, (is somebody's turn to do instruction morphing for controlling feature code Condition code is corresponding with control equipment M02 to be controlled local instruction), control equipment to be controlled is sent to, it is to be controlled Equipment makes corresponding actions according to condition code.
It should be noted that in external equipment corresponding to the instruction control instructed according to target voice, The controlling feature code corresponding to target voice instruction can be generated, controlling feature code corresponds to external equipment Control instruction, it is special according to control to outside control equipment to be controlled, control device then to send controlling feature code Control instruction corresponding to sign code from local read simultaneously performs.Control complete after, can disconnect with wirelessly The connection of route, and disconnection renewal (i.e. grammer update module, which performs, disconnects renewal) is performed, delete corresponding Phonetic order, to reserve memory space, for next time network when use.
By above-described embodiment, after wearable device and smart machine establish connection, connect by standard Mouthful, transmitted grammar database as control element, wearable device is being increased without hardware The situation of resource, more syntax instructions can also be used, one-to-many (same equipment control can be achieved Multiple equipment processed), or even the function of multi-to-multi, between wearable device, intelligent home device Voice over Internet etc. all brings great convenience.
Through the above description of the embodiments, those skilled in the art can be understood that root The mode of required general hardware platform can be added by software according to the method for above-described embodiment to realize, when So can also be by hardware, but the former is more preferably embodiment in many cases.Based on such reason Solution, the part that technical scheme substantially contributes to prior art in other words can be with soft The form of part product embodies, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD) in, including some instructions are make it that a station terminal equipment (can To be mobile phone, computer, server, or network equipment etc.) perform each embodiment institute of the present invention The method stated.
Embodiment 2
A kind of control device of equipment is additionally provided in the embodiment of the present invention.The device is above-mentioned for realizing Embodiment and preferred embodiment, repeating no more for explanation was carried out.As used below, Term " module " can realize the combination of the software and/or hardware of predetermined function.Although following examples institute The device of description is preferably realized with software, but hardware, or the reality of the combination of software and hardware Now and may and it be contemplated.
Fig. 4 is the schematic diagram of the control device of equipment according to embodiments of the present invention.As shown in figure 4, The device can include:Updating block 41, recognition unit 43 and control unit 45.
Updating block 41, for updating syntax library based on the multiple grammar files received, wherein, often The phonetic order for controlling external equipment corresponding with grammar file is carried in individual grammar file.
Recognition unit 43, for when receiving voice messaging, being identified by the syntax library after renewal Target voice instruction corresponding with voice messaging.
Control unit 45, for passing through external equipment corresponding to target voice instruction control
By above-described embodiment, updating block updates syntax library based on the multiple grammar files received, The phonetic order for controlling external equipment corresponding with grammar file is carried in each grammar file; Recognition unit is identified and voice messaging pair when receiving voice messaging by the syntax library after renewal The target voice instruction answered;Control unit instructs external equipment corresponding to control by target voice, by When being controlled to new external equipment, the grammar file using new external equipment enters to syntax library Row renewal, so as to solve in correlation technique, when carrying out Voice command using wearable device, its is simultaneous The poor technical problem of capacitive, realize and improve the compatible skill that wearable device carries out Voice command Art effect.
Alternatively, said apparatus, which can be used in, supports speech recognition or can expand the control of speech recognition to set Standby upper, including but not limited to wearable device, mobile phone, flat board etc. are mainly used in wearable device. Above-mentioned controlled device is smart machine (such as intelligent refrigerator, intelligent television for supporting Voice command Deng).
In the above-described embodiments, updating block may include:Parsing module, for parsing multiple grammers The phonetic order carried in file;Preserving module, for the phonetic order parsed to be preserved to grammer In storehouse, and compile syntax library.
Specifically, updating block is obtaining and multiple external equipments multiple grammar files correspondingly When, be from gateway device obtain with multiple external equipments multiple grammar files correspondingly, be stored in When the grammar file of gateway device is that any external equipment establishes the communication connection with gateway device, by net Close the file that equipment obtains from any external equipment.Above-mentioned gateway device is including but not limited to wireless Router.
By above-described embodiment, after wearable device and smart machine establish connection, connect by standard Mouthful, transmitted grammar database as control element, wearable device is being increased without hardware The situation of resource, more syntax instructions can also be used, one-to-many (same equipment control can be achieved Multiple equipment processed), or even the function of multi-to-multi, between wearable device, intelligent home device Voice over Internet etc. all brings great convenience.
Alternatively, updating block is also used for the syntax library after renewal, is identified from voice messaging Target voice instructs, and determines to be set by the outside that target voice instruction request controls based on voice messaging It is standby.
Alternatively, updating block is additionally operable to the controlling feature code that generation corresponds to target voice instruction, its In, controlling feature code corresponds to the control instruction of external equipment;Controlling feature code is sent to external equipment.
Alternatively, updating block is additionally operable to identify the finger for indicating control object from voice messaging Order;It is determined that external equipment corresponding with the instruction for indicating control object.
Alternatively, control unit, which is additionally operable to delete in syntax library, corresponds to one or more languages received The phonetic order of method file.
Alternatively, control unit is additionally operable to when disconnecting the communication connection with target external device, generation Prompt message, wherein, prompt message is used to prompt whether to delete what is received corresponding to one or more The phonetic order of grammar file;Receive and delete instruction or reserve statement, wherein, delete instruction and be used to refer to Show and perform the step of deleting the phonetic order for corresponding to one or more grammar files in syntax library, retain Instruct for indicating to retain the phonetic order corresponding to multiple grammar files in syntax library.
It should be noted that above-mentioned modules can be realized by software or hardware, for The latter, it can be accomplished by the following way, but not limited to this:Above-mentioned module is respectively positioned on same processor In;Or the form of above-mentioned modules in any combination is located in different processors respectively.
Embodiment 3
A kind of control system of equipment is additionally provided in the embodiment of the present invention.The system includes:It is multiple outer Portion's equipment, gateway device and wearable device.
Multiple external equipments, grammar file is preserved on each external equipment (i.e. controlled plant), its In, the phonetic order for controlling external equipment is carried in each grammar file.
Gateway device, it is connected with multiple external equipments, gateway device is used for when control device accesses, The multiple grammar files for the multiple external equipments being stored on gateway device are sent to control device, with logical Cross the syntax library of multiple grammar file renewal control devices.
Control device, control device are used for when receiving voice messaging, pass through the syntax library after renewal Target voice instruction corresponding with voice messaging is identified, and the instruction instructed by target voice controls Corresponding external equipment.
Above-mentioned control device includes but is not limited to wearable device.
By above-described embodiment, the grammar file of multiple external equipments is preserved on gateway device, is being controlled When control equipment accesses, gateway device sends the multiple languages for the multiple external equipments being stored on gateway device Method file is to control device, to update the syntax library of control device by multiple grammar files, due to When being controlled to new external equipment, the grammar file using new external equipment enters to syntax library Row renewal, control device are identified and language when receiving voice messaging by the syntax library after renewal Target voice instruction corresponding to message breath, and by outside corresponding to the instruction control of target voice instruction Equipment, so as to solve in correlation technique, when carrying out Voice command using wearable device, it is compatible Property poor technical problem, realize the compatible technology that wearable device carries out Voice command that improves Effect.
In the above-described embodiments, wearable device and smart machine (control equipment or controlled device i.e. to be controlled) Between one-to-many voice-controlled manner be adapted to all containing speech recognition or speech recognition can be expanded Equipment, in this application, only using intelligent watch as wearable device, intelligent air condition, intelligent television are Example is described in detail.As shown in Figure 5:
Step S502, transfer syntax file.
As shown in fig. 6, after successful connection, wireless router M03 and control equipment M02 to be controlled start Grammer updates, and sends the control that control device is treated in control application request, control equipment ejection dialogue to be controlled Frame (whether dialog box content is to agree to control) is confirmed (can also be voice message) by user, is passed through Control equipment to be controlled is by adding EIC equipment identification code after crossing confirmation agreement, and grammar file of packing, by grammer File is transferred to router.If user disagrees control application, "No" is selected, then feedback refusal mark Will after wireless routing receives mark, judges whether to agree to control, if otherwise flowing to wireless routing Journey return back to beginning, if then receiving grammar file.The grammer that wireless router sends distinct device File is stored as the grammer storage list of specific format.
Step S504, speech recognition connection confirm flow, initiate to connect by wearable device M01, Establish the connection with intelligent television (control equipment i.e. to be controlled).
Specifically, it can use and actively initiate connection scheme, as shown in fig. 7, wearable device M01 Start request, the request judges whether to need to connect, and after "Yes" is selected, intelligent watch starts Connection, send connection request to wireless routing, after "No" is selected, then return to previous step or Person ejects request again;Whether agree to connect by wireless routing examination & verification, after agreeing to connect, start language Method list transfer process, grammer is stored into the grammar file in list and sent to wearable device, can be worn Wear equipment and judge whether connection succeeds, start grammer update module after successful connection is confirmed, receive language Method listed files, it is again started up connecting if connection failure.
Step S506, grammer renewal step, by wireless routing transfer syntax file to wearable device.
Grammer renewal step is the process for the grammar file process of compilation that will be received, as shown in figure 8, The grammar file in grammer storage list is received, judges whether reception succeeds, if reception failure again Receive, syntax library renewal, silent the step of compiling are performed if receiving successfully, then waiting voice is called out Awake module is waken up.
Step S5062, receives grammar file, and wearable device starts grammer renewal step, no circuit By the grammar file in device M03 transmission grammer storage lists to wearable device, wearable device is again Judge whether the reception of grammar file succeeds.If being judged as " succeeding ", into step S5064, New step syntax library;If being judged as " failing ", grammar file is received again.
Step S5064, syntax library renewal, wearable device parse after grammar file is received To phonetic order, then by phonetic order renewal in grammar database, and silent compiling is carried out, with Voice enabled identification function.
Above-mentioned grammar file form can use bnf reference formats, can also use other standards lattice Formula, herein by taking bnf as an example, by grammar file according to " grammr slot start " committed step enter Row database update.It is the instruction of a selection television channel as follows:
#BNF+IAT 1.0 UTF-8;
!grammar switch_channel;
!slot<contact>;
!slot<appname>;
!slot<song>;
!start<actions>;
<actions>:<switch>
<switch>:(open | selection)<contact>;
<contact>:CCTV | HNTV | Shaanxi satellite TV | one, center |
In above-mentioned instruction, the purpose of first determine instruction is switching channels (i.e. " switch_channel "), It is then determined that action for open or switching (i.e. "<actions>:<switch>"), open or switch Target (i.e. "<contact>") can be " CCTV, HNTV, Shaanxi satellite TV, center one Platform " etc..It should be noted that in different systems or equipment, its specific instruction form can root Determined according to concrete condition, the application is not limited this.
Step S508, speech recognition controlled step, after wearable device merges grammar file, it can enter Row Voice command.The step is broadly divided into voice and waken up and speech recognition two parts.As shown in Figure 9:
When user says individual instructions, such as " TV opens HNTV ", wearable device exits It is standby, it is identified in instructing on wearable device M01, carries out sentencing for EIC equipment identification code first It is disconnected, and the wake-up instruction waken up for voice is generated, control equipment M02 to be controlled is sent to, it is to be controlled to set up It is standby to exit standby and judge whether enabled heterodoxy control, it is standby if continuing without if, start language if having Sound identifies that control equipment to be controlled provides feedback and responded according to result is waken up, and wakes up successfully then to can wear Wear equipment one to feed back and start speech recognition, wake-up failure then returns standby.
Phonetic order is identified judgement, whether decision instruction is legal, if instruction is " 001 [electricity Depending on] [syntax instructions collection] " in instruction, then it is legal, and send control instruction to control equipment to be controlled, such as Fruit is not to prompt user to re-enter phonetic order (such as voice message please be retell).Control equipment root to be controlled It is standby after execution according to control instruction identification maneuver.
In the above-described embodiments, when network disconnects, the grammar file of fusion can be removed.The step is more New is step S506 reverse renewal, and the process that will increase grammer becomes to delete the mistake of syntax instructions Journey.In this step, grammer renewal has 2 kinds of triggering modes, and one kind is that network linking disconnects, i.e. chain After chain link road disconnects (distance, the signal for such as exceeding communication support are excessively weak), grammer will be triggered more Newly;Another kind is actively to click on to disconnect, either control device or control equipment to be controlled, clicks on and cancels Control, then control mark is recovered, while trigger grammer renewal., it is necessary to prompt after grammer renewal User's " Voice command has disconnected ".
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, on State storage medium and can be configured to the program code that storage is used to perform following steps:
S1, syntax library is updated based on the multiple grammar files received, wherein, in each grammar file Carry the phonetic order for controlling external equipment corresponding with grammar file;
S2, when receiving voice messaging, identified and voice messaging pair by the syntax library after renewal The target voice instruction answered;
S3, pass through external equipment corresponding to target voice instruction control.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
S4, generation correspond to the controlling feature code of target voice instruction, wherein, controlling feature code is corresponding In the control instruction of external equipment;
S5, controlling feature code is sent to external equipment.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, only Read memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
Alternatively, in the present embodiment, processor is held according to the program code stored in storage medium OK:Syntax library is updated based on the multiple grammar files received, wherein, carried in each grammar file There is the phonetic order for controlling external equipment corresponding with grammar file;Receiving voice messaging When, identify that target voice corresponding with voice messaging instructs by the syntax library after renewal;Pass through mesh Mark external equipment corresponding to phonetic order control.
Alternatively, in the present embodiment, processor is held according to the program code stored in storage medium OK:Generation corresponds to the controlling feature code of target voice instruction, wherein, controlling feature code corresponds to outer The control instruction of portion's equipment;Controlling feature code is sent to external equipment.
Alternatively, the specific example in the present embodiment may be referred to above-described embodiment and optional embodiment Described in example, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step It can be realized with general computing device, they can be concentrated on single computing device, or It is distributed on the network that multiple computing devices are formed, alternatively, they be able to can be held with computing device Capable program code realizes, it is thus possible to be stored in storage device by computing device Lai Perform, and in some cases, can be shown or described to be performed different from order herein Step, they are either fabricated to each integrated circuit modules respectively or by multiple moulds in them Block or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any spy Fixed hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention God any modification, equivalent substitution and improvements made etc., should be included in the present invention with principle Protection domain within.

Claims (11)

  1. A kind of 1. control method of equipment, it is characterised in that including:
    Syntax library is updated based on the multiple grammar files received, wherein, each grammer text The phonetic order for controlling external equipment corresponding with the grammar file is carried in part;
    When receiving voice messaging, identified and institute's predicate by the syntax library after renewal Target voice instruction corresponding to message breath;
    Pass through external equipment corresponding to target voice instruction control.
  2. 2. control method according to claim 1, it is characterised in that after renewal The syntax library identify that the instruction of corresponding with voice messaging target voice includes:
    Using the syntax library after renewal, the target language is identified from the voice messaging Sound instructs, and is determined based on the voice messaging by the outer of target voice instruction request control Portion's equipment.
  3. 3. control method according to claim 2, it is characterised in that pass through the mesh External equipment corresponding to mark phonetic order control includes:
    Generation corresponds to the controlling feature code of target voice instruction, wherein, the control is special Levy the control instruction that code corresponds to the external equipment;
    The controlling feature code is sent to the external equipment.
  4. 4. control method according to claim 2, it is characterised in that based on institute's predicate Message breath determines to be included by the external equipment of target voice instruction request control:
    The instruction for indicating control object is identified from the voice messaging;
    It is determined that the external equipment corresponding with the instruction for indicating control object.
  5. 5. control method as claimed in any of claims 1 to 4, its feature exists In updating syntax library based on the multiple grammar files received includes:
    Parse the phonetic order carried in the multiple grammar file;
    The phonetic order parsed is preserved into the syntax library.
  6. 6. control method according to claim 1, it is characterised in that based on reception Before the multiple grammar files renewal syntax library arrived, the multiple grammer is received in the following way File:
    From gateway device obtain with multiple external equipments the multiple grammar file correspondingly, Wherein, the grammar file for being stored in the gateway device is established and institute for any external equipment When stating the communication connection of gateway device, obtained by the gateway device from any external equipment File.
  7. 7. control method as claimed in any of claims 1 to 4, its feature exists In, after by external equipment corresponding to target voice instruction control, the controlling party Method also includes:
    Delete the language for corresponding to one or more grammar files received in the syntax library Sound instructs.
  8. 8. control method according to claim 7, it is characterised in that described in deletion Correspond in syntax library before the phonetic order of one or more grammar files received, The control method also includes:
    When disconnecting the communication connection with the external equipment, prompt message is generated, wherein, institute State prompt message be used for prompt whether delete language corresponding to the one or more grammar files Sound instructs;
    Receive and delete instruction or reserve statement, wherein, the deletion instruction is used to indicate that execution is deleted Except the phonetic order for corresponding to one or more grammar files received in the syntax library The step of, the reserve statement is multiple described for corresponding in the instruction reservation syntax library The phonetic order of grammar file.
  9. A kind of 9. control device of equipment, it is characterised in that including:
    Updating block, for updating syntax library based on the multiple grammar files received, wherein, Carried in each grammar file for controlling external equipment corresponding with the grammar file Phonetic order;
    Recognition unit, for when receiving voice messaging, passing through the syntax library after renewal Identify target voice instruction corresponding with the voice messaging;
    Control unit, for passing through external equipment corresponding to target voice instruction control.
  10. 10. control device according to claim 9, it is characterised in that the renewal is single Member includes:
    Parsing module, for parsing the phonetic order carried in the multiple grammar file;
    Preserving module, for the phonetic order parsed to be preserved into the syntax library.
  11. A kind of 11. control system of equipment, it is characterised in that including:Multiple external equipments, Gateway device and control device, wherein:
    Grammar file is preserved on each external equipment, wherein, each grammar file In carry phonetic order for controlling the external equipment;
    Gateway device is connected with the multiple external equipment, and the gateway device is used to set in control During standby access, the multiple languages for the multiple external equipment being stored on the gateway device are sent Method file is to the control device, to update the control device by the multiple grammar file Syntax library;
    The control device is used for when receiving voice messaging, passes through the grammer after renewal Target voice instruction corresponding with the voice messaging is identified in storehouse, and passes through the target voice The external equipment corresponding to instruction control.
CN201610473802.3A 2016-06-24 2016-06-24 Equipment control method, device and system Active CN107545892B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610473802.3A CN107545892B (en) 2016-06-24 2016-06-24 Equipment control method, device and system
PCT/CN2016/099469 WO2017219519A1 (en) 2016-06-24 2016-09-20 Method, apparatus, and system for controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610473802.3A CN107545892B (en) 2016-06-24 2016-06-24 Equipment control method, device and system

Publications (2)

Publication Number Publication Date
CN107545892A true CN107545892A (en) 2018-01-05
CN107545892B CN107545892B (en) 2021-07-30

Family

ID=60783270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610473802.3A Active CN107545892B (en) 2016-06-24 2016-06-24 Equipment control method, device and system

Country Status (2)

Country Link
CN (1) CN107545892B (en)
WO (1) WO2017219519A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110164198A (en) * 2018-01-25 2019-08-23 安徽华晶微电子材料科技有限公司 A kind of intelligence wearable device
CN112153440A (en) * 2020-10-10 2020-12-29 Vidaa美国公司 Display device and display system
CN113223535A (en) * 2021-03-22 2021-08-06 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted voice skill real-time recommendation downloading system and method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109945406A (en) * 2019-03-13 2019-06-28 青岛海尔空调器有限总公司 Air conditioner
US11393463B2 (en) * 2019-04-19 2022-07-19 Soundhound, Inc. System and method for controlling an application using natural language communication

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522432A (en) * 2001-07-03 2004-08-18 Method and apparatus for improving voice recognition performance in a voice application distribution system
US7987490B2 (en) * 2006-12-29 2011-07-26 Prodea Systems, Inc. System and method to acquire, aggregate, manage, and distribute media
CN102546267A (en) * 2012-03-26 2012-07-04 杭州华三通信技术有限公司 Automatic configuration method of network device and management server
CN102760433A (en) * 2012-07-06 2012-10-31 广东美的制冷设备有限公司 Sound control remote controller and control method of networked household appliances
CN103955179A (en) * 2014-04-08 2014-07-30 小米科技有限责任公司 Remote intelligent control method and device
CN103959374A (en) * 2011-11-17 2014-07-30 环球电子有限公司 System and method for voice actuated configuration of a controlling device
CN104768204A (en) * 2015-03-25 2015-07-08 广东欧珀移动通信有限公司 Network access management method, wearable device and system
CN105611033A (en) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 Method and device for voice control

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989285A (en) * 2009-08-07 2011-03-23 赛微科技股份有限公司 Data query and supply methods, data query system, portable device thereof and server thereof
CN102708858A (en) * 2012-06-27 2012-10-03 厦门思德电子科技有限公司 Voice bank realization voice recognition system and method based on organizing way
CN104183237B (en) * 2014-09-04 2017-10-31 百度在线网络技术(北京)有限公司 Method of speech processing and device for portable terminal
CN105094807A (en) * 2015-06-25 2015-11-25 三星电子(中国)研发中心 Method and device for implementing voice control

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522432A (en) * 2001-07-03 2004-08-18 Method and apparatus for improving voice recognition performance in a voice application distribution system
US7987490B2 (en) * 2006-12-29 2011-07-26 Prodea Systems, Inc. System and method to acquire, aggregate, manage, and distribute media
CN103959374A (en) * 2011-11-17 2014-07-30 环球电子有限公司 System and method for voice actuated configuration of a controlling device
CN102546267A (en) * 2012-03-26 2012-07-04 杭州华三通信技术有限公司 Automatic configuration method of network device and management server
CN102760433A (en) * 2012-07-06 2012-10-31 广东美的制冷设备有限公司 Sound control remote controller and control method of networked household appliances
CN103955179A (en) * 2014-04-08 2014-07-30 小米科技有限责任公司 Remote intelligent control method and device
CN105611033A (en) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 Method and device for voice control
CN104768204A (en) * 2015-03-25 2015-07-08 广东欧珀移动通信有限公司 Network access management method, wearable device and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110164198A (en) * 2018-01-25 2019-08-23 安徽华晶微电子材料科技有限公司 A kind of intelligence wearable device
CN112153440A (en) * 2020-10-10 2020-12-29 Vidaa美国公司 Display device and display system
CN112153440B (en) * 2020-10-10 2023-04-25 Vidaa美国公司 Display equipment and display system
CN113223535A (en) * 2021-03-22 2021-08-06 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted voice skill real-time recommendation downloading system and method
CN113223535B (en) * 2021-03-22 2024-04-05 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted voice skill real-time recommendation and downloading system and method

Also Published As

Publication number Publication date
CN107545892B (en) 2021-07-30
WO2017219519A1 (en) 2017-12-28

Similar Documents

Publication Publication Date Title
CN107545892A (en) The control method of equipment, apparatus and system
CN105204743A (en) Interaction control method and device for speech and video communication
CN1764945B (en) Distributed speech recognition system
CN106098062A (en) Intelligent sound control system for identifying that processing locality is combined with wireless network and method
CN107388487B (en) The method and apparatus for controlling air-conditioning
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN104765597A (en) Method and system for application category user interface templates
CN110719372B (en) Method, device and system for remote communication with vehicle
US9654347B2 (en) Configuring method and device relying on management rules
CN105334809B (en) A kind of autocontrol method and device
CN105975063B (en) A kind of method and apparatus controlling intelligent terminal
CN108062212A (en) A kind of voice operating method and device based on scene
CN105785929A (en) WeChat-based home electric appliance control method and system
CN103458126A (en) Method and device for information intelligent search of communication equipment
CN110910541A (en) Access control method, system, network device and computer readable storage medium
CN103514003B (en) Program installation method and device
CN108847236A (en) The analysis method and device of the method for reseptance and device of voice messaging, voice messaging
CN107545896A (en) Control method, apparatus and system, the sending method of file and the device of equipment
CN106452828A (en) Provision protocol transmission-based terminal configuration method and system
CN109545208A (en) The control method and device of voice, storage medium, electronic device
CN108074567A (en) Voice remote control method and device
CN105187471A (en) Information exchange method and information exchange system
CN107659933A (en) A kind of wireless device two-way pairing connection method, wireless device and storage medium
CN105407445A (en) Connection method and first electronic device
CN108566322A (en) Call method and device, storage medium, electronic device

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