Oil drilling machine edge data dynamic acquisition and transmission system and acquisition and transmission method
By using the dynamic data acquisition and transmission system at the edge of the oil drilling rig, the acquisition cycle and threshold are adjusted according to the sensitivity of data changes and transmission conditions, which solves the problems of large data acquisition volume and large transmission flow, and realizes efficient data transmission and storage optimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2026-03-24
AI Technical Summary
Existing IoT systems for oil drilling rigs suffer from problems such as large data acquisition volumes, high data transmission bandwidth consumption, and large data storage capacity.
A dynamic data acquisition and transmission system for the edge of oil drilling rigs is adopted. Through the combination of acquisition timing module, acquisition rule discrimination module, data acquisition module, protocol management module, transmission rule discrimination module and data transmission module, the data acquisition cycle and transmission threshold are adjusted according to the sensitivity of data changes and transmission conditions. A maximum data transmission time interval and response mechanism are added to ensure data integrity.
It effectively reduces the performance requirements of data acquisition equipment, reduces data transmission traffic and cloud platform storage capacity requirements, and ensures the integrity and reliability of data during transmission.
Smart Images

Figure CN121728097A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of Internet of Things (IoT) technology for petroleum equipment, specifically relating to a dynamic data acquisition and transmission system for the edge of oil drilling rigs, and a method for dynamic data acquisition and transmission using the aforementioned dynamic data acquisition and transmission system for the edge of oil drilling rigs. Background Technology
[0002] Oil drilling rigs are complex oil drilling equipment composed of various devices. The Internet of Things (IoT) system for these rigs monitors numerous devices, resulting in an enormous volume of data collected. Furthermore, drilling rigs often operate in remote areas across the country, and data transmission from the edge of the IoT system to the cloud platform primarily relies on 4G wireless networks. However, the current data collection volume is large, and the real-time requirements are high; a single rig can collect billions of data points per month, leading to high performance requirements for edge data acquisition equipment, large data transmission volumes, and significant data storage pressure on the cloud platform. Therefore, this paper proposes a new IoT system for drilling rigs to address these issues. Summary of the Invention
[0003] The purpose of this invention is to provide a dynamic data acquisition and transmission system for the edge of oil drilling rigs, which solves the technical problems of large data acquisition volume, large transmission bandwidth consumption, and large data storage capacity in the prior art.
[0004] Another objective of this invention is to provide a method for dynamic data acquisition and transmission using the aforementioned oil drilling rig edge data dynamic acquisition and transmission system.
[0005] The first technical solution adopted in this invention is a dynamic data acquisition and transmission system for the edge of an oil drilling rig, including an acquisition timing module, an acquisition rule discrimination module connected to an acquisition rule discrimination module via a signal, a data acquisition module connected to a data acquisition module via a signal, a protocol management module connected to a protocol management module via a signal, a transmission rule discrimination module and a data transmission module connected to the protocol management module via signals, and a transmission rule discrimination module and a transmission timing module connected to the transmission rule discrimination module via signals.
[0006] The data transmission module is also connected to the cloud platform via signal, and the data acquisition module is also connected to the drilling equipment via signal.
[0007] The second technical solution adopted in this invention is to utilize the aforementioned dynamic acquisition and transmission system for edge data of oil drilling rigs, and the specific steps are as follows:
[0008] S1. The dynamic data acquisition and transmission program at the edge of the oil drilling rig loads all data acquisition and transmission rules.
[0009] S2. The data acquisition module performs the first data acquisition. After the data is processed by the protocol management module, it is transmitted to the transmission rule discrimination module and recorded as the original value. The data transmission module executes a transmission procedure once.
[0010] S3. The data collection rule judgment module generates a collection list. The data collection module performs a second data collection based on the collection list and transmits it to the protocol management module. The protocol management module processes the data and transmits it to the transmission rule judgment module to obtain the second collection data.
[0011] S4. Compare the second collected data with the original value, obtain the data that can be transmitted, and replace the original value to obtain a new original value;
[0012] S5. The transmission timing module refreshes the maximum transmission timestamp of the new original value. The data transmission module executes a transmission procedure on the new original value and determines whether to obtain the receiving flag returned by the cloud platform. If no receiving flag is received from the cloud platform, the data is cached and the transmission procedure is executed periodically until the receiving flag is obtained from the cloud platform.
[0013] The invention is further characterized by:
[0014] The data acquisition and transmission rules in S1 include data name, data address, acquisition period, minimum range value, maximum range value, transmission threshold, maximum transmission interval, acquisition communication protocol, and transmission communication protocol.
[0015] The data acquisition timing module loads the acquisition cycle, the data acquisition module loads the data address and acquisition communication protocol, the transmission rule discrimination module loads the transmission threshold, data name, minimum range value and maximum range value, the transmission timing module loads the maximum transmission interval, and the data transmission module loads the transmission communication protocol.
[0016] The acquisition period is set to an integer multiple of the minimum acquisition period; the transmission threshold is set to a positive number and must not exceed the absolute value of the difference between the maximum and minimum data range; the maximum transmission interval is set to an integer multiple of the acquisition period.
[0017] The specific method for S2 is as follows:
[0018] The data acquisition module collects all data for the first time and transmits all data to the protocol management module in the form of data packets for the first time. The protocol management module decodes the first data packets according to the acquisition communication protocol and transmits the decoded data to the transmission rule judgment module. The transmission rule judgment module records the first collected data as the original value, and the data transmission module executes a transmission procedure.
[0019] The specific method for S3 is as follows:
[0020] S3.1 The transmission timing module refreshes the maximum data transmission timestamp and sends the maximum transmission interval to the transmission rule discrimination module;
[0021] S3.2 The data collection timing module determines whether the data collection time has expired. If it has expired, it refreshes the data collection timestamp and sends it to the data collection rule discrimination module.
[0022] S3.3 The data collection rule judgment module determines whether to collect data based on the data collection timestamp. If the data collection time has arrived, the data is added to the collection list and the collection list is sent to the data collection module. The data collection module executes the collection procedure once for all the data in the collection list and sends the collected data to the protocol management module a second time in the form of data packets.
[0023] S3.4 The protocol management module decodes the second data packet and sends the decoded data to the transmission rule discrimination module. The transmission rule discrimination module compares the second collected data with its original value to determine whether the current data needs to be transmitted and obtains the data that needs to be transmitted as the new original value.
[0024] The specific method for determining whether current data needs to be transmitted in S3.4 is as follows:
[0025] If the absolute value of the difference between the second collected data and the original value is greater than or equal to the transmission threshold, the transmission rule discrimination module will add the second collected data to the transmission list and replace the original value with the second collected data as the new original value.
[0026] If the absolute value of the difference between the second collected data and the original value is less than the transmission threshold, the transmission rule discrimination module will detect the maximum transmission interval. If the maximum transmission interval has not been reached, S3.2 will be executed. If the maximum transmission interval has been reached, the transmission rule discrimination module will add the second collected data to the transmission list and replace the original value with the second collected data as the new original value.
[0027] The specific method for S5 is as follows:
[0028] S5.1 The transmission timing module refreshes the maximum transmission timestamp of the data added to the transmission list and sends the new maximum transmission timestamp to the transmission rule discrimination module;
[0029] S5.2 The protocol management module encodes the data added to the transmission list, the data transmission module executes the transmission procedure once, and returns to the execution step S3.3;
[0030] S5.3 The data transmission module determines whether it has obtained the receiving flag sent by the cloud platform. If it has not received the receiving flag sent by the cloud platform, it caches the data and executes the transmission program once periodically until it obtains the receiving flag sent by the cloud platform.
[0031] The beneficial effects of this invention are:
[0032] (1) The data acquisition and transmission system of the present invention adjusts the data acquisition cycle according to the sensitivity of data changes, which effectively reduces the data acquisition pressure and the performance requirements of data acquisition equipment.
[0033] (2) The data acquisition and transmission system of the present invention adjusts the data transmission decision conditions according to the sensitivity of data changes, which greatly reduces the data transmission traffic and the data storage capacity requirements of the platform.
[0034] (3) The present invention incorporates the maximum data transmission time interval as a data transmission guarantee element into the data acquisition and transmission system to ensure the data integrity on the cloud platform.
[0035] (4) The present invention incorporates a response mechanism and a breakpoint resume mechanism during the data transmission process of the data acquisition and transmission system to ensure that data is not lost during transmission;
[0036] (5) The data acquisition and transmission system of the present invention can realize dynamic data acquisition and data compression transmission while ensuring that the data on the cloud platform of the Internet of Things system of oil drilling rig is not distorted. This can greatly reduce the performance requirements of edge data acquisition equipment, save data transmission traffic, and save data storage capacity on the platform. Attached Figure Description
[0037] Figure 1 This is a schematic diagram of the dynamic acquisition and transmission method for edge data of oil drilling rigs according to the present invention;
[0038] Figure 2 Functional diagram of the dynamic acquisition and transmission method for edge data of oil drilling rigs of the present invention.
[0039] In the diagram, 1. Acquisition timing module, 2. Acquisition rule discrimination module, 3. Data acquisition module, 4. Transmission rule discrimination module, 5. Transmission timing module, 6. Data transmission module, and 7. Protocol management module. Detailed Implementation
[0040] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.
[0041] Oil drilling rig edge data dynamic acquisition and transmission system, such as Figure 1 As shown, it includes a data acquisition timing module 1, which is connected to a data acquisition rule discrimination module 2 via a signal. The data acquisition rule discrimination module 2 is connected to a data acquisition module 3 via a signal. The data acquisition module 3 is connected to a protocol management module 7 via a signal. The protocol management module 7 is connected to a transmission rule discrimination module 4 and a data transmission module 6 via signals. The transmission rule discrimination module 4 is also connected to a transmission timing module 5 via a signal.
[0042] The data transmission module 6 is also connected to a cloud platform via a signal, and the data acquisition module 3 is also connected to a drilling rig via a signal.
[0043] Among them, the data acquisition timing module 1 updates the next data acquisition time in real time and sends the next data acquisition time to the data acquisition rule discrimination module 2;
[0044] The data collection rule judgment module 2 determines whether to collect data based on the next data collection time, generates a data collection list, and sends the data collection list to the data collection module 3;
[0045] Data acquisition module 3 is responsible for connecting the edge end with each piece of equipment of the drilling rig, establishing network communication, collecting equipment data according to the data acquisition list, and transmitting the collected equipment data to protocol management module 7 in the form of data packets.
[0046] On the one hand, the protocol management module 7 decodes the data packets collected by the data acquisition module 3 according to the data acquisition protocol and transmits the decoded data to the transmission rule discrimination module 4. On the other hand, according to the list of data to be transmitted and the data protocol to be sent transmitted back by the transmission rule discrimination module 4, the module encodes the data to be transmitted and transmits the encoded data packets to the data transmission module 6.
[0047] The transmission timing module 5 updates the maximum data transmission interval in real time and sends the maximum transmission interval to the transmission rule discrimination module 4.
[0048] The transmission rule judgment module 4 comprehensively judges whether the data should be transmitted based on the range of data changes, historical transmission records, and maximum transmission interval, and sends the list of data to be transmitted to the protocol management module 7.
[0049] The data transmission module 6 is responsible for the network connection between the edge device and the cloud platform, and sends the data in the data list to the cloud platform.
[0050] Methods for dynamic acquisition and transmission of edge data from oil drilling rigs, such as... Figure 2 As shown, the above-mentioned dynamic acquisition and transmission system for edge data of oil drilling rigs is used, and the specific steps are as follows:
[0051] S1. The dynamic data acquisition and transmission program at the edge of the oil drilling rig loads all data acquisition and transmission rules.
[0052] The data acquisition and transmission rules include data name, data address, acquisition period, minimum range, maximum range, transmission threshold, maximum transmission interval, acquisition communication protocol, and transmission communication protocol.
[0053] The data acquisition timing module 1 loads the acquisition cycle, the data acquisition module 3 loads the data address and acquisition communication protocol, the transmission rule discrimination module 4 loads the transmission threshold, data name, minimum range value and maximum range value, the transmission timing module 5 loads the maximum transmission interval, and the data transmission module 6 loads the transmission communication protocol.
[0054] The acquisition period is set to an integer multiple of the minimum acquisition period; the transmission threshold is set to a positive number and must not exceed the absolute value of the difference between the maximum and minimum data range; the maximum transmission interval is set to an integer multiple of the acquisition period.
[0055] S2. Data acquisition module 3 performs the first data acquisition. After the data is processed by protocol management module 7, it is transmitted to transmission rule discrimination module 4 and recorded as the original value. Data transmission module 6 executes a transmission procedure, specifically as follows:
[0056] The data acquisition module 3 acquires all data for the first time and transmits all data to the protocol management module 7 in the form of data packets for the first time. The protocol management module 7 decodes the first data packets according to the acquisition communication protocol and transmits the decoded data to the transmission rule judgment module 4. The transmission rule judgment module 4 records the first acquired data as the original value, and the data transmission module 6 executes a transmission procedure.
[0057] S3. The data acquisition rule judgment module 2 generates a data acquisition list. The data acquisition module 3 performs a second data acquisition based on the data acquisition list and transmits it to the protocol management module 7. The protocol management module 7 processes the data and transmits it to the transmission rule judgment module 4 to obtain the second data acquisition. The specific method is as follows:
[0058] S3.1 Transmission timing module 5 refreshes the maximum data transmission timestamp and sends the maximum transmission interval to transmission rule discrimination module 4;
[0059] S3.2: The data collection timing module 1 determines whether the data collection time has expired. If it has expired, it refreshes the data collection timestamp and sends it to the data collection rule discrimination module 2.
[0060] S3.3: The data collection rule judgment module 2 determines whether to collect data based on the data collection timestamp. If the data collection time is up, the data is added to the collection list and the collection list is sent to the data collection module 3. The data collection module 3 executes the collection procedure once for all the data in the collection list and sends the collected data to the protocol management module 7 in the form of a data packet for the second time.
[0061] S3.4: Protocol management module 7 decodes the second data packet and sends the decoded data to transmission rule discrimination module 4. Transmission rule discrimination module 4 compares the second collected data with its original value to determine whether the current data needs to be transmitted and obtains the data to be transmitted as the new original value.
[0062] The specific method for determining whether current data needs to be transmitted is as follows:
[0063] If the absolute value of the difference between the second collected data and the original value is greater than or equal to the transmission threshold, the transmission rule discrimination module 4 will add the second collected data to the transmission list and replace the original value with the second collected data as the new original value.
[0064] If the absolute value of the difference between the second collected data and the original value is less than the transmission threshold, the transmission rule discrimination module 4 will detect the maximum transmission interval. If the maximum transmission interval has not been reached, S3.2 will be executed. If the maximum transmission interval has been reached, the transmission rule discrimination module 4 will add the second collected data to the transmission list and replace the original value with the second collected data as the new original value.
[0065] S4. Compare the second collected data with the original value, obtain the data that can be transmitted, and replace the original value to obtain a new original value;
[0066] S5. The transmission timing module 5 refreshes the maximum transmission timestamp of the new original value. The data transmission module 6 executes a transmission procedure on the new original value and determines whether a receive flag returned by the cloud platform has been obtained. If no receive flag is received from the cloud platform, the data is cached, and the transmission procedure is executed periodically until a receive flag is obtained from the cloud platform. The specific method is as follows:
[0067] S5.1: The transmission timing module 5 refreshes the maximum transmission timestamp of the data added to the transmission list and sends the new maximum transmission timestamp to the transmission rule discrimination module 4;
[0068] S5.2: Protocol management module 7 encodes the data added to the transmission list, data transmission module 6 executes a transmission procedure once, and returns to execution step S3.3;
[0069] S5.3: Data transmission module 6 determines whether to obtain the receive flag sent by the cloud platform. If no receive flag is received from the cloud platform, the data is cached and the transmission program is executed periodically until the receive flag is obtained from the cloud platform.
[0070] Example 1
[0071] Oil drilling rig edge data dynamic acquisition and transmission system, such as Figure 1As shown, it includes a data acquisition timing module 1, which is connected to a data acquisition rule discrimination module 2 via a signal. The data acquisition rule discrimination module 2 is connected to a data acquisition module 3 via a signal. The data acquisition module 3 is connected to a protocol management module 7 via a signal. The protocol management module 7 is connected to a transmission rule discrimination module 4 and a data transmission module 6 via signals. The transmission rule discrimination module 4 is also connected to a transmission timing module 5 via a signal.
[0072] The data transmission module 6 is also connected to a cloud platform via a signal, and the data acquisition module 3 is also connected to a drilling rig via a signal.
[0073] Among them, the data acquisition timing module 1 updates the next data acquisition time in real time and sends the next data acquisition time to the data acquisition rule discrimination module 2;
[0074] The data collection rule judgment module 2 determines whether to collect data based on the next data collection time, generates a data collection list, and sends the data collection list to the data collection module 3;
[0075] Data acquisition module 3 is responsible for connecting the edge end with each piece of equipment of the drilling rig, establishing network communication, collecting equipment data according to the data acquisition list, and transmitting the collected equipment data to protocol management module 7 in the form of data packets.
[0076] On the one hand, the protocol management module 7 decodes the data packets collected by the data acquisition module 3 according to the data acquisition protocol and transmits the decoded data to the transmission rule discrimination module 4. On the other hand, according to the list of data to be transmitted and the data protocol to be sent transmitted back by the transmission rule discrimination module 4, the module encodes the data to be transmitted and transmits the encoded data packets to the data transmission module 6.
[0077] The transmission timing module 5 updates the maximum data transmission interval in real time and sends the maximum transmission interval to the transmission rule discrimination module 4.
[0078] The transmission rule judgment module 4 comprehensively judges whether the data should be transmitted based on the range of data changes, historical transmission records, and maximum transmission interval, and sends the list of data to be transmitted to the protocol management module 7.
[0079] The data transmission module 6 is responsible for the network connection between the edge device and the cloud platform, and sends the data in the data list to the cloud platform.
[0080] Example 2
[0081] The specific steps for dynamically acquiring and transmitting edge data from oil drilling rigs are as follows:
[0082] S1. The dynamic data acquisition and transmission program at the edge of the oil drilling rig loads all data acquisition and transmission rules.
[0083] S2. The data acquisition module 3 performs the first data acquisition. The data is processed by the protocol management module 7 and then transmitted to the transmission rule discrimination module 4, where it is recorded as the original value. The data transmission module 6 executes a transmission procedure once.
[0084] S3. The data collection rule judgment module 2 forms a collection list. The data collection module 3 performs a second data collection based on the collection list and transmits it to the protocol management module 7. The protocol management module 7 processes the data and transmits it to the transmission rule judgment module 4 to obtain the second collection data.
[0085] S4. Compare the second collected data with the original value, obtain the data that can be transmitted, and replace the original value to obtain a new original value;
[0086] S5, the transmission timing module 5 refreshes the maximum transmission timestamp of the new original value, the data transmission module 6 executes a transmission procedure on the new original value, and determines whether to obtain the receiving flag returned by the cloud platform. If no receiving flag is received from the cloud platform, the data is cached and the transmission procedure is executed periodically until the receiving flag is obtained from the cloud platform.
[0087] Example 3
[0088] Methods for dynamic acquisition and transmission of edge data from oil drilling rigs, such as... Figure 2 As shown, the specific steps are as follows:
[0089] S1. The dynamic data acquisition and transmission program at the edge of the oil drilling rig loads all data acquisition and transmission rules.
[0090] The data acquisition and transmission rules include data name, data address, acquisition period, minimum range, maximum range, transmission threshold, maximum transmission interval, acquisition communication protocol, and transmission communication protocol.
[0091] S2. Data acquisition module 3 performs the first data acquisition. After the data is processed by protocol management module 7, it is transmitted to transmission rule discrimination module 4 and recorded as the original value. Data transmission module 6 executes a transmission procedure, specifically as follows:
[0092] The data acquisition module 3 acquires all data for the first time and transmits all data to the protocol management module 7 in the form of data packets for the first time. The protocol management module 7 decodes the first data packets according to the acquisition communication protocol and transmits the decoded data to the transmission rule judgment module 4. The transmission rule judgment module 4 records the first acquired data as the original value, and the data transmission module 6 executes a transmission procedure.
[0093] S3. The data acquisition rule judgment module 2 generates a data acquisition list. The data acquisition module 3 performs a second data acquisition based on the data acquisition list and transmits it to the protocol management module 7. The protocol management module 7 processes the data and transmits it to the transmission rule judgment module 4 to obtain the second data acquisition. The specific method is as follows:
[0094] S3.1 Transmission timing module 5 refreshes the maximum data transmission timestamp and sends the maximum transmission interval to transmission rule discrimination module 4;
[0095] S3.2: The data collection timing module 1 determines whether the data collection time has expired. If it has expired, it refreshes the data collection timestamp and sends it to the data collection rule discrimination module 2.
[0096] S3.3: The data collection rule judgment module 2 determines whether to collect data based on the data collection timestamp. If the data collection time is up, the data is added to the collection list and the collection list is sent to the data collection module 3. The data collection module 3 executes the collection procedure once for all the data in the collection list and sends the collected data to the protocol management module 7 in the form of a data packet for the second time.
[0097] S3.4: Protocol management module 7 decodes the second data packet and sends the decoded data to transmission rule discrimination module 4. Transmission rule discrimination module 4 compares the second collected data with its original value to determine whether the current data needs to be transmitted and obtains the data to be transmitted as the new original value.
[0098] The specific method for determining whether current data needs to be transmitted is as follows:
[0099] If the absolute value of the difference between the second collected data and the original value is greater than or equal to the transmission threshold, the transmission rule discrimination module 4 will add the second collected data to the transmission list and replace the original value with the second collected data as the new original value.
[0100] If the absolute value of the difference between the second collected data and the original value is less than the transmission threshold, the transmission rule discrimination module 4 will detect the maximum transmission interval. If the maximum transmission interval has not been reached, S3.2 will be executed. If the maximum transmission interval has been reached, the transmission rule discrimination module 4 will add the second collected data to the transmission list and replace the original value with the second collected data as the new original value.
[0101] S4. Compare the second collected data with the original value, obtain the data that can be transmitted, and replace the original value to obtain a new original value;
[0102] S5. The transmission timing module 5 refreshes the maximum transmission timestamp of the new original value. The data transmission module 6 executes a transmission procedure on the new original value and determines whether a receive flag returned by the cloud platform has been obtained. If no receive flag is received from the cloud platform, the data is cached, and the transmission procedure is executed periodically until a receive flag is obtained from the cloud platform. The specific method is as follows:
[0103] S5.1: The transmission timing module 5 refreshes the maximum transmission timestamp of the data added to the transmission list and sends the new maximum transmission timestamp to the transmission rule discrimination module 4;
[0104] S5.2: Protocol management module 7 encodes the data added to the transmission list, data transmission module 6 executes a transmission procedure once, and returns to execution step S3.3;
[0105] S5.3: Data transmission module 6 determines whether to obtain the receive flag sent by the cloud platform. If no receive flag is received from the cloud platform, the data is cached and the transmission program is executed periodically until the receive flag is obtained from the cloud platform.
Claims
1. A dynamic data acquisition and transmission system for the edge of an oil drilling rig, characterized in that, It includes a data acquisition timing module (1), which is connected to a data acquisition rule discrimination module (2) via a signal. The data acquisition rule discrimination module (2) is connected to a data acquisition module (3) via a signal. The data acquisition module (3) is connected to a protocol management module (7) via a signal. The protocol management module (7) is connected to a transmission rule discrimination module (4) and a data transmission module (6) via signals. The transmission rule discrimination module (4) is also connected to a transmission timing module (5) via a signal. The data transmission module (6) is also connected to a cloud platform via a signal, and the data acquisition module (3) is also connected to a drilling rig via a signal.
2. A method for dynamic acquisition and transmission of edge data of oil drilling rigs, characterized in that, The oil drilling rig edge data dynamic acquisition and transmission system described in claim 1 is used, and the specific steps are as follows: S1. The dynamic data acquisition and transmission program at the edge of the oil drilling rig loads all data acquisition and transmission rules. S2. The data acquisition module (3) performs the first data acquisition. The data is processed by the protocol management module (7) and then transmitted to the transmission rule discrimination module (4), where it is recorded as the original value. The data transmission module (6) executes a transmission procedure. S3. The data collection rule discrimination module (2) forms a collection list. The data collection module (3) performs a second data collection based on the collection list and transmits it to the protocol management module (7). The protocol management module (7) processes the data and transmits it to the transmission rule discrimination module (4) to obtain the second collection data. S4. Compare the second collected data with the original value, obtain the data that can be transmitted, and replace the original value to obtain a new original value; S5. The transmission timing module (5) refreshes the maximum transmission timestamp of the new original value. The data transmission module (6) executes a transmission procedure on the new original value and determines whether to obtain the receiving flag returned by the cloud platform. If no receiving flag is received from the cloud platform, the data is cached and the transmission procedure is executed periodically until the receiving flag sent by the cloud platform is obtained.
3. The method for dynamic acquisition and transmission of edge data of oil drilling rigs according to claim 2, characterized in that, The data acquisition and transmission rules in S1 include data name, data address, acquisition period, minimum range value, maximum range value, transmission threshold, maximum transmission interval, acquisition communication protocol, and transmission communication protocol. The acquisition timing module (1) loads the acquisition cycle, the data acquisition module (3) loads the data address and acquisition communication protocol, the transmission rule discrimination module (4) loads the transmission threshold, data name, minimum range value and maximum range value, the transmission timing module (5) loads the maximum transmission interval, and the data transmission module (6) loads the transmission communication protocol. The acquisition period is set to an integer multiple of the minimum acquisition period; the transmission threshold is set to a positive number and must not exceed the absolute value of the difference between the maximum and minimum data range; the maximum transmission interval is set to an integer multiple of the acquisition period.
4. The method for dynamic acquisition and transmission of edge data of oil drilling rigs according to claim 3, characterized in that, The specific method of S2 is as follows: The data acquisition module (3) acquires all data for the first time and transmits all data to the protocol management module (7) in the form of data packets for the first time. The protocol management module (7) decodes the first data packet according to the acquisition communication protocol and transmits the first decoded data to the transmission rule discrimination module (4). The transmission rule discrimination module (4) records the first acquired data as the original value, and the data transmission module (6) executes a transmission procedure.
5. The method for dynamic acquisition and transmission of edge data of oil drilling rigs according to claim 3, characterized in that, The specific method of S3 is as follows: S3.1 The transmission timing module (5) refreshes the maximum data transmission timestamp and sends the maximum transmission interval to the transmission rule discrimination module (4); S3.2, Data collection timing module (1) determines whether the data collection time has expired. If it has expired, it refreshes the data collection timestamp and sends it to the data collection rule discrimination module (2). S3.3, The data collection rule judgment module (2) determines whether to collect data based on the data collection timestamp. If the data collection time is up, the data is added to the collection list and the collection list is sent to the data collection module (3). The data collection module (3) performs a collection procedure on all the data in the collection list and sends the collected data to the protocol management module (7) in the form of a data packet for the second time. S3.4 The protocol management module (7) decodes the second data packet and sends the decoded data to the transmission rule discrimination module (4). The transmission rule discrimination module (4) compares the second collected data with its original value to determine whether the current data needs to be transmitted and obtains the data to be transmitted as the new original value.
6. The method for dynamic acquisition and transmission of edge data of oil drilling rigs according to claim 5, characterized in that, The specific method for determining whether the current data needs to be transmitted in S3.4 is as follows: If the absolute value of the difference between the second collected data and the original value is greater than or equal to the transmission threshold, the transmission rule discrimination module (4) adds the second collected data to the transmission list and replaces the original value with the second collected data as the new original value. If the absolute value of the difference between the second collected data and the original value is less than the transmission threshold, the transmission rule discrimination module (4) will detect the maximum transmission interval. If the maximum transmission interval has not been reached, S3.2 will be executed. If the maximum transmission interval has been reached, the transmission rule discrimination module (4) will add the second collected data to the transmission list and replace the original value with the second collected data as the new original value.
7. The method for dynamic acquisition and transmission of edge data of oil drilling rigs according to claim 6, characterized in that, The specific method of S5 is as follows: S5.1 The transmission timing module (5) refreshes the maximum transmission timestamp of the data added to the transmission list and sends the new maximum transmission timestamp to the transmission rule discrimination module (4); S5.2, The protocol management module (7) encodes the data added to the transmission list, and the data transmission module (6) executes a transmission procedure once and returns to the execution step S3.3; S5.3 The data transmission module (6) determines whether to obtain the receiving flag sent by the cloud platform. If the receiving flag sent by the cloud platform is not received, the data is cached and the transmission program is executed periodically until the receiving flag sent by the cloud platform is obtained.