A data transmission and processing method and system for industrial production monitoring

Through the redundant checksum queue management mechanism, the problems of data transmission failure and communication abnormalities in the existing technology are solved, the reliability and integrity of data transmission are realized, and the stability of industrial production is ensured.

CN118348931BActive Publication Date: 2025-01-14SHENZHEN INTERNET XINGBANG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410450287.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2025-01-14
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

The existing industrial production monitoring data transmission scheme lacks clear transmission limits and communication abnormal detection, resulting in data loss or transmission failure, affecting the monitoring and management of the production process.

Method used

Using data transmission processing method, a verification code is generated through redundant verification, and the data, verification code and number of sending are encapsulated and sent. The data is stored in different queues according to the response information and verification results, limiting the number of resents, and in Switch the transmission channel when communication is abnormal.

Benefits of technology

It improves the reliability and integrity of data transmission, avoids infinite cycle retransmission and network congestion, and ensures the stable operation of industrial production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118348931B_ABST
    Figure CN118348931B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of production monitoring, and specifically provides a data transmission processing method and system for industrial production monitoring, the method comprising the steps of: judging whether a response message sent by a monitoring platform is received within a first preset time; if a response message sent by the monitoring platform is not received within the first preset time, storing the collected data in a supplementary transmission queue; if a response message sent by the monitoring platform is received within the first preset time, judging whether the inspection result is correct; if the inspection result is correct, the transmission of the current collected data ends; if the inspection result is wrong, storing the collected data in a retransmission queue; in response to the newly stored collected data in the retransmission queue, starting to execute the transmission of the collected data in the retransmission queue; in response to the newly stored collected data in the supplementary transmission queue, judging that the communication is abnormal, and terminating the transmission of all data. The present invention solves the technical problem that the imperfect existing retransmission mechanism leads to the loss and distortion of monitoring data, thereby affecting industrial production supervision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of production monitoring, and specifically provides a data transmission processing method and system for industrial production monitoring. Background Art

[0002] With the advent of the industrial age, the data transmission and processing methods of industrial production monitoring systems have become a key factor affecting industrial production efficiency and safety. In the process of industrial production monitoring, the reliability of data transmission is the key to ensuring the normal operation of the entire monitoring system. In a complex industrial production environment, data transmission faces many challenges, such as network fluctuations, equipment failures, communication anomalies, etc., which may lead to data loss or transmission failure, thus affecting the monitoring and management of the production process.

[0003] Existing data transmission schemes usually use a simple retransmission mechanism to handle transmission failures. However, this mechanism often has the following problems: first, there is a lack of clear limits on the number of transmissions, which may cause data to be retransmitted in an infinite loop, leading to network congestion or resource waste; second, there is a lack of detection and processing capabilities for communication anomalies. When network problems occur, the system may not be able to respond in time and adjust the transmission strategy; third, the data processing method is not flexible enough, and different processing measures cannot be taken according to different transmission states and data types. Summary of the invention

[0004] In order to overcome the above-mentioned defects, the present invention is proposed to solve the technical problem that the monitoring data is lost and distorted due to the imperfect existing retransmission mechanism, thereby affecting the industrial production supervision.

[0005] In a first aspect, the present invention provides a data transmission processing method for industrial production monitoring, comprising the following steps:

[0006] S1: storing the collected data of the monitoring device in a normal sending queue in the order of collection, and executing steps S2-S5 in sequence for the collected data in the normal sending queue;

[0007] S2: Perform redundancy check on the collected data according to a preset algorithm to generate a check code;

[0008] S3: Encapsulate the collected data, the check code, the data identification code and the number of transmissions i together and send them to the monitoring platform, where the initial value of the number of transmissions i is 1;

[0009] S4: Determine whether a response message sent by the monitoring platform is received within a first preset time, wherein the response message includes a data identification code and a test result;

[0010] S5: If the response information sent by the monitoring platform is not received within the first preset time, the sending number i is initialized, and the collected data is stored in the supplementary transmission queue. If the response information sent by the monitoring platform is received within the first preset time, it is determined whether the inspection result is correct. If the inspection result is correct, the transmission of the current collected data ends. If the inspection result is wrong, the collected data is stored in the retransmission queue.

