WO2018119795A1 - Robot instruction processing method and device, and electronic apparatus - Google Patents

Robot instruction processing method and device, and electronic apparatus Download PDF

Info

Publication number
WO2018119795A1
WO2018119795A1 PCT/CN2016/112767 CN2016112767W WO2018119795A1 WO 2018119795 A1 WO2018119795 A1 WO 2018119795A1 CN 2016112767 W CN2016112767 W CN 2016112767W WO 2018119795 A1 WO2018119795 A1 WO 2018119795A1
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
operating system
processing
robot
processing result
Prior art date
Application number
PCT/CN2016/112767
Other languages
French (fr)
Chinese (zh)
Inventor
王森
Original Assignee
深圳前海达闼云端智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳前海达闼云端智能科技有限公司 filed Critical 深圳前海达闼云端智能科技有限公司
Priority to PCT/CN2016/112767 priority Critical patent/WO2018119795A1/en
Priority to CN201680002791.9A priority patent/CN107077578A/en
Publication of WO2018119795A1 publication Critical patent/WO2018119795A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2105Dual mode as a secondary aspect
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2149Restricted operating environment

Definitions

  • the present application relates to the field of intelligent robots, and in particular, to a method, device and electronic device for processing robot instructions.
  • the embodiment of the present application provides a method, a device, and an electronic device for processing a robot instruction, by configuring a robot operating system as a first operating system module and a first operating system module, and using a first operating system module and a second operating system
  • the one-way communication method solves the technical problem that the ontology data of the robot connected to the cloud itself and the security of the control data cannot be guaranteed.
  • the embodiment of the present application provides a method for processing a robot instruction, which is applied to a dual operating system, where the dual operating system includes a first operating system and a second operating system, and the processing method includes:
  • the first operating system is connected to the second operating system and the second operating system is connected to the external network.
  • the embodiment of the present application provides a processing device for a robot instruction, which is applied to a dual operating system, where the dual operating system includes a first operating system and a second operating system, and the processing device includes:
  • a receiving module configured to receive an instruction in the first operating system
  • a determining module configured to determine whether the instruction exists in a local instruction set
  • a processing module configured to send the instruction to the second operating system via the one-way communication interface if not present, and if present, perform local processing on the instruction
  • the first operating system is connected to the second operating system and the second operating system is connected to the external network.
  • an embodiment of the present application provides an electronic device, where the electronic device includes:
  • Input and output devices memory, one or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
  • embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
  • the operating system of the robot is a dual operating system
  • the dual operating system includes a first operating system and a second operating system
  • the first operating system and the second operating system are one-way communication
  • the first In the operating system receiving an instruction; determining whether the instruction exists in the local instruction set; if not, transmitting the instruction to the second operating system via the one-way communication interface, if present
  • the local processing of the instruction is implemented to implement network isolation between the first operating system and the external Internet, thereby avoiding some illegal elements in the prior art using the Internet, using cloud computing to directly destroy the ontology of the robot itself connected to the cloud. Data and manipulation of data, in order to improve the ontology data of the robot itself connected to the cloud and the technical effect of manipulating data security.
  • FIG. 1 is a schematic diagram of a method for processing robot command in the first embodiment of the present application
  • FIG. 2 is a schematic flowchart of a robot instruction processing in Embodiment 2 of the present application.
  • FIG. 3 is a structural diagram of an apparatus for processing robot instructions in Embodiment 3 of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.
  • the process of executing instructions by the robot requires a large amount of computing resources to support, but the robot's own ontology data and manipulation data are stored in the cloud, and the security of the data is not guaranteed, that is, when the illegal elements maliciously destroy the data stored by the robot in the cloud, The robot will not work properly.
  • the embodiment of the present application proposes to configure the robot operating system as a dual operating system, the dual operating system includes a first operating system and a second operating system, and the first operating system and the second operating system a one-way communication, in the first operating system, receiving an instruction; determining whether the instruction exists in the local instruction set; if not, transmitting the instruction to the second operating system via the one-way communication interface, if If present, the instructions are processed locally.
  • the embodiment of the present application is based on the isolation of the first operating system from the external Internet or the public Internet. The security of the ontology data and manipulation data of the robot itself stored in the cloud makes the robot not be maliciously destroyed by the criminals when executing the instructions.
  • FIG. 1 is a schematic diagram of a method for processing robot instructions in the first embodiment of the present application. As shown in FIG. 1 , the system is applied to a dual operating system, and the dual operating system includes a first operating system and a second operating system. A one-way communication between an operating system and a second operating system, the processing method includes:
  • Step 101 Receive an instruction in the first operating system.
  • Step 102 Determine whether the instruction exists in a local instruction set.
  • Step 103 If not, send the instruction to the second operating system via the one-way communication interface, and if so, perform local processing on the instruction.
  • the first operating system is an internal operating system of the robot
  • the second operating system is an external operating system of the robot
  • the internal operating system module is connected to the intranet
  • the external operating system module is connected to the external Internet or the public Internet.
  • the robot usually includes a sensing system, a motion system, a control system, a cloud cognitive system, an input and output system, and the like.
  • the internal operating system is connected to the sensing system, the motion system, the control system, the cloud cognitive system, and the input system.
  • the sensing system is used to sense user commands from the input system
  • the motion system is used to execute user instructions
  • the control system is used to control the execution of the motion system.
  • the user instructs that the cloud cognitive system is used to process user instructions
  • the input system in the input and output system is used to collect user commands, which may be a microphone.
  • the external operating system is connected to an output system in the input/output system, and the output system is configured to display and/or play an instruction processing result corresponding to the user instruction, which may be a display screen and/or a speaker.
  • the sensing system can only be connected to the internal operating system, and the external operating system cannot access and control the sensing system. According to the actual situation, the output system in the input and output system can also be connected to the internal operating system at the same time, and no specific limitation is made here.
  • the functions of the internal operating system include: receiving and processing the robot instructions recognized by the sensing system; managing the local instruction set; establishing a bidirectional channel with the cloud cognitive system for The robot command of the sensing system is sent to the cloud cognitive system, and receives the instruction processing result obtained by the cloud cognitive system according to the robot instruction; and the control system is called according to the instruction processing result, so that the motion system executes the instruction processing result.
  • the functions of the external operating system include functions that cannot actively communicate with the internal operating system; the general operating system is connected to the external Internet or the public Internet.
  • the input system collects a user's instruction, and when the sensing system senses an instruction from the user, the user instruction is recognized as a robot instruction recognizable by the operating system in the robot (eg, converting a voice instruction from the user into a text instruction) And sent to the internal operating system, so that the internal operating system according to the received robot command, from the local instruction set to query whether the robot instruction exists, and subsequent corresponding processing. All instructions from the user are received and prioritized by the internal operating system. When the internal operating system cannot process, the external operating system is sent to the external operating system for subsequent processing. Among them, the instruction from the user can only be obtained by the internal operating system, and the external operating system cannot obtain the instruction from the user.
  • the method for determining whether the instruction exists in the local instruction set may be that the internal operating system determines the type of the robot instruction, and the type of the robot instruction includes a non-conditional reflection instruction and a conditional reflection instruction, if the robot instruction is a conditional reflection instruction The conditional reflection instruction is queried in the local instruction set. If the conditional reflection instruction does not exist in the local instruction set, the conditional reflection instruction is sent to the intranet cloud or the external operating system.
  • step 103 if the robot instruction does not exist in the local instruction set, the robot instruction is sent to the external operating system via the one-way communication interface on the internal operating system, so that the external operating system acquires the instruction processing result according to the robot instruction. And complete the subsequent corresponding processing, such as by calling the output system, using the display screen for display or the speaker to play the instruction processing result. If the robot instruction exists in the local instruction set, the instruction processing result corresponding to the robot instruction is queried by using the correspondence relationship between the robot instruction and the instruction processing result, and the subsequent corresponding processing is completed, for example, by calling the control system, the instruction processing is performed by using the motion system. result.
  • the internal operating system and the external operating system have a one-way communication interface, that is, the one-way communication of the internal operating system to the external operating system, and the internal operating system can only be connected with the intranet, any externally.
  • Data acquired by the Internet, or programs downloaded from the public Internet cannot access the internal operating system, and the external operating system can receive user commands from the internal operating system, but all servers connected to the external Internet or the public Internet can only It is processed by the external operating system and cannot send any data to the internal operating system.
  • the user instruction is sent to the external operating system via the one-way communication interface, and if the user instruction is in the local instruction set of the internal operating system, the user instruction is locally processed.
  • the security of the ontology data and the manipulation data of the robot connected to the cloud is guaranteed.
  • the method further includes:
  • the robot instruction is sent to the intranet cloud, and the intranet cloud queries the correspondence between the robot instruction and the instruction processing result in the intranet cloud according to the robot instruction. Determining whether the robot instruction exists in the correspondence, and if yes, returning the corresponding instruction processing result to the internal operating system, so that the internal operating system performs subsequent processing according to the instruction processing result, and if not, returns a The empty instruction processing result is sent to the internal operating system, and the internal operating system sends the robot instruction to the external operating system according to the instruction processing result, so that the external operating system performs subsequent corresponding processing.
  • the internal operating system sends the robot instruction to the cloud cognitive system via the connection channel between the internal operating system and the intranet cloud, and after the cloud cognitive system parses the robot instruction, the instruction processing result is sent to the internal operating system.
  • the internal operating system determines whether the robot instruction needs to be sent to the external operating system according to the instruction processing result. If not required, the internal operating system completes the subsequent corresponding processing according to the instruction processing result; if necessary, the robot instruction is sent to the external operating system.
  • the intranet cloud is the cloud within the secure network, such as internal LAN or virtual private
  • the cloud in the network VPN: Virtual Private Network).
  • the method further includes:
  • the internal operating system passes the robot instruction via the internal operating system and the external operating system.
  • the one-way communication interface is sent to the external operating system, and the external operating system obtains the corresponding instruction processing result from the external Internet or the public Internet, and completes the corresponding corresponding processing, and the corresponding processing may be to pass the instruction processing result to the external operating system.
  • the connected output system is presented to the user, so that the user further communicates with the robot according to the instruction processing result fed back by the output system, and then repeats the processing of the user instruction.
  • the second operating system includes a security area
  • the step of sending the instruction to the second operating system via the one-way communication interface further includes:
  • the instruction processing result is stored in the secure area.
  • the external operating system may also preset a security area.
  • the external operating system obtains the corresponding instruction processing result from the external Internet or the public Internet according to the robot instruction from the internal operating system, the robot instruction and the instruction processing result are obtained.
  • the corresponding relationship is stored in the security area, and the internal operating system actively reads the corresponding instruction processing result in the internal operating system according to the robot instruction.
  • the external operating system receives the robot command, it can also preferentially find the corresponding command processing result in the safe area. If the robot command in the safe area does not exist in the corresponding relationship between the command result and the command processing result, the robot command does not exist. Then, access the corresponding instruction processing result from the external Internet or the public Internet.
  • the method further includes:
  • the corresponding instruction processing result is read in the security area, and corresponding processing is performed according to the instruction processing result.
  • the communication between the internal operating system and the external operating system is one-way communication.
  • the internal operating system needs data of the external operating system, the internal operating system performs active operations, and the external operating system cannot send data to the internal operating system, that is, the internal operation.
  • the system reads the required data from the secure area set by the external operating system. Specifically, when the internal operating system determines that the robot instruction does not exist in the local instruction set or the correspondence between the robot instruction and the instruction processing result in the intranet cloud, the internal operation command reads from the security area set by the external operating system according to the robot instruction. Take the corresponding instruction processing result and perform subsequent corresponding processing.
  • the second embodiment of the present application provides a detailed description of the first embodiment of the present application by taking a specific scenario as an example.
  • FIG. 2 is a schematic flowchart of a robot instruction processing in the second embodiment of the present application. As shown in FIG. 2, the specific implementation method of the robot instruction processing is as follows:
  • Step 201 The user sends a voice instruction to the robot through the microphone.
  • the microphone is the input system of the input and output system.
  • Step 202 After receiving the voice instruction processed by the sensing system, the internal operating system parses the processed voice instruction, and after determining that the instruction is not in the local instruction set in the internal operating system, the instruction is used exclusively.
  • the network interface is sent to the cloud cognitive system.
  • Step 203 The cloud cognitive system parses the instruction, and returns an empty instruction processing result to the internal operating system after determining that the instruction does not exist in the correspondence between the instruction in the cloud cognitive system and the instruction processing result.
  • Step 204 The internal operating system processes the result according to the instruction, and sends the instruction to the external operating system via the one-way communication interface.
  • Step 205 After the external operating system searches the public Internet system for the corresponding instruction processing result, the instruction processing result is executed.
  • a processing device for a robot instruction is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the processing method of a robot instruction, the implementation of these devices can be referred to the implementation of the method, and the method is repeated. It will not be repeated here.
  • FIG. 3 is a structural diagram of a device for processing robot instructions according to Embodiment 3 of the present application. As shown in FIG. 3, the device 300 is applied to a dual operating system, and the dual operating system includes a first operating system and a second operating system. 300 can include:
  • the receiving module 301 is configured to receive an instruction in the first operating system.
  • the determining module 302 is configured to determine whether the instruction exists in the local instruction set.
  • the processing module 303 is configured to send the instruction to the second operating system via the one-way communication interface if not present, and if so, perform local processing on the instruction.
  • the first operating system is connected to the second operating system and the second operating system is connected to the external network.
  • the determining module 302 further includes:
  • the method further includes:
  • the querying module 304 is configured to perform corresponding processing according to the instruction processing result after the second operating system queries from the external network to the corresponding instruction processing result according to the instruction.
  • the second operating system includes a security area, and further includes:
  • the storage module 305 is configured to store the instruction processing result in the security area.
  • the method further includes:
  • the reading module 306 is configured to: if the instruction does not exist in the local instruction set or the intranet cloud, read the corresponding instruction processing result from the security area according to the instruction, and perform the processing result according to the instruction Processing accordingly.
  • an electronic device is also provided in the embodiment of the present application. Since the principle is similar to the processing method of a robot instruction, the implementation of the method may refer to the implementation of the method, and the repeated description is not repeated.
  • the electronic device includes: an input/output device 401, a memory 402, one or more processors 403, and one or more a module, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising steps for performing any of the above methods Instructions.
  • the electronic device can be a mobile terminal or a robot.
  • the embodiment of the present application further provides a computer program product used in combination with an electronic device. Since the principle is similar to the processing method of a robot instruction, the implementation of the method can refer to the implementation of the method, and the repetition is not Let me repeat.
  • the computer program product comprises a computer readable storage medium and a computer program mechanism embodied therein, the computer program mechanism comprising instructions for performing the various steps of any of the above methods.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulator (AREA)

