Remote management method, system and storage medium of robot

By verifying motion parameters and selecting appropriate communication methods for remote robot control, the safety and real-time issues in remote robot control are resolved, enabling safe and reliable transmission of control commands and updates of status data.

CN123145307APending Publication Date: 2026-11-20TIANJIN ENVIRONMENT MONITORING CENT +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611629135.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-21
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing remote control methods for robots suffer from problems such as lack of security verification for control commands, limited communication methods, and redundant status data push, resulting in high risk of robot equipment damage, large network bandwidth consumption, and large data transmission delays.

Method used

By receiving and parsing control request data, verifying action parameters, selecting an appropriate communication method to send control commands, and pushing incremental status data to reduce redundant data transmission, a layered architecture and encryption are adopted to improve security and real-time performance.

Benefits of technology

It enables the secure issuance of robot control commands, improves the real-time performance and reliability of communication, reduces network bandwidth usage and data transmission latency, and ensures the safety of robot equipment and the real-time updating of status data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145307A_ABST
    Figure CN123145307A_ABST
Patent Text Reader

Abstract

The application provides a remote control method and system of a robot, and a storage medium. The remote control method of the robot comprises the following steps: analyzing control request data to obtain an instruction type parameter and an action parameter; verifying the action parameter according to the instruction type parameter and a preset control constraint to obtain a control verification result; generating a target control instruction according to the control verification result and the action parameter; determining a target communication mode according to the instruction type parameter; sending the target control instruction to a target robot through the target communication mode; obtaining current state data during execution of the target control instruction by the target robot; determining historical state data corresponding to the current state data according to the current state data; comparing the current state data with the historical state data according to the historical state data to obtain state change data; generating state increment data according to the state change data and the current state data; and pushing the state increment data to a webpage terminal, and updating the historical state data according to the current state data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot remote control technology, and more specifically, to a method, system, and storage medium for remote control of a robot. Background Technology

[0002] Currently, in related technologies, robots are typically remotely controlled via terminal devices. However, these remote control methods suffer from at least the following problems.

[0003] First, the control commands lack effective safety verification. When issuing control commands, the relevant technologies do not perform safety verification on the motion parameters in the commands. Motion parameters such as movement speed, gimbal angle, and gimbal angular velocity may exceed preset safety constraints, easily causing damage to the robot equipment and posing operational safety hazards.

[0004] Second, the communication method is limited. Related technologies use the same communication method to transmit all types of control commands, failing to select a matching communication method based on the command type. This results in insufficient real-time performance and reliability of control command transmission.

[0005] Third, there is redundancy in status data transmission. Related technologies transmit the robot's complete status data back to the terminal device. Even if only some status fields change, the complete status data still needs to be transmitted, resulting in high network bandwidth consumption and large data transmission latency, which cannot meet the real-time status requirements of remote control. Summary of the Invention

[0006] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0007] Therefore, the first aspect of the present invention proposes a method for remote control of a robot.

[0008] A second aspect of the present invention provides a remote control system for a robot.

[0009] A third aspect of the present invention provides a storage medium.

[0010] In view of this, a first aspect of the present invention proposes a remote control method for a robot, comprising: receiving control request data sent by a web terminal; parsing the control request data to obtain instruction type parameters and action parameters; verifying the action parameters according to the instruction type parameters and preset control constraints to obtain a control verification result; generating a target control instruction according to the control verification result and the action parameters; determining a target communication method according to the instruction type parameters; sending the target control instruction to a target robot through the target communication method; acquiring current state data of the target robot during the execution of the target control instruction; determining historical state data corresponding to the current state data according to the current state data; comparing the current state data with the historical state data to obtain state change data; generating state increment data according to the state change data and the current state data; pushing the state increment data to the web terminal; updating the historical state data according to the current state data; and using the current state data as the new historical state data.

[0011] Optionally, in some technical solutions, the remote control method for the robot further includes: when the web page is first loaded, receiving a status snapshot acquisition request sent by the web terminal through a first transmission protocol; acquiring a complete status snapshot of the target robot according to the status snapshot acquisition request; sending the complete status snapshot to the web terminal through the first transmission protocol and storing the complete status snapshot as historical status data; and pushing incremental status data to the web terminal through a second transmission protocol.

[0012] Optionally, in some technical solutions, the action parameters are verified according to the command type parameters and preset control constraints to obtain control verification results, including: obtaining constraint range parameters from preset control constraints according to the command type parameters; determining the parameters to be verified corresponding to the constraint range parameters according to the command type parameters and action parameters; comparing the parameters to be verified with the constraint range parameters to obtain parameter verification results; and generating control verification results according to the parameter verification results and command type parameters; wherein, the constraint range parameters include at least one of a first constraint range corresponding to the gimbal angle, a second constraint range corresponding to the gimbal angular velocity, and a third constraint range corresponding to the motion speed.

[0013] Optionally, in some technical solutions, the target communication method is determined according to the instruction type parameter, including: when the instruction type parameter corresponds to a navigation instruction, the communication method based on the transmission control protocol is determined as the target communication method; when the instruction type parameter corresponds to a motion instruction or a gimbal instruction, the message communication method based on the robot operating system is determined as the target communication method.

[0014] Optionally, in some technical solutions, obtaining the current state data of the target robot during the execution of target control commands includes: establishing a message buffer; obtaining the target robot's sensor message channels and configuring the message receiving interface corresponding to the sensor message channels; receiving the latest sensor messages transmitted through the sensor message channels via the message receiving interface; obtaining a mutex lock and locking the message buffer using the mutex lock to obtain the locked buffer; determining the target storage location from the locked buffer based on the sensor message channels; writing the latest sensor messages to the target storage location, updating the locked buffer, and obtaining a transition buffer; reading the latest sensor messages from the transition buffer and extracting the current state data; and unlocking the transition buffer using the mutex lock to obtain the updated message buffer.

[0015] Optionally, in some technical solutions, incremental state data is generated based on state change data and current state data, including: parsing the current state data to obtain state fields; filtering the state fields based on the state change data to obtain target state fields; extracting the current field value corresponding to the target state field from the current state data based on the target state field; and encapsulating the target state field and the current field value to generate incremental state data.