[0011] S6: in response to the retransmission queue having newly stored collected data, starting to execute the transmission of the collected data in the retransmission queue;

[0012] S7: In response to the fact that there is newly stored collected data in the supplementary transmission queue, it is determined that communication is abnormal, and the transmission of all data is terminated.

[0013] Furthermore, for the normal sending queue, the sending of the next collected data does not need to wait for the response information of the previous collected data; for the retransmission queue, the sending of the next collected data can only be executed after the previous collected data is successfully transmitted.

[0014] Further, the step S6 comprises the steps of:

[0015] S61: Get the collected data at the first position in the retransmission queue

[0016] S62: Update the number of times the collected data is sent i=i++, and execute steps S3-S4;

[0017] S63: If no response information is received from the monitoring platform within the first preset time, initialize the number of sending times i, and store the collected data in the supplementary transmission queue. If a response information is received from the monitoring platform within the first preset time, determine whether the inspection result is correct. If the inspection result is correct, return to step S61. If the inspection result is wrong, determine whether the number of sending times exceeds the first preset number. If not, return to step S62. If so, initialize the number of sending times i, and store the collected data in the supplementary transmission queue.

[0018] Further, the step S7 comprises the steps of:

[0019] S71: In response to the supplementary transmission queue having newly stored collected data, suspending the transmission of the normal transmission queue and the retransmission queue;

[0020] S72: Execute steps S3-S4 on the collected data in the supplementary transmission queue after a second preset time;

[0021] S73: If no response information is received from the monitoring platform within the first preset time, update the number of times the collected data is sent i=i++, and execute step S72. If a response information is received from the monitoring platform within the first preset time, determine whether the inspection result is correct. If the inspection result is correct, the transmission of the current collected data is terminated, and the transmission of the normal sending queue and the retransmission queue is continued. If the inspection result is wrong, update the number of times the collected data is sent i=i++, and execute step S72.

[0022] Further, the step S72 includes:

[0023] Step S721: Determine whether the sending times exceeds a second preset times;

[0024] Step S722: If yes, initialize the sending times i, and execute steps S3-S4 on the collected data in the supplementary transmission queue after switching the transmission channel; if no, execute steps S3-S4 on the collected data in the supplementary transmission queue after a second preset time.

[0025] Furthermore, the switching of the transmission channel includes closing the transmission connection of the current transmission channel, establishing a connection with a new transmission channel, and reconfiguring relevant transmission parameters.

[0026] Furthermore, the candidate transmission channels are evaluated by sending a probe packet, requesting a test response, or querying historical performance data, and a new transmission channel is determined based on the evaluation result.

[0027] Furthermore, the evaluation results can be quantitatively scored according to the response time, bandwidth utilization, and error rate of the transmission channel.

[0028] Furthermore, after receiving the information, the monitoring platform performs a redundant check on the collected data according to the same preset algorithm and compares the generated check codes. If the check codes are the same, the check result is correct, and the monitoring platform stores the collected data and returns the corresponding response information. If the check codes are different, the check result is wrong, and the monitoring platform returns the corresponding response information.

[0029] In a second aspect, the present invention provides a data transmission and processing system for industrial production monitoring, comprising:

[0030] The acquisition module stores the collected data of the monitoring device in the normal sending queue in sequence according to the collection order, and transmits the collected data in the normal sending queue in sequence;

[0031] A verification module performs redundancy verification on the collected data according to a preset algorithm to generate a verification code;

[0032] A first sending module encapsulates the collected data, the check code, the data identification code and the sending number i together and sends them to the monitoring platform, where the initial value of the sending number i is 1;

[0033] A judgment module, for judging whether a response message sent by the monitoring platform is received within a first preset time, wherein the response message includes a data identification code and a test result;

[0034] The processing module initializes the number of transmissions i if no response information sent by the monitoring platform is received within the first preset time, and stores the collected data in the supplementary transmission queue; if a response information sent by the monitoring platform is received within the first preset time, it is determined whether the inspection result is correct; if the inspection result is correct, the transmission of the current collected data ends; if the inspection result is wrong, the collected data is stored in the retransmission queue;

