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

TimeWheel-based ammeter upgrading method

A technology of electricity meters and tasks, applied in the field of intelligence, can solve the problems of waste of resources, large time scale of the time wheel, etc., and achieve the effect of guaranteeing the occupation of resources, avoiding the large time scale of the time wheel, and guaranteeing the minimum

Pending Publication Date: 2022-01-18
NINGBO SANXING INTELLIGENT ELECTRIC
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The time wheel replaces the timer, which greatly saves the system memory and makes the system more stable, but it also has shortcomings, because the maximum delay time of the time wheel is only allowed to be 12 hours. When the delay time is quite large, or the time scale is required to be very fine, the time scale of the time wheel will be very large, which will cause a waste of resources

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
  • TimeWheel-based ammeter upgrading method
  • TimeWheel-based ammeter upgrading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0027] figure 1 It shows the flow chart of the TimeWheel-based electric meter upgrade method of the present application. As shown in the figure, the TimeWheel-based electric meter upgrade method includes,

[0028] S1. Load the task from the database, put the task into the time wheel, and initialize the time wheel;

[0029] S2. Judging whether there is a task in the current scale container pointed by the minute hand of the time wheel, if yes, execute S3, if not, execute S4;

[0030] S3. Determine whether the number of time rims correspo...

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 relates to a timewheel-based ammeter upgrading method, and the method comprises the following steps: S1, loading a task from a database, putting the task into a time wheel, and initializing the time wheel; s2, judging whether a task exists in the current graduated vessel pointed by the minute pointer of the time wheel, if so, executing S3, and if not, executing S4; s3, judging whether the time rim number corresponding to the current task is 0 or not, if so, asynchronously performing an upgrading task, and if not, subtracting 1 from the time rim number corresponding to the current task, and executing S4; and S4, waiting for n minutes, and executing the operation of S2 again for the next graduated vessel until the upgrading operation of all tasks is completed. According to the method, system occupied resources are reduced, and system stability is improved.

Description

technical field [0001] The invention relates to the field of intelligent technology, in particular to a method for upgrading an electric meter based on TimeWheel. Background technique [0002] As an important and necessary function of the meter data acquisition system MDC, the meter upgrade mainly realizes the remote program upgrade of the on-site meter, which solves the problem of high cost and low efficiency that required manual upgrades on site. Due to the relatively long upgrade time, when the on-site network becomes unstable or other reasons, the upgrade may fail. In order to ensure the success rate of the upgrade, the MDC system needs to try to upgrade the meter that failed to upgrade after a specified time interval. The electric meter was re-upgraded. [0003] In the current upgrade process, because the upgrade progress of each meter is inconsistent, if the upgrade fails, when retrying the upgrade, the system will set a timer for each meter that failed to upgrade, so...

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): G06F8/65G01R35/04
CPCG06F8/65G01R35/04
Inventor 周善勇
Owner NINGBO SANXING INTELLIGENT ELECTRIC