[0016] Optionally, in some technical solutions, when the instruction type parameter corresponds to a navigation instruction, the target control instruction is sent to the target robot via target communication, including: encapsulating the target control instruction into a navigation task message according to a preset message encapsulation rule; establishing a communication connection with the target robot via target communication and obtaining a first connection state; when the first connection state is disconnected, re-establishing a communication connection with the target robot via target communication and obtaining a second connection state; and when the first connection state is connected, sending the navigation task message to the target robot.

[0017] Optionally, in some technical solutions, after generating state increment data based on state change data and current state data, the remote control method for the robot further includes: acquiring current control constraint data; reading the target state field and current field value from the state increment data; determining the constraint items to be updated associated with the target state field according to preset state constraint association rules; generating the allowable action range of the constraint items to be updated based on the current field value and preset control constraints; and updating the current control constraint data according to the allowable action range.

[0018] A second aspect of the present invention provides a remote control system for a robot, comprising: a receiving module for receiving control request data sent by a web terminal; a parsing module for parsing the control request data to obtain instruction type parameters and action parameters; a verification module for verifying the action parameters according to the instruction type parameters and preset control constraints to obtain a control verification result; an instruction generation module for generating a target control instruction according to the control verification result and the action parameters; a communication mode determination module for determining a target communication mode according to the instruction type parameters; a sending module for sending the target control instruction to a target robot through the target communication mode; a state acquisition module for acquiring current state data of the target robot during the execution of the target control instruction; a historical state determination module for determining historical state data corresponding to the current state data based on the current state data; a state comparison module for comparing the current state data with the historical state data to obtain state change data; an increment generation module for generating state increment data based on the state change data and the current state data; and a push update module for pushing the state increment data to the web terminal, updating the historical state data according to the current state data, and using the current state data as the new historical state data.

[0019] A third aspect of the present invention provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the remote control method for a robot in any of the above-described technical solutions. Therefore, this storage medium possesses all the beneficial effects of the remote control method for a robot in any of the above-described technical solutions, and will not be elaborated further here.

[0020] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0021] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 One of the flowcharts for a remote control method for a robot according to an embodiment of the present invention; Figure 2 A second flowchart illustrating a remote control method for a robot according to an embodiment of the present invention; Figure 3 This is a third flowchart of a remote control method for a robot according to an embodiment of the present invention; Figure 4 This is a flowchart of a remote control method for a robot according to an embodiment of the present invention; Figure 5This is a structural block diagram of a remote control system for a robot according to an embodiment of the present invention; in, Figure 5 The correspondence between the reference numerals and component names in the attached drawings is as follows: 50. Remote control system for robots; 502. Receiving module; 504. Parsing module; 506. Verification module; 508. Instruction generation module; 510. Communication mode determination module; 512. Sending module; 514. Status acquisition module; 516. Historical status determination module; 518. Status comparison module; 520. Increment generation module; 522. Push update module. Detailed Implementation

[0022] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments of the present invention and the features thereof can be combined with each other.

[0023] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.

[0024] The following reference Figures 1 to 5 A method, system, and storage medium for remote control of a robot are described according to some embodiments of the present invention.

[0025] like Figure 1 As shown, in view of the above, the first aspect of the present invention proposes a method for remote control of a robot, comprising: Step 102: Receive control request data sent by the web terminal; Step 104: Parse the control request data to obtain the instruction type parameter and action parameter; Step 106: Verify the action parameters according to the instruction type parameters and preset control constraints to obtain the control verification results; Step 108: Generate target control commands based on control verification results and motion parameters; Step 110: Determine the target communication method based on the instruction type parameter; Step 112: Send the target control command to the target robot via target communication. Step 114: Obtain the current state data of the target robot during the execution of the target control command; Step 116: Based on the current state data, determine the historical state data corresponding to the current state data; Step 118: Compare the current state data with the historical state data to obtain the state change data; Step 120: Generate state increment data based on the state change data and the current state data; Step 122: Push the incremental status data to the web terminal, update the historical status data based on the current status data, and use the current status data as the new historical status data.

[0026] The remote control method for robots provided in this application can be applied to scenarios requiring remote control of robots, such as industrial inspection, emergency rescue, and environmental detection.

[0027] In one application scenario, the web terminal is the terminal device used by operators to remotely control a target robot, which can be a quadruped robot. The server establishes communication connections with both the web terminal and the target robot through a communication network. The server receives data sent by the web terminal, interacts with the target robot through the communication network, and pushes the data back to the web terminal.

[0028] The server parses, verifies, and generates instructions for control request data. Based on the instruction type, it determines the matching communication method, sends the control instructions to the target robot, compares the status data of the target robot during execution, generates incremental status data, and pushes it to the web terminal. This enables remote control of the target robot and ensures the secure issuance of control instructions and the real-time push of status data.

[0029] At the beginning of the remote control process, the server receives control request data sent by the web terminal. This control request data is sent by the web terminal to request control of the target robot. The server receives this control request data as input to the remote control process, providing a data source for subsequent parsing, verification, and generation of control commands.

[0030] After receiving control request data, the server parses the data to obtain instruction type parameters and action parameters. Instruction type parameters indicate the type of control instruction, while action parameters indicate the amount of action to be performed within the control instruction. By parsing these parameters from the control request data, the server extracts the instruction type and action amount separately, providing a basis for subsequent verification of the action parameters and for determining the target communication method based on the instruction type parameters.

[0031] After parsing the instruction type parameters and action parameters, the server verifies the action parameters based on the instruction type parameters and preset control constraints, obtaining a control verification result. The preset control constraints are pre-set rules used to constrain the action parameters, and the control verification result indicates whether the action parameter verification passed. The specific implementation of the action parameter verification process will be described in detail in the corresponding paragraphs of the dependent claims.

[0032] After obtaining the control verification results, the server generates target control instructions based on the verification results and motion parameters. These target control instructions are generated from the control verification results and motion parameters and are used to control the target robot. The control verification results determine the adjustment of the motion parameters, which in turn determine the amount of motion to be executed in the target control instructions. The server generates the target control instructions based on these results, and these instructions serve as the final control commands issued to the target robot.

[0033] After generating the target control instructions, the server determines the target communication method based on the instruction type parameter. The target communication method is the communication method used to send the target control instructions to the target robot. The server determines the target communication method based on the instruction type parameter, so that different types of target control instructions are sent through the matching communication method. The specific implementation of determining the target communication method will be described in detail in the description paragraphs corresponding to the dependent claims.

