CN105991206B - Clock calibration method and indoor clock timing system in a kind of midsequent room - Google Patents
Clock calibration method and indoor clock timing system in a kind of midsequent room Download PDFInfo
- Publication number
- CN105991206B CN105991206B CN201510081697.4A CN201510081697A CN105991206B CN 105991206 B CN105991206 B CN 105991206B CN 201510081697 A CN201510081697 A CN 201510081697A CN 105991206 B CN105991206 B CN 105991206B
- Authority
- CN
- China
- Prior art keywords
- school
- clock
- indoor
- information code
- time
- 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.)
- Expired - Fee Related
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Electric Clocks (AREA)
Abstract
The invention discloses clock calibration method in a kind of midsequent room and indoor clock timing systems.The system comprises indoor clock and positioned at indoor one or more trunkings.When the interior clock is for judging when clock is walked that the time (Tg) reaches clock school when triggering point (Tc), when pointer is walked in pause dial plate, into period when school.Each trunking is used to obtain correcting time in network signal, correcting time in network signal is encoded, and information code is forwarded to other trunkings when information code when the school of coding generation is forwarded to indoor clock or high-ranking officers, and indoor clock is transferred to by other trunkings.Information code when the interior clock is additionally operable to receive school, information code carries out mistake proofing and anti-error coded check, deviation (Δ T when information code counting chamber internal clock is walked when based on school when to school1), deviation (Δ T when being walked according to indoor clock1) driving clock movement in transmission mechanism execute corresponding actions, when indoor clock is walked the time (Tg) be corrected to the standard time (Ts).
Description
Technical field
The present invention relates to clock and watch technical fields, more specifically to clock calibration method and room in a kind of midsequent room
Internal clock timing system.
Background technology
Since quartz crystal frequency is easily influenced by ambient temperature, and quartz crystal itself also can aging at any time, output
Frequency generates drift, therefore quartz clock walking time error will inevitably occur with the increase of service life.Currently, in watch store
Industry, when scheme includes the schools GPS when common indoor clock school, when electric wave school, when synchronized clocks clock synchronization system school.
Wherein, the technological deficiency when schools GPS is:The antenna of satellite navigation need to be set up in open air and be connected by cable
Indoor clock causes house wiring mixed and disorderly to transmit time signal;
Technological deficiency when electric wave school is:China has a vast territory, builds on the BPC low-frequency time-code broadcast platforms in Henan Shangqiu
The time signal sent out can not cover all parts of the country, and the application range of technology is restricted when electric wave school;
The defect of technology is when synchronized clocks clock synchronization system school:The system is wired synchronization control system, time letter
Number or correcting delay signal use wire transmission mode, not only house wiring is difficult, also affects the clean and tidy and aesthetics of indoor environment.
Invention content
The technical problem to be solved in the present invention is the drawbacks described above for the prior art, when providing in a kind of midsequent room
Clock calibration method and indoor clock timing system.
The technical solution adopted by the present invention to solve the technical problems is:Construct clock school when side in a kind of midsequent room
Method, described method includes following steps:
S1, when time Tg reaches clock school when clock is walked indoors when triggering point Tc, suspend indoor clock face pointer
When walking, into period when school;
S2, the period at school receive correcting time in network signal by indoor trunking, are compiled to correcting time in network signal
The information code when school of encoded generation is forwarded to indoor clock by code;
Information code when S3, indoor clock receive school, information code carries out mistake proofing and anti-error coded check when to school, and believes at school
When breath code mistake proofing and the acquisition of anti-error coded check pass through, deviation delta T when information code counting chamber internal clock is walked when based on school1, according to room
Deviation delta T when internal clock is walked1The transmission mechanism in clock movement is driven to execute corresponding actions, time Tg when indoor clock is walked
It is corrected to standard time Ts.
Further include following steps before the step S1 in the above-mentioned midsequent room of the present invention in clock calibration method:
Duration when triggering point Tc and school when clock school has been set when S0, indoor clock manufacture.
In the above-mentioned midsequent room of the present invention in clock calibration method, the step S1 further includes:
When clock enters school indoors when the period, period progress timing when opening school of the timer to indoor clock.
In the above-mentioned midsequent room of the present invention in clock calibration method, it is N number of to be arranged in indoor trunking, and N is
Positive integer, such as N>1, then information code when encoding the school generated is forwarded to by interior by indoor trunking in the step S2
The step of clock includes following sub-step:
S21, correcting time in network signal is obtained by the trunking specified in N number of trunking, to correcting time in network
Signal is encoded, and information code when encoding the school generated is transferred to next trunking;
S22, the reception of information code and work is transmitted when executing school successively between N number of trunking, via in n-th
Information code is transferred to indoor clock when equipment high-ranking officers.
In the above-mentioned midsequent room of the present invention in clock calibration method, every frame data of information code are by frame head, frame when school
Begin symbol, function code, data length, the information content, check code and frame end symbol composition, indoor clock pair described in the step S3
Information code carries out mistake proofing when school and the step of anti-error coded check includes:
According to data frame format, when to school frame head of the information code per frame data to the data byte between check code carry out by
Position exclusive or calculates, and result of calculation is compared with the check code of the frame data, information code is when judging school according to comparing result
It is no by mistake proofing and anti-error coded check.
In the above-mentioned midsequent room of the present invention in clock calibration method, the step S3 further includes following steps:
S31, information code mistake proofing and the acquisition of anti-error coded check when passing through at school, judge timer timing time whether be more than
The duration when school of setting;If so, thening follow the steps S32, otherwise, step S33 is executed;
S32, send out the second pulse signal to module when school, transmission mechanism when instructing school in module drive clock movement into
Row second act, when being walked to indoor clock the time carry out duration when setting school quickening calibration, close timer later, exit
When school the period and restore to when walking;
Standard time Ts when S33, extraction school in information code, time Tg progress when standard time Ts is walked with indoor clock
It compares, deviation delta T when counting chamber internal clock is walked1, deviation delta T when being walked according to indoor clock1The first driving letter is sent out to module when school
Number, transmission mechanism when instructing school in module drive clock movement carries out the first action, time Tg school when indoor clock is walked
Just it is being standard time Ts;Wherein, Δ T1=Tg-Ts.
The present invention also constructs clock timing system in a kind of midsequent room, the system comprises:
Indoor clock when time Tg reaches clock school when for judging that clock is walked when triggering point Tc, refers in pause dial plate
When needle is walked, into period when school;
Positioned at indoor one or more trunkings, when entering school for indoor clock when the period, correcting time in network is obtained
Signal encodes correcting time in network signal, and will be when information code is forwarded to indoor clock or high-ranking officers when encoding the school generated
Information code is forwarded to other trunkings, handles and be transferred to the indoor clock by other trunkings;
The interior clock, information code when being additionally operable to receive school, information code carries out mistake proofing and anti-error coded check when to school, and
When at school, information code mistake proofing and the acquisition of anti-error coded check pass through, deviation delta when information code counting chamber internal clock is walked when based on school
T1, deviation delta T when being walked according to indoor clock1It drives the transmission mechanism in clock movement to execute corresponding actions, indoor clock is walked
When time Tg be corrected to standard time Ts.
In the above-mentioned midsequent room of the present invention in clock timing system, each trunking includes:
First communication module, for obtaining the correcting time in network signal from mobile terminal or router, or reception by upper
The information code when school of one trunking forwarding;
First processing module, for being encoded to correcting time in network signal, information code when generating school, or to encoded
Correcting time in network signal carries out enhancing processing, and control first communication module processed correcting time in network signal is forwarded to it is next
Trunking.
In the above-mentioned midsequent room of the present invention in clock timing system, the interior clock includes:
Timer when entering school for indoor clock when the period, starts timework;
Second communication module, information code when for receiving the school from trunking by close range wireless communication modes;
Information code inspection module when school, while being used for timer initiation timework, according to data frame format, to the school
When information code per frame data frame head between check code data byte carry out step-by-step XOR operation, by operation result and the frame
Check code in data is compared, and whether information code is by mistake proofing and anti-error coded check when judging the school according to comparing result;
Every frame data of information code are by frame head, start-of-frame, function code, data length, the information content, check code and frame end when the school
Symbol composition;
Second processing module, when for judging school information code mistake proofing and anti-error coded check passed through and timer constantly
Between when being less than the school of setting when duration, stop the timing of period and the reception of correcting delay signal when school, when extracting school in information code
Standard time Ts, time Tg is compared when standard time Ts is walked with indoor clock, deviation delta when counting chamber internal clock is walked
T1, deviation delta T when being walked according to indoor clock1The first pulse signal operated when exporting for triggering school;
Module when school drives the driver in clock movement for receiving the first pulse signal according to the first pulse signal
Structure carries out the first action, and time Tg is corrected to standard time Ts when clock is walked;Wherein, Δ T1=Tg-Ts.
In the above-mentioned midsequent room of the present invention in clock timing system, the Second processing module is additionally operable to judge the meter
When device timing time when being more than the school of setting when duration, stop the timing of the period and reception of correcting delay signal when school, and to described
The second pulse signal operated when module is sent for triggering school when school;
Module is additionally operable to drive the transmission mechanism progress second in clock movement dynamic according to the second pulse signal when the school
Make, time Tg carries out the quickening calibration of duration when setting school when being walked to clock.
Implement clock calibration method and indoor clock timing system in midsequent room of the present invention, can reach following beneficial to effect
Fruit:
1, in midsequent room of the present invention clock calibration method and indoor clock timing system use by it is indoor it is N number of in
Correcting time in network signal is obtained and transmitted after equipment, correcting time in network signal is gradually delivered to indoor clock, indoor clock is based on net
Deviation when network correcting delay signal calculates, scheme when the indoor clock school calibrated according to time when deviation is to walking when walking, this hair
Scheme not only efficiently solves electric wave signal and can not cover the defect in the whole nation when clock school in midsequent room used by bright, but also
The indoor transmissions process of correcting time in network signal overcomes the difficulty of house wiring without relying on cable, ensure that indoor ring
Border it is neat and artistic.
2, the indoor clock of the present invention is equipped with the anti-error code authentication mechanism of correcting time in network signal mistake proofing, and indoor clock can set relaying
The correcting time in network signal of standby forwarding carries out mistake proofing and anti-error coded check, avoids receiving and is disturbed or the correcting time in network of mistake letter
Number, improve accuracy rate when clock school.
3, in the present invention after in clock timing system in formula room, user can be arranged as required to one or more relayings and set
It is standby, improve the transmitting range of indoor correcting time in network signal so that the placement position of indoor clock is unfettered.
Description of the drawings
The first structural frames of clock timing system in the midsequent room that Fig. 1 provides for first preferred embodiment of the invention
Figure;
Fig. 2 is the structure diagram of any trunking of indoor clock timing system shown in FIG. 1;
Fig. 3 is the structure diagram of the indoor clock of indoor clock timing system shown in FIG. 1;
Second of structural frames of clock timing system in the midsequent room that Fig. 4 provides for second preferred embodiment of the invention
Figure;
The flow chart of clock calibration method in the midsequent room that Fig. 5 provides for the third preferred embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.Based on the embodiments of the present invention,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, belongs to this hair
The range of bright protection.
Embodiment one
Clock timing system in a kind of midsequent room is present embodiments provided, it below will be in the midsequent room when clock school
The structure of system is described in detail:
As shown in Figure 1, in midsequent room of the present invention clock timing system include mobile terminal 100, be located at it is indoor and with this
Mobile terminal 100 is established N number of trunking 200 (wherein, N is positive integer) of wireless communication, is built with N number of trunking 200
The indoor clock 300 of vertical wireless communication.
Wherein, time calibration in network signal is forwarded to N number of relaying and set by mobile terminal 100 for obtaining time calibration in network signal
Standby one of 200 trunkings 200.User can also be by installing and being shown in the relaying under the interfaces mobile terminal 100UI
Equipment 200 manages APP and controls the work of N number of trunking 200.
Indoor clock 300 is for judging to trigger point when whether the time reaches clock school when hand of dial is walked, and in dial plate
When the time reaches clock school when pointer is walked when triggering point, pause hand of dial works when walking, and into period when school, and opens meter
When device 305 to school when process carry out timing.
When each above-mentioned trunking 200 is used to period when clock 300 enters school indoors, correcting time in network letter is received
Number, correcting time in network signal is encoded, and information code when the school of coding generation is forwarded directly to indoor clock 300, or
Information code is forwarded to other trunkings 200 when high-ranking officers, handles and be forwarded to indoor clock 300 by other trunkings 200;
Information code when indoor clock 300 is additionally operable to receive school, information code progress mistake proofing and anti-error coded check when to school, and
When information code mistake proofing and the acquisition of anti-error coded check pass through when school, deviation delta T when information code counting chamber internal clock is walked when based on school1,
Deviation delta T when being walked according to indoor clock1The transmission mechanism in clock movement 304 is driven to execute corresponding actions, by indoor clock
Time Tg is corrected to standard time Ts when walking.
As shown in Fig. 2, each trunking 200 includes first processing module 201, connection first processing module 201
First communication module 202.
First communication module 202 is used to obtain the correcting delay signal provided by mobile terminal 100 or router or by upper one
The information code when school that trunking 200 forwards;
First processing module 201 is for encoding correcting delay signal, information code when generating school, or to encoded net
Network correcting delay signal carries out enhancing processing, and control first communication module 202 processed correcting time in network signal is forwarded to it is next
A trunking 200.
As shown in figure 3, the indoor clock 300 of the present invention includes second communication module 301, connection second communication module 301
School when information code inspection module 306, connection school when the Second processing module 302 of information code inspection module 306, at connection second
Manage module 302 school when module 303, timer 305, connection school when module 303 clock movement 304.
Wherein, Second processing module 302 is for judging whether the time reaches clock school when 300 hand of dial of indoor clock is walked
When trigger point, and when hand of dial is walked, the time reaches clock school when triggering point, into period when school, and when instructing school
When the control execution of clock movement 304 corresponding actions of module 303 are walked with suspending hand of dial.
When timer 305 is used for period when indoor clock 300 enters school, start timework.
Second communication module 301 is used to believe when receiving from the school of trunking 200 by close range wireless communication modes
Cease code.Above-mentioned communication includes but not limited to NFC (Near Field Communication, i.e. near-field communication), indigo plant
Tooth, iBeacon, RDS (Radio Data System, i.e. wireless Data Broadcasting System).
Information code inspection module 306 is used for according to data frame format when school, and frame head of the information code per frame data arrives when to school
Data byte between check code carries out step-by-step XOR operation, and operation result is compared with the check code in the frame data,
Whether information code is by mistake proofing and anti-error coded check when judging school according to comparing result.Such as information code inspection module 306 when school
Operation result is consistent with the check code in information code when school, then judges that information code is by mistake proofing and anti-error coded check when school, otherwise,
Judge school when information code for error code or school when information code there is mistake.
At the school of the encoded gained of the present invention in the data structure of information code, every frame data of information code are by frame when school
Head, start-of-frame, function code, data length, the information content, check code and frame end symbol composition.
When Second processing module 302 passes through for the information code mistake proofing at school and the acquisition of anti-error coded check, timer is judged
Duration when whether 305 timing times are more than the school of setting.Duration when being less than the school of setting such as 305 timing time of timer, then
Standard time Ts when Second processing module 302 extracts school in information code, time Tg when standard time Ts is walked with indoor clock
It is compared, deviation delta T when counting chamber internal clock is walked1, deviation delta T when being walked according to indoor clock1(in the present invention, Δ T1=
Tg-Ts) the first pulse signal is sent to module when school 303;Duration when being more than the school of setting such as 305 timing time of timer, then
Second processing module 302 closes timer 305, and sends out the second pulse signal to module when school 303.
Module 303 is used to that the transmission mechanism in clock movement 304 to be driven to execute according to the first pulse signal corresponding dynamic when school
Make, time Tg is corrected to standard time Ts when indoor clock is walked, or for driving clock machine according to the second pulse signal
Transmission mechanism in core 304 executes corresponding actions, when being walked to indoor clock the time carry out the quickening calibration of duration when setting school.
Embodiment two
Present embodiments provide clock timing system in another midsequent room.The difference body of embodiment two and embodiment one
Now:The acquiring way of network standard time is different.The network standard time acquiring way of embodiment one is:Pass through mobile terminal
100 obtain correcting time in network signal, and correcting time in network signal is forwarded to one of N number of trunking 200 trunking
200;The correcting time in network signal acquisition approach of embodiment two is:The network standard time is obtained from internet by router, by net
The network standard time is forwarded to one of N number of trunking 200 trunking 200 (as shown in Figure 4).
Embodiment three
Present embodiments provide clock calibration method in a kind of midsequent room, this method includes following processing step:
Step 101, triggering point when pre-setting the clock school of indoor clock 300 (such as 12: 00 :) and school is constantly
Long (in a preferred embodiment of the present invention, duration is set as 10 minutes when school).
When step 102, indoor 300 Second processing module 302 of clock judge whether to reach the clock school of setting when clock is walked
When triggering point, and triggering point when arrival clock school when clock is walked, module 303 drives in clock movement 304 when instructing school
Transmission mechanism execute corresponding actions, when being walked with suspending hand of dial, into period when school, and when starting timer 305 to school
Period carries out timing.
Step 103 obtains the correcting time in network time by being arranged in indoor N number of trunking 200 (N is positive integer), right
The correcting time in network time is encoded, and information code when the school of coding formation is forwarded to indoor clock 300.
Such as N>1, then step 103 includes following sub-step:
1031, the correcting time in network provided by mobile terminal 100 or router is obtained by a specified trunking 200
Signal encodes correcting time in network signal, and information code when encoding the school generated is transferred to next trunking 200;
When 1032, executing school successively by N number of trunking 200 information code reception and transmit work, finally via
Information code is transferred to indoor clock 300 when n-th 200 high-ranking officers of trunking.
Information code when step 104, indoor clock receive school, information code is tested when to school, while opening timer 305
Carry out timing.
Step 105 including sub-step 1051 and sub-step 1052.
Sub-step 1051, information code carries out mistake proofing and anti-error coded check when module 303 is to school when passing through school, when school of the present invention
The process of information code mistake proofing and anti-error coded check mechanism is as follows:
Information code inspection module 306 is according to data frame format when school, and frame head of the information code per frame data is to verifying when to school
Data byte between code carries out step-by-step XOR operation, and operation result is compared with the check code in the frame data;Such as fortune
It is consistent with check code to calculate result, then judges that information code passes through mistake proofing and anti-error coded check when school;Otherwise, information code is deposited when judging school
In mistake or school, information code is error code.
Step 1052, Second processing module 302 judge duration when the school whether 305 timing time of timer sets.Such as meter
When 305 timing time of device duration when being less than the school of setting.
Step 106 includes sub-step 1061 and sub-step 1062.
Information code is by mistake proofing and anti-error coded check when such as 1051 lieutenant colonel of sub-step, and 1052 Timer 303 of sub-step
Timing time duration when being less than school, then execute sub-step 1061.
Information code is by mistake proofing and anti-error coded check when such as 1051 lieutenant colonel of sub-step, then return to step 104.
Duration when being more than school such as the timing time of 1052 Timer 303 of sub-step, then execute son rapid 1062.
Sub-step 1061, indoor clock 300 stop the timing of period and the reception of correcting delay signal when school, pass through second processing
Standard time Ts when module 302 extracts school in information code, time Tg is compared when standard time Ts is walked with indoor clock,
Deviation delta T when counting chamber internal clock is walked1, deviation delta T when being walked according to indoor clock1(in the present invention, Δ T1=Tg-Ts) to school
When module 303 instruct when sending out school.Module 303 is executed according to transmission mechanism when school in order-driven clock movement 304 when school
Corresponding actions, time Tg is corrected to standard time Ts when clock is walked, later, period when exiting school, when switching to normally walk.
The process when school in sub-paragraphs 1061 is illustrated below:
Assuming that deviation delta T when indoor clock is walked1It it is 30 seconds, then module 303 receives the of Second processing module 302 when school
One pulse signal drives the transmission mechanism in clock movement 304 to generate the first action, passes through driver according to the first pulse signal
First action of structure drives indoor 300 dial plate second hand of clock to be rotated in a clockwise direction 30 scales.Later, school is exited constantly
Section makes the second hand in clock face restore normal ambulation;
Assuming that deviation delta T when indoor clock is walked1It it is minus 30 seconds, then module 303 receives Second processing module 302 when school
Second pulse signal, the second of a length of 30 seconds when driving the transmission mechanism in clock movement 304 to generate according to the second pulse signal
Action is acted by the second of transmission mechanism so that the second hand stopping in clock face is walked about 30 seconds.Later, indoor clock 300
Period when exiting school, the second hand in clock face restore normal ambulation.
Sub-step 1062, indoor clock stop the timing of period and the reception of correcting delay signal when school, when being walked to indoor clock
After time carries out the quickening calibration operation of duration when setting school, period when exiting school, when switching to normally walk.
The process when school in sub-paragraphs 1061 is illustrated below:
Assuming that preset school constantly a length of 50 seconds, then when indoor clock 300 stops school by Second processing module 302
While the timing of period and the reception of correcting delay signal, third pulse is sent out to module when school 303 by Second processing module 302
Signal.Module 303 drives the transmission mechanism in clock movement 304 to generate third action according to third pulse signal when school, passes through
The third action of drive mechanism drives the second hand on 300 dial plate of indoor clock to be rotated in a clockwise direction 50 scales.Later, room
Period when internal clock 300 exits school, the second hand in clock face restore normal ambulation.
In conclusion clock calibration method and the advantages of indoor clock timing system, are as follows in midsequent room of the present invention:
1, in midsequent room of the present invention clock calibration method and indoor clock timing system use by it is indoor it is N number of in
Correcting time in network signal is obtained and transmitted after equipment 200, correcting time in network signal is gradually delivered to indoor clock 300, indoor clock
300 deviations when calculating based on correcting time in network signal, when the indoor clock school calibrated according to time when deviation is to walking when walking
Scheme, scheme not only efficiently solves electric wave signal and can not cover the whole nation when clock school in midsequent room of the present invention
Defect, and the indoor transmissions process of correcting time in network signal is not necessarily to rely on cable, thus the difficulty of house wiring is overcome, ensure
Indoor environment it is neat and artistic.
2, the indoor clock 300 of the present invention is equipped with the anti-error code authentication mechanism of correcting time in network signal mistake proofing, and indoor clock 300 can be right
The correcting time in network signal that trunking 200 forwards carries out mistake proofing and anti-error coded check, avoids receiving and is disturbed or the net of mistake
Network correcting delay signal improves accuracy rate when clock school.
3, in the present invention after in clock timing system in formula room, user can be arranged as required to one or more relayings and set
Standby 200, improve the transmitting range of indoor correcting time in network signal so that the placement position of indoor clock 300 is unfettered.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (4)
1. clock calibration method in a kind of midsequent room, which is characterized in that described method includes following steps:
Duration when S0, indoor clock (300) trigger point (Tc) and school when clock school has been arranged when dispatching from the factory;
S1, when the time (Tg) reaches clock school when clock is walked indoors when triggering point (Tc), suspend indoor clock (300) dial plate
When pointer is walked, into period when school;
S2, the period at school receive correcting time in network signal by indoor trunking, are encoded to correcting time in network signal,
The information code when school of encoded generation is forwarded to indoor clock (300);
Information code when S3, indoor clock (300) receive school, information code carries out mistake proofing and anti-error coded check when to school, and at school
When information code mistake proofing and the acquisition of anti-error coded check pass through, deviation (Δ T1), root when information code counting chamber internal clock is walked when based on school
Transmission mechanism when being walked according to indoor clock in deviation (Δ T1) driving clock movement (304) executes corresponding actions, when by interior
The time (Tg) is corrected to the standard time (Ts) when clock is walked;
The step S1 further includes:
When clock (300) enters school indoors when the period, when opening timer (305) to the school of indoor clock (300) period into
Row timing;
It is N number of to be arranged in indoor trunking (200), and N is positive integer, such as N>1, then by indoor in the step S2
The step of information code when the school that coding generates is forwarded to indoor clock (300) by trunking (200) includes following sub-step:
S21, correcting time in network signal is obtained by the trunking (200) specified in N number of trunking (200), to net
Network correcting delay signal is encoded, and information code when encoding the school generated is transferred to next trunking (200);
S22, the reception of information code and work is transmitted when executing school successively between N number of trunking (200), via n-th
Information code is transferred to indoor clock (300) when trunking (200) high-ranking officers;
Every frame data of information code are by frame head, start-of-frame, function code, data length, the information content, check code and frame knot when school
The step of beam symbol composition, information code carries out mistake proofing and anti-error coded check when indoor clock (300) is to school described in the step S3
Including:
According to data frame format, frame head of the information code per frame data is different to the data byte progress step-by-step between check code when to school
Or calculate, result of calculation is compared with the check code of the frame data, whether information code leads to when judging school according to comparing result
Cross mistake proofing and anti-error coded check.
2. clock calibration method in midsequent room according to claim 1, which is characterized in that the step S3 further include as
Lower step:
S31, at school, information code mistake proofing and the acquisition of anti-error coded check judge whether timer (305) timing time surpasses when passing through
Duration when crossing the school of setting;If so, thening follow the steps S32, otherwise, step S33 is executed;
S32, the second pulse signal is sent out to module when school (303), module (303) drives in clock movement (304) when instructing school
Transmission mechanism carry out second action, when being walked to indoor clock the time carry out duration when setting school quickening calibration, Zhi Houguan
Close timer (305), when exiting school the period and restore to when walking;
Standard time (Ts) when S33, extraction school in information code, when the standard time (Ts) is walked with indoor clock the time (Tg) into
Row compares, deviation (Δ T1) when counting chamber internal clock is walked, and deviation (Δ T1) is sent out to module when school (303) when being walked according to indoor clock
Going out the first drive signal, module (303) drives the transmission mechanism in clock movement (304) to carry out the first action when instructing school, with
The time (Tg) is corrected to the standard time (Ts) when indoor clock is walked;Wherein, Δ T1=Tg-Ts.
3. clock timing system in a kind of midsequent room, which is characterized in that the system comprises:
Indoor clock (300) suspends dial plate when the time (Tg) reaches clock school when for judging that clock is walked when triggering point (Tc)
When interior pointer is walked, into period when school;
Positioned at indoor one or more trunkings (200) net is obtained when entering school for indoor clock (300) when the period
Network correcting delay signal encodes correcting time in network signal, and information code when the school of coding generation is forwarded to indoor clock
(300) or when high-ranking officers information code is forwarded to other trunkings (200), is handled and is transferred to by other trunkings (200)
The interior clock (300);
The interior clock (300), information code when being additionally operable to receive school, information code carries out mistake proofing and anti-error coded check when to school,
And at school, information code mistake proofing and the acquisition of anti-error coded check are when passing through, deviation when information code counting chamber internal clock is walked when based on school
(Δ T1), transmission mechanism when being walked according to indoor clock in deviation (Δ T1) driving clock movement (304) execute corresponding actions, with
The time (Tg) is corrected to the standard time (Ts) when indoor clock is walked;
Each trunking (200) includes:
First communication module (202) is used to obtain the correcting time in network signal from mobile terminal (100) or router (400), or
Information code when person receives the school forwarded by a upper trunking (200);
First processing module (201), for being encoded to correcting time in network signal, information code when generating school, or to encoded
Correcting time in network signal carry out enhancing processing, and control first communication module (202) and forward processed correcting time in network signal
To next trunking (200);
It is described interior clock (300) include:
Timer (305) starts timework when entering school for indoor clock (300) when the period;
Second communication module (301) is believed when for receiving the school from trunking (200) by close range wireless communication modes
Cease code;
Information code inspection module (306) when school, while starting timework for timer (305), according to data frame format,
Frame head of the information code per frame data carries out step-by-step XOR operation to the data byte between check code when to the school, by operation result
It is compared with the check code in the frame data, whether information code is by mistake proofing and anti-error code when judging the school according to comparing result
It examines;When the school every frame data of information code by frame head, start-of-frame, function code, data length, the information content, check code and
Frame end symbol composition;
Second processing module (302), information code mistake proofing and anti-error coded check is passed through and timer (305) when for judging school
When timing time is less than the school of setting when duration, stops the timing of period and the reception of correcting delay signal when school, believe when extracting school
The standard time (Ts) in code is ceased, the time, (Tg) was compared when the standard time (Ts) is walked with indoor clock, when calculating indoor
Deviation (Δ T1) when clock is walked, the first pulse letter operated when deviation (Δ T1) is exported for triggering school when being walked according to indoor clock
Number;
Module (303) when school drive according to the first pulse signal in clock movement (304) for receiving the first pulse signal
Transmission mechanism carry out first action, when clock is walked the time (Tg) be corrected to the standard time (Ts);Wherein, Δ T1=Tg-Ts.
4. clock timing system in midsequent room according to claim 3, which is characterized in that the Second processing module
(302) when being additionally operable to judge duration when the school that the timer (305) timing time is more than setting, stop the timing of period when school
And the reception of correcting delay signal, and the second pulse signal for operating when being sent to module when the school (303) for triggering school;
Module (303) is additionally operable to drive the transmission mechanism in clock movement (304) to carry out according to the second pulse signal when the school
Second action, when being walked to clock the time (Tg) carry out duration when setting school quickening calibration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510081697.4A CN105991206B (en) | 2015-02-15 | 2015-02-15 | Clock calibration method and indoor clock timing system in a kind of midsequent room |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510081697.4A CN105991206B (en) | 2015-02-15 | 2015-02-15 | Clock calibration method and indoor clock timing system in a kind of midsequent room |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105991206A CN105991206A (en) | 2016-10-05 |
CN105991206B true CN105991206B (en) | 2018-09-28 |
Family
ID=57041558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510081697.4A Expired - Fee Related CN105991206B (en) | 2015-02-15 | 2015-02-15 | Clock calibration method and indoor clock timing system in a kind of midsequent room |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105991206B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101965045A (en) * | 2010-10-14 | 2011-02-02 | 烟台持久钟表集团有限公司 | Primary-secondary clock system and clock synchronization method |
CN102131281A (en) * | 2010-10-25 | 2011-07-20 | 上海复展照明科技有限公司 | Clock calibration method of wireless meter reading system and clock calibration method of distributed system |
CN102929735A (en) * | 2012-10-19 | 2013-02-13 | 北京星网锐捷网络技术有限公司 | Clock-correcting method and equipment |
CN103385029A (en) * | 2012-02-20 | 2013-11-06 | 松下电器产业株式会社 | Multi-layered wireless communication system |
CN104238354A (en) * | 2013-08-10 | 2014-12-24 | 漳州市恒丽电子有限公司 | Whole set type wrist watch combination with automatic time correction function |
-
2015
- 2015-02-15 CN CN201510081697.4A patent/CN105991206B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101965045A (en) * | 2010-10-14 | 2011-02-02 | 烟台持久钟表集团有限公司 | Primary-secondary clock system and clock synchronization method |
CN102131281A (en) * | 2010-10-25 | 2011-07-20 | 上海复展照明科技有限公司 | Clock calibration method of wireless meter reading system and clock calibration method of distributed system |
CN103385029A (en) * | 2012-02-20 | 2013-11-06 | 松下电器产业株式会社 | Multi-layered wireless communication system |
CN102929735A (en) * | 2012-10-19 | 2013-02-13 | 北京星网锐捷网络技术有限公司 | Clock-correcting method and equipment |
CN104238354A (en) * | 2013-08-10 | 2014-12-24 | 漳州市恒丽电子有限公司 | Whole set type wrist watch combination with automatic time correction function |
Also Published As
Publication number | Publication date |
---|---|
CN105991206A (en) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
BRPI0907163A8 (en) | RADIO COMMUNICATION SYSTEM, RECEIVING DEVICE, MOBILE STATION DEVICE, TRANSMISSION DEVICE, BASE STATION DEVICE, TRANSMISSION/RECEIPT DEVICE CONTROL METHOD, AND TRANSMISSION/RECEIVE DEVICE CONTROL PROGRAM | |
CN111208539B (en) | High-precision GNSS simulator time synchronization method | |
JP2019502904A (en) | Automatic periodic time correction method and time correction system for pointer type intelligent clock | |
TW200501633A (en) | Systems and methods for performing outer loop power control in wireless communication systems | |
CN104062981B (en) | Self-aligning tracking method and self-aligning tracking system for terahertz wireless receiving-transmitting system | |
CN104730919B (en) | A kind of big-dipper satellite time dissemination system and its method | |
CN104503222B (en) | A kind of wrist-watch and its method for synchronizing time | |
TW200644451A (en) | Method and device for transmitting a sequence of transmission bursts | |
CN106959452A (en) | A kind of satellite navigation signals regenerator, system and method | |
CN106354006A (en) | Pointer-type timekeeper, timing control method and timing control device | |
CN104777743A (en) | Radio-controlled timepiece | |
CN106487895A (en) | Time control method and device | |
TW200723726A (en) | Remote control system capable of controlling an electronic device at different modes and method thereof | |
CN104730983B (en) | A kind of split-second precision programmed control method | |
US8170493B2 (en) | Transmission device, and wireless communication apparatus using the same | |
CN103427856A (en) | Power consumption control method of GPS receiver | |
WO2005094431A3 (en) | Seismic acquisition system | |
CN105991206B (en) | Clock calibration method and indoor clock timing system in a kind of midsequent room | |
CN105988364B (en) | A kind of point-to-point indoor clock calibration method and indoor clock timing system | |
CN105306689B (en) | Mobile phone time acquisition methods based on bluetooth | |
CN104777744A (en) | Method for realizing time synchronization of watch hand with Bluetooth technology | |
CN205384454U (en) | Intelligence analog -type quartz crystal watch time calibration system | |
CN206696432U (en) | A kind of satellite navigation signals regenerator and system | |
CN110412861A (en) | A method of passing through Bluetooth of mobile phone prover time | |
CN107145063A (en) | A kind of low-power consumption calibration method for indoor and outdoor principal and subordinate's clock satellite time service system |
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 | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180928 Termination date: 20200215 |
|
CF01 | Termination of patent right due to non-payment of annual fee |