Field operation robot and intranet platform data synchronization method and system

By deploying synchronization services and clients between the on-site operation robot and the intranet platform, and using USB and LAN communication, the isolation problem of data synchronization between the robot and the intranet platform is solved, and reliable data transmission and secure synchronization is achieved, reducing costs and improving efficiency.

CN120455475AActive Publication Date: 2025-08-08STATEGRID RUIJIA (TIANJIN) INTELLIGENT ROBOT CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510953782.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2025-08-08
Estimated Expiration
2045-07-11

AI Technical Summary

Technical Problem

The isolation problem between the on-site operation robot and the intranet platform leads to the inability to synchronize data in time through conventional networks, which increases labor costs, reduces operating efficiency, and poses data security risks.

Method used

The intranet platform synchronization service, data synchronization client and data synchronization microservice are adopted, and the data synchronization microservice is used to realize two-way data synchronization between the robot and the intranet platform through USB connection and local area network communication, and data transmission is used to leverage MTP and HTTP protocols, and file integrity is verified through MD5 values.

Benefits of technology

It realizes reliable data transmission and secure synchronization, reduces labor costs, improves operating efficiency and data security, and reduces operational errors. It is suitable for environments without public network access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455475A_ABST
    Figure CN120455475A_ABST
Patent Text Reader

Abstract

The invention discloses a field operation robot and intranet platform data synchronization method and system. The method comprises the steps that an intranet platform synchronization service is deployed on an intranet platform, a data synchronization client side is deployed on a mobile terminal, a data synchronization micro-service is deployed on a field operation robot, and corresponding services are started after deployment is completed; the intranet platform is connected with the mobile terminal through a USB, and the mobile terminal is connected with the field operation robot through a local area network; based on the intranet platform synchronization service, the data synchronization client executes a first data synchronization process between the intranet platform end and the mobile terminal; based on the data synchronization micro-service, the data synchronization client executes a second data synchronization process between the mobile terminal and the field operation robot; and completing data synchronization of the field operation robot and the intranet platform based on the first data synchronization process and the second data synchronization process. The problem that data synchronization cannot be carried out in time through a conventional network due to the isolation problem between the field operation robot and the intranet platform can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of robot data synchronization, and in particular relates to a method and system for synchronizing data between a field operation robot and an intranet platform. Background Art

[0002] Currently, communication between field robots and intranet platforms faces significant isolation issues. Robots are typically located on-site and cannot directly exchange data with the intranet platform over the network. Existing solutions primarily rely on field technicians connecting to the robot network via a PC, importing and exporting robot storage files through the control interface, transferring the files to the intranet computer via a USB drive, and then manually uploading the files to the intranet platform. This presents several drawbacks: Technicians need to possess certain computer skills and be proficient in operating the interface software. This places high demands on on-site personnel and requires specialized training, which not only increases training costs but also labor costs. 2) Technicians are required to screen various stored files, which is time-consuming, prone to errors, and inefficient. 3) Manually exporting data through the interface prevents effective data management and control, posing certain risks to data security. 4) Existing technologies lack effective offline and reverse synchronization mechanisms for data transmission, making it impossible to easily achieve complete data synchronization and management.

[0003] For example, but not limited to, prior art document 1 (CN115239240A) discloses a mobile robot remote monitoring system and method. The edge device connects to the cloud platform via an external network, sending data synchronization requests to the cloud platform. However, this network architecture exposes the cloud platform to the external network, posing security risks and failing to meet network security management requirements.

[0004] For example, prior art document 2 (CN103227774A) discloses a method for synchronizing intranet and extranet data in a power operation site management and control system. The site management external network server must first transmit data to a mobile client via the 3G public network. A synchronization messenger tool is then plugged into the mobile device through an interface. Clicking a button on the mobile device transfers the data from the mobile device to the synchronization messenger tool. Finally, the synchronization messenger tool is plugged into the intranet client through an interface. After a series of operations, the data is synchronized back to the intranet risk management and control system. However, using the 3G public network also exposes data to the external network environment, posing a security risk and failing to meet network security management and control requirements. Summary of the Invention

[0005] In order to address the deficiencies in the prior art, the present invention provides a method and system for synchronizing data between a field operation robot and an intranet platform, which solves the problem that data cannot be synchronized in a timely manner through a conventional network due to the isolation between the field operation robot and the intranet platform, reduces labor costs, and improves operation efficiency and data security.

[0006] The present invention adopts the following technical solutions.

[0007] A first aspect of the present invention provides a method for synchronizing data between a field operation robot and an intranet platform, comprising: Deploy the intranet platform synchronization service on the intranet platform, deploy the data synchronization client on the mobile terminal, and deploy the data synchronization microservice on the field operation robot. After the deployment is complete, start the corresponding services. The intranet platform and mobile terminal are connected via USB, and the mobile terminal and field operation robot are connected via LAN Wi-Fi. Based on the intranet platform synchronization service and the data synchronization client, a first data synchronization process is executed between the intranet platform and the mobile terminal; wherein, the first data synchronization process includes: establishing a USB communication connection between the intranet platform and the mobile terminal, configuring the data synchronization client to be in MTP mode, and after synchronizing data between the intranet platform and the mobile terminal based on the MTP protocol, the intranet platform synchronization service disconnects the USB connection, and the data synchronization client stores the synchronized data; A second data synchronization process is executed between the mobile terminal and the field operation robot based on the data synchronization microservice and the data synchronization client; wherein, in the second data synchronization process, data synchronization is performed between the mobile terminal and the field operation robot based on the HTTP protocol; Based on the first data synchronization process and the second data synchronization process, data synchronization between the on-site operation robot and the intranet platform is completed.

[0008] Optionally, data synchronization between the intranet platform and the mobile terminal based on the MTP protocol includes: The intranet platform synchronization service generates a first local storage file list and sends a USB mode instruction to the data synchronization client; After receiving the USB mode instruction, the data synchronization client generates a second local storage file list and stores the second local storage file list in the first preset storage directory of the mobile terminal; The intranet platform synchronization service queries the first preset storage directory through the drive letter based on the MTP protocol, copies the second local storage file list, and parses, merges and compares the second local storage file list with the first local storage file list to obtain the first differential data and the first incremental data; The intranet platform synchronization service copies the first differential data from the first preset storage directory to the second preset storage directory; and copies the first incremental data to the agreed source data directory under the first preset storage directory, and at the same time copies the first incremental data list to the first preset storage directory.

[0009] Optionally, the intranet platform synchronization service disconnects the USB connection, and the data synchronization client stores the synchronized data, including: The intranet platform synchronization service disconnects the USB connection. After the data synchronization client detects the USB disconnection, it reads and parses the first incremental data list under the first preset storage directory, stores the parsed data in the local database of the mobile terminal, and completes the two-way data synchronization between the intranet platform and the mobile terminal.

[0010] Optionally, establishing a USB communication connection between the intranet platform and the mobile terminal includes: Configure the intranet platform synchronization service as the USB communication host and the data synchronization client as the USB communication slave; When the USB communication host monitors the connection request of the USB communication slave, it parses the connection request and obtains the unique identifier of the device; Verify the legitimacy of the device's unique identifier; After the legitimacy check is passed, a communication connection is established between the intranet platform synchronization service and the data synchronization client.

[0011] Optionally, parsing, merging, and comparing the second locally stored file list with the first locally stored file list to obtain the first differential data and the first incremental data includes: Merging the second locally stored file list with the first locally stored file list to obtain a union; Confirming the difference between the union and the second locally stored file list as first incremental data; The difference between the union and the first locally stored file list is confirmed as first differential data.

[0012] Optionally, executing a second data synchronization process between the mobile terminal and the field operation robot based on the data synchronization microservice and the data synchronization client includes: The data synchronization client sends a data synchronization request to the data synchronization microservice, wherein the data synchronization request includes a unique device identifier corresponding to the mobile terminal; After receiving the data synchronization request, the data synchronization microservice performs a device validity check. After the device validity check passes, it queries the local storage file list, obtains the third local storage file list, and sends the third local storage file list to the data synchronization client; After obtaining the third local storage file list, the data synchronization client packages the local data to generate a second local storage file list, and then merges and compares the second local storage file with the third local storage file list to obtain second incremental data and second differential data; The data synchronization client downloads the second incremental data to the mobile terminal through the HTTP file download interface, updates the local database, and uploads the second differential data to the field operation robot through the HTTP file upload interface, completing the two-way data synchronization between the mobile terminal and the field operation robot.

