Robot Operating State Switching Method and System

Abstract

The present invention discloses a method and system for switching an operating state of a robot. The method comprises the following steps of: providing an excitation device for an opening terminal and an excitation device for a closing terminal on a mask of the robot; transmitting, by the excitation device, a mask state signal to a slave computer processor when the mask is opened or closed; by the slave computer processor, processing the received mask state signal and then transmitting the processed mask state signal to a master computer processor; and controlling, by the master computer processor, the switchover of the operating state of the robot according to the received processed mask state signal. With regard to the technical solutions of the present invention, through the opening and closing of a mask, the system of a robot can be in two operating states and perform different functions.

Claims

1. A method for switching an operating state of a robot, comprising the following steps of: providing an excitation device for an opening terminal and an excitation device for a closing terminal on a mask of the robot; transmitting, by the excitation device, a mask state signal to a slave computer processor when the mask is opened or closed; by the slave computer processor, processing the received mask state signal and then transmitting the processed mask state signal to a master computer processor; and controlling, by the master computer processor, the switchover of the operating state of the robot according to the received processed mask state signal.

2. A method for switching an operating state of a robot according to claim 1, characterized in that when the mask is opened, a low level is generated by triggering the excitation device for the opening terminal and transmitted to the slave computer processor; the slave computer processor feeds back a signal to the master computer processor; and the master computer processor receives the signal, and controls the robot to enter a touch-based operating state.

3. A method for switching an operating state of a robot according to claim 1, characterized in that when the mask is closed, a low level is generated by triggering the excitation device for the closing terminal and transmitted to the slave computer processor; the slave computer processor feeds back a signal to the master computer processor; and the master computer processor receives the signal, and controls the robot enter an independent operating state.

4. A method for switching an operating state of a robot according to claim 1, characterized in that, by the slave computer processor, processing the received mask state signal and then transmitting the processed mask state signal to a master computer processor further comprises the following steps of: performing, by the slave computer processor, filtering and de-noising upon receiving the mask state signal; and transmitting, by the slave computer processor, the processed mask state signal to the master computer processor by serial communication.

5. A method for switching an operating state of a robot according to claim 1, further comprising the following steps of: generating a high level by triggering the excitation device for the opening terminal or the excitation device for the closing terminal, and transmitting the high level to the slave computer processor, when the mask is in a half-open and half-closed state; transmitting, by the slave computer processor, the received signal to the master computer processor; and by the master computer processor, receiving the signal, determining that an opening fault occurs in the mask, and giving a warning.

6. A method for switching an operating state of a robot according to claim 1, characterized in that the excitation device comprises a micro switch, a Hall switch or an infrared reflecting switch.

7. A method for switching an operating state of a robot according to claim 2, characterized in that, when the robot is in a touch-based operating state, the master computer processor feeds back a voice prompt indicating that the mask has been opened, starts the control to a master computer touch screen, activate a proximal touch operation of the master computer touch screen, turns on and controls a purifier by the master computer touch screen, turns on and controls household appliances by the master computer touch screen, turns on and controls a projector by the master computer touch screen, and starts a video chat by a camera in the master computer.

8. A method for switching an operating state of a robot according to claim 3, characterized in that, when the robot is in an independent operating state, the master computer processor feeds back a voice prompt indicating that the mask has been closed, and starts terminal control, turns on remote control, monitoring and/or voice control, controls the motion of the robot by a phone APP, controls a purifier by the mobile APP, controls household appliances by the mobile APP, performs monitoring by the mobile APP, controls the motion of the robot by voice, starts a chat with the robot by voice, shows various facial expressions of the robot by a touch screen, and matches the various facial expressions with body actions.

9. A system for switching an operating state of a robot, comprising a mask, an excitation device for an opening terminal, an excitation device for a closing terminal, a master computer processor and a slave computer processor, wherein the mask is configured to trigger the excitation device for the opening terminal or the excitation terminal for the closing terminal to generate a low level; the excitation device for the opening terminal is configured to generate a low level, when the mask has been opened, and transmit the low level to the slave computer processor; the excitation device for the closing terminal is configured to generate a low level, when the mask has been closed, and transmit the low level to the slave computer processor; the slave computer processor is configured to receive the low level generated by the excitation device for the opening terminal or the excitation device for the closing terminal, and perform filtering and de-noising, transmit the low level to the master computer processor; and the master computer processor is configured to control the switchover of the operating state of the robot according to the low level generated by the excitation device for the opening terminal or the excitation device for the closing terminal.

