A digital indicator scale cheating assessment method, device, equipment and medium

By obtaining the change value of the electrical signal of the digital indicator scale and the displayed weight value, and evaluating the second weight value with a predetermined functional method, the resource waste problem caused by simplicity of cheating evaluation in the prior art is solved, and the effect of timely discovering cheating behavior is achieved.

CN119738026APending Publication Date: 2025-04-01BEIJING YOULIANG CLOUD IND MEASUREMENT TECH INNOVATION INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411910643.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-01

Smart Images

  • Figure CN119738026A_ABST
    Figure CN119738026A_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and medium for evaluating cheating in a digital indicating scale. In the traditional technology, cheating is performed by later modifying the metering chip of the digital indicating scale, implanting a cheating chip, etc., to change the display value of the digital indicating scale. The present application takes into account that the change value of the electrical signal of the analog weighing sensor cannot be changed by later modifying the metering chip of the digital indicating scale, implanting a cheating chip, etc. Therefore, the present application proposes a solution for determining a second weight value according to the target electrical signal change value and a predetermined function, and then evaluating whether there is cheating in the digital indicating scale according to the second weight value and the displayed first weight value. Compared with the market staff's periodic inspection or spot check of the vendors' digital indicating scales to prevent the vendors from cheating in weighing the digital indicating scales, the present application can not only detect the cheating behavior of the vendors in a timely manner, but also reduce the workload of the market staff and reduce the waste of human resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic weighing technology, and in particular to a method, device, equipment and medium for evaluating cheating of a digital indicating scale. Background Art

[0002] Digital indicating scales are often used as measuring instruments for trade settlements, but a few unscrupulous vendors use cheating methods to seek their own interests, such as cheating by later modifying the measuring chip of the digital indicating scale, implanting cheating chips, etc., so as to cheat in weighing, thereby achieving the purpose of short weight and falsely reporting prices. The existing method of evaluating cheating in digital indicating scales is relatively simple. Usually, market staff conduct periodic inspections or spot checks on the digital indicating scales of vendors to prevent vendors from cheating in weighing digital indicating scales. However, this method is time-consuming and labor-intensive, resulting in a waste of human resources. Therefore, there is an urgent need for a method for evaluating cheating in digital indicating scales to reduce the waste of human resources. Summary of the invention

[0003] The present application provides a digital indicating scale cheating assessment method, device, equipment and medium, which are used to solve the problem that the existing digital indicating scale cheating assessment method is relatively simple and wastes human resources.

[0004] The present application embodiment provides a digital indicator scale cheating assessment method, the method comprising:

[0005] Obtaining a target electrical signal change value of an analog weighing sensor in a digital indicating scale and a first weight value displayed on a display screen of the digital indicating scale; wherein the electrical signal change value refers to a difference between an electrical signal value before weighing and an electrical signal value after weighing; and the first weight value refers to a weight value displayed after weighing;

[0006] Determine a second weight value according to the target electrical signal change value and a predetermined functional formula; wherein the functional formula represents a corresponding relationship between the weight value and the electrical signal change value;

[0007] If the error between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicator scale has a risk of cheating.

[0008] Furthermore, the target electrical signal change value is at least one of a target resistance change value and a target voltage change value.

[0009] Furthermore, the predetermined functional expression is at least one of a first functional expression corresponding to the target resistance change value and a second functional expression corresponding to the target voltage change value.

[0010] Furthermore, the process of determining the first functional formula corresponding to the target resistance change value includes:

[0011] Acquire a first quantity of first weighing data groups, wherein the first weighing data group includes a third weight value of a first reference weight and a corresponding first resistance change value; wherein the first resistance change value refers to a difference between a resistance value of the analog weighing sensor before weighing the first reference weight and a resistance value of the analog weighing sensor after weighing;

[0012] According to the first weighing data set of the first quantity, a first functional formula corresponding to the target resistance change value is determined by a linear fitting algorithm.

[0013] Furthermore, the process of determining the second functional formula corresponding to the target voltage change value includes:

[0014] Acquire a second weighing data group of a second quantity, wherein the second weighing data group includes a fourth weight value of the second reference weight and a corresponding first voltage change value; wherein the first voltage change value refers to a difference between a voltage value of the analog weighing sensor before weighing the second reference weight and a voltage value of the analog weighing sensor after weighing;

[0015] According to the second weighing data groups of the second quantity, a second functional expression corresponding to the target voltage change value is determined by a linear fitting algorithm.

[0016] Furthermore, the process of determining whether the digital indicator scale has a risk of cheating includes:

[0017] Determine a second weight value according to the target resistance change value and a predetermined first function; if the error between the first weight value and the second weight value is greater than a preset first threshold, determine that the digital indicator scale has a cheating risk; or

[0018] determining a second weight value according to the target voltage change value and a predetermined second function; and determining that the digital indicator scale has a cheating risk if the error between the first weight value and the second weight value is greater than a preset first threshold; or

[0019] According to the target resistance change value and a predetermined first functional formula, and according to the target voltage change value and a predetermined second functional formula, it is determined that the error value between the first weight value and the second weight value is greater than a preset first threshold, and it is determined that the digital indicator scale has a risk of cheating.

[0020] Further, after determining that the digital indicator scale has a risk of cheating, the method further includes:

[0021] Determine the cumulative number of times that the digital indicator scale has a risk of cheating, and determine an alarm prompt level according to the cumulative number; output alarm prompt information corresponding to the alarm prompt level; wherein, the more the cumulative number, the higher the alarm prompt level.

[0022] The present application embodiment provides a device for evaluating cheating of a digital indicator scale, the device comprising:

[0023] An acquisition module, used for acquiring a target electric signal change value of an analog weighing sensor in a digital indicating scale and a first weight value displayed on a display screen of the digital indicating scale; wherein the electric signal change value refers to a difference between an electric signal value before weighing and an electric signal value after weighing; and the first weight value refers to a weight value displayed after weighing;

[0024] A processing module is used to determine a second weight value according to the target electrical signal change value and a predetermined functional formula; wherein the functional formula represents the corresponding relationship between the weight value and the electrical signal change value; if the error value between the first weight value and the second weight value is greater than a preset first threshold value, it is determined that the digital indicator scale has a cheating risk.

[0025] Furthermore, the target electrical signal change value is at least one of a target resistance change value and a target voltage change value.

[0026] Furthermore, the predetermined functional expression is at least one of a first functional expression corresponding to the target resistance change value and a second functional expression corresponding to the target voltage change value.

[0027] Further, the acquisition module is specifically used to acquire a first quantity of first weighing data groups, wherein the first weighing data group includes a third weight value of a first reference weight and a corresponding first resistance change value; wherein the first resistance change value refers to a difference between a resistance value of the analog weighing sensor before weighing the first reference weight and a resistance value of the analog weighing sensor after weighing;