[0013] Optionally, the method further includes: During the synchronization process, the MD5 value is used to verify the integrity of the file. If the verification fails, the file will be retransmitted, prompted, or the synchronization process will be interrupted.

[0014] A second aspect of the present invention provides a method and system for synchronizing data between a field operation robot and an intranet platform, the system comprising: The deployment module is used to deploy the intranet platform synchronization service on the intranet platform, deploy the data synchronization client on the mobile terminal, and deploy the data synchronization microservice on the field operation robot. After the deployment is completed, the corresponding services are started. The intranet platform and the mobile terminal are connected via USB, and the mobile terminal and the field operation robot are connected via LAN. A first synchronization module is used to execute a first data synchronization process between the intranet platform terminal and the mobile terminal based on the intranet platform synchronization service and the data synchronization client; A second synchronization module is used to execute a second data synchronization process between the mobile terminal and the field operation robot based on the data synchronization microservice and the data synchronization client; The third synchronization module is used to complete data synchronization between the on-site operation robot and the intranet platform based on the first data synchronization process and the second data synchronization process.

[0015] The third aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is loaded into the processor, the method for synchronizing data between the on-site operation robot and the intranet platform is implemented.

[0016] A fourth aspect of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned method for synchronizing data between the on-site operation robot and the intranet platform.

[0017] Compared with the prior art, the beneficial effects of the present invention include at least: The intranet platform of the present invention is deployed in an intranet environment and is completely isolated from the external network. Through LAN communication technology and interface interaction technology, the intranet platform is isolated from the external network, preventing and controlling the risk of data being intercepted and tampered with, strengthening data protection measures, providing reliable service methods, ensuring the security of data stored at each end and the reliability of transmission, further improving network security and preventing malicious attacks.

[0018] The present invention connects to the intranet host via USB, uses the mobile terminal as the data dump medium, automatically enters MTP mode through ADB instructions, connects to the intranet host through the USB interface for data transmission, completes data synchronization, and the intranet platform client automatically completes index file and local storage file version verification through the interface. Through the automated processing flow, manual intervention is significantly reduced, and work efficiency and accuracy are improved.

[0019] The field operation robot in this invention does not need to be exposed to the public network. Instead, it uses local area network communication technology to communicate between the mobile terminal and the robot, eliminating the need for specialized interface devices. Using a USB interface to connect to the intranet platform, it automatically completes two-way data synchronization, offering exceptional security and convenience. Furthermore, it is unaffected by network conditions and bandwidth, thus ensuring the security and timeliness of data transmission. Furthermore, the mobile terminal's interface capabilities eliminate the need for specialized custom equipment, reducing costs while increasing versatility. Common mobile terminal devices can meet field application requirements.

[0020] This invention uses a mobile device at the worksite to communicate with the robot via a local area network, issuing data synchronization commands with a single click. This one-click operation process design makes the system more stable and easier to use. Furthermore, with the addition of automated processes, manual intervention is reduced, operational steps are simplified, and two-way data interaction is achieved from end to end, ensuring data consistency. This reduces the many field application issues caused by version differences and human error, thereby reducing operational errors and improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. Those skilled in the art can also derive other drawings based on these drawings without inventive effort. Among them: Figure 1 This is a schematic diagram of the architecture of a data synchronization system between a field operation robot and an intranet platform provided by an embodiment of the present invention; Figure 2 This is a flow chart of a method for synchronizing data between a field operation robot and an intranet platform provided by an embodiment of the present invention; Figure 3This is a schematic diagram of the data interaction process between an intranet platform terminal and a mobile terminal provided by an embodiment of the present invention; Figure 4 This is a schematic diagram of a data interaction process between a mobile terminal and a field operation robot terminal provided by an embodiment of the present invention; Figure 5 This is a schematic diagram of merging lists to obtain incremental data and differential data provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0023] Figure 1 The embodiment of the present invention provides a field operation robot and intranet platform data synchronization system architecture, such as Figure 1 As shown, the system includes an intranet platform, mobile terminals, and field operation robots. The intranet platform communicates with the mobile terminal via USB, and the mobile terminal communicates with the field operation robot via LAN Wi-Fi. The intranet platform is a robot operation and maintenance platform deployed on the company's intranet. Field operation personnel are equipped with mobile terminals, with each team equipped with one or more. These devices are portable mobile devices such as mobile phones and tablets and must support Wi-Fi and USB communication. The field operation distribution network live operation robot is an intelligent device used for on-site live operation, and its model is RJ1300 or newer.

[0024] It should be noted that "intranet" in this invention is a technical term. According to the definition of "Information Security Technical Terminology" (GB / T25069-2023), it refers to a private network within an organization, which is physically or logically isolated from the external network.

[0025] Combine Figure 2 As shown, Example 1 of the present invention provides a method for synchronizing data between a field robot and an intranet platform. This method uses USB communication technology and local area network communication technology in a field operation environment to achieve bidirectional synchronization of data between the intranet platform and the field operation robot, ensuring one-click complete transmission and management of files such as operation data, robot health reports, and maintenance records. The method includes the following steps: Step 1: Deploy the intranet platform synchronization service, data synchronization client, and data synchronization microservice on the intranet platform, mobile terminals, and field operation robots, and start the corresponding services after deployment. Step 1 specifically includes: Step 1.1: Deploy the intranet platform synchronization service on the intranet platform and start the intranet platform synchronization service after deployment is complete.

[0026] The intranet platform synchronization service provides device legitimacy verification, USB mode instruction issuance, and two-way data synchronization with mobile terminals.

[0027] Specifically, the application service deployed on the company's intranet interacts with the data service client to achieve bidirectional synchronization between data stored on the intranet platform and data stored on mobile devices. Services provided include device legitimacy verification, USB interface monitoring, issuing USB storage mode commands from the client, querying the intranet platform's stored file list, merging lists, uploading differential data, and sending incremental data.

[0028] Differential data refers to the portion of data stored on the mobile terminal that is not included in the data list stored on the intranet platform or robot. It can be understood that differential data is data that exists in the mobile terminal storage but is missing from the platform or robot storage.

[0029] Incremental data refers to the portion of data stored on the intranet platform or robot that is not in the mobile terminal data list. It can be understood that incremental data is data that exists in the platform or robot storage but is missing in the mobile terminal storage.

[0030] A data list refers to a list of locally stored data. File lists use JSON format and include information such as file name, size, file type, download address, version number, and file MD5 value. File types include robot and tool health reports, maintenance fault records, script files, workflow files, offline operation files, and software and hardware version files.

[0031] Step 1.2: Deploy the data synchronization client on the mobile terminal and start the data synchronization client after deployment.

[0032] The data synchronization client is installed on the mobile terminal, which provides end-to-end data synchronization services, namely, from the robot end to the mobile terminal and from the mobile terminal to the robot end.

[0033] The data synchronization client also provides USB communication services. Specifically, after the mobile terminal is inserted into the intranet platform server and receives the intranet synchronization interface command, it automatically changes to MTP (Media Transfer Protocol) mode. In this mode, the mobile terminal is identified as an ordinary storage device, and the computer can directly access the file system in the mobile terminal, allowing files in the device to be browsed, copied, and pasted like using a USB flash drive. Through the above services, the data synchronization client implements file version verification, file size consistency verification, and one-click file transfer. Finally, it completes the import of data from the intranet platform to the mobile terminal through the USB flash drive mode, and then transmits the data to the robot side through the local area network, realizing two-way data synchronization between the intranet platform and the robot side.

[0034] In this embodiment, data is automatically transferred in MTP mode without affecting applications on the mobile terminal. Furthermore, the mobile terminal's internal storage does not need to be mounted. This reduces the risk of data loss and improves security compared to traditional file transfers via USB flash drives. In this embodiment, interaction with the data synchronization microservice enables bidirectional synchronization of data stored on the mobile terminal and the field operation robot. Simultaneously, interaction with the intranet platform synchronization service enables bidirectional synchronization of data stored on the mobile terminal and the intranet platform, further enabling bidirectional synchronization of data between the field operation robot and the intranet platform. This is a core component of this data synchronization method and serves as a key hub.

