A price tag control method, device and computer-readable storage medium

By scanning the identification code of the electronic price tag to obtain the network address, calculate and send the verification value to control the price tag to enter the working or dormant state, the problem of poor price tag battery loss and configuration flexibility is solved, and efficient and convenient price tag control and product strength are achieved.

CN114390526BActive Publication Date: 2025-06-03NUBIA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210085185.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-25
Publication Date
2025-06-03
Estimated Expiration
2042-01-25

AI Technical Summary

Technical Problem

In the prior art, the battery will be lost over time when the electronic price tag is not in use, resulting in a shortened service life. The existing configuration scheme is poor in flexibility and cannot be configured in large batches in flexibly and efficiently according to the actual needs of the store.

Method used

By scanning the identification code of the price tag to obtain its network address, send it to the server to calculate the first check value, and send it to the price tag. The price tag compares the first check value with the second check value stored by itself. If it is the same, it enters the working state, otherwise it enters the sleep state.

Benefits of technology

It realizes efficient and convenient control of price tags, reduces the cost of utilities and time allocation, and improves the maintainability and product strength of price tags.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114390526B_ABST
    Figure CN114390526B_ABST
Patent Text Reader

Abstract

The present invention discloses a price tag control method, device, and computer-readable storage medium. The method includes: scanning an identification code of the price tag, and obtaining a network address of the price tag through the identification code; sending the network address to a server, and obtaining a first verification value sent by the server, where the first verification value is calculated from the network address and a preset parameter; sending the first verification value to the price tag, so that the price tag compares the first verification value with a second verification value stored in itself; if the first verification value is the same as the second verification value, controlling the price tag to enter a working state, and if the first verification value is different from the second verification value, controlling the price tag to enter a sleep state. An efficient and convenient price tag control solution is achieved, reducing the labor and time costs of price tag configuration, improving the maintainability of price tags, and enhancing the product power of price tags.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communications, and particularly to a price tag control method, device, and computer-readable storage medium. Background Art

[0002] Currently, as more and more various stores use electronic price tags, the number of price tags used is also increasing. In large stores, there are even hundreds of thousands of price tags, and a part of them are spare and in an unused state for a long time. These price tags can still receive broadcast messages from the base station. As a result, the batteries of the unused price tags are continuously depleted over time, shortening the service life of the electronic price tags.

[0003] To avoid battery depletion of unused price tags, existing solutions are either to configure the price tags one by one or to perform batch configuration when the price tags leave the factory.

[0004] However, the flexibility of the above solutions is poor, and they cannot perform large-scale flexible and efficient configuration according to the actual needs of the store. There is still a large room for improvement in the product power of the price tags. Summary of the Invention

[0005] To solve the above technical defects in the prior art, the present invention proposes a price tag control method, which includes:

[0006] Scan the identification code of the price tag, and obtain the network address of the price tag through the identification code.

[0007] Send the network address to the server, and obtain a first verification value sent by the server, where the first verification value is calculated from the network address and a preset parameter.

[0008] Send the first verification value to the price tag, so that the price tag compares the first verification value with a second verification value stored in itself.

[0009] If the first verification value is the same as the second verification value, control the price tag to enter the working state; if the first verification value is different from the second verification value, control the price tag to enter the sleep state.

[0010] Optionally, the scanning the identification code of the price tag and obtaining the network address of the price tag through the identification code includes:

[0011] Start the camera of the mobile device, and scan the two-dimensional code of the price tag through the camera.

[0012] Analyze the two-dimensional code to obtain the IP address of the price tag.

[0013] Optionally, sending the network address to the server and obtaining a first verification value sent by the server, where the first verification value is calculated from the network address and preset parameters, includes:

[0014] The polynomial of the preset cyclic redundancy check.

[0015] The program for calculating the cyclic redundancy check through the polynomial of the cyclic redundancy check.

[0016] Optionally, sending the network address to the server and obtaining a first verification value sent by the server, where the first verification value is calculated from the network address and preset parameters, further includes:

[0017] Substituting the network address into the program of the cyclic redundancy check.

[0018] Calculating the first verification value corresponding to the network address through the program of the cyclic redundancy check.

[0019] Optionally, sending the first verification value to the price tag so that the price tag compares the first verification value with a second verification value stored in itself, includes:

[0020] Determining the cyclic redundancy check code corresponding to the network address.

[0021] Generating the polynomial of the cyclic redundancy check through the cyclic redundancy check code.

