Multi-robot communication interaction method and system
By building communication nodes for robot IP management and business programs within a local area network or private network, the high cost and security risks caused by relying on external servers in existing technologies are solved, and stable and efficient multi-robot communication is achieved.
Patent Information
- Application Number
- CN202411222217.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-11-12
AI Technical Summary
Current mobile robot communication and interaction methods rely on external servers, resulting in high costs, unstable communication, and high security risks.
Within a local area network (LAN) or private network, file transfer and communication between multiple robots are achieved through file services, communication programs, and communication protocols. Robot IP addresses, identifiers, and movement range parameters are configured to build a LAN/private network environment. Communication nodes are established using IP management programs and business programs to achieve adaptive network adjustment and data encryption.
It reduces server rental and maintenance costs, improves communication stability and security, avoids the risk of data leakage, and enhances the efficiency of robot collaborative work.
Smart Images

Figure CN118945155A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile robots, and in particular to a multi-robot communication interaction method and system. Background Art
[0002] Mobile robots have the ability to move around in the environment and are widely used in industrial production, warehousing and logistics, medical care, hotel services and other fields. In the scenario of multi-robot collaboration, file transfer and communication are important functions to achieve information sharing, task collaboration and other purposes.
[0003] Existing mobile robots communicate and transfer files to each other through cloud servers. For example, a remote interaction method of a robot disclosed in patent publication number CN114827120A can timely transmit the status monitoring request or action control instruction sent by the user through the client to the machine through the cloud server, thereby improving the operation and maintenance efficiency and management efficiency of the mobile robot. However, the existing robot communication and interaction methods still have the following defects:
[0004] (1) High server costs. The communication and interaction between multiple robots depends on external server resources, which will increase the server rental and maintenance costs, resulting in excessively high system operation costs and low economic benefits.
[0005] (2) Poor communication stability. The speed of traditional file transfers that rely on external servers is often limited by network bandwidth and transmission protocols. Especially when robots face complex working environments, factors such as signal interference and network congestion will cause communication instability and interruption, which will directly affect the collaboration between robots and reduce work efficiency.
[0006] (3) There are many communication risks. File transfer that relies on external servers not only increases the probability of single point failure, but also occupies server resources and affects the stability and performance of the overall system. The transmitted data needs to be transferred and processed on a third-party server. During the transmission process, the data may be subject to security threats such as eavesdropping, theft, and tampering, posing the risk of data leakage.
[0007] Therefore, there is an urgent need for a multi-robot communication interaction method to solve the above-mentioned defects in the existing robot communication interaction methods. Summary of the invention
[0008] In view of the deficiencies in the prior art, the present invention proposes a multi-robot communication interaction method and system.
[0009] The first aspect of the present invention discloses a multi-robot communication and interaction method, comprising:
[0010] Pre-configure robot parameters, business procedures, IP management procedures, communication protocols and communication networks;
[0011] The first robot obtains the local robot address, generates a server end that monitors the second robot client end, and establishes a communication node between the first robot and the second robot based on the server end and the client end;
[0012] The business file transmission between the first robot and the second robot is performed according to the communication protocol.
[0013] As an optional embodiment, in the first aspect of the present invention, the pre-configured robot parameters, business procedures, IP management procedures, communication protocols and communication networks include:
[0014] Parameters are set for the IP address and identification ID of each robot in the local area network / private network, a mapping relationship between the identification ID and the IP address is constructed in each robot parameter, and the movement range parameters of the robot are set;
[0015] Configure the robot local file service to deploy the download file port;
[0016] Configure the robot to run business programs locally to execute business events;
[0017] Configure the robot to run the IP management program locally to obtain the IP address and monitor the communication port;
[0018] Constructing an internal robot network environment of a local area network / private network, and setting a target port in the network environment for unifying the communication connection of the fixed IP address;
[0019] The communication protocol is configured to control the communication functions between robots, wherein the communication functions include one or more functions of information exchange, file transfer, robot position broadcast, video streaming, and mobile control.
[0020] As an optional implementation, in the first aspect of the present invention, the first robot obtains the local robot address and generates a server for monitoring the second robot client, including:
[0021] The first robot reads the pre-configured parameter file of the local robot through the IP management program, obtains the local IP address of the first robot and the mapping relationship between the identification ID and the IP address in the second robot according to the parameter file, and the first robot listens to the target port through the IP management program as a server in the network environment, and the business program of the second robot is connected to the IP management program of the first robot through the target port and IP address as a client.
[0022] As an optional implementation, in the first aspect of the present invention, establishing a communication node between the first robot and the second robot based on the server and the client includes:
[0023] The IP management program of the first robot as a server sends a first connection request to the business program of the second robot according to the monitored business event, and the business program returns connection confirmation information to the IP management program of the server, and the second robot as a client sends a second connection request to the IP management program of the first robot through the local IP management program of the second robot according to business needs, and the IP management program of the first robot receives the second connection request and returns connection confirmation information;
[0024] Establish a communication connection between the IP management program and the business program, use the IP management program to uniformly manage the local business program of the first robot and the business program of the second robot, form a communication node between the first robot and the second robot, and transmit business information between the first robot and the second robot according to the communication node.
[0025] As an optional implementation, in the first aspect of the present invention, the performing of the business file transmission between the first robot and the second robot according to the communication protocol includes:
[0026] The service program of the first robot is connected to the IP management program of the second robot through the communication node, and the service program of the first robot sends a file download instruction to the IP management program of the second robot;
[0027] The IP management program of the second robot forwards the file download instruction to the local service program of the second robot, and the local service program pre-processes the target file corresponding to the file download instruction according to the communication protocol and deploys it in the target path of the file service;
[0028] The IP management program of the second robot forwards the target path to the business program of the first robot. The first robot connects to the download port set by the file service according to the target path, and the business program of the first robot downloads the target file through the communication protocol.
[0029] As an optional embodiment, in the first aspect of the present invention, the communication network is configured with an adaptive network adjustment function and a data encryption function, the adaptive network adjustment function dynamically adjusts the number of clients accessing the server according to the network status within the local area network / private network and the network signal strength, and the data encryption function encrypts the business information and target files transmitted in the communication network.
[0030] As an optional embodiment, in the first aspect of the present invention, the communication network is configured with a user interface through the IP management program to monitor and manage the communication status between the first robot and the second robot in real time, and the communication status includes file transfer, communication status, transmission progress and network connection status.
[0031] A second aspect of the present invention discloses a multi-robot communication and interaction system, the system comprising:
[0032] Pre-configuration module, used to pre-configure the robot's parameters, business procedures, IP management procedures, communication protocols and communication networks;
[0033] A communication connection module, used for the first robot to obtain a local robot address, generate a server end that monitors a second robot client end, and establish a communication node between the first robot and the second robot based on the server end and the client end;
[0034] The file transmission module is used to execute the business file transmission between the first robot and the second robot according to the communication protocol.
[0035] As an optional embodiment, in the second aspect of the present invention, the parameters, business procedures, IP management procedures, communication protocols and communication networks of the preconfigured robot in the preconfiguration module include:
[0036] Parameters are set for the IP address and identification ID of each robot in the local area network / private network, a mapping relationship between the identification ID and the IP address is constructed in each robot parameter, and the movement range parameters of the robot are set;
[0037] Configure the robot local file service to deploy the download file port;
[0038] Configure the robot to run business programs locally to execute business events;
[0039] Configure the robot to run the IP management program locally to obtain the IP address and monitor the communication port;
[0040] Constructing an internal robot network environment of a local area network / private network, and setting a target port in the network environment for unifying the communication connection of the fixed IP address;
[0041] The communication protocol is configured to control the communication functions between robots, wherein the communication functions include one or more functions of information exchange, file transfer, robot position broadcast, video streaming, and mobile control.
[0042] As an optional implementation, in the second aspect of the present invention, the first robot in the communication connection module obtains the local robot address and generates a server for monitoring the second robot client, including:
[0043] The first robot reads the pre-configured parameter file of the local robot through the IP management program, obtains the local IP address of the first robot and the mapping relationship between the identification ID and the IP address in the second robot according to the parameter file, and the first robot listens to the target port through the IP management program as a server in the network environment, and the business program of the second robot is connected to the IP management program of the first robot through the target port and IP address as a client.
[0044] As an optional implementation, in the second aspect of the present invention, the communication connection module establishes a communication node between the first robot and the second robot based on the server and the client, including:
[0045] The IP management program of the first robot as a server sends a first connection request to the business program of the second robot according to the monitored business event, and the business program returns connection confirmation information to the IP management program of the server, and the second robot as a client sends a second connection request to the IP management program of the first robot through the local IP management program of the second robot according to business needs, and the IP management program of the first robot receives the second connection request and returns connection confirmation information;
[0046] Establish a communication connection between the IP management program and the business program, use the IP management program to uniformly manage the local business program of the first robot and the business program of the second robot, form a communication node between the first robot and the second robot, and transmit business information between the first robot and the second robot according to the communication node.
[0047] As an optional implementation, in the second aspect of the present invention, the file transmission module executes the business file transmission between the first robot and the second robot according to the communication protocol, including:
[0048] The service program of the first robot is connected to the IP management program of the second robot through the communication node, and the service program of the first robot sends a file download instruction to the IP management program of the second robot;
[0049] The IP management program of the second robot forwards the file download instruction to the local service program of the second robot, and the local service program pre-processes the target file corresponding to the file download instruction according to the communication protocol and deploys it in the target path of the file service;
[0050] The IP management program of the second robot forwards the target path to the business program of the first robot. The first robot connects to the download port set by the file service according to the target path, and the business program of the first robot downloads the target file through the communication protocol.
[0051] As an optional embodiment, in the second aspect of the present invention, the pre-configuration module is configured with an adaptive network adjustment function and a data encryption function. The adaptive network adjustment function dynamically adjusts the number of clients accessing the server according to the network status within the local area network / private network and the network signal strength. The data encryption function encrypts the business information and target files transmitted in the communication network.
[0052] As an optional embodiment, in the second aspect of the present invention, the pre-configuration module is configured with a user interface through the IP management program to monitor and manage the communication between the first robot and the second robot in real time, and the communication status includes file transfer, communication status, transmission progress and network connection status.
[0053] The third aspect of the present invention discloses a multi-robot communication and interaction device, comprising:
[0054] at least one processor, and
[0055] a memory communicatively connected to the at least one processor; wherein,
[0056] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the multi-robot communication and interaction method as described in any one of the first aspects of the present invention.
[0057] A fourth aspect of the present invention discloses a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute any one of the multi-robot communication and interaction methods disclosed in the first aspect of the present invention.
[0058] Compared with the prior art, the present invention has the following advantages:
[0059] (1) The present invention uses file services, communication programs and communication protocols within a local area network or a private network to transfer files and communicate between multiple robots without relying on external server resources, thus saving server rental and maintenance costs, reducing system operating costs and improving overall economic benefits.
[0060] (2) The present invention uses file services, communication programs and communication protocols to transfer files and communicate between multiple robots in a local area network or a private network. The transmission speed will not be limited by the network bandwidth and transmission protocol, and the influence of factors such as signal interference and network congestion that may cause communication instability and communication interruption can be reduced, thereby improving the work efficiency of collaborative work between robots;
[0061] (3) The present invention reduces network occupancy and improves communication efficiency by using file services, communication programs, and communication protocols to transfer files and communicate between multiple robots within a local area network or a private network without relying on external servers, avoids security threats such as eavesdropping, theft, and tampering during data transfer, and reduces the risk of data leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0063] Figure 1 A flowchart of the multi-robot communication and interaction method of the present invention;
[0064] Figure 2 A schematic diagram of a multi-robot communication and interaction system of the present invention;
[0065] Figure 3 A schematic diagram of the prior art of relying on an external server for multi-robot interactive communication;
[0066] Figure 4 It is a schematic diagram of multi-robot communication and interaction in the present invention. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0068] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0069] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0070] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0071] Example 1
[0072] See also Figure 1 , the embodiment of the present invention discloses a multi-robot communication and interaction method, comprising:
[0073] 101. Pre-configure robot parameters, business procedures, IP management procedures, communication protocols and communication networks;
[0074] As an optional embodiment, in the first aspect of the present invention, the pre-configured robot parameters, programs and communication networks include:
[0075] The pre-configured robot parameters, business procedures, IP management procedures, communication protocols and communication networks include:
[0076] Parameters are set for the IP address and identification ID of each robot in the local area network / private network, a mapping relationship between the identification ID and the IP address is constructed in each robot parameter, and the movement range parameters of the robot are set;
[0077] Configure the robot local file service to deploy the download file port;
[0078] Configure the robot to run business programs locally to execute business events;
[0079] Configure the robot to run the IP management program locally to obtain the IP address and monitor the communication port;
[0080] Constructing an internal robot network environment of a local area network / private network, and setting a target port in the network environment for unifying the communication connection of the fixed IP address;
[0081] The communication protocol is configured to control the communication functions between robots, wherein the communication functions include one or more functions of information exchange, file transfer, robot position broadcast, video streaming, and mobile control.
[0082] It should be noted that the robot parameter file refers to the configuration of each robot for itself. Generally, the configuration of each robot is similar. The main settings include: the ID of the current robot, the IP address of the current robot, the mark of the mobile operation area range of the current robot (this information can be configured according to specific business needs), other parameters (parameters that are not necessary for executing business programs), and the ID, IP and robot operation area range mark of all robots based on the multi-robot communication interaction method of the present invention in the current local area network / private network. Through this parameter file, the robot can know the ID, IP and corresponding mobile operation range of all robots;
[0083] Furthermore, the "robot ID" refers to the unique identification of the robot, and each robot has a different ID. The "robot IP" refers to the unique IP address of the robot in the LAN / private network environment, and the communication between robots can be maintained based on this address. The "robot mobile operation area range mark" refers to the physical movement range of the mobile robot. For example, we can divide the operation range of all robots in the LAN / private network into an area, which can be divided into A1, A2...B1, B2...and so on. After the robot reads the information, it can know how many robots are running in a certain area, and when the first robot runs to a certain area, it can connect to all robots in that area.
[0084] Furthermore, the configuration file of the communication protocol is mainly used to control the communication content between robots, such as file download, location broadcast, video streaming, mobile control and other functions. The robot can add or delete the function in the configuration file as needed. Other robots cannot send relevant instructions to robots without this function, and robots without this function will refuse to execute the instruction. "File download" refers to a function of downloading files. The first robot can download the file of the second robot, and vice versa; "Location broadcast" refers to a function of broadcasting physical location coordinates. The first robot can broadcast its physical location through the established communication, so that other second robots can obtain the physical location of the first robot, and then provide decision-making information for mobile control in business events; "Video streaming" refers to the robot broadcasting the picture recorded by its own camera; "Mobile control" refers to a function or instruction to control the movement of the robot. For example, the first robot can send the instruction to other robots in the established communication. After receiving the instruction, the other robots can walk to a certain physical location, thereby realizing the traffic control function.
[0085] Specifically, the network environment selects the network type for robot communication and interaction according to actual business needs. Compared with the Internet, local area networks or private networks are more efficient and stable, and can ensure the communication stability of the network environment, so as to be suitable for robot collaboration scenarios of different complexity. Local area networks or private networks can reduce the risk of single point failures and facilitate the deployment of data security management programs to avoid security threats such as eavesdropping, theft, and tampering during transmission, thereby reducing the risk of data leakage.
[0086] Furthermore, setting a fixed IP address for each robot can effectively manage the robot according to the IP address. In this embodiment, the file service can be an Ngi nx file service. When used as a file server, Ngi nx can efficiently provide static file services, such as pictures, videos, CSS, JavaScript files, etc.
[0087] Furthermore, Figure 3-4 As shown, compared with the existing multi-robot interactive communication method that relies on an external server, in this embodiment, all robots are located in the host computer and run a back-end program of an IP management program, which is mainly used to cooperate with the ngi nx file service to process the information interaction and file transfer between multiple robots, and the business program configured locally on each robot is used to process the business event instructions received by each robot itself, such as Figure 4 As shown, as an example, each robot in the local robot cluster can receive information sent by other robots as clients as a server through the IP management program, so as to uniformly manage other robots. Compared with the traditional communication method through an external server, the robot in this embodiment can better perform collaborative tasks. In collaborative tasks, the robot can broadcast its own position information to other robots in real time without relying on an external server. Each robot can act as a server to send position information, and can also act as a client to receive position information of other robots. It can effectively reduce the occurrence of events that affect work efficiency, such as robot collisions or duplication of path points during collaborative work.
[0088] 102. The first robot obtains a local robot address, generates a server for monitoring a client of the second robot, and establishes a communication node between the first robot and the second robot based on the server and the client;
[0089] As an optional implementation, in the first aspect of the present invention, the first robot obtains the local robot address and generates a server for monitoring the second robot client, including:
[0090] The first robot reads the pre-configured parameter file of the local robot through the IP management program, obtains the local IP address of the first robot and the mapping relationship between the identification ID and the IP address in the second robot according to the parameter file, and the first robot listens to the target port through the IP management program as a server in the network environment, and the business program of the second robot is connected to the IP management program of the first robot through the target port and IP address as a client.
[0091] As an optional implementation, in the first aspect of the present invention, establishing a communication node between the first robot and the second robot based on the server and the client includes:
[0092] The IP management program of the first robot as a server sends a first connection request to the business program of the second robot according to the monitored business event, and the business program returns connection confirmation information to the IP management program of the server, and the second robot as a client sends a second connection request to the IP management program of the first robot through the local IP management program of the second robot according to business needs, and the IP management program of the first robot receives the second connection request and returns connection confirmation information;
[0093] Establish a communication connection between the IP management program and the business program, use the IP management program to uniformly manage the local business program of the first robot and the business program of the second robot, form a communication node between the first robot and the second robot, and transmit business information between the first robot and the second robot according to the communication node.
[0094] As an example, the first robot uses the IP management program to obtain the locally configured fixed wireless network IP address and sets a unified port (for example, port: 15566, all robots uniformly use this target port). The first robot generates a server that listens to the local IP address and port through the IP management program. The IP management program continuously listens to the port as a server. At the same time, the first robot's own business program directly connects to its own IP management program through the local loopback address (127.0.0.1) as a client. The second robot's own business program can connect to the IP management program of the first robot as a client through the IP address and a uniformly specified port number. At the same time, it also supports multiple robots to simultaneously connect to the IP management program of the first robot as clients in this way. On the basis of establishing a connection in this way, business interaction between robots can be further realized through customized robot protocol configuration files, including file transfer, location broadcasting, video streaming and other robot communication interaction functions.
[0095] 103. Execute business file transmission between the first robot and the second robot according to the communication protocol.
[0096] As an optional implementation, in the first aspect of the present invention, executing the business file transmission between the first robot and the second robot according to the communication protocol includes:
[0097] The service program of the first robot is connected to the IP management program of the second robot through the communication node, and the service program of the first robot sends a file download instruction to the IP management program of the second robot;
[0098] The IP management program of the second robot forwards the file download instruction to the local service program of the second robot, and the local service program pre-processes the target file corresponding to the file download instruction according to the communication protocol and deploys it in the target path of the file service;
[0099] The IP management program of the second robot forwards the target path to the business program of the first robot. The first robot connects to the download port set by the file service according to the target path, and the business program of the first robot downloads the target file through the communication protocol.
[0100] Specifically, Figure 4 As shown, during the file transfer process, the business program of mobile robot A is connected to the IP management program of mobile robot B, and the business program of mobile robot A sends a file download instruction to the IP management program. The IP management program of mobile robot B forwards the instruction to the local business program. The local business program of mobile robot B compresses the specified file and moves it to the fixed directory deployed by the ngi nx file service, and forwards the directory path of the file to the IP management program. The IP management program forwards the file path to the business program of mobile robot A. The business program of mobile robot A obtains the file path and concatenates it with the fixed port set by the ngi nx file service, and downloads the file using the http protocol.
[0101] Furthermore, the business programs of multiple mobile robots can send information to the connected IP management program according to the pre-established protocol content. The IP management program parses or forwards according to the established protocol. Multiple robots can transfer information through the IP management program, thereby establishing node communication between robots in a local area network or a private network. Node communication is only suitable for data forwarding, and data transmission between robot devices cannot identify data without a communication protocol. Therefore, the IP management program can convert external forwarded data into protocol content that can be recognized by the robot device, and the function of reading the TXT file can be realized through a custom communication protocol, so that the robot device can identify the files in the forwarded data to achieve the purpose of file transfer. There is no need to rely on an external third-party server for file transfer between robot devices, which not only achieves high-speed and stable file transfer and communication to improve work efficiency, but also saves server rental and maintenance costs, reduces system operating costs, and improves the economic benefits of the robot collaborative work system.
[0102] As an optional embodiment, in the first aspect of the present invention, the communication network is configured with an adaptive network adjustment function and a data encryption function, the adaptive network adjustment function dynamically adjusts the number of clients accessing the server according to the network status within the local area network / private network and the network signal strength, and the data encryption function encrypts the business information and target files transmitted in the communication network.
[0103] Specifically, the multi-robot communication interaction has an adaptive network adjustment function, which can dynamically adjust the communication parameters according to the network conditions and the number of robots in the local area network to ensure efficient and stable communication in different environments. Through adaptive network adjustment, the system can better adapt to complex network environments and improve the stability and reliability of communication.
[0104] Furthermore, data encryption technology is used in multi-robot communication interactions to encrypt the transmitted files and communication data, ensuring that the file transmission and communication process between robots is safe and reliable, and preventing information from being maliciously stolen or tampered with. Through a powerful data encryption protection mechanism, users can safely transfer files and communicate within the local area network to protect confidential information from being leaked.
[0105] As an optional embodiment, in the first aspect of the present invention, the communication network is configured with a user interface through the IP management program to monitor and manage the communication status between the first robot and the second robot in real time, and the communication status includes file transfer, communication status, transmission progress and network connection status.
[0106] Specifically, the IP management program provides real-time monitoring and management functions in multi-robot communication interaction. Users can monitor the file transfer and communication status between robots in real time through the interface, view the transfer progress, network connection status and other information, and manage and control the transfer process in real time. This function enables users to better understand the communication status of robots in the local area network or private network, discover and solve problems in a timely manner, and ensure smooth communication.
[0107] The present invention uses file services, communication programs and communication protocols to transfer files and communicate between multiple robots within a local area network or a private network without relying on external server resources, thus saving server rental and maintenance costs, reducing system operating costs, and improving overall economic benefits; the transmission speed will not be limited by network bandwidth and transmission protocols, and can reduce the impact of factors such as signal interference and network congestion that will cause communication instability and communication interruption, thereby improving the work efficiency of collaborative work between robots; the lack of reliance on external servers reduces network occupancy, improves communication efficiency, avoids security threats such as eavesdropping, theft and tampering during data transfer, and reduces the risk of data leakage.
[0108] like Figure 2 As shown, the second aspect of the present invention discloses a multi-robot communication and interaction system, the system comprising:
[0109] Pre-configuration module, used to pre-configure the robot's parameters, business procedures, IP management procedures, communication protocols and communication networks;
[0110] A communication connection module, used for the first robot to obtain a local robot address, generate a server end that monitors a second robot client end, and establish a communication node between the first robot and the second robot based on the server end and the client end;
[0111] The file transmission module is used to execute the business file transmission between the first robot and the second robot according to the communication protocol.
[0112] As an optional embodiment, in the second aspect of the present invention, the parameters, business procedures, IP management procedures, communication protocols and communication networks of the preconfigured robot in the preconfiguration module include:
[0113] Parameters are set for the IP address and identification ID of each robot in the local area network / private network, a mapping relationship between the identification ID and the IP address is constructed in each robot parameter, and the movement range parameters of the robot are set;
[0114] Configure the robot local file service to deploy the download file port;
[0115] Configure the robot to run business programs locally to execute business events;
[0116] Configure the robot to run the IP management program locally to obtain the IP address and monitor the communication port;
[0117] Constructing an internal robot network environment of a local area network / private network, and setting a target port in the network environment for unifying the communication connection of the fixed IP address;
[0118] The communication protocol is configured to control the communication functions between robots, wherein the communication functions include one or more functions of information exchange, file transfer, robot position broadcast, video streaming, and mobile control.
[0119] As an optional implementation, in the second aspect of the present invention, the first robot in the communication connection module obtains the local robot address and generates a server for monitoring the second robot client, including:
[0120] The first robot reads the pre-configured parameter file of the local robot through the IP management program, obtains the local IP address of the first robot and the mapping relationship between the identification ID and the IP address in the second robot according to the parameter file, and the first robot listens to the target port through the IP management program as a server in the network environment, and the business program of the second robot is connected to the IP management program of the first robot through the target port and IP address as a client.
[0121] As an optional implementation, in the second aspect of the present invention, the communication connection module establishes a communication node between the first robot and the second robot based on the server and the client, including:
[0122] The IP management program of the first robot as a server sends a first connection request to the business program of the second robot according to the monitored business event, and the business program returns connection confirmation information to the IP management program of the server, and the second robot as a client sends a second connection request to the IP management program of the first robot through the local IP management program of the second robot according to business needs, and the IP management program of the first robot receives the second connection request and returns connection confirmation information;
[0123] Establish a communication connection between the IP management program and the business program, use the IP management program to uniformly manage the local business program of the first robot and the business program of the second robot, form a communication node between the first robot and the second robot, and transmit business information between the first robot and the second robot according to the communication node.
[0124] As an optional implementation, in the second aspect of the present invention, the file transmission module executes the business file transmission between the first robot and the second robot according to the communication protocol, including:
[0125] The service program of the first robot is connected to the IP management program of the second robot through the communication node, and the service program of the first robot sends a file download instruction to the IP management program of the second robot;
[0126] The IP management program of the second robot forwards the file download instruction to the local service program of the second robot, and the local service program pre-processes the target file corresponding to the file download instruction according to the communication protocol and deploys it in the target path of the file service;
[0127] The IP management program of the second robot forwards the target path to the business program of the first robot. The first robot connects to the download port set by the file service according to the target path, and the business program of the first robot downloads the target file through the communication protocol.
[0128] As an optional embodiment, in the second aspect of the present invention, the pre-configuration module is configured with an adaptive network adjustment function and a data encryption function. The adaptive network adjustment function dynamically adjusts the number of clients accessing the server according to the network status within the local area network / private network and the network signal strength. The data encryption function encrypts the business information and target files transmitted in the communication network.
[0129] As an optional embodiment, in the second aspect of the present invention, the pre-configuration module is configured with a user interface through the IP management program to monitor and manage the communication between the first robot and the second robot in real time, and the communication status includes file transfer, communication status, transmission progress and network connection status.
[0130] The third aspect of the present invention discloses a multi-robot communication and interaction device, comprising:
[0131] at least one processor, and
[0132] a memory communicatively connected to the at least one processor; wherein,
[0133] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the multi-robot communication and interaction method as described in any one of the first aspects of the present invention.
[0134] The computer device may be a terminal, and the computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a communication and interaction method of multiple robots is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0135] A fourth aspect of the present invention discloses a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute any one of the multi-robot communication and interaction methods disclosed in the first aspect of the present invention.
[0136] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned communication and interaction methods through multiple robots. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0137] Alternatively, if the above modules of the present invention are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to execute all or part of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, RAM, ROM, magnetic disks or optical disks.
[0138] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0139] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0140] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0141] Finally, it should be noted that the multi-robot communication interaction method and system disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-robot communication and interaction method, characterized in that: The method comprises: Pre-configure robot parameters, business procedures, IP management procedures, communication protocols and communication networks; The first robot obtains the local robot address, generates a server end that monitors the second robot client end, and establishes a communication node between the first robot and the second robot based on the server end and the client end; The business file transmission between the first robot and the second robot is performed according to the communication protocol.
2. The multi-robot communication and interaction method according to claim 1, characterized in that: The pre-configured robot parameters, business procedures, IP management procedures, communication protocols and communication networks include: Parameters are set for the IP address and identification ID of each robot in the local area network / private network, a mapping relationship between the identification ID and the IP address is constructed in each robot parameter, and the movement range parameters of the robot are set; Configure the robot local file service to deploy the download file port; Configure the robot to run business programs locally to execute business events; Configure the robot to run the IP management program locally to obtain the IP address and monitor the communication port; Constructing an internal robot network environment of a local area network / private network, and setting a target port in the network environment for unifying the communication connection of the fixed IP address; The communication protocol is configured to control the communication functions between robots, wherein the communication functions include one or more functions of information exchange, file transfer, robot position broadcast, video streaming, and mobile control.
3. The multi-robot communication and interaction method according to claim 2, characterized in that: The first robot obtains the local robot address and generates a server for monitoring the second robot client, including: The first robot reads the pre-configured parameter file of the local robot through the IP management program, obtains the local IP address of the first robot and the mapping relationship between the identification ID and the IP address in the second robot according to the parameter file, and the first robot listens to the target port through the IP management program as a server in the network environment, and the business program of the second robot is connected to the IP management program of the first robot through the target port and IP address as a client.
4. The multi-robot communication and interaction method according to claim 3, characterized in that: The establishing of a communication node between the first robot and the second robot based on the server and the client includes: The IP management program of the first robot as a server sends a first connection request to the business program of the second robot according to the monitored business event, and the business program returns connection confirmation information to the IP management program of the server, and the second robot as a client sends a second connection request to the IP management program of the first robot through the local IP management program of the second robot according to business needs, and the IP management program of the first robot receives the second connection request and returns connection confirmation information; Establish a communication connection between the IP management program and the business program, use the IP management program to uniformly manage the local business program of the first robot and the business program of the second robot, form a communication node between the first robot and the second robot, and transmit business information between the first robot and the second robot according to the communication node.
5. The multi-robot communication and interaction method according to claim 4, characterized in that: The performing of the business file transmission between the first robot and the second robot according to the communication protocol includes: The service program of the first robot is connected to the IP management program of the second robot through the communication node, and the service program of the first robot sends a file download instruction to the IP management program of the second robot; The IP management program of the second robot forwards the file download instruction to the local service program of the second robot, and the local service program pre-processes the target file corresponding to the file download instruction according to the communication protocol and deploys it in the target path of the file service; The IP management program of the second robot forwards the target path to the business program of the first robot. The first robot connects to the download port set by the file service according to the target path, and the business program of the first robot downloads the target file through the communication protocol.
6. The multi-robot communication and interaction method according to claim 1, characterized in that: The communication network is configured with an adaptive network adjustment function and a data encryption function. The adaptive network adjustment function dynamically adjusts the number of clients accessing the server according to the network status and network signal strength within the local area network / private network. The data encryption function encrypts the business information and target files transmitted in the communication network.
7. The multi-robot communication and interaction method according to claim 1, characterized in that: The communication network is configured with a user interface through the IP management program to monitor and manage the communication status between the first robot and the second robot in real time, wherein the communication status includes file transfer, communication status, transmission progress and network connection status.
8. A multi-robot communication and interaction system, characterized in that: The system comprises: Pre-configuration module, used to pre-configure the robot's parameters, business procedures, IP management procedures, communication protocols and communication networks; A communication connection module, used for the first robot to obtain a local robot address, generate a server end that monitors a second robot client end, and establish a communication node between the first robot and the second robot based on the server end and the client end; The file transmission module is used to execute the business file transmission between the first robot and the second robot according to the communication protocol.
9. A multi-robot communication and interaction device, characterized in that: include: at least one processor, and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the multi-robot communication and interaction method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the multi-robot communication and interaction method according to any one of claims 1 to 7.
Citation Information
Cited By
Monitoring data transmission method and related product
CN120455449A