[0028] The processing module is specifically configured to determine a first functional formula corresponding to the target resistance change value through a linear fitting algorithm according to the first weighing data group of the first quantity.

[0029] Further, the acquisition module is specifically used to acquire a second weighing data group of a second quantity, wherein the second weighing data group includes a fourth weight value of the second reference weight and a corresponding first voltage change value; wherein the first voltage change value refers to the difference between the voltage value of the analog weighing sensor before weighing the second reference weight and the voltage value of the analog weighing sensor after weighing;

[0030] The processing module is specifically configured to determine a second functional expression corresponding to the target voltage change value through a linear fitting algorithm according to the second number of second weighing data groups.

[0031] Further, the processing module is specifically used to determine the second weight value according to the target resistance change value and a predetermined first functional formula; if the error value between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicating scale has a risk of cheating; or determine the second weight value according to the target voltage change value and a predetermined second functional formula; if the error value between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicating scale has a risk of cheating; or according to the target resistance change value and the predetermined first functional formula, and according to the target voltage change value and the predetermined second functional formula, it is determined that the error value between the first weight value and the second weight value is greater than the preset first threshold, and it is determined that the digital indicating scale has a risk of cheating.

[0032] Furthermore, the processing module is also used to determine the cumulative number of times that the digital indicator scale has a risk of cheating, determine the alarm prompt level based on the cumulative number of times; and output alarm prompt information corresponding to the alarm prompt level; wherein, the more the cumulative number of times, the higher the alarm prompt level.

[0033] The present application provides an electronic device, the electronic device comprising a processor, the processor being configured to implement any of the above-mentioned methods for cheating assessment of digital indicator scales when executing a computer program stored in a memory.

[0034] The present application provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements any of the above-mentioned methods for cheating assessment of digital indicating scales.

[0035] The present application provides a computer program product, which includes: a computer program code, which, when executed on a computer, enables the computer to execute any of the above-mentioned methods for cheating assessment of a digital indicating scale.

[0036] In the embodiment of the present application, the target electrical signal change value of the analog weighing sensor in the digital indicator scale and the first weight value displayed on the display screen of the digital indicator scale are obtained; the second weight value is determined according to the target electrical signal change value and a predetermined function; if the error value between the first weight value and the second weight value is greater than the preset first threshold value, it is determined that the digital indicator scale has a risk of cheating. In the traditional technology, weighing cheating is carried out by later modification of the metering chip of the digital indicator scale, implantation of cheating chips, etc., to change the display value of the digital indicator scale. This application takes into account that the electrical signal change value of the analog weighing sensor cannot be changed by later modification of the metering chip of the digital indicator scale, implantation of cheating chips, etc. Therefore, this application proposes a solution to determine the second weight value according to the target electrical signal change value and a predetermined function, and then evaluate whether the digital indicator scale has cheating according to the second weight value and the displayed first weight value. Compared with the market staff's periodic inspection or spot check of the digital indicator scale of the vendors to prevent the vendors from weighing the digital indicator scale, this application can not only detect the cheating behavior of the vendors in time, but also reduce the workload of the market staff and reduce the waste of human resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 Schematic diagram of various digital indicator scales provided for this application;

[0039] Figure 2 A schematic diagram of a cheating assessment process for a digital indicator scale provided in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of a process of determining a first functional formula provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of a process of determining a second functional formula provided in an embodiment of the present application;

[0042] Figure 5 A schematic diagram of a device structure for cheating assessment of a digital indicator scale provided in an embodiment of the present application;

[0043] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0045] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.

[0046] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0047] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0048] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0050] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

[0051] At present, digital indicating scales are generally composed of mechanical devices, electronic connection devices, analog weighing sensors, analog-to-digital converters (ADCs), data processors, operating buttons and displays. Figure 1 Schematic diagrams of various digital indicator scales provided for this application, such as Figure 1 As shown, digital indicating scales include electronic scales, analog indicating scales, electronic truck scales, electronic price computing scales, and the like. By placing an object on the scale plate and applying downward pressure to the analog weighing sensor, the analog weighing sensor will deform accordingly, thereby changing the impedance and the excitation voltage, and outputting a changing analog signal. The analog signal is amplified by the amplifier circuit and then output to the analog-to-digital converter, which converts it into a digital signal that is easy to process and outputs it to the processor CPU for operation control. The processor outputs this result to the display according to the keyboard command and the program.

[0052] Embodiment 1:

[0053] Figure 2 A schematic diagram of a cheating assessment process for a digital indicator scale provided in an embodiment of the present application, the process comprising the following steps:

[0054] S201: Obtain a target electrical signal change value of an analog weighing sensor in a digital indicating scale and a first weight value displayed on a display screen of the digital indicating scale; wherein the electrical signal change value refers to the difference between the electrical signal value before weighing and the electrical signal value after weighing; and the first weight value refers to the weight value displayed after weighing.

[0055] The digital indicating scale cheating assessment method provided in the embodiment of the present application is applied to an electronic device, which can be an electronic device deployed on the digital indicating scale, such as a central processing unit CPU, a microcontroller MCU, etc., or an electronic device handheld by a staff member, such as a mobile phone or a tablet device of the staff member, wherein the mobile phone or tablet device can execute any method of the digital indicating scale cheating assessment of the present application.

[0056] An analog weighing sensor is a device that converts mass signals into measurable electrical signals. The working principle of an analog weighing sensor is based on the resistance strain gauge technology. When pressure is applied to the object being measured, the resistance strain gauge will deform, causing the resistance value of the analog weighing sensor and the voltage value at both ends to change, thereby converting the mass signal of the object being measured into a measurable electrical signal.

[0057] The electrical signal change value refers to the difference between the electrical signal value of the analog weighing sensor in the digital indicating scale before the object to be measured is weighed and the electrical signal value of the analog weighing sensor after weighing. Specifically, the electrical signal value of the analog weighing sensor in the digital indicating scale before weighing is subtracted from the electrical signal value of the analog weighing sensor in the digital indicating scale before weighing to obtain the electrical signal change value. For example, the electrical signal value of the analog weighing sensor in the digital indicating scale before weighing the object to be measured is T1, and the electrical signal value of the analog weighing sensor after weighing is T2, then the electrical signal change value is T2-T1.

[0058] The first weight value refers to the weight value displayed on the display screen of the digital indicator scale after the object to be measured is weighed, that is, the weight value of the object to be measured measured by the digital indicator scale. In other words, the first weight value is the weight value actually displayed on the display screen of the digital indicator scale for the object to be measured.