[0022] Optionally, sending the first verification value to the price tag so that the price tag compares the first verification value with a second verification value stored in itself, further includes:

[0023] Calculating the cyclic redundancy check value of the network address through the polynomial of the cyclic redundancy check.

[0024] Taking the cyclic redundancy check value as the second verification value and storing it in its own register.

[0025] Optionally, sending the first verification value to the price tag so that the price tag compares the first verification value with a second verification value stored in itself, further includes:

[0026] Retrieving the second verification value from the register.

[0027] Judging whether the first verification value is consistent with the second verification value.

[0028] Optionally, if the first verification value is the same as the second verification value, control the price tag to enter the working state; if the first verification value is different from the second verification value, control the price tag to enter the sleep state, including:

[0029] If the first verification value is the same as the second verification value, control the price tag to restart and enter the network search state after restarting.

[0030] If the first verification value is different from the second verification value, control the price tag to enter a preset long sleep state.

[0031] The present invention also provides a price tag control device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the price tag control method described in any one of the above are implemented.

[0032] The present invention also provides a computer-readable storage medium, on which a price tag control program is stored. When the price tag control program is executed by a processor, the steps of the price tag control method described in any one of the above are implemented.

[0033] Implementing the price tag control method, device, and computer-readable storage medium of the present invention, by scanning the identification code of the price tag, obtaining the network address of the price tag through the identification code; sending the network address to the server, and obtaining a first verification value sent by the server, where the first verification value is calculated from the network address and preset parameters; sending the first verification value to the price tag so that the price tag compares the first verification value with a second verification value stored in itself; if the first verification value is the same as the second verification value, control the price tag to enter the working state, if the first verification value is different from the second verification value, control the price tag to enter the sleep state. An efficient and convenient price tag control solution is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the labor and time costs of price tag configuration, improving the maintainability of the price tag, and enhancing the product power of the price tag. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The present invention will be further described below in conjunction with the drawings and embodiments. In the drawings:

[0035] Figure 1 is a schematic hardware structure diagram of a mobile terminal related to the present invention;

[0036] Figure 2 is a schematic diagram of a communication network system architecture provided by an embodiment of the present invention;

[0037] Figure 3It is the flowchart of the first embodiment of the price tag control method of the present invention;

[0038] Figure 4 It is the flowchart of the second embodiment of the price tag control method of the present invention;

[0039] Figure 5 It is the flowchart of the third embodiment of the price tag control method of the present invention;

[0040] Figure 6 It is the flowchart of the fourth embodiment of the price tag control method of the present invention;

[0041] Figure 7 It is the flowchart of the fifth embodiment of the price tag control method of the present invention;

[0042] Figure 8 It is the flowchart of the sixth embodiment of the price tag control method of the present invention;

[0043] Figure 9 It is the flowchart of the seventh embodiment of the price tag control method of the present invention;

[0044] Figure 10 It is the flowchart of the eighth embodiment of the price tag control method of the present invention. Detailed implementation manners

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0046] In subsequent descriptions, suffixes such as "module", "component" or "unit" used to represent elements are only for the convenience of describing the present invention, and they have no specific meaning in themselves. Therefore, "module", "component" or "unit" can be used interchangeably.

[0047] The terminal can be implemented in various forms. For example, the terminal described in the present invention can include mobile terminals such as mobile phones, tablet computers, laptop computers, palmtop computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0048] In the subsequent description, the mobile terminal will be used as an example for illustration. Those skilled in the art will understand that, except for the elements specifically for mobile purposes, the structure according to the embodiments of the present invention can also be applied to fixed-type terminals.

[0049] Please refer to Figure 1, which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art can understand that Figure 1 the mobile terminal structure shown in

[0050] does not limit the mobile terminal. The mobile terminal may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements. Figure 1 The following specifically introduces each component of the mobile terminal:

[0051] The RF unit 101 can be used to receive and send signals during information reception or call processes. Specifically, after receiving the downlink information of the base station, it is given to the processor 110 for processing; in addition, the uplink data is sent to the base station. Usually, the RF unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. In addition, the RF unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (CodeDivision Multiple Access 2000), WCDMA (Wideband Code DivisionMultiple Access), TD-SCDMA (Time Division-Synchronous CodeDivision Multiple Access), FDD-LTE (Frequency DivisionDuplexing-Long Term Evolution), and TDD-LTE (Time DivisionDuplexing-Long Term Evolution), etc.