[0034] After determining the target communication method, the server sends the target control commands to the target robot through the target communication method. The target robot receives and executes the target control commands. The specific implementation of sending the target control commands to the target robot will be described in detail in the description paragraphs corresponding to the dependent claims.

[0035] After sending the target control command to the target robot, the server obtains the current state data of the target robot during the execution of the target control command. The current state data is the state data of the target robot during the execution of the target control command. The server obtains the current state data as a data source for judging the changes in the target robot's state. The specific implementation method for obtaining the current state data will be described in detail in the description paragraphs corresponding to the dependent claims.

[0036] After acquiring the current state data, the server determines the corresponding historical state data based on the current state data. The historical state data refers to the state data of the target robot prior to the current state data. The server determines the historical state data corresponding to the current state data, and this historical state data serves as a benchmark for comparison with the current state data. The specific implementation method for determining the historical state data will be described in detail in the description paragraphs corresponding to the dependent claims.

[0037] After determining the historical state data, the server compares the current state data with the historical state data to obtain state change data. State change data represents information indicating how the current state data has changed relative to the historical state data. The server uses the historical state data as a benchmark to compare the current state data with the historical state data, obtaining state change data that reflects the range of change in the current state data relative to the historical state data, providing a basis for subsequently generating incremental state data.

[0038] After obtaining the state change data, the server generates state increment data based on the state change data and the current state data. The state increment data is generated from the state change data and the current state data, and only contains the changed portions of the current state data. The specific implementation method for generating the state increment data will be described in detail in the description paragraphs corresponding to the dependent claims.

[0039] After generating incremental state data, the server pushes the incremental state data to the web terminal and updates the historical state data based on the current state data, using the current state data as the new historical state data. By pushing the incremental state data to the web terminal, the server enables the web terminal to obtain the changed state data of the target robot. The server uses the current state data as the new historical state data, ensuring that the historical state data is consistent with the latest state of the target robot, providing an updated comparison benchmark for the next state comparison. The specific implementation of pushing the incremental state data to the web terminal will be described in detail in the description paragraphs corresponding to the dependent claims.

[0040] In the aforementioned remote control method for robots, the server obtains instruction type parameters and action parameters by parsing control request data, and verifies the action parameters according to the instruction type parameters and preset control constraints to ensure that the control instructions sent to the target robot comply with the preset safety constraints. The server determines the target communication method based on the instruction type parameters to ensure that different types of target control instructions are sent through matching communication methods. The server obtains the current state data of the target robot during execution, compares it with historical state data, generates incremental state data, and pushes it to the web terminal, reducing the amount of data pushed and ensuring the real-time nature of the state data push.

[0041] In some embodiments, the server adopts a layered architecture, receiving requests from web terminals through an interface routing layer, implementing remote management business logic through a business logic layer, communicating with the target robot through a core capability layer, and storing data through a data persistence layer.

[0042] In some embodiments, the web terminal adopts a single-page application architecture to build a visual interface that displays the status data of the target robot.

[0043] In some embodiments, the program code corresponding to the server and the program code corresponding to the web terminal are both encrypted or obfuscated to protect the source code.

[0044] In some embodiments, the server initializes each functional module sequentially upon startup. If any functional module fails to initialize, the server continues to run in a degraded mode. When the server shuts down, it releases various resources in a preset order.

[0045] In some embodiments, the server stores data such as inspection records, alarm records, routes, task points, presets, and logs in a database.

[0046] In some embodiments, the web terminal displays a two-dimensional grid map and a three-dimensional point cloud map to visualize the environment in which the target robot is located.

[0047] Optionally, in some embodiments, the remote control method for the robot further includes: receiving a status snapshot acquisition request sent by the web terminal via a first transmission protocol when the web terminal page is first loaded; acquiring a complete status snapshot of the target robot according to the status snapshot acquisition request; sending the complete status snapshot to the web terminal via the first transmission protocol and storing the complete status snapshot as historical status data; and pushing incremental status data to the web terminal via a second transmission protocol.

[0048] In the above embodiment, when the web page is first loaded, the server receives a status snapshot acquisition request sent by the web terminal via a first transmission protocol. The status snapshot acquisition request is request data sent by the web terminal when the page is first loaded, requesting to obtain a complete status snapshot of the target robot. The first transmission protocol is a transmission protocol used to transmit the complete status snapshot. The server receives the status snapshot acquisition request via the first transmission protocol during the initial page load phase, serving as a trigger condition for obtaining a complete status snapshot of the target robot, and providing a data source for subsequently obtaining and returning the complete status snapshot of the target robot.

[0049] The server retrieves a complete state snapshot of the target robot based on the state snapshot retrieval request. A complete state snapshot is a collection of all state data of the target robot at the moment the page is first loaded. By retrieving the complete state snapshot based on the state snapshot retrieval request, the server ensures that all state data of the target robot at the moment the page is first loaded is captured at once, and the complete state snapshot serves as the source of historical state data.

[0050] The server sends a complete state snapshot to the web terminal via a first transmission protocol and stores the complete state snapshot as historical state data. This allows the web terminal to obtain complete state data of the target robot during the initial page load phase. The server stores the complete state snapshot as historical state data, providing initial content for the historical state data during the initial page load phase. This historical state data serves as a benchmark for subsequent comparisons with the current state data.

[0051] The server pushes incremental state data to the web terminal via a second transmission protocol. This second transmission protocol is used to push incremental state data. By using this protocol, the server continuously receives changes in the target robot's state data after the page is initially loaded. The second transmission protocol and the first transmission protocol have different data transmission responsibilities.

[0052] In some embodiments, the first transmission protocol may be Hypertext Transfer Protocol (HTTP), through which the server receives a state snapshot retrieval request and sends a complete state snapshot to the web terminal. In some embodiments, the second transmission protocol may be WebSocket, through which the server pushes incremental state data to the web terminal. The first transmission protocol is suitable for large amounts of data transmitted in a single transmission of a complete state snapshot, while the second transmission protocol is suitable for state incremental data with high real-time requirements and continuous push notifications. This application does not limit the specific types of the first and second transmission protocols; the first transmission protocol may be any other transmission protocol capable of transmitting a complete state snapshot, and the second transmission protocol may be any other transmission protocol capable of pushing incremental state data.