[0035] The specific functions of the data synchronization client include obtaining the device's unique identifier, setting the device's USB mode, packaging all types of files and generating a list, reading incremental lists to update the database, one-click data synchronization, merging lists, downloading incremental data, and uploading differential data.

[0036] Step 1.3: The field operation robot deploys the data synchronization microservice and starts the data synchronization microservice after deployment.

[0037] Data synchronization microservice: This service is installed on field robots and provides device legitimacy verification, file list acquisition, and file upload and download capabilities. The file list uses JSON format and contains information such as file name, size, type, download address, version number, and file MD5 hash.

[0038] Data synchronization microservice: This microservice is deployed on the field robot's main controller. It interacts with the data synchronization client to achieve bidirectional synchronization between the field robot's stored data and the mobile device's data. The microservice uses the HTTP communication protocol. The mobile device and the field robot communicate via Wi-Fi in a local area network environment, and data upload and download are accomplished through a network interface. The microservice interface specifically includes device legitimacy verification, robot stored file list query, file upload interface, and file download interface.

[0039] In some embodiments, Docker and Nginx are used in combination to complete the deployment of the above services. Specifically, the Nginx image is pulled from the Docker Hub, the Nginx container is started using the Docker command, and the port corresponding to the container is mapped to the corresponding port of the intranet platform. In this way, the Nginx service can be accessed by accessing the corresponding port. The combination of Docker and Nginx can more efficiently complete the deployment of the above services. In some embodiments, the deployment of the above services can also be completed through Spring Boot. The present invention does not limit the service deployment method.

[0040] Step 2: Based on the intranet platform synchronization service and the data synchronization client, a first data synchronization process is executed between the intranet platform end and the mobile end.

[0041] like Figure 3 As shown, step 2 specifically includes: Step 2.1: The mobile terminal is connected to the intranet platform via the USB interface. The mobile terminal is in debugging mode by default and can perform control transmission through the USB protocol.

[0042] Step 2.2: Configure the intranet platform synchronization service as the USB communication host and the data synchronization client as the USB communication slave. After listening to the connection request from the USB slave, obtain the device's unique identifier through device identification, perform a legitimacy check on the device, and determine whether the device identifier is in the platform whitelist. If the verification passes, a communication connection is established; otherwise, no communication connection is established.

[0043] Step 2.3: After the intranet platform synchronization service establishes a USB communication connection with the mobile terminal, it generates a first local storage file list B, named "b.xml" for reference, and sends a USB mode instruction to the mobile terminal through the control protocol.

[0044] Step 2.4: After the mobile terminal receives the USB mode instruction, it generates a second local storage file list A, named "a.xml" for reference, and stores the second local storage file list A in the first preset storage directory of the mobile terminal's internal storage, named "U" for reference. Finally, the USB mode is set to MTP mode.

[0045] In some embodiments, the mobile terminal device is inserted into the intranet platform client through the USB interface, and is automatically set to MTP mode through the ADB command, and data synchronization begins after being set to MTP mode.

[0046] As one of the outstanding substantive features of the present invention, the present invention connects to the intranet host via USB, with the mobile terminal serving as the data dump medium. The present invention automatically enters MTP mode via ADB commands, connects to the intranet host via the USB interface for data transmission, and completes data synchronization. This is unaffected by the network environment and bandwidth, thereby ensuring the security and timeliness of data transmission. Furthermore, the mobile terminal has interface capabilities, eliminating the need for customized special equipment, reducing costs while increasing versatility. Common mobile terminal devices can meet field applications.

[0047] Step 2.5: The intranet platform establishes MTP protocol communication with the mobile terminal. The intranet platform synchronization service finds the first preset storage "U" directory through the drive letter, copies the second local storage file list A, and parses and merges the second local storage file list A and the first local storage file list B to obtain the first differential data and the first incremental data. Figure 5 .

[0048] It's understandable that a drive letter represents a mobile device and uses its storage space. A mobile device set to MTP mode will be recognized as a drive letter, which acts as an external storage device for the intranet platform, allowing the intranet platform to write and read data from it. An MTP-mode device is equivalent to a drive letter on a PC. The intranet platform can use ADB commands to locate the MTP-mode device and write and read data from it.

