CN110324420A - A kind of high efficient data capture transmission control protocol - Google Patents

A kind of high efficient data capture transmission control protocol Download PDF

Info

Publication number
CN110324420A
CN110324420A CN201910588418.1A CN201910588418A CN110324420A CN 110324420 A CN110324420 A CN 110324420A CN 201910588418 A CN201910588418 A CN 201910588418A CN 110324420 A CN110324420 A CN 110324420A
Authority
CN
China
Prior art keywords
data
configuration information
gateway
upload
server
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.)
Withdrawn
Application number
CN201910588418.1A
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.)
Guangdong Shengtai Technology Co
Original Assignee
Guangdong Shengtai Technology Co
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 Guangdong Shengtai Technology Co filed Critical Guangdong Shengtai Technology Co
Priority to CN201910588418.1A priority Critical patent/CN110324420A/en
Publication of CN110324420A publication Critical patent/CN110324420A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of high efficient data capture transmission control protocol, including two kinds of data acquisition transmitter systems respectively upload and timing upload transfers mechanism in time.Timely upload transfers mechanism: gateway carries out data query according to polling cycle, and when this inquiry data changes compared with previous value data or exceeds preset threshold value, data are uploaded to server;When value data does not change or when without departing from preset threshold value, does not upload data;Request configuration information is sent to server after gateways and starting, after server receives request configuration information, sends configuration information to gateway.Timing upload transfers mechanism: gateway carries out data query according to polling cycle, and no matter whether data change, all upload data.The present invention has been greatly saved server stores resources, while also releasing a large amount of network transmission resource using " uploading in time " and " timing uploads " two kinds of data acquisition transmitter systems.

Description