[0035] The second sending module, in response to the retransmission queue having newly stored collected data, starts to execute the transmission of the collected data in the retransmission queue;

[0036] The management module, in response to the newly stored collected data in the supplementary transmission queue, determines that the communication is abnormal and stops the transmission of all data.

[0037] Working principle and beneficial effects of the present invention:

[0038] In the technical solution for implementing the present invention, the collected data in the normal sending queue is first subjected to a redundancy check to generate a check code, and then packaged together with the data identification code and the number of transmissions and sent to the monitoring platform. Depending on whether the response and the inspection result from the monitoring platform are received, the data will be stored in different queues (retransmission queue or supplementary transmission queue) and wait for subsequent processing. The data in the retransmission queue will be attempted to be sent multiple times until it succeeds or reaches the first preset number limit; the appearance of the supplementary transmission queue means that the communication is abnormal, the system will terminate the transmission of other queues, and try to restore the communication. Through the above scheme, the reliability of data transmission can be effectively improved, the integrity and accuracy of industrial production monitoring data can be ensured, and a strong guarantee for the stable operation of industrial production can be provided. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the figures are used to represent similar components, among which:

[0040] Figure 1 It is a schematic flow chart of the main steps of a data transmission processing method for industrial production monitoring of the present invention;

[0041] Figure 2It is a structural block diagram of a data transmission and processing system for industrial production monitoring of the present invention;

[0042] List of reference numerals:

[0043] 11: acquisition module, 12: verification module, 13: first sending module, 14: judgment module, 15: processing module, 16: second sending module, 17: management module. DETAILED DESCRIPTION

[0044] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0045] Example 1

[0046] Figure 1 This is a schematic flow chart of the main steps of a data transmission processing method for industrial production monitoring of the present invention. Figure 1 As shown, a data transmission processing method for industrial production monitoring in an embodiment of the present invention mainly includes the following steps S1 to S7.

[0047] Step S1: The collected data of the monitoring device are stored in a normal sending queue in sequence according to the collection order, and steps S2-S5 are executed in sequence for the collected data in the normal sending queue.

[0048] In this embodiment, each group of collected data includes equipment number, operating parameters and collection time. The equipment number refers to the number unique to each sensor, and the operating parameters refer to the data collected by the sensor. Through the sensors deployed on the production line, the operating status data of the equipment on the industrial production line is collected in real time. These data may include process parameters such as temperature, pressure, flow, as well as information such as equipment operating status and product quality.

[0049] Step S2: performing redundancy check on the collected data according to a preset algorithm to generate a check code.

[0050] In this embodiment, redundancy check is a technology that detects errors in data transmission by adding redundant information. It adds specific check codes before sending data so that the receiving end can verify the integrity of the data based on these check codes. If the data is tampered with or damaged during transmission, the receiving end can find the error when performing redundancy check.

[0051] Step S3: Encapsulate the collected data, the check code, the data identification code and the number of transmissions i together and send them to the monitoring platform, where the initial value of the number of transmissions i is 1;

[0052] In this embodiment, before sending the data, the system will encapsulate the data in a specific format and add a check code at the end of the data packet. After receiving the information, the monitoring platform performs a redundancy check on the collected data according to the same preset algorithm and compares the generated check codes. If the check codes are the same, the check result is correct, indicating that there is no error in the data transmission process. The monitoring platform stores the collected data and returns the corresponding response information. If the check codes are different, the check result is wrong, indicating that there is an error in the data transmission process, and the monitoring platform returns the corresponding response information.

[0053] Furthermore, the monitoring platform performs pre-processing such as cleaning, denoising, and filtering on the collected data without any problems to ensure the reliability and quality of the data. Then, the data is processed and analyzed according to actual needs to generate monitoring reports or early warning information. The processed data or analysis results are displayed to the operator through a visual interface, or the production equipment is adjusted and optimized through the automatic control system.

[0054] Step S4: Determine whether a response message sent by the monitoring platform is received within a first preset time, wherein the response message includes a data identification code and a test result.