[0049] Preferably, but not limited to, Figure 5 As shown, parsing, merging, and comparing the second locally stored file list A and the first locally stored file list B include: Merging the second locally stored file list B with the first locally stored file list A to obtain a union; Confirming the difference between the union and the second locally stored file list A as first incremental data; The difference between the union and the first locally stored file list B is confirmed as the first differential data.

[0050] It can be understood that when searching for the second local storage file list A in the first local storage file list B, the data that exists in the first local storage file list B but does not exist in the second local storage file list A is confirmed as the first incremental data; when searching for the first local storage file list B in the second local storage file list A, the data that exists in the first local storage file list B but does not exist in the second local storage file list A is confirmed as the first differential data.

[0051] Step 2.6: Upload the differential data. The intranet platform synchronization service copies the first differential data from the source data directory under the first preset storage directory "U" to the second preset storage directory of the platform.

[0052] During the synchronization process, each file needs to be checked for integrity using an MD5 hash. If a file is tampered with or lost during synchronization, the system will automatically display an error message and abort the synchronization.

[0053] Step 2.7: Send incremental data. The intranet platform synchronization service generates a first incremental data list C based on the first incremental data, named "c.xml" for reference, and copies the first incremental data in the second preset storage directory of the platform to the agreed source data directory under the first preset storage "U" directory, and at the same time copies the first incremental data list C to the first preset storage "U" directory.

[0054] Preferably, but not limited to, during the synchronization process, each file needs to be checked for integrity, and the MD5 value is used to verify the integrity of the file. If a file is tampered with or lost during the synchronization process, the system will automatically prompt an error and interrupt the synchronization.

[0055] Step 2.8: The intranet platform synchronization service disconnects the USB connection. After the mobile terminal detects the USB disconnection, it automatically reads the first incremental data list "c.xml" under the first preset storage "U" directory, stores the data in the local database of the mobile terminal after parsing, and archives the "c.xml" file to complete the two-way data synchronization between the intranet platform and the mobile terminal.

[0056] As one of the outstanding essential features of the present invention, the intranet platform client automatically completes the index file and local storage file version verification through the interface. Through the automated processing flow, manual intervention is significantly reduced, and the operation efficiency and accuracy are improved.

[0057] Step 3: Execute a second data synchronization process between the mobile terminal and the field operation robot based on the data synchronization microservice and the data synchronization client.

[0058] like Figure 4 As shown, step 3 specifically includes: Step 3.1: The mobile terminal connects to the robot network via WIFI to establish a local area network communication environment.

[0059] Step 3.2: The mobile terminal initiates a one-click data synchronization request to the field operation robot through the HTTP interface, and sends the device unique identifier corresponding to the mobile terminal as a request parameter to the robot data synchronization microservice.

[0060] Step 3.3: After receiving the request, the Robot Data Synchronization Microservice performs a device validation check and pre-populates a device whitelist on the Robot. If the validation passes, the service queries the local storage file list, outputs a third local storage file list D, and returns it to the mobile terminal via an HTTP RESPONSE in JSON format. If the validation fails, the service returns a failure and terminates subsequent actions.

[0061] Step 3.4: After receiving the third local storage file list D, the mobile terminal packages the local data to generate the second local storage file list A of the mobile terminal, and then merges and compares the second local storage file A with the third local storage file list D to obtain the second incremental data and the second differential data. The acquisition method is referenced Figure 5 .

[0062] Step 3.5: Download the second incremental data. The mobile terminal downloads the second incremental data source data to the mobile terminal through the HTTP file download interface and updates the database. Each time a file is downloaded, the integrity and consistency will be checked through the file MD5 value. Files that fail the check will be downloaded again.

[0063] Step 3.6: Upload the second differential data. The mobile terminal uploads the second differential data to the robot through the HTTP file upload interface. After each file is uploaded, the interface will return the MD5 of the uploaded file. By comparing it with the locally stored MD5, the integrity and consistency of the file are verified. If the verification fails, it will be uploaded again.

[0064] Step 3.7: After all download and upload verification results are passed, the two-way data synchronization between the mobile terminal and the field operation robot is completed.