A kind of high efficient data capture transmission control protocol
Technical field
The present invention relates to data acquisition transmission technique field more particularly to a kind of high efficient data capture transmission control protocols.
Background technique
When being monitored to highway lightning protection facility operation state, since the operation of lightning protection facility has for a long time more Stable state, in actual demand, it is desirable that, can be within a short period of time by the status data of variation when state changes It uploads in time.
But the acquisition of the data of current highway lightning protection facility operation condition monitoring system and transmission, only merely Upload server will be directly carried out after state data acquisition, this results in a large amount of repeated data in server, not only causes to take The serious waste for device storage resource of being engaged in, and occupy limited network transmission resource.
Summary of the invention
(1) goal of the invention
To solve technical problem present in background technique, the present invention proposes that a kind of high efficient data capture passes transport control protocol View has been greatly saved server stores resources, together using " uploading in time " and " timing uploads " two kinds of data acquisition transmitter systems When also release a large amount of network transmission resource.
(2) technical solution
To solve the above problems, the first aspect of the present invention provides a kind of high efficient data capture transmission control protocol, packet Two kinds of data acquisition transmitter systems are included, respectively data acquisition transmitter system is uploaded in time and timing uploads data acquisition transmitter System;
Upload in data acquisition transmitter system in time: gateway carries out data query according to polling cycle, when this inquires number When according to changing compared with previous data or exceed preset threshold value, data are uploaded to server;When data are not sent out When changing, data are not uploaded;It is uploaded in data acquisition transmitter system in time, sends request to server after gateways and starting and match Confidence breath, server receive request configuration information after to gateway send feedback configuration information;
Timing uploads in data acquisition transmitter system: in timing uplink time, no matter whether data change, and all upload Data.
Preferably, uploading in time includes two states, respectively A1 and A2 in data acquisition transmitter system;
Under A1 state: in the case where gateway does not receive configuration information state, gateway cycles through request to postpone repetition cycle and matches Confidence is ceased to server, until getting configuration information;
Under A2 state: gateway receive that server issues in operation without under configuration information data mode, gateway stops Data query;It is executed according to A1 state.
Preferably, during gateway sends request configuration information to server, comprising the following steps:
When S1, first time inquiry data, the data that will acquire locally are saved, and are uploaded to server simultaneously;
S2, data are inquired according to polling cycle.
Preferably, in S2, the data acquisition equipment for inquiring data include SPD03 collector, SPD05 collector, SPD07 collector, SPD09 collector and NPS01 collector.
Preferably, when S2 inquires data, if collector is not fed back, local data is removed, data are not uploaded, according to shape State A1 continues.
Preferably, judge that data directly upload, and locally save without data when timing uploads data.
Preferably, configuration information is parsed after gateway receives configuration information, including two states, respectively B1 and B2;
Under B1 state, gateway uploads successfully resolved data packet, believes according to latest configuration to configuration information successfully resolved, gateway Breath operation;
Under B2 state, gateway parses configuration information failure, and gateway uploads parsing miss data packet, continues according to previous configuration Information operation.
Preferably, server actively issues configuration information in the process of running, after gateway receives the configuration information issued, Former configuration information is covered, is then continued according to state A1.
Above-mentioned technical proposal of the invention has following beneficial technical effect: this agreement is using " uploading in time " and " fixed Two kinds of data acquisition transmitter systems of Shi Shangchuan ", had not only been avoided that the upload of a large amount of repeated datas, but also can guarantee that status data becomes It can be uploaded in time after change, be greatly saved server stores resources, while also release a large amount of network transmission resource.
Specific embodiment
In order to make the objectives, technical solutions and advantages of the present invention clearer, With reference to embodiment, to this Invention is further described.It should be understood that these descriptions are merely illustrative, and it is not intended to limit the scope of the invention.This Outside, in the following description, descriptions of well-known structures and technologies are omitted, so as not to unnecessarily obscure the concept of the present invention.
A kind of high efficient data capture transmission control protocol proposed by the present invention, including two kinds of data acquisition transmitter systems, point Data acquisition transmitter system Wei not be uploaded in time and timing uploads data acquisition transmitter system;
Upload in data acquisition transmitter system in time: gateway carries out data query according to polling cycle, when this inquires number When according to changing compared with previous data or exceed preset threshold value, data are uploaded to server;When data are not sent out When changing, data are not uploaded;It is uploaded in data acquisition transmitter system in time, sends request to server after gateways and starting and match Confidence cease (data format is shown in Table 1), server receive request configuration information after to gateway send feedback configuration information (data format It is shown in Table 2);
Timing uploads in data acquisition transmitter system: in timing uplink time, no matter whether data change, and all upload Data.(data that data acquisition transmitter system neutralizes the upload data that timing uploads in data acquisition transmitter system are uploaded in time 3) format is shown in Table
It should be noted that the data format of request configuration information is sent after table 1, gateways and starting to server
Explanation Heading Module's address Message trailer
Length 1Byte 2Byte 1Byte
Example F1 xx xx DD
Table 2, server receive request configuration information after to gateway send feedback configuration information data format
Table 3 uploads data format
In an alternative embodiment, uploading in time includes two states, respectively A1 in data acquisition transmitter system And A2;
Under A1 state: in the case where gateway does not receive configuration information state, gateway cycles through request to postpone repetition cycle and matches Confidence is ceased to server, until getting configuration information;
Under A2 state: gateway receive that server issues in operation without configuration information data (data format is shown in Table 4) Under state, gateway stops data query;It is executed according to A1 state.
It should be noted that table 4, gateway receive the data format without configuration information data that server issues in operation
Explanation Header Module's address Mark Telegram end
Length 1Byte 2Byte 1Byte 1Byte
Example F2 xx xx EE DD
In an alternative embodiment, during gateway sends request configuration information to server, including following step It is rapid:
When S1, first time inquiry data, the data that will acquire locally are saved, and are uploaded to server simultaneously;
S2, data are inquired according to polling cycle.
In an alternative embodiment, in S2, the data acquisition equipment for inquiring data include SPD03 collector, SPD05 collector, SPD07 collector, SPD09 collector and NPS01 collector (each collector type identification is shown in Table 5).
Table 5, collector type identification
Serial number Collector type Collection device type identifies (16 system)
1 SPD03 03
2 SPD05 05
3 SPD07 07
4 SPD09 09
5 NPS01 (ground resistance Acquisition Instrument) 21
6 JZM (thunder and lightning Acquisition Instrument) 31
It should be noted that in SPD03 collector: data change upload twice for front and back, otherwise do not upload, local to save (data byte for uploading SPD03 acquisition in data format is shown in Table 6);
Table 6, SPD03: data portion (4Byte) is only taken
In SPD05 collector: (uploading the data of SPD05 acquisition in data format except temperature 1 and temperature 2 are total to two-way temperature 7) byte is shown in Table outside, data change twice for front and back, is uploaded;When unchanged, if any temperature value >=threshold value all the way, uploads, Otherwise it does not upload;It is local to save;
Table 7, SPD05: data portion (7Byte) is only taken
In SPD07 collector: being total to two-way temperature except temperature 1 and temperature 2 and leakage current (uploads in data format all the way 8) data byte of SPD07 acquisition is shown in Table outside, data change twice for front and back, upload;When unchanged, if any temperature all the way Value or leakage current value >=threshold value, then upload, otherwise do not upload, local to save;
Table 8, SPD07: data portion (8Byte) is only taken
In SPD09 collector: except totally three road voltages, temperature 1 and temperature 2 are total to two-way for A phase voltage, B phase voltage and C phase voltage Totally three road leakage currents (upload SPD09 acquisition in data format for temperature and A phase leakage current, B phase leakage current and C phase leakage current 9) data byte is shown in Table outside, data change twice for front and back, is uploaded;When unchanged, if there is any one following situation, It uploads, does not otherwise upload, local to save:
The first situation, any temperature value >=threshold value all the way;
Second situation, any leakage current value >=threshold value all the way;
The third situation, any voltage value >=threshold value (upper limit) all the way, or any voltage value≤threshold value (lower limit) all the way;
Table 9, SPD09: data portion (17Byte) is only taken
In NPS01 collector: if ground resistance value >=threshold value, uploads;Otherwise it does not upload, local save (uploads data format 10) data byte of middle NPS01 acquisition is shown in Table.
Table 10, NPS01: data portion (2Byte) is only taken
Address Module type Function code Byte number Data (2Byte) CRC
1Byte 0x14 0x01 0x02 2Byte: resistance value 2Byte
In an alternative embodiment, when S2 inquires data, if collector is not fed back, local data is removed, no Data are uploaded, are continued according to state A1.
In an alternative embodiment, judge when timing uploads data without data, data directly upload, and local It saves.
In an alternative embodiment, configuration information is parsed after gateway receives configuration information, including two kinds State, respectively B1 and B2;
Under B1 state, gateway is to configuration information successfully resolved, and gateway uploads successfully resolved data packet, and (data format is shown in Table 11) it, is run according to latest configuration information;
Under B2 state, gateway parses configuration information failure, and gateway uploads parsing miss data packet (data format is shown in Table 12), Continue to run according to previous configuration information.
It should be noted that table 11, configuration information successfully resolved data format
Table 12, configuration information parse miss data format
In an alternative embodiment, server actively issues configuration information in the process of running, and gateway receives down After the configuration information of hair, former configuration information is covered, is then continued according to state A1.
The present invention had both been avoided that a large amount of repetitions using " uploading in time " and " timing uploads " two kinds of data acquisition transmitter systems The upload of data, and can guarantee and can be uploaded in time after status data changes, server stores resources are greatly saved, together When also release a large amount of network transmission resource.
It should be understood that above-mentioned specific embodiment of the invention is used only for exemplary illustration or explains of the invention Principle, but not to limit the present invention.Therefore, that is done without departing from the spirit and scope of the present invention is any Modification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.In addition, appended claims purport of the present invention Covering the whole variations fallen into attached claim scope and boundary or this range and the equivalent form on boundary and is repairing Change example.

