Unlock instant, AI-driven research and patent intelligence for your innovation.

485 bus ad-hoc network timing method

An ad-hoc network and bus technology, applied in bus network, time division multiplexing system, data exchange through path configuration, etc., can solve the problems of RTC error and error growth

Active Publication Date: 2019-04-12
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the error of the crystal oscillator circuit, the RTC will also have errors, and the errors will increase with time

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
  • 485 bus ad-hoc network timing method
  • 485 bus ad-hoc network timing method
  • 485 bus ad-hoc network timing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0029] figure 1 It is a flowchart of a 485 bus ad hoc network timing method of the present invention.

[0030] In this example, if figure 1 As shown, the present invention provides a kind of 485 bus ad hoc network timing method, comprising the following steps:

[0031] S1. Define and initialize the variables required by the timer

[0032] S1.1. Data structure initialization of the slave

[0033] Define the data structure struct timer of the slave timer queue and initialize it. The struct timer also includes the timing time time, the processing method fun after the timer time arrives, and the queue storing information about the members before and after the slave timer queue; according to the member information queue All slave timers are connected into a timer queue, so as to prepare for the link between the timer structures in the future; in this embodiment, the structural diagram of the timer queue seen from the perspective of the system, such as figure 2 shown;

[0034]...

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 485 bus ad-hoc network timing method. The method comprises the steps that a data structure is defined; time needing to be responded by timers and processing functions needingto be carried out after the time arrives are stored; a queue is defined; a plurality of pieces of timer information are defined; ordering is carried out according to a sequence of the time; when a user registers a timer with a system, the timer is added to a suitable position of the queue; when the user removes registration of the timer, the timer is deleted from the queue by the system; when thesystem is initialized, a real-time clock is started and local time is set; a host periodically queries network time; when a timing command is issued to a slave, a clock synchronization command is carried out first; every other period of time, the local time is compared with the time of the timer with the earliest response time in the queue; if current time arrives at the stated response time of the timer, the processing function corresponding to the timer is carried out; and if current time does not arrive at the stated response time of the timer, a next detection point is waited for time comparison.

Description

technical field [0001] The invention belongs to the technical field of ad hoc network timing, and more specifically relates to a 485 bus ad hoc network timing method. Background technique [0002] A timer, literally, is a clock. After setting the timing time, after the set time has passed, the person who set the timer will be notified that the time has come and the next step can be carried out. In daily life Among them, we often come into contact with timers. In 1876, the British surgeon Suo Jia obtained a patent for a timing device, which was used to control the switch of gas street lamps. It uses a mechanical clock to drive a switch to control the gas valve. At first, it was wound up once a week. After the electric clock was used for timing in 1918, there was no need to wind up. With the improvement of living standards, the use of timers is becoming more and more extensive. For example, for the timing control of water heaters and water heaters, there is now a high-power...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04J3/06H04L12/40
CPCH04J3/0658H04L12/40
Inventor 邹见效李喆谢川徐红兵
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA