CN107391487A - Apparatus control method and device, electronic equipment based on batch event - Google Patents
Apparatus control method and device, electronic equipment based on batch event Download PDFInfo
- Publication number
- CN107391487A CN107391487A CN201710618383.2A CN201710618383A CN107391487A CN 107391487 A CN107391487 A CN 107391487A CN 201710618383 A CN201710618383 A CN 201710618383A CN 107391487 A CN107391487 A CN 107391487A
- Authority
- CN
- China
- Prior art keywords
- event
- control information
- control
- batch
- batch event
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3344—Query execution using natural language analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation or dialogue systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/284—Lexical analysis, e.g. tokenisation or collocates
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Mathematical Physics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to a kind of apparatus control method based on batch event and device, electronic equipment.This method includes:Obtain the first control information for determining batch event;According to the first control information query configuration list, to determine batch event corresponding to first control information;The configured list is used for the corresponding relation for recording the first control information and batch event;Obtain control instruction corresponding to each event in the batch event;Controlled device is controlled to perform action corresponding with the event according to the control instruction.The embodiment of the present disclosure can realize " once puing question to multiple answers ", put question to number and stand-by period so as to reduce user, greatly reduce the use cost of user, improve the usage experience of user.
Description
Technical field
This disclosure relates to control technology field, more particularly to a kind of apparatus control method and device based on batch event,
Electronic equipment.
Background technology
Interactive voice is a kind of interactive mode based on phonetic entry, and user can be obtained by feedback result by speaking.
Due to the convenience of interactive voice, it is set to be applied in intelligent television, intelligent navigation, smart home etc..
However, when realizing embodiment of the present disclosure scheme, inventor has found, existing interactive voice process includes:User
Put question to, speech ciphering equipment feedback;Enter next round afterwards to talk with, the resource that can so mitigate the Data Enter of speech ciphering equipment is opened
Pin.But, it is necessary to which user's repeatedly enquirement and repeatedly wait, adds user by the way of existing voice interaction is had a try using one
Use cost, reduce the usage experience of user.
The content of the invention
The disclosure provides a kind of apparatus control method and device, electronic equipment based on batch event, to solve related skill
Deficiency in art.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of apparatus control method based on batch event, be applied to
Audio amplifier, methods described include:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch thing corresponding to first control information
Part;The configured list is used for the corresponding relation for recording the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction.
Alternatively, control instruction corresponding to each event in the batch event is obtained, including:
Each event in the batch event is parsed, to determine controlled device corresponding with each event and control
Parameter processed;
Control instruction corresponding with the event is generated according to the controlled device and the control parameter.
Alternatively, the control parameter include preset instructions, time interval, type of action, one kind in sorting position or
Person is a variety of.
Alternatively, before according to the first control information query configuration list, methods described also includes:
Show the first predetermined number event;
The control parameter of the second predetermined number event being triggered and each event is received successively;Described second is default
Quantity event is some or all of event in the first predetermined number event;
Obtain the second control information;
Second control information and the second predetermined number event are matched to obtain batch event;
Second control information and the storage of the batch event of matching are arrived into the configured list.
Alternatively, the first control information for determining batch event is obtained, including:
Receive the voice messaging from voice capture device;
The voice messaging is converted into text message;
The text message is segmented according to text database and error correction, obtain the textual form first control
Information.
Alternatively, after obtaining the first control information for determining batch event, methods described also includes:
Played according to preset instructions for indicating that the first control information obtains successful voice messaging.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of plant control unit based on batch event, the dress
Put including:
Determining module, for obtaining the first control information for being used for determining batch event;
Enquiry module, for according to the first control information query configuration list, to determine first control information
Corresponding batch event;The configured list is used for the corresponding relation for recording the first control information and batch event;
Acquisition module, for obtaining control instruction corresponding to each event in the batch event;
Control module, for controlling controlled device to perform action corresponding with the event according to the control instruction.
Alternatively, the acquisition module includes:
Resolution unit, it is corresponding with each event to determine for parsing each event in the batch event
Controlled device and control parameter;
Generation unit, for being referred to according to the controlled device and control parameter generation control corresponding with the event
Order.
Alternatively, the control parameter include preset instructions, time interval, type of action, one kind in sorting position or
Person is a variety of.
Alternatively, described device also includes the first configuration module, and first configuration module includes:
Display unit, for showing the first predetermined number event;
First receiving unit, for receiving the control of the second predetermined number event being triggered and each event successively
Parameter;The second predetermined number event is some or all of event in the first predetermined number event;
Acquiring unit, for obtaining the second control information;
Matching unit, for being matched and being criticized second control information and the second predetermined number event
Amount event;
Memory cell, for the batch event storage of second control information and matching to be arrived into the configured list.
Alternatively, the determining module includes:
Second receiving unit, for receiving the voice messaging from voice capture device;
Converting unit, for the voice messaging to be converted into text message;
Participle unit, for being segmented according to text database to the text message and error correction, obtain the text
First control information of form.
Alternatively, described device also includes:
Playing module, successful voice messaging is obtained for playing the first control information of instruction according to preset instructions.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of electronic equipment, the electronic equipment include:
Display screen;Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch thing corresponding to first control information
Part;The configured list is used for the corresponding relation for recording the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with calculating
Machine program, some computer instructions is stored with the computer-readable recording medium, the computer instruction enters when being performed
The following processing of row:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch thing corresponding to first control information
Part;The configured list is used for the corresponding relation for recording the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction.
The technical scheme provided by this disclosed embodiment can include the following benefits:
From above-described embodiment, pass through first control information of acquisition in the embodiment of the present disclosure, you can should with basis
First control information determine corresponding to batch event, then obtain each event in the batch event obtain corresponding to control refer to
Order, the finally action according to corresponding to each control instruction controls controlled device to perform the event.It can be seen that the embodiment of the present disclosure
Scheme can realize " once puing question to multiple answers ", put question to number and stand-by period so as to reduce user, greatly reduce use
The use cost at family, improve the usage experience of user.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow signal of apparatus control method based on batch event according to an exemplary embodiment
Figure;
Fig. 2 is that a kind of flow of apparatus control method based on batch event according to further example embodiment is shown
It is intended to;
Fig. 3 is the schematic flow sheet that control flow is obtained according to voice messaging;
Fig. 4 is that a kind of flow of apparatus control method based on batch event according to another exemplary embodiment is shown
It is intended to;
Fig. 5 is that a kind of flow of apparatus control method based on batch event according to further example embodiment is shown
It is intended to;
Fig. 6 is the schematic diagram of a scenario of the apparatus control method of an exemplary embodiment;
Fig. 7 is a kind of block diagram of plant control unit based on batch event according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of plant control unit based on batch event according to another exemplary embodiment;
Fig. 9 is a kind of block diagram of plant control unit based on batch event according to another exemplary embodiment;
Figure 10 is a kind of block diagram of plant control unit based on batch event according to further example embodiment;
Figure 11 is a kind of frame of control information acquisition device based on batch event according to an exemplary embodiment
Figure;
Figure 12 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The consistent device example of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow signal of apparatus control method based on batch event according to an exemplary embodiment
Figure.The apparatus control method can be applied on terminal device, personal computer or server, for example, by installed in
Either application program or software are realized on server for terminal device, personal computer.Wherein the terminal device can be sound
Case, smart mobile phone, tablet personal computer or control terminal etc..To be provided with voice capture device and processor in the embodiment of the present disclosure
Audio amplifier exemplified by illustrate.When the embodiment of the present disclosure is using audio amplifier as executive agent, it can be completed by the processor of the audio amplifier, be
Simplify explanation, directly illustrated in the present embodiment with audio amplifier.Referring to Fig. 1, the apparatus control method includes:
Step 101, the first control information for determining batch event is obtained.
In the embodiment of the present disclosure, audio amplifier obtains the first control information.The phase that first control information can be obtained by audio amplifier
Obtain, can also receive to obtain by audio amplifier after closing data processing.In the present embodiment, first control information uses textual form.
In the present embodiment, there is corresponding relation in the first control information, with batch event for example, the corresponding relation is a pair
One or many-one, therefore batch event can be determined according to first control information.
Step 102, according to the first control information query configuration list, to determine corresponding to first control information
Batch event;The configured list is used for the corresponding relation for recording the first control information and batch event.
In the embodiment of the disclosure one, the corresponding relation of the first control information and batch event is recorded in configured list.This is matched somebody with somebody
Putting list can be set in advance in audio amplifier, can also be arranged in database and be called by audio amplifier.
In the present embodiment, audio amplifier inquires about first control information in configured list, then can be true according to corresponding relation
Batch event corresponding to fixed first control information.
In the present embodiment, batch event refers to the event group that there are multiple events of ordinal relation to form, and adjacent two
There is time interval between individual event.Each event includes controlled device and control parameter.It will be appreciated that in the present embodiment
Batch event can be adjusted according to concrete scene, for example, increase event, deletion event, modification event sequence or two
Time interval between event etc., the present embodiment is not construed as limiting.
Wherein, controlled device is the equipment for having communication connection with audio amplifier, and is able to carry out corresponding function or dynamic
Make.Wherein communication connection can be wired connection or wireless connection.Wireless connection can use Wifi connections, bluetooth connection etc.
Form is realized.
Step 103, control instruction corresponding to each event in the batch event is obtained.
In the present embodiment, audio amplifier handles each event in the batch event according to sequencing successively, obtains and each
Control instruction corresponding to event.
For example, controlled device is stepper motor, event is rotated by 90 ° for stepper motor, and audio amplifier then generates one and corresponded to
The control pulse of event " stepper motor is rotated by 90 ° ".And for example, controlled device is LED, and event is that LED is bright, then audio amplifier
One switch order for corresponding to event " LED is bright " of generation.It is merely exemplary in the present embodiment to describe two and controlled set up
Standby, those skilled in the art according to concrete scene, can set the quantity of controlled device, and the present embodiment is not construed as limiting.
Step 104, controlled device is controlled to perform action corresponding with the event according to the control instruction.
In the present embodiment, each control instruction is sent to corresponding controlled device by audio amplifier, is set up with controlling this to be controlled
It is standby to perform action corresponding with the event.For example, control instruction is the control arteries and veins corresponding to event " stepper motor is rotated by 90 ° "
When rushing, when the stepper motor receives the control pulse, it is rotated by 90 °.And for example, control instruction is bright corresponding to event LED "
Switch order when, the LED brightens when receiving switch order.
It can be seen that the scheme audio amplifier of the embodiment of the present disclosure receives first control information, multiple be controlled can be controlled to set up
The standby event of correspondence that performs acts accordingly, it is possible to achieve and " once puing question to multiple answers ", so as to reduce user's enquirement number and wait
The time is treated, greatly reduces the use cost of user, improves the usage experience of user.Fig. 2 is according to an exemplary implementation
A kind of schematic flow sheet of the apparatus control method based on batch event exemplified.Referring to Fig. 2, the apparatus control method bag
Include:
Step 201, the first control information for determining batch event is obtained according to the voice messaging of reception.
In the embodiment of the disclosure one, first control information is to be obtained by audio amplifier according to the voice messaging of reception.The language
Message ceases to be gathered by the voice capture device of the audio amplifier.Referring to Fig. 3, the voice capture device of audio amplifier is receiving voice messaging
(during corresponding step 301), the voice messaging is converted into text message (corresponding step 302) by the processor of audio amplifier;Then basis
Text message is segmented text database and error correction, obtains the first control information of textual form, and the first control letter
Breath (corresponding step 303) in the configured list.
It should be noted that the present embodiment text data storehouse can be pre-configured in audio amplifier or in database.Should
Text database includes the standard terminology and generic term of multiple fields, can also include user-defined multiple terms.
In the embodiment of the disclosure one, if not including user-defined term in text database, audio amplifier controls first
After information participle (remove segment word, for example, and or wait) matched with term in text database, according to matching knot
Fruit determines participle implication., can containing according to adjacent participle if the participle of the first control information is not present in text database
Justice determines the implication of the participle, and same or similar term is then matched in text database, that is, realizes and controlled to first
Information processed carries out error correction.Using the first control information after error correction as the first final control information.
If text database includes user-defined term, participle and text data of the audio amplifier in the first control information
In storehouse after term matching.Specific matching process refers to the preceding paragraph and fallen, and will not be repeated here.
It should be noted that in the embodiment of the present disclosure, audio amplifier can also directly receive the first control information of textual form,
Because the first control information of textual form reduces the process that voice is converted to text message, in follow-up processing procedure is above-mentioned
Hold identical, will not be repeated here.
Step 202, according to the first control information query configuration list, to determine corresponding to first control information
Batch event;The configured list is used for the corresponding relation for recording the first control information and batch event.
Step 202 is consistent with principle with the specific method of step 102, and the correlation that refer to Fig. 1 and step 102 is described in detail
Content, here is omitted.
Step 203, control instruction corresponding to each event in the batch event is obtained.
Step 203 is consistent with principle with the specific method of step 103, and the correlation that refer to Fig. 1 and step 103 is described in detail
Content, here is omitted.
Step 204, controlled device is controlled to perform action corresponding with the event according to the control instruction
Step 204 is consistent with principle with the specific method of step 104, and the correlation that refer to Fig. 1 and step 104 is described in detail
Content, here is omitted.
In the embodiment of the disclosure one, audio amplifier after being successfully received the first control information or being successfully processed batch event,
Read preset instructions and played according to the preset instructions for indicating that the first control information obtains successful voice messaging.Certainly
Other preset instructions can be read, and are played according to other preset instructions for indicating that the first control information obtains failure
Voice messaging.User can so understood to input successfully or fail.
It can be seen that in the scheme of the embodiment of the present disclosure audio amplifier by being segmented to the first control information of reception and error correction,
The problem of user's accent or slip of the tongue can be corrected, the degree of accuracy of the first control information can be improved, improve the use of user
Experience.Acted accordingly in addition, the embodiment of the present disclosure can control multiple controlled devices to perform corresponding event, it is possible to achieve
" once puing question to multiple answers ", number and stand-by period are putd question to so as to reduce user, greatly reduces the use cost of user,
Further lift the usage experience of user.
Fig. 4 is a kind of flow signal of apparatus control method based on batch event according to an exemplary embodiment
Figure.Referring to Fig. 4, the apparatus control method includes:
Step 401, the first control information for determining batch event is obtained.
Step 401 is consistent with principle with the specific method of step 101, and the correlation that refer to Fig. 1 and step 101 is described in detail
Content, here is omitted.
Step 402, according to the first control information query configuration list, to determine corresponding to first control information
Batch event;The configured list is used for the corresponding relation for recording the first control information and batch event.
Step 402 is consistent with principle with the specific method of step 102, and the correlation that refer to Fig. 1 and step 102 is described in detail
Content, here is omitted.
Step 403, parse each event in the batch event, with determine corresponding with event controlled device and
Control parameter.
In the present embodiment, audio amplifier handles each event in the batch event successively from batch event, i.e. parsing is each
Event determines controlled device corresponding with each event and control parameter.
Wherein, control parameter includes the one or more in preset instructions, time interval, type of action, sorting position.
Certainly, the control parameter can be configured and adjust according to concrete scene, and the present embodiment is not construed as limiting.
Step 404, control instruction corresponding with the event is generated according to the controlled device and the control parameter.
In the present embodiment, audio amplifier is according to the characteristics of controlled device, and the control parameter of the controlled device, and generation is with being somebody's turn to do
Control instruction corresponding to event.For example, controlled device is stepper motor, event is rotated by 90 ° for stepper motor, and audio amplifier is then given birth to
The control pulse for corresponding to event " stepper motor is rotated by 90 ° " into one.And for example, controlled device is LED, event LED
Lamp is bright, then audio amplifier generates a switch order for corresponding to event " LED is bright ".It is merely exemplary in the present embodiment to describe two
Individual controlled device, those skilled in the art according to concrete scene, can set the quantity of controlled device, and the present embodiment is not made
Limit.
Step 405, controlled device is controlled to perform action corresponding with the event according to the control instruction.
Step 405 is consistent with principle with the specific method of step 104, and the correlation that refer to Fig. 1 and step 104 is described in detail
Content, here is omitted.
It can be seen that audio amplifier is different according to different controlled devices and control parameter generation in the scheme of the embodiment of the present disclosure
Control instruction, the situation of malfunction can be avoided the occurrence of, control accuracy can be improved.In addition, the embodiment of the present disclosure can control
Multiple controlled devices perform corresponding event and acted accordingly, it is possible to achieve and " once puing question to multiple answers ", so as to reduce user
Number and stand-by period are putd question to, greatly reduces the use cost of user, further lifts the usage experience of user.
Fig. 5 is a kind of flow signal of apparatus control method based on batch event according to an exemplary embodiment
Figure.Referring to Fig. 5, the apparatus control method includes:
Step 501, the first control information for determining batch event is obtained.
Step 501 is consistent with principle with the specific method of step 101, and the correlation that refer to Fig. 1 and step 101 is described in detail
Content, here is omitted.
Step 502, configured list is set.
In the present embodiment, audio amplifier can also be according to the operation setting configured list of user, i.e. user is by the second control information
Matched with multiple events, because control information herein is not matched also with event, therefore referred to as the second control information,
To be different from the first control information of matched completion.Referring to Fig. 5, when it is determined that setting configured list pattern, audio amplifier passes through
Display shows the first predetermined number event.First predetermined number can be configured according to being actually needed, for example,
All intelligent controllable devices can be included in Intelligent household scene, including, air-conditioning, humidifier, sweeping robot, LED, sound
Sound, intelligent television, etc..
User adjusts the control of the controlled device of event in the event for selecting to need by button or touch operation
One in parameter processed, including response time (i.e. with the time interval of other events), preset instructions, type of action, sorting position
Kind is a variety of.Repeat the above steps, the second predetermined number event can be obtained.The second predetermined number event is described
Some or all of event in first predetermined number event.Audio amplifier receives the second predetermined number event and each successively
The control parameter of event.
Certainly, the first predetermined number event can also play out in voice capture device, by user according to carrying
Show the event of triggering selection needs, because selection course is with selecting event similar on display, will not be repeated here.
User obtains the second control information by voice capture device input voice information, audio amplifier according to the voice messaging.
Then, audio amplifier is matched second control information with the second predetermined number event to obtain batch event, and is stored to matching somebody with somebody
Put in list, realize the increase operation to configured list.
Audio amplifier can also be deleted configured list according to the trigger action of user, adjustment order etc., different superfluous herein
State.
Step 503, according to the first control information query configuration list, to determine corresponding to first control information
Batch event;The configured list is used for the corresponding relation for recording the first control information and batch event;
Step 503 is consistent with principle with the specific method of step 102, and the correlation that refer to Fig. 1 and step 102 is described in detail
Content, here is omitted.
Step 504, control instruction corresponding to each event in the batch event is obtained.
Step 504 is consistent with principle with the specific method of step 103, and the correlation that refer to Fig. 1 and step 103 is described in detail
Content, here is omitted.
Step 505, controlled device is controlled to perform action corresponding with the event according to the control instruction
Step 505 is consistent with principle with the specific method of step 104, and the correlation that refer to Fig. 1 and step 104 is described in detail
Content, here is omitted.
In the embodiment of the disclosure one, user passes through voice capture device (such as microphone) multiple trigger event:The tenant Room
Ceiling lamp is opened;Bedroom door is opened;Sweeping robot is gone out sweep the floor (including travel route);Audio amplifier commences play out that happy birthday
Song;Sweeping robot stops in parlor middle;Parlor ceiling lamp is closed, parlor desk lamp is opened, is adjusted to warm colour atmosphere;Birthday
After fast music and songs plays, audio amplifier stops playing.Then by voice capture device input voice information, " I prepares user to you
One present ".
Audio amplifier by voice messaging " I has prepared a present to you " be converted to textual form " I has prepared one to you
Present ", then match to obtain batch event with multiple trigger events.
Fig. 6 is the schematic diagram of a scenario of the apparatus control method of an exemplary embodiment, and exemplary theory is carried out with reference to Fig. 6
Bright, referring to Fig. 6, when destination object enters the tenant Room, user says:" I has prepared a present to you ".
The voice capture device 601 of audio amplifier is converted into voice messaging after above-mentioned audio-frequency information is collected.The basis of audio amplifier 602
The voice messaging obtains the first control information for determining batch event.Then arranged according to the first control information query configuration
Table, determine batch event 603 corresponding to first control information.Audio amplifier 602 handles each event in batch event successively, obtains
To control instruction corresponding with the event;Controlled device is controlled to perform action corresponding with the event according to each control instruction.
Following scene now occurs in the tenant Room:Tenant Room ceiling lamp opening 6031->Bedroom door opening 6032->Sweeping robot
Go out to sweep the floor 6033 (birthday cake can be placed above)->Audio amplifier commences play out that happy birthday song 6034->Sweeper
Device people stops 6035 in parlor middle->Close parlor ceiling lamp, open parlor desk lamp, be adjusted to warm colour atmosphere 6036->
Happy birthday song play after, audio amplifier stop play, so as to build a romantic birthday party scene.
In the another embodiment of the disclosure, for example, audio amplifier receives the first control information " who are you ", according to above-mentioned voice messaging
" who are you " determines the first control information of batch event, then according to the first control information query configuration list, it is determined that should
Batch event corresponding to first control information, obtain batch event " I be pig, the grunting of hogs sound of 10 seconds ".Audio amplifier is according to above-mentioned batch
Amount event generates control instruction, and control audio amplifier plays " I is pig ", while plays " grunting of hogs sound " 10 seconds.So user can be with
Oneself friend jokes, so as to increase the joy of life.
It can be seen that in the embodiment of the present disclosure, user only needs to send first control information, without to each quilt
Control device is controlled successively, reduces user and puts question to number and stand-by period, greatly reduces the use cost of user, and lifting is used
The usage experience at family.
Fig. 7 is a kind of block diagram of plant control unit based on batch event according to an exemplary embodiment.Ginseng
See Fig. 7, the device includes:
Determining module 701, for obtaining the first control information for being used for determining batch event;
Enquiry module 702, for according to the first control information query configuration list, to determine that first control is believed
Batch event corresponding to breath;The configured list is used for the corresponding relation for recording the first control information and batch event;
Processing module 703, for obtaining control instruction corresponding to each event in the batch event;
Control module 704, for controlling controlled device to perform action corresponding with the event according to the control instruction.
In the embodiment of the disclosure one, referring to Fig. 8, the processing module 703 includes:
Resolution unit 801, for parsing each event in the batch event, to determine quilt corresponding with each event
Control device and control parameter;
Generation unit 802, for according to the controlled device and control parameter generation control corresponding with the event
System instruction.
In the embodiment of the disclosure one, the control parameter includes preset instructions, time interval, type of action, sorting position
In one or more.
In the embodiment of the disclosure one, referring to Fig. 9, described device also includes the first configuration module, first configuration module
Including:
Display unit 901, for showing the first predetermined number event;
First receiving unit 902, for receiving the second predetermined number event being triggered and each event successively
Control parameter;The second predetermined number event is some or all of event in the first predetermined number event;
Acquiring unit 903, for obtaining the second control information;
Matching unit 904, for match second control information and the second predetermined number event
To batch event;
Memory cell 905, for the batch event storage of second control information and matching to be arranged to the configuration
Table.
In the embodiment of the disclosure one, referring to Figure 10, the determining module 701 includes:
Second receiving unit 1001, for receiving the voice messaging from voice capture device;
Converting unit 1002, for the voice messaging to be converted into text message;
Participle unit 1003, for being segmented according to text database to the text message and error correction, obtain described
First control information of textual form.
Figure 11 is a kind of frame of control information acquisition device based on batch event according to an exemplary embodiment
Figure.Referring to Figure 11, the device:
Playing module 1101, successful voice messaging is obtained for playing the first control information of instruction according to preset instructions.
The embodiment of the disclosure one additionally provides a kind of electronic equipment, and the electronic equipment includes:
Display screen;Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch thing corresponding to first control information
Part;The configured list is used for the corresponding relation for recording the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction.
The embodiment of the disclosure one additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, institute
State and some computer instructions are stored with computer-readable recording medium, the computer instruction is located as follows when being performed
Reason:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch thing corresponding to first control information
Part;The configured list is used for the corresponding relation for recording the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction
Figure 12 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.For example, electronic equipment 1200 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, it is good for
Body equipment, personal digital assistant etc..
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is used for:
The first default feature of the viewer is obtained according to the historical record of viewer;
The second default feature of the buyer is obtained according to the historical record of each buyer at least one buyer;Institute
State at least one buyer by the viewer browse commodity at least one evaluation be determined;
The phase of the viewer and each buyer are obtained according to the described first default feature and the second default feature
Like angle value;
It is ranked up according at least one evaluation of the Similarity value to the commodity.
Reference picture 12, electronic equipment 1200 can include following one or more assemblies:Processing component 1202, memory
1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor
Component 1214, and communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as communicated with display, call, data,
The operation that camera operation and record operation are associated.Processing component 1202 can include one or more processors 1220 to perform
Instruction.In addition, processing component 1202 can include one or more modules, it is easy between processing component 1202 and other assemblies
Interaction.For example, processing component 1202 can include multi-media module, with facilitate multimedia groupware 1208 and processing component 1202 it
Between interaction.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data
Example includes being used for the instruction of any application program or method operated on device 1200, contact data, telephone book data,
Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1200.
Multimedia groupware 1208 is included in the screen of one output interface of offer between described device 1200 and user.
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed
Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic
The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, it is more
Media component 1208 includes a front camera and/or rear camera.When device 800 is in operator scheme, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured as exporting and/or inputting audio-frequency information.For example, audio-frequency assembly 1210 includes a wheat
Gram wind (MIC), when device 1200 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio information.The audio-frequency information received can be further stored in memory 1204 or via communication
Component 1216 is sent.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, for exporting audio-frequency information.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor cluster 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented
Estimate.For example, sensor cluster 1214 can detect opening/closed mode of device 1200, the relative positioning of component, such as institute
The display and keypad that component is device 1200 are stated, sensor cluster 1214 can be with detection means 1200 or device 1,200 1
The position of individual component changes, the existence or non-existence that user contacts with device 1200, the orientation of device 1200 or acceleration/deceleration and dress
Put 1200 temperature change.Sensor cluster 1214 can include proximity transducer, be configured in no any physics
The presence of object nearby is detected during contact.Sensor cluster 1214 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1214 can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress
The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1200.It is exemplary at one
In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1216 also includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1204 of instruction, above-mentioned instruction can be performed by the processor 1220 of device 1200.For example, the non-transitory
Computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage
Equipment etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (14)
1. a kind of apparatus control method based on batch event, it is characterised in that applied to audio amplifier, methods described includes:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch event corresponding to first control information;Institute
State the corresponding relation that configured list is used to record the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction.
2. batch event processing method according to claim 1, it is characterised in that obtain each in the batch event
Control instruction corresponding to event, including:
Each event in the batch event is parsed, to determine that controlled device corresponding with each event and control are joined
Number;
Control instruction corresponding with the event is generated according to the controlled device and the control parameter.
3. batch event processing method according to claim 2, it is characterised in that the control parameter includes default refer to
Make, the one or more in time interval, type of action, sorting position.
4. batch event processing method according to claim 1, it is characterised in that inquired about according to first control information
Before configured list, methods described also includes:
Show the first predetermined number event;
The control parameter of the second predetermined number event being triggered and each event is received successively;Second predetermined number
Individual event is some or all of event in the first predetermined number event;
Obtain the second control information;
Second control information and the second predetermined number event are matched to obtain batch event;
Second control information and the storage of the batch event of matching are arrived into the configured list.
5. batch event processing method according to claim 1, it is characterised in that obtain for determine batch event
One control information, including:
Receive the voice messaging from voice capture device;
The voice messaging is converted into text message;
The text message is segmented according to text database and error correction, the first control for obtaining the textual form are believed
Breath.
6. batch event processing method according to claim 1, it is characterised in that obtain for determine batch event
After one control information, methods described also includes:
Played according to preset instructions for indicating that the first control information obtains successful voice messaging.
7. a kind of plant control unit based on batch event, it is characterised in that described device includes:
Determining module, for obtaining the first control information for being used for determining batch event;
Enquiry module, for according to the first control information query configuration list, to determine that first control information is corresponding
Batch event;The configured list is used for the corresponding relation for recording the first control information and batch event;
Acquisition module, for obtaining control instruction corresponding to each event in the batch event;
Control module, for controlling controlled device to perform action corresponding with the event according to the control instruction.
8. plant control unit according to claim 7, it is characterised in that the acquisition module includes:
Resolution unit, it is corresponding controlled with each event to determine for parsing each event in the batch event
Control equipment and control parameter;
Generation unit, for generating control instruction corresponding with the event according to the controlled device and the control parameter.
9. plant control unit according to claim 8, it is characterised in that the control parameter include preset instructions, when
Between one or more in interval, type of action, sorting position.
10. plant control unit according to claim 7, it is characterised in that described device also includes the first configuration module,
First configuration module includes:
Display unit, for showing the first predetermined number event;
First receiving unit, the control for receiving the second predetermined number event being triggered and each event successively are joined
Number;The second predetermined number event is some or all of event in the first predetermined number event;
Acquiring unit, for obtaining the second control information;
Matching unit, for being matched to obtain batch thing second control information and the second predetermined number event
Part;
Memory cell, for the batch event storage of second control information and matching to be arrived into the configured list.
11. plant control unit according to claim 7, it is characterised in that the determining module includes:
Second receiving unit, for receiving the voice messaging from voice capture device;
Converting unit, for the voice messaging to be converted into text message;
Participle unit, for being segmented according to text database to the text message and error correction, obtain the textual form
The first control information.
12. batch event processing unit according to claim 7, it is characterised in that described device also includes:
Playing module, successful voice messaging is obtained for playing the first control information of instruction according to preset instructions.
13. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
Display screen;Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch event corresponding to first control information;Institute
State the corresponding relation that configured list is used to record the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction.
14. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that described computer-readable
Some computer instructions are stored with storage medium, the computer instruction is handled as follows when being performed:
Obtain the first control information for determining batch event;
According to the first control information query configuration list, to determine batch event corresponding to first control information;Institute
State the corresponding relation that configured list is used to record the first control information and batch event;
Obtain control instruction corresponding to each event in the batch event;
Controlled device is controlled to perform action corresponding with the event according to the control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710618383.2A CN107391487A (en) | 2017-07-26 | 2017-07-26 | Apparatus control method and device, electronic equipment based on batch event |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710618383.2A CN107391487A (en) | 2017-07-26 | 2017-07-26 | Apparatus control method and device, electronic equipment based on batch event |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107391487A true CN107391487A (en) | 2017-11-24 |
Family
ID=60342620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710618383.2A Pending CN107391487A (en) | 2017-07-26 | 2017-07-26 | Apparatus control method and device, electronic equipment based on batch event |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107391487A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109387378A (en) * | 2018-10-23 | 2019-02-26 | 重庆西部汽车试验场管理有限公司 | The method of Data Acquisition System for Vehicle record trigger data |
CN109597601A (en) * | 2018-12-03 | 2019-04-09 | 苏州提点信息科技有限公司 | A kind of kitchen display system for supporting voice operating |
CN111292731A (en) * | 2018-11-21 | 2020-06-16 | 深圳绿米联创科技有限公司 | Voice information processing method and device, electronic equipment and storage medium |
CN112346697A (en) * | 2020-09-14 | 2021-02-09 | 北京沃东天骏信息技术有限公司 | Method, device and storage medium for controlling equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188026A (en) * | 2011-12-28 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Voice broadcasting control device |
CN104200806A (en) * | 2014-09-05 | 2014-12-10 | 马金保 | Intelligent household linkage control method and system |
CN104575501A (en) * | 2015-01-19 | 2015-04-29 | 北京云知声信息技术有限公司 | Analysis method and system of voice control instruction of radio |
CN105093947A (en) * | 2015-07-13 | 2015-11-25 | 小米科技有限责任公司 | Intelligent device control method and apparatus |
CN105527931A (en) * | 2014-09-28 | 2016-04-27 | 丰唐物联技术(深圳)有限公司 | Intelligent household device and control method |
CN106886170A (en) * | 2015-12-16 | 2017-06-23 | 美的集团股份有限公司 | The control method of household electrical appliance, system and audio amplifier |
-
2017
- 2017-07-26 CN CN201710618383.2A patent/CN107391487A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188026A (en) * | 2011-12-28 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Voice broadcasting control device |
CN104200806A (en) * | 2014-09-05 | 2014-12-10 | 马金保 | Intelligent household linkage control method and system |
CN105527931A (en) * | 2014-09-28 | 2016-04-27 | 丰唐物联技术(深圳)有限公司 | Intelligent household device and control method |
CN104575501A (en) * | 2015-01-19 | 2015-04-29 | 北京云知声信息技术有限公司 | Analysis method and system of voice control instruction of radio |
CN105093947A (en) * | 2015-07-13 | 2015-11-25 | 小米科技有限责任公司 | Intelligent device control method and apparatus |
CN106886170A (en) * | 2015-12-16 | 2017-06-23 | 美的集团股份有限公司 | The control method of household electrical appliance, system and audio amplifier |
Non-Patent Citations (2)
Title |
---|
吴玲达等: "多媒体人机交互技术", 《多媒体人机交互技术》 * |
魏保志著: "发明专利保护客体典型案例评析", 《发明专利保护客体典型案例评析》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109387378A (en) * | 2018-10-23 | 2019-02-26 | 重庆西部汽车试验场管理有限公司 | The method of Data Acquisition System for Vehicle record trigger data |
CN111292731A (en) * | 2018-11-21 | 2020-06-16 | 深圳绿米联创科技有限公司 | Voice information processing method and device, electronic equipment and storage medium |
CN109597601A (en) * | 2018-12-03 | 2019-04-09 | 苏州提点信息科技有限公司 | A kind of kitchen display system for supporting voice operating |
CN112346697A (en) * | 2020-09-14 | 2021-02-09 | 北京沃东天骏信息技术有限公司 | Method, device and storage medium for controlling equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104932455B (en) | The group technology and apparatus for grouping of smart machine in intelligent domestic system | |
CN104330996B (en) | Remote control thereof and device | |
CN105388453B (en) | The method and device of positioning intelligent equipment | |
CN107391487A (en) | Apparatus control method and device, electronic equipment based on batch event | |
CN105093947A (en) | Intelligent device control method and apparatus | |
CN105119958B (en) | Control the method and device of smart machine | |
CN105306752B (en) | The method and device that generation event is reminded | |
CN104156204B (en) | Set up the method and device of calendar entry | |
CN106791921A (en) | The processing method and processing device of net cast | |
CN105933539A (en) | Audio playing control method and device, and terminal | |
CN104159360A (en) | Illumination control method, device and equipment | |
CN107943409A (en) | Touch-screen control method and device | |
CN108710306A (en) | Control method, device and the computer readable storage medium of smart machine | |
CN106528081A (en) | Method and device for operation execution | |
CN106203650A (en) | Call a taxi and ask sending method and device | |
CN106603350A (en) | Information display method and apparatus | |
CN107529699A (en) | Control method of electronic device and device | |
CN108108671A (en) | Description of product information acquisition method and device | |
CN107371052A (en) | Apparatus control method and device | |
CN107635074A (en) | Control the method and device of quarter-bell | |
CN107564196A (en) | Storing apparatus control method and device | |
CN106657585A (en) | Method and device for regulating frequency of intercom | |
CN106101413A (en) | Terminal paging method and device | |
CN106453058A (en) | Information pushing method and apparatus | |
CN107393528A (en) | Sound control method and 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 |