[0059] In actual situations, when the object to be measured is placed on the scale pan and pressure is applied downward to the analog weighing sensor, there may be multiple electrical signal change values. The target electrical signal change value refers to the electrical signal change value of the analog weighing sensor in the digital indicator scale after the numerical value of the weight of the object to be measured displayed by the digital indicator scale stabilizes.

[0060] S202: Determine a second weight value according to the target electrical signal change value and a predetermined functional formula; wherein the functional formula represents the corresponding relationship between the weight value and the electrical signal change value.

[0061] The function formula is used to describe the relationship between the independent variable and the dependent variable in the function. In the present application, the predetermined function formula is a function formula determined by a linear fitting algorithm based on multiple standard weighing data sets. Among them, each weighing data set includes the electrical signal change value of the analog weighing sensor and the standard weight value corresponding to the electrical signal change value. Therefore, the function formula characterizes the correspondence between the weight value and the electrical signal change value. For example, the predetermined function formula is y=ax+b, where x is the electrical signal change value of the analog weighing sensor, y is the standard weight value, that is, the second weight value, and a and b are parameter values ​​that satisfy the correspondence between the second weight value and the electrical signal change value determined by a linear fitting algorithm based on multiple standard weighing data sets.

[0062] According to the target electrical signal change value obtained in step 201 and the predetermined function, the second weight value is determined, that is, the target electrical signal change value is substituted into the predetermined function to obtain the second weight value corresponding to the target electrical signal change value. The second weight value can be understood as the standard weight value corresponding to the electrical signal change value of each analog weighing sensor verified by the staff before the digital indicating scale leaves the factory. For example, when the electrical signal change value of the analog weighing sensor is t, the corresponding standard weight value is t1, that is, the weight value that the digital indicating scale should display on the display screen is t1; when the electrical signal change value of the analog weighing sensor is q, the corresponding standard weight value is q1, that is, the weight value that the digital indicating scale should display on the display screen is q1, that is, the second weight value is the standard weight value that the display screen of the digital indicating scale should display for the object being measured.

[0063] S203: If the error between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicator scale has a risk of cheating.

[0064] The first threshold is a specific positive value pre-set by the staff according to the acceptable degree of error of the weight value measured and displayed by the digital indicator scale, wherein the positive value can be an integer or a percentage value.

[0065] According to the first weight value obtained in step 201 and the second weight value determined in step 202, the error value between the first weight value and the second weight value is calculated. Optionally, the error value is an absolute error, that is, the difference between the first weight value and the second weight value is determined, and the absolute value of the difference is determined. The absolute value of the difference is the error value between the first weight value and the second weight value. Determine whether the error value is greater than the preset first threshold value. If so, it is determined that the digital indicator scale has a risk of cheating; if not, it is determined that the digital indicator scale does not have a risk of cheating. For example, the first weight value is e1 kilograms, the second weight value is f1 kilograms, and the preset first threshold value is k1 kilograms. Then the error value between the first weight value and the second weight value is |e1-f1|, and it is determined whether |e1-f1| is greater than k1. If so, it is determined that the digital indicator scale has a risk of cheating; if not, it is determined that the digital indicator scale does not have a risk of cheating.

[0066] In a possible implementation, the error value between the first weight value and the second weight value is calculated based on the first weight value obtained in step 201 and the second weight value determined in step 202. Optionally, the error value is a relative error, that is, the difference between the first weight value and the second weight value, as well as the absolute value of the difference, are determined, and the percentage value of the absolute value of the difference to the second weight value is determined. The percentage value is the error value between the first weight value and the second weight value. Determine whether the error value is greater than a preset first threshold value. If so, determine that the digital indicator scale has a risk of cheating; if not, determine that the digital indicator scale does not have a risk of cheating. For example, the first weight value is e2 kilograms, the second weight value is f2 kilograms, and the preset first threshold value is k2 kilograms. Then the error value between the first weight value and the second weight value is Sure Is it greater than k2? If so, it is determined that the digital indicator scale has a risk of cheating; if not, it is determined that the digital indicator scale does not have a risk of cheating. The relative error takes into account the proportional relationship between the error value and the second weight value, which can better reflect the accuracy of the measurement.

[0067] In the embodiment of the present application, the target electrical signal change value of the analog weighing sensor in the digital indicator scale and the first weight value displayed on the display screen of the digital indicator scale are obtained; the second weight value is determined according to the target electrical signal change value and a predetermined function; if the error value between the first weight value and the second weight value is greater than the preset first threshold value, it is determined that the digital indicator scale has a risk of cheating. In the traditional technology, weighing cheating is carried out by later modification of the metering chip of the digital indicator scale, implantation of cheating chips, etc., to change the display value of the digital indicator scale. This application takes into account that the electrical signal change value of the analog weighing sensor cannot be changed by later modification of the metering chip of the digital indicator scale, implantation of cheating chips, etc. Therefore, this application proposes a solution to determine the second weight value according to the target electrical signal change value and a predetermined function, and then evaluate whether the digital indicator scale has cheating according to the second weight value and the displayed first weight value. Compared with the market staff's periodic inspection or spot check of the digital indicator scale of the vendors to prevent the vendors from weighing the digital indicator scale, this application can not only detect the cheating behavior of the vendors in time, but also reduce the workload of the market staff and reduce the waste of human resources.

[0068] Embodiment 2:

[0069] In actual situations, there are different types of target electrical signal change values ​​of analog weighing sensors in digital indicating scales, specifically: the target electrical signal change value is at least one of a target resistance change value and a target voltage change value.

[0070] Since the working principle of the analog weighing sensor is based on the resistance strain gauge technology, when pressure is applied to the object being measured, the resistance strain gauge will deform, causing the resistance value and the voltage value at both ends of the analog weighing sensor to change. Therefore, the target electrical signal change value obtained by the electronic device can be the target resistance change value, the target voltage change value, or the target resistance change value and the target voltage change value.

[0071] The resistance change value refers to the difference between the resistance value of the analog weighing sensor before the object to be measured is weighed and the resistance value of the analog weighing sensor after weighing. The target resistance change value refers to the resistance change value of the analog weighing sensor in the digital indicating scale after the numerical value of the weight of the object to be measured displayed by the digital indicating scale is stable, that is, when the user has completely placed the object to be measured on the scale pan, the resistance value of the analog weighing sensor of the digital indicating scale after weighing minus the resistance value of the analog weighing sensor of the digital indicating scale before weighing is obtained.

[0072] The voltage change value refers to the difference between the voltage value of the analog weighing sensor before the object is weighed and the voltage value of the analog weighing sensor after weighing. The target voltage change value refers to the voltage change value of the analog weighing sensor in the digital indicating scale after the numerical value of the weight of the object being measured displayed by the digital indicating scale is stable, that is, when the user has completely placed the object being measured on the scale pan, the voltage change value is obtained by subtracting the voltage value of the analog weighing sensor of the digital indicating scale before weighing from the voltage value of the analog weighing sensor of the digital indicating scale after weighing.