[0052] WiFi belongs to short - range wireless transmission technology. Through the WiFi module 102, the mobile terminal can help users send and receive emails, browse the web, and access streaming media, etc. It provides users with wireless broadband Internet access. Although Figure 1 the WiFi module 102 is shown, it can be understood that it does not belong to the essential components of the mobile terminal and can be completely omitted within the scope of not changing the essence of the invention according to needs.

[0053] The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in modes such as a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide an audio output related to the specific functions executed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.

[0054] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 can include a Graphics Processing Unit (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes the image data of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frames can be displayed on the display unit 106. The processed image frames can be stored in the memory 109 (or other storage media) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in operating modes such as a phone call mode, a recording mode, a voice recognition mode, etc., and can process such sounds into audio data. The processed audio (voice) data can be output in a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of a phone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) the noise or interference generated during the reception and transmission of audio signals.

[0055] The mobile terminal 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used in applications for identifying the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be elaborated here.

[0056] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.

[0057] The user input unit 107 can be used to receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 1071), and drive the corresponding connection device according to a preset program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the user and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 110, and can receive and execute the commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc., and specific details are not limited here.

[0058] Further, the touch panel 1071 may cover the display panel 1061. After the touch panel 1071 detects a touch operation on or near it, it transmits the operation to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in Figure 1 , the touch panel 1071 and the display panel 1061 are implemented as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to realize the input and output functions of the mobile terminal, and the specific implementation here is not limited.

[0059] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headset port, and so on. The interface unit 108 can be used to receive inputs from external devices (such as data information, power, etc.) and transmit the received inputs to one or more components within the mobile terminal 100 or can be used to transmit data between the mobile terminal 100 and external devices.

[0060] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory 109 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0061] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect all parts of the entire mobile terminal. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it executes various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110.

[0062] The mobile terminal 100 may further include a power source 111 (such as a battery) for powering each component. Preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.

[0063] Although Figure 1 not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be elaborated here.

[0064] For the convenience of understanding the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based will be described below.

[0065] Please refer to Figure 2 , Figure 2 which is an architecture diagram of a communication network system provided by an embodiment of the present invention. The communication network system is an LTE system of a general mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator that are sequentially communicatively connected.

[0066] Specifically, the UE 201 may be the above terminal 100, which will not be elaborated here.

[0067] The E-UTRAN 202 includes an eNodeB 2021 and other eNodeBs 2022, etc. Among them, the eNodeB 2021 may be connected to other eNodeBs 2022 through a backhaul (such as an X2 interface), the eNodeB 2021 is connected to the EPC 203, and the eNodeB 2021 may provide access for the UE 201 to the EPC 203.

[0068] The EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving Gate Way) 2034, a PGW (PDN Gate Way) 2035, a PCRF (Policy and Charging Rules Function) 2036, etc. Among them, the MME 2031 is a control node that processes the signaling between the UE 201 and the EPC 203 and provides bearer and connection management. The HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure) and stores some user-specific information such as service characteristics and data rates. All user data can be sent through the SGW 2034. The PGW 2035 can provide IP address allocation for the UE 201 and other functions. The PCRF 2036 is a policy and charging control policy decision point for service data flows and IP bearer resources, and it selects and provides available policy and charging control decisions for a policy and charging enforcement function unit (not shown in the figure).

[0069] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP services, etc.

[0070] Although the above has been described by taking the LTE system as an example, those skilled in the art should be aware that the present invention is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited herein.

[0071] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0072] Embodiment 1

[0073] Figure 3 It is a flowchart of the first embodiment of the price tag control method of the present invention. A price tag control method, the method includes:

[0074] S1. Scan the identification code of the price tag and obtain the network address of the price tag through the identification code.

[0075] S2. Send the network address to the server and obtain a first verification value sent by the server, where the first verification value is calculated from the network address and a preset parameter.

[0076] S3. Send the first check value to the price tag so that the price tag compares the first check value with the second check value stored therein.

[0077] S4. If the first check value is the same as the second check value, control the price tag to enter the working state; if the first check value is different from the second check value, control the price tag to enter the sleep state.

