Data reading and writing method based on load balancing mode

A data reading and writing, load balancing technology, applied in digital data processing, input/output process of data processing, generation of response errors, etc. Normal statistics and other issues to achieve the effect of protecting rights and interests

Active Publication Date: 2021-04-06
GOLDCARD HIGH TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current memory uses a single-address model to store gas meter parameters. Once the storage medium is damaged or fails to read and write, the gas meter storage parameters will be lost, making the gas supply unable to be counted normally, resulting in the failure of normal communication between residents and gas supply companies. data accounting, affecting the normal income

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
  • Data reading and writing method based on load balancing mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] The present invention provides a data reading and writing method based on a load balancing mode, which is used to control the data reading and writing process of the pulse storage area, such as figure 1 As shown, the data reading and writing method includes:

[0038] Step 1, read the current storage times of the pulse storage area;

[0039] Step 2, if the stored gas volume is lower than the gas volume threshold, then obtain the number of storage times in the storage block in the pulse storage area, and when the storage number reaches the upper limit, obtain the next pulse storage area for storing pulse data, and store the address of the pulse storage area, Clear the storage times of the pulse storage area;

[0040] Step 3: In the pulse data storage process, if no error is stored in the main storage area and the backup storage area in the pulse storage area, add one to the storage times of the current pulse storage area to complete the data storage.

[0041] Step 4, wh...

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 provides a data reading and writing method based on a load balancing mode, which belongs to the field of instrument data management, and is used to control the data reading and writing process of the pulse storage area, including reading according to the storage times in the pulse storage area and then obtaining the stored gas volume , process the storage times of the pulse storage area according to the stored gas volume, and judge the current state of the storage medium according to the operation times in the main storage area and backup storage area in the pulse storage area, and stop the data read and write operation after the number of operations exceeds the operation threshold , so as to protect the reliability of the data stored in the storage medium, and in the process of reading and writing data in the main storage area, determine whether to switch the operation object of the read and write operation by monitoring the number of operations between the current main storage area and the backup storage area, thereby Realize load balancing control in the process of data read and write operations, ensure gas statistics can be carried out normally, and protect the rights and interests of both enterprises and users.

Description

technical field [0001] The invention belongs to the field of gas data management, in particular to a data reading and writing method based on a load balancing mode. Background technique [0002] In order to ensure that the user data is not lost after the gas meter battery is powered off, a non-volatile memory is used to store important gas meter data. The storage method is to store specific gas meter parameters at a fixed address, and initiate a storage request to the memory every time the power is turned off. [0003] The current memory uses a single-address model to store gas meter parameters. Once the storage medium is damaged or fails to read and write, the gas meter storage parameters will be lost, making the gas supply unable to be counted normally, resulting in the failure of normal communication between residents and gas supply companies. The data accounting has affected the normal income. Contents of the invention [0004] In order to solve the shortcomings and ...

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 Patents(China)
IPC IPC(8): G06F3/06G06F11/10
CPCG06F3/0614G06F3/0631G06F3/0644G06F11/1004
Inventor 廖兵蔡立艮丁渊明
Owner GOLDCARD HIGH TECH
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