Abstract

Provided are a robot instruction processing method and device, and an electronic apparatus. The method comprises: receiving an instruction in a first operating system (101); determining whether the instruction exists in a local instruction set (102); and if not, transmitting the instruction to a second operating system by means of a one-way communication interface, or if so, performing local processing on the instruction (103). Isolating the first operating system from external Internet ensures security of ontological data and operation data of a robot stored in a cloud terminal, such that the robot is protected from a malicious attack by a perpetrator when executing an instruction.

Description

机器人指令的处理方法、装置及电子设备Robot instruction processing method, device and electronic device 技术领域Technical field
本申请涉及智能机器人领域,特别涉及机器人指令的处理方法、装置及电子设备。The present application relates to the field of intelligent robots, and in particular, to a method, device and electronic device for processing robot instructions.
背景技术Background technique
现有技术中,随着机器人智能化的发展,将机器人的本体数据、操控数据等接入互联网,通过云计算的方式充分发挥网络资源的优势,为机器人指令处理提供了基于海量数据的快速处理方式,且不再受本地资源,以及只能完成简单的任务的限制,而这也是机器人智能化的必然的发展趋势。In the prior art, with the development of intelligent robots, the ontology data and manipulation data of the robot are connected to the Internet, and the advantages of network resources are fully utilized through the way of cloud computing, which provides rapid processing based on massive data for robot instruction processing. The way, and no longer subject to local resources, and can only complete the constraints of simple tasks, and this is also an inevitable development trend of robot intelligence.
现有技术不足在于:The disadvantages of the prior art are:
当智能机器人将自身的本体数据、操控数据等直接接入互联网时,一些不法分子能够利用互联网,利用云计算,直接威胁到接入云端的数据的安全性。When intelligent robots directly access their own ontology data, manipulation data, etc. to the Internet, some criminals can use the Internet to use cloud computing to directly threaten the security of data accessing the cloud.
发明内容Summary of the invention
本申请实施例提出了机器人指令的处理方法、装置及电子设备,通过将机器人操作系统配置为第一操作系统模块和第一操作系统模块,并利用第一操作系统模块与第二操作系统之间的单向通信方式,以解决接入云端的机器人自身的本体数据、操控数据安全性得不到保障的技术问题。The embodiment of the present application provides a method, a device, and an electronic device for processing a robot instruction, by configuring a robot operating system as a first operating system module and a first operating system module, and using a first operating system module and a second operating system The one-way communication method solves the technical problem that the ontology data of the robot connected to the cloud itself and the security of the control data cannot be guaranteed.
在一个方面,本申请实施例提供了一种机器人指令的处理方法,应用于双操作系统,所述双操作系统包括第一操作系统和第二操作系统,所述处理方法包括:In one aspect, the embodiment of the present application provides a method for processing a robot instruction, which is applied to a dual operating system, where the dual operating system includes a first operating system and a second operating system, and the processing method includes:
在第一操作系统中,接收指令;Receiving an instruction in the first operating system;
确定所述指令是否存在于本地指令集中;Determining whether the instruction exists in a local instruction set;
若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存 在,则对所述指令进行本地处理;If not, sending the instruction to the second operating system via the one-way communication interface, if At the same time, the instruction is processed locally;
其中,所述第一操作系统与第二操作系统之间为单向通信,所述第一操作系统与内联网云端相连,所述第二操作系统与外联网相连。The first operating system is connected to the second operating system and the second operating system is connected to the external network.
在另一个方面,本申请实施例提供了一种机器人指令的处理装置,应用于双操作系统,所述双操作系统包括第一操作系统和第二操作系统,所述处理装置包括:In another aspect, the embodiment of the present application provides a processing device for a robot instruction, which is applied to a dual operating system, where the dual operating system includes a first operating system and a second operating system, and the processing device includes:
接收模块,用于在第一操作系统中,接收指令;a receiving module, configured to receive an instruction in the first operating system;
判断模块,用于确定所述指令是否存在于本地指令集中;a determining module, configured to determine whether the instruction exists in a local instruction set;
处理模块,用于若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存在,则对所述指令进行本地处理;a processing module, configured to send the instruction to the second operating system via the one-way communication interface if not present, and if present, perform local processing on the instruction;
其中,所述第一操作系统与第二操作系统之间为单向通信,所述第一操作系统与内联网云端相连,所述第二操作系统与外联网相连。The first operating system is connected to the second operating system and the second operating system is connected to the external network.
在另一个方面,本申请实施例提供了一种电子设备,所述电子设备包括:In another aspect, an embodiment of the present application provides an electronic device, where the electronic device includes:
输入输出设备,存储器,一个或多个处理器;以及Input and output devices, memory, one or more processors;
一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行上述方法中各个步骤的指令。One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
在另一个方面,本申请实施例提供了一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行上述方法中各个步骤的指令。In another aspect, embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
有益效果如下:The benefits are as follows:
本实施例中,机器人操作系统为双操作系统,所述双操作系统包括第一操作系统和第二操作系统,所述第一操作系统与第二操作系统之间为单向通信,在第一操作系统中,接收指令;确定所述指令是否存在于本地指令集中;若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存在, 则对所述指令进行本地处理,实现了第一操作系统与外部互联网之间的网络隔离,避免了现有技术中一些不法分子利用互联网,利用云计算,直接破坏接入云端的机器人自身的本体数据、操控数据的情况,进而达到提升接入云端的机器人自身的本体数据、操控数据安全性的技术效果。In this embodiment, the operating system of the robot is a dual operating system, and the dual operating system includes a first operating system and a second operating system, and the first operating system and the second operating system are one-way communication, and the first In the operating system, receiving an instruction; determining whether the instruction exists in the local instruction set; if not, transmitting the instruction to the second operating system via the one-way communication interface, if present, The local processing of the instruction is implemented to implement network isolation between the first operating system and the external Internet, thereby avoiding some illegal elements in the prior art using the Internet, using cloud computing to directly destroy the ontology of the robot itself connected to the cloud. Data and manipulation of data, in order to improve the ontology data of the robot itself connected to the cloud and the technical effect of manipulating data security.
附图说明DRAWINGS
下面将参照附图描述本申请的具体实施例,其中:Specific embodiments of the present application will be described below with reference to the accompanying drawings, in which:
图1为本申请实施例一中机器人指令处理的方法原理图;1 is a schematic diagram of a method for processing robot command in the first embodiment of the present application;
图2为本申请实施例二中机器人指令处理的流程示意图;2 is a schematic flowchart of a robot instruction processing in Embodiment 2 of the present application;
图3为本申请实施例三中机器人指令处理的装置结构图;3 is a structural diagram of an apparatus for processing robot instructions in Embodiment 3 of the present application;
图4为本申请实施例四中电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.
具体实施方式detailed description
为了使本申请的技术方案及优点更加清楚明白,以下结合附图对本申请的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本申请的一部分实施例,而不是所有实施例的穷举。并且在不冲突的情况下,本说明中的实施例及实施例中的特征可以互相结合。The exemplary embodiments of the present application are further described in detail below with reference to the accompanying drawings, in which the embodiments described are only a part of the embodiments of the present application, but not all embodiments. An exhaustive example. And in the case of no conflict, the features in the embodiments and the embodiments in the description can be combined with each other.
发明人在研究现有技术的过程中注意到:The inventor noticed in the process of studying the prior art:
机器人执行指令的过程需要大量的运算资源来支撑,但将机器人自身的本体数据、操控数据存储于云端,数据的安全性得不到保障,即当不法分子恶意破坏机器人存储在云端的数据时,机器人将无法正常工作。The process of executing instructions by the robot requires a large amount of computing resources to support, but the robot's own ontology data and manipulation data are stored in the cloud, and the security of the data is not guaranteed, that is, when the illegal elements maliciously destroy the data stored by the robot in the cloud, The robot will not work properly.
针对上述不足/基于此,本申请实施例提出了将机器人操作系统配置为双操作系统,所述双操作系统包括第一操作系统和第二操作系统,所述第一操作系统与第二操作系统之间为单向通信,在第一操作系统中,接收指令;确定所述指令是否存在于本地指令集中;若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存在,则对所述指令进行本地处理。本申请实施例基于第一操作系统与外部互联网,或者公共互联网的网络隔离,保证 了存储在云端的机器人自身的本体数据、操控数据的安全性,使得机器人在执行指令时不会受到不法分子的恶意破坏。For the above-mentioned deficiencies/based on the above, the embodiment of the present application proposes to configure the robot operating system as a dual operating system, the dual operating system includes a first operating system and a second operating system, and the first operating system and the second operating system a one-way communication, in the first operating system, receiving an instruction; determining whether the instruction exists in the local instruction set; if not, transmitting the instruction to the second operating system via the one-way communication interface, if If present, the instructions are processed locally. The embodiment of the present application is based on the isolation of the first operating system from the external Internet or the public Internet. The security of the ontology data and manipulation data of the robot itself stored in the cloud makes the robot not be maliciously destroyed by the criminals when executing the instructions.
为了便于本申请的实施,下面实例进行说明。In order to facilitate the implementation of the present application, the following examples are described.
实施例一、Embodiment 1
图1示出了本申请实施例一中机器人指令处理的方法原理图,如图1所示,应用于双操作系统,所述双操作系统包括第一操作系统和第二操作系统,所述第一操作系统与第二操作系统之间为单向通信,该处理方法包括:1 is a schematic diagram of a method for processing robot instructions in the first embodiment of the present application. As shown in FIG. 1 , the system is applied to a dual operating system, and the dual operating system includes a first operating system and a second operating system. A one-way communication between an operating system and a second operating system, the processing method includes:
步骤101、在第一操作系统中,接收指令。Step 101: Receive an instruction in the first operating system.
步骤102、确定所述指令是否存在于本地指令集中。Step 102: Determine whether the instruction exists in a local instruction set.
步骤103、若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存在,则对所述指令进行本地处理。Step 103: If not, send the instruction to the second operating system via the one-way communication interface, and if so, perform local processing on the instruction.
针对所述第一操作系统为机器人内操作系统,所述第二操作系统为机器人外操作系统,进行举例说明,内操作系统模块与内联网相连,外操作系统模块与外部互联网,或者公共互联网相连。For the first operating system is an internal operating system of the robot, and the second operating system is an external operating system of the robot, for example, the internal operating system module is connected to the intranet, and the external operating system module is connected to the external Internet or the public Internet. .
机器人除操作系统外,通常还包括感知系统、运动系统、控制系统、云端认知系统、输入输出系统等。内操作系统与感知系统、运动系统、控制系统、云端认知系统、输入系统相连,感知系统用于感知来自输入系统的用户指令,运动系统用于执行用户指令,控制系统用于控制运动系统执行用户指令,云端认知系统用于处理用户指令,输入输出系统中的输入系统用于采集用户指令,可以是麦克风。外操作系统与输入输出系统中的输出系统相连,输出系统用于显示和/或播放与用户指令对应的指令处理结果,可以是显示屏和/或扬声器等。其中,感知系统只能与内操作系统相连,外操作系统无法访问和控制感知系统。根据实际情况,输入输出系统中的输出系统也可以同时与内操作系统相连,在此不做具体的限定。In addition to the operating system, the robot usually includes a sensing system, a motion system, a control system, a cloud cognitive system, an input and output system, and the like. The internal operating system is connected to the sensing system, the motion system, the control system, the cloud cognitive system, and the input system. The sensing system is used to sense user commands from the input system, the motion system is used to execute user instructions, and the control system is used to control the execution of the motion system. The user instructs that the cloud cognitive system is used to process user instructions, and the input system in the input and output system is used to collect user commands, which may be a microphone. The external operating system is connected to an output system in the input/output system, and the output system is configured to display and/or play an instruction processing result corresponding to the user instruction, which may be a display screen and/or a speaker. The sensing system can only be connected to the internal operating system, and the external operating system cannot access and control the sensing system. According to the actual situation, the output system in the input and output system can also be connected to the internal operating system at the same time, and no specific limitation is made here.
具体地,内操作系统的功能包括,接收并处理来自感知系统识别得到的机器人指令;管理本地指令集;与云端认知系统建立双向通道,用于将来自 感知系统的机器人指令发送给云端认知系统,以及接收云端认知系统根据机器人指令得到的指令处理结果;根据指令处理结果调用控制系统,以使运动系统执行该指令处理结果。外操作系统的功能包括,不能主动与内操作系统通信;通用操作系统与外部互联网,或者公共互联网相连所涉及到的功能。Specifically, the functions of the internal operating system include: receiving and processing the robot instructions recognized by the sensing system; managing the local instruction set; establishing a bidirectional channel with the cloud cognitive system for The robot command of the sensing system is sent to the cloud cognitive system, and receives the instruction processing result obtained by the cloud cognitive system according to the robot instruction; and the control system is called according to the instruction processing result, so that the motion system executes the instruction processing result. The functions of the external operating system include functions that cannot actively communicate with the internal operating system; the general operating system is connected to the external Internet or the public Internet.
在步骤101中,输入系统采集用户的指令,当感知系统感知到来自用户的指令后,将用户指令识别为机器人内操作系统可识别的机器人指令(如将来自用户的语音指令转换为文字指令)并发送给内操作系统,以使内操作系统根据接收到的机器人指令,从本地指令集中查询是否存在该机器人指令,并进行后续的相应处理。其中,所有来自用户的指令均由内操作系统接收和优先处理,当内操作系统无法处理时,发送给外操作系统进行后续的相应处理。其中,来自用户的指令只能由内操作系统来获取,外操作系统无法获取来自用户的指令。In step 101, the input system collects a user's instruction, and when the sensing system senses an instruction from the user, the user instruction is recognized as a robot instruction recognizable by the operating system in the robot (eg, converting a voice instruction from the user into a text instruction) And sent to the internal operating system, so that the internal operating system according to the received robot command, from the local instruction set to query whether the robot instruction exists, and subsequent corresponding processing. All instructions from the user are received and prioritized by the internal operating system. When the internal operating system cannot process, the external operating system is sent to the external operating system for subsequent processing. Among them, the instruction from the user can only be obtained by the internal operating system, and the external operating system cannot obtain the instruction from the user.
在步骤102中,确定所述指令是否存在于本地指令集中的方法可以是,内操作系统判断机器人指令的类型,机器人指令的类型包括非条件反射指令和条件反射指令,如果机器人指令为条件反射指令,将该条件反射指令在本地指令集中进行查询,若本地指令集中不存在该条件反射指令,则将该条件反射指令发送至内联网云端或者外操作系统。In step 102, the method for determining whether the instruction exists in the local instruction set may be that the internal operating system determines the type of the robot instruction, and the type of the robot instruction includes a non-conditional reflection instruction and a conditional reflection instruction, if the robot instruction is a conditional reflection instruction The conditional reflection instruction is queried in the local instruction set. If the conditional reflection instruction does not exist in the local instruction set, the conditional reflection instruction is sent to the intranet cloud or the external operating system.
在步骤103中,若本地指令集中不存在该机器人指令,则将该机器人指令经由内操作系统上的单向通信接口发送给外操作系统,以使外操作系统根据该机器人指令获取指令处理结果,并完成后续的相应处理,如通过调用输出系统,利用显示屏进行显示或者扬声器播放该指令处理结果。若本地指令集中存在该机器人指令,则利用机器人指令与指令处理结果的对应关系查询该机器人指令对应的指令处理结果,并完成后续的相应处理,如通过调用控制系统,利用运动系统执行该指令处理结果。In step 103, if the robot instruction does not exist in the local instruction set, the robot instruction is sent to the external operating system via the one-way communication interface on the internal operating system, so that the external operating system acquires the instruction processing result according to the robot instruction. And complete the subsequent corresponding processing, such as by calling the output system, using the display screen for display or the speaker to play the instruction processing result. If the robot instruction exists in the local instruction set, the instruction processing result corresponding to the robot instruction is queried by using the correspondence relationship between the robot instruction and the instruction processing result, and the subsequent corresponding processing is completed, for example, by calling the control system, the instruction processing is performed by using the motion system. result.
在本实施例中,内操作系统和外操作系统设有单向通信接口,即内操作系统向外操作系统的单向通信,内操作系统只能与内联网连接,任何从外部 互联网获取的数据,或者从公共互联网下载的程序,都不能访问内操作系统,以及外操作系统能够接收来自内操作系统的用户指令,但所有与外部互联网,或者公共互联网相连的服务器等,只能由外操作系统进行处理,且不能发送任何数据给内操作系统。具体地,若内操作系统的本地指令集中不存在用户指令,则将用户指令经由单向通信接口发送给外操作系统,若内操作系统的本地指令集中存在用户指令,则对用户指令进行本地处理,从而实现内操作系统与外部互联网,或者公共互联网的网络隔离,保障了接入云端的机器人自身的本体数据、操控数据的安全性。In this embodiment, the internal operating system and the external operating system have a one-way communication interface, that is, the one-way communication of the internal operating system to the external operating system, and the internal operating system can only be connected with the intranet, any externally. Data acquired by the Internet, or programs downloaded from the public Internet, cannot access the internal operating system, and the external operating system can receive user commands from the internal operating system, but all servers connected to the external Internet or the public Internet can only It is processed by the external operating system and cannot send any data to the internal operating system. Specifically, if there is no user instruction in the local instruction set of the internal operating system, the user instruction is sent to the external operating system via the one-way communication interface, and if the user instruction is in the local instruction set of the internal operating system, the user instruction is locally processed. In order to realize the isolation of the internal operating system from the external Internet or the public Internet, the security of the ontology data and the manipulation data of the robot connected to the cloud is guaranteed.
实施中,在第一操作系统中,所述确定所述指令是否存在于本地指令集中的步骤之后还包括:In an implementation, in the first operating system, after the step of determining whether the instruction exists in the local instruction set, the method further includes:
若所述指令不存在于本地指令集中,则将所述指令发送给所述内联网云端;Sending the instruction to the intranet cloud if the instruction does not exist in the local instruction set;
接收来自所述内联网云端的指令处理结果。Receiving instruction processing results from the intranet cloud.
在第一操作系统中,若本地指令集中不存在上述机器人指令,则将该机器人指令发送给内联网云端,内联网云端根据该机器人指令,查询内联网云端内机器人指令与指令处理结果的对应关系,判断该对应关系中是否存在该机器人指令,若存在,则返回对应的指令处理结果给内操作系统,以使内操作系统根据该指令处理结果进行后续的相应处理,若不存在,则返回一个空的指令处理结果给内操作系统,内操作系统根据该指令处理结果,将该机器人指令发送给外操作系统,以使外操作系统进行后续的相应处理。In the first operating system, if the above-mentioned robot instruction does not exist in the local instruction set, the robot instruction is sent to the intranet cloud, and the intranet cloud queries the correspondence between the robot instruction and the instruction processing result in the intranet cloud according to the robot instruction. Determining whether the robot instruction exists in the correspondence, and if yes, returning the corresponding instruction processing result to the internal operating system, so that the internal operating system performs subsequent processing according to the instruction processing result, and if not, returns a The empty instruction processing result is sent to the internal operating system, and the internal operating system sends the robot instruction to the external operating system according to the instruction processing result, so that the external operating system performs subsequent corresponding processing.
具体地,经由内操作系统与内联网云端之间的连接通道,内操作系统将机器人指令发送给云端认知系统,云端认知系统解析该机器人指令之后,将指令处理结果发送给内操作系统,内操作系统根据指令处理结果确定是否需要将该机器人指令发送给外操作系统。若不需要,则由内操作系统根据该指令处理结果完成后续的相应处理;若需要,则将该机器人指令发送给外操作系统。其中,内联网云端为安全网络内的云端,如内部局域网或者虚拟专用 网络(VPN:Virtual Private Network)内的云端。Specifically, the internal operating system sends the robot instruction to the cloud cognitive system via the connection channel between the internal operating system and the intranet cloud, and after the cloud cognitive system parses the robot instruction, the instruction processing result is sent to the internal operating system. The internal operating system determines whether the robot instruction needs to be sent to the external operating system according to the instruction processing result. If not required, the internal operating system completes the subsequent corresponding processing according to the instruction processing result; if necessary, the robot instruction is sent to the external operating system. Among them, the intranet cloud is the cloud within the secure network, such as internal LAN or virtual private The cloud in the network (VPN: Virtual Private Network).
实施中,在第二操作系统中,所述将所述指令经由单向通信接口发送给第二操作系统的步骤之后还包括:In an implementation, in the second operating system, after the step of sending the instruction to the second operating system via the one-way communication interface, the method further includes:
当所述第二操作系统根据所述指令,从外联网查询到相应的指令处理结果后,根据所述指令处理结果进行相应处理。After the second operating system queries the corresponding instruction processing result from the extranet according to the instruction, performing corresponding processing according to the instruction processing result.
在第二操作系统中,当上述机器人指令不存在于本地指令集或者内联网云端内机器人指令与指令处理结果的对应关系中时,内操作系统将该机器人指令经由内操作系统和外操作系统的单向通信接口发送给外操作系统,由外操作系统从外部互联网,或者公共互联网中获取相应的指令处理结果,并完成后续的相应处理,该相应处理可以是将指令处理结果通过与外操作系统相连的输出系统呈现给用户,以使用户根据输出系统反馈的指令处理结果与机器人进行进一步的交流,则继续重复用户指令的处理。In the second operating system, when the robot instruction does not exist in the local instruction set or the correspondence between the robot instruction and the instruction processing result in the intranet cloud, the internal operating system passes the robot instruction via the internal operating system and the external operating system. The one-way communication interface is sent to the external operating system, and the external operating system obtains the corresponding instruction processing result from the external Internet or the public Internet, and completes the corresponding corresponding processing, and the corresponding processing may be to pass the instruction processing result to the external operating system. The connected output system is presented to the user, so that the user further communicates with the robot according to the instruction processing result fed back by the output system, and then repeats the processing of the user instruction.
实施中,在第二操作系统中,所述第二操作系统包括一个安全区域,所述将所述指令经由单向通信接口发送给第二操作系统的步骤之后还包括:In an implementation, in the second operating system, the second operating system includes a security area, and the step of sending the instruction to the second operating system via the one-way communication interface further includes:
将所述指令处理结果存储在所述安全区域内。The instruction processing result is stored in the secure area.
外操作系统中还可以预设一个安全区域,当外操作系统根据来自内操作系统的机器人指令,从外部互联网,或者公共互联网中获取到相应的指令处理结果后,将该机器人指令与指令处理结果的对应关系存储在该安全区域内,用于内操作系统根据机器人指令主动读取其内相应的指令处理结果。根据实际情况,当外操作系统接收到机器人指令后,也可以优先在该安全区域内查找相应的指令处理结果,若该安全区域内的机器人指令与指令处理结果的对应关系中不存在该机器人指令,则再从外部互联网,或者公共互联网中访问相应的指令处理结果。The external operating system may also preset a security area. When the external operating system obtains the corresponding instruction processing result from the external Internet or the public Internet according to the robot instruction from the internal operating system, the robot instruction and the instruction processing result are obtained. The corresponding relationship is stored in the security area, and the internal operating system actively reads the corresponding instruction processing result in the internal operating system according to the robot instruction. According to the actual situation, when the external operating system receives the robot command, it can also preferentially find the corresponding command processing result in the safe area. If the robot command in the safe area does not exist in the corresponding relationship between the command result and the command processing result, the robot command does not exist. Then, access the corresponding instruction processing result from the external Internet or the public Internet.
实施中,在第一操作系统中,所述确定所述指令是否存在于本地指令集中的步骤之后还包括:In an implementation, in the first operating system, after the step of determining whether the instruction exists in the local instruction set, the method further includes:
若所述指令不存在于本地指令集或者内联网云端中,则根据所述指令从 所述安全区域内读取相应的指令处理结果,并根据所述指令处理结果进行相应处理。If the instruction does not exist in the local instruction set or the intranet cloud, according to the instruction The corresponding instruction processing result is read in the security area, and corresponding processing is performed according to the instruction processing result.
内操作系统和外操作系统之间的通信为单向通信,当内操作系统需要外操作系统的数据时,也是内操作系统进行主动操作,外操作系统不能向内操作系统发送数据,即内操作系统从外操作系统所设定的安全区域内读取所需要的数据。具体地,当内操作系统确定上述机器人指令不存在于本地指令集或者内联网云端内机器人指令与指令处理结果的对应关系中时,根据该机器人指令从外操作系统所设定的安全区域内读取相应的指令处理结果,并进行后续的相应处理。The communication between the internal operating system and the external operating system is one-way communication. When the internal operating system needs data of the external operating system, the internal operating system performs active operations, and the external operating system cannot send data to the internal operating system, that is, the internal operation. The system reads the required data from the secure area set by the external operating system. Specifically, when the internal operating system determines that the robot instruction does not exist in the local instruction set or the correspondence between the robot instruction and the instruction processing result in the intranet cloud, the internal operation command reads from the security area set by the external operating system according to the robot instruction. Take the corresponding instruction processing result and perform subsequent corresponding processing.
本申请实施例二以具体场景为例,对本申请实施例一进行详细描述。The second embodiment of the present application provides a detailed description of the first embodiment of the present application by taking a specific scenario as an example.
实施例二、Embodiment 2
图2为本申请实施例二中机器人指令处理的流程示意图,如图2所示,机器人指令处理的具体实现方法为:2 is a schematic flowchart of a robot instruction processing in the second embodiment of the present application. As shown in FIG. 2, the specific implementation method of the robot instruction processing is as follows:
步骤201:用户通过麦克风对机器人发送语音指令。其中,麦克风为输入输出系统的输入系统。Step 201: The user sends a voice instruction to the robot through the microphone. Among them, the microphone is the input system of the input and output system.
步骤202:内操作系统接收到经感知系统处理后的语音指令后,对处理后的语音指令进行解析处理,并在确定内操作系统内的本地指令集中不存在该指令后,将该指令经由专用网络接口发送给云端认知系统。Step 202: After receiving the voice instruction processed by the sensing system, the internal operating system parses the processed voice instruction, and after determining that the instruction is not in the local instruction set in the internal operating system, the instruction is used exclusively. The network interface is sent to the cloud cognitive system.
步骤203:云端认知系统解析该指令,并在确定云端认知系统内的指令与指令处理结果的对应关系中不存在该指令后,返回一个空的指令处理结果给内操作系统。Step 203: The cloud cognitive system parses the instruction, and returns an empty instruction processing result to the internal operating system after determining that the instruction does not exist in the correspondence between the instruction in the cloud cognitive system and the instruction processing result.
步骤204:内操作系统根据该指令处理结果,将该指令经由单向通信接口发送给外操作系统。Step 204: The internal operating system processes the result according to the instruction, and sends the instruction to the external operating system via the one-way communication interface.
步骤205:外操作系统向公共互联网系统搜索到相应的指令处理结果后,执行该指令处理结果。Step 205: After the external operating system searches the public Internet system for the corresponding instruction processing result, the instruction processing result is executed.
实施例三、 Embodiment 3
基于同一发明构思,本申请实施例中还提供了一种机器人指令的处理装置,由于这些设备解决问题的原理与一种机器人指令的处理方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, a processing device for a robot instruction is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the processing method of a robot instruction, the implementation of these devices can be referred to the implementation of the method, and the method is repeated. It will not be repeated here.
图3为本申请实施例三中机器人指令处理的装置结构图,如图3所示,该装置300应用于双操作系统,所述双操作系统包括第一操作系统和第二操作系统,该装置300可以包括:3 is a structural diagram of a device for processing robot instructions according to Embodiment 3 of the present application. As shown in FIG. 3, the device 300 is applied to a dual operating system, and the dual operating system includes a first operating system and a second operating system. 300 can include:
接收模块301,用于在第一操作系统中,接收指令。The receiving module 301 is configured to receive an instruction in the first operating system.
判断模块302,用于确定所述指令是否存在于本地指令集中。The determining module 302 is configured to determine whether the instruction exists in the local instruction set.
处理模块303,用于若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存在,则对所述指令进行本地处理。The processing module 303 is configured to send the instruction to the second operating system via the one-way communication interface if not present, and if so, perform local processing on the instruction.
其中,所述第一操作系统与第二操作系统之间为单向通信,所述第一操作系统与内联网云端相连,所述第二操作系统与外联网相连。The first operating system is connected to the second operating system and the second operating system is connected to the external network.
进一步地,在第一操作系统中,所述判断模块302还包括:Further, in the first operating system, the determining module 302 further includes:
若所述指令不存在于本地指令集中,则将所述指令发送给所述内联网云端;Sending the instruction to the intranet cloud if the instruction does not exist in the local instruction set;
接收来自所述内联网云端的指令处理结果。Receiving instruction processing results from the intranet cloud.
进一步地,在所述第二操作系统中,还包括:Further, in the second operating system, the method further includes:
查询模块304,用于当所述第二操作系统根据所述指令,从外联网查询到相应的指令处理结果后,根据所述指令处理结果进行相应处理。The querying module 304 is configured to perform corresponding processing according to the instruction processing result after the second operating system queries from the external network to the corresponding instruction processing result according to the instruction.
进一步地,在第二操作系统中,所述第二操作系统包括一个安全区域,还包括:Further, in the second operating system, the second operating system includes a security area, and further includes:
存储模块305,用于将所述指令处理结果存储在所述安全区域内。The storage module 305 is configured to store the instruction processing result in the security area.
进一步地,在第一操作系统中,还包括:Further, in the first operating system, the method further includes:
读取模块306,用于若所述指令不存在于本地指令集或者内联网云端中,则根据所述指令从所述安全区域内读取相应的指令处理结果,并根据所述指令处理结果进行相应处理。 The reading module 306 is configured to: if the instruction does not exist in the local instruction set or the intranet cloud, read the corresponding instruction processing result from the security area according to the instruction, and perform the processing result according to the instruction Processing accordingly.
为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本申请时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For convenience of description, the various parts of the above described devices are described in terms of functions divided into various modules or units. Of course, the functions of each module or unit may be implemented in the same software or hardware in the implementation of the present application.
实施例四、Embodiment 4
基于同一发明构思,本申请实施例中还提供了一种电子设备,由于其原理与一种机器人指令的处理方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application. Since the principle is similar to the processing method of a robot instruction, the implementation of the method may refer to the implementation of the method, and the repeated description is not repeated.
图4示出了本申请实施例四中电子设备的结构示意图,如图4所示,所述电子设备包括:输入输出设备401,存储器402,一个或多个处理器403;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行任一上述方法中各个步骤的指令。其中,该电子设备可以是移动终端或者机器人。4 is a schematic structural diagram of an electronic device in Embodiment 4 of the present application. As shown in FIG. 4, the electronic device includes: an input/output device 401, a memory 402, one or more processors 403, and one or more a module, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising steps for performing any of the above methods Instructions. Wherein, the electronic device can be a mobile terminal or a robot.
实施例五、Embodiment 5
基于同一发明构思,本申请实施例还提供了一种与电子设备结合使用的计算机程序产品,由于其原理与一种机器人指令的处理方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行任一上述方法中各个步骤的指令。Based on the same inventive concept, the embodiment of the present application further provides a computer program product used in combination with an electronic device. Since the principle is similar to the processing method of a robot instruction, the implementation of the method can refer to the implementation of the method, and the repetition is not Let me repeat. The computer program product comprises a computer readable storage medium and a computer program mechanism embodied therein, the computer program mechanism comprising instructions for performing the various steps of any of the above methods.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程 和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each of the processes and/or blocks in the flowcharts and/or block diagrams, and the flows in the flowcharts and/or block diagrams can be implemented by computer program instructions. And/or a combination of boxes. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。 While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and

