CN114244863A - Data packet processing method and server - Google Patents
Data packet processing method and server Download PDFInfo
- Publication number
- CN114244863A CN114244863A CN202111374674.4A CN202111374674A CN114244863A CN 114244863 A CN114244863 A CN 114244863A CN 202111374674 A CN202111374674 A CN 202111374674A CN 114244863 A CN114244863 A CN 114244863A
- Authority
- CN
- China
- Prior art keywords
- data packet
- robot
- packet
- characteristic information
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 32
- 238000012800 visualization Methods 0.000 claims abstract description 15
- 238000004458 analytical method Methods 0.000 claims abstract description 10
- 238000000034 method Methods 0.000 claims description 17
- 238000011084 recovery Methods 0.000 abstract description 2
- 230000000875 corresponding effect Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a data packet processing method and a server, wherein the data packet processing method comprises the following steps: receiving a data packet and characteristic information sent by a robot; storing the data packet and the characteristic information in an associated manner; when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information; and sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet. The invention aims to improve the data packet recovery efficiency and the operation analysis efficiency of the robot.
Description
Technical Field
The invention relates to the technical field of intelligent machines, in particular to a data packet processing method and a server.
Background
With the development of artificial intelligence technology, robots are more and more common in life, and in the running process of a service robot, the service robot can not work continuously in certain scenes.
In some robots, when the robot breaks down, a worker is required to go to the site to check the robot fault, so that the robot operation analysis efficiency is poor.
Disclosure of Invention
The invention mainly aims to provide a data packet processing method and a server, and aims to improve the running analysis efficiency of a robot.
In order to achieve the above object, the present invention provides a data packet processing method applied to a server, the data packet processing method including the steps of:
receiving a data packet and characteristic information sent by a robot;
storing the data packet and the characteristic information in an associated manner;
when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information;
and sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet.
Optionally, the step of determining the target data packet according to the data request information and the feature information includes:
determining a fault type corresponding to the data request information, and determining the target data packet according to the fault type and the characteristic information; or
Determining a robot identifier associated with the data request information, and determining the target data packet according to the robot identifier and the characteristic information; or
And determining a robot area code associated with the data request information, and determining the target data packet according to the robot area code and the characteristic information.
Optionally, the characteristic information comprises one or more of a robot identification, an area code and a fault type.
Optionally, before the step of associating and storing the data packet and the feature information, the method further includes:
analyzing the data packet, and determining a fault type corresponding to the data packet based on an analysis result;
the step of storing the data packet and the characteristic information in association comprises:
and storing the data packet, the characteristic information and the fault type in an associated manner.
Optionally, the step of receiving the data packet and the feature information sent by the robot includes:
receiving a data packet and the feature information which are sent by a robot and generated in a preset time period, wherein the robot comprises a timer, the interval time from the initial time to the termination time of the timer is the preset time period, the robot acquires topic data and the feature information from the initial time period to the termination time, and generates the data packet according to the topic data;
and determining the fault type of the robot according to the data packet, and correspondingly storing the data packet and the characteristic information according to the fault type.
Optionally, when the robot detects a machine fault within the preset time period, sending the data packet and the feature information generated in the current preset time period to a server, so that the server receives the data packet and the feature information; and when the robot does not detect the machine fault in the preset time period, deleting the data packet by the robot, and resetting the initial time of the timer.
Optionally, the topic data comprises a track data file and a map file.
Optionally, after the step of receiving the data packet and the feature information sent by the robot, the method further includes:
and sending feedback information to the robot, wherein the robot receives the feedback information, confirms whether the data packet is sent successfully or not according to the feedback information, and deletes the data packet stored by the robot when confirming that the data packet is sent successfully.
In addition, to achieve the above object, the present invention also provides a server, including:
the receiving module is used for receiving the data packet and the characteristic information sent by the robot;
the storage module is used for storing the data packet and the characteristic information in an associated manner;
the determining module is used for determining a target data packet according to the data request information and the characteristic information when receiving the data request information sent by the client;
and the sending module is used for sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet.
In addition, to achieve the above object, the present invention further provides a server, which includes a memory, a processor, and a packet recycling program stored in the memory and executable on the processor, wherein the packet recycling program, when executed by the processor, implements the steps of the packet processing method as described above.
The embodiment of the invention provides a data packet processing method and a server, which are characterized in that a data packet and characteristic information sent by a robot are received; storing the data packet and the characteristic information in an associated manner; when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information; and sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet. Therefore, the server receives and stores the data packet and the characteristic information sent by the robot in a correlated manner, determines the target data packet through the request information of the client and the characteristic information sent by the robot, and calls the visualization tool of the client to play the topic data in the target data packet, so that the effect of directly checking the data packet of the fault robot through the client and automatically playing the topic data in the target data packet is achieved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a packet processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a packet processing method according to another embodiment of the present invention;
fig. 4 is a schematic diagram of a server architecture according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the running process of the service robot, some scenes exist to cause the robot to be incapable of working normally, and errors are reported. When a service robot has a problem, technicians need to extract data files from the robot and then check the data files through related software, so that the efficiency of running analysis of the robot is low.
In a system used by a service robot, a data packet file is generated by collecting data output by some specified topics, and the data packet file is packaged and compressed and stored on the machine. When the service robot has problems, technicians extract compressed data packet files from the robot, decompress the files, play the data packet contents through related software, display the motion trail and radar data of the robot and analyze the problems.
In order to improve the efficiency of running analysis on a robot, an embodiment of the present invention provides a data packet processing method and a server, where the data packet processing method mainly includes:
receiving a data packet and characteristic information sent by a robot;
storing the data packet and the characteristic information in an associated manner;
when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information;
and sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet.
The server receives and stores the data packet and the characteristic information sent by the robot in a correlated manner, determines a target data packet through the request information of the client and the characteristic information sent by the robot, and calls a visualization tool of the client to play topic data in the target data packet, so that the effect of directly checking the data packet of the fault robot through the client and automatically playing the topic data in the target data packet is achieved, and therefore the efficiency of running and analyzing the robot can be improved based on the scheme provided by the embodiment.
The following detailed description of the claimed invention refers to the accompanying drawings.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a server.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include therein an operating system and a packet recycling program.
In the terminal shown in fig. 1, the processor 1001 may be configured to call the packet recycling program stored in the memory 1003, and perform the following operations:
receiving a data packet and characteristic information sent by a robot;
storing the data packet and the characteristic information in an associated manner;
when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information;
and sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet.
Further, the processor 1001 may call the packet reclamation stored in the memory 1003, and further perform the following operations:
determining a fault type corresponding to the data request information, and determining the target data packet according to the fault type and the characteristic information; or
Determining a robot identifier associated with the data request information, and determining the target data packet according to the robot identifier and the characteristic information; or
And determining a robot area code associated with the data request information, and determining the target data packet according to the robot area code and the characteristic information.
Further, the processor 1001 may call the packet recycling program stored in the memory 1003, and further perform the following operations:
analyzing the data packet, and determining a fault type corresponding to the data packet based on an analysis result;
the step of storing the data packet and the characteristic information in association comprises:
and storing the data packet, the characteristic information and the fault type in an associated manner.
Alternatively, the processor 1001 may call the packet recycling program stored in the memory 1003, and further perform the following operations:
receiving a data packet and the feature information which are sent by a robot and generated in a preset time period, wherein the robot comprises a timer, the interval time from the initial time to the termination time of the timer is the preset time period, the robot acquires topic data and the feature information from the initial time period to the termination time, and generates the data packet according to the topic data;
and determining the fault type of the robot according to the data packet, and correspondingly storing the data packet and the characteristic information according to the fault type.
Further, the processor 1001 may call the packet recycling program stored in the memory 1003, and further perform the following operations:
when the robot detects a machine fault in the preset time period, the data packet and the characteristic information generated in the current preset time period are sent to a server, so that the server receives the data packet and the characteristic information; and when the robot does not detect the machine fault in the preset time period, deleting the data packet by the robot, and resetting the initial time of the timer.
Further, the processor 1001 may call the packet recycling program stored in the memory 1003, and further perform the following operations:
and sending feedback information to the robot, wherein the robot receives the feedback information, confirms whether the data packet is sent successfully or not according to the feedback information, and deletes the data packet stored by the robot when confirming that the data packet is sent successfully.
With the development of artificial intelligence technology, robots are more and more common in life, and in the operation process of a service robot, certain scenes can cause that the robot cannot continue to work and report errors.
In a system used by a service robot, a data packet file is generated by collecting data output by some specified topics, and the data packet file is packaged and compressed and stored on the machine. When the service robot has problems, technicians extract compressed data packet files from the robot, decompress the files, play the data packet contents through related software, display the motion trail and radar data of the robot and analyze the problems. However, the data packet is located on the robot body, and technicians need to retrieve the data packet to the position where the robot is located, so that not only is human resources wasted, but also a lot of time is consumed, the process of checking the data packet through operating relevant software is complex and tedious, the functions of the relevant software are multiple and are not easy to master, a lot of time is consumed, and the efficiency of running and analyzing the robot by the technicians is too low.
It can be seen that the above-described drawbacks exist in the packet processing method. In order to solve the above-mentioned drawbacks, embodiments of the present invention provide a data packet processing method applied to a server, which aims to achieve the effect of automatically retrieving and checking a data packet of a robot, and aims to improve the efficiency of analyzing the operation of the robot.
Hereinafter, the contents of the claims of the present invention are explained by specific exemplary embodiments so that those skilled in the art can better understand the scope of the claims of the present invention. It is to be understood that the following exemplary embodiments are not intended to limit the scope of the present invention, but are merely illustrative of the present invention.
Exemplarily, referring to fig. 2, in an embodiment of the packet processing method of the present invention, the packet processing method includes the following steps:
s10, data packets and characteristic information sent by the receiver robot;
in this embodiment, the main body of the data packet processing method is a server, the server may be a cloud data storage system, and can establish a communication connection with the robot, the robot is configured with an address and a port of the server, and the communication connection between the server and the robot is realized through the address and the port of the server. When the robot sends a data packet and feature information, the data packet and the feature information are received, the data packet is some collected specified topics output topic data when the robot works and runs, such as radar data, depth camera data, IMU data (Inertial measurement unit), a data file is generated according to the topic data, the data file is packaged and compressed to generate a data packet file, the topic data in the data packet may include running data, running tracks, radar data, and the like, the feature information may include an identifier of the robot, an area code, a fault type, and/or a fault occurrence time, wherein the identifier of the robot may be an SN code (Serial Number product Serial Number) of the robot, and the fault type may occur in the feature information sent by the robot.
Optionally, in an ROS system used by the robot, a trajectory data file is generated by collecting topic data of each module during the operation of the robot, mainly including data of the external environment sensed by the robot sensor and the real-time position, and the trajectory data file and a robot map file are packed and compressed, where the topic data may be the trajectory data file and the map file, and may be stored on the robot in the form of a data file package with the suffix name of bag, and the data package may be a data file package with the suffix name of bag.
Optionally, after the server receives the data packet and the characteristic information, if it is confirmed that the fault type of the robot is included in the characteristic information, the server does not need to identify the type of the failure of the robot, directly performs the step of S20 (storing the data packet and the characteristic information in association), if the fault type of the robot is not included in the confirmation characteristic information, the server needs to identify and confirm the fault type of the robot, alternatively, the server performs a parsing on the data packet, identifies topic data in the data packet, confirms the corresponding fault type of the data packet based on the parsing result, and then performs the step of S20 (storing the data packet and the feature information in association), and the step of storing the data packet and the characteristic information in an associated manner comprises storing the data packet sent by the robot, the characteristic information sent by the robot and the fault type identified and confirmed by the server in an associated manner.
Optionally, feedback information is sent to the robot, wherein the robot receives the feedback information, determines whether the data packet is successfully sent according to the feedback information, and deletes the data packet stored by the robot when the data packet is successfully sent.
The server detects whether the transmitted data packet and the characteristic information are correct after receiving the data packet and the characteristic information transmitted by the robot, for example, whether topic data exists in the data packet, whether a robot identifier in the characteristic information is consistent with a preset robot identifier, whether an area code is consistent with a preset area code, and the like.
S20, storing the data packet and the characteristic information in an associated manner;
in this embodiment, a database storing related information is provided in the server, and the related information is stored in association according to a robot identifier, a robot area code, a robot fault type, and a classification of a data packet, where the robot identifier may include a robot serial number SN code, the robot area code may be a serial number of a robot working area, and the robot fault type may be a fault name, including a sensor fault, a positioning device fault, a chassis fault, and the like, and the information data is stored in the database in association after being formatted, so that it is convenient for calling and checking.
S30, when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information;
in this embodiment, a server address and a port are configured on the client, a communication connection can be established between the server and the port and the server, the user can input data request information related to the robot through the client, the client sends the data request information to the server, and the server can determine a data packet that the user needs to view according to the related information and the feature information in the request information.
Optionally, the data request information may include a fault type, a robot identifier, and/or a robot area code, so the step of determining the target data packet according to the data request information and the characteristic information includes: determining a fault type corresponding to the data request information, and determining the target data packet according to the fault type and the characteristic information; or determining a robot identifier associated with the data request information, and determining the target data packet according to the robot identifier and the characteristic information; or determining a robot area code associated with the data request information, and determining the target data packet according to the robot area code and the characteristic information. Thus, the target data packet required by the user can be determined through the relevant information in the data request information.
S40, sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet.
In this embodiment, after the server confirms the target data packet, the server sends the target data packet to the client that correspondingly sends the data request information, the client has the functions of query, download, decompression, deletion, playing and the like, the client is connected to the server by inputting the address, the port, the user name and the password of the server, and after the client is connected to the server, the robot identifier, the area code, the fault type and/or the fault occurrence time can be input, so as to screen out the required track data packet. After receiving the target data packet, the client calls an interface for realizing a data packet visualization tool RVIZ (three-dimensional visual platform), directly calls a related visualization tool to perform one-key decompression and play on the data, automatically pops up an RVIZ page to view topic data in the data packet of the robot, and displays the motion trail of the robot and the environmental information around the robot. The playing process can be paused, continued and ended, the playing speed can be adjusted, and after the playing is ended, the RVIZ page is automatically closed, and the next data packet can be selected for playing.
Optionally, the client may also view feature information related to the target data packet based on the communication connection, including a robot identification, a robot area code, a robot fault type, and a robot fault time.
In the technical scheme disclosed in the embodiment, a data packet and characteristic information sent by a robot are received, and feedback information is sent to the robot; storing the data packet and the characteristic information in an associated manner; when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information; and sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet. The robot can send data package and characteristic information to the server when sending the trouble, the server is preserved the data package correspondingly, when receiving the data request information of customer end, the server can be according to the data package that looks for user's needs that the data request information corresponds, does not need technical staff to retrieve the data package and look over to the robot position like this, has saved the recovery time of data package, directly can find the data package that needs through the server to the customer end can directly call visual instrument broadcast the target data package, has avoided operating visual instrument, thereby has realized improving the efficiency to robot running analysis.
Optionally, referring to fig. 3, based on any one of the above embodiments, in another embodiment of the data packet processing method of the present invention, the data packet processing method includes:
s11, receiving a data packet and the feature information generated in a preset time interval sent by a robot, wherein the robot comprises a timer, the interval time from the initial time to the termination time of the timer is the preset time interval, the robot acquires topic data and the feature information from the initial time to the termination time, and generates the data packet according to the topic data;
s12, sending a data packet generated by the current pre-segment of the robot and the characteristic information to a server, determining the fault type of the robot according to the data packet, and correspondingly storing the data packet and the characteristic information according to the fault type.
In this embodiment, the execution subject may be a server, the server receives a data packet and the feature information, which are generated in a preset time period and sent by the robot, optionally, after the robot generates the data packet according to topic data, the data packet and the feature information related to the robot are uploaded to the server through a 4G or 5G module, the feature information may include an identifier, an area code, a fault type and/or fault occurrence time of the robot, and if the feature information does not include the fault type of the robot, the server needs to determine the fault type of the robot according to the data packet.
Robots are typically equipped with a variety of sensors such as radar, ultrasound, depth cameras, IMU, and the like. The robot senses the external environment of the robot through the sensors, detects the motion state of the robot, makes decisions according to the sensor data by a navigation algorithm, selects the optimal route and the optimal driving speed, automatically avoids obstacles, and completes the task of taking a lead or delivering food without human intervention. The robot is internally provided with a timer, the interval time from the initial time to the termination time is a preset time period, the robot collects some specified topic output topic data within the set initial time to the termination time, produces a data file, compresses and packs the data file to generate a data packet, stores the data packet in a storage medium of the robot, can acquire motion data, motion tracks, radar data and the like of the robot by checking the data packet, and also stores characteristic information of the robot in the storage medium of the robot, wherein the characteristic information can comprise an identifier, an area code, a fault type and/or fault occurrence time of the robot, when the robot sends a fault, if the robot can analyze the topic data according to the data packet and determine the fault type of the robot, the characteristic information comprises the fault type of the robot, specifically, the robot can analyze the data packet, identifying topic data in the data packet, confirming a fault type corresponding to the data packet based on an analysis result, and if the robot cannot analyze the topic data according to the data packet and determine the fault type of the robot, not including the fault type of the robot in the characteristic information, requiring the server to analyze the data packet and determine the fault type.
The robot is provided with a timer, a fixed preset time period is set from initial time to end time of the timer, a data packet is generated in the current preset time period, if the robot does not detect a fault after the end time from the initial time to the end time, the robot resets the initial time, the end time of the current time period is used as the initial time of a new time period, the data packet generated in the current time period is deleted, and topic data of the new time period are acquired again to generate the data packet. If the robot detects a fault before the termination time from the period, the step of sending the data packet generated by the current pre-segment of the robot to the server is executed, so that the hard disk space of the robot can be saved.
Optionally, when a machine fault is detected within the preset time period, the robot performs the step of sending the data packet generated by the current preset segment of the robot to the server; when no machine failure is detected within the preset time period, deleting the data packet and resetting the initial time of the timer.
Optionally, acquiring an actual moving path of the robot; and when the actual moving path of the robot is not matched with a preset moving path or when the staying time of the robot at the same position exceeds preset time, confirming that the robot is abnormal.
Optionally, after the robot sends the data packet generated by the current pre-segment of the robot and the feature information to the server, if receiving feedback information sent by the server; confirming whether the data packet is successfully sent according to the feedback information; and deleting the data packet stored by the robot when the data packet is confirmed to be successfully sent.
If the received feedback information is that the sent data is correct, the data packet is determined to be successfully sent, the robot deletes the stored data packet to save the hard disk space, if the received feedback information has errors and information of error reasons, the topic data file is recompressed according to the error reasons, a new data packet is sent to the server again, and the received feedback information is correct.
Optionally, in an ROS system used by the robot, a trajectory data file is generated by collecting topic data of each module during the operation of the robot, mainly including data of the external environment sensed by the robot sensor and the real-time position, and the trajectory data file and a robot map file are packed and compressed, where the topic data may be the trajectory data file and the map file, and may be stored on the robot in the form of a data file package with the suffix name of bag, and the data package may be a data file package with the suffix name of bag.
Optionally, the server performs a parsing on the data packet, identifies topic data in the data packet, confirms a fault type corresponding to the data packet based on the parsing result, and then performs S20 (stores the data packet and the feature information in association).
In the technical scheme disclosed in this embodiment, the server receives a data packet and feature information generated in a preset time period and sent by the robot, the data packet and the feature information are topic data and feature information of the robot from the initial time period to the end time, the data packet is generated according to the topic data, and then the data packet and the feature information generated in the current preset time period of the robot are sent to the server.
Furthermore, an embodiment of the present invention further provides a server, and exemplarily, referring to fig. 4, the server 100 includes:
the robot comprises a receiving module 101, a storing module 102, a determining module 103 and a sending module 104, wherein the receiving module 101 is used for receiving a data packet and characteristic information sent by the robot; a storage module 102, configured to store the data packet and the feature information in an associated manner; a determining module 103, configured to determine, when receiving data request information sent by a client, a target data packet according to the data request information and the feature information; a sending module 104, configured to send the target data packet to the client, where the client calls a visualization tool to play the target data packet when receiving the target data packet.
In addition, an embodiment of the present invention further provides a server, where the server includes a memory, a processor, and a packet recycling program that is stored in the memory and is executable on the processor, and when the packet recycling program is executed by the processor, the steps of the packet processing method according to the above embodiments are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for causing a server to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A data packet processing method is applied to a server, and the data packet processing method comprises the following steps:
receiving a data packet and characteristic information sent by a robot;
storing the data packet and the characteristic information in an associated manner;
when receiving data request information sent by a client, determining a target data packet according to the data request information and the characteristic information;
and sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet.
2. The packet processing method according to claim 1, wherein the step of determining the destination packet based on the data request information and the characteristic information comprises:
determining a fault type corresponding to the data request information, and determining the target data packet according to the fault type and the characteristic information; or
Determining a robot identifier associated with the data request information, and determining the target data packet according to the robot identifier and the characteristic information; or
And determining a robot area code associated with the data request information, and determining the target data packet according to the robot area code and the characteristic information.
3. The packet processing method according to claim 1, wherein the characteristic information includes one or more of a robot identification, an area code, and a fault type.
4. The packet processing method according to claim 1, wherein said step of associating and storing said packet and said characteristic information is preceded by the step of:
analyzing the data packet, and determining a fault type corresponding to the data packet based on an analysis result;
the step of storing the data packet and the characteristic information in association comprises:
and storing the data packet, the characteristic information and the fault type in an associated manner.
5. The packet processing method according to claim 1, wherein the step of receiving the packet and the characteristic information transmitted by the robot comprises:
receiving a data packet and the feature information which are sent by a robot and generated in a preset time period, wherein the robot comprises a timer, the interval time from the initial time to the termination time of the timer is the preset time period, the robot acquires topic data and the feature information from the initial time period to the termination time, and generates the data packet according to the topic data;
and determining the fault type of the robot according to the data packet, and correspondingly storing the data packet and the characteristic information according to the fault type.
6. The packet processing method as claimed in claim 5, wherein the topic data includes a track data file and a map file.
7. The packet processing method according to claim 5, wherein when the robot detects a machine failure within the preset time period, the packet and the feature information generated at the current preset time period are sent to the server so that the server receives the packet and the feature information; and when the robot does not detect the machine fault in the preset time period, deleting the data packet by the robot, and resetting the initial time of the timer.
8. The packet processing method according to claim 1, wherein after the step of receiving the packet and the characteristic information transmitted by the robot, the method further comprises:
and sending feedback information to the robot, wherein the robot receives the feedback information, confirms whether the data packet is sent successfully or not according to the feedback information, and deletes the data packet stored by the robot when confirming that the data packet is sent successfully.
9. A server, characterized in that the server comprises:
the receiving module is used for receiving the data packet and the characteristic information sent by the robot;
the storage module is used for storing the data packet and the characteristic information in an associated manner;
the determining module is used for determining a target data packet according to the data request information and the characteristic information when receiving the data request information sent by the client;
and the sending module is used for sending the target data packet to the client, wherein the client calls a visualization tool to play the target data packet when receiving the target data packet.
10. A server, characterized in that the server comprises: memory, a processor and a packet reclamation program stored on the memory and executable on the processor, the packet reclamation program, when executed by the processor, implementing the steps of the packet processing method as claimed in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111374674.4A CN114244863B (en) | 2021-11-19 | 2021-11-19 | Data packet processing method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111374674.4A CN114244863B (en) | 2021-11-19 | 2021-11-19 | Data packet processing method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114244863A true CN114244863A (en) | 2022-03-25 |
CN114244863B CN114244863B (en) | 2024-08-13 |
Family
ID=80750122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111374674.4A Active CN114244863B (en) | 2021-11-19 | 2021-11-19 | Data packet processing method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114244863B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11288408A (en) * | 1998-02-05 | 1999-10-19 | Hitachi Ltd | Distributed processing system and method for preserving fault analysis information |
KR20110111863A (en) * | 2010-04-06 | 2011-10-12 | 국방과학연구소 | Web robot detection system and method |
WO2017092268A1 (en) * | 2015-12-02 | 2017-06-08 | 深圳Tcl数字技术有限公司 | Terminal failure processing method, device and system |
CN110733038A (en) * | 2019-09-30 | 2020-01-31 | 浙江工业大学 | Industrial robot remote monitoring and data processing system |
CN111222034A (en) * | 2019-12-31 | 2020-06-02 | 湖南华菱涟源钢铁有限公司 | Data mobile display method and device and cloud server |
WO2020151468A1 (en) * | 2019-01-22 | 2020-07-30 | 岳秀兰 | Vehicle remote driving system established by primary and secondary wireless devices by means of internet of things connection |
CN111866141A (en) * | 2020-07-21 | 2020-10-30 | 珠海格力电器股份有限公司 | Robot monitoring method, system, device, storage medium and processor |
CN112068563A (en) * | 2020-09-07 | 2020-12-11 | 上海擎朗智能科技有限公司 | Fault prompting method, device, robot, system and medium |
CN112954013A (en) * | 2021-01-27 | 2021-06-11 | 政采云有限公司 | Network file information acquisition method, device, equipment and storage medium |
-
2021
- 2021-11-19 CN CN202111374674.4A patent/CN114244863B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11288408A (en) * | 1998-02-05 | 1999-10-19 | Hitachi Ltd | Distributed processing system and method for preserving fault analysis information |
KR20110111863A (en) * | 2010-04-06 | 2011-10-12 | 국방과학연구소 | Web robot detection system and method |
WO2017092268A1 (en) * | 2015-12-02 | 2017-06-08 | 深圳Tcl数字技术有限公司 | Terminal failure processing method, device and system |
WO2020151468A1 (en) * | 2019-01-22 | 2020-07-30 | 岳秀兰 | Vehicle remote driving system established by primary and secondary wireless devices by means of internet of things connection |
CN110733038A (en) * | 2019-09-30 | 2020-01-31 | 浙江工业大学 | Industrial robot remote monitoring and data processing system |
CN111222034A (en) * | 2019-12-31 | 2020-06-02 | 湖南华菱涟源钢铁有限公司 | Data mobile display method and device and cloud server |
CN111866141A (en) * | 2020-07-21 | 2020-10-30 | 珠海格力电器股份有限公司 | Robot monitoring method, system, device, storage medium and processor |
CN112068563A (en) * | 2020-09-07 | 2020-12-11 | 上海擎朗智能科技有限公司 | Fault prompting method, device, robot, system and medium |
CN112954013A (en) * | 2021-01-27 | 2021-06-11 | 政采云有限公司 | Network file information acquisition method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114244863B (en) | 2024-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6397244B1 (en) | Distributed data processing system and error analysis information saving method appropriate therefor | |
US8806442B2 (en) | Remote debugging proxy | |
EP3386150A1 (en) | Terminal failure processing method, device and system | |
CN106445817B (en) | Processing method, the device and system of test data | |
CN110910886B (en) | Man-machine interaction method and device | |
CN106992940B (en) | Message processing method, device, system and terminal | |
CN105706062A (en) | On-board information system and information processing method therefor | |
CN114244863A (en) | Data packet processing method and server | |
CN110581792A (en) | Message transmission method and device | |
CN111176948A (en) | Method and system for monitoring personalized service index | |
KR101828156B1 (en) | Transaction Monitoring System and Operating method thereof | |
CN114603598B (en) | Robot fault detection method, equipment and storage medium | |
CN115016929A (en) | Data processing method, device, equipment and storage medium | |
CN115048272A (en) | Container monitoring processing method, device, host, system, storage medium and program product | |
JP3691272B2 (en) | Distributed processing system and failure analysis information storage method | |
CN114095523B (en) | Communication data processing method, device and system in comprehensive scheduling system | |
CN115052003A (en) | Data synchronization method, related device and medium | |
CN114760444A (en) | Video image processing and determining method and device, electronic equipment and storage medium | |
CN110443910B (en) | Method, system, device and storage medium for monitoring state of unmanned device | |
CN103107991B (en) | A kind of many NVT event-handling method, NVC and safety monitoring platform | |
CN111611142A (en) | Information collection method, device and storage medium | |
CN113127261A (en) | File processing method, device, equipment and storage medium | |
CN108681594A (en) | Document handling method and relevant apparatus | |
CN113791947B (en) | Information monitoring method, information monitoring device, electronic apparatus, and readable storage medium | |
CN112579243B (en) | Virtual sensor-based dynamic identification method and system for Internet of things equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Unit 7-11, 6th Floor, Building B2, No. 999-8 Gaolang East Road, Wuxi Economic Development Zone, Wuxi City, Jiangsu Province, China 214000 Patentee after: Youdi Robot (Wuxi) Co.,Ltd. Country or region after: China Address before: 5D, Building 1, Tingwei Industrial Park, No. 6 Liufang Road, Xingdong Community, Xin'an Street, Bao'an District, Shenzhen City, Guangdong Province Patentee before: UDITECH Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |