CN112468491B - Electronic price tag data transmission method, equipment and computer readable storage medium - Google Patents

Electronic price tag data transmission method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112468491B
CN112468491B CN202011339769.8A CN202011339769A CN112468491B CN 112468491 B CN112468491 B CN 112468491B CN 202011339769 A CN202011339769 A CN 202011339769A CN 112468491 B CN112468491 B CN 112468491B
Authority
CN
China
Prior art keywords
data
price tag
electronic price
combination
compression algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011339769.8A
Other languages
Chinese (zh)
Other versions
CN112468491A (en
Inventor
张亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Triton Network Technology Co ltd
Original Assignee
Shanghai Triton Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Triton Network Technology Co ltd filed Critical Shanghai Triton Network Technology Co ltd
Priority to CN202011339769.8A priority Critical patent/CN112468491B/en
Publication of CN112468491A publication Critical patent/CN112468491A/en
Application granted granted Critical
Publication of CN112468491B publication Critical patent/CN112468491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses an electronic price tag data transmission method, electronic price tag data transmission equipment and a computer readable storage medium, wherein the method comprises the following steps: controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, wherein the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is the compression algorithm adopted by the minimum compressed data; and then, controlling at least one electronic price tag to analyze the price tag data according to the data identification to obtain decompressed image pushing data. The humanized electronic price tag data transmission scheme is realized, the data transmission is reduced, the transmission speed is increased, meanwhile, the refreshing time consumed in the electronic price tag data transmission process is shortened, and the production efficiency is improved.

Description

Electronic price tag data transmission method, device and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and device for transmitting electronic price tag data and a computer-readable storage medium.
Background
In the prior art, with the continuous development of intelligent terminal devices, electronic Shelf Label (ESL) used for replacing the traditional paper price Label has become a trend. The price tag has become a standard in new retail industry, and is used by large-scale merchants such as Mashengxian, yonghui supermarket, easy purchase of Sunning and the like.
The electronic price tags are more in number, the refreshing efficiency of commodity information is strongly related to the size of the transmitted data volume, the data volume is large, the external interference is more easily caused, and the data transmission efficiency is further reduced. The number of effective bytes in the transmission process needs to be reduced, and no compression processing algorithm can ensure that each picture has the highest compression rate at present. In view of the above, there is a need in the art for an electronic price tag data transmission scheme that reduces transmission data, increases transmission speed, and increases refresh time.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides an electronic price tag data transmission method, which comprises the following steps:
controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, wherein the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is the compression algorithm adopted by the minimum compressed data;
and controlling at least one electronic price tag to analyze the price tag data according to the data identification to obtain decompressed image pushing data.
Optionally, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is before the compression algorithm adopted by the minimum compressed data, includes:
acquiring the image pushing data through the server;
determining one or more data types of the mapping data.
Optionally, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is before the compression algorithm adopted by the minimum compressed data, further includes:
determining one or more preset compression algorithms corresponding to the one or more data types;
determining a compression combination of the data type and the preset compression algorithm.
Optionally, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is before the compression algorithm adopted by the minimum compressed data, further includes:
pre-compressing each of the compressed combinations;
and determining the data packet capacity corresponding to each combination obtained by pre-compression.
Optionally, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is before the compression algorithm adopted by the minimum compressed data, further includes:
the combination with the minimum data packet capacity in the data packet capacity corresponding to each combination is taken as a target compression combination;
and extracting the data packet in the target compression combination and the compression algorithm corresponding to the data packet.
Optionally, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is the compression algorithm adopted by the minimum compressed data, includes:
taking one or more data packets as the price tag data, and meanwhile, determining a compression algorithm corresponding to one or more data packets;
and extracting a data identifier corresponding to the compression algorithm.
Optionally, the controlling at least one electronic price tag to analyze the price tag data according to the data identifier to obtain decompressed mapping data includes:
extracting a compression algorithm corresponding to the data identification;
and decompressing the price tag data according to the compression algorithm to obtain the map pushing data.
Optionally, the controlling at least one electronic price tag to analyze the price tag data according to the data identifier to obtain decompressed mapping data further includes:
determining whether the electronic price tag receives the image pushing data for the first time, or determining whether the electronic price tag re-binds the commodity or receives the image pushing data for the first time after commodity information is updated;
and if the electronic price tag is determined to receive the image pushing data for the first time, or the electronic price tag is determined to bind the commodity again, or the image pushing data is received for the first time after the commodity information is updated, storing the image pushing data into a flash memory of the electronic price tag.
The invention also proposes an electronic price tag data transmission device comprising a memory, a processor and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the electronic price tag data transmission method as defined in any one of the above.
The invention also proposes a computer-readable storage medium having stored thereon an electronic price tag data transmission program which, when executed by a processor, implements the steps of the electronic price tag data transmission method as defined in any one of the preceding claims.
By implementing the electronic price tag data transmission method, the electronic price tag data transmission device and the computer readable storage medium, price tag data and data identification sent by a server side are received by controlling at least one electronic price tag, wherein the price tag data is minimum compressed data obtained by the server side through compression according to a preset compression algorithm, and the data identification is the compression algorithm adopted by the minimum compressed data; and then, controlling at least one electronic price tag to analyze the price tag data according to the data identification to obtain decompressed image pushing data. The humanized electronic price tag data transmission scheme is realized, the transmission data is reduced, the transmission speed is improved, meanwhile, the refreshing time consumed in the electronic price tag data transmission process is shortened, and the production efficiency is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
fig. 2 is a communication network system architecture diagram provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a first embodiment of an electronic price tag data transmission method of the present invention;
FIG. 4 is a flow chart of a second embodiment of an electronic price tag data transmission method of the present invention;
FIG. 5 is a flow chart of a third embodiment of an electronic price tag data transmission method of the present invention;
FIG. 6 is a flow chart of a fourth embodiment of an electronic price tag data transmission method of the present invention;
FIG. 7 is a flow chart of a fifth embodiment of the electronic price tag data transmission method of the present invention;
figure 8 is a flow chart of a sixth embodiment of an electronic price tag data transmission method of the present invention;
FIG. 9 is a flow chart of a seventh embodiment of an electronic price tag data transmission method of the present invention;
fig. 10 is a flowchart of an electronic price tag data transmission method according to an eighth embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division multiplexing-Long Term Evolution), and TDD-LTE (Time Division multiplexing-Long Term Evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert 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 as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also 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 that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a 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), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control 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 referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement 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 implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is 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 having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby integrally monitoring the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and 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, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. The eNodeB2021 may be connected with other eNodeB2022 via backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an hss (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a pgw (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
Fig. 3 is a flowchart of a first embodiment of an electronic price tag data transmission method of the present invention. An electronic price tag data transmission method, the method comprising:
s1, controlling at least one electronic price tag to receive price tag data and data identification sent by a server, wherein the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identification is the compression algorithm adopted by the minimum compressed data;
and S2, controlling at least one electronic price tag to analyze the price tag data according to the data identification to obtain decompressed image pushing data.
In this embodiment, first, at least one electronic price tag is controlled to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is the compression algorithm adopted by the minimum compressed data; and then, controlling at least one electronic price tag to analyze the price tag data according to the data identification to obtain decompressed image pushing data.
Optionally, in this embodiment, considering that the content of each update of the electronic price tag is relatively small, only part of the information is updated after the first image deduction, and since the storage and processing capabilities of the electronic price tag are limited, no compression algorithm can ensure the maximum compression rate. Therefore, in this embodiment, a plurality of compression or processing algorithms are adopted, the changed and different parts are analyzed before being sent to the base station, the data are transmitted in a mode of the least data amount, and the price tag end performs corresponding recovery on the data according to the convention, so that the analysis is effective. In this embodiment, the number of effective bytes to be transmitted is small, which is more favorable for reducing interference, thereby further improving the transmission speed.
Optionally, in this embodiment, the present invention is applied to a conventional electronic price tag system, which includes: server, gateway (master + broadcast and data gateway) and electronic price tag. The server is connected with the gateway through a wired Ethernet, and the gateway is communicated with the electronic price tag through a 2.4G private protocol or other protocols, wherein the electronic price tag comprises an independent processor, a storage medium (used for storing original commodity information) and a display screen;
optionally, in this embodiment, the data of the first pushed picture (for example, in format such as bmp) needs to be stored in the server, in order to be operated and used with the data transmitted next time;
optionally, in this embodiment, for the storage of the commodity data at the electronic price tag end, specifically, after the price tag end receives the picture pushed for the first time, the relevant data is stored in the price tag flash for receiving the restoration recovery of the next pushed data.
Optionally, in this embodiment, the commodity information is updated by the server, specifically, according to the updated picture or data information, first, a plurality of algorithm operations (for example, data processing algorithms Xdelta3, bsdiff, courgette, XOR, and the like) are performed at the server end to obtain difference information, the compressed data amount is compared, and the minimum number of bytes is packed together with the identifier of the corresponding algorithm.
Optionally, in this embodiment, the minimum data is transmitted to the electronic price tag, specifically, the data packed by the data is transmitted to the electronic price tag end through the gateway by using a private 2.4G or other communication protocol;
optionally, in this embodiment, the electronic price tag parses the restored data, specifically, the electronic price tag end receives the differential data, and further restores the data according to the compression type identifier;
optionally, in this embodiment, for the electronic price tag update information, specifically, the price tag update information is displayed on the electronic screen according to the recovered data;
optionally, in this embodiment, the picture data in the bmp format or the png format may be used, or other format data information may also be used;
optionally, in this embodiment, pushing the commodity information for the first time refers to pushing after binding, and also refers to unbinding to rebind other commodities or needing to update the display style of the commodity information, and all of the information may be transmitted to the price tag end through the server parameter for resetting the commodity.
The method has the advantages that price tag data and data identification sent by a server are received by controlling at least one electronic price tag, wherein the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identification is the compression algorithm adopted by the minimum compressed data; and then, controlling at least one electronic price tag to analyze the price tag data according to the data identification to obtain decompressed image pushing data. The humanized electronic price tag data transmission scheme is realized, the data transmission is reduced, the transmission speed is increased, meanwhile, the refreshing time consumed in the electronic price tag data transmission process is shortened, and the production efficiency is improved.
Example two
Fig. 4 is a flowchart of a second embodiment of the electronic price tag data transmission method according to the present invention, and based on the above embodiments, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is before the compression algorithm adopted by the minimum compressed data, and includes:
s01, obtaining the image pushing data through the server;
and S02, determining one or more data types of the mapping data.
In this embodiment, first, the server side obtains the mapping data; one or more data types of the mapping data are then determined.
Optionally, in this embodiment, the graph push data is obtained through the server, where the graph push data may be data of one graph brushing operation, or multiple independent data of multiple graph brushing operations, or differential data of one or multiple graph brushing operations;
optionally, in this embodiment, one or more data types of the pushed image data are determined according to a picture format of the pushed image, or one or more data types of the pushed image data are determined according to a data packet of the pushed image data.
The method has the advantages that the server side obtains the image pushing data; one or more data types of the pushmap data are then determined. The method provides a data type determination scheme for realizing a humanized electronic price tag data transmission scheme, reduces the transmission data, improves the transmission speed, shortens the refreshing time consumed in the electronic price tag data transmission process, and improves the production efficiency.
EXAMPLE III
Fig. 5 is a flowchart of a third embodiment of the electronic price tag data transmission method according to the present invention, and based on the above embodiments, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is before the compression algorithm adopted by the minimum compressed data, further includes:
s03, determining one or more preset compression algorithms corresponding to the one or more data types;
and S04, determining a compression combination of the data type and the preset compression algorithm.
In this embodiment, first, one or more preset compression algorithms corresponding to the one or more data types are determined; then, a compression combination of the data type and the preset compression algorithm is determined.
Optionally, in this embodiment, a preset compression algorithm corresponding to the one data type is determined;
optionally, in this embodiment, multiple preset compression algorithms corresponding to the one data type are determined;
optionally, in this embodiment, after determining multiple preset compression algorithms corresponding to the one data type, comparing the multiple preset compression algorithms of the data type to obtain an optimal compression algorithm with a minimum data tolerance;
alternatively, in the present embodiment, when multiple data types exist simultaneously, a preset compression algorithm is selected in balance, so that the amount of data containers obtained is minimized.
The method has the advantages that one or more preset compression algorithms corresponding to one or more data types are determined; then, a compression combination of the data type and the preset compression algorithm is determined. The method provides a determination scheme of a compression algorithm for realizing a humanized electronic price tag data transmission scheme, reduces transmission data, improves transmission speed, shortens refreshing time consumed in the electronic price tag data transmission process, and improves production efficiency.
Example four
Fig. 6 is a flowchart of a fourth embodiment of the electronic price tag data transmission method according to the present invention, where based on the above embodiments, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data compressed by the server according to a preset compression algorithm, and the data identifier is before the compression algorithm used by the minimum compressed data, and the method further includes:
s05, pre-compressing each combination in the compression combinations;
and S06, determining the data packet capacity corresponding to each combination obtained by pre-compression.
In the present embodiment, first, each of the compression combinations is pre-compressed; then, the packet capacity corresponding to each combination obtained by the pre-compression is determined.
Optionally, in this embodiment, after determining the compression combination of the data type and the preset compression algorithm, pre-compressing each combination in the compression combination, for example, one data type is combined corresponding to each preset compression algorithm, or each two data types are combined corresponding to each preset compression algorithm, and the like;
optionally, in this embodiment, for the precompression of the above-mentioned all combinations, determining the packet capacity corresponding to each combination obtained by the precompression;
optionally, in this embodiment, the packet capacities corresponding to the combinations are compared.
The embodiment has the advantages that each combination in the compression combinations is pre-compressed; then, the packet capacity corresponding to each combination obtained by the pre-compression is determined. The method provides a further compression algorithm determination scheme for realizing a humanized electronic price tag data transmission scheme, reduces the transmission data, improves the transmission speed, shortens the refreshing time required to be consumed in the electronic price tag data transmission process, and improves the production efficiency.
EXAMPLE five
Fig. 7 is a flowchart of a fifth embodiment of the electronic price tag data transmission method according to the present invention, and based on the above embodiments, the method for controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is before the compression algorithm used by the minimum compressed data, further includes:
s07, taking the combination with the minimum data packet capacity in the data container capacity corresponding to each combination as a target compression combination;
and S08, extracting the data packet in the target compression combination and the compression algorithm corresponding to the data packet.
In this embodiment, first, the combination with the smallest data packet capacity in the data packet capacities corresponding to the combinations is used as the target compression combination; and extracting the data packet in the target compression combination and the compression algorithm corresponding to the data packet.
Optionally, in this embodiment, a combination with the smallest data packet capacity in the data packet volumes corresponding to the combinations is used as the target compression combination;
optionally, in this embodiment, a combination that has the smallest data packet capacity and the smallest adopted compression algorithm type in the data packet volumes corresponding to the combinations is used as the target compression combination;
optionally, in this embodiment, the combination with the smallest packet capacity or the smallest type of compression algorithm used in the data packet capacity corresponding to each combination is used as the target compression combination.
The embodiment has the advantages that the combination with the minimum data packet capacity in the data packet capacity corresponding to each combination is taken as the target compression combination; and extracting the data packet in the target compression combination and the compression algorithm corresponding to the data packet. The method provides a further determination scheme of a compression algorithm for realizing a humanized electronic price tag data transmission scheme, reduces transmission data, improves transmission speed, shortens refreshing time consumed in the electronic price tag data transmission process, and improves production efficiency.
Example six
Fig. 8 is a flowchart of a sixth embodiment of the electronic price tag data transmission method according to the present invention, and based on the above embodiments, the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, where the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is the compression algorithm used by the minimum compressed data, and includes:
s11, taking one or more data packets as the price tag data, and meanwhile, determining a compression algorithm corresponding to one or more data packets;
and S12, extracting a data identifier corresponding to the compression algorithm.
In this embodiment, first, one or more data packets are used as the price tag data, and meanwhile, a compression algorithm corresponding to the one or more data packets is determined; then, a data identification corresponding to the compression algorithm is extracted.
Optionally, in this embodiment, data identifiers corresponding to the compression algorithms are extracted, where one compression algorithm includes one data identifier, or one or more compression algorithms are marked by one data identifier.
The embodiment has the advantages that one or more data packets are used as the price tag data, and meanwhile, compression algorithms corresponding to one or more data packets are determined; then, a data identification corresponding to the compression algorithm is extracted. The method provides a determination scheme of the data identification for realizing a humanized electronic price tag data transmission scheme, reduces the transmission data, improves the transmission speed, shortens the refreshing time consumed in the electronic price tag data transmission process, and improves the production efficiency.
EXAMPLE seven
Fig. 9 is a flowchart of a seventh embodiment of the electronic price tag data transmission method according to the present invention, where based on the foregoing embodiment, the step of controlling at least one electronic price tag to analyze the price tag data according to the data identifier to obtain decompressed mapping data includes:
s21, extracting a compression algorithm corresponding to the data identifier;
and S22, decompressing the price tag data according to the compression algorithm to obtain the mapping data.
In this embodiment, first, a compression algorithm corresponding to the data identifier is extracted; and then decompressing the price tag data according to the compression algorithm to obtain the mapping data.
Optionally, in this embodiment, a compression algorithm and/or a corresponding decompression algorithm corresponding to the data identifier are preset in the electronic price tag.
The embodiment has the advantages that the compression algorithm corresponding to the data identification is extracted; and then decompressing the price tag data according to the compression algorithm to obtain the mapping data. The reading scheme of the data identification is provided for realizing a humanized electronic price tag data transmission scheme, the transmission data is reduced, the transmission speed is improved, meanwhile, the refreshing time consumed in the electronic price tag data transmission process is shortened, and the production efficiency is improved.
Example eight
Fig. 10 is a flowchart of an eighth embodiment of the electronic price tag data transmission method according to the present invention, where based on the above embodiments, the controlling at least one electronic price tag analyzes the price tag data according to the data identifier to obtain decompressed mapping data, and the method further includes:
s23, determining whether the electronic price tag receives the image pushing data for the first time, or determining whether the electronic price tag receives the image pushing data for the first time after the electronic price tag binds the commodity again or the commodity information is updated;
and S24, if the electronic price tag is determined to receive the image pushing data for the first time, or the electronic price tag is determined to bind the commodity again, or the image pushing data is received for the first time after the commodity information is updated, storing the image pushing data into a flash memory of the electronic price tag.
In this embodiment, first, it is determined whether the electronic price tag receives the mapping data for the first time, or whether the electronic price tag receives the mapping data for the first time after the product is bound again or the product information is updated; and if the electronic price tag is determined to receive the image pushing data for the first time, or the electronic price tag is determined to bind the commodity again, or the image pushing data is received for the first time after the commodity information is updated, storing the image pushing data into a flash memory of the electronic price tag.
Optionally, in this embodiment, the decompression algorithm within the electronic price tag is updated separately by receiving the data identification sent by the server.
The method has the advantages that whether the electronic price tag receives the image pushing data for the first time or not is determined, or whether the electronic price tag binds the commodity again or whether the image pushing data is received for the first time or not is determined after the commodity information is updated; and if the electronic price tag is determined to receive the image pushing data for the first time, or the electronic price tag is determined to bind the commodity again, or the image pushing data is received for the first time after the commodity information is updated, storing the image pushing data into a flash memory of the electronic price tag. A further data identification updating scheme is provided for realizing a humanized electronic price tag data transmission scheme, transmission data are reduced, the transmission speed is improved, meanwhile, the refreshing time consumed in the electronic price tag data transmission process is shortened, and the production efficiency is improved.
Example nine
Based on the above embodiments, the present invention further provides an electronic price tag data transmission device, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the computer program, when executed by the processor, implements the steps of the electronic price tag data transmission method according to any one of the above.
It should be noted that the device embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the device embodiment, which is not described herein again.
Example ten
Based on the above embodiment, the present invention also provides a computer-readable storage medium, having an electronic price tag data transmission program stored thereon, where the electronic price tag data transmission program, when executed by a processor, implements the steps of the electronic price tag data transmission method as described in any one of the above.
It should be noted that the media embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are applicable to the media embodiment, which is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. An electronic price tag data transmission method, characterized in that the method comprises:
controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, wherein the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is the compression algorithm adopted by the minimum compressed data;
controlling at least one electronic price tag to analyze the price tag data according to the data identification to obtain decompressed image pushing data;
the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, wherein the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is before the compression algorithm adopted by the minimum compressed data, and the method comprises the following steps:
acquiring the image pushing data through the server; determining one or more data types of the mapping data;
determining one or more preset compression algorithms corresponding to one or more data types; determining a compression combination of the data type and the preset compression algorithm;
determining a preset compression algorithm corresponding to one data type, or determining multiple preset compression algorithms corresponding to one data type, or after determining multiple preset compression algorithms corresponding to one data type, comparing the multiple preset compression algorithms of one data type to obtain an optimal compression algorithm with the minimum data capacity, wherein the optimal compression algorithm is used as the preset compression algorithm corresponding to one data type, or when multiple data types exist at the same time, one preset compression algorithm is selected in a balanced manner to enable the data capacity corresponding to the multiple data types to be minimum;
pre-compressing each of the compressed combinations; determining the capacity of the data packet corresponding to each combination obtained by pre-compression;
after determining the compression combination of the data type and the preset compression algorithm, pre-compressing each combination in the compression combination, including: one data type corresponds to each preset compression algorithm respectively for combination, or each two data types correspond to each preset compression algorithm for combination; when the combination is carried out, the precompression of various combinations is exhausted, and the data packet capacity corresponding to each combination obtained by the precompression is determined; comparing the data packet capacities corresponding to the combinations;
the combination with the minimum data packet capacity in the data packet capacity corresponding to each combination is taken as a target compression combination; extracting a data packet in the target compression combination and a compression algorithm corresponding to the data packet;
the combination with the minimum data packet capacity in the data packet capacity corresponding to each combination is used as a target compression combination, or the combination with the minimum data packet capacity and the minimum adopted compression algorithm type in the data packet capacity corresponding to each combination is used as a target compression combination, or the combination with the minimum adopted compression algorithm type in the data packet capacity corresponding to each combination is used as a target compression combination.
2. The method according to claim 1, wherein the controlling at least one electronic price tag to receive price tag data and a data identifier sent by a server, wherein the price tag data is minimum compressed data obtained by the server through compression according to a preset compression algorithm, and the data identifier is the compression algorithm adopted by the minimum compressed data, and includes:
one or more data packets are used as the price tag data, and meanwhile, compression algorithms corresponding to the one or more data packets are determined;
and extracting a data identifier corresponding to the compression algorithm.
3. The method according to claim 2, wherein the controlling at least one of the electronic price tags to parse the price tag data according to the data identifier to obtain decompressed mapping data comprises:
extracting a compression algorithm corresponding to the data identification;
and decompressing the price tag data according to the compression algorithm to obtain the map pushing data.
4. The method of claim 3, wherein the controlling at least one of the electronic price tags parses the price tag data according to the data identifier to obtain decompressed mapping data, further comprising:
determining whether the electronic price tag receives the image pushing data for the first time, or determining whether the electronic price tag re-binds the commodity or receives the image pushing data for the first time after commodity information is updated;
and if the electronic price tag is determined to receive the image pushing data for the first time, or the electronic price tag is determined to bind the commodity again, or the image pushing data is received for the first time after the commodity information is updated, storing the image pushing data into a flash memory of the electronic price tag.
5. An electronic price tag data transmission device, characterized in that the device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the electronic price tag data transmission method according to any of claims 1 to 4.
6. A computer-readable storage medium, characterized in that an electronic price tag data transmission program is stored thereon, which when executed by a processor implements the steps of the electronic price tag data transmission method according to any one of claims 1 to 4.
CN202011339769.8A 2020-11-25 2020-11-25 Electronic price tag data transmission method, equipment and computer readable storage medium Active CN112468491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011339769.8A CN112468491B (en) 2020-11-25 2020-11-25 Electronic price tag data transmission method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011339769.8A CN112468491B (en) 2020-11-25 2020-11-25 Electronic price tag data transmission method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112468491A CN112468491A (en) 2021-03-09
CN112468491B true CN112468491B (en) 2022-12-09

Family

ID=74808268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011339769.8A Active CN112468491B (en) 2020-11-25 2020-11-25 Electronic price tag data transmission method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112468491B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296353A (en) * 2016-08-05 2017-01-04 佛山市明扬软件科技有限公司 A kind of based on the commodity exchange management method with pricing information comparison in kind
CN109660857A (en) * 2019-01-15 2019-04-19 青岛海信电器股份有限公司 A kind of the label display methods and smart television of smart television

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011035800A (en) * 2009-08-05 2011-02-17 National Institute Of Information & Communication Technology Electronic price-proposing system, electronic price-proposing device, and electronic price-proposing method
CN102638579B (en) * 2012-03-29 2016-05-04 深圳市高正软件有限公司 A kind of data processing method and system based on mobile device data transmission
CN109788510A (en) * 2019-01-25 2019-05-21 雅量商业智能技术(广州)有限公司 A kind of method for realizing low power consumption of electronics price tag system
CN111507433A (en) * 2019-01-30 2020-08-07 北京沃东天骏信息技术有限公司 Electronic price tag control method and system
CN110012077A (en) * 2019-03-18 2019-07-12 深圳市迈圈信息技术有限公司 A kind of sign data update method, label and equipment based on Internet of Things

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296353A (en) * 2016-08-05 2017-01-04 佛山市明扬软件科技有限公司 A kind of based on the commodity exchange management method with pricing information comparison in kind
CN109660857A (en) * 2019-01-15 2019-04-19 青岛海信电器股份有限公司 A kind of the label display methods and smart television of smart television

Also Published As

Publication number Publication date
CN112468491A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN107967322B (en) File classification display method, mobile terminal and computer readable storage medium
CN108572764B (en) Character input control method and device and computer readable storage medium
CN108449513B (en) Interactive regulation and control method, equipment and computer readable storage medium
CN107480054B (en) Call chain data processing method and device and computer readable storage medium
CN112597115A (en) Container mirror image compression method and device, terminal equipment and medium
CN112492674A (en) Sleep cycle configuration method and device and computer readable storage medium
CN112105057B (en) Method and equipment for locally brushing electronic price tag and computer readable storage medium
CN111381762A (en) Double-screen switching method and device and computer readable storage medium
CN112423211A (en) Multi-audio transmission control method, equipment and computer readable storage medium
CN111931155A (en) Verification code input method, verification code input equipment and storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN112468491B (en) Electronic price tag data transmission method, equipment and computer readable storage medium
CN113487585A (en) Electronic price tag compatible image pushing method, equipment and computer readable storage medium
CN112860206A (en) Method, terminal and storage medium for pushing electronic price tags
CN113490159A (en) Electronic price tag relay transmission method, equipment and computer readable storage medium
CN109710149B (en) Interactive display method, equipment and computer readable storage medium
CN112423251B (en) Electronic price tag differential mapping method, equipment and computer-readable storage medium
CN108304268B (en) Memory optimization method, mobile terminal and computer readable storage medium
CN113419698A (en) Method and device for setting screen projection display parameters and computer-readable storage medium
CN112929334B (en) Data transmission method, terminal and storage medium
CN111476231A (en) Image area identification method and device and computer readable storage medium
CN109474901B (en) Information marking method, equipment and computer readable storage medium
CN108829748B (en) Label setting method and device and computer readable storage medium
CN109782947B (en) Flexible screen display control method and device and computer readable storage medium
CN107864276B (en) Method and device for reading interface return value and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221122

Address after: 201100 Room 127, 13/F, Building 2, No. 588, Zixing Road, Minhang District, Shanghai

Applicant after: Shanghai Triton Network Technology Co.,Ltd.

Address before: 1801, building 2, Chongwen Park, Nanshan Zhiyuan, No. 3370, Liuxian Avenue, Fuguang community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong 518000

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant