Anti-cheating supervisible electronic scale service system, equipment, storage medium and method
By introducing main control chips and tight trading credential technology into electronic scales, the regulatory problem of the inability to connect to electronic scales is solved, effective supervision of electronic scale trading behavior and collection of fraudulent evidence are achieved, and honest trading order is supported.
Patent Information
- Application Number
- CN202510602769.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-12
- Publication Date
- 2025-06-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to effectively manage and regulate electronic scales that cannot be connected to the Internet, resulting in illegal merchants using modified electronic scales to commit fraud and lack of effective remote supervision technology.
By introducing the main control chip into the electronic scale, payment driver data, weighing data and weighing deviation data are obtained, packaged and encrypted into confidential transaction credentials, transmitted to the customer through a machine-readable module, and the electronic scale server decrypts the payment services and data services, so as to realize supervision of the transaction behavior of the electronic scale.
Remote acquisition of transaction data within the electronic scale SOC has been realized, and it can discover merchants' cheating behavior and collect evidence of fraudulent transactions. At the same time, it provides convenient electronic payment services for commodity transactions, supporting honest transaction order and electronic scale supervision and law enforcement.
Smart Images

Figure CN120125240A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of commercial electronic scales and trade data collection, and in particular, relates to an anti-cheating and supervised electronic scale service system, equipment, storage medium and method. Background Art
[0002] Electronic scales are widely used in contemporary commodity transactions, greatly promoting the development of economic trade. However, there are endless cases of illegal vendors using modified electronic scales to defraud customers, and the market lacks effective technical means to manage electronic scales. In the existing technology, it mainly focuses on anti-cheating, anti-dismantling and network monitoring, but for electronic scales that cannot be connected to the Internet, there is no effective control technology, and currently it mainly relies on on-site surprise inspections.
[0003] The current electronic scale anti-cheating technology mainly focuses on detecting weight deviation, dismantling and modification, and network monitoring. However, weighing deviation and dismantling may not necessarily reflect merchant cheating. They may be caused by aging and damage of the electronic scale, environmental changes such as temperature and pressure, tilt of the electronic scale, manual testing experiments, and dismantling during maintenance. Therefore, logically, weighing deviation and dismantling are not sufficient conditions for determining merchant cheating. Automatically recording these events locally on the electronic scale or on the network server does not have sufficient legal or regulatory significance.
[0004] In fact, the cheating of merchants usually manifests itself as: using electronic scales as tools to commit fraud in order to obtain certain benefits. The dismantled and modified electronic scales used as tools are not damaged at this time. It must have two working states: normal state and cheating state, and merchants can quickly switch between the two states. According to computer knowledge, we know that any computer program runs on data. The core component of the electronic scale is SOC. If the SOC program is not tampered with, it means that it runs under two different sets of calibration parameters. Another situation is that the merchant directly tampers with the displayed weight of the electronic scale on the SOC external circuit. Because the weight, unit price, total price, etc. displayed to customers and merchants are only informative and do not determine the actual payment amount, such tampering is invalid for fraudulent purposes.
[0005] As an electrical appliance, the electronic scale must be in a normal state when it is powered on for the first time before use. This means that the electronic scale SOC is using normal calibration parameters that can correctly weigh goods. We record this set of calibration parameters as parameter A, which is usually the calibration parameter set when the electronic scale leaves the factory.
[0006] The merchant's operation controls the electronic scale to enter the cheating state. After that, the electronic scale SOC activates the second set of calibration parameters, which we record as parameter B. Obviously, parameter B may be different from parameter A. At this time, when the electronic scale weighs the goods, the weight it displays is significantly inaccurate, but it meets the merchant's needs for defrauding customers.
[0007] For the above-mentioned conversion process of the electronic scale working state, we can program the SOC to calculate the weight of the goods once for the AD value output by the same weight sensor using the current working calibration parameters, and then force the use of parameter A to calculate the weight of the goods once, thereby obtaining two possible different weights. At this time, the two weights are compared inside the SOC. If and only if the calculation result of the current calibration parameters is different from the calculation result of parameter A, it can be determined that the electronic scale is in a cheating state, otherwise the electronic scale is normal.
[0008] However, even if the electronic scale SOC determines that the electronic scale is in a cheating state, it cannot be used to determine that the merchant is using the electronic scale to commit fraud, nor can it automatically lock the electronic scale to stop working or alarm. This is because it may be just an erroneous weighing process, and no actual transaction payment behavior has occurred. Of course, if the electronic scale is used in a specific situation, such as selling goods in the market, it can be reasonably inferred that the merchant is attempting to commit fraud.
[0009] Therefore, we need to adopt new technological means to obtain evidence of merchant fraud. Given that transaction-type electronic scales are mostly used to sell goods, and the sale of goods is inevitably accompanied by the payment of the purchase price, it is in this scenario that a large number of fraud cases using electronic scales occur. In order to maintain market integrity transactions, it is urgent to develop an anti-cheating and regulated electronic scale, especially remote supervision technology for electronic scales that are not connected to the Internet, to prevent tampering at the merchant end of the electronic scale. Summary of the invention
[0010] In view of this, in order to solve the above-mentioned problems existing in the prior art, the purpose of the present invention is to provide an anti-cheating and supervised electronic scale service system, equipment, storage medium and method to capture the original weighing data inside the electronic scale main control SOC from the customer side, and transmit the original data in a confidential state from the main control SOC to the electronic scale server, so as to completely prevent the tampering of weighing data; at the same time, on the one hand, it helps electronic scale merchants to complete electronic payment, and on the other hand, it provides additional data services for electronic scale merchants and market order managers, and provides legally effective evidence for customers to protect their rights.
[0011] The technical solution adopted by the present invention is: an anti-cheating and supervised electronic scale service system, which includes: an electronic scale body and a main control chip installed inside the electronic scale body, wherein the main control chip is used to obtain payment drive data, weighing data and weighing deviation data, and generate a secret transaction voucher after packaging and encrypting the payment drive data, weighing data and weighing deviation data; A human-readable module and a machine-readable module that are communicatively connected to the main control chip, wherein the human-readable module is used to display the weighing data, and the machine-readable module is used to transmit the secret transaction credentials to the customer end through short-distance data; wherein the weighing data is specific data of each weighing of goods displayed to both parties of the transaction, such as: goods, weight, unit price and total price, etc.; An electronic scale server, wherein the electronic scale server establishes wireless network communication with a customer terminal; The payment service and data service are executed after the client transmits the secret transaction credentials to the electronic scale server and the electronic scale server decrypts the credentials. The execution of the payment service and data service is specifically: The transaction voucher contains data required to complete the data service, which is extracted and stored in the storage space of the electronic scale server for monitoring the transaction behavior of the merchant's electronic scale; The transaction voucher contains the data required to complete the electronic payment. These data are extracted and forwarded to the electronic payment channel designated by the electronic scale merchant, namely, a public third-party electronic payment service platform, to help merchants complete sales collection and customer purchase payment.
[0012] When merchants use electronic scales for transactions, customers generally use electronic wallets to obtain the electronic scale's confidential transaction credentials at close range and forward them to the electronic scale server, which helps complete the online payment. Using this strong economic constraint, the electronic scale server can capture the specific transaction content of each transaction and all the original weighing data inside the electronic scale SOC, making it impossible for all electronic scales in this system to escape supervision, no matter where they are located or whether they have a network connection. If the electronic scale is only used for weighing and there is no actual transaction collection behavior, no supervision is required.
[0013] Furthermore, the main control chip includes payment driver firmware and weighing deviation firmware, and the payment driver firmware has a built-in electronic scale server website, a PKI public key and a main control chip serial number, which is used to obtain the payment driver data, and the payment driver data includes the electronic scale server website, the main control chip serial number, the electronic payment channel specified by the electronic scale merchant, the merchant's registration number in the electronic payment channel and the data service type specified by the merchant; The weighing deviation firmware is used to obtain weighing data and weighing deviation data of each cargo weighing on the electronic scale; The electronic scale server holds a PKI private key corresponding to the PKI public key.
[0014] Furthermore, the electronic scale server is a public service platform established on the Internet.
[0015] Furthermore, the payment service is to complete the electronic scale transaction collection through the electronic payment channel designated by the merchant; the data service is to store the confidential transaction credentials.
[0016] The present invention provides an anti-cheating and supervised electronic scale service method, which includes: S1: Weigh the goods, obtain the human-readable weighing data of this weighing, calculate the weighing deviation data, and send the human-readable weighing data to the human-readable module; S2: Obtain payment driver data and package and encrypt the payment driver data, weighing data and weighing deviation data to generate a secret transaction credential, and send the secret transaction credential to the machine-readable module; S3: Establish short-distance data transmission with the customer through the machine-readable module, and send the encrypted transaction credentials to the customer; S4: The customer sends the secret transaction credentials to the electronic scale server, and the electronic scale server decrypts the secret transaction credentials and executes payment services and data services.
[0017] Furthermore, the electronic scale service method also includes: before the merchant activates the electronic scale, the merchant uses the electronic scale personalized APP that comes with the electronic scale to bind the electronic scale to the merchant, the merchant specifies the electronic payment channel and data service type through the electronic scale personalized APP, and when the merchant no longer uses the electronic scale or transfers the electronic scale, the merchant uses the electronic scale personalized APP to cancel the binding relationship.
[0018] Furthermore, the weighing deviation data calculation method is: S101: Calculate the weight of the goods using the calibration parameters of the original electronic scale; S102: Calculate the weight of the goods with self-adjusted calibration parameters using the calibration parameters adjusted by the merchant end of the electronic scale; S103: Calculate the weighing deviation data, the calculation formula is: weighing deviation data = (self-adjusting calibration parameter cargo weight - original factory calibration parameter cargo weight) / original factory calibration parameter cargo weight × 100.
[0019] Furthermore, the confidential transaction credentials include: A plain text header, wherein the plain text header is the website address of the electronic scale server and the weighing data of the goods weighed this time; The confidential message body is all the original data generated by the weighing of the goods in this transaction. All the original data is encrypted using the PKI public key inside the main control chip.
[0020] The beneficial effects of the present invention are: 1. By adopting the anti-cheating and supervised electronic scale service system, equipment, storage medium and method provided by the present invention, the transaction data of all electronic scale SOCs in the system that have not been illegally modified can be remotely obtained without blind spots. The electronic scale server can find out the cheating behavior of illegal merchants on electronic scales and collect evidence of their fraudulent transactions. The electronic scale server provides convenient electronic payment for normal commodity transactions, which will provide strong support for establishing a good faith transaction order and electronic scale supervision and law enforcement; 2. By adopting the anti-cheating and controllable electronic scale service system, equipment, storage medium and method provided by the present invention, when a customer purchases goods and pays for the goods, he or she can put the electronic wallet mobile phone close to or scan the machine-readable module of the electronic scale to read out the confidential transaction credentials, which are sent to the electronic scale server through the customer's client. The electronic scale server decrypts the confidential transaction credentials, obtains the plaintext transaction credentials and completes the payment service and data service specified by the electronic scale merchant accordingly. By taking advantage of the opposing interests between the customer and the illegal merchant in the commodity transaction, the merchant cannot control the customer and his or her mobile phone, and can neither block the remote communication capability of the customer's mobile phone nor tamper with the encrypted electronic scale machine-readable data. The electronic scale does not need to be designed with a network port, which also prevents illegal merchants from destroying the electronic scale remote communication port to evade supervision. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is an operation logic flow chart of the anti-cheating and supervised electronic scale service system provided by the present invention; Figure 2 It is the internal component structure of the electronic scale in the anti-cheating and supervised electronic scale service system provided by the present invention; Figure 3 It is a communication diagram of the personalized setting of the anti-cheating and supervised electronic scale service system provided by the present invention; Figure 4 It is a logic flow chart of the main control program of the main control chip in the anti-cheating and supervised electronic scale service system provided by the present invention; Figure 5 It is a composition diagram of an electronic scale server in the anti-cheating and supervised electronic scale service system provided by the present invention. DETAILED DESCRIPTION
[0022] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar modules or modules with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as limitations on the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.
[0023] Example 1 like Figure 1 As shown, in this embodiment, an anti-cheating and supervised electronic scale service system is provided, and the electronic scale service system includes: an electronic scale body, a weight sensor assembly, a keyboard, a main control chip installed inside the electronic scale body, a human-readable module, a machine-readable module, and an electronic scale server. The electronic scale body is also configured with a USB port. The electronic scale communicates with the merchant's mobile phone through the USB port and personalizes the electronic scale through the electronic scale personalized APP. The functions of each part are specifically described below, as follows: ① Main control chip The main control chip is used to obtain payment drive data, weighing data and weighing deviation data, and to generate confidential transaction credentials after packaging and encrypting the payment drive data, weighing data and weighing deviation data.
[0024] The main control chip contains the server URL of the electronic scale, the PKI public key, the serial number of the main control chip and other fixed key data. The external components of general commercial electronic scales vary greatly depending on their uses. However, they must include weight sensor components, SOC chips or MCU chips, display components, etc.
[0025] Among them, the SOC chip or MCU chip is its core. Since the MCU chip has a single function, the electronic scale in this embodiment abandons the MCU chip and selects the SOC chip as the main control chip. The main control SOC chip is a multifunctional single computer chip, and its functions include program execution, data storage, firmware burning, etc. The programs and data running on the SOC chip can be stored in an erasable and rewritable non-volatile memory, or in the OTP storage area inside the SOC chip.
[0026] In order to prevent key programs and data from being illegally replaced, we use the OTP storage area in the SOC chip to store the payment driver, weighing deviation program and electronic scale main program, making it a "firmware" that cannot be modified or deleted. In addition, in order to complete the payment services and data services required by electronic scale merchants, it is necessary to ensure the electronic scale server website and its PKI public key, the globally unique serial number of the SOC chip, which is used as the unique identification number of the electronic scale, and the uniqueness is guaranteed by the SOC chip manufacturer, as well as key data such as the weight sensor calibration parameters set when the electronic scale leaves the factory, which remain unchanged for life, and they are also stored in the OTP storage area. In view of the fact that this embodiment allows the electronic scale to perform all its functions normally without being connected to the Internet, remote communication components include Ethernet, WIFI, and various wide-area Internet of Things, which are not necessary components of the electronic scale disclosed in this embodiment.
[0027] The electronic scale itself is not connected to the network. Its main control SOC chip includes payment driver firmware and weighing deviation firmware. These firmware are guaranteed by the SOC chip to be unable to be deleted or modified. Specifically: The payment driver firmware includes the electronic scale server website, the PKI public key and the main control chip serial number, that is, the globally unique serial number of the SOC chip and other solidified key data.
[0028] The weighing deviation firmware is used to obtain the weighing data and weighing deviation data of each weighing of the goods on the electronic scale. Specifically, when the electronic scale weighs the goods, for the same weight sensor AD value, the SOC chip uses two sets of calibration parameters to calculate the weight at the same time to obtain the weighing deviation data. In this embodiment, two sets of calibration parameters are designed in the electronic scale SOC chip. The first set of calibration parameters is the factory setting of the electronic scale, which is stored in the OTP storage area of the SOC chip and cannot be modified or deleted; the second set of calibration parameters can be adjusted by the merchant of the electronic scale by himself, and is stored in a fixed position in the non-volatile memory. This set of parameters can be modified. Errors may occur naturally during the long-term use of the electronic scale, and generally require calibration once a year. Small-scale calibration can be adjusted by the merchant of the electronic scale under the guidance of the special software of the electronic scale, and the adjusted new calibration parameters are stored in the position of the second set of calibration parameters. If the electronic scale provides a calibration feature, the range of the merchant's self-adjustment can be limited.
[0029] ② Human Reading Module The human-readable module is used to display the weighing data, that is, transaction data that can be detected and identified by humans. The human-readable module includes a digital text display, a touch screen, a voice player, etc.
[0030] ③Machine readable module The machine-readable module is used to transmit the confidential transaction credentials to the customer end via short-distance data transmission, and the short-distance data transmission methods include Bluetooth, Star Flash, NFC, QR code graphics, etc.
[0031] ④Electronic scale server The electronic scale server is a public service platform built on the Internet. The electronic scale server holds the PKI private key corresponding to the above-mentioned PKI public key. The electronic scale server establishes wireless network communication with the customer end, and transmits the secret transaction credentials to the electronic scale server through the customer end, and the electronic scale server performs payment services and data services after decryption. The functions of the electronic scale server include payment services and data services. The electronic scale server is used to receive the secret transaction credentials transmitted by the electronic scale when the goods are weighed and the payment is collected. The electronic scale server uses its PKI private key to decrypt and perform payment services and data services accordingly. Among them, the payment service is the service process of completing the transaction and collecting the payment using the electronic payment channel specified by the electronic scale merchant, and the data service is to manage the secret transaction credentials for the merchant, which can be understood as a transaction data storage service.
[0032] The anti-cheating and supervised electronic scale service system based on this embodiment works as follows: After the electronic scale is powered on, the SOC chip usually monitors the output of the weight sensor component in a polling or interrupt manner. The electrical signal sensed by the weight sensor component is quite weak, and then passes through the signal amplifier and AD converter to become a digital weighing AD value.
[0033] When the SOC chip successfully obtains the AD value of a cargo weight, a cargo weight calculation process is started. We select SOC chips with internal amplifiers and AD converters to prevent illegal modifications. If the amplifier and AD converter use discrete components, they are protected by packaging in the manufacturing process, such as COB packaging.
[0034] After the SOC chip completes the cargo weighing calculation process, it sends the weighing data of this cargo transaction to the electronic scale display component for customers to read. In this embodiment, these human-readable data only inform the buyer and seller to check the transaction data before paying the goods, and do not determine the actual amount of payment. At the same time, in order to complete the transaction collection function in the next step, all the data obtained from this weighing are packaged and encrypted, and the public key is used to generate and encode the secret transaction credentials. According to the design of the electronic scale component, the secret transaction credentials are sent to the NFC, Bluetooth, Huawei Star Flash, graphic display and other machine-readable modules of the electronic scale. When the customer uses the electronic wallet to pay for the goods, the mobile phone is close to or scans the machine-readable module of the electronic scale to read the secret transaction credentials and forward them to the electronic scale server.
[0035] Because the confidential transaction credentials are encrypted inside the SOC chip, they remain confidential during the transmission path from the SOC chip to the electronic scale server and cannot be tampered with in the middle. In order to prevent "replay attacks" and "man-in-the-middle attacks", random numbers can be added during encryption to further improve security. The electronic scale server uses the private key to decrypt the confidential transaction credentials and complete the payment service and data service specified by the electronic scale merchant. The payment service completes the electronic scale transaction collection through the electronic payment channel specified by the merchant; the data service stores the confidential transaction credentials.
[0036] like Figure 2 , Figure 3 As shown, a commercial electronic scale suitable for farmers' markets and mobile vendors is provided. The electronic scale itself is not connected to the Internet. The components of the electronic scale include a machine reading module, a USB port, a human reading module, a weight sensor, a keyboard and a SOC chip. All components are welded on a PCB board, and each component is electrically connected to the main control SOC chip.
[0037] The human-readable module adopts LED digital tube, which is divided into four areas to display weight, unit price, total price and commodity code respectively; the waterproof keyboard is divided into two areas, the numeric keypad area and the function keypad area; the machine-readable module is a backlit LCD display for displaying dynamic QR codes; the USB port is USB3.0 SLAVE, and the electronic scale communicates with the merchant's mobile phone through the USB port to personalize the electronic scale through the electronic scale personalized APP; the weight sensor is any weight sensor with voltage analog output; the SOC chip is a single-chip computer system, which includes CPU, RAM memory, OTP storage area, FLASH storage, ADC digital-to-analog converter, and AMP linear voltage amplifier.
[0038] like Figure 4 As shown, the SOC chip is configured with a main control program, a weighing deviation program, a payment driver program, a personalized program and a special function program.
[0039] The firmware of the main control program is burned into the OTP storage area of the SOC chip. The main control program runs after power-on, idling in a loop waiting for external events such as weighing interrupt, keyboard interrupt, USB interrupt, etc.
[0040] The weighing deviation program is called by the main control program when a weight sensor interrupt occurs; the payment driver is called by the main control program after the weighing deviation program, and the payment driver has built-in fixed data such as the electronic scale server URL, server PKI public key, SOC chip serial number, etc.; the electronic scale personalization program is called by the main control program when a USB interrupt occurs; the special function program is called by the main program when a keyboard interrupt occurs, and the special function program is prepared by the electronic scale manufacturer.
[0041] like Figure 5 As shown, the electronic scale server includes: a WEB portal server, an application server, an aggregate payment server and a data subscription server. Among them, the WEB portal server receives the secret transaction credentials from the electronic scale; the application server decrypts the secret transaction credentials, including modules such as transaction credential recovery, transaction credential verification, transaction abnormality disposal and PKI private key, and the application server communicates with the transaction data record library and transmits data to each other, and a communication connection is established between the SOC chip and the application server; the aggregate payment server completes the electronic scale merchant collection service; the data subscription server completes the data service subscribed by the merchant and the regulator.
[0042] Example 2 The present invention provides an anti-cheating and supervised electronic scale service method, which includes: S1: Weigh the goods, obtain the weighing data of this weighing, calculate the weighing deviation data, and send the weighing data to the human reading module; the weighing deviation data calculation method is: S101: Calculate the weight of the goods using the calibration parameters of the original electronic scale; S102: Calculate the weight of the goods with self-adjusted calibration parameters using the calibration parameters adjusted by the merchant end of the electronic scale; S103: Calculate weighing deviation data, the calculation formula is: weighing deviation data = (self-adjusted calibration parameter cargo weight - original factory calibration parameter cargo weight) / original factory calibration parameter cargo weight × 100; on the electronic scale server, weighing deviation is combined with other data items to discover transaction fraud of electronic scale merchants.
[0043] S2: Obtain payment driver data and package and encrypt the payment driver data, weighing data and weighing deviation data to generate a confidential transaction credential, which is sent to the machine-readable module; specifically, the electronic scale server URL, electronic payment platform URL, merchant registration number on the platform, SOC chip serial number and other original data inside the SOC chip obtained from this weighing are packaged into a confidential transaction credential, which is sent to the machine-readable module of the electronic scale. The entire path from the SOC chip to the electronic scale server is confidential and cannot be tampered with in the middle, thus ensuring the security of the data.
[0044] S3: Establish short-distance data transmission with the customer end through the machine-readable module, and send the confidential transaction credentials to the customer end; when paying for the goods after each weighing process is completed, the customer uses his personal mobile wallet to approach or scan the machine-readable module of the electronic scale, and forwards the read confidential transaction credentials to the electronic scale server through the customer end.
[0045] S4: The customer sends the confidential transaction credentials to the electronic scale server, and the electronic scale server decrypts the confidential transaction credentials and executes payment services and data services. The confidential transaction credentials include: a plaintext header and a confidential message body. The plaintext header is the website of the electronic scale server and the weighing data of this cargo weighing, wherein the weighing data is human-readable data such as commodity, weight, unit price and total price; the confidential message body is all the original data generated by the weighing of the cargo in this transaction, and all the original data is encrypted using the PKI public key inside the main control chip; the electronic scale server uses its PKI private key to decrypt the confidential message body, obtains the plaintext transaction credentials and completes the payment services and data services specified by the electronic scale merchant accordingly.
[0046] The electronic scale service method also includes: before the merchant activates the electronic scale, the merchant uses the electronic scale personalized APP that comes with the electronic scale to bind the electronic scale to the merchant, the merchant specifies the electronic payment channel and data service type through the electronic scale personalized APP, and when the merchant no longer uses the electronic scale or transfers the electronic scale, the merchant uses the electronic scale personalized APP to cancel the binding relationship.
[0047] In order to ensure the communication security between the electronic scale and the merchant's mobile phone, a USB cable can be used to connect the two. When the merchant no longer uses the electronic scale or transfers the electronic scale, the electronic scale personalized APP attached to the electronic scale can be used to unbind the relationship. After the electronic scale is bound to the merchant's mobile phone, it also serves as a receiving terminal for transaction collection feedback information and a client for the merchant's customized data service.
[0048] We can use the popular mobile electronic payment to capture the transaction data sent by the electronic scale SOC and discover the fraud being implemented. The above-mentioned electronic scale SOC generates two sets of weighing data for each weighing, of which the data generated by the currently working calibration parameters A or B must be sent to the electronic scale display. At the same time, the two sets of weighing data generated by the calibration parameters A and B and the data required to complete the electronic payment are packaged, encrypted and encoded into machine-readable messages inside the SOC and sent to the machine-readable components of the electronic scale, such as NFC, Bluetooth, Huawei Star Flash, graphic display, etc. Since the machine-readable data is encrypted and output inside the SOC, it cannot be tampered with by external humans.
[0049] The electronic scale server determines that the electronic scale merchant is cheating in the following ways: 1) the electronic scale SOC serial number is not in the known list; 2) the weighing deviation exceeds the predetermined threshold; 3) for the same product, the total price / weight is used to push out a large difference in unit price; 4) the electronic scale merchant frequently switches between two sets of calibration parameters of the electronic scale; 5) the electronic scale merchant uses different calibration parameters to weigh the same product in transactions.
[0050] The above-mentioned judgment methods using big data or AI analysis algorithms can be used to determine whether a merchant has engaged in cheating.
[0051] It should be noted that any process or method description in the flowchart or otherwise described herein may be understood to represent a module, fragment or portion of a code comprising one or more executable instructions for implementing steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations, in which the functions may not be performed in the order shown or discussed, including performing the functions in substantially the same manner or in the opposite order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0052] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0053] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0054] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0055] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0056] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. An anti-cheating and supervised electronic scale service system, characterized in that: The electronic scale service system includes: An electronic scale body and a main control chip installed inside the electronic scale body, wherein the main control chip is used to obtain payment drive data, weighing data and weighing deviation data, and to generate a confidential transaction voucher after packaging and encrypting the payment drive data, weighing data and weighing deviation data; A human-readable module and a machine-readable module that are communicatively connected to the main control chip, wherein the human-readable module is used to display the weighing data, and the machine-readable module is used to transmit the secret transaction credentials to the customer end via short-distance data transmission; An electronic scale server, wherein the electronic scale server establishes wireless network communication with a customer terminal; Among them, the client transmits the secret transaction credentials to the electronic scale server, and the electronic scale server decrypts and executes the payment service and data service.
2. The anti-cheating and supervised electronic scale service system according to claim 1 is characterized in that: The main control chip includes a payment driver firmware and a weighing deviation firmware. The payment driver firmware has a built-in electronic scale server website, a PKI public key and a main control chip serial number, which is used to obtain the payment driver data. The payment driver data includes the electronic scale server website, the main control chip serial number, the electronic payment channel specified by the electronic scale merchant, the merchant's registration number in the electronic payment channel and the data service type specified by the merchant; The weighing deviation firmware is used to obtain weighing data and weighing deviation data of each cargo weighing on the electronic scale; The electronic scale server holds a PKI private key corresponding to the PKI public key.
3. The anti-cheating and supervised electronic scale service system according to claim 1 is characterized in that: The electronic scale server is a public service platform established on the Internet.
4. The anti-cheating and supervised electronic scale service system according to claim 1, characterized in that: The payment service is to complete the electronic scale transaction and collect payment through the electronic payment channel specified by the merchant; the data service is to store the confidential transaction credentials.
5. An anti-cheating and supervised electronic scale service method, characterized in that: The electronic scale service method includes: S1: Weigh the goods, obtain the weighing data of this weighing, calculate the weighing deviation data, and send the weighing data to the human reading module; S2: Obtain payment driver data and package and encrypt the payment driver data, weighing data and weighing deviation data to generate a secret transaction credential, and send the secret transaction credential to the machine-readable module; S3: Establish short-distance data transmission with the customer through the machine-readable module, and send the encrypted transaction credentials to the customer; S4: The customer sends the secret transaction credentials to the electronic scale server, and the electronic scale server decrypts the secret transaction credentials and executes payment services and data services.
6. The anti-cheating and supervised electronic scale service method according to claim 5, characterized in that: The electronic scale service method also includes: before the merchant activates the electronic scale, the merchant uses the electronic scale personalized APP that comes with the electronic scale to bind the electronic scale to the merchant, the merchant specifies the electronic payment channel and data service type through the electronic scale personalized APP, and when the merchant no longer uses the electronic scale or transfers the electronic scale, the merchant uses the electronic scale personalized APP to cancel the binding relationship.
7. The anti-cheating and supervised electronic scale service method according to claim 5, characterized in that: The calculation method of the weighing deviation data is: S101: Calculate the weight of the goods using the calibration parameters of the original electronic scale; S102: Calculate the weight of the goods with self-adjusted calibration parameters using the calibration parameters adjusted by the merchant end of the electronic scale; S103: Calculate the weighing deviation data, the calculation formula is: weighing deviation data = (self-adjusting calibration parameter cargo weight - original factory calibration parameter cargo weight) / original factory calibration parameter cargo weight × 100.
8. The anti-cheating and supervised electronic scale service method according to claim 5, characterized in that: The confidential transaction credentials include: A plain text header, wherein the plain text header is the website address of the electronic scale server and the weighing data of the goods weighed this time; The confidential message body is all the original data generated by the weighing of the goods in this transaction. All the original data is encrypted using the PKI public key inside the main control chip. 9.An anti-cheating and supervised electronic scale service device, characterized in that: It comprises a processor and a memory; the memory stores computer executable instructions; the processor executes the computer executable instructions stored in the memory, so that the processor runs the anti-cheating and supervised electronic scale service method as described in any one of claims 5-8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the anti-cheating and supervised electronic scale service method described in any one of claims 5 to 8.
Citation Information
Patent Citations
Weighing procedure using signals fed from controller - involves automatic deviation correction device and average of weight deviations is calculated
CH565995A5
Anti-cheating electronic scale and anti-cheating system
CN107228707A
Intelligent weighing trade system and method
CN107784494A
Anti-cheating self-service retail electronic scale
CN113124977A
Cited By
Electronic scale real-time tamper-proofing method and system based on cloud monitoring and data networking
CN121089885A
Food safety supervision service system and storage medium
CN121352824A