10. The method for switching an operating state of a robot according to claim 9, characterized in that the excitation device for the opening terminal or the excitation device for the closing terminal comprises a micro switch, a Hall switch or an infrared reflecting switch.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings are used to provide further understanding of the present invention and constitute a part of the specification. The drawings are used for explaining the present invention together with following specific embodiments and not intended to limit the present invention. In the drawings:

[0040] FIG. 1 is a flowchart of switching an operating state of a robot according to embodiments of the present invention; and

[0041] FIG. 2 is a schematic structure diagram of a system for switching an operating state of a robot according to embodiments of the present invention.

DETAILED DESCRIPTION OF THE PRESENT INVENTION

[0042] The preferred embodiments of the present invention will be described with reference to the drawings. It should be understood that the preferred embodiments described herein are merely used to describe and explain but not to limit the present invention.

[0043] The main concept of technical solutions of the present invention is to trigger, through the closing and opening of a mask, a robot to switch between two different operating states so as to perform different functions.

[0044] FIG. 1 is a flowchart of switching an operating state of a robot according to embodiments of the present invention. As shown in FIG. 1, the flow for switching an operating state of the robot includes the following steps.

[0045] Step 101: An excitation device for an opening terminal and an excitation device for a closing terminal are provided on a mask of the robot, the two excitation devices being communicated with the mask of the robot. The excitation device can be a micro switch, a Hall switch or an infrared reflecting switch.

[0046] Step 102: The excitation device transmits a mask state signal to a slave computer processor when the mask is opened or closed.

[0047] When the mask is opened, a low level is generated by triggering the excitation device for the opening terminal and transmitted to the slave computer processor.

[0048] When the mask is closed, a low level is generated by triggering the excitation device for the closing terminal and transmitted to the slave computer processor.

[0049] Step 103: The slave computer processor receives the mask state signal, for example, a low level generated by the excitation device for the opening terminal or by the excitation device for the closing terminal, and performs filtering and de-noising on the signal.

[0050] Step 104: The slave computer processor transmits the processed mask state signal to the master computer processor by serial communication.

[0051] Step 105: The master computer processor controls the switchover of the operating state of the robot according to the received processed mask state signal.

[0052] If the low level is generated by the excitation device for the opening terminal, the master computer processor controls the robot to enter a touch-based operating state.

[0053] When the robot is in the touch-based operating state, the master computer processor feeds back a voice prompt indicating that the mask has been opened, starts the control to a master computer touch screen, activates a proximal touch operation of the master computer touch screen, turns on and controls a purifier by the master computer touch screen, turns on and controls household appliances by the master computer touch screen, turns on and controls a projector by the master computer touch screen, and starts a video chat by a camera in the master computer.

[0054] If the low level is generated by the excitation device for the closing terminal, the master computer processor controls the robot to enter an independent operating state.

[0055] When the robot is in the independent operating state, the master computer processor feeds back a voice prompt indicating that the mask has been closed, and starts terminal control, turns on remote control, monitoring and/or voice control, controls the motion of the robot by a phone APP, controls a purifier by the mobile APP, controls household appliances by the mobile APP, performs monitoring by the mobile APP, controls the motion of the robot by voice, starts a chat with the robot by voice, shows various facial expressions of the robot by a touch screen, and matches the various facial expressions with body actions.

[0056] When the mask is in a half-open and half-closed state, a high level is generated by triggering the excitation device for the opening terminal or the excitation device for the closing terminal and the high level is transmitted to the slave computer processor. The slave computer processor transmits the received signal to the master computer processor. The master computer processor receives the signal, determines that an opening fault occurs in the mask, and gives a warning.

