WO2020114185A1 - Communication method and apparatus for cloud robot, storage medium and electronic device - Google Patents

Communication method and apparatus for cloud robot, storage medium and electronic device Download PDF

Info

Publication number
WO2020114185A1
WO2020114185A1 PCT/CN2019/116110 CN2019116110W WO2020114185A1 WO 2020114185 A1 WO2020114185 A1 WO 2020114185A1 CN 2019116110 W CN2019116110 W CN 2019116110W WO 2020114185 A1 WO2020114185 A1 WO 2020114185A1
Authority
WO
WIPO (PCT)
Prior art keywords
robot
communication
robots
gateway
cloud
Prior art date
Application number
PCT/CN2019/116110
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 达闼科技(北京)有限公司
Publication of WO2020114185A1 publication Critical patent/WO2020114185A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • H04L63/205Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Definitions

  • Embodiments of the present application relate to the field of cloud communication technology, and in particular, to a cloud robot communication method, device, storage medium, and electronic device.
  • a virtual private network (VPN, Virtual Private Network) client establishes a VPN tunnel through a VPN gateway to provide robots with a secure network connection service.
  • the communication content between robots includes but is not limited to mutual access, mutual coordination, mutual control, and sharing Audio, video, etc., shows that the mutual communication between robots is necessary.
  • the robot body installs a VPN client, and the robot connects to the VPN gateway through the VPN client to establish an end-to-end encrypted VPN tunnel from the robot body to the cloud.
  • the robots under the same gateway to communicate with each other by setting a switch on the VPN gateway. If this switch is turned on on the VPN gateway, the robots connected to the same VPN gateway can communicate with each other.
  • the communication switch between the control robots is a global switch: it can only be turned on or turned off
  • the objective of some embodiments of the present application is to provide a cloud robot communication method, device, medium, and electronic device, which implements global communication of terminals through a dedicated gateway, and isolates the external network to ensure communication security. At the same time, it also supports multi-tenancy and grouping robots, so that the robots in the same group can communicate, and at the same time realize the robot communication function connected to different gateways.
  • a communication method for a cloud robot including:
  • the robot grouping information including the above communication strategy is sent to the gateway corresponding to the above robot.
  • the above grouping of tenant robots in the cloud network includes:
  • the above-mentioned robots belong to at least one group, and/or
  • At least two robots under different gateways are grouped together.
  • the configuration of the communication strategy between robots in the above-mentioned robot grouping information includes:
  • the accessible list at least includes: IDs, IP addresses, and gateways of other robots accessible by the robot
  • the accessed list includes: IDs, IP addresses, and gateways of other robots that can access the above robots.
  • a cloud robot communication method including: [0023] parsing received robot grouping information to obtain the above-mentioned communication strategy between robots;
  • the above-mentioned conversion of the above communication policy into virtual machine flow table information includes:
  • the above-mentioned communication strategy is converted into a flow entry in a pre-installed virtual switch through a preset OpenFlow protocol, wherein the above-mentioned communication strategy includes at least an accessible list and an accessible list, and the accessible list at least includes : IDs, IP addresses, and gateways of other robots that the robot can access, and the above accessible list includes: IDs, IP addresses, and gateways of other robots that can access the robot.
  • the above-mentioned response to the robot communication instruction includes:
  • a route and/or a firewall including the IP address of the requesting robot and the IP address of the target robot are configured to the gateway Policy, and/or virtual switch OpenFlow flow table.
  • the above method further includes:
  • the first gateway is configured to include the target A first flow table of robot IP addresses, and a second flow table containing the requesting robot IP address is configured to the second gateway.
  • the method further includes:
  • the flow table information configured in the gateway to which the robot is connected in the cancellation communication instruction is deleted.
  • a cloud robot controller including:
  • a grouping module for grouping robots of tenants in the cloud network to obtain robot grouping information
  • a configuration module configured to configure a communication strategy between robots in the above-mentioned robot grouping information
  • the sending module is configured to send the robot grouping information including the above communication strategy to the gateway corresponding to the above robot.
  • a cloud robot gateway is provided, including:
  • an analysis module configured to analyze the received robot grouping information to obtain the above-mentioned communication strategy between the robots
  • a conversion module configured to convert the above communication strategy into virtual machine flow table information
  • the communication module in response to the robot communication instruction, implements the communication between the robots in the robot grouping information based on the flow table information.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above cloud robot communication method is implemented.
  • an electronic device including:
  • processing unit
  • a storage unit configured to store executable instructions of the processing unit
  • processing unit configured to perform the following operations via execution of executable instructions:
  • the communication between the robots in the robot grouping information is realized based on the flow table information.
  • Embodiments of the present application provide a cloud robot communication method, device, medium, and electronic device, including: grouping tenant robots in a cloud network to obtain robot group information; configuring the robot in the above robot group information Communication strategy; send the robot grouping information containing the above communication strategy to the gateway corresponding to the robot.
  • the embodiment of the present application implements global terminal communication through a dedicated gateway, and isolates the external network to ensure the security of communication. It also supports multi-tenancy and grouping robots, so that the robots in the same group can communicate and achieve The robot communication function connected to different gateways.
  • FIG. 1 schematically shows a schematic diagram of a communication method of a controller-side cloud robot according to an embodiment of the present application
  • FIG. 2 schematically shows a schematic diagram of a communication method of a gateway-side cloud robot according to an embodiment of the present application
  • FIG. 3 schematically shows a flow chart of a cloud robot packet communication configuration according to an embodiment of the present application
  • FIG. 4 schematically shows a schematic diagram of cancellation of communication by a cloud robot according to an embodiment of the present application
  • FIG. 5 schematically shows a schematic diagram of a one-way communication of a cloud robot according to an embodiment of the present application
  • FIG. 6 schematically shows a schematic diagram of the composition of a cloud-based robot controller according to an embodiment of the present application
  • FIG. 7 schematically shows a schematic composition diagram of a cloud robot gateway according to an embodiment of the present application.
  • FIG. 8 shows a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application.
  • FIG. 1 schematically shows a schematic diagram of a communication method of a controller-side cloud robot according to an embodiment of the present application.
  • the above-mentioned controller-side cloud robot communication method may include the following steps: [0071] S101. Group tenant robots in a cloud network to obtain robot grouping information;
  • S102 Configure a communication strategy between robots in the above-mentioned robot grouping information
  • S103 Send the robot grouping information including the communication strategy to the gateway corresponding to the robot.
  • Embodiments of the present application provide a cloud robot communication method, device, medium, and electronic equipment, including: grouping tenant robots in a cloud network to obtain robot grouping information; configuring the robot in the above robot grouping information Communication strategy; send the robot grouping information containing the above communication strategy to the gateway corresponding to the robot.
  • the embodiments of the present application implement a dedicated gateway Globalization of terminal communication and isolation of the external network ensure the security of communication. It also supports multi-tenancy and grouping of robots, so that robots in the same group can communicate, and at the same time realize the robot communication function connected to different gateways.
  • Step S101 Group tenants' robots in the cloud network to obtain robot grouping information.
  • the execution body of the above step S101 may be a controller of the cloud network, the controller may be used to control each VPN gateway in the cloud network, and send configuration information to the VPN gateway to achieve the same in the cloud network. Communication between robots in the group.
  • the tenants' robots in the cloud network are grouped, wherein the robot grouping information includes at least one robot in a single group.
  • the robots are grouped in the following manner: the above tenants’ robots are divided into at least two groups, and/or the above robots belong to at least one group, and/or at least two robots under the same gateway are divided As a group, and/or group at least two robots under different gateways into a group.
  • VPN gateways are established around the world, and the VPN gateways are connected through a private network, and are interconnected with each other, while supporting multi-tenancy.
  • Create a tenant in the central controller such as "tenant 1”, and create four robots in the tenant: “robot 1", “robot 2", “robot 3", “robot 4".
  • robots are grouped in the central controller, robot 1 and robot 2 are divided into group 1, robot 3 and robot 4 are divided into group 2.
  • the robot VPN gateways exchange labels through multi-protocol (
  • Switching dedicated network for communication, and can also create different routing and forwarding tables through MPLS to enable the cloud network to support multi-tenancy.
  • the robot body is remotely connected to the VPN gateway through the VPN client, and is connected to the M PLS private network, so that an end-to-end encrypted internal network is formed between the robot body and the gateway to ensure safety and the outside world. isolation.
  • each robot of the same tenant will be assigned an intranet IP address after connecting to the VPN gateway, and the intranet IP address of the robot connected to the same gateway is in the same network segment, In order to ensure that the IP address is reachable; the robot's intranet IP address connected to the same tenant under different gateways is not in the same network segment to ensure that the IP address does not conflict.
  • a grouping strategy between robots may be defined through the YANG model.
  • Step S102 Configure a communication strategy between robots in the above-mentioned robot grouping information.
  • an accessible list and an accessible list are configured for any robot in the above-mentioned robot grouping information, where the above-mentioned accessible list includes at least: IDs and IP addresses of other robots accessible by the above-mentioned robot And the gateway to which it belongs, the above accessible list includes: IDs, IP addresses and gateways of other robots that can access the above robots.
  • the communication strategy between robots can be established by establishing a YANG model, and the specific definitions can be: define a tenant group (group), a list of robots in the group (including robot id, intranet IP address) , Belonging VPN gateway, ), the robot's accessible list (including robot id, intranet IP address, belonging VPN gateway), the robot's accessible list (including robot id, intranet IP address, belonging VPN gateway), For example: Define which robots can be accessed by a robot in the same group of the same tenant, or define which robots can be accessed by a robot in the same group of the same tenant.
  • the gateway including the requesting robot IP address and the target robot IP address is configured to the gateway Routing, and/or firewall policy, and/or virtual switch OpenFlow flow table
  • the first The gateway configuration includes a first flow table that includes the target robot IP address, and configures the second flow table that includes the request robot IP address to the second gateway, for example: execute a command to add a flow table on the first gateway, tell the first If a gateway has an IP packet that wants to reach the target robot, then send the IP packet to the second gateway. At the same time, it must also execute the command to add a flow table on the second gateway. Robot, please send this IP packet to the first gateway.
  • the robot installs a VPN client, and the VPN client is connected to the VPN gateway, for example: robots 1, 2, 3 are connected to node 1, and robot 3 is connected to node 2, so that the robot body and the gateway Form an end-to-end intranet environment.
  • robots cannot communicate with each other.
  • the NETCONF control command issued by the controller establishes a communication link between the robots in tenant 1 and group 1, allowing communication between the robots in tenant 1 and group 1.
  • a communication link is established by setting a route on a VPN gateway as an example: controller N
  • ETCONF delivers the YANG model to the VPN gateway, and a "flow table" is set in the VPN gateway to allow the intranet IP addresses between Robot 1 and Robot 2 to communicate. In this way, the robots 1 and 2 can communicate with the intranet IP address.
  • the controller issues control commands to VPN gateway 1 and VPN gateway 2, respectively.
  • the robot 3 and the robot 4 are allowed to communicate.
  • the specific implementation manner may be: the controller sets a flow table in the V PN gateway 1 and the VPN gateway 2, respectively, so that the robot 3 and the robot 4 can communicate with each other.
  • Step S103 Send the robot grouping information including the communication strategy to the gateway corresponding to the robot.
  • the controller sends the communication strategy to each robot VPN gateway in the cloud network through the NETCONF protocol.
  • the YANG model containing the communication strategy can be sent to the robot VPN gateway through NETCONF to achieve the following The purpose of the configuration.
  • FIG. 2 schematically shows a schematic diagram of a communication method of a gateway-side cloud robot according to an embodiment of the present application.
  • the above-mentioned gateway-side cloud robot communication method may include the following steps:
  • Step S201 Analyze the received robot grouping information to obtain the above-mentioned communication strategy between the robots;
  • the gateway after receiving the robot grouping information, analyzes the robot grouping information and obtains the communication strategy between the robots.
  • the received robot grouping information may include the robot grouping information and communication. YANG model of strategy.
  • the robot grouping information is received from the controller through the NETCONF protocol to ensure safe communication.
  • Step S202 Convert the above communication strategy into virtual machine flow table information
  • the above communication strategy is converted into a flow entry in a pre-installed virtual switch through a preset OpenFlow protocol, where the above communication strategy includes at least: an accessible list and an accessible The list, the accessible list at least includes: the IDs, IP addresses and gateways of other robots that the robot can access, and the accessible list includes the IDs, IP addresses and gateways of other robots that can access the robot.
  • the VPN gateway converts the YANG model containing the robot grouping information and communication strategy into an OpenFlow flow table, and configures it in a virtual switch (Open vSwitch); specifically, the NETCONF service module of the VPN gateway receives The instructions of the controller parse the YANG model, transform the YANG model into a configuration command for the virtual switch, and configure the flow table of the virtual switch through the OpenFlow protocol.
  • Open vSwitch Open vSwitch
  • Step S203 In response to the robot communication instruction, based on the flow table information, implement the communication between the robots in the robot grouping information.
  • the gateway including the requesting robot IP address and the target robot IP address is configured to the gateway Routing, and/or firewall policy, and/or virtual switch OpenFlow flow table
  • the communication between the robots can determine whether to forward the data packets of the robot by matching the flow table of the virtual switch at the gateway. If the flow table information is matched, it can be forwarded to realize the communication between the robots; If the flow table information cannot be matched, it will not be forwarded to block or cancel the communication between robots.
  • the IP packet sent from the requesting robot to the target robot can be forwarded by the first gateway to the second gateway, and then the second gateway through the previously configured flow table Forwarded to the target robot.
  • the IP packet returned from the target robot to the requesting robot can be forwarded by the second gateway to the first gateway, and then the first gateway is forwarded to the requesting robot, completing a complete communication process
  • the implementation manner is: cancel the flow table on the VPN gateway, so that The robots are not reachable to each other, and this method is suitable for terminating communication between robots within the same node and robots across nodes.
  • FIG. 3 schematically shows a flow chart of a cloud robot packet communication configuration according to an embodiment of the present application.
  • the flow of the cloud robot packet communication configuration may include the following steps:
  • Step S301 The controller groups the tenant robots in the cloud network and determines a communication strategy
  • Step S302 Generate and issue a configuration command according to the YANG model
  • Step S303 Deliver the YANG model to the VPN gateway in the cloud network through the NETCONF protocol;
  • Step S304 the NETCONF module of the VPN gateway receives the YANG model issued by the PN gateway;
  • Step S305 analyzing the YANG model
  • Step S306 Obtain robot grouping information and communication strategy
  • Step S307 Acquire a list of accessible target robot IP addresses of the robots in each group;
  • Step S3071 The configuration module in the VPN gateway obtains a list of accessible target robot IP addresses
  • Step S3072 Generate the accessible target robot flow table information of OpenFlow from the accessible target robot IP address list;
  • Step S3073 The virtual switch in the VPN gateway loads the accessible target robot flow table information
  • Step S308 Acquire a list of robots' IP addresses that can be accessed by robots in each group;
  • Step S3081 The configuration module in the VPN gateway obtains the IP address list of the target robot that can be accessed;
  • Step S3082 Generate the accessible target robot flow table information of OpenFlow from the accessible target robot IP address list;
  • Step S3083 the virtual switch in the VPN gateway loads the flow table information of the target robot that can be accessed;
  • FIG. 4 schematically shows a schematic diagram of a cloud robot canceling communication according to an embodiment of the present application.
  • the robot 1 and the robot 2 communicate with the same node, and the controller After the VPN gateway 1 connected to the robot 1 and the robot 2 sends the NETCONF control command to cancel the communication, the VP N gateway 1 cancels its flow table about the robot 1 and the robot 2, so that the robot 1 and the robot 2 are unreachable.
  • the robot 3 and the robot 4 communicate across nodes, and the controller sends the NETCO NF that cancels communication to the VPN gateway 1 and the VPN gateway 2 connected to the robot 3 and the robot 4, respectively.
  • the VPN gateway 1 and the VPN gateway 2 cancel their flow tables about the robot 3 and the robot 2, so that the robot 3 and the robot 4 are unreachable.
  • FIG. 5 schematically shows a schematic diagram of a one-way communication of a cloud robot according to an embodiment of the present application.
  • the controller sends a one-way communication NETCONF control command to the VPN gateway 1 and the VPN gateway 2, the control robot 1 can access the robot 2 and the robot 3 through the VPN gateway 1, and Cross-node access to the robot 4 via VPN gateway 1, router 1, router 2, and VPN gateway 2 because the one-way communication NETCONF control command does not configure the address of robot 1 in VPN gateway 1 and VPN gateway 2, therefore, robots 2, 3 , 4 can not access 1, realize one-way communication of robot 1, robot 2, 3, 4.
  • a one-way communication method of a cloud robot can also realize two-way communication and many-to-many communication of the robot through the above-mentioned one embodiment of the present application, so that the communication mechanism between the robots is more complete, I will not repeat them here.
  • FIG. 6 schematically shows a schematic diagram of a composition of a cloud robot controller according to an embodiment of the present application.
  • the embodiment of this example further provides a cloud robot controller 600, including:
  • the grouping module 601 is used to group tenants' robots in the cloud network to obtain robot grouping information Interest
  • Configuration module 602 configured to configure the communication strategy between robots in the above-mentioned robot grouping information
  • the sending module 603 is configured to send the robot grouping information including the above communication strategy to the gateway corresponding to the above robot.
  • FIG. 7 schematically shows a schematic composition diagram of a cloud-based robot gateway according to an embodiment of the present application.
  • a cloud robot gateway 700 is further provided, including:
  • the analysis module 701 is configured to analyze the received robot grouping information to obtain the communication strategy between the robots;
  • a conversion module 702 configured to convert the above communication strategy into virtual machine flow table information
  • the communication module 703 in response to the robot communication instruction, implements communication between the robots in the robot grouping information based on the flow table information.
  • FIG. 8 shows a schematic structural diagram of a computer system 800 suitable for implementing an electronic device according to an embodiment of the present application.
  • the computer system 800 of the electronic device shown in FIG. 8 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present application.
  • the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to programs stored in the storage unit, and the programs in the storage unit can be read-only
  • the memory (ROM) 802 reads or loads the program from the storage section 808 to the random access memory (RAM) 803 for reading.
  • RAM 803 random access memory
  • various programs and data necessary for system operation are also stored.
  • the CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804.
  • the input/output (I/O) interface 805 is also connected to the bus 804.
  • the following components are connected to the I/O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; including a hard disk, etc.
  • Storage section 808 and a communication section 809 including a network interface card such as a LAN card, a modem, etc.
  • the communication section 809 performs communication processing via a network such as the Internet.
  • the driver 810 is also connected to the I/O interface 805 as needed.
  • Removable media 811 such as magnetic disks, optical disks, magneto-optical disks, semiconductors
  • a memory or the like is installed on the drive 810 as needed, so that the computer program read out therefrom is installed into the storage section 808 as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • the embodiments of the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication section 809, and/or installed from the removable medium 811.
  • the central processing unit (CPU) 801 the above-mentioned functions defined in the system of the present application are executed.
  • the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM)
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution apparatus or device.
  • the computer-readable signal medium may include a data signal propagated in the baseband or as part of the carrier wave, in which the computer-readable program code is carried. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution apparatus or device.
  • the program code contained on the computer-readable medium may be transmitted on any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, the above module, program segment, or code Part of contains one or more executable instructions for implementing specified logical functions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two consecutively represented blocks can actually be executed substantially in parallel, and sometimes they can also be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram or flowchart, and a combination of the blocks in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be used It is realized by a combination of dedicated hardware and computer instructions.
  • the units described in the embodiments of the present application may be implemented in software or hardware, and the described units may also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
  • the present application also provides a computer-readable medium
  • the computer-readable medium may be included in the electronic device described in the above embodiment; or may exist alone without being assembled into The electronic device.
  • the computer-readable medium carries one or more programs. When the one or more programs are executed by one of the electronic devices, the electronic device is caused to implement the method for compressing the multi-select item form as in the foregoing embodiment.
  • the foregoing electronic device may be implemented as shown in FIG. 1: S101, group robots of tenants in a cloud network to obtain robot grouping information; S102, configure communication between robots in the above-mentioned robot grouping information Strategy; S103: Send the robot grouping information including the above communication strategy to the gateway corresponding to the above robot.
  • each step shown in FIG. 2 may be implemented.

