CN110958190A - Industrial Internet of things data real-time uploading method based on edge computing gateway - Google Patents

Industrial Internet of things data real-time uploading method based on edge computing gateway Download PDF

Info

Publication number
CN110958190A
CN110958190A CN201911187473.6A CN201911187473A CN110958190A CN 110958190 A CN110958190 A CN 110958190A CN 201911187473 A CN201911187473 A CN 201911187473A CN 110958190 A CN110958190 A CN 110958190A
Authority
CN
China
Prior art keywords
uploading
data
current
period
polling
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.)
Pending
Application number
CN201911187473.6A
Other languages
Chinese (zh)
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.)
Shanghai Siic Longchuang Smarter Energy Technology Co ltd
Original Assignee
Shanghai Siic Longchuang Smarter Energy 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 Shanghai Siic Longchuang Smarter Energy Technology Co ltd filed Critical Shanghai Siic Longchuang Smarter Energy Technology Co ltd
Priority to CN201911187473.6A priority Critical patent/CN110958190A/en
Publication of CN110958190A publication Critical patent/CN110958190A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • H04L47/6225Fixed service order, e.g. Round Robin
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1685Details of the supervisory signal the supervisory signal being transmitted in response to a specific request, e.g. to a polling signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention relates to an industrial Internet of things data real-time uploading method based on an edge computing gateway, which comprises the following processes: in the current uploading period, uploading the data of the equipment to be uploaded is executed according to the reverse order of the data received in the polling period, namely, uploading all the data of the equipment to be uploaded received in the current polling period is completed firstly, then the data of the equipment which is not uploaded in the previous polling period is searched, uploading operation is executed, after each uploading, whether the time exceeds the current uploading period or not is judged, if yes, the next uploading period is started, the previous steps are executed repeatedly, and otherwise, the data which is not uploaded in the polling period is continuously searched and uploaded. Compared with the prior art, the method has higher equipment polling efficiency and data uploading efficiency, and saves cost.

Description

Industrial Internet of things data real-time uploading method based on edge computing gateway
Technical Field
The invention relates to the field of industrial Internet of things data processing, in particular to an industrial Internet of things data real-time uploading method based on an edge computing gateway.
Background
The industry of the industrial internet of things belongs to emerging industries, equipment related to enterprise production usually comes from different manufacturers, the adopted communication technology is complex and various, in order to realize interconnection and intercommunication among the equipment, protocol conversion equipment such as a gateway is needed to be used for transforming original equipment and a production line, equipment data following different communication protocols are converted by the gateway according to a uniform standard, and the equipment data are uploaded to an upper computer for service processing. With the increase of the internet of things equipment in the industrial production field, the real-time performance of gateway data uploading is difficult to guarantee, and the method becomes a bottleneck restricting the development of the industrial internet of things.
At present, due to the limitation of diversity of device protocols, the time for polling a group of devices cannot be optimized, the traditional method for improving the real-time property of uploading data by a gateway is to optimize the reading frequency according to the requirement of the field real-time property, and shorten the time interval between two polling as much as possible, but the data volume is increased, the gateway finishes uploading all the data, a long period of time is consumed, and in the process of uploading the original data by the gateway, the real-time device data can still be continuously received, so that a large amount of device data which is not uploaded is blocked in the gateway, some methods are to improve the transmission capability by physical means such as increasing a network card, but the economy is deteriorated.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide an industrial internet of things data real-time uploading method based on an edge computing gateway.
The purpose of the invention can be realized by the following technical scheme:
an industrial Internet of things data real-time uploading method based on an edge computing gateway comprises the following steps:
step S1: entering a current polling period T;
step S2: entering a current uploading period i;
step S3: the gateway data uploading unit uploads the data of the current polling period T in the current uploading period i;
step S4: judging whether the current uploading cycle i is finished, if so, replacing the current uploading cycle i with the next uploading cycle i +1, and executing step S2, otherwise, executing step S5;
step S5: judging whether the data of all the current polling periods T are uploaded completely, if so, uploading the data of the polling periods T-j, and if not, continuously uploading the data of the current polling periods T;
step S6: judging whether the current polling cycle T is finished, if so, replacing the current polling cycle T with the next polling cycle T +1, and executing a step S1, otherwise, executing a step S7;
step S7: and judging whether the current uploading cycle i is finished, if so, replacing the current uploading cycle i with the next uploading cycle i +1, executing step S2, otherwise, increasing the value of j by 1, and executing step S5.
The gateway data uploading unit uploads a fixed amount of data of the current polling period each time in the current uploading period in step S3.
And step S3, the gateway data uploading unit uploads the data of the current polling period from large to small according to the device number in the current uploading period.
When it is determined in step S5 that the data in all the current polling periods have been uploaded, the data in the polling period T-j is searched for, and the data suitable for being uploaded in the current uploading period is uploaded.
The judgment standard suitable for the data uploaded in the current uploading period comprises the following steps:
the data suitable for being uploaded in the current polling period is the data received in the polling period T-j:
the maximum device number of the data uploaded in the current polling period is larger than the maximum device number of the data uploaded in the polling period T-j.
In the step S6, it is determined whether the current polling cycle is finished, if yes, the maximum device number of the data uploaded in the current polling cycle is recorded, the current polling cycle is replaced by the next polling cycle, and the step S1 is executed, otherwise, the step S4 is executed.
The time length of the uploading period is a changeable fixed value, and is related to the network condition and the data volume.
The time length of the polling period is a changeable fixed value, and the time length of the polling period is related to the protocol characteristic of the polled device.
The value of j starts from 1.
Compared with the prior art, the invention has the following advantages:
(1) device polling efficiency: the tasks which are originally required to be completed within a continuous time are decomposed into each polling period, the speed of polling the equipment data by the edge computing gateway is obviously increased, and the overall performance of the gateway is improved.
(2) Data uploading efficiency: in each polling cycle, the time is further dispersed into a plurality of uploading cycles, the latest equipment data is uploaded in each uploading cycle, and the spare time of the cycle is utilized to upload the equipment data which is not uploaded in the past polling cycle, so that the real-time uploading of the latest data is ensured, and the uploading efficiency of the blocked data is also improved.
(3) The cost problem is as follows: the method can be friendly to operate in the existing edge computing gateway without increasing the computing unit and the network communication unit.
Drawings
FIG. 1 is a flow chart of the present invention;
fig. 2 is a diagram of a gateway and peripheral system according to the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
Examples
The embodiment provides an industrial internet of things data real-time uploading method based on an edge computing gateway, and the data uploading time complexity is reduced through a discretization method, so that the problem of industrial internet of things development bottleneck caused by poor gateway data uploading real-time performance is solved.
The method comprises the following steps:
A. and determining the starting time of the polling period and the uploading period currently executed by the gateway according to the current system time.
B. In the current uploading period, the data of the equipment to be uploaded is uploaded according to the reverse order of the data received in the polling period, namely, the data of all the equipment to be uploaded received in the current polling period are uploaded, then the equipment data which are not uploaded in the previous polling period are searched, and the uploading operation is executed. After each uploading, judging whether the time exceeds the current uploading period, if so, re-acquiring the current system time (entering the next uploading period), and repeatedly executing the previous steps, otherwise, continuously searching and uploading the data which is not uploaded in the polling period.
The implementation steps are as follows, as shown in FIG. 1:
step 1: the current polling period T is entered. The time length of the polling cycle is a fixed value that can be changed, and can be set according to the protocol characteristics of the polled device.
Step 2: and entering a current uploading period i. The time length of the uploading period is a changeable fixed value and can be set according to the field network condition and the data volume. Step 2 is performed.
And step 3: and the gateway data uploading unit uploads the data received in the current polling period T in the current uploading period i, and uploads N pieces of data which are not uploaded according to the arrangement of the equipment serial numbers from large to small every time. The number of data uploaded by the gateway data uploading unit each time is not more than N, the size of N depends on the protocol type of the polled device and the field network condition, and optimization adjustment is performed according to the actual operation condition of the industrial field. Step 4 is performed.
And 4, step 4: and judging whether the current uploading cycle i is finished, if so, replacing the current uploading cycle i with the next uploading cycle i +1, and executing the step S2, otherwise, executing the step S5.
And 5: judging whether all data in the current polling period T are uploaded completely, if so, entering step 6 if j is j + 1; otherwise, returning to the step 3.
Step 6: and judging whether the polling period is the current polling period T or not, if so, entering a step 7, otherwise, recording the maximum equipment number (Max) uploaded by the current polling period T, and entering the step 7.
And 7: the gateway data uploading unit backs the search time by a polling period length, namely, the data of a polling period T-j is searched, and the initial value of j is 1. Step 8 is performed.
And 8: judging whether the polling period T-j receives data, if so, entering a step 9; otherwise, returning to the step 1.
And step 9: the gateway data uploading unit judges whether the polling period T-j records the maximum equipment number of the uploaded data, if so, the equipment number is recorded as the maximum equipment number (MaxL), and the step 10 is carried out; otherwise, the data of the polling period T-j replaces the data of the current polling period T, and the step 3 is returned.
Step 10: the gateway data uploading unit searches the maximum equipment number of the data which are not uploaded in the last polling period, judges whether the equipment number is larger than MaxL or not, if so, replaces the data in the current polling period T with the data in the polling period T-j, and returns to the step 3; otherwise, go to step 11.
Step 11: and acquiring the current system time, and judging whether the current uploading period i is exceeded or not. If yes, replacing the current uploading cycle i with the next uploading cycle i +1, and returning to the step 1; otherwise, the value of j is increased by 1 and the procedure returns to step 7.
The industrial Internet of things data real-time uploading method has the following advantages:
device polling efficiency: the tasks which are originally required to be completed within a continuous time are decomposed into each polling period, the speed of polling the equipment data by the edge computing gateway is obviously increased, and the overall performance of the gateway is improved.
Data uploading efficiency: in each polling cycle, the time is further dispersed into a plurality of uploading cycles, the latest equipment data is uploaded in each uploading cycle, and the spare time of the cycle is utilized to upload the equipment data which is not uploaded in the past polling cycle, so that the real-time uploading of the latest data is ensured, and the uploading efficiency of the blocked data is also improved.
The cost problem is as follows: the method can be friendly to operate in the existing edge computing gateway without increasing the computing unit and the network communication unit.

Claims (9)

1. An industrial Internet of things data real-time uploading method based on an edge computing gateway is characterized by comprising the following steps:
step S1: entering a current polling period T;
step S2: entering a current uploading period i;
step S3: the gateway data uploading unit uploads the data of the current polling period T in the current uploading period i;
step S4: judging whether the current uploading cycle i is finished, if so, replacing the current uploading cycle i with the next uploading cycle i +1, and executing step S2, otherwise, executing step S5;
step S5: judging whether the data of all the current polling periods T are uploaded completely, if so, uploading the data of the polling periods T-j, and if not, continuously uploading the data of the current polling periods T;
step S6: judging whether the current polling cycle T is finished, if so, replacing the current polling cycle T with the next polling cycle T +1, and executing a step S1, otherwise, executing a step S7;
step S7: and judging whether the current uploading cycle i is finished, if so, replacing the current uploading cycle i with the next uploading cycle i +1, executing step S2, otherwise, increasing the value of j by 1, and executing step S5.
2. The method for uploading data of the internet of things of industry based on the edge computing gateway as claimed in claim 1, wherein the gateway data uploading unit of step S3 uploads a fixed amount of data of the current polling period each time in the current uploading period.
3. The industrial internet of things data real-time uploading method based on the edge computing gateway as claimed in claim 1, wherein the gateway data uploading unit of step S3 uploads the data of the current polling period from large to small according to the device number in the current uploading period.
4. The method for uploading data of the internet of things of industry based on the edge computing gateway as claimed in claim 3, wherein when it is determined in step S5 that the data of all current polling periods have been uploaded, the data of polling period T-j is searched, and the data suitable for uploading in the current uploading period is uploaded.
5. The method for uploading the data of the internet of things in real time based on the edge computing gateway as claimed in claim 4, wherein the judgment criteria suitable for the data uploaded in the current uploading period include:
the data suitable for being uploaded in the current polling period is the data received in the polling period T-j:
the maximum device number of the data uploaded in the current polling period is larger than the maximum device number of the data uploaded in the polling period T-j.
6. The method as claimed in claim 3, wherein the step S6 is performed to determine whether the current polling cycle is finished, if so, record the maximum device number of the data uploaded in the current polling cycle, and perform the step S1 with the next polling cycle instead of the current polling cycle, otherwise, perform the step S4.
7. The industrial internet of things data real-time uploading method based on the edge computing gateway as claimed in claim 1, wherein the time length of the uploading period is a changeable fixed value, and the time length of the uploading period is related to the network condition and the data volume.
8. The industrial internet of things data real-time uploading method based on the edge computing gateway as claimed in claim 1, wherein the time length of the polling period is a changeable fixed value, and the time length of the polling period is related to the protocol characteristics of the polled device.
9. The industrial internet of things data real-time uploading method based on the edge computing gateway as claimed in claim 1, wherein the value of j starts from 1.
CN201911187473.6A 2019-11-28 2019-11-28 Industrial Internet of things data real-time uploading method based on edge computing gateway Pending CN110958190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911187473.6A CN110958190A (en) 2019-11-28 2019-11-28 Industrial Internet of things data real-time uploading method based on edge computing gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911187473.6A CN110958190A (en) 2019-11-28 2019-11-28 Industrial Internet of things data real-time uploading method based on edge computing gateway

Publications (1)

Publication Number Publication Date
CN110958190A true CN110958190A (en) 2020-04-03

Family

ID=69978640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911187473.6A Pending CN110958190A (en) 2019-11-28 2019-11-28 Industrial Internet of things data real-time uploading method based on edge computing gateway

Country Status (1)

Country Link
CN (1) CN110958190A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114430412A (en) * 2020-10-29 2022-05-03 佛山点度物联科技有限公司 Real-time data uploading method of Internet of things based on polling numerical detection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100058410A1 (en) * 2007-12-21 2010-03-04 Brighttalk Ltd. System and method for self management of a live web event
KR101134391B1 (en) * 2011-05-03 2012-04-09 이승철 The remote control device and the remote controlling method of a pannel and a auto-control plant
CN105159934A (en) * 2015-08-03 2015-12-16 浙江宇视科技有限公司 Real-time vehicle-passing data discretization uploading method and apparatus
CN106108205A (en) * 2016-07-27 2016-11-16 国网山东省电力公司惠民县供电公司 A kind of have communication data interactive monitoring system based on power distribution network maintenance
CN107426011A (en) * 2017-05-22 2017-12-01 郑州云海信息技术有限公司 A kind of monitoring method and device to equipment running status

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100058410A1 (en) * 2007-12-21 2010-03-04 Brighttalk Ltd. System and method for self management of a live web event
KR101134391B1 (en) * 2011-05-03 2012-04-09 이승철 The remote control device and the remote controlling method of a pannel and a auto-control plant
CN105159934A (en) * 2015-08-03 2015-12-16 浙江宇视科技有限公司 Real-time vehicle-passing data discretization uploading method and apparatus
CN106108205A (en) * 2016-07-27 2016-11-16 国网山东省电力公司惠民县供电公司 A kind of have communication data interactive monitoring system based on power distribution network maintenance
CN107426011A (en) * 2017-05-22 2017-12-01 郑州云海信息技术有限公司 A kind of monitoring method and device to equipment running status

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114430412A (en) * 2020-10-29 2022-05-03 佛山点度物联科技有限公司 Real-time data uploading method of Internet of things based on polling numerical detection

Similar Documents

Publication Publication Date Title
WO2018072711A1 (en) Distributed FP-Growth With Node Table For Large-Scale Association Rule Mining
CN103634149B (en) A kind of monitoring method for distributed system
CN109408508A (en) The storage and querying method of monitoring data, device and computer equipment
US7814178B2 (en) Method and apparatus for data configuration in communication device
CN113254529A (en) Industry thing networking platform based on edge calculation and HiTSDB storage
CN103326958A (en) Method and system for monitoring data cache
US11210014B2 (en) Method and apparatus for processing I/O information of data, method and apparatus for analyzing I/O information of data, and related devices
CN110350993B (en) Networking monitoring based black broadcast automatic discovery method in big data scene
CN110943882B (en) Real-time black broadcast identification system based on networking monitoring and identification method thereof
CN110958190A (en) Industrial Internet of things data real-time uploading method based on edge computing gateway
CN114742124A (en) Abnormal data processing method, system and device
CN1717953A (en) Remote control device, remote control method, and remotely controlled device
CN114385378A (en) Active data processing method and device for Internet of things equipment and storage medium
CN112612929A (en) Data processing method and device
CN116841973A (en) Data intelligent compression method and system for embedded database
CN110996289A (en) Intelligent gateway, method and system for machine state monitoring diagnostic instrument
CN116010388A (en) Data verification method, data acquisition server and data verification system
CN105630983A (en) Resource obtaining and optimizing device and method
CN116186053A (en) Data processing method, device and storage medium
CN115424079A (en) Image classification method based on federal edge learning and related equipment
CN115664992A (en) Network operation data processing method and device, electronic equipment and medium
AU2020438008B2 (en) Time series data generation method and device based on multi-condition constraints, and medium
CN103176454A (en) Clustering method and clustering system of multi-robot system
CN113434604A (en) Time sequence database synchronization method, system, equipment and storage medium
CN101771566A (en) Method, device and system for transmitting performance data between web masters

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200403

RJ01 Rejection of invention patent application after publication