[0053] In the above embodiments, when the web page is first loaded on the web terminal, the server receives a state snapshot acquisition request through the first transmission protocol and acquires a complete state snapshot of the target robot. The server then sends the complete state snapshot to the web terminal through the first transmission protocol and stores it as historical state data. This allows the web terminal to obtain the complete state data of the target robot during the initial page loading stage, while also providing the historical state data with initial content as a benchmark for subsequent state comparisons. The server then pushes incremental state data to the web terminal through the second transmission protocol. This ensures the real-time nature of the incremental state data push by using a different transmission protocol than the complete state snapshot.

[0054] In some embodiments, when the web page is first loaded on the web terminal, the server also obtains the pose data, grid map data and point cloud map data of the target robot through the first transmission protocol, and sends the pose data, grid map data and point cloud map data to the web terminal through the first transmission protocol.

[0055] In some embodiments, the incremental state data includes at least one of pose update messages, state change messages, gimbal status messages, and alarm notification messages.

[0056] like Figure 2 As shown, optionally, in some embodiments, the action parameters are verified according to the instruction type parameter and preset control constraints to obtain the control verification result, including: Step 202: Obtain the constraint range parameter from the preset control constraints according to the instruction type parameter; Step 204: Determine the parameters to be verified corresponding to the constraint range parameters based on the instruction type parameters and action parameters; Step 206: Compare the parameter to be verified with the constraint range parameter to obtain the parameter verification result; Step 208: Generate control verification results based on parameter verification results and instruction type parameters; The constraint range parameters include at least one of the following: a first constraint range corresponding to the gimbal angle, a second constraint range corresponding to the gimbal angular velocity, and a third constraint range corresponding to the motion speed.

[0057] In the above embodiments, the server verifies the action parameters based on the instruction type parameter and preset control constraints to obtain a control verification result. The server obtains constraint range parameters from the preset control constraints based on the instruction type parameter. These constraint range parameters are the range parameters used to constrain the action parameters within the preset control constraints. The server uses the instruction type parameter as a basis to obtain constraint range parameters that match the instruction type parameter from the preset control constraints. These constraint range parameters serve as the range benchmark for verifying the action parameters.

[0058] The server determines the parameters to be verified corresponding to the constraint range parameters based on the instruction type parameters and action parameters. The parameters to be verified are the action parameters that correspond to the constraint range parameters and are to be verified. The server determines the parameters to be verified from the action parameters based on the instruction type parameters and action parameters, thus identifying the components of the action parameters that need to be compared with the constraint range parameters. These parameters are then used as the objects for comparison with the constraint range parameters.

[0059] The server compares the parameter to be verified with the constraint range parameters to obtain the parameter verification result. The parameter verification result indicates the comparison result between the parameter to be verified and the constraint range parameters. The server compares the parameter to be verified with the constraint range parameters to obtain a parameter verification result indicating that the parameter to be verified is within the range defined by the constraint range parameters. The parameter verification result reflects whether the parameter to be verified has passed the verification under the constraint range parameters.

[0060] The server generates a control verification result based on the parameter verification result and the instruction type parameter. This control verification result serves as the basis for subsequently generating the target control instruction based on the control verification result and the action parameter, thus the final control verification result is jointly determined by the verification result of the action parameter and the instruction type parameter.

[0061] In some embodiments, the constraint range parameters include at least one of a first constraint range corresponding to the gimbal angle, a second constraint range corresponding to the gimbal angular velocity, and a third constraint range corresponding to the motion speed. The first constraint range is the constraint range corresponding to the gimbal angle, the second constraint range is the constraint range corresponding to the gimbal angular velocity, and the third constraint range is the constraint range corresponding to the motion speed. The gimbal angle is the rotation angle of the gimbal mounted on the target robot, the gimbal angular velocity is the rotation angular velocity of the gimbal mounted on the target robot, and the motion speed is the motion speed of the target robot.

[0062] In some embodiments, when the motion parameter is the gimbal angle, the server obtains a first constraint range from preset control constraints according to the instruction type parameter, determines the gimbal angle as the parameter to be verified, and compares the gimbal angle with the first constraint range to obtain the parameter verification result. In other embodiments, when the motion parameter is the gimbal angular velocity, the server obtains a second constraint range from preset control constraints according to the instruction type parameter, determines the gimbal angular velocity as the parameter to be verified, and compares the gimbal angular velocity with the second constraint range to obtain the parameter verification result. In still other embodiments, when the motion parameter is the motion speed, the server obtains a third constraint range from preset control constraints according to the instruction type parameter, determines the motion speed as the parameter to be verified, and compares the motion speed with the third constraint range to obtain the parameter verification result. This application does not limit the specific type of the constraint range parameter; the constraint range parameter can be other range parameters corresponding to the motion parameters of the target robot.

[0063] In the above embodiments, the server obtains the constraint range parameter from the preset control constraints according to the instruction type parameter, determines the parameter to be verified according to the instruction type parameter and the action parameter, compares the parameter to be verified with the constraint range parameter to obtain the parameter verification result, and generates the control verification result according to the parameter verification result and the instruction type parameter, so that the action parameter is verified within the constraint range that matches the instruction type parameter, ensuring that the action parameter in the issued target control instruction is within the safe constraint range.

[0064] In some embodiments, the gimbal angle is controlled by incremental control or absolute control, and the server verifies the gimbal angle corresponding to the incremental control method and the gimbal angle corresponding to the absolute control method, respectively.

[0065] In some embodiments, the server performs an emergency stop procedure on the target robot based on an emergency stop command.

[0066] Optionally, in some embodiments, determining the target communication method based on the instruction type parameter includes: when the instruction type parameter corresponds to a navigation instruction, determining the communication method based on the transmission control protocol as the target communication method; when the instruction type parameter corresponds to a motion instruction or a gimbal instruction, determining the message communication method based on the robot operating system as the target communication method.

[0067] In the above embodiments, the server determines the target communication method based on the instruction type parameter. The server then selects the target communication method that matches the instruction type parameter from a range of pre-configured communication methods, based on the instruction type corresponding to the instruction type parameter, so that the target control instruction is sent to the target robot through the matching communication method.

