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

Method for preventing data loss in use process of electronic scale

A technology for data loss and electronic scales, applied in the field of electronic scales, can solve the problems of electronic scale data loss, program pointer runaway, illegal modification of parameters, etc., to prevent illegal data rewriting and improve reliability.

Active Publication Date: 2014-06-04
福州科迪电子技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two possibilities that may lead to abnormal modification of the set value: 1. When the electronic scale is powered on and off, due to voltage instability, the program pointer of the electronic scale is very likely to run away, resulting in illegal modification of parameters, resulting in data loss of the electronic scale
2. During the use of the electronic scale, if it is disturbed such as static electricity and electromagnetic radiation, the program pointer will also run away, resulting in illegal modification of parameters and loss of data on the electronic scale
But this utility model cannot prevent the phenomenon of data loss during the use of electronic scales

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
  • Method for preventing data loss in use process of electronic scale
  • Method for preventing data loss in use process of electronic scale

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention is divided into two parts, respectively, the main program pointer run-away capture and the memory EEPROM writing function preventing error writing. Among them, the main technical features of the electronic scale program pointer run-away capture are: when it is detected that the electronic scale program is not executed in accordance with the normal order, the boot program is reset, and the program is re-executed from the beginning of the electronic scale to prevent accidental errors; and EEPROM The main technical feature of the anti-error writing of the write function is: after starting the EEPROM write operation, various judgments are made, and if it is judged that it is an abnormal write operation, the EEPROM write operation is ended. When the main program is executed, when it is judged that the EEPROM needs to be written, the EEPROM write function is called.

[0020] see figure 1 As shown, a method for preventing data loss during the use of elec...

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 method for preventing data loss in the use process of an electronic scale, which comprises the following steps: defining two variables (namely, a variable 1 and a variable 2) in an electronic scale program, wherein the variable 1 is used for marking whether the electronic scale program is executed according to a normal sequence; if so, gradually increasing the variable value according to the sequence; if not, indicating that a program pointer has an offset, resetting a bootstrap program, and re-executing from a start program to prevent the occurrence of unexpected errors; when data is to be written in an EEPROM (Electrically Erasable Programmable Read-Only Memory) in the program, carrying out various judgments in the EEPROM write operation through the variable 2, checking and other modes; if an abnormal write operation is judged, finishing the EEPROM write operation; and if a normal write operation is judged, writing the data in the EEPROM. The method can effectively prevent illegal data overwriting which is caused by the electronic scale in the use process and results in data loss, and improves the reliability of the electronic scale.

Description

【Technical field】 [0001] The invention relates to the technical field of electronic scales, in particular to a method for preventing data loss during use of the electronic scale. 【Background technique】 [0002] During the use of the electronic scale, the setting parameters will be lost. For example, the setting value of a certain parameter is set to 3, and after a few days or months, it is found that the setting value becomes 0. The reason is that the setting value has been modified abnormally. There are two possibilities that may lead to abnormal modification of the set value: 1. When the electronic scale is powered on and off, due to voltage instability, the program pointer of the electronic scale is very likely to run away, resulting in illegal modification of parameters, resulting in data loss of the electronic scale. 2. During the use of the electronic scale, if it is disturbed such as static electricity and electromagnetic radiation, the program pointer will also run ...

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): G01G23/00G01G23/42
Inventor 温泳荣郑崇苏徐平
Owner 福州科迪电子技术有限公司