[0065] Step 4: Complete data synchronization between the on-site robot and the intranet platform based on the first and second data synchronization processes. Step 4 specifically includes: Step 4.1: First perform the operations related to the first data synchronization process in step 2, and then perform the operations related to the second data synchronization process in step 3 to complete the data synchronization from the intranet platform to the current operation robot; Step 4.2: First perform the relevant operations of the second data synchronization process in step 3, and then perform the relevant operations of the first data synchronization process in step 2 to complete the data synchronization from the field operation robot to the intranet platform.

[0066] As one of the outstanding substantial features of the present invention, the robot and the intranet platform are connected by a mobile terminal as an intermediate device in data synchronization, which is not restricted by the site and can more conveniently realize data synchronization in different scenarios. Data transmission is carried out through the local area network and USB, which not only improves the stability of data transmission, but also improves the flexibility of data synchronization. It is particularly suitable for environments without public network access or data transmission environments that require high security.

[0067] Embodiment 2 of the present invention provides a method and system for synchronizing data between an on-site robot and an intranet platform. The method for synchronizing data between an on-site robot and an intranet platform as described in embodiment 1 is executed. The system includes: The deployment module is used to deploy the intranet platform synchronization service on the intranet platform, deploy the data synchronization client on the mobile terminal, and deploy the data synchronization microservice on the field operation robot. After the deployment is completed, the corresponding services are started. The intranet platform and the mobile terminal are connected via USB, and the mobile terminal and the field operation robot are connected via LAN. A first synchronization module is used to execute a first data synchronization process between the intranet platform terminal and the mobile terminal based on the intranet platform synchronization service and the data synchronization client; A second synchronization module is used to execute a second data synchronization process between the mobile terminal and the field operation robot based on the data synchronization microservice and the data synchronization client; The third synchronization module is used to complete data synchronization between the on-site robot and the intranet platform based on the first data synchronization process and the second data synchronization process.

[0068] Regarding the system in the above embodiment, the specific manner in which each unit performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0069] Embodiment 3 of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is loaded into the processor, the method for synchronizing data between the on-site robot and the intranet platform described in embodiment 1 is implemented.

[0070] Embodiment 4 of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method for synchronizing data between the on-site robot and the intranet platform according to embodiment 1.

[0071] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0072] The present disclosure may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0073] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punched card or raised structure in a groove on which instructions are stored, and any suitable combination thereof. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse passing through a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0074] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.

[0075] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, the state information of the computer-readable program instructions is used to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), so that the electronic circuit can execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.