[0068] When the instruction type parameter corresponds to a navigation instruction, the server will determine the target communication method based on the Transmission Control Protocol (TCP). Navigation instructions are used to control the target robot to move to a target location. TCP is a connection-oriented communication protocol that provides reliable data transmission. By determining the TCP-based communication method when the instruction type parameter corresponds to a navigation instruction, the server ensures that the target control instructions corresponding to the navigation instructions are sent to the target robot via this TCP-based communication method, guaranteeing the reliability of navigation instruction transmission.

[0069] When the instruction type parameter corresponds to a motion instruction or a gimbal instruction, the server determines the message communication method based on the robot operating system as the target communication method. A motion instruction is used to control the target robot to perform motion actions, while a gimbal instruction is used to control the gimbal mounted on the target robot to perform actions. The robot operating system (ROS) is a framework for robot software development, and message communication is the communication method within the robot operating system that achieves communication through message passing. When the instruction type parameter corresponds to a motion instruction or a gimbal instruction, the server determines the message communication method based on the robot operating system as the target communication method, ensuring that the target control instructions corresponding to the motion instruction or gimbal instruction are sent to the target robot through the message communication method based on the robot operating system, guaranteeing the real-time transmission of the motion instruction or gimbal instruction.

[0070] In some embodiments, when the instruction type parameter corresponds to a navigation instruction, the communication method based on the Transmission Control Protocol (TCP) is a connection-oriented reliable communication method. The server sends the target control instruction corresponding to the navigation instruction to the target robot through the TCP-based communication method. In some embodiments, when the instruction type parameter corresponds to a motion instruction or a gimbal instruction, the message communication method based on the robot operating system is a message publish-subscribe communication method. The server publishes the target control instruction corresponding to the motion instruction or gimbal instruction in the form of a message through the robot operating system, and the target robot receives the message by subscribing. This application does not limit the specific type of target communication method; the target communication method can be other communication methods that match the instruction type parameter.

[0071] In the above embodiments, the server determines the target communication method based on the instruction type parameter. When the instruction type parameter corresponds to a navigation instruction, it determines the communication method based on the transmission control protocol. When the instruction type parameter corresponds to a motion instruction or a gimbal instruction, it determines the message communication method based on the robot operating system. This ensures that different types of target control instructions are sent to the target robot through matching communication methods, guaranteeing the reliability and real-time performance of the target control instruction transmission.

[0072] In some embodiments, the web terminal sends control request data to the server via a POST request using the Hypertext Transfer Protocol. After the server parses the control request data and determines the target communication method, it sends the target control command to the target robot via the target communication method.

[0073] like Figure 3 As shown, optionally, in some embodiments, acquiring current state data during the execution of target control commands by the target robot includes: Step 302: Establish a message buffer. Step 304: Obtain the sensor message channel of the target robot and configure the message receiving interface corresponding to the sensor message channel; Step 306: Receive the latest sensor message transmitted through the sensor message channel via the message receiving interface; Step 308: Acquire a mutex lock, lock the message buffer using the mutex lock, and acquire the locked buffer. Step 310: Determine the target storage location from the locked buffer based on the sensor message channel; Step 312: Write the latest sensor message to the target storage location, update the locked buffer, and obtain the transition buffer; Step 314: Read the latest sensor messages from the transition buffer and extract the current state data; Step 316: Unlock the transition buffer using a mutex lock to obtain the updated message buffer.

[0074] In the above embodiment, the server acquires the current state data of the target robot during the execution of target control commands. The server extracts the current state data from the received sensor messages by establishing a message buffer and receiving sensor messages from the target robot.

[0075] The server establishes a message cache. The message cache is a buffer area used to store sensor messages. The server establishes this message cache to store the sensor messages of the target robot, providing storage space for subsequent writing and reading of sensor messages.

[0076] The server acquires the target robot's sensor message channels and configures the corresponding message receiving interface. The sensor message channel is the target robot's sensor message transmission channel, and the message receiving interface is used to receive sensor messages transmitted through the sensor message channel. By acquiring the target robot's sensor message channels and configuring the message receiving interface, the server gains the ability to receive sensor messages from the target robot.

[0077] The server receives the latest sensor messages transmitted through the sensor message channel via a message receiving interface. These latest sensor messages are the most recently generated sensor messages from the target robot, transmitted through the sensor message channel. By receiving these messages, the server can acquire the latest sensor messages generated by the target robot.

[0078] The server acquires a mutex lock and uses it to lock the message buffer, thus obtaining the locked buffer. The mutex lock ensures that read and write operations on the message buffer are mutually exclusive, and the locked buffer is the message buffer after being locked. By acquiring the mutex lock and locking the message buffer, the server maintains a locked state during the writing of sensor messages, preventing data conflicts caused by concurrent reads and writes.

[0079] The server determines the target storage location from the locked buffer based on the sensor message channel. The target storage location is the location within the locked buffer used to write the latest sensor message. The server then determines the target storage location corresponding to the sensor message channel from the locked buffer, and writes the latest sensor message to the corresponding storage location within the locked buffer.

[0080] The server writes the latest sensor message to the target storage location, updates the locked buffer, and obtains the transition buffer. The transition buffer is the message buffer area after the latest sensor message is written and before it is unlocked. The server writes the latest sensor message to the target storage location, updates the locked buffer to obtain the transition buffer, and ensures that the latest sensor message is written to the storage location corresponding to the sensor message channel in the message buffer.

[0081] The server reads the latest sensor messages from the transition buffer and extracts the current state data. This process ensures that the state data of the target robot during the execution of target control commands is extracted.

[0082] The server uses a mutex lock to unlock the transition buffer and obtain the updated message buffer. The updated message buffer is the unlocked message buffer containing the latest sensor messages. By unlocking the transition buffer with a mutex lock and obtaining the updated message buffer, the server releases the lock on the message buffer after writing and reading, making it available for subsequent writing and reading of sensor messages.

[0083] In some embodiments, the mutex lock can be a thread lock. The server uses the thread lock to lock and unlock the message buffer, ensuring mutual exclusion of read and write operations in the message buffer. In some embodiments, sensor message channels correspond to different sensors of the target robot. The server determines a target storage location for each sensor message channel and writes the latest sensor messages transmitted by different sensor message channels to the corresponding target storage locations. This application does not limit the specific type of mutex lock; the mutex lock can be any other lock that can guarantee mutual exclusion of read and write operations in the message buffer.