[0055] Data distortion usually refers to the change in the content of the transmitted data, resulting in the received data being inconsistent with the original data, usually due to factors such as noise, interference or signal attenuation in the network. Data loss refers to the complete loss of data during transmission and its complete failure to reach the receiving end, which is usually related to more serious network problems such as network outages, connection problems or equipment failures.

[0056] In this embodiment, whether the current collected data transmission has a data loss problem can be determined by whether the response information is received, and whether the current collected data transmission has a data distortion problem can be determined by the inspection result.

[0057] Step S5: If the response information sent by the monitoring platform is not received within the first preset time, the number of transmissions i is initialized, and the collected data is stored in the retransmission queue. If the response information sent by the monitoring platform is received within the first preset time, it is determined whether the test result is correct. If the test result is correct, the transmission of the current collected data ends. If the test result is wrong, the collected data is stored in the retransmission queue. The first preset time is to ensure that the monitoring platform has enough time to process the received data and return a response, and is set by the deployment personnel according to actual needs.

[0058] In this embodiment, if the response information is not received, it means that the data is lost, indicating that the network is interrupted or the equipment fails at this time, and the communication environment is poor. Therefore, the collected data is directly stored in the retransmission queue. If the response information sent by the monitoring platform is received within the first preset time and the test result is correct, it can be judged that the current network is normal and the transmission of the current collected data is successful. If the response information sent by the monitoring platform is received within the first preset time and the test result is wrong, it means that the data is distorted, indicating that the network is fluctuating at this time. At this time, the collected data is stored in the retransmission queue, and it is judged whether it is a short-term network fluctuation or a long-term network fluctuation according to the first preset number of times, and processed separately.

[0059] Step S6: In response to the retransmission queue having newly stored collected data, start to transmit the collected data in the retransmission queue. Specifically, the steps include:

[0060] S61: Get the collected data at the first position in the retransmission queue

[0061] S62: Update the number of times the collected data is sent i=i++, and execute steps S3-S4;

[0062] S63: If no response information is received from the monitoring platform within the first preset time, the number of transmissions is initialized, and the collected data is stored in the supplementary transmission queue. If a response information is received from the monitoring platform within the first preset time, it is determined whether the inspection result is correct. If the inspection result is correct, the transmission of the current collected data is completed, and the process returns to step S61 (here, the process returns to step S61 to execute the new collected data that is in the first position waiting for retransmission). If the inspection result is wrong, it is determined whether the number of transmissions exceeds the first preset number. If not, the process returns to step S62. If so, the number of transmissions i is initialized, and the collected data is stored in the supplementary transmission queue.

[0063] In this embodiment, when the same collected data cannot be correctly obtained after being retransmitted a first preset number of times, it is determined that the current network fluctuation time is long and the impact range is large. At this time, the collected data that has not been successfully transmitted is also stored in the supplementary transmission queue.

[0064] Step S7: In response to the new collected data being stored in the supplementary transmission queue, it is determined that the communication is abnormal and the transmission of all data is terminated. Specifically, the steps include:

[0065] S71: In response to the supplementary transmission queue having newly stored collected data, suspending the transmission of the normal transmission queue and the retransmission queue;

[0066] S72: After a second preset time, execute steps S3-S4 on the collected data in the supplementary transmission queue.

[0067] S73: If the response information sent by the monitoring platform is not received within the first preset time, the number of times the collected data is sent is updated i=i++, and step S72 is executed. If the response information sent by the monitoring platform is received within the first preset time, it is determined whether the test result is correct. If the test result is correct, the transmission of the current collected data ends, and the transmission of the normal transmission queue and the retransmission queue continues. If the test result is wrong, the number of times the collected data is sent is updated i=i++, and step S72 is executed. Among them, the second preset time is a period of waiting for the communication to return to normal, and then try to send data again.

[0068] In this embodiment, the supplementary transmission queue not only serves as a queue for data transmission, but also reflects the severity of the current communication environment. Since the collected data stored in the supplementary transmission queue is due to transmission failure caused by network interruption, equipment failure or long-term network fluctuation, when there is collected data in the supplementary transmission queue, it means that the current communication environment is poor, and the messages in the subsequent normal sending queue and retransmission queue may fail to be sent. In order to avoid unnecessary network congestion or waste of resources, all data transmission is interrupted at this time.

[0069] Furthermore, in order to avoid the situation where communication is not restored for a long time, the number of transmissions is restricted again in the supplementary transmission queue. Step S72 includes:

[0070] Step S721: Determine whether the sending times exceeds a second preset times;

[0071] Step S722: If yes, initialize the sending times i, and execute steps S3-S4 on the collected data in the supplementary transmission queue after switching the transmission channel; if no, execute steps S3-S4 on the collected data in the supplementary transmission queue after a second preset time.

[0072] In this embodiment, switching the transmission channel includes closing the transmission connection of the current transmission channel, establishing a connection with a new transmission channel, and reconfiguring relevant transmission parameters. The candidate transmission channel is evaluated by sending a probe packet, requesting a test response, or querying historical performance data, and a new transmission channel is determined based on the evaluation result. The evaluation result can be quantitatively scored based on the response time, bandwidth utilization, and error rate of the transmission channel.

[0073] In this embodiment, for the normal sending queue, the next collected data can be sent without waiting for the response information of the previous collected data; for the retransmission queue, the next collected data can be sent only after the previous collected data is successfully transmitted.

[0074] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order, and they can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.

[0075] Based on the above steps S1 to S7, this embodiment has the following advantages in data transmission:

[0076] 1. The existing mechanism may simply resend the data without distinguishing the factors of transmission failure, and there is no clear record and limit on the number of transmissions. This embodiment handles the two situations of data loss and data distortion separately, introduces the number of transmissions, and updates it at each retransmission, so as to achieve accurate tracking of the number of transmissions. When the number of transmissions exceeds the preset value or no response information is received, the data will be transferred to the retransmission queue, indicating that the communication environment is very poor, avoiding infinite retransmissions and failed transmissions of normal collection data.

[0077] 2. The existing mechanism may only put the data to be retransmitted in a list without a clear queue structure. This embodiment uses the normal transmission queue, retransmission queue and supplementary transmission queue to achieve classified management of data in different states. This queue management method makes data processing more orderly and efficient.

[0078] 3. The existing mechanism may lack the ability to detect and handle communication anomalies. This embodiment monitors the status of the supplementary transmission queue to determine whether a communication anomaly occurs, and when an anomaly occurs, the transmission of other queues is suspended, focusing on processing the supplementary transmission data. This is to avoid unnecessary network congestion or waste of resources.

[0079] Example 2

[0080] Figure 2 This is a structural block diagram of a data transmission processing system for industrial production monitoring of the present invention, such as Figure 2 As shown, in this embodiment, a data transmission and processing system for industrial production monitoring mainly includes:

[0081] The acquisition module 11 stores the collected data of the monitoring device in a normal sending queue in sequence according to the collection order, and transmits the collected data in the normal sending queue in sequence;

[0082] The verification module 12 performs redundancy verification on the collected data according to a preset algorithm to generate a verification code;

[0083] The first sending module 13 encapsulates the collected data, the check code, the data identification code and the sending number i together and sends them to the monitoring platform, where the initial value of the sending number i is 1;

[0084] A judgment module 14 is used to judge whether a response message sent by the monitoring platform is received within a first preset time, wherein the response message includes a data identification code and a test result;

[0085] Processing module 15, if no response information sent by the monitoring platform is received within the first preset time, initialize the sending number i, store the collected data in the supplementary transmission queue, if the response information sent by the monitoring platform is received within the first preset time, determine whether the inspection result is correct, if the inspection result is correct, the transmission of the current collected data ends, if the inspection result is wrong, store the collected data in the retransmission queue;

[0086] The second sending module 16, in response to the retransmission queue having newly stored collected data, starts to execute the transmission of the collected data in the retransmission queue;

[0087] The management module 17, in response to the new collected data stored in the supplementary transmission queue, determines that the communication is abnormal and stops the transmission of all data.

[0088] In some embodiments, one or more of the acquisition module 11, the verification module 12, the first sending module 13, the determination module 14, the processing module 15, the second sending module 16 and the management module 17 may be combined into one module.

