CN110113124A - Clock synchronizing method and device for optical fiber vibration sensing system - Google Patents

Clock synchronizing method and device for optical fiber vibration sensing system Download PDF

Info

Publication number
CN110113124A
CN110113124A CN201910302599.7A CN201910302599A CN110113124A CN 110113124 A CN110113124 A CN 110113124A CN 201910302599 A CN201910302599 A CN 201910302599A CN 110113124 A CN110113124 A CN 110113124A
Authority
CN
China
Prior art keywords
optical fiber
synchronization signal
sensing system
timestamp
vibration sensing
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
CN201910302599.7A
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.)
Henan Shunbo Building Intelligent Engineering Co Ltd
Original Assignee
Henan Shunbo Building Intelligent Engineering 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 Henan Shunbo Building Intelligent Engineering Co Ltd filed Critical Henan Shunbo Building Intelligent Engineering Co Ltd
Priority to CN201910302599.7A priority Critical patent/CN110113124A/en
Publication of CN110113124A publication Critical patent/CN110113124A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H9/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means
    • G01H9/004Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means using fibre optic sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0644External master-clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a kind of clock synchronizing method and device for optical fiber vibration sensing system, the optical fiber vibration sensing system includes optical fiber demodulating apparatus and video monitoring equipment;The clock synchronizing method includes the following steps: that acquisition reference clock synchronization signal, the reference clock synchronization signal are synchronization signal, the synchronization signal of 1588 synchronous protocol time service of IEEE or the synchronization signal of RTC chip time service of satellite navigation system time service;Timestamp is generated according to the reference clock synchronization signal and default crystal oscillator;The timestamp is respectively written into the first data packet of the optical fiber demodulating apparatus and the second data packet of the video monitoring equipment.Technical solution of the present invention is capable of forming the monolithic long-distance distributed perimeter security system of time reference, convenient for the overall process of subsequent Accurate Analysis early warning situation.

Description

Clock synchronizing method and device for optical fiber vibration sensing system
Technical field
The invention belongs to novel field of security technology more particularly to a kind of clock for optical fiber vibration sensing system are synchronous Method and device.
Background technique
Distributed optical fiber vibration sensing system has become more mature in perimeter security system a wide range of over long distances at present Technological means, have structure is simple, detection range is long, not by electromagnetic interference, be easy construction etc. advantages, at present in national defence The applications such as facility, sensitizing range, oil pipeline, electric power.
Video monitoring equipment and optical fiber sensing system is often added in current existing distributed optical fiber vibration sensing system It links, after optical fiber sensing system provides invasion position, guides nearest video monitoring equipment to carry out matching and obtain correlation Image information, convenient for comprehensive recovering and analysis intrusion event.But in such distributed optical fiber vibration sensing system at present Special Clock Synchronization Technology is not used, video monitoring stores video file, optical fiber vibration sensing system using the own system time The data of the demodulated equipment of system and working time are provided using the system time of industrial personal computer or host computer, the two type equipments Time accuracy is poor, and the variation of system time will lead to the time entanglement of acquisition equipment, gives subsequent recovering and analysis early warning event Huge inconvenience is brought, (single distributed optical fiber vibration sensing system can be with especially in long range widespread adoption Realize 40 kilometers to 60 kilometers of distance sensing), the video monitoring equipment that key position uses is more, if each equipment when Clock is asynchronous, will be unable to the continuity of the intrusion event of accurate dynamic analysis different location, loses the base of perimeter security system This function.
Shanghai Communications University " high-precision distribution type fiber-optic synchronous method " with " high-precision distribution type fiber-optic it is synchronous system The Clock Synchronization Technology of distribution type fiber-optic is given in the patents such as system ", but the above method is suitable for optical communication network, synchronizes and refers to It enables and agreement is realized by light distribution and exchange network, since optical fiber sensing system is needed using extraneous physical perturbation in optical fiber The phase change dissection process of portion's optical signal realizes that these information will not exist after optical switching network, so this kind of Clock synchronizing method is not available in distributed optical fiber vibration sensing system.In video frequency signal processing, also there are field synchronization, row Series of protocols format and the video source processing method such as synchronize to carry out the synchronization between different video, but the pass of such methods Note object is not the synchronization of physics absolute time.Therefore, there is presently no be directed in distributed optical fiber vibration sensing system to solve Adjust the clock synchronizing method and technology of equipment and video linkage monitoring equipment, the technology and methods of existing network synchronization protocols formula It can not directly be used in the system that existing optical treatment equipment has electricity processing equipment again, and such " soft " synchronous method obtains The synchronization accuracy arrived is lower, but distributed optical fiber vibration sensing system clock in engineering process is synchronized and must be solved Problem.
How a kind of demodulated equipment suitable for distributed optical fiber vibration sensing system and video monitoring equipment are provided Multi-level clock synchronous method, with promote distributed optical fiber vibration sensing system circumference safety-security area application be urgently to solve at present Certainly the problem of.
Summary of the invention
The technical problem to be solved by the present invention is in order to overcome in the prior art in distributed optical fiber vibration sensing system Demodulated equipment and the video monitoring equipment problem that carry out accurate clock synchronous, provide a kind of for optical fiber vibration sensing system Clock synchronizing method and device.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of clock synchronizing method for optical fiber vibration sensing system, which is characterized in that the optical fiber vibration sensing system packet Include optical fiber demodulating apparatus and video monitoring equipment;
The clock synchronizing method includes:
Obtain reference clock synchronization signal, the reference clock synchronization signal be satellite navigation system time service synchronization signal, The precision interval clock synchronous protocol standard of IEEE 1588(network measure and control system) synchronous protocol time service synchronization signal or RTC(real-time clock) chip time service synchronization signal;
Timestamp is generated according to the reference clock synchronization signal and default crystal oscillator;
By the timestamp be respectively written into the optical fiber demodulating apparatus the first data packet and the video monitoring equipment Two data packets.
Preferably, first data packet includes sampled data, and/or, second data packet includes image data.
Preferably, first data packet and the view that the timestamp is respectively written into the optical fiber demodulating apparatus The step of second data packet of frequency monitoring device, specifically includes:
By the timestamp according to the first data format of first data packet be adjusted at the first time stab, and will be described when Between stamp according to the second data format of second data packet be adjusted to the second timestamp;
First time stamp is written to the first data packet of the optical fiber demodulating apparatus, and second timestamp is written Second data packet of the video monitoring equipment.
Preferably, the synchronization of the synchronization signal of the satellite navigation system time service, 1588 synchronous protocol time service of the IEEE Signal and the synchronization signal of the RTC chip time service respectively correspond different default application scenarios;
The step of acquisition reference clock synchronization signal, specifically includes:
Determine the current application scene of the optical fiber vibration sensing system;
Judge whether the current application scene is the default application scenarios;
If the determination result is YES, then the reference clock synchronization signal is obtained according to the current application scene.
Preferably, the clock synchronizing method for optical fiber vibration sensing system further include:
It detects the optical fiber demodulating apparatus and whether the video monitoring equipment is completed clock and synchronized;
If testing result be it is yes, generate warning banner, the warning banner shows that the clock synchronizes effectively.
Preferably, the clock synchronizing method for optical fiber vibration sensing system further include:
If testing result be it is no, generate warning message, the warning message shows the clock synchronized void.
Preferably, the clock synchronizing method for optical fiber vibration sensing system further include:
The warning banner and/or the warning message are sent to the terminal bound in advance.
The present invention also provides a kind of clock synchronization apparatus for optical fiber vibration sensing system, the optical fiber vibration sensings System includes optical fiber demodulating apparatus and video monitoring equipment;
The clock synchronization apparatus includes:
Signal acquisition module, for obtaining reference clock synchronization signal, the reference clock synchronization signal is satellite navigation system Synchronization signal, the synchronization signal of 1588 synchronous protocol time service of IEEE or the synchronization signal of RTC chip time service of time service;
Timestamp generation module, for generating timestamp according to the reference clock synchronization signal and default crystal oscillator;
Timestamp writing module, for the timestamp to be respectively written into the first data packet and the institute of the optical fiber demodulating apparatus State the second data packet of video monitoring equipment.
Preferably, first data packet includes sampled data, and/or, second data packet includes image data.
Preferably, the timestamp writing module includes Format adjusting submodule and write-in implementation sub-module:
The Format adjusting submodule is for the timestamp to be adjusted to according to the first data format of first data packet It stabs at the first time, and the timestamp is adjusted to the second timestamp according to the second data format of second data packet;
The Format adjusting submodule is also used to call said write implementation sub-module, and said write implementation sub-module is used for institute The first data packet that the optical fiber demodulating apparatus is written in stamp at the first time is stated, and the video is written into second timestamp Second data packet of monitoring device.
Preferably, the synchronization of the synchronization signal of the satellite navigation system time service, 1588 synchronous protocol time service of the IEEE Signal and the synchronization signal of the RTC chip time service respectively correspond different default application scenarios;
The signal acquisition module includes:
Scene determines submodule, for determining the current application scene of the optical fiber vibration sensing system;
Judging submodule, for judging whether the current application scene is the default application scenarios;
If the determination result is YES, then acquisition implementation sub-module is called, the acquisition implementation sub-module according to described for currently answering The reference clock synchronization signal is obtained with scene.
Preferably, the clock synchronization apparatus further include:
Detection module, for detecting whether the optical fiber demodulating apparatus and the video monitoring equipment are completed clock and synchronized;
If testing result be it is yes, call warning banner generation module, the warning banner generation module reminds mark for generating Know, the warning banner shows that the clock synchronizes effectively.
Preferably, the clock synchronization apparatus further includes warning message generation module;
If the testing result of the detection module be it is no, call the warning message generation module, the warning message generates For module for generating warning message, the warning message shows the clock synchronized void.
Preferably, the clock synchronization apparatus further includes information sending module, the information sending module is used for will be described Warning banner and/or the warning message are sent to the terminal bound in advance.
On the basis of common knowledge of the art, above-mentioned each optimum condition, can any combination to get each preferable reality of the present invention Example.
The positive effect of the present invention is that: technical solution of the present invention is ingenious in design, is easily achieved, and efficiently solves mesh The preceding clock synchronizing method without for demodulated equipment and video monitoring equipment in distributed optical fiber vibration sensing system shows Real problem is very suitable for using in the distributed optical fiber vibration sensing system of a wide range of long range, is that the circumference of the type is pacified Anti- system provides the reference method of Clock Synchronization Technology, realizes convenient for different type equipment a variety of inside the type security system High precision clock is synchronous, analyzes for comprehensive accurate synchronization and reappears attack early warning event and provides the foundation technical support.
Detailed description of the invention
It, below will be to needed in the embodiment attached for the clearer technical solution for illustrating the embodiment of the present invention Figure is briefly described, it should be apparent that, drawings discussed below is only the attached drawing of section Example of the invention, not to this The technical solution of invention makes limitation.
Fig. 1 is the flow chart of the clock synchronizing method for optical fiber vibration sensing system of the embodiment of the present invention 1.
Fig. 2 is a kind of flow chart of unrestricted specific embodiment of the embodiment of the present invention 1.
Fig. 3 is the flow chart of the clock synchronizing method for optical fiber vibration sensing system of the embodiment of the present invention 2.
Fig. 4 is the flow chart of the clock synchronizing method for optical fiber vibration sensing system of the embodiment of the present invention 3.
Fig. 5 is the structural block diagram of the clock synchronization apparatus for optical fiber vibration sensing system of the embodiment of the present invention 4.
Fig. 6 is the structural block diagram of the clock synchronization apparatus for optical fiber vibration sensing system of the embodiment of the present invention 5.
Fig. 7 is the structural block diagram of the clock synchronization apparatus for optical fiber vibration sensing system of the embodiment of the present invention 6.
Specific embodiment
It is understandable to enable above-mentioned purpose of the invention, feature and beneficial effect to become apparent, with reference to the accompanying drawing to this The specific embodiment of invention is described in detail.Obviously, described embodiments are only a part of the embodiments of the present invention, without It is whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work Under the premise of every other embodiment obtained, belong to protection scope of the present invention.
Embodiment 1
Present embodiments provide a kind of clock synchronizing method for optical fiber vibration sensing system, the optical fiber vibration sensing system Including optical fiber demodulating apparatus and video monitoring equipment.
As shown in Figure 1, the clock synchronizing method may include steps of:
Step S1: obtaining reference clock synchronization signal, and the reference clock synchronization signal is the synchronization of satellite navigation system time service The synchronization signal of signal, the synchronization signal of 1588 synchronous protocol time service of IEEE or RTC chip time service;
Step S2: timestamp is generated according to the reference clock synchronization signal and default crystal oscillator;
Step S3: the timestamp is respectively written into the first data packet of the optical fiber demodulating apparatus and the video monitoring is set The second standby data packet.
Specifically, the receiver chip of satellite navigation system can use UM220 chip, which is received using single-chip Machine scheme, it is compact-sized, pass through correlator, FFT(fast Fourier transform) and matched filter mixing is applied and algorithm optimization, In conjunction with the satellite received signal of multichannel suppression technology and high quality, the time service precision of 20 nanosecond of common guarantee;1588 agreement of IEEE Time service can be using DP83640 chip with FPGA(field programmable gate array) combine by the way of realize, connect by chip Mouthful programmed configurations, packet check, CRC(cyclic redundancy) modes such as verification, timestamp generate, time adjustment, it can reach 10 microseconds Time service precision;RTC time service chip uses DS1302 chip, and internal reference frequency is 32768Hz, can reach awarding for millisecond magnitude Shi Jingdu.
When implementing, satellite navigation system time service can use satellite navigation system and broadcasts above-mentioned steps in the present embodiment Open service signal determine the wireless radio service of user time, have that time service precision is high, receiving device is simple, application range Greatly, the advantages that wireless synchronization, the region for being highly suitable for satellite-signal is used, Chinese GPS (global location) satellite navigation system System and Beidou satellite navigation system can normal use, configure corresponding receiver time synchronizing signal ready to receive, it is main at present The time service error of the receiver of satellite navigation system chip of stream is 20ns, and multiple spot can reach the same of 100ns magnitude when using simultaneously Walk precision.1588 standard full name of IEEE is " the precision interval clock synchronous protocol standard of network measure and control system ", main former Reason is to be corrected synchronization to the clock of nodes all in network by synchronous signal cycle, can make to be based on network Distributed system reach precise synchronization, can be applied in any multicast network, the present invention according to the analysis and research to the agreement, By special synchronous chip and FPGA combine in the way of design hardware timestamping generator, complete to be based on 1588 agreement of IEEE Simultaneous techniques realize, can reach the synchronization accuracy of musec order.RTC time service mostly uses real-time timepiece chip, most of to use The higher crystal oscillator of precision is as clock source, and under conditions of external battery power supply, when main power source power down, RTC clock is also It can work, the synchronization accuracy of this method is lower, generally several milliseconds of magnitudes, can be used as emergency clock.It shakes in distribution type fiber-optic In dynamic sensor-based system, satellite-signal, while fiber-optic vibration data and monitoring device video can receive in the equipment of outdoor application Data are required to backhaul service device, also constitute Distributed data exchange network, as long as RTC time service chip has continued power can To work always, therefore meet from these three Clock Synchronization Technologies the application of this system, when being applied in combination to form multistage Clock synchronous method, it is easy to accomplish.
In the present embodiment, reference clock synchronization signal can be second synchronization signal, it may also be said to, accuracy in one second is by base Quasi- clock sync signal guarantees, and local crystal oscillator (default crystal oscillator i.e. hereinbefore) is due to the influence of the factors such as frequency drift, one As it is accurate in the short time, accumulated error can be generated for a long time, therefore accuracy in one second is provided by reference clock synchronization signal, in the second Time is provided by local crystal oscillator, and the two cooperatively forms the timestamp that Hour Minute Second millisecond microsecond nanosecond information is provided with, due to described The multiple equipment (such as: optical fiber demodulating apparatus, screen monitoring device etc.) in optical fiber vibration sensing system can be written in timestamp, because This, the timestamp can also be referred to as bottom timestamp, and bottom refers to the processor module inside various equipment, with host computer phase It is corresponding.
Further, first data packet may include sampled data, and/or, second data packet may include Image data.
As one unrestricted embodiment of the present embodiment, as shown in Fig. 2, the step S3 can be by following thin Implement step by step:
Step S31: the timestamp is adjusted to stab at the first time according to the first data format of first data packet, and The timestamp is adjusted to the second timestamp according to the second data format of second data packet;
First time stamp: being written the first data packet of the optical fiber demodulating apparatus by step S32, and when by described second Between stamp the second data packet of the video monitoring equipment is written.
Further, first data format can be identical or not identical with the second data format.
Clock synchronizing method provided in this embodiment for optical fiber vibration sensing system, in fiber optic intrusion detection and video It joined accurate timestamp information in monitoring, both ensure that the time of circumference security device is accurate and reliable, in turn ensured not It is synchronous with the high precision clock between equipment, it provides the foundation support for the continuous synchronization analysis of positions multiple over long distances, it can be with The function of preferably playing perimeter security system is very suitable to carry out the invasion information of a wide range of perimeter security system comprehensively whole Body analysis.
Embodiment 2
A kind of clock synchronizing method for optical fiber vibration sensing system is present embodiments provided, as shown in figure 3, in the present embodiment Clock synchronizing method be further improvement on that basis of example 1.
Further, the synchronization signal of the satellite navigation system time service, 1588 synchronous protocol time service of the IEEE it is same Step signal and the synchronization signal of the RTC chip time service can respectively correspond different default application scenarios;
The step S1 may include following subdivided step:
Step S11: the current application scene of the optical fiber vibration sensing system is determined;
Step S12: judge whether the current application scene is the default application scenarios;
If the determination result is YES, it thens follow the steps S13: the synchronous letter of the reference clock is obtained according to the current application scene Number.
If judging result be it is no, then follow the steps S14: redefining the current application field of the optical fiber vibration sensing system Scape.
In practical applications, the demodulated equipment and video monitoring equipment of distributed optical fiber vibration sensing system are laid in field When, there are satellite navigation system signals, therefore generally using satellite navigation system time service as Pnmary Synchronization method, that is, It says, under the application scenarios of field work, highest priority of the satellite navigation system time service in three kinds of time service modes.Work as hardware When equipment is located at indoor or underground (application such as underground pipe gallery or tunnel), the data switching networks of all devices is interconnected , therefore the hardware condition of 1588 agreement of IEEE operation is fully met, and IEEE is used under the applicable cases of the type 1588 agreement time services, that is to say, that indoors or under the application scenarios of underground job, 1588 agreement time service of IEEE is at three kinds Highest priority in time service mode.In the security protection application of long term monitoring, it sometimes appear that network during steady operation The case where failure, switches to RTC chip time service mode at this time, guarantees that each equipment has under any circumstance and more accurately awards When clock source, that is to say, that under the application scenarios for needing long term monitoring, RTC chip time service is excellent in three kinds of time service modes First grade highest.
High precision clock by the united application of above-mentioned three kinds of methods, under any scene may be implemented substantially any time It is synchronous.The current highest signal frequency, demodulation frequency of demodulated equipment in distributed optical fiber vibration sensing system is up to 30kHz, commonly The frame speed of video monitoring equipment is that 60 frames are per second or 120 frames are per second, therefore it is required that clock synchronization accuracy reaches 10 musec orders is It is optimal, the image need corresponding with vibration processes of common video monitoring equipment can also be met when guaranteeing the synchronization accuracy of millisecond magnitude It asks.It is worth noting that, with the development of technology, in order to preferably identify the process of security protection invasion, signal frequency, demodulation frequency and view Frequency monitoring device frame speed can be higher and higher, and the present invention is that following upgrade application also provides the good high precision clock side of synchronization Case.
Clock synchronizing method provided in this embodiment for optical fiber vibration sensing system can be according to different applied fields Scape switches different clock sources, can effectively improve the synchronous precision of clock.
Embodiment 3
A kind of clock synchronizing method for optical fiber vibration sensing system is present embodiments provided, as shown in figure 4, in the present embodiment Clock synchronizing method be further improvement on the basis of embodiment 1 or 2.
Further, the clock synchronizing method for optical fiber vibration sensing system can also include the following steps:
Step S4: detecting the optical fiber demodulating apparatus and whether the video monitoring equipment is completed clock and synchronized;
If testing result be it is yes, then follow the steps S5: generating warning banner, the warning banner shows that the clock has synchronized Effect.
If testing result be it is no, then follow the steps S6: generating warning message, the warning message shows that the clock is synchronous In vain.
Further, the clock synchronizing method for optical fiber vibration sensing system can also include the following steps:
Step S7: the warning banner and/or the warning message are sent to the terminal bound in advance.
The distributed optical fiber vibration sensing system voluntarily developed is combined to carry out using clock synchronizing method provided by the invention Longtime running test, since the demodulated equipment (being referred to as (FBG) demodulator) of distributed optical fiber vibration system is self-research equipment, Therefore, timestamp can be very easily added in actual data packet after generating, for the demodulated equipment of other unit development For, it is synchronous that high precision clock provided by the present invention can be realized in the simple programming modification of progress.Video monitoring equipment can be with The DS-2DC7220IW intelligent ball-type camera for selecting Haikang prestige view, supports the write-in of time service timestamp of the invention.Through too long Phase test, clock source switching etc. of the present invention in distributed optical fiber vibration sensing system under clock synchronization accuracy and abnormal conditions Index is all satisfied actual demand.
In addition, the entire method flow in the present embodiment can be in the output signal and locally height of multiple clock synchronization hardware The locking phase output synchronised clock control of steady temperature compensating crystal oscillator is lower to be completed, and the clock synchronizing method is in multiple types, the information collection of more equipment At in system have applicability.
Clock synchronizing method provided in this embodiment for optical fiber vibration sensing system can visually show whether Effectively synchronous information, in the case of cannot realize that clock is synchronous in time, can also with and alarm, prompt staff to check Equipment, thus, it is possible to further increase the accuracy of entire Clock Synchronization Procedure.
Embodiment 4
Present embodiments provide a kind of clock synchronization apparatus for optical fiber vibration sensing system, the optical fiber vibration sensing system Including optical fiber demodulating apparatus and video monitoring equipment;
Referring to FIG. 5, the clock synchronization apparatus may include:
Signal acquisition module 10, for obtaining reference clock synchronization signal, the reference clock synchronization signal is satellite navigation system Synchronization signal, the synchronization signal of 1588 synchronous protocol time service of IEEE or the synchronization signal of RTC chip time service of system time service;
Timestamp generation module 11, for generating timestamp according to the reference clock synchronization signal and default crystal oscillator;
Timestamp writing module 12, for the timestamp is respectively written into the optical fiber demodulating apparatus the first data packet and Second data packet of the video monitoring equipment.
Specifically, first data packet includes sampled data, and/or, second data packet includes image data.
Further, the timestamp writing module 12 includes Format adjusting submodule 121 and write-in implementation sub-module 122:
The Format adjusting submodule 121 is used to the timestamp being adjusted to the according to the data format of first data packet One timestamp, and the timestamp is adjusted to the second timestamp according to the data format of second data packet;
The Format adjusting submodule 121 is also used to call said write implementation sub-module 122, said write implementation sub-module 122 for first time stamp to be written to the first data packet of the optical fiber demodulating apparatus, and by second timestamp The second data packet of the video monitoring equipment is written.
Working principle, more contents of working method about the clock synchronization apparatus in embodiment 4, are referred to The associated description about clock synchronizing method in embodiment 1, which is not described herein again.
Clock synchronization apparatus provided in this embodiment for optical fiber vibration sensing system at runtime, may be implemented in light Accurate timestamp information is added in fine intrusion detection and video monitoring, both ensure that the time of circumference security device accurately may be used It leans on, in turn ensures that the high precision clock between distinct device is synchronous, provided for the continuous synchronization analysis of positions multiple over long distances Infrastructural support can preferably play the function of perimeter security system, be very suitable to the invasion to a wide range of perimeter security system Information carries out comprehensive global analysis.
Embodiment 5
A kind of clock synchronization apparatus for optical fiber vibration sensing system is present embodiments provided, as shown in fig. 6, in the present embodiment Clock synchronization apparatus be further improvement on the basis of embodiment 4.
Specifically, shown in the synchronous association of the synchronization signal of the satellite navigation system time service, the IEEE 1588, time service is discussed Synchronization signal and the synchronization signal of the RTC chip time service can respectively correspond different default application scenarios;
The signal acquisition module 10 may include:
Scene determines submodule 101, for determining the current application scene of the optical fiber vibration sensing system;
Judging submodule 102, for judging whether the current application scene is the default application scenarios;
If the determination result is YES, then it calls and obtains implementation sub-module 103, the acquisition implementation sub-module 103 is used for according to Current application scene obtains the reference clock synchronization signal.
In the present embodiment, the clock synchronization apparatus can also be including clock source switching management module and to time service equipment It identifies management module (not shown).When the current application scene of the optical fiber vibration sensing system is second by the first scene switching After scene, switching clock source is needed to provide the reference clock synchronization signal for being more in line with concrete application scene, the clock source Switching management module can manage the switching of clock source as a whole.It is described to be protected to time service equipment identification management module It demonstrate,proves clock synchronization apparatus in the hardware such as optical fiber mediation devices and video monitoring equipment and the present embodiment and keeps smoothly information friendship Mutually.
Working principle, more contents of working method about the clock synchronization apparatus in embodiment 5, are referred to The associated description about clock synchronizing method in embodiment 2, which is not described herein again.
Clock synchronization apparatus provided in this embodiment for optical fiber vibration sensing system at runtime, can be according to difference Application scenarios switch different clock sources, it is possible thereby to effectively improve the synchronous precision of clock.
Embodiment 6
A kind of clock synchronization apparatus for optical fiber vibration sensing system is present embodiments provided, as shown in fig. 7, in the present embodiment Clock synchronization apparatus be further improvement on the basis of embodiment 4 or 5.
Further, the clock synchronization apparatus 1 can also include:
Detection module 13, for detecting whether the optical fiber demodulating apparatus and the video monitoring equipment are completed clock and synchronized;
If testing result be it is yes, call warning banner generation module 14, the warning banner generation module 14 is mentioned for generating It wakes up and identifies, the warning banner shows that the clock synchronizes effectively.
Further, the clock synchronization apparatus 1 can also include warning message generation module.
If the testing result of the detection module be it is no, call the warning message generation module 15, the alarm signal For breath generation module 15 for generating warning message, the warning message shows the clock synchronized void.
Further, the clock synchronization apparatus can also include information sending module 16, the information sending module 16 For the warning banner and/or the warning message to be sent to the terminal bound in advance.
Specifically, the information sending module 16 can be by wired or wired communication mode by the warning banner And/or the warning message is sent to the terminal bound in advance in the form of voice or text.
Further, the warning banner and/or the warning message can for multilingual type (such as: Chinese, English Language etc.), to meet the application of the method in a variety of different occasions of the present embodiment, to expand the region used and range.
In the present embodiment, the terminal can be disposable type PC(PC) end or mobile terminal (such as: hand Machine, ipad(tablet computer)) etc., the embodiment of the present invention is without limitation
Working principle, more contents of working method about the clock synchronization apparatus in embodiment 6, are referred to implement The associated description about clock synchronizing method in example 3, which is not described herein again.
Clock synchronization apparatus provided in this embodiment for optical fiber vibration sensing system at runtime, can be visual Show whether effectively synchronous information, in the case of cannot realize that clock is synchronous in time, can also with and alarm, prompt work Personnel inspection equipment, thus, it is possible to further increase the accuracy of entire Clock Synchronization Procedure.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that this is only For example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially from Under the premise of the principle and substance of the present invention, many changes and modifications may be made, but these change and Modification each falls within protection scope of the present invention.

Claims (10)

1. a kind of clock synchronizing method for optical fiber vibration sensing system, which is characterized in that the optical fiber vibration sensing system Including optical fiber demodulating apparatus and video monitoring equipment;
The clock synchronizing method includes:
Obtain reference clock synchronization signal, the reference clock synchronization signal be satellite navigation system time service synchronization signal, The synchronization signal of 1588 synchronous protocol time service of IEEE or the synchronization signal of RTC chip time service;
Timestamp is generated according to the reference clock synchronization signal and default crystal oscillator;
By the timestamp be respectively written into the optical fiber demodulating apparatus the first data packet and the video monitoring equipment Two data packets.
2. being used for the clock synchronizing method of optical fiber vibration sensing system as described in claim 1, which is characterized in that described first Data packet includes sampled data, and/or, second data packet includes image data.
3. being used for the clock synchronizing method of optical fiber vibration sensing system as described in claim 1, which is characterized in that described by institute It states timestamp and is respectively written into the first data packet of the optical fiber demodulating apparatus and the second data packet of the video monitoring equipment The step of specifically include:
The timestamp is adjusted to stab at the first time according to the data format of first data packet, and by the timestamp The second timestamp is adjusted to according to the data format of second data packet;
First time stamp is written to the first data packet of the optical fiber demodulating apparatus, and second timestamp is written Second data packet of the video monitoring equipment.
4. being used for the clock synchronizing method of optical fiber vibration sensing system as described in claim 1, it is characterised in that: the satellite The synchronization signal of navigation system time service, the synchronization signal and the RTC chip time service of 1588 synchronous protocol time service of the IEEE Synchronization signal respectively correspond different default application scenarios;
The step of acquisition reference clock synchronization signal, specifically includes:
Determine the current application scene of the optical fiber vibration sensing system;
Judge whether the current application scene is the default application scenarios;
If the determination result is YES, then the reference clock synchronization signal is obtained according to the current application scene.
5. the clock synchronizing method according to any one of claims 1-4 for optical fiber vibration sensing system, it is characterised in that:
The clock synchronizing method for optical fiber vibration sensing system further include:
It detects the optical fiber demodulating apparatus and whether the video monitoring equipment is completed clock and synchronized;
If testing result be it is yes, generate warning banner, the warning banner shows that the clock synchronizes effectively.
6. being used for the clock synchronizing method of optical fiber vibration sensing system as claimed in claim 5, it is characterised in that:
The clock synchronizing method for optical fiber vibration sensing system further include:
If testing result be it is no, generate warning message, the warning message shows the clock synchronized void.
7. being used for the clock synchronizing method of optical fiber vibration sensing system as claimed in claim 6, it is characterised in that: described to be used for The clock synchronizing method of optical fiber vibration sensing system further includes being sent to the warning banner and/or the warning message in advance The terminal of binding.
8. a kind of clock synchronization apparatus for optical fiber vibration sensing system, which is characterized in that the optical fiber vibration sensing system Including optical fiber demodulating apparatus and video monitoring equipment;
The clock synchronization apparatus includes:
Signal acquisition module, for obtaining reference clock synchronization signal, the reference clock synchronization signal is satellite navigation system Synchronization signal, the synchronization signal of 1588 synchronous protocol time service of IEEE or the synchronization signal of RTC chip time service of time service;
Timestamp generation module, for generating timestamp according to the reference clock synchronization signal and default crystal oscillator;
Timestamp writing module, for the timestamp to be respectively written into the first data packet and the institute of the optical fiber demodulating apparatus State the second data packet of video monitoring equipment.
9. being used for the clock synchronization apparatus of optical fiber vibration sensing system as claimed in claim 8, which is characterized in that described first Data packet includes sampled data, and/or, second data packet includes image data.
10. being used for the clock synchronization apparatus of optical fiber vibration sensing system as claimed in claim 8, which is characterized in that when described Between stamp writing module include Format adjusting submodule and write-in implementation sub-module:
The Format adjusting submodule is used to the timestamp being adjusted to first according to the data format of first data packet Timestamp, and the timestamp is adjusted to the second timestamp according to the data format of second data packet;
The Format adjusting submodule is also used to call said write implementation sub-module, and said write implementation sub-module is used for institute The first data packet that the optical fiber demodulating apparatus is written in stamp at the first time is stated, and the video is written into second timestamp Second data packet of monitoring device.
CN201910302599.7A 2019-04-16 2019-04-16 Clock synchronizing method and device for optical fiber vibration sensing system Pending CN110113124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910302599.7A CN110113124A (en) 2019-04-16 2019-04-16 Clock synchronizing method and device for optical fiber vibration sensing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910302599.7A CN110113124A (en) 2019-04-16 2019-04-16 Clock synchronizing method and device for optical fiber vibration sensing system

Publications (1)

Publication Number Publication Date
CN110113124A true CN110113124A (en) 2019-08-09

Family

ID=67484076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910302599.7A Pending CN110113124A (en) 2019-04-16 2019-04-16 Clock synchronizing method and device for optical fiber vibration sensing system

Country Status (1)

Country Link
CN (1) CN110113124A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830141A (en) * 2019-11-26 2020-02-21 北京小马智行科技有限公司 Time synchronization method, system, storage medium and processor
CN112769518A (en) * 2021-01-22 2021-05-07 上海宽域工业网络设备有限公司 Serial port time sending system and method with second punctual edge
CN114812673A (en) * 2022-04-02 2022-07-29 北京卫星环境工程研究所 Multi-parameter multi-module optical fiber data synchronous testing method
CN116545570A (en) * 2023-05-31 2023-08-04 烟台东方瑞创达电子科技有限公司 Data monitoring method and system of optical fiber time service system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075317A (en) * 2011-01-24 2011-05-25 博威通讯系统(深圳)有限公司 Reliable time frequency synchronization method and system in home base station system
CN102298099A (en) * 2011-07-13 2011-12-28 西安市双合软件技术有限公司 Power distribution and consumption monitoring and measuring apparatus possessing time calibration function
US20130227172A1 (en) * 2012-02-27 2013-08-29 Qun Zheng Frequency distribution using precision time protocol
CN108768576A (en) * 2018-06-29 2018-11-06 广东星舆科技有限公司 A kind of method and device obtaining sensor precise synchronization data
WO2018221238A1 (en) * 2017-06-02 2018-12-06 ソニー株式会社 Wireless device and processing method for wireless device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075317A (en) * 2011-01-24 2011-05-25 博威通讯系统(深圳)有限公司 Reliable time frequency synchronization method and system in home base station system
CN102298099A (en) * 2011-07-13 2011-12-28 西安市双合软件技术有限公司 Power distribution and consumption monitoring and measuring apparatus possessing time calibration function
US20130227172A1 (en) * 2012-02-27 2013-08-29 Qun Zheng Frequency distribution using precision time protocol
WO2018221238A1 (en) * 2017-06-02 2018-12-06 ソニー株式会社 Wireless device and processing method for wireless device
CN108768576A (en) * 2018-06-29 2018-11-06 广东星舆科技有限公司 A kind of method and device obtaining sensor precise synchronization data

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830141A (en) * 2019-11-26 2020-02-21 北京小马智行科技有限公司 Time synchronization method, system, storage medium and processor
CN110830141B (en) * 2019-11-26 2021-11-16 北京小马慧行科技有限公司 Time synchronization method, system, storage medium and processor
CN112769518A (en) * 2021-01-22 2021-05-07 上海宽域工业网络设备有限公司 Serial port time sending system and method with second punctual edge
CN112769518B (en) * 2021-01-22 2022-09-13 上海宽域工业网络设备有限公司 Serial port time sending system and method with second punctual edge
CN114812673A (en) * 2022-04-02 2022-07-29 北京卫星环境工程研究所 Multi-parameter multi-module optical fiber data synchronous testing method
CN114812673B (en) * 2022-04-02 2023-11-10 北京卫星环境工程研究所 Multi-parameter multi-module optical fiber data synchronous test method
CN116545570A (en) * 2023-05-31 2023-08-04 烟台东方瑞创达电子科技有限公司 Data monitoring method and system of optical fiber time service system
CN116545570B (en) * 2023-05-31 2024-03-29 烟台东方瑞创达电子科技有限公司 Data monitoring method and system of optical fiber time service system

Similar Documents

Publication Publication Date Title
CN110113124A (en) Clock synchronizing method and device for optical fiber vibration sensing system
CN105656590B (en) Realize the methods, devices and systems of time synchronization
CN103605023B (en) A kind of combining unit time response measuring method and measurement apparatus
WO2018098606A1 (en) High-precision synchronous data transmission method and device for vibration monitoring system collaboratively using ethernet and serial port rs-232
CN105991205A (en) Verifiable and adjustable full synchronous communication network, and implementation method thereof
CN110493744A (en) A kind of synchronous data sampling method and system of master-slave radio sensor
KR20040054565A (en) System and method for providing time to satellite positioning system (sps) receiver from a networked time server
CN108418647B (en) A kind of adaptive network-building method of time synchronization regarded altogether based on GNSS satellite
CN207650573U (en) A kind of precise synchronization system based on multi-source time service
CN103592843A (en) Timestamp circuit and implement method
CN108966125A (en) A kind of high precision wireless indoor orientation method based on ultra wide band
CN201303334Y (en) Satellite synchronization remote time control device based on dual-mode design
CN108039933A (en) A kind of local Internet of Things time precise synchronization method
CN112003768B (en) Multi-node test system and method for executing multi-node test
CN105515750A (en) Time synchronization method and apparatus based on Bluetooth communication
CN110278049A (en) A kind of method for synchronizing time and system
CN109921871A (en) A kind of method for synchronizing time, device and network system
CN103957069A (en) Network timing IED time synchronization detection method based on physical layer time information
CN112736901B (en) Synchronization method and system for multi-source asynchronous sampling mixed data in distribution network
Liu et al. The research of ranging with timing over packet network for the mine safety application
CN210347786U (en) Wireless high-voltage phase checking instrument
CN112566236A (en) Mining communication base station clock synchronization method and system
CN102938677A (en) Shore station time synchronization method for undersea observational network
CN205657845U (en) Based on GPS time reference multi -point synchronization communication device
CN102647782A (en) Time delay determining method of physical circuit, clock synchronization method and devices of time delay determining method of physical circuit and clock synchronization method

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

Application publication date: 20190809