Claims (12)

  1. 一种机器人指令的处理方法,其特征在于,应用于双操作系统,所述双操作系统包括第一操作系统和第二操作系统,所述处理方法包括:A processing method for a robot instruction, which is characterized in that it is applied to a dual operating system, the dual operating system includes a first operating system and a second operating system, and the processing method includes:
    在第一操作系统中,接收指令;Receiving an instruction in the first operating system;
    确定所述指令是否存在于本地指令集中;Determining whether the instruction exists in a local instruction set;
    若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存在,则对所述指令进行本地处理;If not, the instruction is sent to the second operating system via the one-way communication interface, and if present, the instruction is locally processed;
    其中,所述第一操作系统与第二操作系统之间为单向通信,所述第一操作系统与内联网云端相连,所述第二操作系统与外联网相连。The first operating system is connected to the second operating system and the second operating system is connected to the external network.
  2. 如权利要求1所述的方法,其特征在于,在第一操作系统中,所述确定所述指令是否存在于本地指令集中的步骤之后还包括:The method of claim 1, wherein in the first operating system, the step of determining whether the instruction exists in the local instruction set further comprises:
    若所述指令不存在于本地指令集中,则将所述指令发送给所述内联网云端;Sending the instruction to the intranet cloud if the instruction does not exist in the local instruction set;
    接收来自所述内联网云端的指令处理结果。Receiving instruction processing results from the intranet cloud.
  3. 如权利要求1或2所述的方法,其特征在于,在所述第二操作系统中,所述将所述指令经由单向通信接口发送给第二操作系统的步骤之后还包括:The method according to claim 1 or 2, wherein, after the step of transmitting the instruction to the second operating system via the one-way communication interface, the method further includes:
    当所述第二操作系统根据所述指令,从外联网查询到相应的指令处理结果后,根据所述指令处理结果进行相应处理。After the second operating system queries the corresponding instruction processing result from the extranet according to the instruction, performing corresponding processing according to the instruction processing result.
  4. 如权利要求3所述的方法,其特征在于,在第二操作系统中,所述第二操作系统包括一个安全区域,所述将所述指令经由单向通信接口发送给第二操作系统的步骤之后还包括:The method of claim 3, wherein in the second operating system, the second operating system comprises a security zone, and the step of transmitting the instruction to the second operating system via the one-way communication interface It also includes:
    将所述指令处理结果存储在所述安全区域内。The instruction processing result is stored in the secure area.
  5. 如权利要求4所述的方法,其特征在于,在第一操作系统中,所述确定所述指令是否存在于本地指令集中的步骤之后还包括:The method of claim 4, wherein in the first operating system, the step of determining whether the instruction exists in the local instruction set further comprises:
    若所述指令不存在于本地指令集或者内联网云端中,则根据所述指令从所述安全区域内读取相应的指令处理结果,并根据所述指令处理结果进行相 应处理。If the instruction does not exist in the local instruction set or the intranet cloud, the corresponding instruction processing result is read from the security area according to the instruction, and the phase is processed according to the instruction processing result. Should be handled.
  6. 一种机器人指令的处理装置,其特征在于,应用于双操作系统,所述双操作系统包括第一操作系统和第二操作系统,所述处理装置包括:A processing device for a robot instruction, which is characterized in that it is applied to a dual operating system, the dual operating system includes a first operating system and a second operating system, and the processing device includes:
    接收模块,用于在第一操作系统中,接收指令;a receiving module, configured to receive an instruction in the first operating system;
    判断模块,用于确定所述指令是否存在于本地指令集中;a determining module, configured to determine whether the instruction exists in a local instruction set;
    处理模块,用于若不存在,则将所述指令经由单向通信接口发送给第二操作系统,若存在,则对所述指令进行本地处理;a processing module, configured to send the instruction to the second operating system via the one-way communication interface if not present, and if present, perform local processing on the instruction;
    其中,所述第一操作系统与第二操作系统之间为单向通信,所述第一操作系统与内联网云端相连,所述第二操作系统与外联网相连。The first operating system is connected to the second operating system and the second operating system is connected to the external network.
  7. 如权利要求6所述的装置,其特征在于,在第一操作系统中,所述判断模块还包括:The device of claim 6, wherein in the first operating system, the determining module further comprises:
    若所述指令不存在于本地指令集中,则将所述指令发送给所述内联网云端;Sending the instruction to the intranet cloud if the instruction does not exist in the local instruction set;
    接收来自所述内联网云端的指令处理结果。Receiving instruction processing results from the intranet cloud.
  8. 如权利要求6或7所述的装置,其特征在于,在所述第二操作系统中,还包括:The device according to claim 6 or 7, wherein in the second operating system, the method further comprises:
    查询模块,用于当所述第二操作系统根据所述指令,从外联网查询到相应的指令处理结果后,根据所述指令处理结果进行相应处理。The query module is configured to perform corresponding processing according to the instruction processing result after the second operating system queries from the external network to the corresponding instruction processing result according to the instruction.
  9. 如权利要求8所述的装置,其特征在于,在第二操作系统中,所述第二操作系统包括一个安全区域,还包括:The device of claim 8, wherein in the second operating system, the second operating system comprises a security zone, further comprising:
    存储模块,用于将所述指令处理结果存储在所述安全区域内。And a storage module, configured to store the instruction processing result in the security area.
  10. 如权利要求9所述的装置,其特征在于,在第一操作系统中,还包括:The device according to claim 9, wherein in the first operating system, the method further comprises:
    读取模块,用于若所述指令不存在于本地指令集或者内联网云端中,则根据所述指令从所述安全区域内读取相应的指令处理结果,并根据所述指令处理结果进行相应处理。 a reading module, configured to read a corresponding instruction processing result from the security area according to the instruction, if the instruction does not exist in the local instruction set or the intranet cloud, and perform corresponding according to the instruction processing result according to the instruction deal with.
  11. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, comprising:
    输入输出设备,存储器,一个或多个处理器;以及Input and output devices, memory, one or more processors;
    一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行权利要求1-5中任一所述方法中各个步骤的指令。One or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules including for performing claim 1 The instructions of the various steps in any of the methods described in 5.
  12. 一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行权利要求1-5中任一所述方法中各个步骤的指令。 A computer program product for use in conjunction with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising means for performing any of claims 1-5 An instruction for each step in the method.
PCT/CN2016/112767 2016-12-28 2016-12-28 Robot instruction processing method and device, and electronic apparatus WO2018119795A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/112767 WO2018119795A1 (en) 2016-12-28 2016-12-28 Robot instruction processing method and device, and electronic apparatus
CN201680002791.9A CN107077578A (en) 2016-12-28 2016-12-28 Processing method, device and the electronic equipment of robot instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/112767 WO2018119795A1 (en) 2016-12-28 2016-12-28 Robot instruction processing method and device, and electronic apparatus

Publications (1)

Publication Number Publication Date
WO2018119795A1 true WO2018119795A1 (en) 2018-07-05

Family

ID=59623914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112767 WO2018119795A1 (en) 2016-12-28 2016-12-28 Robot instruction processing method and device, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN107077578A (en)
WO (1) WO2018119795A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109214216B (en) * 2018-07-05 2022-08-30 北京智联安科技有限公司 Internet of things chip, terminal and method for realizing terminal system security
CN111143857B (en) * 2019-12-27 2022-04-22 达闼机器人有限公司 Data sharing method, robot controller and storage medium
CN112866404B (en) * 2021-02-03 2023-01-24 视若飞信息科技(上海)有限公司 Semi-cloud system and execution method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080269949A1 (en) * 2007-04-20 2008-10-30 Innovation First, Inc. Securing communications with robots
CN201966951U (en) * 2011-02-15 2011-09-07 深圳市维信联合科技有限公司 One-way dictating machine and unidirectional transmission system
CN105159148A (en) * 2015-07-16 2015-12-16 深圳前海达闼科技有限公司 Robot instruction processing method and device
CN205508398U (en) * 2015-09-30 2016-08-24 深圳光启合众科技有限公司 Intelligent robot with high in clouds interactive function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279455A (en) * 2015-09-23 2016-01-27 深圳市全智达科技有限公司 Security architecture of mobile device and running method of application
CN105812364A (en) * 2016-03-11 2016-07-27 深圳市全智达科技有限公司 Data transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080269949A1 (en) * 2007-04-20 2008-10-30 Innovation First, Inc. Securing communications with robots
CN201966951U (en) * 2011-02-15 2011-09-07 深圳市维信联合科技有限公司 One-way dictating machine and unidirectional transmission system
CN105159148A (en) * 2015-07-16 2015-12-16 深圳前海达闼科技有限公司 Robot instruction processing method and device
CN205508398U (en) * 2015-09-30 2016-08-24 深圳光启合众科技有限公司 Intelligent robot with high in clouds interactive function

Also Published As

Publication number Publication date
CN107077578A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
US11336511B2 (en) Managing network connected devices
US9712486B2 (en) Techniques for the deployment and management of network connected devices
US20170272316A1 (en) Managing network connected devices
EP2862065B1 (en) Intermediary virtual machine task management
US20180337799A1 (en) Connecting multiple mobile devices to a smart home assistant account
KR102443259B1 (en) Systems and methods for providing iot security service using hardware security module
CN108064379A (en) The query engine fetched for remote endpoint information
JP2019522282A (en) Secure configuration of cloud computing nodes
WO2018119795A1 (en) Robot instruction processing method and device, and electronic apparatus
WO2005043315A3 (en) System, method and computer program product for network resource processing
Xu et al. Eaaas: Edge analytics as a service
US10516649B1 (en) High-performance computer security gateway for cloud computing platform
US20150379268A1 (en) System and method for the tracing and detection of malware
CN111625496A (en) Method, device and equipment for deploying distributed file system in virtual machine environment
CN107409119A (en) Prestige is determined by network characteristic
CN108600219A (en) A kind of sound control method and equipment
CN115039385A (en) Configurable Internet of things communication system
JP2008191711A5 (en)
WO2017003885A1 (en) Brokered advanced pairing
WO2018188607A1 (en) Stream processing method and device
US9819725B1 (en) System, method, and computer program for remotely controlling mobile web applications installed on a mobile device
US10810148B2 (en) Device interfacing
CN110247818A (en) A kind of data monitoring method, device, storage medium and server
WO2015184846A1 (en) Router configuration method and router, router controlling apparatus and communication system
US20150100321A1 (en) Intelligent state aware system control utilizing two-way voice / audio communication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16925050

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16925050

Country of ref document: EP

Kind code of ref document: A1