[0057] To achieve the flow mentioned above, the embodiments of the present invention further provide a system for switching an operating state of a robot. FIG. 2 is a schematic structure diagram of a system for switching an operating state of a robot according to embodiments of the present invention. As shown in FIG. 2, the system for switching an operating state of a robot includes a mask 201, an excitation device for an opening terminal 202, an excitation device for a closing terminal 203, a master computer processor 204 and a slave computer processor 205, wherein the excitation device for the opening terminal or the excitation device for the closing terminal can be a micro switch, a Hall switch or an infrared reflecting switch.

[0058] The excitation device for the opening terminal and the excitation device for the closing terminal will be triggered by the opening or closing of the mask to generate a low level. When the mask is opened, a low level is generated by the excitation device for the opening terminal and transmitted to the slave computer processor; and when the mask is closed, a low level is generated by the excitation device for the closing terminal and transmitted to the slave computer processor.

[0059] The slave computer processor receives the low level generated by the excitation device for the opening terminal or the excitation device for the closing terminal, performs filtering and de-noising, and transmits the low level to the master computer processor.

[0060] The master computer processor controls the switchover of the operating state of the robot according to the low level generated by the excitation device for the opening terminal or the excitation device for the closing terminal.

[0061] If the low level is generated by the excitation device for the opening terminal, the master computer processor controls the robot to enter a touch-based operating state.

[0062] When the robot is in the touch-based operating state, the master computer processor feeds back a voice prompt indicating that the mask has been opened, starts the control to a master computer touch screen, activates a proximal touch operation of the master computer touch screen, turns on and controls a purifier by the master computer touch screen, turns on and controls household appliances by the master computer touch screen, turns on and controls a projector by the master computer touch screen, and starts a video chat by a camera in the master computer.

[0063] If the low level is generated by the excitation device for the closing terminal, the master computer processor controls the robot to enter an independent operating state.

[0064] When the robot is in the independent operating state, the master computer processor feeds back a voice prompt indicating that the mask has been closed, and starts terminal control, turns on remote control, monitoring and/or voice control, controls the motion of the robot by a phone APP, controls a purifier by the mobile APP, controls household appliances by the mobile APP, performs monitoring by the mobile APP, controls the motion of the robot by voice, starts a chat with the robot by voice, shows various facial expressions of the robot by a touch screen, and matches the various facial expressions with body actions.

[0065] With regard to the above embodiments of the present invention, through the opening and closing of a mask, the system of a robot can be in two operating states and perform different functions. In this way, the integration level and operating efficiency of the robot are improved, and the manufacturing cost thereof is reduced.

[0066] It should be understood by a person skilled in the art that embodiments of the present invention can be provided as methods, systems or computer program products. Therefore, the present invention can be shown in the form of full-hardware embodiments, full-software embodiments or embodiments in combination of software and hardware. In addition, the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk memories and optical memories and the like) containing computer-usable program codes.

[0067] The present invention has been described according to the flowcharts and/or block diagrams of the methods, apparatuses (systems) and computer program products of the embodiments of the present invention. It should be understood that each flow and/or block in the flowchart and/or block diagram and a combination of the flows and/or blocks in the flowchart and/or block diagram can be achieved by computer program instructions. These computer program instructions can be provided to general-purpose computers, special-purpose computers, embedded processors and other processors of programmable data processing apparatuses to generate a machine, so that a device configured to achieve functions specified in one or more flows in the flowchart and/or one or more blocks in the block diagram can be produced by instructions executed by computers or other programmable data processing apparatuses.

[0068] These computer program instructions can also be stored in a computer-readable memory which can guide computers and other programmable data processing apparatuses to operate in a specific way, so that an article of manufacture including an instruction device can be produced by instructions stored in the computer-readable memory. The instruction device achieves functions specified in one more flows in the flowchart and/or one or more blocks in the block diagram.

[0069] These computer program instructions can also be loaded onto computers or other programmable data processing apparatuses, so that a series of operating steps are executed on the computers or other programmable apparatuses to generate a computer-implemented process. In this way, steps for achieving functions specified in one or more flows in the flowchart and/or one or more blocks in the block diagram can be provided by instructions executed on the computers or other programmable apparatuses.

[0070] Apparently, a person skilled in the art can make various alternations and variations to the present invention without departing from the spirit and scope of the present invention. In this way, if these alternations and variations of the present invention are within the scope of the claims of the present invention and the equivalences thereof, the present invention is intended to include these alternations and variations.