Abstract

Some embodiments of the present application provide a communication method and apparatus for a cloud robot, a medium and an electronic device. The method comprises: grouping robots of lessees in a cloud network to obtain robot grouping information; configuring the robot grouping information with a communication policy between robots; and sending the robot grouping information, comprising the communication policy, to gateways corresponding to the robots. Embodiments of the present application realize a global communication of a terminal by means of a dedicated gateway, and isolate external networks to ensure the security of communication, and also support a plurality of lessees and grouping of robots, so that robots within the same group can communicate therebetween, and also realize communication between robots connected to different gateways.

Description

云端机器人的通信方法、 装置、 存储介质以及电子设备 Cloud robot communication method, device, storage medium and electronic equipment
[0001] 本申请引用于 2018年 12月 07日递交的名称为“云端机器人的通信方法、 装置、 存储介质以及电子设备”的第 201811496604.4号中国专利申请, 其通过引用被全 部并入本申请。 [0001] This application refers to China Patent Application No. 201811496604.4 filed on December 07, 2018 and titled "Cloud Robot Communication Methods, Devices, Storage Media, and Electronic Equipment", which is incorporated by reference in its entirety.
技术领域 Technical field
[0002] 本申请实施例涉及云通信技术领域, 特别涉及一种云端机器人的通信方法、 装 置、 存储介质以及电子设备。 [0002] Embodiments of the present application relate to the field of cloud communication technology, and in particular, to a cloud robot communication method, device, storage medium, and electronic device.
背景技术 Background technique
[0003] 虚拟专用网络 (VPN, Virtual Private Network) 客户端通过 VPN网关建立 VPN 隧道, 为机器人提供安全的网络连接服务, 机器人之间通信内容包括但不仅限 于相互访问, 相互协同、 相互控制、 共享音频、 视频等, 可见机器人之间的相 互通信是必要性。 [0003] A virtual private network (VPN, Virtual Private Network) client establishes a VPN tunnel through a VPN gateway to provide robots with a secure network connection service. The communication content between robots includes but is not limited to mutual access, mutual coordination, mutual control, and sharing Audio, video, etc., shows that the mutual communication between robots is necessary.
[0004] 在现有云端机器人技术中, 机器人本体安装 VPN客户端、 机器人通过 VPN客户 端连接到 VPN网关, 建立从机器人本体到云端的端到端的加密的 VPN隧道。 通 过在 VPN网关上设置开关, 是否允许同一个网关下的机器人之间相互通信。 如 果 VPN网关上打开该开关, 则连接在同一个 VPN网关的机器人之间可以相互通 信。 [0004] In the existing cloud robot technology, the robot body installs a VPN client, and the robot connects to the VPN gateway through the VPN client to establish an end-to-end encrypted VPN tunnel from the robot body to the cloud. Whether to allow the robots under the same gateway to communicate with each other by setting a switch on the VPN gateway. If this switch is turned on on the VPN gateway, the robots connected to the same VPN gateway can communicate with each other.
[0005] 发明人发现现有技术至少存在以下问题: [0005] The inventor found that the prior art has at least the following problems:
[0006] ( 1) 控制机器人之间通信开关是一个全局开关: 只能全部打开或者全部关闭 [0006] (1) The communication switch between the control robots is a global switch: it can only be turned on or turned off
, 一旦打开则该 VPN网关下连接的所有的机器人之间均可以通信, 一旦关闭则 全部关闭通信。 Once opened, all robots connected under the VPN gateway can communicate, and once closed, all communication is closed.
[0007] (2) 只有同一个 VPN网关实例下的机器人才能通信, 跨节点的机器人之间不 能通信。 [0007] (2) Only robots under the same VPN gateway instance can communicate, and robots across nodes cannot communicate.
[0008] 需要说明的是, 在上述背景技术部分公开的信息仅用于加强对本申请的背景的 理解, 因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。 发明概述 技术问题 [0008] It should be noted that the information disclosed in the background section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art. Summary of the invention technical problem
问题的解决方案 Solution to the problem
技术解决方案 Technical solution
[0009] 本申请部分实施例的目的在于提供一种云端机器人的通信方法、 装置、 介质及 电子设备, 实现了通过专用的网关进行终端全球化通信, 并且隔离外网保证了 通信的安全性, 同时还支持多租户以及对机器人进行分组, 使同一分组内的机 器人可以进行通信, 同时实现了连接到不同网关的机器人通信功能。 [0009] The objective of some embodiments of the present application is to provide a cloud robot communication method, device, medium, and electronic device, which implements global communication of terminals through a dedicated gateway, and isolates the external network to ensure communication security. At the same time, it also supports multi-tenancy and grouping robots, so that the robots in the same group can communicate, and at the same time realize the robot communication function connected to different gateways.
[0010] 本申请的其他特性和优点将通过下面的详细描述变得显然, 或部分地通过本申 请的实践而习得。 [0010] Other characteristics and advantages of the present application will become apparent through the following detailed description, or partly learned through the practice of the present application.
[0011] 根据本申请实施例的第一方面, 提供一种云端机器人的通信方法, 包括: [0011] According to a first aspect of the embodiments of the present application, a communication method for a cloud robot is provided, including:
[0012] 对云端网络中租户的机器人进行分组, 获得机器人分组信息; [0012] group the tenants' robots in the cloud network to obtain robot grouping information;
[0013] 在上述机器人分组信息中配置机器人之间的通信策略; [0013] configuring communication strategies between robots in the above-mentioned robot grouping information;
[0014] 将包含上述通信策略的机器人分组信息向上述机器人对应的网关发送。 [0014] The robot grouping information including the above communication strategy is sent to the gateway corresponding to the above robot.
[0015] 在本申请实施例的一种示例性实施例中, 上述对云端网络中租户的机器人进行 分组, 包括: [0015] In an exemplary embodiment of the embodiment of the present application, the above grouping of tenant robots in the cloud network includes:
[0016] 将上述租户的机器人至少分为两个分组, 和 /或 [0016] The above tenants' robots are divided into at least two groups, and/or
[0017] 上述机器人至少属于一个分组, 和 /或 [0017] The above-mentioned robots belong to at least one group, and/or
[0018] 将相同网关下的至少两个机器人分为一组, 和 /或 [0018] grouping at least two robots under the same gateway into one group, and/or
[0019] 将不相同网关下的至少两个机器人分为一组。 [0019] At least two robots under different gateways are grouped together.
[0020] 在本申请实施例的一种示例性实施例中, 上述在上述机器人分组信息中配置机 器人之间的通信策略, 包括: [0020] In an exemplary embodiment of the embodiment of the present application, the configuration of the communication strategy between robots in the above-mentioned robot grouping information includes:
[0021] 为上述机器人分组信息中的任一机器人配置可访问列表以及可被访问列表, 其 中, 上述可访问列表至少包括: 上述机器人可访问的其它机器人的 ID、 IP地址以 及所属网关, 上述可被访问列表包括: 可访问上述机器人的其它机器人的 ID、 IP 地址以及所属网关。 [0021] Configure an accessible list and an accessible list for any robot in the above-mentioned robot grouping information, wherein the accessible list at least includes: IDs, IP addresses, and gateways of other robots accessible by the robot The accessed list includes: IDs, IP addresses, and gateways of other robots that can access the above robots.
[0022] 根据本申请实施例的第二方面, 还提供一种云端机器人的通信方法, 包括: [0023] 对接收到的机器人分组信息进行解析, 获得上述机器人之间的通信策略; [0022] According to a second aspect of the embodiments of the present application, there is also provided a cloud robot communication method, including: [0023] parsing received robot grouping information to obtain the above-mentioned communication strategy between robots;
[0024] 将上述通信策略转换为虚拟机流表信息; [0025] 响应于机器人通信指令, 基于上述流表信息实现上述机器人分组信息内机器人 之间的通信。 [0024] Convert the above communication strategy into virtual machine flow table information; [0025] In response to the robot communication instruction, the communication between the robots in the robot grouping information is implemented based on the flow table information.
[0026] 在本申请实施例的一种示例性实施例中, 上述将上述通信策略转换为虚拟机流 表信息, 包括: [0026] In an exemplary embodiment of the embodiment of the present application, the above-mentioned conversion of the above communication policy into virtual machine flow table information includes:
[0027] 通过预设的 OpenFlow协议将上述通信策略转换为预安装的虚拟交换机中的流表 项, 其中, 上述通信策略至少包括: 可访问列表和可被访问列表, 所述可访问 列表至少包括: 上述机器人可访问的其它机器人的 ID、 IP地址以及所属网关, 上 述可被访问列表包括: 可访问上述机器人的其它机器人的 ID、 IP地址以及所属网 关。 [0027] The above-mentioned communication strategy is converted into a flow entry in a pre-installed virtual switch through a preset OpenFlow protocol, wherein the above-mentioned communication strategy includes at least an accessible list and an accessible list, and the accessible list at least includes : IDs, IP addresses, and gateways of other robots that the robot can access, and the above accessible list includes: IDs, IP addresses, and gateways of other robots that can access the robot.
[0028] 在本申请实施例的一种示例性实施例中, 上述响应于机器人通信指令, 基于上 述流表信息实现上述机器人分组信息内机器人之间的通信, 包括: [0028] In an exemplary embodiment of the embodiment of the present application, the above-mentioned response to the robot communication instruction, based on the above-mentioned flow table information to achieve communication between the robots in the above-mentioned robot grouping information, includes:
[0029] 当上述通信指令中的请求机器人与目标机器人在同一个分组内并且连接至同一 网关时, 向上述网关配置包含有上述请求机器人 IP地址以及上述目标机器人 IP地 址的路由、 和 /或防火墙策略、 和 /或虚拟交换机 OpenFlow流表。 [0029] When the requesting robot and the target robot in the above communication instruction are in the same group and are connected to the same gateway, a route and/or a firewall including the IP address of the requesting robot and the IP address of the target robot are configured to the gateway Policy, and/or virtual switch OpenFlow flow table.
[0030] 在本申请实施例的一种示例性实施例中, 上述方法还包括: [0030] In an exemplary embodiment of the embodiments of the present application, the above method further includes:
[0031] 当上述通信指令中的请求机器人与目标机器人在同一个分组内, 并且上述请求 机器人连接至第一网关, 上述目标机器人连接至第二网关时, 向上述第一网关 配置包含有上述目标机器人 IP地址的第一流表, 并向上述第二网关配置包含有上 述请求机器人 IP地址的第二流表。 [0031] When the requesting robot and the target robot in the communication instruction are in the same group, and the requesting robot is connected to the first gateway, and the target robot is connected to the second gateway, the first gateway is configured to include the target A first flow table of robot IP addresses, and a second flow table containing the requesting robot IP address is configured to the second gateway.
[0032] 在本申请实施例的一种示例性实施例中, 上述基于上述配置的流表实现机器人 之间的通信之后, 上述方法还包括: [0032] In an exemplary embodiment of the embodiment of the present application, after implementing the communication between the robots based on the flow table configured as described above, the method further includes:
[0033] 响应于取消通信指令, 将上述取消通信指令中的机器人所连接网关中已配置的 流表信息删除。 [0033] In response to the cancellation communication instruction, the flow table information configured in the gateway to which the robot is connected in the cancellation communication instruction is deleted.
[0034] 根据本申请实施例的第三方面, 提供一种云端机器人控制器, 包括: [0034] According to a third aspect of the embodiments of the present application, a cloud robot controller is provided, including:
[0035] 分组模块, 用于对云端网络中租户的机器人进行分组, 获得机器人分组信息; [0035] a grouping module for grouping robots of tenants in the cloud network to obtain robot grouping information;
[0036] 配置模块, 用于在上述机器人分组信息中配置机器人之间的通信策略; [0036] a configuration module, configured to configure a communication strategy between robots in the above-mentioned robot grouping information;
[0037] 发送模块, 用于将包含上述通信策略的机器人分组信息向上述机器人对应的网 关发送。 [0038] 根据本申请实施例的第四方面, 提供一种云端机器人网关, 包括: [0037] The sending module is configured to send the robot grouping information including the above communication strategy to the gateway corresponding to the above robot. [0038] According to a fourth aspect of the embodiments of the present application, a cloud robot gateway is provided, including:
[0039] 解析模块, 用于对接收到的机器人分组信息进行解析, 获得上述机器人之间的 通信策略; [0039] an analysis module, configured to analyze the received robot grouping information to obtain the above-mentioned communication strategy between the robots;
[0040] 转换模块, 用于将上述通信策略转换为虚拟机流表信息; [0040] a conversion module, configured to convert the above communication strategy into virtual machine flow table information;
[0041] 通信模块, 响应于机器人通信指令, 基于上述流表信息实现上述机器人分组信 息内机器人之间的通信。 [0041] The communication module, in response to the robot communication instruction, implements the communication between the robots in the robot grouping information based on the flow table information.
[0042] 根据本申请实施例的第五方面, 提供一种计算机可读存储介质, 其上存储有计 算机程序, 计算机程序被处理器执行时实现上述的云端机器人的通信方法。 [0042] According to a fifth aspect of the embodiments of the present application, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above cloud robot communication method is implemented.
[0043] 根据本申请实施例的第六方面, 提供一种电子设备, 包括: [0043] According to a sixth aspect of the embodiments of the present application, an electronic device is provided, including:
[0044] 处理单元; 以及 [0044] processing unit; and
[0045] 存储单元, 设置为存储处理单元的可执行指令; [0045] a storage unit configured to store executable instructions of the processing unit;
[0046] 其中, 处理单元配置为经由执行可执行指令来执行以下操作: [0046] wherein the processing unit is configured to perform the following operations via execution of executable instructions:
[0047] 对云端网络中租户的机器人进行分组, 获得机器人分组信息; [0047] group tenants' robots in the cloud network to obtain robot grouping information;
[0048] 在上述机器人分组信息中配置机器人之间的通信策略; [0048] configuring communication strategies between robots in the above-mentioned robot grouping information;
[0049] 将包含上述通信策略的机器人分组信息向上述机器人对应的网关发送, 或 [0050] 对接收到的机器人分组信息进行解析, 获得上述机器人之间的通信策略; [0049] send the grouping information of the robot containing the above communication strategy to the gateway corresponding to the above robot, or [0050] analyze the received grouping information of the robot to obtain the communication strategy between the above robots;
[0051] 将上述通信策略转换为虚拟机流表信息; [0051] converting the above communication strategy into virtual machine flow table information;
[0052] 响应于机器人通信指令, 基于上述流表信息实现上述机器人分组信息内机器人 之间的通信。 [0052] In response to the robot communication instruction, the communication between the robots in the robot grouping information is realized based on the flow table information.
[0053] 由上述技术方案可知, 本申请实施例提供的一种云端机器人的通信方法, 其优 点和积极效果在于: [0053] It can be known from the above technical solutions that the cloud robot communication method provided by the embodiments of the present application has advantages and positive effects as follows:
[0054] 本申请实施例提供了一种云端机器人的通信方法、 装置、 介质及电子设备, 包 括: 对云端网络中租户的机器人进行分组, 获得机器人分组信息; 在上述机器 人分组信息中配置机器人之间的通信策略; 将包含上述通信策略的机器人分组 信息向上述机器人对应的网关发送。 本申请实施例实现了通过专用的网关进行 终端全球化通信, 并且隔离外网保证了通信的安全性, 同时还支持多租户以及 对机器人进行分组, 使同一分组内的机器人可以进行通信, 同时实现了连接到 不同网关的机器人通信功能。 [0055] 应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并 不能限制本申请。 [0054] Embodiments of the present application provide a cloud robot communication method, device, medium, and electronic device, including: grouping tenant robots in a cloud network to obtain robot group information; configuring the robot in the above robot group information Communication strategy; send the robot grouping information containing the above communication strategy to the gateway corresponding to the robot. The embodiment of the present application implements global terminal communication through a dedicated gateway, and isolates the external network to ensure the security of communication. It also supports multi-tenancy and grouping robots, so that the robots in the same group can communicate and achieve The robot communication function connected to different gateways. [0055] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application.
发明的有益效果 Beneficial effects of invention
对附图的简要说明 Brief description of the drawings
附图说明 BRIEF DESCRIPTION
[0056] 此处的附图被并入说明书中并构成本说明书的一部分, 示出了符合本申请的实 施例, 并与说明书一起用于解释本申请的原理。 显而易见地, 下面描述中的附 图仅仅是本申请的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动的前提下, 还可以根据这些附图获得其他的附图。 在附图中: [0056] The drawings herein are incorporated into and constitute a part of this specification, show embodiments consistent with this application, and are used together with the specification to explain the principles of this application. Obviously, the attached drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without paying any creative labor, other drawings may be obtained based on these drawings. In the drawings:
[0057] 图 1示意性示出了根据本申请的一个实施例的控制器侧云端机器人的通信方法 示意图; [0057] FIG. 1 schematically shows a schematic diagram of a communication method of a controller-side cloud robot according to an embodiment of the present application;
[0058] 图 2示意性示出了根据本申请的一个实施例的网关侧云端机器人的通信方法示 意图; [0058] FIG. 2 schematically shows a schematic diagram of a communication method of a gateway-side cloud robot according to an embodiment of the present application;
[0059] 图 3示意性示出了根据本申请的一个实施例的云端机器人分组通信配置的流程 图; [0059] FIG. 3 schematically shows a flow chart of a cloud robot packet communication configuration according to an embodiment of the present application;
[0060] 图 4示意性示出了根据本申请的一个实施例的一种云端机器人的取消通信的示 意图; [0060] FIG. 4 schematically shows a schematic diagram of cancellation of communication by a cloud robot according to an embodiment of the present application;
[0061] 图 5示意性示出了根据本申请的一个实施例的一种云端机器人的单向通信的示 意图; [0061] FIG. 5 schematically shows a schematic diagram of a one-way communication of a cloud robot according to an embodiment of the present application;
[0062] 图 6示意性示出了根据本申请的一个实施例的一种云端机器人控制器的组成示 意图; [0062] FIG. 6 schematically shows a schematic diagram of the composition of a cloud-based robot controller according to an embodiment of the present application;
[0063] 图 7示意性示出了根据本申请的一个实施例的一种云端机器人网关的组成示意 图; [0063] FIG. 7 schematically shows a schematic composition diagram of a cloud robot gateway according to an embodiment of the present application;
[0064] 图 8示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图 发明实施例 [0064] FIG. 8 shows a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application.
本发明的实施方式 [0065] 现在将参考附图更全面地描述示例实施例。 然而, 示例实施例能够以多种形式 实施, 且不应被理解为限于在此阐述的范例; 相反, 提供这些实施例使得本申 请将更加全面和完整, 并将示例实施例的构思全面地传达给本领域的技术人员 Embodiments of the invention [0065] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms, and should not be construed as being limited to the examples set forth herein; on the contrary, providing these embodiments makes the application more comprehensive and complete, and fully conveys the idea of the example embodiments For those skilled in the art
[0066] 此外, 所描述的特征、 结构或特性可以以任何合适的方式结合在一个或更多实 施例中。 在下面的描述中, 提供许多具体细节从而给出对本申请的实施例的充 分理解。 然而, 本领域技术人员将意识到, 可以实践本申请的技术方案而没有 特定细节中的一个或更多, 或者可以采用其它的方法、 组元、 装置、 步骤等。 在其它情况下, 不详细示出或描述公知方法、 装置、 实现或者操作以避免模糊 本申请的各方面。 [0066] In addition, the described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to give a sufficient understanding of the embodiments of the present application. However, those skilled in the art will realize that the technical solutions of the present application can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be used. In other cases, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
[0067] 附图中所示的方框图仅仅是功能实体, 不一定必须与物理上独立的实体相对应 。 即, 可以采用软件形式来实现这些功能实体, 或在一个或多个硬件模块或集 成电路中实现这些功能实体, 或在不同网络和 /或处理器装置和 /或微控制器装置 中实现这些功能实体。 [0067] The block diagrams shown in the drawings are merely functional entities and do not necessarily have to correspond to physically independent entities. That is, these functional entities can be implemented in the form of software, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices entity.
[0068] 附图中所示的流程图仅是示例性说明, 不是必须包括所有的内容和操作 /步骤 , 也不是必须按所描述的顺序执行。 例如, 有的操作 /步骤还可以分解, 而有的 操作 /步骤可以合并或部分合并, 因此实际执行的顺序有可能根据实际情况改变 [0068] The flowchart shown in the drawings is only an exemplary description, and does not necessarily include all contents and operations/steps, nor does it have to be performed in the order described. For example, some operations/steps can also be decomposed, and some operations/steps can be merged or partially merged, so the order of actual execution may change according to the actual situation
[0069] 图 1示意性示出了根据本申请的一个实施例的控制器侧云端机器人的通信方法 示意图。 [0069] FIG. 1 schematically shows a schematic diagram of a communication method of a controller-side cloud robot according to an embodiment of the present application.
[0070] 参考图 1中所示, 上述的控制器侧云端机器人的通信方法可以包括以下步骤: [0071] S101 , 对云端网络中租户的机器人进行分组, 获得机器人分组信息; [0070] Referring to FIG. 1, the above-mentioned controller-side cloud robot communication method may include the following steps: [0071] S101. Group tenant robots in a cloud network to obtain robot grouping information;
[0072] S102, 在上述机器人分组信息中配置机器人之间的通信策略; [0072] S102: Configure a communication strategy between robots in the above-mentioned robot grouping information;
[0073] S103 , 将包含上述通信策略的机器人分组信息向上述机器人对应的网关发送。 [0073] S103: Send the robot grouping information including the communication strategy to the gateway corresponding to the robot.
[0074] 本申请实施例提供了一种云端机器人的通信方法、 装置、 介质及电子设备, 包 括: 对云端网络中租户的机器人进行分组, 获得机器人分组信息; 在上述机器 人分组信息中配置机器人之间的通信策略; 将包含上述通信策略的机器人分组 信息向上述机器人对应的网关发送。 本申请实施例实现了通过专用的网关进行 终端全球化通信, 并且隔离外网保证了通信的安全性, 同时还支持多租户以及 对机器人进行分组, 使同一分组内的机器人可以进行通信, 同时实现了连接到 不同网关的机器人通信功能。 [0074] Embodiments of the present application provide a cloud robot communication method, device, medium, and electronic equipment, including: grouping tenant robots in a cloud network to obtain robot grouping information; configuring the robot in the above robot grouping information Communication strategy; send the robot grouping information containing the above communication strategy to the gateway corresponding to the robot. The embodiments of the present application implement a dedicated gateway Globalization of terminal communication and isolation of the external network ensure the security of communication. It also supports multi-tenancy and grouping of robots, so that robots in the same group can communicate, and at the same time realize the robot communication function connected to different gateways.
[0075] 下面, 将结合附图及实施例对本示例实施例中的云端机器人的通信方法的各个 步骤进行更详细的说明。 [0075] In the following, each step of the communication method of the cloud robot in this exemplary embodiment will be described in more detail with reference to the accompanying drawings and embodiments.
[0076] 步骤 S101, 对云端网络中租户的机器人进行分组, 获得机器人分组信息。 [0076] Step S101: Group tenants' robots in the cloud network to obtain robot grouping information.
[0077] 本示例实施例中, 上述步骤 S101的执行主体可以是云端网络的控制器, 该控制 器可以用来控制云端网络中的各个 VPN网关, 向 VPN网关发送配置信息以实现 云端网络内同组中机器人之间的通信。 [0077] In this exemplary embodiment, the execution body of the above step S101 may be a controller of the cloud network, the controller may be used to control each VPN gateway in the cloud network, and send configuration information to the VPN gateway to achieve the same in the cloud network. Communication between robots in the group.
[0078] 本示例实施例中, 对云端网络中租户的机器人进行分组, 其中, 机器人分组信 息中单个分组中至少包括一个机器人。 [0078] In this exemplary embodiment, the tenants' robots in the cloud network are grouped, wherein the robot grouping information includes at least one robot in a single group.
[0079] 本示例实施例中, 机器人的分组方式为: 将上述租户的机器人至少分为两个分 组, 和 /或上述机器人至少属于一个分组, 和 /或将相同网关下的至少两个机器人 分为一组, 和 /或将不相同网关下的至少两个机器人分为一组。 [0079] In this exemplary embodiment, the robots are grouped in the following manner: the above tenants’ robots are divided into at least two groups, and/or the above robots belong to at least one group, and/or at least two robots under the same gateway are divided As a group, and/or group at least two robots under different gateways into a group.
[0080] 本示例实施例中, 在全球各地建立 VPN网关, VPN网关之间通过专网连接, 并 且彼此之间相互打通, 同时支持多租户。 在中央控制器中建立一个租户, 例如“ 租户 1”, 并在该租户内创建四个机器人: “机器人 1”、 “机器人 2”、 “机器人 3”、 “ 机器人 4”。 并且在中央控制器中对机器人进行分组, 机器人 1和机器人 2分为组 1 , 机器人 3和机器人 4分为组 2。 [0080] In this exemplary embodiment, VPN gateways are established around the world, and the VPN gateways are connected through a private network, and are interconnected with each other, while supporting multi-tenancy. Create a tenant in the central controller, such as "tenant 1", and create four robots in the tenant: "robot 1", "robot 2", "robot 3", "robot 4". And the robots are grouped in the central controller, robot 1 and robot 2 are divided into group 1, robot 3 and robot 4 are divided into group 2.
[0081] 本示例实施例中, 在云端网络中, 机器人 VPN网关之间通过多协议标签交换 ( [0081] In this exemplary embodiment, in a cloud network, the robot VPN gateways exchange labels through multi-protocol (
MPLS, Multi-Protocol Label MPLS, Multi-Protocol Label
Switching) 专用网络进行通信, 同时也可以通过 MPLS创建不同的路由转发表使 云端网络支持多租户。 Switching) dedicated network for communication, and can also create different routing and forwarding tables through MPLS to enable the cloud network to support multi-tenancy.
[0082] 本示例实施例中, 机器人本体通过 VPN客户端远程接入到 VPN网关, 并且与 M PLS专网打通, 使得机器人本体和网关之间形成端到端的加密内网, 保证安全和 与外界隔离。 [0082] In this exemplary embodiment, the robot body is remotely connected to the VPN gateway through the VPN client, and is connected to the M PLS private network, so that an end-to-end encrypted internal network is formed between the robot body and the gateway to ensure safety and the outside world. isolation.
[0083] 本示例实施例中, 同一租户的每个机器人在连接 VPN网关之后, 都会分配一个 内网 IP地址, 并且连接到同一个网关下的机器人的内网 IP地址在同一个网段内, 以保证 IP地址可达; 连接到不同的网关下的同一租户的机器人内网 IP地址不在同 一网段内, 以保证 IP地址不发生冲突。 [0083] In this exemplary embodiment, each robot of the same tenant will be assigned an intranet IP address after connecting to the VPN gateway, and the intranet IP address of the robot connected to the same gateway is in the same network segment, In order to ensure that the IP address is reachable; the robot's intranet IP address connected to the same tenant under different gateways is not in the same network segment to ensure that the IP address does not conflict.
[0084] 本示例实施例中, 可以通过 YANG模型定义机器人之间的分组策略。 [0084] In this exemplary embodiment, a grouping strategy between robots may be defined through the YANG model.
[0085] 步骤 S 102, 在上述机器人分组信息中配置机器人之间的通信策略。 [0085] Step S102: Configure a communication strategy between robots in the above-mentioned robot grouping information.
[0086] 本示例实施例中, 为上述机器人分组信息中的任一机器人配置可访问列表以及 可被访问列表, 其中, 上述可访问列表至少包括: 上述机器人可访问的其它机 器人的 ID、 IP地址以及所属网关, 上述可被访问列表包括: 可访问上述机器人的 其它机器人的 ID、 IP地址以及所属网关。 [0086] In this exemplary embodiment, an accessible list and an accessible list are configured for any robot in the above-mentioned robot grouping information, where the above-mentioned accessible list includes at least: IDs and IP addresses of other robots accessible by the above-mentioned robot And the gateway to which it belongs, the above accessible list includes: IDs, IP addresses and gateways of other robots that can access the above robots.
[0087] 本示例实施例中, 机器人之间的通信策略可以通过建立 YANG模型进行建立, 具体定义可以是: 定义租户的组 (group) , 组内的机器人列表 (包括机器人 id 、 内网 IP地址、 所属 VPN网关、 ) , 该机器人的可访问列表 (包括机器人 id、 内 网 IP地址、 所属 VPN网关) 、 该机器人的可被访问列表 (包括机器人 id、 内网 IP 地址、 所属 VPN网关) , 例如: 定义同一租户的同组内的一个机器人可以被哪 些机器人访问, 或定义同一租户的同组内的一个机器人可以访问哪些机器人。 [0087] In this exemplary embodiment, the communication strategy between robots can be established by establishing a YANG model, and the specific definitions can be: define a tenant group (group), a list of robots in the group (including robot id, intranet IP address) , Belonging VPN gateway, ), the robot's accessible list (including robot id, intranet IP address, belonging VPN gateway), the robot's accessible list (including robot id, intranet IP address, belonging VPN gateway), For example: Define which robots can be accessed by a robot in the same group of the same tenant, or define which robots can be accessed by a robot in the same group of the same tenant.
[0088] 本示例实施例中, 当上述通信指令中的请求机器人与目标机器人在同一个分组 内并且连接至同一网关时, 向上述网关配置包含有上述请求机器人 IP地址以及上 述目标机器人 IP地址的路由、 和 /或防火墙策略、 和 /或虚拟交换机 OpenFlow流表 [0088] In this exemplary embodiment, when the requesting robot and the target robot in the above communication instruction are in the same group and connected to the same gateway, the gateway including the requesting robot IP address and the target robot IP address is configured to the gateway Routing, and/or firewall policy, and/or virtual switch OpenFlow flow table
[0089] 本示例实施例中, 当上述通信指令中的请求机器人与目标机器人在同一个分组 内, 并且上述请求机器人连接至第一网关, 上述目标机器人连接至第二网关时 , 向上述第一网关配置包含有上述目标机器人 IP地址的第一流表, 并向上述第二 网关配置包含有上述请求机器人 IP地址的第二流表, 例如: 在第一网关上执行添 加流表的命令, 告诉第一网关如果有 IP包想达到目标机器人, 那么将此 IP包发给 第二网关, 同时, 也要在第二网关上执行添加流表的命令, 它告诉第二网关如 果有 IP包想达到请求机器人, 那么请将此 IP包发给第一网关。 [0089] In this exemplary embodiment, when the requesting robot in the communication instruction and the target robot are in the same group, and the requesting robot is connected to the first gateway, and the target robot is connected to the second gateway, the first The gateway configuration includes a first flow table that includes the target robot IP address, and configures the second flow table that includes the request robot IP address to the second gateway, for example: execute a command to add a flow table on the first gateway, tell the first If a gateway has an IP packet that wants to reach the target robot, then send the IP packet to the second gateway. At the same time, it must also execute the command to add a flow table on the second gateway. Robot, please send this IP packet to the first gateway.
[0090] 本示例实施例中, 机器人安装 VPN客户端, VPN客户端连接到 VPN网关, 例如 : 机器人 1、 2、 3连接到节点 1, 机器人 3连接到节点 2, 使得机器人本体和网关 之间形成端到端的内网环境, 在默认情况下, 机器人之间是不能相互通信的, 通过控制器下发 NETCONF控制命令, 将租户 1、 组 1内的机器人建立通信链路, 允许租户 1、 组 1内的机器人之间进行通信。 [0090] In this example embodiment, the robot installs a VPN client, and the VPN client is connected to the VPN gateway, for example: robots 1, 2, 3 are connected to node 1, and robot 3 is connected to node 2, so that the robot body and the gateway Form an end-to-end intranet environment. By default, robots cannot communicate with each other. The NETCONF control command issued by the controller establishes a communication link between the robots in tenant 1 and group 1, allowing communication between the robots in tenant 1 and group 1.
[0091] 本示例实施例中, 以 VPN网关上设置路由的方式建立通信链路为例: 控制器 N [0091] In this exemplary embodiment, a communication link is established by setting a route on a VPN gateway as an example: controller N
ETCONF下发 YANG模型到 VPN网关, VPN网关中设置“流表”, 允许机器人 1和 机器人 2之间的内网 IP地址互通。 这样机器人 1、 2之间即可进行以内网 IP地址进 行通信。 ETCONF delivers the YANG model to the VPN gateway, and a "flow table" is set in the VPN gateway to allow the intranet IP addresses between Robot 1 and Robot 2 to communicate. In this way, the robots 1 and 2 can communicate with the intranet IP address.
[0092] 本示例实施例中, 基于前述方案, 如果同一租户、 同一组内的机器人通过不同 的节点的不同 VPN网关接入时, 控制器分别向 VPN网关 1、 VPN网关 2下发控制 命令, 允许机器人 3、 机器人 4进行通信, 具体实现方式可以是: 控制器分别在 V PN网关 1、 VPN网关 2中设置流表, 使得机器人 3、 机器人 4之间可以相互通信。 [0092] In this exemplary embodiment, based on the foregoing solution, if robots in the same tenant and the same group are accessed through different VPN gateways of different nodes, the controller issues control commands to VPN gateway 1 and VPN gateway 2, respectively. The robot 3 and the robot 4 are allowed to communicate. The specific implementation manner may be: the controller sets a flow table in the V PN gateway 1 and the VPN gateway 2, respectively, so that the robot 3 and the robot 4 can communicate with each other.
[0093] 步骤 S103 , 将包含上述通信策略的机器人分组信息向上述机器人对应的网关发 送。 [0093] Step S103: Send the robot grouping information including the communication strategy to the gateway corresponding to the robot.
[0094] 本示例实施例中, 控制器通过 NETCONF协议将通信策略向云端网络中的各个 机器人 VPN网关下发, 例如可以将包含有通信策略的 YANG模型通过 NETCONF 向机器人 VPN网关发送, 以达到下发配置的目的。 [0094] In this example embodiment, the controller sends the communication strategy to each robot VPN gateway in the cloud network through the NETCONF protocol. For example, the YANG model containing the communication strategy can be sent to the robot VPN gateway through NETCONF to achieve the following The purpose of the configuration.
[0095] 图 2示意性示出了根据本申请的一个实施例的网关侧云端机器人的通信方法示 意图。 [0095] FIG. 2 schematically shows a schematic diagram of a communication method of a gateway-side cloud robot according to an embodiment of the present application.
[0096] 参考图 2中所示, 上述的网关侧云端机器人的通信方法可以包括以下步骤: [0096] Referring to FIG. 2, the above-mentioned gateway-side cloud robot communication method may include the following steps:
[0097] 步骤 S201, 对接收到的机器人分组信息进行解析, 获得上述机器人之间的通信 策略; [0097] Step S201: Analyze the received robot grouping information to obtain the above-mentioned communication strategy between the robots;
[0098] 本示例实施例中, 网关接收到机器人分组信息后, 将机器人分组信息进行解析 , 同时获得机器人之间的通信策略, 这里, 接收到的机器人分组信息可以是包 含有机器人分组信息以及通信策略的 YANG模型。 [0098] In this exemplary embodiment, after receiving the robot grouping information, the gateway analyzes the robot grouping information and obtains the communication strategy between the robots. Here, the received robot grouping information may include the robot grouping information and communication. YANG model of strategy.
[0099] 本示例实施例中, 通过 NETCONF协议从控制器接收机器人分组信息, 以保证 安全通信。 [0099] In this exemplary embodiment, the robot grouping information is received from the controller through the NETCONF protocol to ensure safe communication.
[0100] 步骤 S202, 将上述通信策略转换为虚拟机流表信息; [0100] Step S202: Convert the above communication strategy into virtual machine flow table information;
[0101] 本示例实施例中, 通过预设的 OpenFlow协议将上述通信策略转换为预安装的虚 拟交换机中的流表项, 其中, 上述通信策略至少包括: 可访问列表和可被访问 列表, 可访问列表至少包括: 上述机器人可访问的其它机器人的 ID、 IP地址以及 所属网关, 上述可被访问列表包括: 可访问上述机器人的其它机器人的 ID、 IP地 址以及所属网关。 [0101] In this exemplary embodiment, the above communication strategy is converted into a flow entry in a pre-installed virtual switch through a preset OpenFlow protocol, where the above communication strategy includes at least: an accessible list and an accessible The list, the accessible list at least includes: the IDs, IP addresses and gateways of other robots that the robot can access, and the accessible list includes the IDs, IP addresses and gateways of other robots that can access the robot.
[0102] 本示例实施例中, VPN网关将包含有机器人分组信息以及通信策略 YANG模型 转化为 OpenFlow流表, 并配置到虚拟交换机 (Open vSwitch) 中; 具体地, VPN 网关的 NETCONF服务模块接收来自控制器的指令, 解析 YANG模型, 将 YANG 模型转化为对虚拟交换机的配置命令, 并通过 OpenFlow协议对虚拟交换机进行 流表配置。 [0102] In this example embodiment, the VPN gateway converts the YANG model containing the robot grouping information and communication strategy into an OpenFlow flow table, and configures it in a virtual switch (Open vSwitch); specifically, the NETCONF service module of the VPN gateway receives The instructions of the controller parse the YANG model, transform the YANG model into a configuration command for the virtual switch, and configure the flow table of the virtual switch through the OpenFlow protocol.
[0103] 步骤 S203, 响应于机器人通信指令, 基于上述流表信息实现上述机器人分组信 息内机器人之间的通信。 [0103] Step S203: In response to the robot communication instruction, based on the flow table information, implement the communication between the robots in the robot grouping information.
[0104] 本示例实施例中, 当上述通信指令中的请求机器人与目标机器人在同一个分组 内并且连接至同一网关时, 向上述网关配置包含有上述请求机器人 IP地址以及上 述目标机器人 IP地址的路由、 和 /或防火墙策略、 和 /或虚拟交换机 OpenFlow流表 [0104] In this exemplary embodiment, when the requesting robot and the target robot in the above communication instruction are in the same group and connected to the same gateway, the gateway including the requesting robot IP address and the target robot IP address is configured to the gateway Routing, and/or firewall policy, and/or virtual switch OpenFlow flow table
[0105] 本示例实施例中, 机器人之间通信可以通过在网关处匹配本虚拟交换机的流表 , 判断是否转发机器人的数据包, 如匹配到流表信息, 则可以转发, 实现机器 人间通信; 如无法匹配到流表信息, 则不进行转发, 实现阻断或取消机器人间 通信。 [0105] In this exemplary embodiment, the communication between the robots can determine whether to forward the data packets of the robot by matching the flow table of the virtual switch at the gateway. If the flow table information is matched, it can be forwarded to realize the communication between the robots; If the flow table information cannot be matched, it will not be forwarded to block or cancel the communication between robots.
[0106] 本示例实施例中, 基于前述方案, 当上述通信指令中的请求机器人与目标机器 人在同一个分组内, 并且上述请求机器人连接至第一网关, 上述目标机器人连 接至第二网关时, 向上述第一网关配置包含有上述目标机器人 IP地址的第一流表 , 并向上述第二网关配置包含有上述请求机器人 IP地址的第二流表。 [0106] In this exemplary embodiment, based on the foregoing solution, when the requesting robot in the communication instruction and the target robot are in the same group, and the requesting robot is connected to the first gateway, and the target robot is connected to the second gateway, A first flow table including the IP address of the target robot is configured to the first gateway, and a second flow table including the IP address of the requesting robot is configured to the second gateway.
[0107] 本示例实施例中, 本示例实施例中, 通过前述的配置的流表, 从请求机器人发 往目标机器人的 IP包, 能被第一网关通过转发给第二网关, 然后第二网关转发给 目标机器人, 同样地, 从目标机器人返回给请求机器人的 IP包, 能被第二网关转 发给第一网关, 然后第一网关转发给请求机器人, 完成了一个完整的通讯过程 [0107] In this exemplary embodiment, in the exemplary embodiment, the IP packet sent from the requesting robot to the target robot can be forwarded by the first gateway to the second gateway, and then the second gateway through the previously configured flow table Forwarded to the target robot. Similarly, the IP packet returned from the target robot to the requesting robot can be forwarded by the second gateway to the first gateway, and then the first gateway is forwarded to the requesting robot, completing a complete communication process
[0108] 本示例实施例中, 当接收到取消通信指令, 响应于取消通信指令, 将上述取消 通信指令中的机器人所连接网关中已配置的路由、 和 /或防火墙策略、 和 /或虚拟 交换机 OpenFlo w流表删除。 [0108] In this exemplary embodiment, when receiving the communication cancellation instruction, in response to the communication cancellation instruction, the above cancellation The routing, and/or firewall policy, and/or OpenFlow flow table of the virtual switch in the gateway connected to the robot in the communication instruction are deleted.
[0109] 本示例实施例中, 如果希望终止机器人执行相互通信, 则通过控制器下发取消 指令, 则可以关闭机器人之间相互通信的通道, 实现方式为: 取消 VPN网关上 的流表, 使得机器人彼此之间不可达, 并且, 此方法适用于同一节点内的机器 人和跨节点的机器人之间的终止通信。 [0109] In this exemplary embodiment, if it is desired to terminate the robot to perform mutual communication, the cancellation command is issued through the controller, and the channel of mutual communication between the robots can be closed, the implementation manner is: cancel the flow table on the VPN gateway, so that The robots are not reachable to each other, and this method is suitable for terminating communication between robots within the same node and robots across nodes.
[0110] 图 3示意性示出了根据本申请的一个实施例的云端机器人分组通信配置的流程 图。 [0110] FIG. 3 schematically shows a flow chart of a cloud robot packet communication configuration according to an embodiment of the present application.
[0111] 参考图 3中所示, 上述云端机器人分组通信配置的流程可以包括以下步骤: [0111] Referring to FIG. 3, the flow of the cloud robot packet communication configuration may include the following steps:
[0112] 步骤 S301, 控制器对云端网络中租户的机器人分组并确定通信策略; [0112] Step S301: The controller groups the tenant robots in the cloud network and determines a communication strategy;
[0113] 步骤 S302, 根据 YANG模型生成下发配置命令; [0113] Step S302: Generate and issue a configuration command according to the YANG model;
[0114] 步骤 S303, 通过 NETCONF协议向云端网络中 VPN网关下发 YANG模型; [0114] Step S303: Deliver the YANG model to the VPN gateway in the cloud network through the NETCONF protocol;
[0115] 步骤 S304, VPN网关的 NETCONF模块接收 PN网关下发 YANG模型; [0115] Step S304, the NETCONF module of the VPN gateway receives the YANG model issued by the PN gateway;
[0116] 步骤 S305, 对 YANG模型进行解析; [0116] Step S305, analyzing the YANG model;
[0117] 步骤 S306 , 获得机器人分组信息以及通信策略; [0117] Step S306: Obtain robot grouping information and communication strategy;
[0118] 步骤 S307, 获取每个分组内机器人的可访问目标机器人 IP地址列表; [0118] Step S307: Acquire a list of accessible target robot IP addresses of the robots in each group;
[0119] 步骤 S3071, VPN网关内配置模块获取可访问目标机器人 IP地址列表; [0119] Step S3071: The configuration module in the VPN gateway obtains a list of accessible target robot IP addresses;
[0120] 步骤 S3072, 将可访问目标机器人 IP地址列表生成 OpenFlow的可访问目标机器 人流表信息; [0120] Step S3072: Generate the accessible target robot flow table information of OpenFlow from the accessible target robot IP address list;
[0121] 步骤 S3073, VPN网关中的虚拟交换机加载可访问目标机器人流表信息; [0121] Step S3073: The virtual switch in the VPN gateway loads the accessible target robot flow table information;
[0122] 步骤 S308, 获取每个分组内机器人的可被访问目标机器人 IP地址列表; [0122] Step S308: Acquire a list of robots' IP addresses that can be accessed by robots in each group;
[0123] 步骤 S3081, VPN网关内配置模块获取可被访问目标机器人 IP地址列表; [0123] Step S3081: The configuration module in the VPN gateway obtains the IP address list of the target robot that can be accessed;
[0124] 步骤 S3082, 将可被访问目标机器人 IP地址列表生成 OpenFlow的可被访问目标 机器人流表信息; [0124] Step S3082: Generate the accessible target robot flow table information of OpenFlow from the accessible target robot IP address list;
[0125] 步骤 S3083, VPN网关中的虚拟交换机加载可被访问目标机器人流表信息; [0126] 图 4示意性示出了根据本申请的一个实施例的一种云端机器人的取消通信的示 意图。 [0125] Step S3083, the virtual switch in the VPN gateway loads the flow table information of the target robot that can be accessed; [0126] FIG. 4 schematically shows a schematic diagram of a cloud robot canceling communication according to an embodiment of the present application.
[0127] 本示例实施例中, 参考图 4所示, 机器人 1与机器人 2为同节点通信, 控制器向 机器人 1和机器人 2连接的 VPN网关 1发送取消通信的 NETCONF控制命令后, VP N网关 1取消其关于机器人 1和机器人 2的流表, 实现机器人 1和机器人 2之间不可 达。 [0127] In this exemplary embodiment, referring to FIG. 4, the robot 1 and the robot 2 communicate with the same node, and the controller After the VPN gateway 1 connected to the robot 1 and the robot 2 sends the NETCONF control command to cancel the communication, the VP N gateway 1 cancels its flow table about the robot 1 and the robot 2, so that the robot 1 and the robot 2 are unreachable.
[0128] 本示例实施例中, 参考图 2所示, 机器人 3与机器人 4为跨节点通信, 控制器分 别向机器人 3和机器人 4所连接的 VPN网关 1和 VPN网关 2发送取消通信的 NETCO NF控制命令后, VPN网关 1和 VPN网关 2取消其关于机器人 3和机器人 2的流表, 实现机器人 3和机器人 4之间不可达。 [0128] In this example embodiment, referring to FIG. 2, the robot 3 and the robot 4 communicate across nodes, and the controller sends the NETCO NF that cancels communication to the VPN gateway 1 and the VPN gateway 2 connected to the robot 3 and the robot 4, respectively. After the control command, the VPN gateway 1 and the VPN gateway 2 cancel their flow tables about the robot 3 and the robot 2, so that the robot 3 and the robot 4 are unreachable.
[0129] 图 5示意性示出了根据本申请的一个实施例的一种云端机器人的单向通信的示 意图。 [0129] FIG. 5 schematically shows a schematic diagram of a one-way communication of a cloud robot according to an embodiment of the present application.
[0130] 本示例实施例中, 参考图 5所示, 通过控制器向 VPN网关 1和 VPN网关 2发送单 向通信 NETCONF控制命令, 控制机器人 1可以通过 VPN网关 1访问机器人 2和机 器人 3, 以及经由 VPN网关 1、 路由器 1、 路由器 2和 VPN网关 2跨节点访问机器人 4, 由于单向通信 NETCONF控制命令并没有在 VPN网关 1和 VPN网关 2中配置机 器人 1的地址, 因此, 机器人 2、 3、 4无法访问 1, 实现机器人 1单向通信机器人 2 、 3、 4。 [0130] In this exemplary embodiment, referring to FIG. 5, the controller sends a one-way communication NETCONF control command to the VPN gateway 1 and the VPN gateway 2, the control robot 1 can access the robot 2 and the robot 3 through the VPN gateway 1, and Cross-node access to the robot 4 via VPN gateway 1, router 1, router 2, and VPN gateway 2 because the one-way communication NETCONF control command does not configure the address of robot 1 in VPN gateway 1 and VPN gateway 2, therefore, robots 2, 3 , 4 can not access 1, realize one-way communication of robot 1, robot 2, 3, 4.
[0131] 本示例实施例中, 通过上述本申请的一个实施例的一种云端机器人的单向通信 方法还可以实现机器人的双向通信以及多对多通信, 使机器人之间的通信机制 更加完整, 这里不再赘述。 [0131] In this exemplary embodiment, a one-way communication method of a cloud robot can also realize two-way communication and many-to-many communication of the robot through the above-mentioned one embodiment of the present application, so that the communication mechanism between the robots is more complete, I will not repeat them here.
[0132] 需要注意的是, 上述附图仅是根据本申请示例性实施例的方法所包括的处理的 示意性说明, 而不是限制目的。 易于理解, 上述附图所示的处理并不表明或限 制这些处理的时间顺序。 另外, 也易于理解, 这些处理可以是例如在多个模块 中同步或异步执行的。 [0132] It should be noted that the above drawings are only schematic illustrations of the processing included in the method according to the exemplary embodiment of the present application, and are not intended to limit the purpose. It is easy to understand that the processes shown in the above drawings do not indicate or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be performed synchronously or asynchronously in multiple modules, for example.
[0133] 以下介绍本申请的装置实施例, 可以用于执行本申请上述的云端机器人的通信 方法。 [0133] The following describes a device embodiment of the present application, which can be used to execute the above-described cloud robot communication method of the present application.
[0134] 图 6示意性示出了根据本申请的一个实施例的一种云端机器人控制器的组成示 意图。 [0134] FIG. 6 schematically shows a schematic diagram of a composition of a cloud robot controller according to an embodiment of the present application.
[0135] 参考图 6所示, 本示例的实施例中还提供一种云端机器人控制器 600, 包括: [0135] Referring to FIG. 6, the embodiment of this example further provides a cloud robot controller 600, including:
[0136] 分组模块 601, 用于对云端网络中租户的机器人进行分组, 获得机器人分组信 息; [0136] The grouping module 601 is used to group tenants' robots in the cloud network to obtain robot grouping information Interest
[0137] 配置模块 602, 用于在上述机器人分组信息中配置机器人之间的通信策略; [0137] Configuration module 602, configured to configure the communication strategy between robots in the above-mentioned robot grouping information;
[0138] 发送模块 603 , 用于将包含上述通信策略的机器人分组信息向上述机器人对应 的网关发送。 [0138] The sending module 603 is configured to send the robot grouping information including the above communication strategy to the gateway corresponding to the above robot.
[0139] 图 7示意性示出了根据本申请的一个实施例的一种云端机器人网关的组成示意 图。 [0139] FIG. 7 schematically shows a schematic composition diagram of a cloud-based robot gateway according to an embodiment of the present application.
[0140] 参考图 7所示, 本示例的实施例中还提供一种云端机器人网关 700, 包括: [0140] Referring to FIG. 7, in this exemplary embodiment, a cloud robot gateway 700 is further provided, including:
[0141] 解析模块 701, 用于对接收到的机器人分组信息进行解析, 获得上述机器人之 间的通信策略; [0141] The analysis module 701 is configured to analyze the received robot grouping information to obtain the communication strategy between the robots;
[0142] 转换模块 702, 用于将上述通信策略转换为虚拟机流表信息; [0142] A conversion module 702, configured to convert the above communication strategy into virtual machine flow table information;
[0143] 通信模块 703, 响应于机器人通信指令, 基于上述流表信息实现上述机器人分 组信息内机器人之间的通信。 [0143] The communication module 703, in response to the robot communication instruction, implements communication between the robots in the robot grouping information based on the flow table information.
[0144] 上述的云端机器人的通信装置中各模块的具体细节已经在对应的云端机器人的 通信方法中进行了详细的描述, 因此此处不再赘述。 [0144] The specific details of each module in the above cloud robot communication device have been described in detail in the corresponding cloud robot communication method, and therefore will not be repeated here.
[0145] 下面参考图 8 , 其示出了适于用来实现本申请实施例的电子设备的计算机系统 8 00的结构示意图。 图 8示出的电子设备的计算机系统 800仅是一个示例, 不应对 本申请实施例的功能和使用范围带来任何限制。 [0145] The following refers to FIG. 8, which shows a schematic structural diagram of a computer system 800 suitable for implementing an electronic device according to an embodiment of the present application. The computer system 800 of the electronic device shown in FIG. 8 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present application.
[0146] 如图 8所示, 计算机系统 800包括中央处理单元 (CPU) 801, 其可以根据存储 在存储单元中的程序而执行各种适当的动作和处理, 存储单元中的程序可以从 只读存储器 (ROM) 802中读取或者从存储部分 808加载程序到随机访问存储器 (RAM) 803后进行读取。 在 RAM 803中, 还存储有系统操作所需的各种程序和 数据。 CPU 801、 ROM 802以及 RAM 803通过总线 804彼此相连。 输入 /输出 (I/O ) 接口 805也连接至总线 804。 [0146] As shown in FIG. 8, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to programs stored in the storage unit, and the programs in the storage unit can be read-only The memory (ROM) 802 reads or loads the program from the storage section 808 to the random access memory (RAM) 803 for reading. In the RAM 803, various programs and data necessary for system operation are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. The input/output (I/O) interface 805 is also connected to the bus 804.
[0147] 以下部件连接至 I/O接口 805: 包括键盘、 鼠标等的输入部分 806; 包括诸如阴 极射线管 (CRT) 、 液晶显示器 (LCD) 等以及扬声器等的输出部分 807 ; 包括 硬盘等的存储部分 808 ; 以及包括诸如 LAN卡、 调制解调器等的网络接口卡的通 信部分 809。 通信部分 809经由诸如因特网的网络执行通信处理。 驱动器 810也根 据需要连接至 I/O接口 805。 可拆卸介质 811, 诸如磁盘、 光盘、 磁光盘、 半导体 存储器等等, 根据需要安装在驱动器 810上, 以便于从其上读出的计算机程序根 据需要被安装入存储部分 808。 [0147] The following components are connected to the I/O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; including a hard disk, etc. Storage section 808; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. The driver 810 is also connected to the I/O interface 805 as needed. Removable media 811, such as magnetic disks, optical disks, magneto-optical disks, semiconductors A memory or the like is installed on the drive 810 as needed, so that the computer program read out therefrom is installed into the storage section 808 as needed.
[0148] 特别地, 根据本申请的实施例, 上文参考流程图描述的过程可以被实现为计算 机软件程序。 例如, 本申请的实施例包括一种计算机程序产品, 其包括承载在 计算机可读介质上的计算机程序, 该计算机程序包含用于执行流程图所示的方 法的程序代码。 在这样的实施例中, 该计算机程序可以通过通信部分 809从网络 上被下载和安装, 和 /或从可拆卸介质 811被安装。 在该计算机程序被中央处理单 元 (CPU) 801执行时, 执行本申请的系统中限定的上述功能。 [0148] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart may be implemented as a computer software program. For example, the embodiments of the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication section 809, and/or installed from the removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present application are executed.
[0149] 需要说明的是, 本申请所示的计算机可读介质可以是计算机可读信号介质或者 计算机可读存储介质或者是上述两者的任意组合。 计算机可读存储介质例如可 以是但不限于电、 磁、 光、 电磁、 红外线、 或半导体的装置或器件, 或者任意 以上的组合。 计算机可读存储介质的更具体的例子可以包括但不限于: 具有一 个或多个导线的电连接、 便携式计算机磁盘、 硬盘、 随机访问存储器 (RAM) [0149] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM)
、 只读存储器 (ROM) 、 可擦式可编程只读存储器 (EPROM或闪存) 、 光纤、 便携式紧凑磁盘只读存储器 (CD-ROM) 、 光存储器件、 磁存储器件、 或者上 述的任意合适的组合。 在本申请中, 计算机可读存储介质可以是任何包含或存 储程序的有形介质, 该程序可以被指令执行装置或者器件使用或者与其结合使 用。 而在本申请中, 计算机可读的信号介质可以包括在基带中或者作为载波一 部分传播的数据信号, 其中承载了计算机可读的程序代码。 这种传播的数据信 号可以采用多种形式, 包括但不限于电磁信号、 光信号或上述的任意合适的组 合。 计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可 读介质, 该计算机可读介质可以发送、 传播或者传输用于由指令执行装置或者 器件使用或者与其结合使用的程序。 计算机可读介质上包含的程序代码可以用 任何适当的介质传输, 包括但不限于: 无线、 电线、 光缆、 RF等等, 或者上述 的任意合适的组合。 , Read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any of the above combination. In this application, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution apparatus or device. In this application, the computer-readable signal medium may include a data signal propagated in the baseband or as part of the carrier wave, in which the computer-readable program code is carried. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution apparatus or device. The program code contained on the computer-readable medium may be transmitted on any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing.
[0150] 附图中的流程图和框图, 图示了按照本申请各种实施例的方法和计算机程序产 品的可能实现的体系架构、 功能和操作。 在这点上, 流程图或框图中的每个方 框可以代表一个模块、 程序段、 或代码的一部分, 上述模块、 程序段、 或代码 的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。 也应当注意 , 在有些作为替换的实现中, 方框中所标注的功能也可以以不同于附图中所标 注的顺序发生。 例如, 两个接连地表示的方框实际上可以基本并行地执行, 它 们有时也可以按相反的顺序执行, 这依所涉及的功能而定。 也要注意的是, 框 图或流程图中的每个方框、 以及框图或流程图中的方框的组合, 可以用执行规 定的功能或操作的专用的基于硬件的系统来实现, 或者可以用专用硬件与计算 机指令的组合来实现。 [0150] The flowcharts and block diagrams in the drawings illustrate the architecture, functions, and operations of possible implementations of methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, the above module, program segment, or code Part of contains one or more executable instructions for implementing specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two consecutively represented blocks can actually be executed substantially in parallel, and sometimes they can also be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and a combination of the blocks in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be used It is realized by a combination of dedicated hardware and computer instructions.
[0151] 描述于本申请实施例中所涉及到的单元可以通过软件的方式实现, 也可以通过 硬件的方式来实现, 所描述的单元也可以设置在处理器中。 其中, 这些单元的 名称在某种情况下并不构成对该单元本身的限定。 [0151] The units described in the embodiments of the present application may be implemented in software or hardware, and the described units may also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
[0152] 作为另一方面, 本申请还提供了一种计算机可读介质, 该计算机可读介质可以 是上述实施例中描述的电子设备中所包含的; 也可以是单独存在, 而未装配入 该电子设备中。 上述计算机可读介质承载有一个或者多个程序, 当上述一个或 者多个程序被一个该电子设备执行时, 使得该电子设备实现如上述实施例中的 多选项目表单的压缩方法。 [0152] As another aspect, the present application also provides a computer-readable medium, the computer-readable medium may be included in the electronic device described in the above embodiment; or may exist alone without being assembled into The electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by one of the electronic devices, the electronic device is caused to implement the method for compressing the multi-select item form as in the foregoing embodiment.
[0153] 例如, 上述的电子设备可以实现如图 1中所示的: S101 , 对云端网络中租户的 机器人进行分组, 获得机器人分组信息; S102, 在上述机器人分组信息中配置 机器人之间的通信策略; S103 , 将包含上述通信策略的机器人分组信息向上述 机器人对应的网关发送。 [0153] For example, the foregoing electronic device may be implemented as shown in FIG. 1: S101, group robots of tenants in a cloud network to obtain robot grouping information; S102, configure communication between robots in the above-mentioned robot grouping information Strategy; S103: Send the robot grouping information including the above communication strategy to the gateway corresponding to the above robot.
[0154] 又如, 可以实现如图 2中所示的各个步骤。 [0154] As another example, each step shown in FIG. 2 may be implemented.
[0155] 又如, 可以实现如图 3中所示的各个步骤。 [0155] As another example, various steps as shown in FIG. 3 may be implemented.
[0156] 应当注意, 尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者 单元, 但是这种划分并非强制性的。 实际上, 根据本申请的实施例, 上文描述 的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。 反之, 上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模 块或者单元来具体化。 [0156] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
[0157] 通过以上的实施例的描述, 本领域的技术人员易于理解, 这里描述的示例实施 例可以通过软件实现, 也可以通过软件结合必要的硬件的方式来实现。 因此, 根据本申请实施例的技术方案可以以软件产品的形式体现出来, 该软件产品可 以存储在一个非易失性存储介质 (可以是 CD-ROM, U盘, 移动硬盘等) 中或网 络上, 包括若干指令以使得一台计算设备 (可以是个人计算机、 服务器、 触控 终端、 或者网络设备等) 执行根据本申请实施例的方法。 [0157] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein may be implemented by software, or may be implemented by software in combination with necessary hardware. therefore, The technical solution according to the embodiments of the present application may be embodied in the form of a software product, and the software product may be stored in a non-volatile storage medium (which may be a CD-ROM, U disk, mobile hard disk, etc.) or on a network, including Several instructions to make one computing device (which may be a personal computer, server, touch terminal, or network device, etc.) execute the method according to the embodiments of the present application.
[0158] 本领域技术人员在考虑说明书及实践这里公开的申请后, 将容易想到本申请的 其它实施方案。 本申请旨在涵盖本申请的任何变型、 用途或者适应性变化, 这 些变型、 用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的 本技术领域中的公知常识或惯用技术手段。 说明书和实施例仅被视为示例性的 , 本申请的真正范围和精神由下面的权利要求指出。 [0158] After considering the description and practice of the application disclosed herein, those skilled in the art will easily think of other embodiments of the application. This application is intended to cover any variations, uses, or adaptations of this application. These variations, uses, or adaptations follow the general principles of this application and include common general knowledge or common technical means in the technical field not disclosed in this application. . The description and examples are only to be considered exemplary, and the true scope and spirit of this application are pointed out by the following claims.
[0159] 应当理解的是, 本申请并不局限于上面已经描述并在附图中示出的精确结构, 并且可以在不脱离其范围进行各种修改和改变。 本申请的范围仅由所附的权利 要求来限制。 [0159] It should be understood that the present application is not limited to the precise structure that has been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of this application is limited only by the appended claims.

