[go: up one dir, main page]

CN114125941B - Data packetizing method and device, electronic equipment and storage medium - Google Patents

Data packetizing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114125941B
CN114125941B CN202111398926.7A CN202111398926A CN114125941B CN 114125941 B CN114125941 B CN 114125941B CN 202111398926 A CN202111398926 A CN 202111398926A CN 114125941 B CN114125941 B CN 114125941B
Authority
CN
China
Prior art keywords
data
data packet
sub
packet set
communication
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.)
Active
Application number
CN202111398926.7A
Other languages
Chinese (zh)
Other versions
CN114125941A (en
Inventor
朱科城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202111398926.7A priority Critical patent/CN114125941B/en
Publication of CN114125941A publication Critical patent/CN114125941A/en
Application granted granted Critical
Publication of CN114125941B publication Critical patent/CN114125941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a data packetizing method, a data packetizing device, electronic equipment and a storage medium, and relates to the technical field of wireless communication. The method comprises the following steps: acquiring communication data between a main control device and an intelligent device; according to an interrupt signal instruction generated when the communication data transmission is finished, packetizing the communication data to obtain a first data packet set; judging whether the first data packet set meets a secondary subpackaging condition or not based on identification information carried by each first data packet in the first data packet set; and if so, performing secondary subpackaging on the first data packet set to obtain a second data packet set, wherein the second data packet set is used for diagnosing the communication state of the intelligent equipment. Therefore, the accuracy of sub-packaging is improved, and a foundation is laid for improving the communication abnormality diagnosis efficiency of the intelligent equipment.

Description

Data packetizing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a data packetizing method, apparatus, electronic device, and storage medium.
Background
The ZigBee protocol (ZigBee) is an emerging short-range, low-rate, low-power wireless network technology, and the power consumption required for data transmission between ZigBee sensors is very low, but the communication efficiency is very high, so the ZigBee wireless communication technology is widely used in smart homes.
In the related art, communication data of the ZigBee equipment are received through serial port resources, and when the communication problem occurs in the ZigBee equipment, the fault ZigBee equipment and the reasons of abnormal operation of the fault ZigBee equipment can be analyzed and positioned according to the communication data. However, since the communication data acquired through the serial port resource has no clear protocol standard, the communication data is not standard, and thus the efficiency of positioning the communication problem and diagnosing the problem is affected.
Disclosure of Invention
In view of the above, the present application provides a data packetizing method, apparatus, electronic device and storage medium.
In a first aspect, an embodiment of the present application provides a data packetization method, where the method includes: acquiring communication data between a main control device and an intelligent device; according to an interrupt signal instruction generated when the communication data transmission is finished, packetizing the communication data to obtain a first data packet set; judging whether the first data packet set meets a secondary subpackaging condition or not based on identification information carried by each first data packet in the first data packet set; and if so, performing secondary subpackaging on the first data packet set to obtain a second data packet set, wherein the second data packet set is used for diagnosing the communication state of the intelligent equipment.
In a second aspect, an embodiment of the present application provides a data packetizing apparatus, including: the system comprises a data receiving module, a first sub-packaging module, a judging module and a second sub-packaging module. The data receiving module is used for acquiring communication data between the main control equipment and the intelligent equipment; the first packetizing module is used for packetizing the communication data according to an interrupt signal instruction generated when the transmission of the communication data is finished, so as to obtain a first data packet set; the judging module is used for judging whether the first data packet set meets the secondary subpackaging condition or not based on the identification information carried by each first data packet in the first data packet set; and the second packet dividing module is used for carrying out secondary packet dividing on the first data packet set to obtain a second data packet set.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the data packetization method provided by the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored therein program code that is callable by a processor to perform the data packetization method provided by the first aspect.
In the scheme provided by the application, communication data between the main control equipment and the intelligent equipment are acquired; according to an interrupt signal instruction generated when the transmission of the communication data is finished, packetizing the communication data to obtain a first data packet set; judging whether the first data packet set meets the secondary subpackaging condition or not based on the identification information carried by each first data packet in the first data packet set; if yes, performing secondary subpackaging on the first data packet set to obtain a second data packet set, wherein the second data packet set is used for diagnosing the communication state of the intelligent equipment. Therefore, communication data are sub-packaged twice by combining the interrupt signal instruction and the identification information in the data packet, so that the accuracy of sub-packaging is improved, and a foundation is laid for improving the communication abnormality diagnosis efficiency of the intelligent equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a schematic diagram of an application environment of an embodiment of the application.
Fig. 2 is a flow chart illustrating a data packetization method according to an embodiment of the application.
Fig. 3 shows a flow diagram of the sub-steps of step S230 in fig. 2.
Fig. 4 is a flow chart illustrating a data packetization method according to another embodiment of the application.
Fig. 5 is a flow chart illustrating a data packetization method according to still another embodiment of the present application.
Fig. 6 is a block diagram of a data packetizing apparatus according to an embodiment of the present application.
Fig. 7 is a block diagram of an electronic device for performing a data packetization method according to an embodiment of the present application.
Fig. 8 is a memory unit for storing or carrying program codes for implementing a data packetization method according to an embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present application with reference to the accompanying drawings.
ZigBee is an emerging wireless network technology with short distance, low speed and low power consumption, and the power consumption required by data transmission between ZigBee sensors is very low, but the communication efficiency is very high, so the ZigBee wireless communication technology is widely applied to intelligent home.
In the related art, communication data of the ZigBee equipment are received through serial port resources, and when the communication problem occurs in the ZigBee equipment, the fault ZigBee equipment and the reasons of abnormal operation of the fault ZigBee equipment can be analyzed and positioned according to the communication data. However, since the communication data acquired through the serial port resource has no clear protocol standard, the communication data is not standard, and thus the efficiency of positioning the communication problem and diagnosing the problem is affected.
In order to solve the above problems, the inventor proposes a data packetizing method, a device, an electronic device and a storage medium, which acquire communication data between a main control device and an intelligent device, packetize the communication data according to a terminal signal instruction, and packetize data packets meeting secondary packetizing conditions for secondary packetizing, and fall over a data packet set for diagnosing the communication state of the intelligent device. This will be described in detail below.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment provided for an embodiment of the present application, and a data packetizing method provided by the embodiment of the present application can be applied to a data packetizing system 10 as shown in fig. 1. The data packetization system 10 may include a master control system 101, a master control device 102, and a plurality of intelligent devices 103. The master control system 101 and the master control device 102 are connected through a serial port so as to realize data transmission between the master control system 101 and the master control device 102 based on the serial port; the master device 102 establishes a communication connection with each of the smart devices 103 through ZigBee to enable data transmission between the master device 102 and each of the smart devices based on the communication connection.
The master control system 101 may be disposed in the master control device 102, or may be disposed in other electronic devices, such as a smart phone, a tablet computer, a laptop, a desktop computer, and a wearable electronic device; the master control device 102 and the intelligent device 103 may be electronic devices configured with ZigBee sensors, such as an intelligent control panel and an intelligent home device, where the intelligent home device may be, for example, an intelligent light fixture, an intelligent door lock, an intelligent television, an intelligent curtain, an intelligent air conditioner, and the embodiment is not limited thereto.
In some embodiments, the master device 102 may issue a control instruction to the intelligent device 103 through ZigBee communication, and the intelligent device 103 receives and executes the control instruction, and after receiving and executing the control instruction, all feedback confirmation message data to the master device 102. When determining that there are fault devices in the plurality of intelligent devices 103, the master control device 102 may send communication data (such as a control instruction and acknowledgement message data) between each intelligent device 103 and each of the plurality of intelligent devices 103 to the master control system 101 through serial communication, and send an interrupt signal to the master control system 101 at the same time, and correspondingly, the master control system 101 may grab a packet according to the interrupt signal, which may be understood that the master control system 101 divides the communication data into a plurality of data packets according to the interrupt signal, and then analyzes the plurality of data packets, so as to locate the fault intelligent devices and the fault cause in time.
Referring to fig. 2, fig. 2 is a flow chart of a data packetizing method according to an embodiment of the application. The data packet method provided by the embodiment of the present application will be described in detail below with reference to fig. 2. The data packetization method may include the steps of:
step S210: and acquiring communication data between the main control equipment and the intelligent equipment.
In this embodiment, the communication data includes data sent to the intelligent device by the master device and data fed back to the master device by the intelligent device. The method for obtaining the communication data may be that the original communication data between the main control device and the intelligent device is mirrored to obtain the communication data; and then using a serial peripheral interface (Serial Peripheral Interface, SPI) or serial port resources to obtain communication data obtained by mirroring in a large broadband manner. The mirror image is a file storage form, is a type of redundancy, and is the mirror image when the data on one disk has an identical copy on the other disk.
In some embodiments, the communication data between the master control device and the intelligent devices can be obtained in real time, which can be understood that as long as the master control device and any intelligent device have communication data transmission, the master control system can obtain the communication data in real time, so as to diagnose whether the intelligent device has communication failure currently according to the communication data in real time, and realize the function of real-time diagnosis.
In other embodiments, communication data between the master device and the smart device may be acquired in response to the fault diagnosis instruction. The fault diagnosis instruction may be input by a user, that is, when the user senses that a certain intelligent device does not respond or responds slowly, the fault diagnosis instruction may be input, and correspondingly, the master control system responds to the fault diagnosis instruction to acquire communication data between the master control device and the intelligent device at the current moment. Therefore, the intelligent equipment can timely respond to the fault diagnosis requirement of the user, so that diagnosis can be timely performed according to the communication data at the current moment, and the intelligent equipment with communication faults can be determined.
In still other embodiments, the master control system may also acquire communication data between the master control device and the intelligent device at intervals of a preset duration, so as to realize timing diagnosis of the communication state of the intelligent device. The preset duration may be preset, for example, 30 minutes or 1 hour, or the numerical value of the preset duration may be adjusted according to different application scenarios, which is not limited in this embodiment.
Step S220: and packetizing the communication data according to an interrupt signal instruction generated when the communication data transmission is finished, so as to obtain a first data packet set.
In this embodiment, the original communication data transmitted between the master control device and the intelligent device each time is composed of at least one data packet, so when the master control system acquires the communication data, the master control system needs to packetize the communication data according to the interrupt signal instruction to obtain a first data inclusion set, so that the communication state analysis can be performed according to the first data packet in the first data inclusion set, and the efficiency of communication diagnosis can be improved. The method comprises the steps that an interrupt signal instruction is generated when one data packet in communication data is transmitted by main control equipment, and the main control equipment actively sends the interrupt signal instruction to a main control system in real time; correspondingly, the main control system receives the interrupt signal instruction, and packetizes communication data to obtain a first data packet set when receiving the interrupt signal instruction. Therefore, the main control equipment actively sends out the interrupt signal instruction, so that the main control system receives the interrupt signal instruction and then packetizes the packet, and the timeliness and accuracy of the packetizing can be improved to a certain extent.
The problems of consumption of computing resources and the like caused by active reading interruption of the master control system are avoided, namely, occupation of computing resources of the master control system is reduced, and the sub-packaging efficiency of the master control system is improved.
In some embodiments, the interrupt signal instruction may be understood as a rising edge or a falling edge generated when a level is changed, where the level includes two states of 1 and 0, and the state is changed from 1 to 0, and the state is changed from 0 to 1, and the state is changed from 1 to 1; the interrupt signal command is transmitted to the host system through General-purpose input/output (GPIO). For example, assume that when the level output to the master system is 1, representing the data transmission state, when the data transmission is ended, the level of the output is changed to 0; at this time, the master control system detects that a falling edge (i.e., an interrupt signal command) exists, and packetizes the communication data when detecting the terminal signal command.
Step S230: and judging whether the first data packet set meets a secondary subpackaging condition or not based on the identification information carried by each first data packet in the first data packet set.
In an ideal state, according to each interrupt signal instruction, correct packetization of communication data can be realized. However, since the transmission speed of the communication data is fast, for example, 1 bit/nanosecond, and a certain time delay exists in the master control system for performing the packetizing operation after receiving the interrupt signal command, for example, 1 millisecond, it can be understood that the packetizing operation takes 1 millisecond; when the transmission interval duration between two data packets is smaller than the delay time of the packetizing operation, there is a displacement of the packetizing bit, which leads to erroneous packetizing and obtaining the erroneous first data packet, so that the erroneous first data packet needs to be packetized secondarily.
Based on this, whether the first data packet set meets the secondary packetization condition can be determined according to the identification information carried in each first data packet, which can be understood as whether there is an erroneous first data packet in the first data packet set due to the delay of the packetization operation.
In some embodiments, referring to fig. 3, step S230 may include the following steps:
step S231: and acquiring identification information carried by each first data packet in the first data packet set.
Step S232: judging whether the identification information carried by each first data packet meets preset identification information conditions or not, wherein the preset identification information conditions are determined based on the identification information carried in the standard data packet.
In this embodiment, the standard data packet may be understood as an original data packet between the master control device and the intelligent device under a standard protocol, and it may be understood that whether the identification information carried by each first data packet meets the preset identification information condition is determined, so as to determine whether the first data packets obtained based on the interrupt signal instruction are consistent with the corresponding original data packets. When the identification information carried by each first data packet meets the preset identification information condition, judging that each first data packet in the first data packet set is consistent with the corresponding original data packet; otherwise, the two are inconsistent.
In some embodiments, the standard data packet may include only one start identifier, and the start identifier is carried by the first data in the data packet; based on the above, whether the first data of each first data packet carries a start identifier or not can be judged, if yes, the identification information carried by each first data packet is judged to meet the preset identification information condition; otherwise, it is not satisfied.
In other embodiments, only one end identifier may be included in the standard data packet, and the end identifier is carried by the last bit in the data packet; based on the end identification information, whether the last bit data of each first data packet carries an end identification can be judged, if yes, the identification information carried by each first data packet is judged to meet the preset identification information condition; otherwise, it is not satisfied.
In still other embodiments, the standard data packet may include both a start identifier and an end identifier, with the start identifier being carried by the first data in the data packet and the end identifier being carried by the last data in the data packet; based on the above, whether the first data of each first data packet carries a start identifier and the last data carries an end identifier can be judged, if yes, the identification information carried by each first data packet is judged to meet the preset identification information condition; otherwise, it is not satisfied.
Step S233: and if the two packet sets meet the two sub-packet conditions, judging that the first packet set does not meet the two sub-packet conditions.
In this embodiment, if the identification information carried by each first data packet meets the preset identification information condition, the delay representing the packetizing operation does not affect the actual packetizing process, that is, there is no erroneous first data packet in the first data packet set obtained by dividing the interrupt signal instruction. At this time, the first data packet set is judged not to meet the secondary packaging condition, secondary packaging is not needed for the first data packet set, and the communication state of the intelligent device can be diagnosed directly based on the data in the first data packet set.
In some embodiments, the identification information carried in the first data packet set may all meet the preset identification information condition, and also meet the secondary packetization condition. For example, the first data of the first data packet carries a start identifier and the last data carries an end identifier, but the middle data of the first data packet carries a start identifier and/or an end identifier, where a plurality of standard data packets may be simultaneously included in the first data packet, and thus further packetization of the first data packet is required. Based on the above, after judging that the identification information carried by each first data packet meets the preset identification information condition, further judging whether the intermediate data carrying the start identification or the end identification exists in other intermediate data except the first data and the last data of each first data packet, and if the intermediate data carrying the start identification or the end identification does not exist, judging that the first data packet set does not meet the secondary sub-packaging condition; if so, judging that the first data packet set meets the secondary sub-packaging condition.
Step S234: and if any first data packet in the first data packet set does not meet the identification information condition, judging that the first data packet set meets the secondary subpackaging condition.
Step S240: and if so, performing secondary subpackaging on the first data packet set to obtain a second data packet set, wherein the second data packet set is used for diagnosing the communication state of the intelligent equipment.
In this embodiment, if any first data packet in the first data packet set does not meet the preset identifier information condition, the delay representing the packetizing operation affects the actual packetizing process, that is, there is an erroneous first data packet in the first data packet set obtained by dividing the interrupt signal instruction. At this time, it is determined that the first data packet set meets the secondary packetizing condition, and secondary packetizing needs to be performed on the first data packet set to obtain a correct second data packet set, so as to diagnose a communication state of the intelligent device based on the correct second data packet set.
As an implementation manner, the master control system can check the data information in the second data packet set through the communication data analysis software, compare the data information with the standard service information and the standard log, determine abnormal information such as a data packet with errors, a lost data packet or a data packet delay, and the like, and further judge abnormal equipment (namely intelligent equipment with communication faults) and reasons for the communication faults of the abnormal equipment from the plurality of intelligent equipment. The second data packet in the second data packet set is consistent with the standard data packet, so that the efficiency and the success rate of problem and problem reason positioning by the communication data analysis software can be improved; when there is a discrepancy with the standard data packet in the second data packet used for analysis, the analysis efficiency and success rate of the communication data analysis software become low.
In this embodiment, according to the identification information in the first data packet, it is determined whether there is an erroneous first data packet caused by the packetizing delay in the first data packet set obtained based on the interrupt signal instruction, if there is the erroneous first data packet, it is determined that the first data packet set meets the secondary packetizing condition, and for obtaining a correct data packet, the second data packet set is obtained by performing secondary packetizing on the first data packet set. Therefore, the first data packet with the error packet is sub-packaged again by combining the identification information, so that the accuracy of sub-packaging is improved; therefore, a foundation is laid for improving the communication abnormality diagnosis efficiency of the intelligent equipment.
Referring to fig. 4, fig. 4 is a flow chart of a data packetizing method according to another embodiment of the application. The data packet method provided by the embodiment of the present application will be described in detail below with reference to fig. 4. The data packetization method may include the steps of:
step S410: and acquiring communication data between the main control equipment and the intelligent equipment.
Step S420: and packetizing the communication data according to an interrupt signal instruction generated when the communication data transmission is finished, so as to obtain a first data packet set.
Step S430: and judging whether the first data packet set meets a secondary subpackaging condition or not based on the identification information carried by each first data packet in the first data packet set.
In the embodiment of the present application, the steps S410 to S430 may refer to the content in the foregoing embodiment, and are not described herein.
Step S440: if yes, performing secondary subpackaging on the first data packet set based on the data identifier carried in the first data packet set to obtain a plurality of sub-data packets, wherein the data identifier comprises an end identifier and/or a start identifier; and obtaining the second data packet set based on the plurality of sub-data packets.
In this embodiment, since the last data in the standard data packet carries the end identifier and the first data carries the start identifier, when the first data packet set meets the secondary packetizing condition, the end identifier and/or the start identifier may be used as the basis of the secondary packetizing to perform secondary packetizing on the first data packet set, so as to obtain the second data packet set.
In some embodiments, step S440 may include: step S441 and/or S442.
Step S441: detecting whether the data in each first data packet in the first data packet set carries the ending mark or not; and when the fact that the first specified data carry the end identifier is detected, the first specified data are used as last data of the sub-data packets to be packetized, so that a plurality of first sub-data packets are obtained, wherein the first specified data are any data in other data except the last data in the first data packets.
Step S442: detecting whether the data in each first data packet in the first data packet set carries the starting identifier or not; and when the second designated data is detected to carry the starting identifier, packetizing the second designated data serving as the first data of the sub-data packet to obtain a plurality of second sub-data packets, wherein the second designated data is any one of other data except the first data in the first data packet.
In this embodiment, since the last data in the standard data packet carries the end identifier, the last data in the first data packet set carries the first data packet with the end identifier, and then the requirements of the standard data packet can be met. Based on the above, whether the data in each first data packet in the first data packet set carries the end identifier can be detected sequentially, when the first specified data is detected to carry the end identifier, the first specified data is used as the last data of the sub data packet to carry out sub-packet again, so as to obtain a plurality of sub data packets, wherein the first specified data is any one of the other data except the last data in the first data packet set.
Illustratively, taking the communication data as 1,2,3,4,5,1,2, 3,4,5 as an example, wherein the number 1 carries a start identifier and the number 5 carries an end identifier, the packetization is performed according to an interrupt signal instruction in an ideal case, the first packet set obtained should be [1,2,3,4,5], [1,2,3,4,5]. However, since the packetizing operation has a delay, the first packet set actually obtained is [1,2,3,4,5,1,2], [3,4,1,2], [3,4,5], and at this time, the data carrying the end identifier may be used as the last data of the sub-packet, and the first packet set may be packetized again to obtain four sub-packets [1,2,3,4,5], [1,2], [3,4,1,2], [3,4, 5].
Optionally, since the last data in the standard data packet carries the start identifier, the last data in the first data packet set carries the first data packet of the start identifier, which may not meet the requirement of the standard data packet. Based on the above, whether each first data packet in the first data packet set carries a start identifier is detected at first, when the first specified data carries the start identifier, the first specified data is used as the first data of the sub data packet to carry out sub-packet again, so as to obtain a plurality of sub data packets, wherein the second specified data is any one of the first data packets in other data except the first data in the first data packet set.
Taking communication data of 1,2,3,4,5, 2,3,4 and 5 as an example, because of delay in the packetizing operation, the first data packet set actually obtained is [1,2,3,4,5,1,2], [3,4,5,2], [3,4 and 5], at this time, the first data packet set may be packetized again with the data carrying the start identifier as the first data of the sub data packet, so as to obtain four sub data packets of [1,2,3,4,5], [1,2], [3,4,5,2], [3,4,5 ].
Optionally, the end identifier may not be included in some first data packets in the first data packet set, and because the first data in the standard data packet carries the start identifier, the first data in the first data packet set carries the first data packet of the start identifier, so that the requirement of the standard data packet may be met. Based on the above, whether the data in the plurality of sub-data packets after the sub-data packets are packetized according to the end identifier carries the start identifier can be sequentially detected, when the second designated data is detected to carry the start identifier, the second designated data is used as the first data of the sub-data packets to carry out sub-packetization again, so as to obtain a plurality of sub-data packets, wherein the second designated data is any data in any one of the first data packets in the first data packet set except any data in the first data.
Taking the communication data of 1,2,3,4,5, 1,2,3,4 and 5 as examples, after four sub-data packets of [1,2,3,4,5], [1,2], [3,4,1,2], [3,4,5] are obtained, sequentially detecting whether the data in the four sub-data packets carries a start identifier, and taking the data carrying the start identifier as first data, performing sub-packaging again to obtain five sub-data packets of [1,2,3,4,5], [1,2], [3,4], [1,2] and [3,4,5 ].
Optionally, the sub-packaging can be performed according to the start identifier, and then the sub-packaging can be performed again according to the end identifier, so as to achieve the best sub-packaging effect, which is not described in detail herein and is not limited in any way.
Step S443: the second set of data packets is determined based on the plurality of sub-data packets.
In this embodiment, after the plurality of sub-packets are acquired, further, the second data packet set may be determined based on the plurality of sub-packets.
In some embodiments, after step S443, the data packetization method further includes: step S444-step S447.
Step S444: and sequencing the plurality of sub-data packets according to the sequence from front to back of the acquisition time of the first data in each sub-data packet to obtain a sub-data packet sequence.
In this embodiment, the acquisition time is the time when the master control system receives data from the master control device, which can also be understood as the time when the master control device and the intelligent device transmit the data. Because the communication data are sequentially transmitted according to the sequence from front to back of the acquisition time when the communication data are transmitted, the obtained sub-data packets are also arranged according to the sequence from front to back of the acquisition time, so that the sequence of the sub-data packets is prevented from being disordered due to congestion of a transmission network and the like, and a plurality of sub-data packets can be sequenced again according to the sequence from front to back of the acquisition time of the first data in each sub-data packet, and a sub-data packet sequence with correct sequencing is obtained. Therefore, the correct second data packet set can be ensured to be determined according to the sub data packet sequence, the accuracy of secondary sub-packaging is improved, and further the intelligent equipment with communication faults is rapidly positioned.
Step S445: based on the identification information, two adjacent sub-data packets meeting the preset data packet combination condition in the sub-data packet sequence are obtained and used as sub-data packets to be combined.
Specifically, the preset packet combining conditions include: the first data of the former sub-data packet in the two adjacent sub-data packets carries the start identifier and the last data does not carry the end identifier, and the last data of the latter sub-data packet in the two adjacent sub-data packets only carries the end identifier and the first data does not carry the start identifier. And taking two adjacent sub-data packets meeting the preset data packet combination condition as sub-data packets to be combined.
Illustratively, taking communication data of 1,2,3,4,5, 1,2,3,4,5 as an example, if the obtained sub-packet is [1,2,3,4,5], [1,2,3], [4,5]. Wherein, the sub data packets [1,2,3,4,5] are standard data packets, so that no packet is required. Since the preceding sub-packet [1,2,3,4,5] of [2,3,4,5] is the standard packet, the packet-grouping condition is not satisfied. [1,2,3] only contains the start identifier, and [4,5] only contains the end identifier, so that [1,2,3], [4,5] can be determined as the sub-data packets to be combined.
Step S446: and merging the sub-data packets to be combined to obtain at least one new sub-data packet.
That is, sub packets [1,2,3] and [4,5] are combined to obtain [1,2,3,4,5].
Step S447: and generating the second data packet set based on the at least one new sub-data packet and a designated sub-data packet, wherein the designated sub-data packet is other sub-data packets except for the sub-data packet to be combined in the sub-data packet sequence.
In this embodiment, the second data packet set is generated according to the obtained at least one new sub-data packet and other sub-data packets in the sub-data packet sequence except for the sub-data packet to be combined.
By taking the obtained new sub-data packets [1,2,3,4,5] and other sub-data packets [1,2,3,4,5] as examples, a third data packet set is generated based on the three sub-data packets, so that after the first data packet set is divided and grouped secondarily based on the identification information, the data packets in the obtained third data packet set are mostly consistent with the standard data packets, and therefore, the communication data is divided and grouped secondarily based on the identification information, the accuracy of the division is improved, and the efficiency of communication diagnosis of the intelligent equipment is further improved.
In some embodiments, since the ZigBee data is received without a logical interaction protocol, some data packets in the communication data may not carry an end identifier, only carry a start identifier, or only carry an end identifier, and not carry a start identifier. Based on the above, when there is an erroneous first data packet in the first data packet set due to the delay of the packetizing operation, the main control system cannot packetize the first data packet according to the identification information because the data packet does not carry the complete start identification and end identification. Optionally, the second packetizing process is not performed on the first data packet which does not carry the identification information, and the first data packet is directly used as a second data packet in the second data packet set; or outputting the sub-packet prompt information to prompt an operator to manually sub-packet the first data packet which does not carry the identification information, and performing subsequent merging operation on the obtained sub-data packet.
Illustratively, the communication data is 1,2,3,4,5,1, 2,3,4,5, wherein data 1 carries a start identifier, data 5 carries an end identifier, and the communication data can be divided into [1,2,3,4,5], [1,2,3,4] and [2,3,4,5] data packets according to an interrupt signal instruction in an ideal case; however, due to the delay of the packetizing operation, the three first data packets actually obtained are [1,2,3,4,5,1], [2,3,4,2,3] and [4,5], and the first data packet [2,3,4,2,3] does not carry a start identifier and an end identifier, so that the packetizing process of the first data packet [2,3,4,2,3] cannot be automatically performed; at this time, the first data packet [2,3,4,2,3] may be directly used as a second data packet in the second data packet set, or may output a packetizing prompt message to prompt an operator to packetize the first data packet [2,3,4,2,3] manually and perform a subsequent merging operation on the obtained sub-data packet, and in specific embodiments, please refer to the foregoing, and details are not repeated herein.
In the embodiment, the second sub-packaging is performed on the first data packet set divided by the interrupt signal instruction based on the identification information, so that the accuracy of sub-packaging is improved; and merging the sub-data packets which can be merged to obtain a second data packet consistent with the standard data packet as far as possible, so that the accuracy of the sub-packet is improved, and a foundation is laid for improving the communication abnormality diagnosis efficiency of the intelligent equipment.
Referring to fig. 5, fig. 5 is a flow chart of a data packetizing method according to another embodiment of the application. The data packet method provided by the embodiment of the present application will be described in detail below with reference to fig. 5. The data packetization method may include the steps of:
step S510: and acquiring communication data between the main control equipment and the intelligent equipment.
In the embodiment of the present application, step S510 may refer to the content in the foregoing embodiment, and is not described herein.
In some embodiments, the communication data may be cached in the shared memory of the system layer, so that the application layer reads the communication data from the shared memory in real time and packetizes the communication data. It can be understood that the system layer and the application layer of the main control system are subjected to memory mapping to realize data sharing; after the system layer writes communication data into the shared memory (such as a cache) in real time, a data writing instruction is sent to the application layer to indicate that the communication data is written; correspondingly, the application layer reads the communication data in real time and performs data processing on the communication data. Therefore, compared with the mode of respectively caching the data at the system layer and the application layer under the general condition, the method can save time for calling the data once, reduces the time for copying the communication data by the memory mapping, optimizes the processing logic of the application layer for receiving the communication data, reduces the processing time, and quickens the processing of the interrupt event, thereby improving the efficiency of subpackaging the communication data on the whole and further improving the efficiency of positioning the communication faults of the intelligent equipment.
Step S520: and distributing computing resources corresponding to the data amount according to the data amount of the communication data, wherein the computing resources are used for performing packetizing operation on the communication data.
The computing resources comprise central processing unit (central processing unit, CPU) resources, memory resources, hard disk resources and network resources which are required by the running of the computer program in the main control system.
Specifically, acquiring the data volume of communication data, and acquiring a preset data volume interval in which the data volume is located as a second preset data volume interval; and acquiring the computing resource corresponding to the second preset data quantity interval as the computing resource corresponding to the data quantity. The preset data size interval is preset, and may be adjusted according to different application scenarios, which is not limited in this embodiment. Thus, the computing resource corresponding to the data volume is fetched in real time, and the communication data is subjected to the sub-packaging operation, so that the waste of the computing resource can be reduced.
In some embodiments, the pre-set fixed computing resources may be directly allocated, and the communication data may be subjected to a packetizing operation. Because the fixed computing resources are preset, the efficiency of the sub-packaging operation can be improved to a certain extent, the time delay of the sub-packaging operation is reduced, and the efficiency of positioning the communication faults of the intelligent equipment is improved.
Step S530: and packetizing the communication data according to an interrupt signal instruction generated when the communication data transmission is finished, so as to obtain a first data packet set.
Step S540: and judging whether the first data packet set meets a secondary subpackaging condition or not based on the identification information carried by each first data packet in the first data packet set.
Step S550: and if so, performing secondary subpackaging on the first data packet set to obtain a second data packet set, wherein the second data packet set is used for diagnosing the communication state of the intelligent equipment.
In the embodiment of the present application, the steps S530 to S550 may refer to the content in the foregoing embodiment, and are not described herein.
In the embodiment, the communication data is subjected to the packetizing operation by calling the computing resources corresponding to the data quantity in real time, so that the packetizing operation efficiency is ensured, and the waste of redundant computing resources is reduced; and by buffering the communication data in the shared memory of the system layer, the application layer can acquire the communication data in the shared memory in real time, so that the time for calling the data is saved, the efficiency of sub-packaging the communication data is improved as a whole, and a foundation is laid for improving the communication abnormality diagnosis efficiency of the intelligent equipment.
Referring to fig. 6, a block diagram of a data packetizing apparatus 600 according to an embodiment of the application is shown. The apparatus 600 may include: the data receiving module 610, the first packetizing module 620, the judging module 630 and the second packetizing module 640.
The data receiving module 610 is configured to obtain communication data between the master device and the smart device.
The first packetizing module 620 is configured to packetize the communication data according to an interrupt signal instruction generated when the transmission of the communication data is finished, so as to obtain a first data packet set.
The judging module 630 is configured to judge whether the first data packet set meets a secondary packetization condition based on identification information carried by each first data packet in the first data packet set.
The second packetizing module 640 is configured to perform secondary packetizing on the first data packet set to obtain a second data packet set.
In some embodiments, the determining module 630 may include: an identification acquisition unit and an identification judgment unit. The identifier obtaining unit may be configured to obtain identifier information carried by each first data packet in the first data packet set. The identification judgment unit may specifically be configured to: judging whether the identification information carried by each first data packet meets preset identification information conditions or not, wherein the preset identification information conditions are determined based on the identification information carried in the standard data packet; if both the first data packet set and the second data packet set meet the secondary sub-packaging condition, judging that the first data packet set does not meet the secondary sub-packaging condition; and if any first data packet in the first data packet set does not meet the identification information condition, judging that the first data packet set meets the secondary subpackaging condition.
In some embodiments, the second packet module 640 may be specifically configured to: performing secondary subpackaging on the first data packet set based on the data identifier carried in the first data packet set to obtain a plurality of sub-data packets, wherein the data identifier comprises an end identifier and/or a start identifier; and obtaining the second data packet set based on the plurality of sub-data packets.
In this manner, the second packet module 640 may be specifically configured to: detecting whether the data in each first data packet in the first data packet set carries the ending mark or not; when the fact that the first specified data carry the end identifier is detected, the first specified data are used as last data of the sub-data packets to be packetized, so that a plurality of first sub-data packets are obtained, wherein the first specified data are any data in other data except the last data in the first data packets; and/or
Detecting whether the data in each first data packet in the first data packet set carries the starting identifier or not; and when the second designated data is detected to carry the starting identifier, packetizing the second designated data serving as the first data of the sub-data packet to obtain a plurality of second sub-data packets, wherein the second designated data is any one of other data except the first data in the first data packet.
In some embodiments, the data packetizing apparatus 600 may further include: the device comprises a sequencing module, a data packet acquisition module, a merging module and a data packet set generation module. The sorting module may be configured to sort the plurality of sub-packets according to a sequence from front to back according to an acquisition time of first data in each sub-packet, so as to obtain a sub-packet sequence. The data packet obtaining module may be configured to obtain, based on the identification information, two adjacent sub-data packets in the sub-data packet sequence that satisfy a preset data packet combination condition, as sub-data packets to be combined. The merging module may be configured to merge the sub-packets to be combined to obtain at least one new sub-packet. The data packet set generating module may be configured to generate the second data packet set based on the at least one new sub-data packet and a specified sub-data packet, where the specified sub-data packet is another sub-data packet in the sub-data packet sequence except for the sub-data packet to be combined. The preset data packet combination conditions include: the first data of the former sub-data packet in the two adjacent sub-data packets carries the start identifier and the last data does not carry the end identifier, and the last data of the latter sub-data packet in the two adjacent sub-data packets only carries the end identifier and the first data does not carry the start identifier.
In some embodiments, the data packetizing apparatus 600 further comprises: and a resource allocation module. The resource allocation module may be configured to allocate, according to a data amount of the communication data, a computing resource corresponding to the data amount, where the computing resource is used to perform a packetizing operation on the communication data, before packetizing the communication data according to an interrupt signal instruction generated when the transmission of the communication data ends to obtain a first data packet set.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided by the present application, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
An electronic device provided by the present application will be described below with reference to the drawings.
Referring to fig. 7, fig. 7 shows a block diagram of an electronic device 700 according to an embodiment of the present application, and a data packetizing method according to an embodiment of the present application may be executed by the electronic device 700.
The electronic device 700 in embodiments of the present application may include one or more of the following components: a processor 701, a memory 702, and one or more application programs, wherein the one or more application programs may be stored in the memory 702 and configured to be executed by the one or more processors 701, the one or more program(s) configured to perform the method as described in the foregoing method embodiments.
The processor 701 may include one or more processing cores. The processor 701 utilizes various interfaces and lines to connect various portions of the overall electronic device 700, perform various functions of the electronic device 700, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 702, and invoking data stored in the memory 702. Alternatively, the processor 701 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 701 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may also be integrated into the processor 701 and implemented solely by a communication chip.
The Memory 702 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (RAM). Memory 702 may be used to store instructions, programs, code, sets of codes, or instruction sets. The memory 702 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, and the like. The storage data area may also store data created by the electronic device 700 in use (such as the communication data described above), and so forth.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In the several embodiments provided by the present application, the illustrated or discussed coupling or direct coupling or communication connection of the modules to each other may be through some interfaces, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other forms.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 8, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 800 has stored therein program code which can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 comprises a non-transitory computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A method for packetizing data, the method comprising:
acquiring communication data between a main control device and an intelligent device;
according to an interrupt signal instruction generated when the communication data transmission is finished, packetizing the communication data to obtain a first data packet set;
judging whether the first data packet set meets a secondary subpackaging condition or not based on identification information carried by each first data packet in the first data packet set;
if yes, performing secondary subpackaging on the first data packet set based on the identification information carried in the first data packet set to obtain a plurality of sub data packets, wherein the identification information comprises an end identification and/or a start identification;
Obtaining a second data packet set based on the plurality of sub-data packets, wherein the second data packet set is used for diagnosing the communication state of the intelligent equipment;
the secondary packetizing is performed on the first data packet set based on the identification information carried in the first data packet set to obtain a plurality of sub data packets, including:
detecting whether the data in each first data packet in the first data packet set carries the ending mark or not; when the fact that the first specified data carry the end identifier is detected, the first specified data are used as last data of the sub-data packets to be packetized, so that a plurality of first sub-data packets are obtained, wherein the first specified data are any data in other data except the last data in the first data packets;
and/or the number of the groups of groups,
detecting whether the data in each first data packet in the first data packet set carries the starting identifier or not; and when the second designated data is detected to carry the starting identifier, packetizing the second designated data serving as the first data of the sub-data packet to obtain a plurality of second sub-data packets, wherein the second designated data is any one of other data except the first data in the first data packet.
2. The method of claim 1, wherein the determining whether the first data packet set satisfies a secondary packetization condition based on the identification information carried by each first data packet in the first data packet set comprises:
acquiring identification information carried by each first data packet in the first data packet set;
judging whether the identification information carried by each first data packet meets preset identification information conditions or not, wherein the preset identification information conditions are determined based on the identification information carried in the standard data packet;
if both the first data packet set and the second data packet set meet the secondary sub-packaging condition, judging that the first data packet set does not meet the secondary sub-packaging condition;
and if any first data packet in the first data packet set does not meet the identification information condition, judging that the first data packet set meets the secondary subpackaging condition.
3. The method of claim 1, wherein after said determining said second set of packets based on said plurality of sub-packets, the method further comprises:
sequencing the plurality of sub-data packets according to the sequence from front to back of the acquisition time of the first data in each sub-data packet to obtain a sub-data packet sequence;
Based on the identification information, acquiring two adjacent sub-data packets meeting preset data packet combination conditions in the sub-data packet sequence, and taking the adjacent sub-data packets as sub-data packets to be combined;
combining the sub-data packets to be combined to obtain at least one new sub-data packet;
updating the second data packet set based on the at least one new sub-data packet and a designated sub-data packet, wherein the designated sub-data packet is other sub-data packets except for the sub-data packet to be combined in the sub-data packet sequence.
4. The method of claim 3, wherein the predetermined packet combining conditions include:
the first data of the former sub-data packet in the two adjacent sub-data packets carries the start identifier and the last data does not carry the end identifier, and the last data of the latter sub-data packet in the two adjacent sub-data packets only carries the end identifier and the first data does not carry the start identifier.
5. The method according to any of claims 1-4, wherein said packetizing said communication data in accordance with an interrupt signal instruction generated at the end of transmission of said communication data, said method further comprising, prior to packetizing said communication data to obtain a first set of data packets:
And distributing computing resources corresponding to the data amount according to the data amount of the communication data, wherein the computing resources are used for performing packetizing operation on the communication data.
6. A data packetizing apparatus, the apparatus comprising:
the data receiving module is used for acquiring communication data between the main control equipment and the intelligent equipment;
the first packetizing module is used for packetizing the communication data according to an interrupt signal instruction generated when the transmission of the communication data is finished, so as to obtain a first data packet set;
the judging module is used for judging whether the first data packet set meets the secondary subpackaging condition or not based on the identification information carried by each first data packet in the first data packet set;
the second packet dividing module is used for dividing the first data packet set into a plurality of sub data packets for the second time based on the identification information carried in the first data packet set if yes, wherein the identification information comprises an end identification and/or a start identification; obtaining a second data packet set based on the plurality of sub-data packets, wherein the second data packet set is used for diagnosing the communication state of the intelligent equipment; the secondary packetizing is performed on the first data packet set based on the identification information carried in the first data packet set to obtain a plurality of sub data packets, including: detecting whether the data in each first data packet in the first data packet set carries the ending mark or not; when the fact that the first specified data carry the end identifier is detected, the first specified data are used as last data of the sub-data packets to be packetized, so that a plurality of first sub-data packets are obtained, wherein the first specified data are any data in other data except the last data in the first data packets; and/or detecting whether the data in each first data packet in the first data packet set carries the start identifier; and when the second designated data is detected to carry the starting identifier, packetizing the second designated data serving as the first data of the sub-data packet to obtain a plurality of second sub-data packets, wherein the second designated data is any one of other data except the first data in the first data packet.
7. An electronic device, comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-5.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for performing the method according to any one of claims 1-5.
CN202111398926.7A 2021-11-19 2021-11-19 Data packetizing method and device, electronic equipment and storage medium Active CN114125941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111398926.7A CN114125941B (en) 2021-11-19 2021-11-19 Data packetizing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111398926.7A CN114125941B (en) 2021-11-19 2021-11-19 Data packetizing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114125941A CN114125941A (en) 2022-03-01
CN114125941B true CN114125941B (en) 2023-08-29

Family

ID=80440430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111398926.7A Active CN114125941B (en) 2021-11-19 2021-11-19 Data packetizing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114125941B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117574869B (en) * 2023-10-19 2024-10-29 镁佳(北京)科技有限公司 Method, device, equipment and medium for automatically generating diagnostic application data packet

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6651099B1 (en) * 1999-06-30 2003-11-18 Hi/Fn, Inc. Method and apparatus for monitoring traffic in a network
KR20070017057A (en) * 2005-08-05 2007-02-08 딥콩 Method, apparatus and program for receiving data stream
CN105574445A (en) * 2015-12-22 2016-05-11 广州广电运通金融电子股份有限公司 Safety communication method and device for self-service terminal equipment hardware
CN107370634A (en) * 2016-05-11 2017-11-21 北京国网富达科技发展有限责任公司 A kind of transmission line of electricity on-line monitoring information collecting method, device and system
CN110704426A (en) * 2019-09-06 2020-01-17 中国平安财产保险股份有限公司 Data verification method, electronic device and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8650470B2 (en) * 2003-03-20 2014-02-11 Arm Limited Error recovery within integrated circuit
US8948020B2 (en) * 2012-12-11 2015-02-03 International Business Machines Corporation Detecting and isolating dropped or out-of-order packets in communication networks
US9794130B2 (en) * 2012-12-13 2017-10-17 Coriant Operations, Inc. System, apparatus, procedure, and computer program product for planning and simulating an internet protocol network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6651099B1 (en) * 1999-06-30 2003-11-18 Hi/Fn, Inc. Method and apparatus for monitoring traffic in a network
KR20070017057A (en) * 2005-08-05 2007-02-08 딥콩 Method, apparatus and program for receiving data stream
CN105574445A (en) * 2015-12-22 2016-05-11 广州广电运通金融电子股份有限公司 Safety communication method and device for self-service terminal equipment hardware
CN107370634A (en) * 2016-05-11 2017-11-21 北京国网富达科技发展有限责任公司 A kind of transmission line of electricity on-line monitoring information collecting method, device and system
CN110704426A (en) * 2019-09-06 2020-01-17 中国平安财产保险股份有限公司 Data verification method, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN114125941A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US6862643B2 (en) USB compound device operates a plurality of devices by using the same USB logic circuit and the method for implementation thereof
US20080071962A1 (en) Device connection system and device connection method
US20140068134A1 (en) Data transmission apparatus, system, and method
CN116541227B (en) Fault diagnosis method and device, storage medium, electronic device and BMC chip
US20250036463A1 (en) Method and apparatus for controlling running of operating system, and embedded system and chip
CN113141288B (en) Mailbox message receiving and sending method and device of CAN bus controller
CN114125941B (en) Data packetizing method and device, electronic equipment and storage medium
CN113064748A (en) Process succession method, device, electronic equipment and storage medium
CN101025704A (en) Method for detecting and correcting damaged control characters transmitted between SATA master control device and SATA peripheral device
CN111338745A (en) Deployment method and device of virtual machine and intelligent equipment
CN109788251B (en) Video processing method, device and storage medium
CN112713964B (en) Data verification acceleration method and device, computer equipment and storage medium
CN113687944A (en) Task execution method, device, equipment and medium for baseboard management control chip
CN111371799A (en) Control method, device and equipment for MCTP controller to send and receive data
CN1252546A (en) Computer device and method for entering operation mode from power saving mode
CN114978898A (en) Data transmission control method and device, head-up display and storage medium
CN115168094A (en) Data checking method, device, equipment, system, storage medium and product
CN114780270A (en) Memory fault processing method and device, electronic equipment and computer readable storage medium
CN111556043A (en) A message processing method, apparatus, system, device and readable storage medium
CN119025382A (en) Log extraction method of vehicle-mounted communication terminal, vehicle-mounted communication terminal and storage medium
CN115981924B (en) Device control method, electronic device and storage medium
CN118796749A (en) Communication method and device between BMC and BIOS
CN109947572B (en) Communication control method, device, electronic device and storage medium
CN115883461B (en) Data transmission method, data response method, device and storage medium
CN113010407B (en) System information acquisition method, device and system

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