Clock calibration method of wireless meter reading system and clock calibration method of distributed system

A distributed system and clock calibration technology, applied in the field of wireless communication, can solve the problems of clock errors, the system cannot be corrected, and the timing communication cannot be guaranteed not to conflict, so as to achieve the effect of ensuring non-conflict

Inactive Publication Date: 2011-07-20
上海复展智能科技股份有限公司
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. The clocks of each gas meter module always have errors, and the accumulation of errors is very considerable. For example, the difference is 1S every day, and the difference is 30S in a month. How to solve the cumulative error
[0006] 2. In the gas meter group, once the clock of a certain module deviates, the existing system cannot correct it
[0007] 3. The existing system cannot guarantee the accuracy of clocks between groups, and at the same time cannot guarantee that regular communication does not conflict

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Clock calibration method of wireless meter reading system and clock calibration method of distributed system
  • Clock calibration method of wireless meter reading system and clock calibration method of distributed system
  • Clock calibration method of wireless meter reading system and clock calibration method of distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] see figure 1 , the present invention discloses a clock calibration method for a wireless meter reading system. The wireless meter reading system includes several management servers, several meter reading machines, and several gas meters (of course other meter bodies can be used); according to the installation position of the gas meter dividing the plurality of gas meters into multiple groups, each group including a main module and several submodules;

[0048] Described clock calibration method comprises the steps:

[0049] S1. All management servers perform network time synchronization through the NCP protocol to ensure that the clocks of all management servers are consistent;

[0050] S2. When the meter reading machine downloads the meter reading task, the clock of the meter reading machine is updated;

[0051] S3. When reading the meter, synchronize the time between the meter reading machine and the main modules of all groups;

[0052]S4. During timing communicatio...

Embodiment 2

[0060] The difference between this embodiment and Embodiment 1 is that, in this embodiment, the step S4 includes:

[0061] In the set time period, the regular communication calibration time is initiated by the main module of each group. The main module sends its own clock to each sub-module, and the sub-module immediately updates its own time with the received time.

[0062] The meter reading machine with a standard clock is synchronized with the gas meter. The gas meter saves the clock of the meter reading machine and does not update it immediately. The gas meter still runs with the old clock and records the error between the clock of the meter reading machine and the old clock. Under normal circumstances, the handheld meter reading machine generally only synchronizes the time with the main module of each group; This sub-module is time-synchronized.

[0063] The main module of the gas meter is paired with the meter reading machine. The main module uses the old clock to start...

Embodiment 3

[0066] Step 1: (resolve clock skew within the group)

[0067] 1.1 Initially, set the time for each gas meter in the group through the handheld meter reading machine with the standard clock.

[0068] 1.2 Daily regular communication is initiated by the main module, which sends its own clock to each sub-module, and the sub-module immediately updates its own time with the received time. (Because the error of one day is small, it can guarantee the normal progress of regular communication. Through daily time synchronization, the cumulative error can be eliminated).

[0069] 1.3 When the meter reading machine with a standard clock is synchronized with the gas meter, the gas meter saves the clock of the meter reading machine and does not update it immediately. The gas meter still runs with the old clock and records the error between the clock of the meter reading machine and the old clock. If the header is a sub-module, start the timing relay communication with the old clock that nig...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a clock calibration method of a wireless meter reading system. The clock calibration method comprises the following steps: S1, all management servers perform network time calibration through a NCP (network control protocol) so as to ensure that clocks of all the management servers are consistent; S2, a meter reading machine updates clock thereof while downloading a meter reading task; S3, during the meter reading process, the meter reading machine and main modules of all groups perform one-time time calibration; and S4, during the process of time-controlled communication in the groups, the main modules start time-controlled relay communication by utilizing old clocks and send new clocks to all sub-module members in the groups through a clock calibration command, and then the whole groups adopt the new clocks immediately. The clock calibration method of the wireless meter reading system provided by the invention has the beneficial effects that clock offset in and among the groups in a meter body is eliminated, clock accuracy in and among the groups is ensured, and conflict in time-controlled communication is effectively avoided.

Description

technical field [0001] The invention belongs to the technical field of wireless communication, relates to a wireless meter reading system, in particular to a clock calibration method of the wireless meter reading system; at the same time, the invention also relates to a distributed system clock calibration method. Background technique [0002] In a distributed system, each module has its own time. When the distributed system adopts the fixed time communication method, it is necessary to ensure that the time of each module is consistent to ensure the reliability of communication. [0003] A wireless meter reading system includes several management servers, several handheld meter reading machines, and several gas meters, and is divided into N groups according to the installation locations of the gas meters. Each group uses a fixed-time communication method. At a fixed time every day, the main module of the group initiates communication, and the sub-module responds. It is nece...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04W56/00H04L29/08
Inventor 宋奕刘荣鑫高艺林锋
Owner 上海复展智能科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products