CN105404255A - Data synchronization method for industrial data network - Google Patents

Data synchronization method for industrial data network Download PDF

Info

Publication number
CN105404255A
CN105404255A CN201510738392.6A CN201510738392A CN105404255A CN 105404255 A CN105404255 A CN 105404255A CN 201510738392 A CN201510738392 A CN 201510738392A CN 105404255 A CN105404255 A CN 105404255A
Authority
CN
China
Prior art keywords
data
industrial data
network elements
time
industrial
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.)
Granted
Application number
CN201510738392.6A
Other languages
Chinese (zh)
Other versions
CN105404255B (en
Inventor
王伟旭
杨川
苏渊红
李冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Tianheng Intelligent Manufacturing Technology Co., Ltd.
Original Assignee
Chengdu Science And Technology Ltd Of Tian Heng Electricity Section
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 Chengdu Science And Technology Ltd Of Tian Heng Electricity Section filed Critical Chengdu Science And Technology Ltd Of Tian Heng Electricity Section
Priority to CN201510738392.6A priority Critical patent/CN105404255B/en
Publication of CN105404255A publication Critical patent/CN105404255A/en
Application granted granted Critical
Publication of CN105404255B publication Critical patent/CN105404255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Electric Clocks (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a data synchronization method for an industrial data network. The data synchronization method comprises the steps that the industrial data network is divided into multiple clock domains, and synchronous time service is performed on all the network elements in the industrial data network, wherein each clock domain at least comprises one network element; a time zone stamp is arranged for each clock domain, and the time zone stamps of any two clock domains are different; data packets uploaded by the network elements are received and analyzed, and the data packets include the corresponding time zone stamps of the clock domains in which the network elements are positioned, industrial data and occurrence time of the industrial data; whether occurrence time of any two network elements is the same is judged; whether the time zone stamps of any two network elements are the same is judged if occurrence time of any two network elements is the same; and data conflict processing is performed if the time zone stamps of any two network elements are the same. With application of the mode, occurrence time of the industrial data of the industrial data network can be ensured to be strictly coherent.

Description

The method of data synchronization of industrial data net
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of method of data synchronization of industrial data net.
Background technology
In emerging intelligence manufacture field, build digital factory be current most important task, and in digital factory the most the part of core be industrial data center.In the process of construction of digital factory, need the industrial data of links to carry out collecting and arranging, and be saved in industrial data center.
But, because the data volume of industrial data is rather huge, when industrial data is accumulated to a certain degree time, need data to carry out alternate analysis and association analysis, to extract valuable information for user.But in actual applications, there is a very stubborn problem, that is exactly the time of origin not stringent synchronization of the data between links, in other words not strictly relevant (Coherence).Such as production schedule data are that certain day 10:32 occurs, its production planning and sequencing data theory should be later than this time, but may be not identical due to the system time of the production schedule and production planning and sequencing stage reference separately, cause the time of origin of production planning and sequencing data early than the time of origin of production schedule data, thus there will be logic error when follow-up data processing and analysis, and this absolutely not allows to occur.
Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of method of data synchronization of industrial data net, can ensure that the time of origin of the industrial data of industrial data net is strictly concerned with.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: the method for data synchronization providing a kind of industrial data net, comprise: industrial data net is divided into multiple clock area, and sync identification is carried out to all network elements in described industrial data net, wherein, clock area described in each at least comprises a network element; Be respectively clock area described in each and arrange time zone stamp, wherein, the time zone stamp of any two clock area is not identical; Receive and resolve the packet that described network element uploads, wherein, described packet comprises the time of origin of the clock area at described network element place corresponding time zone stamp, industrial data and described industrial data; Judge that whether the time of origin of any two network elements is identical; If the time of origin of described any two network elements is identical, judge whether the time zone stamp of described any two network elements is identical; If the time zone stamp of described any two network elements is identical, then carry out data collision process.
Preferably, the step of described data collision process is specially: store and record the industrial data of described any two network elements; Give up the packet that described any two network elements are uploaded after described time of origin.
Preferably, the step of described data collision process is specially: store and record the industrial data of described any two network elements; Generate conflict warning daily record.
Preferably, described the step that all network elements in described industrial data net carry out sync identification to be comprised: adopt rubidium atomic clock to carry out sync identification to the indoor network element that is in described industrial data net, adopt GPS to carry out sync identification to the outdoor network element that is in described industrial data net.
Preferably, described method of data synchronization also comprises: if the time of origin of described any two network elements is not identical or the time zone of described any two network elements stamp is not identical, then do not carry out data collision process.
Be different from the situation of prior art, the invention has the beneficial effects as follows: by the network element of industrial data net is divided in different clock area, when network element uploads industrial data, whether the industrial data that different network elements distinguished by the time zone stamp utilizing clock area corresponding clashes, and when clashing, carry out data collision process, thus can ensure that the time of origin of the industrial data of industrial data net is strictly concerned with, follow-up data analysis conclusion accurate and effective can be ensured.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method for data synchronization of embodiment of the present invention industrial data net.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, it is the schematic flow sheet of the method for data synchronization of embodiment of the present invention industrial data net.The method of data synchronization of the industrial data net of the embodiment of the present invention comprises the following steps:
Step S1: industrial data net is divided into multiple clock area, and sync identification is carried out to all network elements in industrial data net, wherein, each clock area at least comprises a network element.
Wherein, industrial data net is made up of multiple network element, and each network element can represent a link.The network element had in industrial data net is apart from each other on geographic position, in order to ensure that the system time of each network element is strictly concerned with, needs to carry out sync identification.In the present embodiment, the step of all network elements in industrial data net being carried out to sync identification comprises: adopt rubidium atomic clock to carry out sync identification to the indoor network element that is in industrial data net, adopts GPS to carry out sync identification to the outdoor network element that is in industrial data net.GPS and rubidium atomic clock are all high steady clocks, and drift is monthly only 5x10 -11second, GPS or rubidium atomic clock generate pulse per second (PPS) (PPS) needed for each network element or system time, thus the time difference in theory between each network element controls at 1x10 -11in magnitude.
Step S2: be respectively each clock area and arrange time zone stamp, wherein, the time zone stamp of any two clock area is not identical.
Wherein, time zone stamp is used for demarcating the clock area residing for network element, such as, industrial data net is divided into 12 clock area, so just has 12 time zone stamps corresponding with it.Arrange time zone stamp, each network element in clock area can obtain this time zone stamp.
Step S3: receive and resolve the packet that network element uploads, wherein, packet comprises the time of origin of the clock area at network element place corresponding time zone stamp, industrial data and industrial data.
Wherein, packet can adopt field format, and time zone stamp and time of origin individually adopt a byte to describe, and remaining word is saved in description industrial data.When after network element uploading data bag, the time of origin of the clock area at network element place corresponding time zone stamp, industrial data and industrial data can be obtained by resolution data bag.
Step S4: judge that whether the time of origin of any two network elements is identical.
Wherein, when receiving the packet that different network elements is uploaded, the time of origin detected in the packet of different network elements is needed whether to conflict.
Step S5: if the time of origin of any two network elements is identical, judges whether the time zone stamp of any two network elements is identical.
Step S6: if the time zone stamp of any two network elements is identical, then carry out data collision process.
Wherein, if time zone stamp is identical, represent that two network elements are in same clock area, but the network element in this clock area represents different links, these links are do not allow conflict in time, therefore, need to carry out data collision process.In one embodiment of the invention, the step of data collision process is specially: store and record the industrial data of any two network elements; Give up the packet that any two network elements are uploaded after time of origin.Wherein, this mode is based on competition mechanism, and the free uploading data bag of any two network elements, first packet is stored and record, and the packet uploaded afterwards can be given up automatically.In another embodiment of the present invention, the step of data collision process is specially: store and record the industrial data of any two network elements; Generate conflict warning daily record.Wherein, conflict warning daily record can be used for examination in follow-up data process with when analyzing.
In the present embodiment, this method of data synchronization also comprises: if the time of origin of any two network elements is not identical or the time zone of any two network elements stamp is not identical, then do not carry out data collision process.Wherein, consider that the industrial data of different network elements occurs in and be possible in the same time and allow to occur the situation of the data occurred in the same time in different time zone, therefore, in this case, do not carry out data collision process.
By the way, the method of data synchronization of the industrial data net of the embodiment of the present invention is by being divided in different clock area by the network element of industrial data net, when network element uploads industrial data, whether the industrial data that different network elements distinguished by the time zone stamp utilizing clock area corresponding clashes, and when clashing, carry out data collision process, thus can ensure that the time of origin of the industrial data of industrial data net is strictly concerned with, follow-up data analysis conclusion accurate and effective can be ensured.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (5)

1. a method of data synchronization for industrial data net, is characterized in that, comprising:
Industrial data net is divided into multiple clock area, and carries out sync identification to all network elements in described industrial data net, wherein, clock area described in each at least comprises a network element;
Be respectively clock area described in each and arrange time zone stamp, wherein, the time zone stamp of any two clock area is not identical;
Receive and resolve the packet that described network element uploads, wherein, described packet comprises the time of origin of the clock area at described network element place corresponding time zone stamp, industrial data and described industrial data;
Judge that whether the time of origin of any two network elements is identical;
If the time of origin of described any two network elements is identical, judge whether the time zone stamp of described any two network elements is identical;
If the time zone stamp of described any two network elements is identical, then carry out data collision process.
2. the method for data synchronization of industrial data net according to claim 1, is characterized in that, the step of described data collision process is specially:
Store and record the industrial data of described any two network elements;
Give up the packet that described any two network elements are uploaded after described time of origin.
3. the method for data synchronization of industrial data net according to claim 1, is characterized in that, the step of described data collision process is specially:
Store and record the industrial data of described any two network elements;
Generate conflict warning daily record.
4. the method for data synchronization of industrial data net according to claim 1, is characterized in that, describedly comprises the step that all network elements in described industrial data net carry out sync identification:
Adopt rubidium atomic clock to carry out sync identification to the indoor network element that is in described industrial data net, adopt GPS to carry out sync identification to the outdoor network element that is in described industrial data net.
5. the method for data synchronization of industrial data net according to claim 4, is characterized in that, described method of data synchronization also comprises:
If the time of origin of described any two network elements is not identical or the time zone of described any two network elements stamp is not identical, then do not carry out data collision process.
CN201510738392.6A 2015-11-03 2015-11-03 The method of data synchronization of industrial data net Active CN105404255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510738392.6A CN105404255B (en) 2015-11-03 2015-11-03 The method of data synchronization of industrial data net

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510738392.6A CN105404255B (en) 2015-11-03 2015-11-03 The method of data synchronization of industrial data net

Publications (2)

Publication Number Publication Date
CN105404255A true CN105404255A (en) 2016-03-16
CN105404255B CN105404255B (en) 2017-12-26

Family

ID=55469799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510738392.6A Active CN105404255B (en) 2015-11-03 2015-11-03 The method of data synchronization of industrial data net

Country Status (1)

Country Link
CN (1) CN105404255B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844562A (en) * 2022-04-28 2022-08-02 深圳市东晟数据有限公司 Optical fiber signal correlation analysis method based on different regions

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005428A (en) * 2006-01-19 2007-07-25 华为技术有限公司 Realizing method for detecting and resolving data synchronous conflict
CN101141325A (en) * 2007-09-29 2008-03-12 华为技术有限公司 Method and apparatus for detecting network element sign conflict
US20110135047A1 (en) * 2008-08-29 2011-06-09 Abb Research Ltd Time synchronization in industrial process control or automation systems
CN103888253A (en) * 2012-12-19 2014-06-25 中国电信股份有限公司 Token mechanism-based data processing method and system
CN104717737A (en) * 2014-01-03 2015-06-17 沈阳中科博微自动化技术有限公司 Industrial wireless network time synchronization correction method based on TDMA

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005428A (en) * 2006-01-19 2007-07-25 华为技术有限公司 Realizing method for detecting and resolving data synchronous conflict
CN101141325A (en) * 2007-09-29 2008-03-12 华为技术有限公司 Method and apparatus for detecting network element sign conflict
US20110135047A1 (en) * 2008-08-29 2011-06-09 Abb Research Ltd Time synchronization in industrial process control or automation systems
CN103888253A (en) * 2012-12-19 2014-06-25 中国电信股份有限公司 Token mechanism-based data processing method and system
CN104717737A (en) * 2014-01-03 2015-06-17 沈阳中科博微自动化技术有限公司 Industrial wireless network time synchronization correction method based on TDMA

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844562A (en) * 2022-04-28 2022-08-02 深圳市东晟数据有限公司 Optical fiber signal correlation analysis method based on different regions

Also Published As

Publication number Publication date
CN105404255B (en) 2017-12-26

Similar Documents

Publication Publication Date Title
CA2804954C (en) Machines, computer program products, and computer-implemented methods providing an integrated node for data acquisition and control
CN102265549A (en) Network timing synchronization systems
WO2007133838A3 (en) System and method for service provider search
CN105991205A (en) Verifiable and adjustable full synchronous communication network, and implementation method thereof
CN104049525B (en) A kind of method eliminating phase differential between multiple time input source in clock
CN105989006A (en) Data migration method and device
PL421741A1 (en) Method and the system for monitoring and optimization of photovoltaic panels set operation
CN101009546A (en) Time synchronization method for network segment utilizing different time synchronization protocol
JP2015521305A (en) Method and switching unit for synchronous and reliable switching
US20170078038A1 (en) Clock synchronization management device, control method and computer program product
US10097299B2 (en) Method for time synchronization of devices in a control network
CN105404255A (en) Data synchronization method for industrial data network
Jones et al. Recent advances in precision clock synchronization protocols for power grid control systems
CN106295197B (en) High-precision high-frequency rate based on packet telemetry samples programmable telemetry method
CN103905136A (en) Time synchronization processing method and device
CN109347591A (en) A kind of distributed synchronization acquisition sensor network system
CN107566072B (en) A kind of secondary device clock synchronizing method based on dual time correction
CN111614520B (en) IDC flow data prediction method and device based on machine learning algorithm
CN102821108A (en) Method for precisely synchronizing time of client and time of server
CN104639399A (en) Method and device for detecting plurality of primary time servers
US9846062B2 (en) Timestamping in wind turbines
CN105046426B (en) A kind of work information section replay method based on multiple historical data tables of database
CN102420724A (en) Method and device for testing north-orientation performance index
TW200643786A (en) Method and apparatus for searching data
CN103906220A (en) Server timing method and system, and GPS cloud management server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191211

Address after: 610041 5 / F, zone B, building 3, No.200, Tianfu 5th Street, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan Province

Patentee after: Chengdu Tianheng Intelligent Manufacturing Technology Co., Ltd.

Address before: 610000 Shuangliu County Economic Development Zone, Southwest Airlines Development Zone, Chengdu, Sichuan, Chengdu, Chengdu University of Electronic Science and technology of China

Patentee before: Chengdu Science and Technology Ltd. of Tian Heng electricity section

TR01 Transfer of patent right