[0078] In this embodiment, first, based on the address and check redundancy code stored in the electronic price tag register, a register is reserved in the control chip of the electronic price tag to store the CRC (Cyclic Redundancy Check) code of the price tag address, and the CRC check value of the address is calculated by using the CRC-QITT polynomial generated by the CRC code; then, the CRC check value and the price tag IP address are implanted into the register of the price tag control chip together; the same program for calculating the CRC code by using the CRC-QITT polynomial is also used in the binding server; when binding the price tag with a handheld device, first scan the QR code to read the price tag IP address, and then send it to the binding server; the server uses the program for calculating the CRC code by using the CRC-QITT polynomial to calculate the corresponding CRC check value according to the address value and sends it to the handheld device; after receiving the check value from the server, the handheld device sends an activation instruction to the electronic price tag; the instruction received by the price tag contains the CRC check value, which is compared with the CRC value stored in its own register; if they are consistent, an interrupt instruction is started to control the price tag to enter the network search state after restart; if they are inconsistent, the electronic price tag is controlled to enter the ultra-long sleep state, so that it cannot receive the broadcast of the base station.

[0079] Optionally, in this embodiment, the binding server and the handheld device communicate with each other. The server sends the calculated CRC check value to the handheld device according to the IP address and the CRC code, and then the handheld device issues an interrupt instruction to the price tag.

[0080] Optionally, in this embodiment, the price tag controller and the CRC logic processing module are bound. The price tag controller receives the interrupt instruction and compares it with the CRC check value in its own register. If they are consistent, the price tag is restarted and enters the fast network search state; otherwise, it enters the ultra-long sleep state.

[0081] Optionally, in this embodiment, the ID of the price tag and the corresponding CRC program are burned in the production line. Thereafter, the price tag enters the ultra-long sleep state; when the mall wants to bind the price tag to a commodity, the handheld device reads the price tag IP and sends it to the binding server, and the server calculates the check code value of the price tag through the CRC program and then sends the CRC value to the handheld device.

[0082] Optionally, in this embodiment, when the handheld device receives the CRC value, it sends an interrupt instruction to the price tag. The price tag receives the interrupt instruction and compares it with the CRC value in its own register. If they are the same, the price tag is restarted and enters the standby state; otherwise, it enters the ultra-long sleep state.

[0083] Optionally, in this embodiment, through the price tag single-chip microcomputer, for example, a 16-bit MCU microcontroller system pre-calculates the CRC code of the electronic price tag address. Then, during the calculation of the CRC of the address, the generating polynomial of the CRC code is CRC-QITT, and its generated polynomial is: G(x) = X16 + X12 + X5 + 1. The corresponding code of G(x) is: 1 0001 0000 0010 0001. The operation process is as follows: First, the electronic price tag address data is used as the information field A. If the information segment A is 1100 0100 1010 0101, first shift the information segment left by 16 bits to get the corresponding code of field B as 1100 0100 1010 0101 0000 0000 0000 0000. Then, perform polynomial division on field B and G(x) to get the remainder C with the code 0011 1111 1101 1111. The remainder C is the CRC code of the electronic price tag address 1100 0100 1010 0101.

[0084] Optionally, in this embodiment, the subroutine for calculating the CRC code of the data segment is:

[0085]

[0086]

[0087] where *ptr points to the first byte of the send buffer, and len is the total number of bytes to be sent.

[0088] In this embodiment, when binding the electronic price tag, communication is carried out with the server through the redundancy check code. If the address and redundancy check code of the price tag to be bound are the same as those stored in the server, the price tag is activated and receives the broadcast message of the base station, thereby completing the subsequent picture and update functions. Thus, the unactivated price tags are always in the long sleep state, with extremely low battery consumption, ensuring the battery life.

[0089] In this embodiment, the electronic price tag register stores the address and redundancy check code for communication with the binding server. After the binding handheld device scans the QR code of the electronic price tag and obtains the IP address of the price tag, it sends it to the binding server. After the server conducts data communication with the electronic price tag and the redundancy check code verification is successful, the price tag is activated. If the redundancy check code verification fails, the price tag immediately enters the long sleep state without going through the short sleep cycle to avoid power consumption loss caused by receiving broadcast data from the base station at intervals.

[0090] The beneficial effect of this embodiment is that by scanning the identification code of the price tag, the network address of the price tag is obtained through the identification code; the network address is sent to the server, and a first check value issued by the server is obtained, where the first check value is calculated from the network address and preset parameters; the first check value is sent to the price tag so that the price tag compares the first check value with the second check value stored in itself; if the first check value is the same as the second check value, the price tag is controlled to enter the working state, and if the first check value is different from the second check value, the price tag is controlled to enter the sleep state. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the human and time costs of price tag configuration, improving the maintainability of the price tag, and enhancing the product power of the price tag.

[0091] Embodiment Two

[0092] Figure 4 It is the flowchart of the second embodiment of the price tag control method of the present invention. Based on the above embodiment, scanning the identification code of the price tag and obtaining the network address of the price tag through the identification code includes:

[0093] S11. Start the camera of the mobile device and scan the QR code of the price tag through the camera.

[0094] S12. Analyze the QR code to obtain the IP address of the price tag.

[0095] The beneficial effect of this embodiment is that by starting the camera of the mobile device and scanning the QR code of the price tag through the camera; analyzing the QR code to obtain the IP address of the price tag. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the human and time costs of price tag configuration, improving the maintainability of the price tag, and enhancing the product power of the price tag.

[0096] Embodiment Three

[0097] Figure 5It is a flowchart of the third embodiment of the price tag control method of the present invention. Based on the above embodiment, sending the network address to the server and obtaining a first verification value sent by the server, where the first verification value is calculated from the network address and preset parameters, includes:

[0098] S21. Preset the polynomial of cyclic redundancy check.

[0099] S22. Calculate the program of cyclic redundancy check through the polynomial of cyclic redundancy check.

[0100] The beneficial effect of this embodiment is that by presetting the polynomial of cyclic redundancy check; calculating the program of cyclic redundancy check through the polynomial of cyclic redundancy check. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the labor and time costs of price tag configuration, improving the maintainability of price tags, and enhancing the product power of price tags.

[0101] Embodiment Four

[0102] Figure 6 It is a flowchart of the fourth embodiment of the price tag control method of the present invention. Based on the above embodiment, sending the network address to the server and obtaining a first verification value sent by the server, where the first verification value is calculated from the network address and preset parameters, further includes:

[0103] S23. Substitute the network address into the program of cyclic redundancy check.

[0104] S24. Calculate the first verification value corresponding to the network address through the program of cyclic redundancy check.

[0105] The beneficial effect of this embodiment is that by substituting the network address into the program of cyclic redundancy check; calculating the first verification value corresponding to the network address through the program of cyclic redundancy check. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the labor and time costs of price tag configuration, improving the maintainability of price tags, and enhancing the product power of price tags.

[0106] Embodiment Five

[0107] Figure 7 It is a flowchart of the fifth embodiment of the price tag control method of the present invention. Based on the above embodiment, sending the first verification value to the price tag to enable the price tag to compare the first verification value with a second verification value stored in itself, includes:

[0108] S31. Determine the cyclic redundancy check code corresponding to the network address.

[0109] S32. Generate the polynomial of the cyclic redundancy check through the cyclic redundancy check code.

[0110] The beneficial effect of this embodiment is that by determining the cyclic redundancy check code corresponding to the network address; generating the polynomial of the cyclic redundancy check through the cyclic redundancy check code. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the labor and time costs of price tag configuration, improving the maintainability of the price tag, and enhancing the product power of the price tag.

[0111] Embodiment Six

[0112] Figure 8 It is the flowchart of the sixth embodiment of the price tag control method of the present invention. Based on the above embodiment, the step of sending the first check value to the price tag to enable the price tag to compare the first check value with the second check value stored in itself further includes:

[0113] S33. Calculate the cyclic redundancy check value of the network address through the polynomial of the cyclic redundancy check.

[0114] S34. Use the cyclic redundancy check value as the second check value and store it in its own register.

[0115] The beneficial effect of this embodiment is that by calculating the cyclic redundancy check value of the network address through the polynomial of the cyclic redundancy check; using the cyclic redundancy check value as the second check value and storing it in its own register. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the labor and time costs of price tag configuration, improving the maintainability of the price tag, and enhancing the product power of the price tag.

[0116] Embodiment Seven

[0117] Figure 9 It is the flowchart of the seventh embodiment of the price tag control method of the present invention. Based on the above embodiment, the step of sending the first check value to the price tag to enable the price tag to compare the first check value with the second check value stored in itself further includes:

[0118] S35. Retrieve the second check value from the register.

[0119] S36. Determine whether the first check value is consistent with the second check value.

[0120] The beneficial effects of this embodiment are as follows: by retrieving the second check value in the register; determining whether the first check value is the same as the second check value. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the labor and time costs of price tag configuration, improving the maintainability of price tags, and enhancing the product power of price tags.

[0121] Embodiment VIII

