CN106953707A - The synchronous method and synchronization system of a kind of different zones gateway data acquisition time - Google Patents
The synchronous method and synchronization system of a kind of different zones gateway data acquisition time Download PDFInfo
- Publication number
- CN106953707A CN106953707A CN201710126256.0A CN201710126256A CN106953707A CN 106953707 A CN106953707 A CN 106953707A CN 201710126256 A CN201710126256 A CN 201710126256A CN 106953707 A CN106953707 A CN 106953707A
- Authority
- CN
- China
- Prior art keywords
- time
- gateway
- different zones
- cdma
- data acquisition
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Electric Clocks (AREA)
Abstract
The present invention discloses the synchronous method and synchronization system of a kind of different zones gateway data acquisition time, and the synchronous method includes:The equipment configured according to configuration parameter in same station indicates position;Position is indicated according to the equipment, corresponding gateway in different zones is configured in same station, and be connected to cdma network;The current time of the cdma network is obtained, in the clock chip for each gateway being synchronized in the same station, so as to realize the synchronization of gateway data acquisition time in different zones, and the precision of lock in time is improved.
Description
Technical field
The present invention relates to gateway data acquisition technique field, more particularly to a kind of different zones gateway data acquisition time
Synchronous method and synchronization system.
Background technology
The time point for the data that multiple gateways in same station are gathered in different zones may be different, so as to cause to be directed to
The data of upload will be unable to accurately carry out big data analysis.For example, in compressor operating system, same system exists multiple
The pressure value and temperature value of point need collection, for example, one of point is one-level pressure at expulsion, another point is that workman finally makes
Pressure at expulsion, general hundreds of meters of the actual physics distance of two collection points, so need to set multiple gateway gathered datas,
What to need these gateways simultaneously when needing the time of gathered data consistent.And the method for time synchronized is had following several at present
Kind:
(1) the GPS satellite clock method of synchronization, using GPS (the Global Positioning using the present U.S.
System, global positioning system) the UTC time benchmark of global position system carries out that the whole network clock is synchronous, and clock accuracy is reachable
100ns, equipment volume and power consumption are smaller, no usage charges.But satellite system may be interfered, led by U.S.'s control at any time
Cause promptness and the accuracy reduction of data analysis.
(2) the Beidou satellite clock method of synchronization, " Big Dipper one " the satellite fix system manufactured using Chinese autonomous Design
System carries out the synchronization of the whole network clock, and clock accuracy is up to 50ns.But equipment volume is larger, power consumption is larger, is unfavorable for promoting the use of.
(3) CDMA cell phone networks clock synchronization mode, using CDMA ((Code Division Multiple Access,
CDMA) cell phone network enters that row clock is synchronous, and precision is up to 300~400ns.But the phone number of networking is needed, have
Certain cost of use, CDMA cell phone networks are still using GPS the whole network clock synchronization modes in addition, when GPS can not normal work
When, this network will also be affected, so as to influence the precision of lock in time.
(4) terminal built-in clock and timing correcting mode, terminal inner onboard clock system, regularly can be more than
GPS, the Big Dipper or CDMA cell phone networks enter row clock amendment, can be used as autonomous operation clock when clock synchronous network network fails
Supplementary means, precision is up to 1us~0.1ms, and clock accuracy is higher.But, such a mode is to a certain extent by environment
Temperature influences, and time precision can decline, and can additionally increase the power consumption of certain equipment cost and equipment.
The content of the invention
It is an object of the invention to provide a kind of synchronous method of different zones gateway data acquisition time, when can improve synchronous
Between precision.
To achieve the above object, the invention provides following scheme:
A kind of synchronous method of different zones gateway data acquisition time, the synchronous method includes:
The equipment configured according to configuration parameter in same station indicates position;
Position is indicated according to the equipment, corresponding gateway in different zones is configured in same station, and is connected to
Cdma network;
The current time of the cdma network is obtained, the clock chip for each gateway being synchronized in the same station
In.
Optionally, the synchronous method also includes:
Based on time check function, when the time check starting in the same station is calculated according to the configuration parameter
Between;
According to the time check initial time, the current time of cdma network described in timing acquisition is described same to update
Lock in time in the clock chip of each gateway in one station.
Optionally, the configuration parameter includes:The numbering of computer room, the title of computer room, gateway numbering.
Optionally, obtain the current time of the cdma network, each gateway being synchronized in the same station when
Clock chip includes:
Communication module AT is sent to CDMA communication modules by controller to instruct, with obtain the cdma network it is current when
Between;
The CDMA communication modules instruct the current time for obtaining the cdma network according to the communication module AT, and together
Walk in the clock chip.
Optionally, obtain the current time of the cdma network, each gateway being synchronized in the same station when
Also include in clock chip:
The current time of the cdma network is confirmed by locating module, and is synchronized in the clock chip.
The specific embodiment provided according to the present invention, the invention discloses following technique effect:
The synchronous method of different zones gateway data acquisition time of the present invention is configured in same station according to configuration parameter
Equipment indicates position;Position is indicated according to equipment, different gateways are configured in same station and cdma network is connected to;And then pass through
The current time for obtaining cdma network is synchronized in the clock chip of each gateway, so that multiple gateways in same station
Consistent at the time point of different zones gathered data, time precision is higher, is easy to the analyzing and processing of data.
It is an object of the invention to provide a kind of synchronization system of different zones gateway data acquisition time, when can improve synchronous
Between precision.
To achieve the above object, the invention provides following scheme:
A kind of synchronization system of different zones gateway data acquisition time, the synchronization system includes:
Parameter configuration unit, the equipment for being configured according to configuration parameter in same station indicates position;
Gateway dispensing unit, for indicating position according to the equipment, corresponding gateway in different zones is configured to same
In station, and it is connected to cdma network;
Synchronization unit, the current time for obtaining the cdma network is synchronized to each net in the same station
In the clock chip of pass.
Optionally, the synchronization system also includes:
Computing unit, for based on time check function, according to the configuration parameter calculate in the same station when
Between verify initial time;
Updating block, for according to the time check initial time, the current time of cdma network described in timing acquisition,
Lock in time in clock chip to update each gateway in the same station.
Optionally, the synchronization unit includes controller, CDMA communication modules, wherein,
The controller is connected with the CDMA communication modules, for sending communication module AT to the CDMA communication modules
Instruction, to obtain the current time of the cdma network;
The CDMA communication modules are connected with the clock chip, described in referring to acquisition according to the communication module AT
The current time of cdma network, and be synchronized in the clock chip.
Optionally, the synchronization unit also includes locating module, and the locating module is connected with the clock chip, is used for
Confirm the current time of the cdma network, and be synchronized in the clock chip.
Optionally, the controller, CDMA communication modules and locating module are provided with each gateway.
The specific embodiment provided according to the present invention, the invention discloses following technique effect:
The synchronization system of different zones gateway data acquisition time of the present invention is configured by arrange parameter dispensing unit, gateway
Unit and synchronization unit, the equipment that can be configured according to configuration parameter in same station indicate position;Position is indicated by difference according to equipment
Gateway be configured in same station, and be connected to cdma network;And then be synchronized to by the current time for obtaining cdma network
In the clock chip of each gateway, so that the time point one of multiple gateways in same station in different zones gathered data
Cause, time precision is higher, is easy to the analyzing and processing of data.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart of the synchronous method of different zones gateway data acquisition time of the present invention;
Fig. 2 is the modular structure schematic diagram of the synchronization system of different zones gateway data acquisition time of the present invention.
Symbol description:
1-parameter configuration unit, 2-gateway dispensing unit, 3-synchronization unit, 4-computing unit, 5-updating block.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
It is an object of the invention to provide a kind of synchronous method of different zones gateway data acquisition time, according to configuration parameter
Configure the equipment sign position in same station;Position is indicated according to equipment, different gateways are configured in same station and are connected to
Cdma network;And then be synchronized to by the current time for obtaining cdma network in the clock chip of each gateway, so that together
Multiple gateways in one station are consistent at the time point of different zones gathered data, and time precision is higher, is easy to the analysis of data
Processing.
It is below in conjunction with the accompanying drawings and specific real to enable the above objects, features and advantages of the present invention more obvious understandable
Applying mode, the present invention is further detailed explanation.
As shown in figure 1, the synchronous method of different zones gateway data acquisition time of the present invention includes:
Step 100:The equipment configured according to configuration parameter in same station indicates position.Wherein, the configuration parameter includes
The numbering of computer room, the title of computer room, gateway numbering.
Step 200:Position is indicated according to the equipment, corresponding gateway in different zones is configured in same station, and
It is connected to cdma network.
Specifically, each gateway in same station is connected to cdma network by CDMA communication modules.
Step 300:Obtain the current time of the cdma network, each gateway being synchronized in the same station when
In clock chip.
Step 400:Based on time check function, the time check in the same station is calculated according to the configuration parameter
Initial time.
Step 500:According to the time check initial time, the current time of cdma network described in timing acquisition, with more
Lock in time in the clock chip of each gateway in the new same station.
For example, when being based on time check function, the time check in the same station is calculated according to the configuration parameter
8 timesharing when initial time is 8, then 8 points of time points at the 8 of every day, each gateway obtain the cdma network it is current when
Between, lock in time in the clock chip to update each gateway in the same station, so as to realize when regularly updating synchronous
Between, improve synchronization accuracy.
Further, in step 300, the current time of the cdma network is obtained, is synchronized in the same station
The clock chip of each gateway include:
Step 301:Communication module AT is sent by controller to CDMA communication modules to instruct, to obtain the cdma network
Current time.
Step 302:The CDMA communication modules instruct according to the communication module AT and obtain the current of the cdma network
Time, and be synchronized in the clock chip.
In addition, the current time for obtaining the cdma network, each gateway being synchronized in the same station
Also include in clock chip:
Step 303:The current time of the cdma network is confirmed by locating module, and is synchronized to the clock chip
In.Wherein, the locating module is d GPS locating module or the Big Dipper locating module.The clock chip is DS1302Z.
In order to ensure the data time of the multiple gateway collections of same computer room must be consistent, many intra-gateways are set on hardware
CDMA communication modules, d GPS locating module and clock chip are put, many gateways of configuration are configured to the net under same room system
Close, then by CDMA communication modules and d GPS locating module/the Big Dipper locating module by same computer room gateway time clock chip
Time synchronized, gateway produces random upload data time according to configuration parameter, so both may insure the multiple gateways of same computer room
The data time of collection is consistent, multiple computer rooms can be uploaded to the Timing randomization of data again, so as to reduce operation platform service
The pressure for receiving data of device.
The synchronization system of different zones gateway data acquisition time of the present invention forms cdma network by wireless networking mode,
Data clock synchronization and the real-time Transmission problem of remote multiple data collection points are completely solved, CDMA communication moulds are employed
Block and d GPS locating module/the Big Dipper locating module dual-network backup mode and clock chip, improve the redundancy of system, fully
Existing Internet resources are make use of, and are following upgrading or conversion all using standard interface and modular design concept
Network transmitting unit and clock synchronization unit are laid a good foundation.
The present invention also provides a kind of synchronization system of different zones gateway data acquisition time, can improve the essence of lock in time
Degree.Specifically, as shown in Fig. 2 the synchronization system of different zones gateway data acquisition time of the present invention include parameter configuration unit,
Gateway dispensing unit 2 and synchronization unit 3.
Wherein, the equipment that the parameter configuration unit 1 is used to be configured according to configuration parameter in same station indicates position, described
Configuration parameter includes numbering, the title of computer room, the gateway numbering of computer room.The gateway dispensing unit 2 and the parameter configuration list
Member 1 is connected, and for indicating position according to the equipment, corresponding gateway in different zones is configured in same station, and is connected
To cdma network.Specifically, each gateway is connected to cdma network by CDMA communication modules.The synchronization unit 3 and institute
State gateway dispensing unit 2 to connect, the current time for obtaining the cdma network, be synchronized to each in the same station
In the clock chip of gateway, so as to realize that the clock of each gateway same station Nei is synchronous.
Further, the synchronization system of different zones gateway data acquisition time of the present invention also includes computing unit 4 and more
New unit 5.Wherein, the computing unit 4 is connected with parameter configuration unit 1 and gateway dispensing unit 2 respectively, for based on the time
Function is verified, the time check initial time in the same station is calculated according to the configuration parameter;5 points of the updating block
It is not connected with the computing unit 4 and synchronization unit 3, for according to the time check initial time, described in timing acquisition
Lock in time in the current time of cdma network, the clock chip to update each gateway in the same station.
Wherein, the synchronization unit 3 includes controller and CDMA communication modules;The controller communicates mould with the CDMA
Block is connected, and is instructed for sending communication module AT to the CDMA communication modules, to obtain the current time of the cdma network;
The CDMA communication modules are connected with the clock chip, for obtaining the cdma network according to communication module AT instructions
Current time, and be synchronized in the clock chip.
Further, the synchronization unit 3 also includes locating module, and the locating module is connected with the clock chip,
For confirming the current time of the cdma network, and it is synchronized in the clock chip.
It is preferred that, the controller, CDMA communication modules and locating module are provided with each gateway.Further
Ground, the locating module is d GPS locating module or the Big Dipper locating module.
Relative to prior art, synchronization system and the above-mentioned different zones of different zones gateway data acquisition time of the present invention
The beneficial effect of the synchronous method of gateway data acquisition time is identical, will not be repeated here.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other
Between the difference of embodiment, each embodiment identical similar portion mutually referring to.
Specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said
It is bright to be only intended to help and understand the method for the present invention and its core concept;Simultaneously for those of ordinary skill in the art, foundation
The thought of the present invention, will change in specific embodiments and applications.In summary, this specification content is not
It is interpreted as limitation of the present invention.
Claims (10)
1. a kind of synchronous method of different zones gateway data acquisition time, it is characterised in that the synchronous method includes:
The equipment configured according to configuration parameter in same station indicates position;
Position is indicated according to the equipment, corresponding gateway in different zones is configured in same station, and be connected to CDMA nets
Network;
The current time of the cdma network is obtained, in the clock chip for each gateway being synchronized in the same station.
2. the synchronous method of different zones gateway data acquisition time according to claim 1, it is characterised in that described same
One step process also includes:
Based on time check function, the time check initial time in the same station is calculated according to the configuration parameter;
According to the time check initial time, the current time of cdma network described in timing acquisition, to update the same station
Lock in time in the clock chip of each gateway in room.
3. the synchronous method of different zones gateway data acquisition time according to claim 1 or 2, it is characterised in that institute
Stating configuration parameter includes:The numbering of computer room, the title of computer room, gateway numbering.
4. the synchronous method of different zones gateway data acquisition time according to claim 1, it is characterised in that obtain institute
The current time of cdma network is stated, the clock chip for each gateway being synchronized in the same station includes:
Communication module AT is sent by controller to CDMA communication modules to instruct, to obtain the current time of the cdma network;
The CDMA communication modules instruct the current time for obtaining the cdma network according to the communication module AT, and are synchronized to
In the clock chip.
5. the synchronous method of different zones gateway data acquisition time according to claim 4, it is characterised in that obtain institute
The current time of cdma network is stated, is also included in the clock chip for each gateway being synchronized in the same station:
The current time of the cdma network is confirmed by locating module, and is synchronized in the clock chip.
6. a kind of synchronization system of different zones gateway data acquisition time, it is characterised in that the synchronization system includes:
Parameter configuration unit, the equipment for being configured according to configuration parameter in same station indicates position;
Gateway dispensing unit, for indicating position according to the equipment, same station is configured to by corresponding gateway in different zones
It is interior, and it is connected to cdma network;
Synchronization unit, the current time for obtaining the cdma network, each gateway being synchronized in the same station
In clock chip.
7. the synchronization system of different zones gateway data acquisition time according to claim 6, it is characterised in that described same
Step system also includes:
Computing unit, for based on time check function, the time school in the same station to be calculated according to the configuration parameter
Test initial time;
Updating block, for according to the time check initial time, the current time of cdma network described in timing acquisition, with more
Lock in time in the clock chip of each gateway in the new same station.
8. the synchronization system of different zones gateway data acquisition time according to claim 6, it is characterised in that described same
Walking unit includes controller, CDMA communication modules, wherein,
The controller is connected with the CDMA communication modules, is referred to for sending communication module AT to the CDMA communication modules
Order, to obtain the current time of the cdma network;
The CDMA communication modules are connected with the clock chip, for referring to the acquisition CDMA nets according to the communication module AT
The current time of network, and be synchronized in the clock chip.
9. the synchronization system of different zones gateway data acquisition time according to claim 8, it is characterised in that described same
Walking unit also includes locating module, and the locating module is connected with the clock chip, for confirming working as the cdma network
The preceding time, and be synchronized in the clock chip.
10. the synchronization system of different zones gateway data acquisition time according to claim 9, it is characterised in that each institute
State and be provided with gateway the controller, CDMA communication modules and locating module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710126256.0A CN106953707A (en) | 2017-03-06 | 2017-03-06 | The synchronous method and synchronization system of a kind of different zones gateway data acquisition time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710126256.0A CN106953707A (en) | 2017-03-06 | 2017-03-06 | The synchronous method and synchronization system of a kind of different zones gateway data acquisition time |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106953707A true CN106953707A (en) | 2017-07-14 |
Family
ID=59466681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710126256.0A Pending CN106953707A (en) | 2017-03-06 | 2017-03-06 | The synchronous method and synchronization system of a kind of different zones gateway data acquisition time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106953707A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081853A (en) * | 2010-12-03 | 2011-06-01 | 合肥工业大学 | Self-adaptive multi-level radio network signal lamp system and control method thereof |
CN102547942A (en) * | 2012-02-21 | 2012-07-04 | 南京农业大学 | Wireless sensor network intelligent gateway applied to greenhouse environment monitoring |
WO2015143252A1 (en) * | 2014-03-19 | 2015-09-24 | Hughes Network Systems, Llc | Apparatus and method for network-level synchronization in multiple low earth orbit (leo) satellite communications systems |
-
2017
- 2017-03-06 CN CN201710126256.0A patent/CN106953707A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081853A (en) * | 2010-12-03 | 2011-06-01 | 合肥工业大学 | Self-adaptive multi-level radio network signal lamp system and control method thereof |
CN102547942A (en) * | 2012-02-21 | 2012-07-04 | 南京农业大学 | Wireless sensor network intelligent gateway applied to greenhouse environment monitoring |
WO2015143252A1 (en) * | 2014-03-19 | 2015-09-24 | Hughes Network Systems, Llc | Apparatus and method for network-level synchronization in multiple low earth orbit (leo) satellite communications systems |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924233A (en) | Electric power collection copies group system and method | |
CN102866627B (en) | Beidou seamless high-precision time service implementation method and system | |
CN103888548A (en) | Bluetooth beacon monitoring and management system | |
CN106612494A (en) | Intelligent location tracking method and intelligent location tracking system | |
CN203352798U (en) | Mobile information positioning terminal | |
CN106953900A (en) | A kind of industrial environment outdoor scene enhanced interactive terminal and system | |
CN109257425A (en) | Novel things-internet gateway and things-internet gateway working method | |
CN106056876A (en) | Enterprise energy management information acquisition system and method | |
CN112183905B (en) | Building design plan comprehensive optimization method based on BIM modeling | |
CN205193459U (en) | Time synchronization device | |
CN105868934A (en) | Tour-inspection remote management method | |
CN102447745B (en) | The processing method and processing device of message residence time in TC equipment | |
CN102564388A (en) | Method and device for determining horizontal direction angles of antennae of base station | |
CN106714189A (en) | Method and device for analyzing cell over coverage | |
CN109842893A (en) | A kind of automatic identification remotely opens the method and device at station | |
CN104184215B (en) | Transformer station's dispatching automation joint debugging method and the Apparatus and system of application the method | |
CN106953707A (en) | The synchronous method and synchronization system of a kind of different zones gateway data acquisition time | |
CN202340316U (en) | Gateway of Internet of things for environmental monitoring based on GSM (Global System for Mobile Communication) technology | |
CN203968154U (en) | A kind of long-range kernel phase system based on wireless Internet | |
Tiantian et al. | Research on mine safety monitoring system based on WSN | |
CN105553106A (en) | Remote control closed-loop test method for intelligent substation | |
CN106454880A (en) | Signaling tracking task processing method and apparatus | |
CN106851565B (en) | A kind of border base station recognition methods and system | |
CN107750051A (en) | The optimization method and its device of radio transmission model | |
CN202929373U (en) | Beidou seamless high-precision time service system |
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: 20170714 |
|
RJ01 | Rejection of invention patent application after publication |