[0084] In the above embodiments, the server establishes a message buffer, obtains sensor message channels and configures message receiving interfaces, receives the latest sensor messages through the message receiving interface, locks the message buffer with a mutex lock, writes the latest sensor messages and reads and extracts the current status data, and then unlocks the mutex lock, so that the sensor messages are written and read under the protection of the mutex lock, ensuring the security and consistency of message buffer read and write operations, and at the same time ensuring that the current status data is accurately extracted from the latest sensor messages.

[0085] In some embodiments, the server reads sensor messages from the message buffer through a pure function interface, thereby decoupling the reading of sensor messages from business logic processing.

[0086] like Figure 4 As shown, optionally, in some embodiments, state increment data is generated based on state change data and current state data, including: Step 402: Parse the current status data and obtain the status field; Step 404: Based on the state change data, filter the state fields to obtain the target state fields; Step 406: Based on the target state field, extract the current field value corresponding to the target state field from the current state data; Step 408: Encapsulate the target state field with the current field value to generate incremental state data.

[0087] In the above embodiment, the server generates incremental state data based on the state change data and the current state data. The server obtains the state field by parsing the current state data, filters the state fields according to the state change data, extracts the field values ​​corresponding to the changed state fields, encapsulates them, and generates incremental state data.

[0088] The server parses the current state data and retrieves the state fields. The state fields are fields in the current state data used to identify the state type. The server parses the current state data and retrieves the state fields, which are used to identify the various state types contained in the current state data.

[0089] The server filters state fields based on state change data to obtain target state fields. The target state field is the state field that has changed, obtained by filtering state fields based on state change data. The server filters state fields based on state change data, selecting the target state field that corresponds to the changed state data.

[0090] The server extracts the corresponding current field value from the current state data based on the target state field. The current field value is the field value in the current state data that corresponds to the target state field. The server extracts the corresponding current field value from the current state data based on the target state field, ensuring that the field values ​​corresponding to changed state fields are extracted.

[0091] The server encapsulates the target state field with the current field value to generate incremental state data. This ensures that the incremental state data contains only the changed target state field and its corresponding current field value.

[0092] In some embodiments, the status field may include at least one of a power field, a temperature field, a speed field, and a pose field. Status change data is used to indicate the field that has changed. The server filters out the target status field that has changed from the aforementioned fields based on the status change data. In some embodiments, the server encapsulates the target status field and the current field value in the form of key-value pairs to generate incremental status data. This application does not limit the specific type and encapsulation method of the status field.

[0093] In the above embodiment, the server parses the current status data to obtain the status field, filters the target status field based on the status change data, extracts the current field value corresponding to the target status field, and encapsulates the target status field and the current field value to generate status increment data. This ensures that the status increment data only contains the status field and field value that have changed, thereby reducing the amount of data pushed and ensuring the real-time nature of status data push.

[0094] In some embodiments, the server compares the status fields in the historical status data with the status fields in the current status data field by field to obtain the status change data.

[0095] Optionally, in some embodiments, when the instruction type parameter corresponds to a navigation instruction, the target control instruction is sent to the target robot via a target communication method, including: encapsulating the target control instruction into a navigation task message according to a preset message encapsulation rule; establishing a communication connection with the target robot via the target communication method and obtaining a first connection state; when the first connection state is disconnected, re-establishing a communication connection with the target robot via the target communication method and obtaining a second connection state; and when the first connection state is connected, sending the navigation task message to the target robot.

[0096] In the above embodiments, when the instruction type parameter corresponds to a navigation instruction, the server sends the target control instruction to the target robot via target communication. The server encapsulates the target control instruction into a navigation task message, establishes a communication connection, determines the connection status, and re-establishes the communication connection if the connection status is disconnected, then sends the navigation task message to the target robot.

[0097] The server encapsulates target control commands into navigation task messages according to preset message encapsulation rules. These preset rules are pre-defined settings for encapsulating target control commands into navigation task messages, which are then encapsulated according to these rules. By converting the target control commands into navigation task messages suitable for transmission via the target communication method, the server ensures that the target control commands are properly configured for transmission.

[0098] The server establishes a communication connection with the target robot through the target communication method and obtains the initial connection state. The communication connection is the established connection between the server and the target robot, and the initial connection state is the connection state obtained by the server after establishing the connection with the target robot through the target communication method. By establishing a communication connection with the target robot through the target communication method and obtaining the initial connection state, the server obtains the connection status between itself and the target robot, which serves as the basis for determining whether the communication connection is available.

[0099] When the initial connection is in a disconnected state, the server re-establishes a communication connection with the target robot via the target communication method. A disconnected state means the communication connection is broken. When the initial connection is in a disconnected state, the server triggers a re-establishment of the communication connection with the target robot via the target communication method.

[0100] The server re-establishes a communication connection with the target robot using the target communication method and obtains a second connection state. This second connection state is the connection state obtained by the server after re-establishing the communication connection. By re-establishing a communication connection with the target robot using the target communication method and obtaining the second connection state, the server re-establishes the previously disconnected communication connection and acquires the re-established connection state.

[0101] When the first connection state is "connected," the server sends navigation task messages to the target robot. A "connected" state indicates that the communication connection is in a connected state. When the first connection state is "connected," the server sends navigation task messages to the target robot, enabling the navigation task messages to be sent to the target robot through the established communication connection.

[0102] In some embodiments, the preset message encapsulation rule can be a field format definition for the navigation task message. The server fills the target control instructions into the corresponding fields of the navigation task message according to the preset message encapsulation rule to obtain the navigation task message. In some embodiments, when the communication connection is disconnected, the server re-establishes a communication connection with the target robot through the target communication method. After the communication connection is re-established, the server sends the navigation task message to the target robot. This application does not limit the specific content of the preset message encapsulation rule; the preset message encapsulation rule can be any other rule capable of encapsulating target control instructions into a navigation task message.

[0103] In the above embodiments, the server encapsulates the target control instructions into navigation task messages according to preset message encapsulation rules, establishes a communication connection with the target robot through the target communication method and obtains the first connection status, re-establishes the communication connection and obtains the second connection status when the first connection status is disconnected, and sends the navigation task message when the first connection status is connected, so that the navigation task message is sent to the target robot when the communication connection is available, ensuring the reliability of navigation instruction transmission.