[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the scope of protection of the claims of the present invention.

Claims

1. A method for synchronizing data between a field operation robot and an intranet platform, characterized in that: The following steps are involved: Deploy the intranet platform synchronization service on the intranet platform, deploy the data synchronization client on the mobile terminal, and deploy the data synchronization microservice on the field operation robot. After the deployment is complete, start the corresponding services. The intranet platform and mobile terminal are connected via USB, and the mobile terminal and field operation robot are connected via LAN Wi-Fi. A first data synchronization process is executed between the intranet platform and the mobile terminal based on the intranet platform synchronization service and the data synchronization client, wherein the first data synchronization process includes: establishing a USB communication connection between the intranet platform and the mobile terminal, configuring the data synchronization client to an MTP mode, and after synchronizing data between the intranet platform and the mobile terminal based on the MTP protocol, the intranet platform synchronization service disconnects the USB connection, and the data synchronization client stores the synchronized data; A second data synchronization process is executed between the mobile terminal and the field operation robot based on the data synchronization microservice and the data synchronization client, wherein in the second data synchronization process, data synchronization is performed between the mobile terminal and the field operation robot based on the HTTP protocol; Based on the first data synchronization process and the second data synchronization process, data synchronization between the on-site operation robot and the intranet platform is completed.

2. The method for synchronizing data between a field operation robot and an intranet platform according to claim 1, characterized in that: The data synchronization between the intranet platform and the mobile terminal based on the MTP protocol includes: The intranet platform synchronization service generates a first local storage file list and sends a USB mode instruction to the data synchronization client; After receiving the USB mode instruction, the data synchronization client generates a second local storage file list and stores the second local storage file list in the first preset storage directory of the mobile terminal; The intranet platform synchronization service queries the first preset storage directory through the drive letter based on the MTP protocol, copies the second local storage file list, and parses, merges and compares the second local storage file list with the first local storage file list to obtain the first differential data and the first incremental data; The intranet platform synchronization service copies the first differential data from the first preset storage directory to the second preset storage directory; and copies the first incremental data to the agreed source data directory under the first preset storage directory, and at the same time copies the first incremental data list to the first preset storage directory.

3. The method for synchronizing data between a field operation robot and an intranet platform according to claim 2, characterized in that: The data after the intranet platform synchronization service disconnects the USB connection and the data synchronization client stores the synchronized data includes: The intranet platform synchronization service disconnects the USB connection. After the data synchronization client detects the USB disconnection, it reads and parses the first incremental data list under the first preset storage directory, stores the parsed data in the local database of the mobile terminal, and completes the two-way data synchronization between the intranet platform and the mobile terminal.

4. The method for synchronizing data between a field operation robot and an intranet platform according to claim 1, characterized in that: The establishment of a USB communication connection between the intranet platform and the mobile terminal includes: Configure the intranet platform synchronization service as the USB communication host and the data synchronization client as the USB communication slave; When the USB communication host monitors the connection request of the USB communication slave, it parses the connection request and obtains the unique identifier of the device; Verify the legitimacy of the device's unique identifier; After the legitimacy check is passed, a communication connection is established between the intranet platform synchronization service and the data synchronization client.

5. The method for synchronizing data between a field operation robot and an intranet platform according to claim 2, characterized in that: Parsing, merging, and comparing the second locally stored file list and the first locally stored file list to obtain first differential data and first incremental data includes: Merging the second locally stored file list with the first locally stored file list to obtain a union; Confirming the difference between the union and the second locally stored file list as first incremental data; The difference between the union and the first locally stored file list is confirmed as first differential data.

6. The method for synchronizing data between a field operation robot and an intranet platform according to claim 1, characterized in that: The second data synchronization process based on the data synchronization microservice and the data synchronization client between the mobile terminal and the field operation robot includes: The data synchronization client sends a data synchronization request to the data synchronization microservice, wherein the data synchronization request includes a unique device identifier corresponding to the mobile terminal; After receiving the data synchronization request, the data synchronization microservice performs a device validity check. After the device validity check passes, it queries the local storage file list, obtains the third local storage file list, and sends the third local storage file list to the data synchronization client; After obtaining the third local storage file list, the data synchronization client packages the local data to generate a second local storage file list, and then merges and compares the second local storage file with the third local storage file list to obtain second incremental data and second differential data; The data synchronization client downloads the second incremental data to the mobile terminal through the HTTP file download interface, updates the local database, and uploads the second differential data to the field operation robot through the HTTP file upload interface to complete the two-way data synchronization between the mobile terminal and the field operation robot.

7. The method for synchronizing data between a field operation robot and an intranet platform according to any one of claims 1 to 6, characterized in that: The method further comprises: During the synchronization process, the MD5 value is used to verify the integrity of the file. If the verification fails, the file will be retransmitted, prompted, or the synchronization process will be interrupted.

8. A method and system for synchronizing data between a field operation robot and an intranet platform, characterized in that: The system comprises: The deployment module is used to deploy the intranet platform synchronization service on the intranet platform, deploy the data synchronization client on the mobile terminal, and deploy the data synchronization microservice on the field operation robot. After the deployment is completed, the corresponding services are started. The intranet platform and the mobile terminal are connected via USB, and the mobile terminal and the field operation robot are connected via LAN. A first synchronization module is used to execute a first data synchronization process between the intranet platform terminal and the mobile terminal based on the intranet platform synchronization service and the data synchronization client; A second synchronization module is used to execute a second data synchronization process between the mobile terminal and the field operation robot based on the data synchronization microservice and the data synchronization client; The third synchronization module is used to complete data synchronization between the on-site operation robot and the intranet platform based on the first data synchronization process and the second data synchronization process.

9. An electronic device comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the method for synchronizing data between a field operation robot and an intranet platform according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for synchronizing data between a field operation robot and an intranet platform as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Mobile robot remote monitoring system and method

    CN115239240A

  • Internal and external network data synchronization method for electric power working site management and control system

    CN103227774A

  • Intelligent terminal comprehensive test robot

    CN103853095A

  • Data synchronization method based on MTP between terminals and terminals

    CN105205100A

  • Asset inventory information synchronization method and system

    CN115879493A