[0122] Figure 10 It is a flowchart of the eighth embodiment of the price tag control method of the present invention. Based on the above embodiment, if the first check value is the same as the second check value, then control the price tag to enter the working state; if the first check value is different from the second check value, then control the price tag to enter the sleep state, including:

[0123] S41. If the first check value is the same as the second check value, then control the price tag to restart and enter the network search state after restart.

[0124] S42. If the first check value is different from the second check value, then control the price tag to enter a preset long sleep state.

[0125] The beneficial effects of this embodiment are as follows: by recognizing that if the first check value is the same as the second check value, then control the price tag to restart and enter the network search state after restart; if the first check value is different from the second check value, then control the price tag to enter a preset long sleep state. An efficient and convenient price tag control scheme is realized, enabling the price tag to perform corresponding sleep or network search control according to the scanning operation of external devices, reducing the labor and time costs of price tag configuration, improving the maintainability of price tags, and enhancing the product power of price tags.

[0126] Embodiment IX

[0127] Based on the above embodiment, the present invention also proposes a price tag control device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it realizes the steps of the price tag control method described in any one of the above.

[0128] It should be noted that the above device embodiment and method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are all applicable to the device embodiment correspondingly, and will not be elaborated here.

[0129] Embodiment X

[0130] Based on the above embodiments, the present invention further provides a computer-readable storage medium, on which a price tag control program is stored. When the price tag control program is executed by a processor, the steps of the price tag control method described in any one of the above are implemented.

[0131] It should be noted that the above medium embodiment and the method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be elaborated here.

[0132] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including that element.

[0133] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.

[0134] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention.

[0135] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the purpose and scope protected by the claims of the present invention. These all fall within the protection scope of the present invention.

Claims

1. A price tag control method, characterized in that, the method includes: Scanning the identification code of the price tag and obtaining the network address of the price tag through the identification code; Sending the network address to the server and obtaining a first check value sent by the server, wherein the first check value is calculated from the network address and a preset parameter; Sending the first check value to the price tag so that the price tag compares the first check value with a second check value stored in itself; If the first check value is the same as the second check value, controlling the price tag to enter the working state, and if the first check value is different from the second check value, controlling the price tag to enter the sleep state; The sending the network address to the server and obtaining a first check value sent by the server, wherein the first check value is calculated from the network address and a preset parameter, includes: Presetting a polynomial for cyclic redundancy check; Obtaining a program for cyclic redundancy check through the polynomial for cyclic redundancy check; Substituting the network address into the program for cyclic redundancy check; Calculating a first check value corresponding to the network address through the program for cyclic redundancy check.

2. The price tag control method according to claim 1, characterized in that, the scanning the identification code of the price tag and obtaining the network address of the price tag through the identification code includes: Starting the camera of the mobile device and scanning the two-dimensional code of the price tag through the camera; Analyzing the two-dimensional code to obtain the IP address of the price tag.

3. The price tag control method according to claim 2, characterized in that, the sending the first check value to the price tag so that the price tag compares the first check value with a second check value stored in itself includes: Determining a cyclic redundancy check code corresponding to the network address; Generating a polynomial for cyclic redundancy check through the cyclic redundancy check code.

4. The price tag control method according to claim 3, characterized in that, the sending the first check value to the price tag so that the price tag compares the first check value with a second check value stored in itself further includes: Calculating a cyclic redundancy check value of the network address through the polynomial for cyclic redundancy check; Taking the cyclic redundancy check value as the second check value and storing it in its own register.

5. The price tag control method according to claim 4, characterized in that, the sending the first check value to the price tag so that the price tag compares the first check value with a second check value stored in itself further includes: Retrieving the second check value from the register; Judging whether the first check value is consistent with the second check value.

6. The price tag control method according to claim 5, characterized in that, the if the first check value is the same as the second check value, controlling the price tag to enter the working state, and if the first check value is different from the second check value, controlling the price tag to enter the sleep state includes: If the first check value is the same as the second check value, controlling the price tag to restart and enter the network search state after restart; If the first verification value is different from the second verification value, control the price tag to enter a preset long sleep state.

7. A price tag control device, characterized in that the device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the price tag control method according to any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a price tag control program. When the price tag control program is executed by a processor, it implements the steps of the price tag control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Base station selection method, electronic terminal and computer readable storage medium

    CN113099513A

  • System for electronic shelf label and method of operating system for electronic shelf label

    EP2819072A1