Claims (8)

1. a kind of high efficient data capture transmission control protocol, which is characterized in that including two kinds of data acquisition transmitter systems, respectively Data acquisition transmitter system is uploaded in time and timing uploads data acquisition transmitter system;
Timely upload transfers mechanism: gateway carries out data query according to polling cycle, when this inquiry data and previous data number When value is compared to changing or exceeding preset threshold value, data are uploaded to server;When value data does not change Or when without departing from preset threshold value, do not upload data;Request configuration information, server are sent to server after gateways and starting After receiving request configuration information, configuration information is sent to gateway.
Timing upload transfers mechanism: gateway carries out data query according to polling cycle, and no matter whether data change, and all upload Data.
2. a kind of high efficient data capture transmission control protocol according to claim 1, which is characterized in that upload data in time Acquire includes two states, respectively A1 and A2 in transmission mechanism;
Under A1 state: in the case where gateway does not receive configuration information state, gateway cycles through request with confidence to postpone repetition cycle Breath is to server, until getting configuration information;
Under A2 state: gateway receive that server issues in operation without under configuration information data mode, gateway stops data Inquiry;It is executed according to A1 state.
3. a kind of high efficient data capture transmission control protocol according to claim 1 or 2, which is characterized in that gateway is to clothes During business device sends request configuration information, comprising the following steps:
When S1, first time inquiry data, the data that will acquire locally are saved, and are uploaded to server simultaneously;
S2, data are inquired according to polling cycle.
4. a kind of high efficient data capture transmission control protocol according to claim 3, which is characterized in that in S2, for looking into Ask data data acquisition equipment include SPD03 collector, SPD05 collector, SPD07 collector, SPD09 collector and NPS01 collector.
5. a kind of high efficient data capture transmission control protocol according to claim 3, which is characterized in that inquire data in S2 When, if collector is not fed back, local data is removed, data are not uploaded, continued according to state A1.
6. a kind of high efficient data capture transmission control protocol according to claim 1, which is characterized in that timing uploads data When without data judge, data directly upload, and locally save.
7. a kind of high efficient data capture transmission control protocol according to claim 1, which is characterized in that receive and match in gateway Configuration information is parsed after confidence breath, including two states, respectively B1 and B2;
Under B1 state, gateway uploads successfully resolved data packet to configuration information successfully resolved, gateway, transports according to latest configuration information Row;
Under B2 state, gateway parses configuration information failure, and gateway uploads parsing miss data packet, continues according to previous configuration information Operation.
8. a kind of high efficient data capture transmission control protocol according to claim 2, which is characterized in that server is being run Configuration information is actively issued in the process, after gateway receives the configuration information issued, former configuration information is covered, then according to state A1 continues.
CN201910588418.1A 2019-07-02 2019-07-02 A kind of high efficient data capture transmission control protocol Withdrawn CN110324420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910588418.1A CN110324420A (en) 2019-07-02 2019-07-02 A kind of high efficient data capture transmission control protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910588418.1A CN110324420A (en) 2019-07-02 2019-07-02 A kind of high efficient data capture transmission control protocol