[0073] In order to realize the step of determining the second weight value according to the target electrical signal change value and a predetermined functional formula, the present application sets different functional formulas for different types of target electrical signal change values ​​obtained, specifically: the predetermined functional formula is at least one of the first functional formula corresponding to the target resistance change value and the second functional formula corresponding to the target voltage change value.

[0074] The first functional formula is a first functional formula determined by a linear fitting algorithm based on multiple standard weighing data sets. Each weighing data set includes a resistance change value of an analog weighing sensor and a standard weight value corresponding to the resistance change value. For example, the predetermined first functional formula is y1=a1x1+b1, where x1 is the resistance change value of the analog weighing sensor, y1 is the standard weight value, i.e., the second weight value, and a1 and b1 are parameter values ​​that satisfy the correspondence between the second weight value and the resistance change value determined by a linear fitting algorithm based on multiple standard weighing data sets.

[0075] The second functional formula is a second functional formula determined by a linear fitting algorithm based on multiple standard weighing data sets. Each weighing data set includes a voltage change value of an analog weighing sensor and a standard weight value corresponding to the voltage change value. For example, the predetermined second functional formula is y2=a2x2+b2, where x2 is the voltage change value of the analog weighing sensor, y2 is the standard weight value, i.e., the second weight value, and a2 and b2 are parameter values ​​that satisfy the correspondence between the second weight value and the voltage change value determined by a linear fitting algorithm based on multiple standard weighing data sets.

[0076] When the acquired target electrical signal change value is the target resistance change value, the second weight value y1 is determined by the first function corresponding to the target resistance change value and the target resistance change value. When the target electrical signal change value is the target voltage change value, the second weight value y2 is determined by the second function corresponding to the target voltage change value and the target voltage change value. When the target electrical signal change value has both a target resistance change value and a target voltage change value, the second weight value y1 is determined for the target resistance change value by the first function corresponding to the target resistance change value and the target resistance change value; and the second weight value y2 is determined for the target voltage change value by the second function corresponding to the target voltage change value and the target voltage change value.

[0077] In the present application, different functional formulas are pre-determined for different types of target electrical signal change values, and the specific second weight value is determined through different functional formulas, thereby ensuring that when a certain type of target electrical signal change value fails to be acquired, the second weight value can still be determined, thereby reducing the risk of a failure of the equipment to determine the second weight value.

[0078] Embodiment 3:

[0079] For ease of understanding, the embodiment of the present application explains the process of determining the first functional formula corresponding to the target resistance change value. Figure 3 A schematic diagram of a process of determining a first functional formula provided in an embodiment of the present application, the process comprising the following steps:

[0080] S301: Obtain a first quantity of first weighing data groups, wherein the first weighing data group includes a third weight value of a first reference weight and a corresponding first resistance change value; wherein the first resistance change value refers to a difference between a resistance value of a simulated weighing sensor before weighing the first reference weight and a resistance value of the simulated weighing sensor after weighing.

[0081] The first quantity refers to the quantity of the first weighing data set, which can be 10 or 20 ... or N, without limitation.

[0082] The first weighing data group includes the third weight value of the first reference weight and the corresponding first resistance change value. Wherein, the reference weight is a standard measuring tool for mass value transmission. The specifications of the first reference weight include 100g, 200g, 500g, 1kg, 2kg, 5kg, 10kg, 20kg, 25kg, etc., wherein the third weight is the specific weight of the first reference weight, such as 100g, 200g, 500g, 1kg, 2kg, 5kg, 10kg, 20kg, 25kg, etc. The corresponding first resistance change value refers to the resistance change value obtained by placing a certain first reference weight completely on the scale pan, and subtracting the resistance value of the analog weighing sensor of the digital indicating scale before weighing from the resistance value of the analog weighing sensor of the digital indicating scale after weighing.

[0083] It should be noted that, in order to ensure the accuracy of the determined first functional formula, in the present application, different numbers of reference weights of different specifications can be set, for example, n1 reference weights of 100g, n2 reference weights of 200g, n3 reference weights of 500g, n4 reference weights of 1kg, etc., and the first resistance change value corresponding to each 100g reference weight, the first resistance change value corresponding to each 200g reference weight, the first resistance change value corresponding to each 500g reference weight, and the first resistance change value corresponding to each 1kg reference weight are recorded accordingly. Among them, the number values ​​set for reference weights of different specifications can be the same or different, and there is no limitation on this.

[0084] S302: Determine a first functional expression corresponding to a target resistance change value by using a linear fitting algorithm according to a first quantity of first weighing data groups.

[0085] Linear fitting algorithms are used to establish a linear relationship between two or more variables. Basic methods include simple linear regression, multiple linear regression, polynomial regression, ridge regression, lasso regression, logistic regression, and principal component analysis, etc.

[0086] According to the first weighing data group of the first quantity obtained in step 301, the first functional formula corresponding to the target resistance change value is determined by a linear fitting algorithm. That is, with multiple groups of continuous measurement data (for example, N groups), a relational formula between the display value of the digital indicating scale and the resistance change value is generated according to a linear relationship, that is, a relational formula between the second weight value and the resistance change value. In this relational formula, the resistance change value corresponds to the display value of the digital indicating scale one by one. For example, the linear formula generated is, that is, the first functional formula: y1=a1x1+b1, where y1 is the weight value that the digital indicating scale should display, that is, the second weight value; x1 is the resistance change value of the analog weighing sensor, that is, the target resistance change value; a1 and b1 are parameter values ​​that satisfy the one-to-one correspondence between the second weight value and the resistance change value determined by a linear fitting algorithm based on multiple standard weighing data groups. In addition, the first functional formula set by the digital indicating scale is a fixed functional formula, that is, the fixed functional formula set when the digital indicating scale leaves the factory, and the user cannot modify it, that is, the digital indicating scale has a built-in reference curve, that is, the first functional formula, and the reference curve is a fixed curve. The target resistance value change of the analog weighing sensor is brought into the reference curve to obtain the weight value that should be displayed, thereby realizing the evaluation of the cheating phenomenon.

[0087] Embodiment 4:

[0088] For ease of understanding, the embodiment of the present application explains the process of determining the second functional formula corresponding to the target voltage change value. Figure 4 A schematic diagram of a process for determining a second functional formula provided in an embodiment of the present application, the process comprising the following steps:

[0089] S401: Obtain a second weighing data group of a second quantity, wherein the second weighing data group includes a fourth weight value of a second reference weight and a corresponding first voltage change value; wherein the first voltage change value refers to a difference between a voltage value of the analog weighing sensor before weighing the second reference weight and a voltage value of the analog weighing sensor after weighing.

[0090] The second number refers to the number of the second weighing data group. The second number can be 10 or 20 ... or N, which is not limited. The second number can be the same as the first number in the above embodiment, or it can be different.

[0091] The second weighing data group includes the fourth weight value of the second reference weight and the corresponding first voltage change value. The specifications of the second reference weight include 100g, 200g, 500g, 1kg, 2kg, 5kg, 10kg, 20kg, 25kg, etc., wherein the fourth weight is the specific weight of the second reference weight, such as 100g, 200g, 500g, 1kg, 2kg, 5kg, 10kg, 20kg, 25kg, etc. The corresponding first voltage change value refers to the voltage change value obtained by subtracting the voltage value of the analog weighing sensor of the digital indicating scale before weighing from the voltage value of the analog weighing sensor of the digital indicating scale after weighing a second reference weight is completely placed on the scale pan.

[0092] It should be noted that, in order to ensure the accuracy of the determined second functional formula, in the present application, different numbers of reference weights of different specifications can be set. For example, the reference weight of 100g is n. 11 The reference weight of 200g is n 12 The reference weight of 500g is n 13 The reference weight of 1 kg is n 14 And so on, and correspondingly record the first voltage change value corresponding to each 100g reference weight, the first voltage change value corresponding to each 200g reference weight, the first voltage change value corresponding to each 500g reference weight, the first voltage change value corresponding to each 1kg reference weight, etc. Among them, the number values ​​set for reference weights of different specifications can be the same or different, and there is no limitation on this.

[0093] S402: Determine a second functional expression corresponding to the target voltage change value by a linear fitting algorithm according to a second number of second weighing data groups.

[0094] According to the second weighing data group of the second number obtained in step 401, the second functional formula corresponding to the target voltage change value is determined by a linear fitting algorithm. That is, with multiple sets of continuous measurement data (for example, N sets), a relational formula between the display value of the digital indicating scale and the voltage change value is generated according to a linear relationship, that is, a relational formula between the second weight value and the voltage change value. In this relational formula, the voltage change value corresponds to the display value of the digital indicating scale one by one. For example, the linear formula generated is, that is, the second functional formula: y2=a2x2+b2, where y2 is the weight value that the digital indicating scale should display, that is, the second weight value; x2 is the voltage change value of the analog weighing sensor, that is, the target voltage change value; a2 and b2 are parameter values ​​that meet the one-to-one correspondence between the second weight value and the voltage change value determined by a linear fitting algorithm based on multiple standard weighing data groups. In addition, the second functional formula set by the digital indicating scale is a fixed functional formula, that is, the fixed functional formula set when the digital indicating scale leaves the factory, and the user cannot modify it, that is, the digital indicating scale has a built-in reference curve, that is, the second functional formula, and the reference curve is a fixed curve. The target voltage signal change of the analog weighing sensor is brought into the reference curve to obtain the weight value that should be displayed, thereby realizing the evaluation of the cheating phenomenon.

[0095] Embodiment 5:

[0096] In order to improve the accuracy of determining whether a digital indicator scale has a risk of cheating, the process of determining whether the digital indicator scale has a risk of cheating in the present application includes:

[0097] Determine a second weight value according to the target resistance change value and a predetermined first function; if the error between the first weight value and the second weight value is greater than a preset first threshold, determine that the digital indicator scale has a risk of cheating; or

[0098] Determine a second weight value according to the target voltage change value and a predetermined second function; if the error between the first weight value and the second weight value is greater than a preset first threshold, determine that the digital indicator scale has a risk of cheating; or

[0099] According to the target resistance change value and a predetermined first functional formula, and according to the target voltage change value and a predetermined second functional formula, it is determined that the error value between the first weight value and the second weight value is greater than a preset first threshold value, and it is determined that the digital indicator scale has a risk of cheating.

[0100] In the present application, according to different types of data change values, corresponding functional formulas of different types are predetermined. The different types include data change values ​​being target resistance change values ​​and data change values ​​being target voltage change values. The first threshold is the threshold introduced in the above-mentioned embodiment 1, which will not be described in detail here.

[0101] When determining that the digital indicating scale has a risk of cheating, the second weight value can be determined according to the target resistance change value and a predetermined first functional formula; if the error value between the first weight value and the second weight value is greater than a preset first threshold value, it is determined that the digital indicating scale has a risk of cheating. For example, the preset first threshold value is 10%, the target resistance change value of the analog weighing sensor is obtained, and the first weight value displayed on the display screen of the digital indicating scale is 100g. At this time, according to the target resistance change value and the predetermined first functional formula, the second weight value is determined to be 80g, then the error value between the first weight value 100g and the second weight value 80g is Since the error value 20% is greater than the preset first threshold value 10%, it is determined at this time that there is a risk of cheating on the digital indicator scale.

[0102] The second weight value can also be determined according to the target voltage change value and a predetermined second functional formula; if the error value between the first weight value and the second weight value is greater than a preset first threshold value, it is determined that the digital indicator scale has a risk of cheating. For example, the preset first threshold value is 10%, the target voltage change value of the analog weighing sensor is obtained, and the first weight value displayed on the display screen of the digital indicator scale is 100g. At this time, according to the target voltage change value and the predetermined second functional formula, the second weight value is determined to be 70g, then the error value between the first weight value 100g and the second weight value 70g is Since the error value of 30% is greater than the preset first threshold value of 10%, it is determined at this time that there is a risk of cheating on the digital indicator scale.

[0103] In order to make the determined result more accurate, in a possible implementation, it can also be selected that when the error value between the first weight value and the second weight value is greater than a preset first threshold value according to the target resistance change value and a predetermined first functional formula, and according to the target voltage change value and a predetermined second functional formula, it is determined that there is a risk of cheating in the digital indicating scale. For example, the preset first threshold value is 10%, and the target resistance change value, the target voltage change value, and the first weight value displayed on the display screen of the analog weighing sensor are obtained to be 100g. At this time, according to the target resistance change value and the predetermined first functional formula, it is determined that the second weight value is 80g, then the error value m1 between the first weight value 100g and the second weight value 80g is The error value m1 is greater than the preset first threshold value of 10%; and according to the target voltage change value and the predetermined second function, the second weight value is determined to be 70g, then the error value m2 between the first weight value 100g and the second weight value 70g is The error value m2 is also greater than the preset first threshold value of 10%, and it is determined that the digital indicator scale has a risk of cheating.