[0089] In one implementation, the description of the specific functions implemented by the acquisition module 11 can be referred to as described in step S1; the description of the specific functions implemented by the verification module 12 can be referred to as described in step S2; the description of the specific functions implemented by the first sending module 13 can be referred to as described in step S3; the description of the specific functions implemented by the judgment module 14 can be referred to as described in step S4; the description of the specific functions implemented by the processing module 15 can be referred to as described in step S5; the description of the specific functions implemented by the second sending module 16 can be referred to as described in step S6; the description of the specific functions implemented by the management module 17 can be referred to as described in step S7.

[0090] The above-mentioned data transmission processing system for industrial production monitoring is used to perform Figure 1 The embodiment of a data transmission processing method for industrial production monitoring shown in the figure has similar technical principles, technical problems solved and technical effects produced. Technical personnel in this technical field can clearly understand that for the convenience and conciseness of description, the specific working process and related instructions of a data transmission processing system for industrial production monitoring can refer to the contents described in the embodiment of a data transmission processing method for industrial production monitoring, which will not be repeated here.

[0091] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A data transmission and processing method for industrial production monitoring, characterized in that: The following steps are involved: S1: storing the collected data of the monitoring device in a normal sending queue in the order of collection, and executing steps S2-S5 in sequence for the collected data in the normal sending queue; S2: Perform redundancy check on the collected data according to a preset algorithm to generate a check code; S3: Encapsulate the collected data, the check code, the data identification code and the number of transmissions i together and send them to the monitoring platform, where the initial value of the number of transmissions i is 1; S4: Determine whether a response message sent by the monitoring platform is received within a first preset time, wherein the response message includes a data identification code and a test result; S5: If the response information sent by the monitoring platform is not received within the first preset time, the sending number i is initialized, and the collected data is stored in the supplementary transmission queue. If the response information sent by the monitoring platform is received within the first preset time, it is determined whether the inspection result is correct. If the inspection result is correct, the transmission of the current collected data ends. If the inspection result is wrong, the collected data is stored in the retransmission queue. S6: in response to the retransmission queue having newly stored collected data, starting to execute the transmission of the collected data in the retransmission queue; S7: In response to the fact that there is newly stored collected data in the supplementary transmission queue, it is determined that communication is abnormal, and the transmission of all data is terminated; For the normal sending queue, the next collected data can be sent without waiting for the response information of the previous collected data; for the retransmission queue, the next collected data can be sent only after the previous collected data is successfully transmitted; The step S6 comprises the steps of: S61: Obtain the collected data at the first position of the retransmission queue; S62: Update the number of times the collected data is sent i=i++, and execute steps S3-S4; S63: If the response information sent by the monitoring platform is not received within the first preset time, the sending number i is initialized, and the collected data is stored in the supplementary transmission queue. If the response information sent by the monitoring platform is received within the first preset time, it is determined whether the inspection result is correct. If the inspection result is correct, return to step S61. If the inspection result is wrong, it is determined whether the sending number exceeds the first preset number. If not, return to step S62. If so, initialize the sending number i and store the collected data in the supplementary transmission queue. The step S7 comprises the steps of: S71: In response to the supplementary transmission queue having newly stored collected data, suspending the transmission of the normal transmission queue and the retransmission queue; S72: Execute steps S3-S4 on the collected data in the supplementary transmission queue after a second preset time; S73: If no response information is received from the monitoring platform within the first preset time, update the number of times the collected data is sent i=i++, and execute step S72. If a response information is received from the monitoring platform within the first preset time, determine whether the inspection result is correct. If the inspection result is correct, the transmission of the current collected data is terminated, and the transmission of the normal sending queue and the retransmission queue is continued. If the inspection result is wrong, update the number of times the collected data is sent i=i++, and execute step S72.

2. The data transmission and processing method for industrial production monitoring according to claim 1 is characterized in that: The step S72 comprises: Step S721: Determine whether the sending times exceeds a second preset times; Step S722: If yes, initialize the sending times i, and execute steps S3-S4 on the collected data in the supplementary transmission queue after switching the transmission channel; if no, execute steps S3-S4 on the collected data in the supplementary transmission queue after a second preset time.