Claims

权利要求书 Claims
[权利要求 1] 一种云端机器人的通信方法, 其中, 包括: [Claim 1] A communication method of a cloud robot, which includes:
对云端网络中租户的机器人进行分组, 获得机器人分组信息; 在所述机器人分组信息中配置机器人之间的通信策略; Group the tenants' robots in the cloud network to obtain robot grouping information; configure the communication strategy between the robots in the robot grouping information;
将包含所述通信策略的机器人分组信息向所述机器人对应的网关发送 Send the robot grouping information containing the communication strategy to the gateway corresponding to the robot
[权利要求 2] 如权利要求 1所述的云端机器人的通信方法, 其中, 所述对云端网络 中租户的机器人进行分组, 包括: [Claim 2] The cloud robot communication method according to claim 1, wherein the grouping of tenant robots in the cloud network includes:
将所述租户的机器人至少分为两个分组, 和 /或 Divide the tenant's robot into at least two groups, and/or
所述机器人至少属于一个分组, 和 /或 The robot belongs to at least one group, and/or
将相同网关下的至少两个机器人分为一组, 和 /或 将不相同网关下的至少两个机器人分为一组。 Group at least two robots under the same gateway into one group, and/or group at least two robots under different gateways into one group.
[权利要求 3] 如权利要求 1或 2所述的云端机器人的通信方法, 其中, 所述在所述机 器人分组信息中配置机器人之间的通信策略, 包括: [Claim 3] The cloud robot communication method according to claim 1 or 2, wherein the configuration of the communication strategy between the robots in the robot grouping information includes:
为所述机器人分组信息中的任一机器人配置可访问列表以及可被访问 列表, 其中, 所述可访问列表至少包括: 所述机器人可访问的其它机 器人的 ID、 IP地址以及所属网关, 所述可被访问列表包括: 可访问所 述机器人的其它机器人的 ID、 IP地址以及所属网关。 Configure an accessible list and an accessible list for any robot in the robot grouping information, where the accessible list includes at least: IDs, IP addresses, and gateways of other robots accessible by the robot, the The accessible list includes: IDs, IP addresses, and gateways of other robots that can access the robot.
[权利要求 4] 一种云端机器人的通信方法, 其中, 包括: [Claim 4] A communication method of a cloud robot, which includes:
对接收到的机器人分组信息进行解析, 获得所述机器人之间的通信策 略; Analyze the received robot grouping information to obtain a communication strategy between the robots;
将所述通信策略转换为虚拟机流表信息; Convert the communication strategy into virtual machine flow table information;
响应于机器人通信指令, 基于所述流表信息实现所述机器人分组信息 内机器人之间的通信。 In response to the robot communication instruction, the communication between the robots in the robot grouping information is implemented based on the flow table information.
[权利要求 5] 如权利要求 4所述的云端机器人的通信方法, 其中, 所述将所述通信 策略转换为虚拟机流表信息, 包括: [Claim 5] The communication method of the cloud robot according to claim 4, wherein the converting the communication strategy into virtual machine flow table information includes:
通过预设的 OpenFlow协议将所述通信策略转换为预安装的虚拟交换 机中的流表项, 其中, 所述通信策略至少包括: 可访问列表和可被访 问列表, 所述可访问列表至少包括: 所述机器人可访问的其它机器人 的 ID、 IP地址以及所属网关, 所述可被访问列表包括: 可访问所述机 器人的其它机器人的 ID、 IP地址以及所属网关。 Converting the communication strategy into a flow entry in a pre-installed virtual switch through a preset OpenFlow protocol, where the communication strategy includes at least: an accessible list and an accessible Inquiry list, the accessible list at least includes: IDs, IP addresses and gateways of other robots accessible by the robot, the accessible list includes: IDs, IP addresses and other robots of the robot Owning gateway.
[权利要求 6] 如权利要求 4或 5所述的云端机器人的通信方法, 其中, 所述响应于机 器人通信指令, 基于所述流表信息实现所述机器人分组信息内机器人 之间的通信, 包括: [Claim 6] The cloud robot communication method according to claim 4 or 5, wherein, in response to the robot communication instruction, the communication between the robots in the robot group information based on the flow table information includes: :
当所述通信指令中的请求机器人与目标机器人在同一个分组内并且连 接至同一网关时, 向所述网关配置包含有所述请求机器人 IP地址以及 所述目标机器人 IP地址的路由、 和 /或防火墙策略、 和 /或虚拟交换机 When the requesting robot and the target robot in the communication instruction are in the same group and connected to the same gateway, configure a route including the requesting robot IP address and the target robot IP address to the gateway, and/or Firewall policy, and/or virtual switch
OpenFlow流表。 OpenFlow flow table.
[权利要求 7] 如权利要求 6所述的云端机器人的通信方法, 其中, 所述方法还包括 当所述通信指令中的请求机器人与目标机器人在同一个分组内, 并且 所述请求机器人连接至第一网关, 所述目标机器人连接至第二网关时 , 向所述第一网关配置包含有所述目标机器人 IP地址的第一流表, 并 向所述第二网关配置包含有所述请求机器人 IP地址的第二流表。 [Claim 7] The communication method of a cloud robot according to claim 6, wherein the method further includes when the requesting robot in the communication instruction and the target robot are in the same group, and the requesting robot is connected to A first gateway, when the target robot is connected to a second gateway, configure the first gateway with a first flow table containing the IP address of the target robot, and configure the second gateway with the request robot IP The second stream of addresses.
[权利要求 8] 如权利要求 4至 7中任一项所述的云端机器人的通信方法, 其中, 所述 基于配置的所述流表实现机器人之间的通信之后, 所述方法还包括: 响应于取消通信指令, 将所述取消通信指令中的机器人所连接网关中 已配置的流表信息删除。 [Claim 8] The method for communicating with a cloud-based robot according to any one of claims 4 to 7, wherein after the communication between the robots is implemented based on the configured flow table, the method further includes: a response In order to cancel the communication instruction, the flow table information configured in the gateway to which the robot is connected in the cancellation communication instruction is deleted.
[权利要求 9] 一种云端机器人控制器, 其中, 包括: [Claim 9] A cloud-based robot controller, including:
分组模块, 用于对云端网络中租户的机器人进行分组, 获得机器人分 组信息; The grouping module is used to group tenants' robots in the cloud network to obtain robot grouping information;
配置模块, 用于在所述机器人分组信息中配置机器人之间的通信策略 发送模块, 用于将包含所述通信策略的机器人分组信息向所述机器人 对应的网关发送。 A configuration module, configured to configure a communication strategy sending module between robots in the robot grouping information, and configured to send the robot grouping information containing the communication strategy to a gateway corresponding to the robot.
[权利要求 10] 一种云端机器人网关, 其中, 包括: 解析模块, 用于对接收到的机器人分组信息进行解析, 获得所述机器 人之间的通信策略; [Claim 10] A cloud robot gateway, including: A parsing module, used for parsing the received robot grouping information, to obtain a communication strategy between the robots;
转换模块, 用于将所述通信策略转换为虚拟机流表信息; A conversion module, configured to convert the communication strategy into virtual machine flow table information;
通信模块, 响应于机器人通信指令, 基于所述流表信息实现所述机器 人分组信息内机器人之间的通信。 The communication module, in response to the robot communication instruction, implements communication between the robots in the robot grouping information based on the flow table information.
[权利要求 11] 一种存储介质, 设置为存储程序代码, 所述程序代码用于执行权利要 求 1至 3中任一项所述云端机器人的通信方法, 或权利要求 4至 8中任一 项所述云端机器人的通信方法。 [Claim 11] A storage medium configured to store a program code, the program code being used to execute the communication method of the cloud robot according to any one of claims 1 to 3, or any one of claims 4 to 8. The communication method of the cloud robot.
[权利要求 12] 一种电子设备, 包括: [Claim 12] An electronic device, comprising:
处理单元; 以及 Processing unit; and
存储单元, 设置为存储所述处理单元的可执行指令; A storage unit, configured to store executable instructions of the processing unit;
其中, 所述处理单元配置为经由执行所述可执行指令来执行以下操作 对云端网络中租户的机器人进行分组, 获得机器人分组信息; 在所述机器人分组信息中配置机器人之间的通信策略; Wherein, the processing unit is configured to perform the following operations by executing the executable instructions to group the tenants' robots in the cloud network to obtain robot grouping information; configure the communication strategy between the robots in the robot grouping information;
将包含所述通信策略的机器人分组信息向所述机器人对应的网关发送 , 或 Send the robot grouping information containing the communication strategy to the gateway corresponding to the robot, or
对接收到的机器人分组信息进行解析, 获得所述机器人之间的通信策 略; Analyze the received robot grouping information to obtain a communication strategy between the robots;
将所述通信策略转换为虚拟机流表信息; Convert the communication strategy into virtual machine flow table information;
响应于机器人通信指令, 基于所述流表信息实现所述机器人分组信息 内机器人之间的通信。 In response to the robot communication instruction, the communication between the robots in the robot grouping information is implemented based on the flow table information.
PCT/CN2019/116110 2018-12-07 2019-11-06 Communication method and apparatus for cloud robot, storage medium and electronic device WO2020114185A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811496604.4 2018-12-07
CN201811496604.4A CN109495314B (en) 2018-12-07 2018-12-07 Communication method, device and medium of cloud robot and electronic equipment