[0104] Optionally, in some embodiments, after generating state increment data based on state change data and current state data, the remote control method for the robot further includes: acquiring current control constraint data; reading the target state field and the current field value from the state increment data; determining the constraint item to be updated associated with the target state field according to a preset state constraint association rule; generating the allowed action range of the constraint item to be updated based on the current field value and the preset control constraint; and updating the current control constraint data according to the allowed action range.

[0105] In the above embodiments, after the server generates state increment data based on the state change data and the current state data, the remote control method for the robot also includes updating the control constraints. The server redetermines the currently allowed range of motion based on the state changes of the target robot reflected in the state change data and updates the current control constraint data, so that the control constraints are dynamically adjusted according to the state changes of the target robot.

[0106] The server retrieves the current control constraint data. This data is currently stored and used to limit the target robot's movements. It stores the allowable ranges according to instruction type and movement parameters. The server uses this data as the basis for subsequently determining constraints to be updated and generating allowable movement ranges. The current control constraint data differs from preset control constraints. Preset control constraints are pre-set basic limitations, while the current control constraint data represents the currently applicable control constraints formed based on the target robot's state.

[0107] The server reads the target state field and the current field value from the incremental state data. This allows the server to obtain information about the items whose state has changed and their values ​​after the change. The target state field and the current field value serve as the basis for subsequently determining the constraints to be updated and calculating the allowed range of actions.

[0108] The server determines the constraint items to be updated associated with the target state field based on preset state constraint association rules. These preset state constraint association rules are pre-defined rules that describe the correspondence between state fields and control constraints. The constraint items to be updated are the control constraints in the current control constraint data whose allowed action range needs to be redefined. The server determines the constraint items to be updated associated with the target state field from the correspondences recorded in the preset state constraint association rules, thus locating the constraint items that need to be recalculated after the target state field changes.

[0109] The server generates the allowed range of actions for the constraint item to be updated based on the current field values ​​and preset control constraints. The allowed range of actions is the range of values ​​that the action parameters can take in the current state of the target robot. By combining the current field values ​​with the preset control constraints, the server calculates the range of values ​​that the action parameters can take in the current state of the target robot.

[0110] The server updates the current control constraint data based on the allowed action range. It then updates the records in the current control constraint data corresponding to the constraint item to be updated, replacing the allowed action range of the constraint item with the recalculated allowed action range. Other constraint records unaffected by this state change are retained.

[0111] In some embodiments, the preset state constraint association rule can be a pre-saved correspondence table, which records state fields, instruction types, and action parameters. After reading the target state field, the server locates the affected constraint items to be updated based on the correspondence table. In some embodiments, when the current control constraint data is first established, constraint items are set according to the preset control constraints, and the initial allowable range is determined in combination with the current state data of the target robot. Subsequent executions read the data saved after the last update.

[0112] In some embodiments, taking the gimbal yaw increment angle as an example, the preset control constraint specifies that the range of the gimbal yaw angle is -90° to 90°. The current field value is 80°. The server calculates the allowable action range based on the current field value and the preset control constraint. The remaining angle for rotation in the positive direction is 90° minus 80°, which is 10°. The allowable angle increment for rotation in the negative direction is -90° minus 80°, which is -170°. The allowable action range is -170° to 10°. A negative value indicates rotation in the negative direction. The allowable action range keeps the target angle after rotation within the preset angle boundary.

[0113] In some embodiments, for incremental angle commands, the action parameter represents the incremental angle relative to the current position, and the server verifies the incremental angle command according to the allowed action range. In other embodiments, for absolute angle commands, the action parameter represents the target angle to be reached, and the server verifies the absolute angle command according to a preset absolute angle boundary. This application does not limit the specific form of the preset state constraint association rules or the calculation method of the allowed action range.

[0114] After the server updates the current control constraint data, it verifies the action parameters using the updated allowed action range when processing subsequent control requests. In some embodiments, after the gimbal yaw angle changes from 70° to 80°, the server updates the allowed increase in yaw angle in the positive direction from 20° to 10°. In subsequent control requests, an increase of 5° is within the allowed action range, while an increase of 20° exceeds the allowed action range, ensuring that the state change actually affects the verification of subsequent control requests.

[0115] In the above embodiments, the server obtains the current control constraint data, reads the target state field and the current field value from the state increment data, determines the constraint item to be updated according to the preset state constraint association rules, generates the allowed action range according to the current field value and the preset control constraints, and updates the current control constraint data according to the allowed action range, so that the control constraints are dynamically adjusted as the state of the target robot changes, and subsequent control requests are verified according to the updated allowed action range.

[0116] A second aspect of the present invention provides a remote control system 50 for a robot, comprising: a receiving module 502 for receiving control request data sent from a web terminal; a parsing module 504 for parsing the control request data to obtain instruction type parameters and action parameters; a verification module 506 for verifying the action parameters according to the instruction type parameters and preset control constraints to obtain a control verification result; an instruction generation module 508 for generating a target control instruction according to the control verification result and the action parameters; a communication mode determination module 510 for determining a target communication mode according to the instruction type parameters; and a sending module 512 for sending the target control instruction through the target communication mode. The system includes: a target robot; a state acquisition module 514, used to acquire the current state data of the target robot during the execution of target control commands; a historical state determination module 516, used to determine the historical state data corresponding to the current state data based on the current state data; a state comparison module 518, used to compare the current state data with the historical state data to obtain state change data; an incremental generation module 520, used to generate incremental state data based on the state change data and the current state data; and a push update module 522, used to push the incremental state data to the web terminal, update the historical state data based on the current state data, and use the current state data as the new historical state data.

[0117] The present invention also proposes a remote control system 50 for robots. Each module in the remote control system 50 corresponds one-to-one with each step of the remote control method for robots described above, and is used to implement all the steps of the remote control method for robots described above.

[0118] Since the remote control system 50 of the robot adopts the same technical means as the remote control method of the robot, the remote control system 50 of the robot has the same beneficial effects as the remote control method of the robot, which will not be elaborated here.

[0119] A third aspect of the present invention provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the remote control method for a robot in any of the above embodiments. Therefore, this storage medium possesses all the beneficial effects of the remote control method for a robot in any of the above embodiments, and will not be elaborated further here.

[0120] Storage media include read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0121] The present invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the remote control method for the robot in any of the above embodiments. Therefore, this electronic device possesses all the beneficial effects of the remote control method for the robot in any of the above embodiments, which will not be elaborated further here.

[0122] In the claims, description, and accompanying drawings of this invention, the term "plural" refers to two or more. Unless otherwise explicitly defined, the terms "upper," "lower," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and simplifying the descriptive process, and are not intended to indicate or imply that the device or element referred to must have the described specific orientation, or be constructed and operated in a specific orientation. Therefore, these descriptions should not be construed as limiting the invention. The terms "connected," "installed," "fixed," etc., should be interpreted broadly. For example, "connected" can be a fixed connection between multiple objects, a detachable connection between multiple objects, or an integral connection; it can be a direct connection between multiple objects or an indirect connection between multiple objects through an intermediate medium. For those skilled in the art, the specific meaning of the above terms in this invention can be understood based on the specific circumstances described above.

[0123] In the claims, description, and accompanying drawings of this invention, the terms "one embodiment," "some embodiments," "specific embodiment," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the invention. In the claims, description, and accompanying drawings of this invention, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0124] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for remotely controlling a robot, characterized in that, include: Receive control request data sent by the web terminal; Parse the control request data to obtain the instruction type parameter and action parameter; The action parameters are verified based on the instruction type parameters and preset control constraints to obtain control verification results; Based on the control verification results and the action parameters, a target control command is generated; The target communication method is determined based on the instruction type parameter; The target control command is sent to the target robot through the target communication method. Obtain the current state data of the target robot during the execution of the target control command; Based on the current state data, determine the historical state data corresponding to the current state data; Based on the historical state data, the current state data is compared to obtain the state change data; Based on the state change data and the current state data, generate state increment data; The incremental status data is pushed to the web terminal, and the historical status data is updated based on the current status data, with the current status data serving as the new historical status data.

2. The remote control method for a robot according to claim 1, characterized in that, The remote control method for the robot also includes: When the page of the web terminal is loaded for the first time, a status snapshot acquisition request sent by the web terminal is received through the first transmission protocol; Based on the state snapshot acquisition request, obtain a complete state snapshot of the target robot; The complete state snapshot is sent to the web terminal via the first transmission protocol, and the complete state snapshot is stored as the historical state data. The incremental status data is pushed to the web terminal via a second transmission protocol.

3. The remote control method for a robot according to claim 1, characterized in that, The step of verifying the action parameters based on the instruction type parameters and preset control constraints to obtain the control verification result includes: Based on the instruction type parameter, obtain the constraint range parameter from the preset control constraints; Based on the instruction type parameter and the action parameter, determine the parameter to be verified corresponding to the constraint range parameter; The parameter to be verified is compared with the constraint range parameter to obtain the parameter verification result; The control verification result is generated based on the parameter verification result and the instruction type parameter; The constraint range parameters include at least one of a first constraint range corresponding to the gimbal angle, a second constraint range corresponding to the gimbal angular velocity, and a third constraint range corresponding to the motion speed.

4. The remote control method for a robot according to claim 1, characterized in that, Determining the target communication method based on the instruction type parameter includes: When the instruction type parameter corresponds to a navigation instruction, the communication method based on the transmission control protocol will be determined as the target communication method. When the instruction type parameter corresponds to a motion instruction or a gimbal instruction, the message communication method based on the robot operating system is determined as the target communication method.

5. The remote control method for a robot according to claim 1, characterized in that, The step of acquiring the current state data during the execution of the target control command by the target robot includes: Establish a message buffer; Obtain the sensor message channel of the target robot and configure the message receiving interface corresponding to the sensor message channel; The latest sensor messages transmitted through the sensor message channel are received via the message receiving interface. Acquire a mutex lock, lock the message buffer using the mutex lock, and obtain the locked buffer; The target storage location is determined from the locked buffer based on the sensor message channel; Write the latest sensor message to the target storage location, update the locked buffer, and obtain the transition buffer; Read the latest sensor message from the transition buffer and extract the current state data; The mutex lock is used to unlock the transition buffer and obtain the updated message buffer.

6. The remote control method for a robot according to claim 1, characterized in that, The step of generating the state increment data based on the state change data and the current state data includes: Parse the current status data to obtain the status field; Based on the state change data, the state fields are filtered to obtain the target state fields; Based on the target state field, extract the current field value corresponding to the target state field from the current state data; The target state field and the current field value are encapsulated to generate the state increment data.

7. The remote control method for a robot according to claim 4, characterized in that, When the instruction type parameter corresponds to the navigation instruction, sending the target control instruction to the target robot via the target communication method includes: According to the preset message encapsulation rules, the target control command is encapsulated into a navigation task message; A communication connection is established with the target robot using the target communication method, and a first connection state is obtained; When the first connection state is disconnected, the communication connection is re-established with the target robot through the target communication method to obtain the second connection state; When the first connection state is connected, the navigation task message is sent to the target robot.

8. The remote control method for a robot according to claim 6, characterized in that, After generating the state increment data based on the state change data and the current state data, the remote control method for the robot further includes: Obtain current control constraint data; Read the target state field and the current field value from the state increment data; Based on the preset state constraint association rules, determine the constraint items to be updated that are associated with the target state field; Based on the current field value and the preset control constraints, generate the allowed action range of the constraint item to be updated; The current control constraint data is updated based on the allowed range of actions.

9. A remote control system for a robot, characterized in that, include: The receiving module is used to receive control request data sent by the web terminal; The parsing module is used to parse the control request data to obtain instruction type parameters and action parameters; The verification module is used to verify the action parameters according to the instruction type parameters and preset control constraints, and obtain the control verification result; The instruction generation module is used to generate target control instructions based on the control verification results and the action parameters; The communication method determination module is used to determine the target communication method based on the instruction type parameter; The sending module is used to send the target control command to the target robot through the target communication method; The status acquisition module is used to acquire the current status data of the target robot during the execution of the target control command; The historical state determination module is used to determine the historical state data corresponding to the current state data based on the current state data. The state comparison module is used to compare the current state data with the historical state data to obtain state change data; An incremental generation module is used to generate incremental state data based on the state change data and the current state data. The push update module is used to push the incremental status data to the web terminal, update the historical status data according to the current status data, and use the current status data as the new historical status data.

10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the remote control method for the robot as described in any one of claims 1 to 8.