[0104] Optionally, taking into account the different sensitivities of different types of electrical signal changes of analog weighing sensors, in order to improve the accuracy of the cheating assessment of the digital indicating scale, different thresholds can be set for different types of electrical signals, that is, different first thresholds are preset for the target voltage change value and the target resistance change value, and the error values ​​of the first weight value and the second weight value determined according to the target voltage change value and the error values ​​of the first weight value and the second weight value determined according to the target resistance change value are respectively determined. When both are greater than their respective preset first thresholds, it is determined that the digital indicating scale has a cheating risk; if it is determined that the error values ​​of the first weight value and the second weight value determined according to the target voltage change value and the error values ​​of the first weight value and the second weight value determined according to the target resistance change value are not both greater than their respective preset first thresholds, it is determined that the digital indicating scale does not have a cheating risk.

[0105] For example, the first threshold preset for the target resistance change value is 10%, and the first threshold preset for the target voltage change value is 8%. The target resistance change value, the target voltage change value of the analog weighing sensor, and the first weight value displayed on the display screen of the digital indicator scale are obtained to be 100g. At this time, according to the target resistance change value and the predetermined first function, the second weight value is determined to be 80g. Then the error value m1 between the first weight value 100g and the second weight value 80g is The error value m1 is greater than the first threshold value 10% preset for the target resistance change value; according to the target voltage change value and the predetermined second function, the second weight value is determined to be 91g, then the error value m2 between the first weight value 100g and the second weight value 91g is The error value m2 is greater than a first threshold value of 8% preset for the target voltage change value, and it is determined that the digital indicator scale has a risk of cheating.

[0106] For another example, the first threshold preset for the target resistance change value is 10%, and the first threshold preset for the target voltage change value is 8%. The target resistance change value, the target voltage change value of the analog weighing sensor, and the first weight value displayed on the display screen of the digital indicator scale are obtained to be 100g. At this time, according to the target resistance change value and the predetermined first function, the second weight value is determined to be 80g. Then the error value m1 between the first weight value 100g and the second weight value 80g is The error value m1 is greater than the first threshold value 10% preset for the target resistance change value; and according to the target voltage change value and the predetermined second function, the second weight value is determined to be 95g, so the error value between the first weight value 100g and the second weight value 95g is The error value m2 is smaller than the first threshold value 8% preset for the target voltage change value, and it is determined that there is no risk of cheating in the digital indicating scale.

[0107] In the embodiment of the present application, when it is determined that the error value between the first weight value and the second weight value is greater than a preset first threshold according to the target resistance change value and a pre-determined first functional formula, and according to the target voltage change value and a pre-determined second functional formula, the method of determining that the digital indicating scale has a cheating risk improves the accuracy of determining that the digital indicating scale has a cheating risk and avoids the problem of misjudgment in single confirmation. In the present application, the digital indicating scale is added with a recording chip for measuring data storage. The recording chip can be a storage chip, a memory, etc. The recording chip records and verifies the measurement data in real time. A detection terminal that can read the measurement data is added to the supporting digital indicating scale, such as a mobile phone, a tablet, etc., and the detection terminal can be used to input a reference curve to the digital indicating scale, and the reference curve is the above-mentioned first functional formula and second functional formula.

[0108] Embodiment 6:

[0109] In order to enable consumers or market staff to timely discover that the digital indicating scale has a cheating risk, after determining that the digital indicating scale has a cheating risk, the present application also sets an alarm prompt message to facilitate consumers or market staff to timely discover the cheating phenomenon. Specifically:

[0110] Determine the cumulative number of times that the digital indicating scale has a cheating risk, determine the alarm prompt level according to the cumulative number of times; output the alarm prompt message corresponding to the alarm prompt level; where the more the cumulative number of times, the higher the alarm prompt level.

[0111] In a possible implementation manner, it can be directly set that when it is determined that the digital indicating scale has a cheating risk, an alarm prompt message is output.

[0112] After determining that the digital indicating scale has a cheating risk, the system updates the existing cumulative number of times, specifically adding one to the existing cumulative number of times to obtain the updated cumulative number of times.

[0113] Determine the alarm prompt level according to the updated cumulative number of times; where the more the cumulative number of times, the higher the alarm prompt level. The alarm prompt level is different levels set according to the cumulative number of times that the digital indicating scale has a cheating risk. For example, when the cumulative number of times L that the digital indicating scale has a cheating risk is 5 < L ≤ 10 times, the alarm prompt level is determined to be level 1; when the cumulative number of times that the digital indicating scale has a cheating risk is 10 < L ≤ 15 times, the alarm prompt level is determined to be level 2, etc.

[0114] In a possible implementation, the cumulative number of times in the recording chip for storing measurement data in the digital indicating scale is reset according to a preset time period, and the cumulative number of times in the recording chip for storing measurement data in the digital indicating scale can also be reset after the digital indicating scale is calibrated to ensure the accuracy of the cumulative number of times in the recording chip for storing measurement data in the digital indicating scale. The preset time period can be 1 week, 3 months, 1 year, etc. For example, if the preset time period is 1 year, and the digital indicating scale A determines that the digital indicating scale A has a risk of cheating 10 times from January 1, XX to December 31, XX, then starting from January 1 of the following year, the cumulative number of times that the digital indicating scale A has a risk of cheating is reset to 0 times.

[0115] Output alarm prompt information corresponding to the alarm prompt level. Different alarm prompt levels correspond to different alarm prompt information, wherein the alarm prompt information can be outputting prompt sounds of different frequencies, or can be outputting prompt lights of different colors. For example, when the alarm prompt level is level 1, the frequency of the alarm prompt information outputting prompt sounds is 10 times / minute; when the alarm prompt level is level 2, the frequency of the alarm prompt information outputting prompt sounds is 20 times / minute, etc. For another example, when the alarm prompt level is level 1, the alarm prompt information outputs a yellow prompt light; when the alarm prompt level is level 2, the alarm prompt information outputs a red prompt light, etc. For another example, when the alarm prompt level is level 1, the alarm prompt information outputs a yellow light 10 times / minute; when the alarm prompt level is level 2, the alarm prompt information outputs a red light 20 times / minute.

[0116] In a possible implementation, considering the possibility of system errors, a second threshold may be set to determine whether the cumulative number of updates exceeds a preset value. Specifically, if the cumulative number of updates is greater than the preset second threshold, the alarm prompt level is determined according to the cumulative number; and the alarm prompt information corresponding to the alarm prompt level is output, wherein the more the cumulative number, the higher the alarm prompt level. If the cumulative number of updates is not greater than the preset second threshold, the alarm prompt information is not output.

[0117] In the embodiment of the present application, the cumulative number of times that the digital indicator scale has a risk of cheating is determined, and the alarm prompt level is determined according to the cumulative number; the alarm prompt information corresponding to the alarm prompt level is output, so that consumers or market staff can discover cheating in time, and the cumulative number of cheating of the digital indicator scale can also be judged according to different alarm prompt information. In addition, it is also possible for measurement law enforcement personnel and market management personnel to determine whether there is cheating on the digital indicator scale by only reading the cumulative number, which facilitates the supervision of the digital indicator scale in the market by measurement law enforcement personnel and market management personnel, and greatly reduces the waste of human resources.

[0118] Embodiment 7:

[0119] Based on the same application concept, the embodiment of the present application provides a device for evaluating cheating of a digital indicator scale. Figure 5 This is a schematic diagram of a device structure for evaluating cheating on a digital indicator scale provided in an embodiment of the present application. Please refer to Figure 5 , the device comprises:

[0120] The acquisition module 501 is used to acquire the target electric signal change value of the analog weighing sensor in the digital indicating scale and the first weight value displayed on the display screen of the digital indicating scale; wherein the electric signal change value refers to the difference between the electric signal value before weighing and the electric signal value after weighing; and the first weight value refers to the weight value displayed after weighing;

[0121] The processing module 502 is used to determine the second weight value according to the target electrical signal change value and a predetermined functional formula; wherein the functional formula represents the corresponding relationship between the weight value and the electrical signal change value; if the error value between the first weight value and the second weight value is greater than a preset first threshold value, it is determined that the digital indicator scale has a cheating risk.

[0122] In a possible implementation, the target electrical signal change value is at least one of a target resistance change value and a target voltage change value.

[0123] In a possible implementation, the predetermined functional expression is at least one of a first functional expression corresponding to the target resistance change value and a second functional expression corresponding to the target voltage change value.

[0124] In a possible implementation manner, the acquisition module 501 is specifically used to acquire a first quantity of first weighing data groups, wherein the first weighing data group includes a third weight value of a first reference weight and a corresponding first resistance change value; wherein the first resistance change value refers to a difference between a resistance value of the analog weighing sensor before weighing the first reference weight and a resistance value of the analog weighing sensor after weighing;

[0125] The processing module 502 is specifically configured to determine a first functional expression corresponding to the target resistance change value through a linear fitting algorithm according to the first weighing data group of the first quantity.

[0126] In a possible implementation manner, the acquisition module 501 is specifically used to acquire a second number of second weighing data groups, wherein the second weighing data group includes a fourth weight value of the second reference weight and a corresponding first voltage change value; wherein the first voltage change value refers to a difference between a voltage value of the analog weighing sensor before weighing the second reference weight and a voltage value of the analog weighing sensor after weighing;

[0127] The processing module 502 is specifically configured to determine a second functional expression corresponding to the target voltage change value by a linear fitting algorithm according to the second number of second weighing data groups.

[0128] In a possible implementation, the processing module 502 is specifically used to determine the second weight value according to the target resistance change value and a predetermined first functional formula; if the error value between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicating scale has a risk of cheating; or determine the second weight value according to the target voltage change value and a predetermined second functional formula; if the error value between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicating scale has a risk of cheating; or according to the target resistance change value and the predetermined first functional formula, and according to the target voltage change value and the predetermined second functional formula, it is determined that the error value between the first weight value and the second weight value is greater than the preset first threshold, and it is determined that the digital indicating scale has a risk of cheating.

[0129] In a possible implementation, the processing module 502 is further used to determine the cumulative number of times that the digital indicator scale has a risk of cheating, determine an alarm prompt level based on the cumulative number of times; and output alarm prompt information corresponding to the alarm prompt level; wherein, the more the cumulative number of times, the higher the alarm prompt level.

[0130] Embodiment 8:

[0131] Based on the same application concept, an embodiment of the present application provides an electronic device, which can implement the steps of the method for cheating assessment of a digital indicator scale discussed above. Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, it includes: a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604;

[0132] The memory 603 stores a computer program. When the program is executed by the processor 601, the processor 601 performs the following steps:

[0133] Obtaining a target electrical signal change value of an analog weighing sensor in a digital indicating scale and a first weight value displayed on a display screen of the digital indicating scale; wherein the electrical signal change value refers to a difference between an electrical signal value before weighing and an electrical signal value after weighing; and the first weight value refers to a weight value displayed after weighing;

[0134] Determine a second weight value according to the target electrical signal change value and a predetermined functional formula; wherein the functional formula represents a corresponding relationship between the weight value and the electrical signal change value;

[0135] If the error between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicator scale has a risk of cheating.

[0136] In a possible implementation, the target electrical signal change value is at least one of a target resistance change value and a target voltage change value.

[0137] In a possible implementation, the predetermined functional expression is at least one of a first functional expression corresponding to the target resistance change value and a second functional expression corresponding to the target voltage change value.

[0138] In a possible implementation manner, the process of determining the first functional formula corresponding to the target resistance change value includes:

[0139] Acquire a first quantity of first weighing data groups, wherein the first weighing data group includes a third weight value of a first reference weight and a corresponding first resistance change value; wherein the first resistance change value refers to a difference between a resistance value of the analog weighing sensor before weighing the first reference weight and a resistance value of the analog weighing sensor after weighing;

[0140] According to the first weighing data set of the first quantity, a first functional formula corresponding to the target resistance change value is determined by a linear fitting algorithm.

[0141] In a possible implementation manner, the process of determining the second functional formula corresponding to the target voltage change value includes:

[0142] Acquire a second weighing data group of a second quantity, wherein the second weighing data group includes a fourth weight value of the second reference weight and a corresponding first voltage change value; wherein the first voltage change value refers to a difference between a voltage value of the analog weighing sensor before weighing the second reference weight and a voltage value of the analog weighing sensor after weighing;

[0143] According to the second weighing data groups of the second quantity, a second functional expression corresponding to the target voltage change value is determined by a linear fitting algorithm.

[0144] In a possible implementation, the process of determining whether the digital indicator scale has a risk of cheating includes:

[0145] Determine a second weight value according to the target resistance change value and a predetermined first function; if the error between the first weight value and the second weight value is greater than a preset first threshold, determine that the digital indicator scale has a cheating risk; or

[0146] determining a second weight value according to the target voltage change value and a predetermined second function; and determining that the digital indicator scale has a cheating risk if the error between the first weight value and the second weight value is greater than a preset first threshold; or

[0147] According to the target resistance change value and a predetermined first functional formula, and according to the target voltage change value and a predetermined second functional formula, it is determined that the error value between the first weight value and the second weight value is greater than a preset first threshold, and it is determined that the digital indicator scale has a risk of cheating.

[0148] In a possible implementation manner, after determining that the digital indicator scale has a risk of cheating, the method further includes:

[0149] Determine the cumulative number of times that the digital indicator scale has a risk of cheating, and determine an alarm prompt level according to the cumulative number; output alarm prompt information corresponding to the alarm prompt level; wherein, the more the cumulative number, the higher the alarm prompt level.

[0150] Since the principle of solving the problem by the above electronic device is similar to the method of cheating assessment of digital indicator scales, the implementation of the above electronic device can refer to the embodiment of the method, and the repeated parts will not be repeated.

[0151] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface 602 is used for communication between the above electronic device and other devices. The memory can include a random access memory (RAM) and can also include a non-volatile memory (NVM), such as at least one disk storage. Optionally, the memory can also be at least one storage device located away from the aforementioned processor.

[0152] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it can also be a digital signal processing processor (Digital Signal Processing, DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.

[0153] Embodiment 9:

[0154] Based on the same application concept, the embodiment of the present application provides a computer-readable storage medium, in which a computer program executable by a processor is stored. When the program is executed on the processor, the processor executes any of the digital indicator scale cheating assessment methods discussed above. Since the principle of solving the problem by the above-mentioned computer-readable storage medium is similar to the method for cheating assessment of a digital indicator scale, the implementation of the above-mentioned computer-readable storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.

[0155] Based on the same application concept, the embodiment of the present application further provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any of the digital indicator scale cheating assessment methods discussed above. Since the principle of solving the problem by the above computer program product is similar to the method for cheating assessment of a digital indicator scale, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.

[0156] In the embodiment of the present application, the target electrical signal change value of the analog weighing sensor in the digital indicator scale and the first weight value displayed on the display screen of the digital indicator scale are obtained; the second weight value is determined according to the target electrical signal change value and a predetermined function; if the error value between the first weight value and the second weight value is greater than the preset first threshold value, it is determined that the digital indicator scale has a risk of cheating. In the traditional technology, weighing cheating is carried out by later modification of the metering chip of the digital indicator scale, implantation of cheating chips, etc., to change the display value of the digital indicator scale. This application takes into account that the electrical signal change value of the analog weighing sensor cannot be changed by later modification of the metering chip of the digital indicator scale, implantation of cheating chips, etc. Therefore, this application proposes a solution to determine the second weight value according to the target electrical signal change value and a predetermined function, and then evaluate whether the digital indicator scale has cheating according to the second weight value and the displayed first weight value. Compared with the market staff's periodic inspection or spot check of the digital indicator scale of the vendors to prevent the vendors from weighing the digital indicator scale, this application can not only detect the cheating behavior of the vendors in time, but also reduce the workload of the market staff and reduce the waste of human resources.

[0157] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0158] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0159] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0160] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0161] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for evaluating cheating of a digital indicator scale, characterized in that: The method comprises: Obtaining a target electrical signal change value of an analog weighing sensor in a digital indicating scale and a first weight value displayed on a display screen of the digital indicating scale; wherein the electrical signal change value refers to a difference between an electrical signal value before weighing and an electrical signal value after weighing; and the first weight value refers to a weight value displayed after weighing; Determine a second weight value according to the target electrical signal change value and a predetermined functional formula; wherein the functional formula represents a corresponding relationship between the weight value and the electrical signal change value; If the error between the first weight value and the second weight value is greater than a preset first threshold, it is determined that the digital indicator scale has a risk of cheating.

2. The method according to claim 1, characterized in that The target electrical signal change value is at least one of a target resistance change value and a target voltage change value.

3. The method according to claim 2, characterized in that The predetermined functional expression is at least one of a first functional expression corresponding to the target resistance change value and a second functional expression corresponding to the target voltage change value.

4. The method according to claim 3, characterized in that The process of determining the first functional formula corresponding to the target resistance change value includes: Acquire a first quantity of first weighing data groups, wherein the first weighing data group includes a third weight value of a first reference weight and a corresponding first resistance change value; wherein the first resistance change value refers to a difference between a resistance value of the analog weighing sensor before weighing the first reference weight and a resistance value of the analog weighing sensor after weighing; According to the first weighing data set of the first quantity, a first functional formula corresponding to the target resistance change value is determined by a linear fitting algorithm.

5. The method according to claim 3, characterized in that: The process of determining the second functional formula corresponding to the target voltage change value includes: Acquire a second weighing data group of a second quantity, wherein the second weighing data group includes a fourth weight value of the second reference weight and a corresponding first voltage change value; wherein the first voltage change value refers to a difference between a voltage value of the analog weighing sensor before weighing the second reference weight and a voltage value of the analog weighing sensor after weighing; According to the second weighing data groups of the second quantity, a second functional expression corresponding to the target voltage change value is determined by a linear fitting algorithm.

6. The method according to claim 3, characterized in that: The process of determining that the digital indicator scale has a risk of fraud includes: Determine a second weight value according to the target resistance change value and a predetermined first function; if the error between the first weight value and the second weight value is greater than a preset first threshold, determine that the digital indicator scale has a cheating risk; or determining a second weight value according to the target voltage change value and a predetermined second function; and determining that the digital indicator scale has a cheating risk if the error between the first weight value and the second weight value is greater than a preset first threshold; or According to the target resistance change value and a predetermined first functional formula, and according to the target voltage change value and a predetermined second functional formula, it is determined that the error value between the first weight value and the second weight value is greater than a preset first threshold, and it is determined that the digital indicator scale has a risk of cheating.

7. The method according to claim 1, characterized in that After determining that the digital indicator scale has a risk of cheating, the method further includes: Determine the cumulative number of times that the digital indicator scale has a risk of cheating, and determine an alarm prompt level according to the cumulative number; output alarm prompt information corresponding to the alarm prompt level; wherein, the more the cumulative number, the higher the alarm prompt level.

8. A device for evaluating cheating of a digital indicator scale, characterized in that: The device comprises: An acquisition module, used for acquiring a target electric signal change value of an analog weighing sensor in a digital indicating scale and a first weight value displayed on a display screen of the digital indicating scale; wherein the electric signal change value refers to a difference between an electric signal value before weighing and an electric signal value after weighing; and the first weight value refers to a weight value displayed after weighing; A processing module is used to determine a second weight value according to the target electrical signal change value and a predetermined functional formula; wherein the functional formula represents the corresponding relationship between the weight value and the electrical signal change value; if the error value between the first weight value and the second weight value is greater than a preset first threshold value, it is determined that the digital indicator scale has a cheating risk.

9. An electronic device, characterized in that: The electronic device comprises a processor, and the processor is used to implement the method for cheating assessment of a digital indicating scale as claimed in any one of claims 1 to 7 when executing a computer program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer program is stored therein, and when the computer program is executed by a processor, the method for cheating assessment of a digital indicating scale as claimed in any one of claims 1 to 7 is implemented.