[specific embodiment]
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, not
For limiting the application.
Traditional robot is when executing the tasks such as positioning and map structuring, article crawl, location navigation immediately, mass data
Acquisition and calculating execution can be brought to robot itself it is huge storage and calculating pressure.Based on this, Ka Naijimeilong is big
Learn the concept that " cloud robot " has been put forward for the first time in 2010.Cloud robot is cloud computing and the combination of robotics, as
Other network terminals are the same, and robot itself does not need to store all data informations or has superpower computing capability, only exist
It can connect associated server when needs and obtain information needed.Compared with traditional robot, cloud robot has stronger
Storage and computing capability, and learning ability is stronger, and shared resource is more convenient between robot, reduces developer's repetition
Working time.
Cloud robot is " brain is beyond the clouds ", i.e. cloud brain, is dynamically calculated as robot distribution resource, machine by cloud brain
Device people obtains treated result by network.Under normal conditions, the robot of all connections is controlled by a cloud brain, it is false
If the quantity of the robot of cloud brain control is million grades, when the cloud brain occurs any abnormal, not only influence whether
The function of all robots and great loss is brought to user and operator.Therefore, emphasis is needed in the deployment of cloud brain
Consider the problems of stability and safety, especially in the present age of internet rapid development, the effect of safety is even more important.
Based on above-mentioned consideration, the embodiment of the present application provides a kind of robot controller.Fig. 1 is robot control dress
The structural schematic diagram set, as shown in Figure 1, the device 200 include: parent cloud brain module 210, daughter cloud brain module 220 with
And control module 230, wherein daughter cloud brain module 220 quantitatively contains at least one.
In the present embodiment, logic isolation between the parent cloud brain module 210 and daughter cloud brain module 220 is so-called
Logic isolation is that the two has physically data channel line, but guarantees that segregate the two is logical without data by technological means
Road only can just transmit data when system is required.By the way that parent cloud brain module and daughter cloud brain module are carried out
Logic isolation, it is ensured that it is interference-free each other between parent cloud brain module and daughter cloud brain module, when one of them by
The normal use that another will not be influenced when attack, ensure that the stability of system on the whole.
The parent cloud brain module 210 is used at parent server, provides preset general utility functions to tele-robotic,
The parent server can be a server, be also possible to server cluster, it is being able to use it includes all robots, should
The corresponding application interface of general utility functions, so that the parent cloud brain module 210 be enable to be controlled according to the preset general utility functions
Its tele-robotic connected.Wherein, which refers in the system of the control robot, by parent cloud brain
When module 210 controls the robot, the function that the robot can be executed all, the function of all executing includes: clothes
Business inquiry (such as flight inquiring, weather lookup, tourism inquiry, map inquiry etc.);Automatically control and repeatable programming, have it is multiple
Freedom degree can be fixed or be moved (such as robot used in automated system);Learning functionality and automatic repetition are learned dynamic
Work energy;Speech recognition and speech understanding function;Image identification function;Environment adaptive functions;Amusement function (such as sing,
Dance etc.);Microoperation function (such as Medical Robot);Military function etc..
It should be noted that the function of all executing is the function of presetting in the system, it can basis
The features such as the service field of the robot of system control increase or delete function.
The daughter cloud brain module 220 is used at daughter server, and Xiang Suoshu tele-robotic provides preset basis
Function, the daughter server can be a server, be also possible to server cluster, and it includes all robots to be able to use
, the corresponding application interface of the basic function, to enable the daughter cloud brain module 220 according to the preset basic function
Control the tele-robotic of its connection.Wherein, which refers in the system of the control robot, by daughter cloud
When brain module 220 controls the robot, some basic operations that the robot is able to carry out, for example, advance, after
It moves back, turn left, turning right, stopping, grabbing object, make a sound.
It is understood that the robot that the parent cloud brain module 210 controls be able to carry out it is complete under the system
Portion's function, i.e., the described general utility functions include the basic function.
In some alternative embodiments of the application, which also has preset exclusive function, son
The robot according to the preset exclusive function control of body cloud brain module 220 executes the corresponding operation of the exclusive function,
The preset exclusive function is some functions of exclusive customization in order to meet the needs of certain group client, and vastless to other
The open function of robot, the exclusive function specifically determine by customer demand, it is not limited here.
For example, being the guiding function of the exclusive setting of blind person customer group, can be added in a certain daughter cloud brain module
The cloud service application of the guiding function, so that corresponding robot is controlled by the daughter cloud brain module, to help user's guide.
For example, being the function of accompanying and attending to of the exclusive setting of old man customer group, which includes carrying out amusement friendship with old man
Mutually, there is fortuitous event alarm etc. in old man, and the cloud service of the function of accompanying and attending to can be added in a certain daughter cloud brain module
Using so that corresponding robot is controlled by the daughter cloud brain module, with old man group of accompanying and attending to.
The control module 230, it is tactful from the parent server and the daughter according to setting for controlling at equipment
The server of the tele-robotic service is selected as in server, the as described tele-robotic distributes suitable server,
Specifically distribution parent server still distributes daughter server by preset strategy to determine, can be whole remote machines
People distributes parent server, can also partially distribute parent server, part (for example providing the robot of exclusive function services)
Distribute daughter server.Provided that parent server gives the tele-robotic, then the tele-robotic is by parent cloud brain
Control, can execute preset general utility functions;Provided that daughter server gives the tele-robotic, the then remote machine
People is controlled by daughter cloud brain, can execute preset basic function.
In the present embodiment, the parent cloud brain module 210 and daughter cloud brain module 220 are disposed in virtual form
Beyond the clouds.For example, several virtual private clouds (Virtual Private Cloud, VPC) can be disposed in network beyond the clouds, draw
Point one or part VPC network configure the cloud service application of repertoire as the parent cloud brain module, remaining
VPC network can individually be divided according to robot industry or function, such as family's nursing robot, patrol robot, reception
Robot etc., the difference of basic function as needed divide corresponding daughter cloud brain module, and install basic cloud service
Using whole VPC networks forms a robot controller.Wherein, logic isolation between the VPC network of division, can be with
Logic isolation is carried out by the way of sandbox, the VPC of each division, can not interface channel between sandbox in a sandbox.
Sandbox is a kind of performing environment according to security strategy limiting program behavior, and the parent cloud brain module and daughter cloud of division is big
Brain module is placed on the safety that can be improved the system in sandbox.The control module 230 can be used as one of software or
Person's hardware function units, independent deployment on the control device, can also be used as the one of function being incorporated into control equipment
Energy module, to be selected as the tele-robotic from the parent server and the daughter server according to setting strategy
The server of service, wherein the control equipment can be the electronic equipments such as computer.
The embodiment of the present application provides a kind of robot controller, the device by the cloud brain of traditional cloud robot into
It has gone division, parent cloud and daughter cloud two parts has been divided into, and configure different functions for parent cloud and daughter cloud, by this
It divides, on the one hand, can guarantee the stability and safety of system on the whole, on the other hand, can better meet client needs
It asks, the system for customizing different control robots, the user experience is improved.
In some embodiments, the parent cloud brain module 210 is also used to provide high popularity to the tele-robotic
The corresponding function of demand for services.Wherein, which is intended to the demand being capable of providing, and is user
To the highest demand for services of user demand quantity in all demands for services of the robot, which should area
The primary demand of other client can evaluate the high popularity demand for services in conjunction with the implementation environment of customer demand and robot,
For example, sweeping robot also have the function of outside having indispensable floor sweeping function it is special etc., can also be popular first at that time
The high popularity demand for services is usually evaluated, for example, the robot is made to have the function etc. of playing current hot broadcast play automatically.?
After determining the high popularity demand for services, the corresponding cloud service of the high popularity demand for services is installed in parent cloud brain module and is answered
With.
Further, the daughter cloud brain module 220 is also used for providing the high popularity clothes to the tele-robotic
The corresponding function of business demand.When the corresponding function of the high popularity demand for services in the parent cloud brain module is destroyed
When, current robot can be switched to by daughter cloud brain module control, thus, by the function of backup make robot after
It is continuous to execute corresponding operation.At the same time, malfunction elimination, parent cloud brain module recovery can be carried out to parent cloud brain module
The parent cloud brain module is switched back into again after normal.
It should be noted that other than being backed up to the high popularity demand for services, it can also be to some of client
Special demands or some important needs are backed up, and the demand backed up in daughter cloud brain module can be added, be deleted.
In the present embodiment, standby by being carried out in some critical functions of the daughter cloud brain module to parent cloud brain module
Part, on the one hand, the stability for ensuring device operation makes robot be unlikely to be directly entered inoperable state, another
Aspect provides the time of a buffering to repair parent cloud brain module, enables the device to smooth recovery to normal shape
State, the user experience is improved.
In some embodiments, as shown in Fig. 2, the difference of the robot controller and Fig. 1 are, the control mould
Block 230 further includes monitoring unit and switch unit.The monitoring unit is separately connected parent cloud brain module and switch unit, institute
It states switch unit and is separately connected the parent cloud brain module 210 and the daughter cloud brain module 220.
Wherein, the monitoring unit is used to monitor the robot of the parent cloud brain module control;The switch unit
Robot for controlling when the parent cloud brain module is when in an abnormal state, switches the parent cloud brain module control
Robot to the daughter cloud brain module, the robot is controlled by the daughter cloud brain module.
It wherein, can be according to described when the robot that parent cloud brain module controls being switched to daughter cloud brain module
The robot that the parent cloud brain module controls is switched to the corresponding daughter of the service object by the service object of robot
Cloud brain module.For example, the robot is family's humanoid robot, then the robot can be switched to control family type machine
Under the daughter cloud brain module of people;The robot is amusement humanoid robot, then the robot can be switched to control amusement
Under the daughter cloud brain module of humanoid robot, etc..It should be noted that the daughter cloud brain module includes multiple, and every height
Body cloud brain module has different basic functions according to the difference of service object respectively.By the setting of this handover operation,
Keep the robot switched under daughter cloud brain module more adaptable, so as to preferably execute fundamental operation.
In addition, the monitoring unit is also used to monitor the parent cloud brain module 210 and the daughter cloud brain module
The robot of control, the switch unit are used to restore the normal and described mother when the robot of daughter cloud brain module control
When body cloud brain module is normal condition, switch the robot of daughter cloud brain module control to the parent cloud brain mould
Block controls the robot by the parent cloud brain module.Herein, whole system each section is carried out by monitoring unit complete
Face monitoring, timely will then revert to normal robot and switches back under parent cloud brain module 210, allow the robot to as soon as possible
Continue to play its function having, reduction system can lose as far as possible, promote user experience.
Wherein, while switching the robot of abnormal conditions, the system analyzes the abnormal conditions of robot,
It is abnormal to determine, and determine whether parent cloud brain module suffers from destruction, the system is according to determining abnormal results to event
Barrier is automatically repaired, or by manually repairing to the exception, specific restorative procedure has Jie in the related art
It continues, it is not limited here.
Wherein, to include: the robot transmit a large amount of abnormal flows, example to the parent cloud brain to the abnormality
Such as, it is attacked by DDos/CC, it is continual to send a large amount of junk datas to parent cloud brain module, cause parent cloud brain mould
Block network congestion causes refusal service phenomenon to server.The abnormality further include: the robot is when default
It is interior to utilize parent cloud brain module described in illegal cipher key access, for example, parent cloud described in unauthorized use is big in a period of time
The cloud service function of brain module.The abnormality further include: the robot carries wooden horse or virus document accesses the mother
Body cloud brain module;And the access described in the bot access when parent cloud brain for ARP deceptive practices, ARP deception
Behavior is a kind of hacker attack means, is divided into the deception to router ARP table and cheats to the gateway of Intranet PC, the former is to pass through
It intercepts and captures gateway data to realize, the latter is realized by forging gateway.The abnormal conditions further include other situations, herein not one by one
It enumerates.
The embodiment of the present application provides a kind of robot controller, divides parent cloud brain module and daughter cloud brain mould
After block, which monitors the robot of the parent cloud brain module control by the monitoring unit of control module, works as appearance
When abnormal, the robot that parent cloud brain module controls is switched into daughter cloud brain module by the switch unit of control module
Under.The technical solution can reduce the probability that parent cloud brain module is attacked, and improve the safety and stability of system.
Referring to FIG. 3, Fig. 3 is a kind of flow diagram of robot control method provided by the embodiments of the present application.Such as Fig. 3
It is shown, which comprises
Step 31, at parent server, provide preset general utility functions to tele-robotic;
Step 32, at daughter server, Xiang Suoshu tele-robotic provides preset basic function;
Step 33 is controlling at equipment, is selected from the parent server and the daughter server according to setting strategy
It is selected as the server of the tele-robotic service.
It is worth noting that content performed by above method step, same due to being based on the Installation practice of the application
One design, particular content can be found in the narration in the application Installation practice, and details are not described herein again.
The embodiment of the present application provides a kind of robot control method, this method by the cloud brain of traditional cloud robot into
It has gone division, has been divided into parent cloud and daughter cloud two parts, the parent cloud and daughter cloud are applied respectively in parent server and son
On body server, and different functions is configured on parent server and daughter server, to provide clothes to tele-robotic
Business.Pass through this division, on the one hand, it can guarantee the stability and safety of system on the whole, it on the other hand, can be better
It meets customer need, customizes different robot control systems, the user experience is improved.
Referring to FIG. 4, Fig. 4 is a kind of flow diagram for robot control method that another embodiment of the application provides.
The difference of the embodiment of the present application and above method embodiment is, the method also includes:
The corresponding function of high popularity demand for services is arranged in step 34 in the parent server and the daughter server
Energy;Wherein, it is more than setting to user demand quantity in the demand for services of the robot that the high popularity demand for services, which is user,
The demand for services of value.
It is worth noting that content performed by above method step, same due to being based on the system embodiment of the application
One design, particular content can be found in the narration in the application system embodiment, and details are not described herein again.
In the present embodiment, by the way that high popularity demand for services is arranged in the parent server and the daughter server
Corresponding function, on the one hand, the stability for ensuring device operation makes robot be unlikely to be directly entered inoperable shape
On the other hand state provides the time of a buffering to repair parent server, enables the device to smooth recovery to normal
State, the user experience is improved.
Referring to FIG. 5, Fig. 5 is a kind of flow diagram for robot control method that the another embodiment of the application provides.
The difference of the embodiment of the present application and above method embodiment is, described at control equipment, tactful from the mother according to setting
The server that the tele-robotic service is selected as in body server and the daughter server includes:
Step 331 is monitored the robot of parent server connection.
Step 332, when the robot for detecting parent server connection it is when in an abnormal state, switch the parent
The robot of server connection controls the robot by the daughter server to the daughter server.
Step 333, the robot connected to the parent server with the daughter server are monitored.
Step 334 is when the robot for detecting daughter server connection restores the normal and described parent server
When normal condition, switch the robot of the daughter server connection to the parent server, by the parent server control
Make the robot.
Wherein, robot to the daughter server of the switching parent server connection specifically includes: according to
The robot that the parent server connects is switched to the corresponding daughter of the service object by the service object of the robot
Server.
Wherein, to include: the robot transmit a large amount of abnormal flows to the parent cloud brain to the abnormality;It is described
Robot utilizes parent cloud brain described in illegal cipher key access within a preset time;The robot carries wooden horse or virus document
Access the parent cloud brain;Access described in the bot access when parent cloud brain for ARP deceptive practices.
It is worth noting that content performed by above method step, same due to being based on the Installation practice of the application
One design, particular content can be found in the narration in the application Installation practice, and details are not described herein again.
The embodiment of the present application provides a kind of robot control method, should after dividing parent cloud brain and daughter cloud brain
The robot that method controls the parent cloud brain is monitored, when occurring abnormal, by the machine of parent cloud brain control
People switches under daughter cloud brain.The technical solution can reduce the probability of the big capsules of brain attack of parent cloud, improve the peace of system
Full property and stability.
Referring to FIG. 6, Fig. 6 is a kind of structural schematic diagram of robot control system provided by the embodiments of the present application.This is
System 300 includes: parent server 310, daughter server 320 and control equipment 330.
The parent server 310 includes: the first communications module, first memory and is coupled to first communications module
With the first processor of first memory.It in some embodiments, can also include: the first input unit and the first output dress
It sets.
First processor, first memory, the first input unit and the first output device can by bus or other
Mode connects.
First memory can be used for storing non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing
Sequence, non-volatile computer executable program and module, such as the corresponding journey of robot control method in the embodiment of the present application
Sequence instruction/module (for example, attached parent cloud brain module 210 shown in FIG. 1).First processor is stored in first by operation and deposits
Non-volatile software program, instruction and module in reservoir, thereby executing parent server 310 various function application and
Data processing realizes above method embodiment robot control method by the first communications module.
First memory may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area can be stored to be created according to using for data forwarding device
Data etc..In addition, first memory may include high-speed random access memory, it can also include nonvolatile memory,
A for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments,
Optional first memory includes the memory remotely located relative to first processor, these remote memories can pass through network
It is connected to robot controller.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, movement
Communication network and combinations thereof.
First input unit can receive the number or character information of input, and generate the user with robot controller
Setting and the related key signals input of function control.First output device may include that display screen etc. shows equipment.It is one
Or multiple modules are stored in the first memory, when being executed by the first processor, so that first processing
Device is able to carry out in above method embodiment the step of executing at the parent server 310.
The daughter server 320 includes: the second communications module, second memory and is coupled to second communications module
With the second processor of second memory.It in some embodiments, can also include: secondary input device and the second output dress
It sets.
Second processor, second memory, secondary input device and the second output device can by bus or other
Mode connects.
Second memory can be used for storing non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing
Sequence, non-volatile computer executable program and module, such as the corresponding journey of robot control method in the embodiment of the present application
Sequence instruction/module (for example, attached daughter cloud brain module 220 shown in FIG. 1).Second processor is stored in second by operation and deposits
Non-volatile software program, instruction and module in reservoir, thereby executing daughter server 320 various function application and
Data processing realizes above method embodiment robot control method by the second communications module.
Second memory may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area can be stored to be created according to using for data forwarding device
Data etc..In addition, second memory may include high-speed random access memory, it can also include nonvolatile memory,
A for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments,
Optional second memory includes the memory remotely located relative to second processor, these remote memories can pass through network
It is connected to robot controller.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, movement
Communication network and combinations thereof.
Secondary input device can receive the number or character information of input, and generate the user with robot controller
Setting and the related key signals input of function control.Second output device may include that display screen etc. shows equipment.It is one
Or multiple modules are stored in the second memory, when being executed by the second processor, so that the second processing
Device is able to carry out in above method embodiment the step of executing at the daughter server 320.
The control equipment 330 include: third communication mould group, third memory and be coupled to the third communication mould group and
The third processor of third memory.It in some embodiments, can also include: third input unit and third output dress
It sets.
Third processor, third memory, third input unit and third output device can by bus or other
Mode connects.
Third memory can be used for storing non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing
Sequence, non-volatile computer executable program and module, such as the corresponding journey of robot control method in the embodiment of the present application
Sequence instruction/module (for example, attached control module 230 shown in FIG. 1).Third processor is stored in third memory by operation
Non-volatile software program, instruction and module, thereby executing control equipment 330 various function application and data at
Reason realizes above method embodiment robot control method by third communication mould group.
Third memory may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area can be stored to be created according to using for data forwarding device
Data etc..In addition, third memory may include high-speed random access memory, it can also include nonvolatile memory,
A for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments,
Optional third memory includes the memory remotely located relative to third processor, these remote memories can pass through network
It is connected to robot controller.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, movement
Communication network and combinations thereof.
Third input unit can receive the number or character information of input, and generate the user with robot controller
Setting and the related key signals input of function control.Third output device may include that display screen etc. shows equipment.It is one
Or multiple modules are stored in the third memory, when being executed by the third processor, so that the third is handled
Device is able to carry out in above method embodiment the step of executing at the control equipment 330.
In the present embodiment, the first communications module of the parent server 310, daughter server 320 second communication mould
Group is connected with the third communication mould group of the control equipment 330;The parent server 310 is patrolled with the daughter server 320
Collect isolation.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;At this
It under the thinking of application, can also be combined between the technical characteristic in above embodiments or different embodiment, step can be with
It is realized with random order, and there are many other variations of the different aspect of the application as described above, for simplicity, they do not have
Have and is provided in details;Although the application is described in detail with reference to the foregoing embodiments, the ordinary skill people of this field
Member is it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of skill
Art feature is equivalently replaced;And these are modified or replaceed, each reality of the application that it does not separate the essence of the corresponding technical solution
Apply the range of a technical solution.