Publications (1)

Publication Number Publication Date
WO2020114185A1 true WO2020114185A1 (en) 2020-06-11

Family

ID=65698378

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/116110 WO2020114185A1 (en) 2018-12-07 2019-11-06 Communication method and apparatus for cloud robot, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN109495314B (en)
WO (1) WO2020114185A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495314B (en) * 2018-12-07 2020-12-18 达闼科技(北京)有限公司 Communication method, device and medium of cloud robot and electronic equipment
CN111245938B (en) * 2020-01-10 2023-01-17 北京猎户星空科技有限公司 Robot cluster management method, robot cluster, robot and related equipment
CN113259935B (en) * 2021-03-31 2023-12-01 上海高仙自动化科技发展有限公司 Communication method, communication device, intelligent robot, and readable storage medium
CN115225303B (en) * 2021-06-28 2023-06-30 达闼机器人股份有限公司 Robot network route setting method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017111833A1 (en) * 2015-12-26 2017-06-29 Intel Corporation Reusable device management in machine-to-machine systems
CN108353017A (en) * 2015-10-30 2018-07-31 微软技术许可有限责任公司 Multiple gateway operation on single operating
CN108698227A (en) * 2018-04-24 2018-10-23 深圳前海达闼云端智能科技有限公司 Cloud-controlled information transmission method, robot and swarm robot system
CN109495314A (en) * 2018-12-07 2019-03-19 达闼科技(北京)有限公司 Communication means, device, medium and the electronic equipment of cloud robot

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188821B (en) * 2011-12-29 2016-09-28 华为技术有限公司 The method of a kind of network equipment binding, the method for communication, Apparatus and system
CN102594664B (en) * 2012-02-02 2015-06-17 杭州华三通信技术有限公司 Flow forwarding method and device
CN103870317B (en) * 2012-12-10 2017-07-21 中兴通讯股份有限公司 Method for scheduling task and system in cloud computing
CN103905375B (en) * 2012-12-24 2017-06-30 航天信息股份有限公司 Data encryption request distribution method and device in concentrating type data encryption system
CN104639438A (en) * 2015-01-05 2015-05-20 北京交通大学 Novel identifying and controlling method of data flow in OpenFlow network
CN107147509B (en) * 2016-03-01 2022-03-11 中兴通讯股份有限公司 Virtual private network service implementation method, device and communication system
CN106534338B (en) * 2016-12-05 2019-05-21 东北大学 A kind of cloud robot implementation method
CN106790590A (en) * 2016-12-28 2017-05-31 珠海国芯云科技有限公司 Terminal communication of internet of things managing and control system and its method based on cloud platform
CN108809680B (en) * 2017-05-04 2021-03-02 腾讯科技(深圳)有限公司 Equipment management method and equipment
CN107547403B (en) * 2017-07-26 2020-11-06 新华三技术有限公司 Message forwarding method, message assistance device, controller and host
CN107659612A (en) * 2017-08-17 2018-02-02 深圳市盛路物联通讯技术有限公司 Data transfer control method and device based on device packets
CN108900608A (en) * 2018-06-29 2018-11-27 华南师范大学 Robot real-time feedback system based on cloud platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108353017A (en) * 2015-10-30 2018-07-31 微软技术许可有限责任公司 Multiple gateway operation on single operating
WO2017111833A1 (en) * 2015-12-26 2017-06-29 Intel Corporation Reusable device management in machine-to-machine systems
CN108698227A (en) * 2018-04-24 2018-10-23 深圳前海达闼云端智能科技有限公司 Cloud-controlled information transmission method, robot and swarm robot system
CN109495314A (en) * 2018-12-07 2019-03-19 达闼科技(北京)有限公司 Communication means, device, medium and the electronic equipment of cloud robot

Also Published As

Publication number Publication date
CN109495314B (en) 2020-12-18
CN109495314A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
WO2020114185A1 (en) Communication method and apparatus for cloud robot, storage medium and electronic device
US10901470B2 (en) Power distribution unit self-identification
US20180324274A1 (en) Information system, control apparatus, method of providing virtual network, and program
Klein et al. An OpenFlow extension for the OMNeT++ INET framework
CN105453492B (en) Switch cluster with third layer distribution router function
CN103095565B (en) A kind of software defined network operating system and its implementation
US9088558B2 (en) Secure one-way interface for OPC data transfer
US8353020B2 (en) Transparently extensible firewall cluster
US9819574B2 (en) Concerted multi-destination forwarding in a joint TRILL fabric and VXLAN/IP fabric data center
JP6081031B2 (en) Attack observation device and attack observation method
CN107547439B (en) Network flow control method and computing node
EP2843906A1 (en) Method, apparatus, and system for data transmission
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
JP2015508607A (en) Gateway controlled by cloud computing for communication networks
JP2018166323A (en) Network service configuration method and network management device
US20150163072A1 (en) Virtual Port Extender
US20150350056A1 (en) Routing switch device
Huang et al. Automatical end to end topology discovery and flow viewer on SDN
JP5367764B2 (en) Virtual network system, configuration change method, tunnel connection apparatus, and program
US10171306B2 (en) Automatic discovery and provisioning of multi-chassis etherchannel peers
US20140301226A1 (en) Apparatus and method for network monitoring and packet inspection
CN104168302B (en) Equipment manipulation implementation method, system and proxy gateway
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
US9497140B2 (en) Autonomous multi-node network configuration and self-awareness through establishment of a switch port group
JP2015118478A (en) Communication adapter device, communication system, tunnel communication method and program

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: 19893420

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19893420

Country of ref document: EP

Kind code of ref document: A1