3. The data transmission and processing method for industrial production monitoring according to claim 2 is characterized in that: The switching of the transmission channel includes closing the transmission connection of the current transmission channel, establishing a connection with a new transmission channel, and reconfiguring related transmission parameters.

4. The data transmission and processing method for industrial production monitoring according to claim 3 is characterized in that: The candidate transmission channels are evaluated by sending probe packets, requesting test responses, or querying historical performance data, and a new transmission channel is determined based on the evaluation results.

5. The data transmission and processing method for industrial production monitoring according to claim 4 is characterized in that: The evaluation results are quantitatively scored based on the response time, bandwidth utilization, and error rate of the transmission channel.

6. The data transmission and processing method for industrial production monitoring according to claim 1, characterized in that: After receiving the information, the monitoring platform performs redundancy check on the collected data according to the same preset algorithm and compares the generated check codes. If the check codes are the same, the check result is correct and the monitoring platform stores the collected data and returns the corresponding response information. If the check codes are different, the check result is wrong and the monitoring platform returns the corresponding response information.

7. A data transmission and processing system for industrial production monitoring, characterized in that: include: The acquisition module stores the collected data of the monitoring device in the normal sending queue in sequence according to the collection order, and transmits the collected data in the normal sending queue in sequence; A verification module performs redundancy verification on the collected data according to a preset algorithm to generate a verification code; A first sending module encapsulates the collected data, the check code, the data identification code and the sending number i together and sends them to the monitoring platform, where the initial value of the sending number i is 1; A judgment module, for judging whether a response message sent by the monitoring platform is received within a first preset time, wherein the response message includes a data identification code and a test result; The processing module initializes the number of transmissions i if no response information sent by the monitoring platform is received within the first preset time, and stores the collected data in the supplementary transmission queue; if a response information sent by the monitoring platform is received within the first preset time, it is determined whether the inspection result is correct; if the inspection result is correct, the transmission of the current collected data ends; if the inspection result is wrong, the collected data is stored in the retransmission queue; The second sending module, in response to the retransmission queue having newly stored collected data, starts to execute the transmission of the collected data in the retransmission queue; The management module, in response to the newly stored collected data in the supplementary transmission queue, determines that the communication is abnormal and stops the transmission of all data; For the normal sending queue, the next collected data can be sent without waiting for the response information of the previous collected data; for the retransmission queue, the next collected data can be sent only after the previous collected data is successfully transmitted; In response to the retransmission queue having newly stored collected data, starting to execute the transmission of the collected data in the retransmission queue comprises the steps of: S61: Obtain the collected data at the first position of the retransmission queue; S62: updating the number of times the collected data is sent i=i++, and returning to the execution steps of the first sending module and the judgment module; S63: If the response information sent by the monitoring platform is not received within the first preset time, the sending number i is initialized, and the collected data is stored in the supplementary transmission queue. If the response information sent by the monitoring platform is received within the first preset time, it is determined whether the inspection result is correct. If the inspection result is correct, return to step S61. If the inspection result is wrong, it is determined whether the sending number exceeds the first preset number. If not, return to step S62. If so, initialize the sending number i and store the collected data in the supplementary transmission queue. In response to the newly stored collected data in the supplementary transmission queue, it is determined that the communication is abnormal, and the transmission of all data is terminated, including the steps of: S71: In response to the supplementary transmission queue having newly stored collected data, suspending the transmission of the normal transmission queue and the retransmission queue; S72: after a second preset time, returning the collected data in the supplementary transmission queue to the first sending module and the execution step of the judgment module; S73: If no response information is received from the monitoring platform within the first preset time, update the number of times the collected data is sent i=i++, and execute step S72. If a response information is received from the monitoring platform within the first preset time, determine whether the inspection result is correct. If the inspection result is correct, the transmission of the current collected data is terminated, and the transmission of the normal sending queue and the retransmission queue is continued. If the inspection result is wrong, update the number of times the collected data is sent i=i++, and execute step S72.

Citation Information

Patent Citations

  • UDP (User Datagram Protocol) based data transmission method

    CN101778093A

  • Design method of communication protocol based on serial port communication

    CN112910856A