Summary of the invention
The present invention is directed at least solve one of above-mentioned technical problem.
For this purpose, the first purpose of this invention is to propose a kind of control method of robot, one can be shaken by mobile phone
The mode shaken is realized to be interacted with intelligent robot, avoids the selection of user difficult.
To achieve the goals above, embodiment of the invention discloses a kind of control methods of robot, including following step
It is rapid: to receive the behavior classification determine instruction for being used to control robot mutual-action behavior that mobile terminal is sent;According to the behavior class
Other determine instruction obtains the data information of respective classes from database;Receive the mutual-action behavior control that the mobile terminal is sent
Signal, wherein the mutual-action behavior control signal is generated by way of shaking according to the mobile terminal;According to described
Mutual-action behavior control signal selects corresponding data information to generate mutual-action behavior control from the data information of the respective classes
Instruction;The second mutual-action behavior control instruction is sent to the robot, so that the robot is mutual according to described second
Dynamic behaviour control instruction execution corresponding actions.
Further, the behavior classification determine instruction includes audio play instruction, video playing instruction and limb action
At least one of instruction instruction, wherein the limb action instruction executes corresponding limbs row for controlling the robot
For movement.
Further, described that phase is selected from the data information of the respective classes according to mutual-action behavior control signal
The data information answered generates mutual-action behavior control instruction: obtaining the mutual-action behavior assisted Selection letter of user's input
Breath, wherein the mutual-action behavior assisted Selection information include age of user, the time of mutual-action behavior, in user preferences type extremely
A kind of few information;Signal and the mutual-action behavior assisted Selection information are controlled from the respective classes according to the mutual-action behavior
Corresponding data information is selected in data information;The mutual-action behavior control instruction is generated according to the data information of selection.
Further, described when the behavior determines that classification instruction includes audio play instruction or video playing instruction
Mutual-action behavior assisted Selection information further includes creator's information.
Further, when the behavior determines that classification instruction includes audio play instruction, the mutual-action behavior auxiliary choosing
Selecting information further includes cadence information.
The control method of robot according to an embodiment of the present invention selects the behavior classification of robot first, then passes through
The mode that mobile phone shakes makes robot execute corresponding operation in the behavior classification chosen, can be tired to avoid the selection of user
It is difficult.
For this purpose, second object of the present invention is to propose a kind of control method of robot, one can be shaken by mobile phone
The mode shaken is realized to be interacted with intelligent robot, avoids the selection of user difficult.
To achieve the goals above, embodiment of the invention discloses a kind of control systems of robot, comprising: communication mould
Block, for receiving the behavior classification determine instruction and mutual-action behavior control signal of mobile terminal transmission, so that the robot root
Corresponding actions are executed according to the mutual-action behavior control instruction, wherein the behavior classification determine instruction is for determining the machine
The mutual-action behavior classification of people, the mutual-action behavior control signal is generated by way of shaking according to the mobile terminal;
Memory module, for storing data information;Control module, the control module be used for according to the behavior classification determine instruction from
The data information of respective classes is obtained in the memory module, the control module, which is also used to control according to the mutual-action behavior, to be believed
Corresponding data information number is selected to generate the mutual-action behavior control instruction from the data information of the respective classes.
Further, the behavior classification determine instruction includes audio play instruction, video playing instruction and limb action
At least one of instruction instruction, wherein the limb action instruction executes corresponding limbs row for controlling the robot
For movement.
Further, the control module is further used for obtaining the mutual-action behavior assisted Selection information of user's input, and
Signal and the mutual-action behavior assisted Selection information are controlled from the data information of the respective classes according to the mutual-action behavior
Corresponding data information is selected, and then the mutual-action behavior control instruction is generated according to the data information of selection;Wherein, described mutual
It includes at least one of age of user, the time of mutual-action behavior, user preferences type information that selection information is assisted in dynamic behavior.
Further, described when the behavior classification determine instruction includes audio play instruction or video playing instructs
Mutual-action behavior assisted Selection information further includes creator's information.
Further, when the behavior classification determine instruction includes audio play instruction, the mutual-action behavior auxiliary choosing
Selecting information further includes cadence information.
The control system of robot according to an embodiment of the present invention selects the behavior classification of robot first, then passes through
The mode that mobile phone shakes makes robot execute corresponding operation in the behavior classification chosen, can be tired to avoid the selection of user
It is difficult.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", "upper", "lower",
The orientation or positional relationship of the instructions such as "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside" is
It is based on the orientation or positional relationship shown in the drawings, is merely for convenience of description of the present invention and simplification of the description, rather than instruction or dark
Show that signified device or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as pair
Limitation of the invention.In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply opposite
Importance.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
Referring to following description and drawings, it will be clear that these and other aspects of the embodiment of the present invention.In these descriptions
In attached drawing, some particular implementations in the embodiment of the present invention are specifically disclosed, to indicate to implement implementation of the invention
Some modes of the principle of example, but it is to be understood that the scope of embodiments of the invention is not limited.On the contrary, of the invention
Embodiment includes all changes, modification and the equivalent fallen within the scope of the spirit and intension of attached claims.
The present invention is described below in conjunction with attached drawing.
Fig. 1 is the flow chart of the control method of the robot of one embodiment of the invention.As shown in Figure 1, the present invention is implemented
The control method of the robot of example, comprising the following steps:
S1: the behavior classification determine instruction for being used to control robot mutual-action behavior that mobile terminal is sent is received.
Specifically, mobile terminal sends behavior classification determine instruction to the communication terminal of robot.At of the invention one
In embodiment, behavior classification determine instruction includes in audio play instruction, video playing instruction and the instruction of limbs behavior act
At least one instruction.Wherein, limb action instruction executes corresponding limbs behavior act, such as control machine for controlling robot
Device people walking or lift hand etc..
S2: the data information of respective classes is obtained from database according to behavior classification determine instruction.
Specifically, after robot receives behavior classification determine instruction, the data information of respective classes is obtained from database.
Such as after receiving audio play instruction, audio-frequency information is obtained from audio repository.
S3: it receives the mutual-action behavior that mobile terminal is sent and controls signal.Wherein, mutual-action behavior control signal is according to movement
Terminal is generated by way of shaking.
Specifically, setting mobile terminal generates mutual-action behavior control signal by way of shaking, which can
Movement is executed to control robot.
S4: signal is controlled according to mutual-action behavior, corresponding data information is selected to generate mutually from the data information of respective classes
Dynamic behaviour control instruction.
In an example of the invention, robot controls signal from music class data information according to the first mutual-action behavior
A Duan Yinle is selected, and generates the second mutual-action behavior control instruction for playing this section of music.
In one embodiment of the invention, step S4 further comprises:
S401: the mutual-action behavior assisted Selection information of user's input is obtained.Wherein, mutual-action behavior assisted Selection information includes
At least one of age of user, the time of mutual-action behavior, user preferences type information.Such as when user selects to broadcast in step s 2
When putting the music on, if the object of robot broadcasting music is 1 to 2 year old child, the time of mutual-action behavior can be set as evening 9
O'clock to 9 thirty, light music is played.
Further, when behavior classification determine instruction includes audio play instruction or video playing instructs, mutual-action behavior
Assisted Selection information further includes creator's information, such as selects the works for being suitble to the author of child age section.
Further, when behavior classification determine instruction includes audio play instruction, mutual-action behavior assisted Selection information is also
Including cadence information, comfortable rhythm is conducive to children's sleep.
S402: signal and mutual-action behavior assisted Selection information are controlled from the data information of respective classes according to mutual-action behavior
Corresponding data information is selected, such as selects lullaby from audio repository.
S403: mutual-action behavior control instruction is generated according to the data information of selection.
S5: the second mutual-action behavior control instruction is sent to robot, so that robot is according to mutual-action behavior control instruction
Corresponding actions are executed, such as the instruction for playing lullaby is sent to robot, so that robot plays lullaby.
The control method of robot according to an embodiment of the present invention selects the behavior classification of robot first, then passes through
The mode that mobile phone shakes makes robot execute corresponding operation in the behavior classification chosen, can be tired to avoid the selection of user
It is difficult.
Fig. 2 is the structural block diagram of the control system of the robot of one embodiment of the invention.As shown in Fig. 2, the present invention is real
Apply the control system of the robot of example, comprising: communication module 210, memory module 220 and control module 230.
Wherein, communication module 210 is used to receive the behavior classification determine instruction and mutual-action behavior control of mobile terminal transmission
Signal, so that robot executes corresponding actions according to mutual-action behavior control instruction.Wherein, behavior classification determine instruction is for determining
The mutual-action behavior classification of robot, mutual-action behavior, which controls signal, to be generated by way of shaking according to mobile terminal.Storage
The information for storing data of module 220.Control module 230 is used to obtain phase from memory module according to behavior classification determine instruction
Answer the data information of classification.Control module 230 is also used to control signal from the data information of respective classes according to mutual-action behavior
Corresponding data information is selected to generate mutual-action behavior control instruction.
The control system of robot according to an embodiment of the present invention selects the behavior classification of robot first, then passes through
The mode that mobile phone shakes makes robot execute corresponding operation in the behavior classification chosen, can be tired to avoid the selection of user
It is difficult.
In one embodiment of the invention, behavior classification determine instruction includes audio play instruction, video playing instruction
With limb action instruction at least one of instruction.Wherein, limb action instruction executes corresponding limbs for controlling robot
Behavior act.
In one embodiment of the invention, it is auxiliary to be further used for the mutual-action behavior that acquisition user inputs for control module 230
Selection information is helped, and signal and mutual-action behavior assisted Selection information are controlled from the data information of respective classes according to mutual-action behavior
Corresponding data information is selected, and then mutual-action behavior control instruction is generated according to the data information of selection.Wherein, mutual-action behavior is assisted
Helping selection information includes at least one of age of user, the time of mutual-action behavior, user preferences type information.
In one embodiment of the invention, when behavior classification determine instruction includes that audio play instruction or video playing refer to
When enabling, mutual-action behavior assisted Selection information further includes creator's information.
In one embodiment of the invention, when behavior classification determine instruction includes audio play instruction, mutual-action behavior
Assisted Selection information further includes cadence information.
It should be noted that the specific embodiment of the control system of the robot of the embodiment of the present invention and the present invention are implemented
The specific embodiment of the control method of the robot of example is similar, referring specifically to the description of method part, in order to reduce redundancy, no
It repeats.
In addition, the control method of the robot of the embodiment of the present invention and other compositions of control system and effect are for this
All be for the technical staff in field it is known, in order to reduce redundancy, do not repeat them here.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this
The range of invention is by claim and its equivalent limits.