Publications (1)

Publication Number Publication Date
CN110324420A true CN110324420A (en) 2019-10-11

Family

ID=68122291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910588418.1A Withdrawn CN110324420A (en) 2019-07-02 2019-07-02 A kind of high efficient data capture transmission control protocol

Country Status (1)

Country Link
CN (1) CN110324420A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111505981A (en) * 2020-04-09 2020-08-07 国网浙江省电力有限公司湖州供电公司 UHF-based intelligent information acquisition system and method
CN114430412A (en) * 2020-10-29 2022-05-03 佛山点度物联科技有限公司 Real-time data uploading method of Internet of things based on polling numerical detection
CN114885022A (en) * 2022-07-11 2022-08-09 南京知亦行信息技术有限公司 Dynamic data processing system and method based on industrial equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111505981A (en) * 2020-04-09 2020-08-07 国网浙江省电力有限公司湖州供电公司 UHF-based intelligent information acquisition system and method
CN111505981B (en) * 2020-04-09 2022-04-19 国网浙江省电力有限公司湖州供电公司 UHF-based intelligent information acquisition system and method
CN114430412A (en) * 2020-10-29 2022-05-03 佛山点度物联科技有限公司 Real-time data uploading method of Internet of things based on polling numerical detection
CN114885022A (en) * 2022-07-11 2022-08-09 南京知亦行信息技术有限公司 Dynamic data processing system and method based on industrial equipment
CN114885022B (en) * 2022-07-11 2022-09-27 南京知亦行信息技术有限公司 Dynamic data processing system and method based on industrial equipment

Similar Documents

Publication Publication Date Title
CN110324420A (en) A kind of high efficient data capture transmission control protocol
US9774496B2 (en) Configuration information auto-management method based on intelligent substation
DE60026734T2 (en) BRIDGE TO CAN-TCP / IP CONNECTION
CN107465764B (en) Star topology based internet of things communication system, gateway equipment and method
EP3007494B1 (en) Data processing method and device
US9225594B2 (en) Ethernet local management interface (E-LMI)
CN109257789B (en) Vehicle-mounted network data communication method based on multi-hop cluster
CN111818138A (en) Vehicle cloud real time data communication method for intelligent vehicle
CN110764801A (en) High-speed power line carrier remote upgrading method and device
CN102006173B (en) Method and device for expanding Ethernet interface
EP1808996B1 (en) A method for corresponding maintenance point identification with media access control address
CN102916874B (en) A kind of file transmitting method and equipment
CN105050129B (en) Data interaction method and device
CN103051738B (en) A kind of dhcp address distribution method and system
CN116458196A (en) Analysis-based business classification rules
US8565097B2 (en) Frame transfer apparatus and frame transfer method
CN108696838B (en) Vehicle-mounted data routing method based on position information
CN110768749B (en) Data transmission method and device and power peak shaving system
CN103428677A (en) Method for sending grouped service data and method for receiving message sent by signaling channel
CN116634459A (en) Method and equipment for confirming telemetry capability of stream following information
CN106789144A (en) A kind of configuration file update method and device
CN113485176B (en) Vehicle data acquisition, caching and retransmission method and remote monitoring terminal
CN106982165A (en) Data compression method and its system
CN111064825B (en) Method and device for realizing DPI data acquisition and control based on ARP
CN109729154B (en) Simple message subscription and publishing service method based on controller

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20191011

WW01 Invention patent application withdrawn after publication