Display control method and apparatus for electronic shelf label, electronic device, and storage medium
By constructing an actual rendering mapping table and adjusting the number of color encoding bits according to the number of colors in the image to be displayed, the problem of large data transmission volume caused by mismatch in the number of colors in electronic price tags is solved, and more efficient display control is achieved.
Patent Information
- Application Number
- PCT/CN2025/100967
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-21
- Filing Date
- 2025-06-13
- Publication Date
- 2025-12-26
AI Technical Summary
In existing electronic price tags, mismatches in the number of colors result in large data transmission volumes, affecting display control efficiency.
Construct an actual rendering mapping table, determine the number of bits for color encoding based on the number of colors in the image to be displayed, reduce the number of bits for color encoding corresponding to color values to reduce the amount of data, and transmit it to electronic price tags for display via network.
It significantly reduces data transmission volume, increases data transmission speed, and improves the efficiency of electronic price tag display and control.
Smart Images

Figure CN2025100967_26122025_PF_FP_ABST
Abstract
Description
Display control methods, devices, electronic equipment, and storage media for electronic price tags
[0001] This application claims priority to Chinese Patent Application No. 202410813467.1, filed with the Chinese Patent Office on June 21, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of Internet of Things (IoT) technology, and for example to a display control method, apparatus, electronic device, and storage medium for electronic price tags. Background Technology
[0003] Electronic shelf labels (ESLs), also known as electronic shelf labels, are electronic display devices with information transmission and reception capabilities. They are primarily used in retail environments such as supermarkets, convenience stores, and pharmacies to display price information. Electronic shelf labels can replace traditional paper price tags. Each ESL is connected to the store's computer database via wired or wireless network, displaying the latest product information or images on its screen. Summary of the Invention
[0004] This application provides a display control method, apparatus, electronic device, and storage medium for electronic shelf labels, to control the efficient display of product information or patterns on the electronic shelf labels.
[0005] This application provides a method for controlling the display of electronic price tags, including:
[0006] Obtain color information of the image to be displayed and inherent attribute information of the target electronic shelf label; wherein, the color information includes at least the number of colors included in the image to be displayed and the color values of different colors, and the inherent attribute information includes at least the number of colors supported by the target electronic shelf label;
[0007] In response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag, an actual rendering mapping table is constructed; wherein, the actual rendering mapping table includes the mapping relationship between different color values and different color codes, and the number of bits of the color code is determined according to the number of colors included in the image to be displayed;
[0008] According to the actual rendering mapping table, the color values of multiple pixels in the image to be displayed are rendered, and the rendered data and the actual rendering mapping table are sent to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data and the actual rendering mapping table.
[0009] This application provides an electronic price tag display control device, including:
[0010] The data acquisition module is configured to acquire color information of the image to be displayed and inherent attribute information of the target electronic shelf label; wherein, the color information includes at least the number of colors included in the image to be displayed and the color values of different colors, and the inherent attribute information includes at least the number of colors supported by the target electronic shelf label;
[0011] The mapping table construction module is configured to construct an actual rendering mapping table in response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag; wherein, the actual rendering mapping table includes the mapping relationship between different color values and different color codes, and the number of bits of the color code is determined according to the number of colors included in the image to be displayed;
[0012] The sending display module is configured to render the color values of multiple pixels in the image to be displayed according to the actual rendering mapping table, and send the rendered data and the actual rendering mapping table to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data and the actual rendering mapping table.
[0013] This application provides an electronic device, the electronic device comprising:
[0014] At least one processor; and
[0015] A memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the electronic price tag display control method described in the embodiments of this application.
[0017] This application provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the electronic price tag display control method described in this application. Attached Figure Description
[0018] Figure 1A is a schematic diagram of an electronic price tag control system according to an embodiment of this application;
[0019] Figure 1B is a flowchart illustrating a display control method for an electronic price tag according to an embodiment of this application;
[0020] Figure 2 is a flowchart illustrating a display control method for an electronic price tag according to an embodiment of this application;
[0021] Figure 3 is a flowchart illustrating the display control method for electronic price tags according to an embodiment of this application;
[0022] Figure 4 is a schematic diagram of the structure of an electronic price tag display control device according to an embodiment of this application;
[0023] Figure 5 is a schematic diagram of the structure of an electronic device that implements the electronic price tag display control method of the present application embodiment. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will now be described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort should fall within the scope of protection of this application.
[0025] To facilitate understanding of this application, the electronic shelf label control system involved in this application will first be described. Referring to Figure 1A, a schematic diagram of an electronic shelf label control system is shown. This control system comprises three parts: a control server, a base station, and electronic shelf labels; the number of base stations and electronic shelf labels can be one or more. The control server and base stations can communicate via a network, and the base stations and electronic shelf labels can communicate via a preset communication protocol. The function of the base station is to distribute data sent by the control server to designated electronic shelf labels, or to report data fed back by the electronic shelf labels to the control server.
[0026] In this embodiment, the display screen in the electronic shelf label is configured to display specified patterns and / or product information. The display screen of the electronic shelf label can be an electronic paper screen. An electronic paper screen is a display screen made using electrophoretic display technology. The driving integrated circuit (IC) applies a driving voltage to multiple pixels through a control circuit on a thin film transistor (TFT) substrate, thereby driving the movement of colored particles in the electronic paper film to achieve the effect of displaying an image. As a reflective display screen, the electronic paper screen can maintain its image for a long time without continuous refreshing after an image update, thus resulting in very low power consumption. Electronic paper screens also support an increasing number of colors, and the control server can be configured to control the electronic shelf label to display more complex patterns or product information. To improve the efficiency of electronic shelf label display control, the display control method of this application is proposed, the process of which is described in the following embodiments.
[0027] Example 1
[0028] Figure 1B is a flowchart of an electronic price tag display control method provided in an embodiment of this application. This embodiment can be applied to scenarios where a server controls the display of patterns or product information on an electronic price tag. The method can be executed by an electronic price tag display control device, which can be implemented in hardware and / or software. The electronic price tag display control device can be configured in an electronic device, such as in a server device.
[0029] As shown in Figure 1B, the display control method for this electronic price tag includes:
[0030] S101. Obtain the color information of the image to be displayed and the inherent attribute information of the target electronic price tag.
[0031] In this embodiment, the image to be displayed is an image generated in advance based on product information, preset patterns, and display format, and needs to be displayed on the electronic price tag. The image to be displayed can be stored in advance in the control server. The color information of the image to be displayed includes at least the number of colors included in the image and the color value of each pixel (which can be represented by RGB values). It is understood that the number of colors in the image to be displayed is determined by the complexity of the image. The richer the colors or the more complex the content of the image, the more colors it includes. The control server can use any image analysis method to determine the color information of the image to be displayed.
[0032] In this embodiment, the inherent attribute information of the electronic shelf label is configured during its production. This inherent attribute information includes at least the number of colors supported by the target electronic shelf label, which is the sum of all colors that the electronic paper screen of the electronic shelf label can display. In addition to the number of colors, the inherent attribute information may also include color values, which can be represented using RGB values, such as pink: (255,0,255), black: (0,0,0), white: (255,255,255), red: (255,0,0), and orange: (255,128,0).
[0033] In this embodiment, the inherent attribute information of the electronic shelf label also includes a default rendering mapping table for the target electronic shelf label; the default rendering mapping table includes the mapping relationship between the color values supported by the target electronic shelf label and the color codes; wherein, the color code is obtained by encoding the color value in a certain way, and the color code can be a binary bit value (that is, a binary bit value). It can be understood that the more colors the electronic shelf label supports, the larger the number of bits in the color code. For example, the electronic shelf label supports 9 colors: black, white, red, orange, yellow, gray, pink, blue, and green; the default rendering mapping table is written during the production of the shelf label, and the default rendering mapping table can be seen in Table 1 for example.
[0034] Table 1
[0035] In this embodiment, after obtaining the number of colors included in the image to be displayed, in response to the fact that the number of colors included in the image to be displayed is not less than the number of colors supported by the target electronic price tag, the color values of multiple pixels in the image to be displayed are rendered according to the default rendering mapping table, that is, the color values of multiple pixels in the image to be displayed are converted into corresponding bit values (i.e., color encoding), and then the rendered data (including the bit stream of bit values corresponding to multiple pixels in the image to be displayed) is sent to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data.
[0036] In this embodiment, in many cases, the number of colors in the image to be displayed is less than the number of colors supported by the electronic price tag. For example, the image to be displayed may only include black, white, and red, while the electronic price tag supports black, white, red, orange, yellow, gray, pink, blue, and green. If the default rendering map is used for rendering, the black, white, and red color values in the image to be displayed will be rendered as four-bit color codes (i.e., 4-bit values). In practice, these three color values can be rendered as two-bit color codes. Compared to four-bit color codes, two-bit color codes significantly reduce the amount of data, meaning the amount of data that needs to be transmitted to the electronic price tag over the network is significantly reduced. Therefore, for cases where the number of colors in the image to be displayed is less than the number of colors supported by the target electronic price tag, the default rendering map is no longer used. Instead, a new actual rendering map is constructed for rendering. The process can be seen in steps S102-S103.
[0037] S102. In response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag, construct an actual rendering mapping table.
[0038] In this embodiment, the actual rendering mapping table includes a mapping relationship between different color values and different color codes, and the number of bits of the color code is determined according to the number of colors included in the image to be displayed.
[0039] In one optional implementation, the number of colors in the image to be displayed is less than the number of colors supported by the target electronic price tag, which serves as a trigger condition for constructing the actual rendering mapping table. Optionally, the determination of whether the trigger condition is met can be made through active judgment, or other data processing methods can be used to satisfy the trigger condition; this is not limited here. In this embodiment, the process of constructing the actual rendering mapping table includes:
[0040] First, based on the number of colors included in the image to be displayed, and combining the conversion relationship between the number of bits in the color code and the number of colors, the number of bits in the color code in the actual rendering mapping table is determined; for example, the conversion relationship can be: m = 2. n Where m represents the number of colors and n represents the number of bits in the color code; thus, the number of colors in the image to be displayed can be directly substituted into the conversion formula, and the calculated n value is the number of bits in the color code. If the calculated n value is not an integer, it is rounded up, that is, the rounded value is used as the number of bits in the color code. For example, if the number of colors in the image to be displayed is 9, then the calculated n is a decimal greater than 3, which is rounded up to 4, that is, the number of bits in the color code is 4. Based on the number of bits in the color code, the color code corresponding to each color value is determined (that is, the binary bit value corresponding to each color value is determined; optionally, a binary bit value of a specified number of bits can be randomly assigned to a color value), and then the actual rendering mapping table is constructed according to the mapping relationship between different color values and different color codes.
[0041] In another alternative implementation, constructing the actual rendering map includes:
[0042] First, determine the color quantity range corresponding to each bit depth of the color code; for example, the color quantity range corresponding to bit depth 2 is [3,4]; the color quantity range corresponding to bit depth 3 is [5,8]. Based on the color quantity range of the colors included in the image to be displayed, determine the bit depth of the color code in the actual rendering map table; based on the bit depth of the color code, determine the color code corresponding to each different color value, and construct the actual rendering map table according to the mapping relationship between different color values and different color codes.
[0043] For example, the image to be displayed only includes three colors: black, white, and red. The number of bits for the determined color code (bit value) is 2. The actual rendering mapping table is shown in Table 2.
[0044] Table 2
[0045] S103. According to the actual rendering mapping table, the color values of multiple pixels in the image to be displayed are rendered, and the rendered data and the actual rendering mapping table are sent to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data and the actual rendering mapping table.
[0046] In this embodiment, the color values of multiple pixels in the image to be displayed can be rendered according to the actual rendering mapping table, that is, the color values of multiple pixels in the image to be displayed are converted into binary color codes (i.e., binary bit values). The rendered data and the actual rendering mapping table are sent to the target electronic shelf label. The target electronic shelf label sends the received data and the actual rendering mapping table to the driver integrated circuit of the electronic paper screen. The driver integrated circuit is responsible for driving the color particles of the electronic paper screen to display the desired color pattern according to the received data and the actual rendering mapping table. It can be understood that the reason for sending the actual rendering mapping table to the electronic shelf label is to allow the electronic shelf label to determine the color corresponding to each rendered data according to the actual rendering mapping table, so as to drive the electronic paper screen to perform the corresponding display.
[0047] In this embodiment, when the number of colors in the image to be displayed is less than the number of colors supported by the target electronic price tag, the number of bits for the color code is determined based on the number of colors in the image to be displayed, rather than based on the number of colors supported by the electronic price tag. This reduces the number of bits for the color code corresponding to the color value. The reduction in the number of bits for the color code can significantly reduce the amount of data. As a result, after rendering the image to be displayed according to the newly created actual rendering mapping table (that is, converting the color values of multiple pixels in the image to be displayed into corresponding color codes), the amount of rendered data is smaller. This reduces the amount of rendered data transmitted to the electronic price tag over the network. The reduction in the amount of transmitted data, without changing the network environment, will inevitably increase the data transmission speed, thereby ensuring the efficiency of the electronic price tag display control.
[0048] Example 2
[0049] Figure 2 is a flowchart of an electronic price tag display control method provided in an embodiment of this application. Referring to Figure 2, the method includes the following steps:
[0050] S201. Obtain the color information of the image to be displayed and the inherent attribute information of the target electronic price tag.
[0051] The color information includes at least the number of colors included in the image to be displayed and the color values of different colors. The inherent attribute information includes at least the number of colors supported by the target electronic shelf label. The inherent attribute information also includes a driver mapping table for the target electronic shelf label. The driver mapping table includes the driver codes (i.e., screen driver bit values) required for the pixels in the display screen of the electronic shelf label to display a specified color. For example, the driver mapping table (the number of bits for the driver values corresponding to these colors may be 4 bits or n bits, where n>=4) is as follows:
[0052] Table 3
[0053] It is understandable that the inherent attributes are configured into the electronic shelf label during its production.
[0054] S202. In response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag, construct an actual rendering mapping table.
[0055] The actual rendering mapping table includes a mapping relationship between different color values and different color codes. The number of bits in the color code is determined based on the number of colors included in the image to be displayed. Optionally, constructing the actual rendering mapping table includes: determining the number of bits in the color code in the actual rendering mapping table based on the number of colors included in the image to be displayed, combined with the conversion relationship between the number of bits in the color code and the number of colors; determining the color code corresponding to each different color value based on the number of bits in the color code; and constructing the actual rendering mapping table according to the mapping relationship between different color values and different color codes.
[0056] In another implementation, constructing the actual rendering mapping table includes: determining the color quantity range corresponding to each bit of different color codes; determining the bit of color codes in the actual rendering mapping table based on the color quantity range of the number of colors included in the image to be displayed; determining the color codes corresponding to different color values based on the bit of the color codes; and constructing the actual rendering mapping table according to the mapping relationship between different color values and different color codes.
[0057] S203. According to the actual rendering mapping table, render the color values of multiple pixels in the image to be displayed, and send the rendered data and the actual rendering mapping table to the target electronic price tag.
[0058] In this embodiment of the application, in addition to sending the rendered data to the target electronic price tag, the actual rendering mapping table is also sent to the target electronic price tag at the same time.
[0059] The process of displaying the target electronic price tag based on the rendered data and the actual rendering mapping table can be found in step S204.
[0060] S204. Based on the driver mapping table and the actual rendering mapping table, the color codes included in the rendered data are converted into corresponding driver codes, so that the target electronic price tag controls the pixels in the display screen to display the corresponding colors according to the converted driver codes.
[0061] In implementation, the target electronic shelf label can determine the color value corresponding to any color code based on the actual rendering mapping table, and then determine the corresponding driver code based on the driver mapping table; subsequently, the color code is converted into the corresponding driver code. In this way, the target electronic shelf label controls multiple pixels on the display screen to display the corresponding color according to the converted driver code.
[0062] In this embodiment, by reducing the amount of data after rendering, the amount of data transmitted by the network layer is reduced. Under the condition that the network environment remains unchanged, the reduction in data volume can improve the efficiency of data transmission, thereby ensuring the efficiency of electronic price tag display control.
[0063] Example 3
[0064] Figure 3 is a flowchart of an electronic price tag display control method provided in an embodiment of this application. Referring to Figure 3, the method includes the following steps:
[0065] S301. In response to the target electronic shelf label accessing the shelf label control system, obtain the type of the target electronic shelf label.
[0066] S302. In response to the fact that the type of the target electronic shelf label is different from the type of other electronic shelf labels in the shelf label control system, an inherent attribute query instruction is sent to the target electronic shelf label.
[0067] In this embodiment of the application, after obtaining the type of the target electronic price tag, it can be determined whether the target electronic price tag belongs to a known price tag type in the price tag control system. If it does not belong, it is determined that the price tag control system lacks the inherent attribute information of this type of electronic price tag, and it is necessary to obtain the inherent attribute information from the target electronic price tag in order to control the display of the target electronic price tag in the future. If it belongs, it is not necessary to obtain the inherent attribute information of the target electronic price tag.
[0068] S303. Receive and record the inherent attribute information fed back by the target electronic price tag in response to the inherent attribute query command.
[0069] In this embodiment of the application, through steps S301-S303, the inherent attributes of the newly connected target electronic shelf label can be recorded in the shelf label control system. Subsequently, the control system can control the electronic shelf label to display a specified color or pattern based on the recorded inherent attributes of the electronic shelf label.
[0070] S304. Obtain the color information of the image to be displayed and the inherent attribute information of the target electronic price tag.
[0071] The color information includes at least the number of colors included in the image to be displayed and the color values of different colors, and the inherent attribute information includes at least the number of colors supported by the target electronic price tag.
[0072] S305. In response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag, construct an actual rendering mapping table.
[0073] The actual rendering mapping table includes the mapping relationship between different color values and different color codes, and the number of bits of the color code is determined according to the number of colors included in the image to be displayed.
[0074] S306. According to the actual rendering mapping table, the color values of multiple pixels in the image to be displayed are rendered, and the rendered data and the actual rendering mapping table are sent to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data and the actual rendering mapping table.
[0075] In this embodiment, when the electronic shelf label is incorporated into the price tag control system, the system acquires its inherent attributes, and subsequently controls the display of the label based on these attributes. This approach facilitates the upgrading and modification of the electronic shelf label control system.
[0076] Example 4
[0077] Figure 4 is a schematic diagram of the structure of an electronic price tag display control device provided in an embodiment of this application. As shown in Figure 4, the device includes:
[0078] The data acquisition module 401 is configured to acquire color information of the image to be displayed and inherent attribute information of the target electronic shelf label; wherein, the color information includes at least the number of colors included in the image to be displayed and the color values of different colors, and the inherent attribute information includes at least the number of colors supported by the target electronic shelf label;
[0079] The mapping table construction module 402 is configured to construct an actual rendering mapping table in response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag; wherein, the actual rendering mapping table includes the mapping relationship between different color values and different color codes, and the number of bits of the color code is determined according to the number of colors included in the image to be displayed;
[0080] The sending display module 403 is configured to render the color values of multiple pixels in the image to be displayed according to the actual rendering mapping table, and send the rendered data and the actual rendering mapping table to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data and the actual rendering mapping table.
[0081] In one alternative implementation, the mapping table construction module 402 is configured as follows:
[0082] Based on the number of colors included in the image to be displayed, and combined with the conversion relationship between the number of bits of color encoding and the number of colors, the number of bits of color encoding in the actual rendering mapping table is determined;
[0083] Based on the number of bits in the color encoding, the color code corresponding to each different color value is determined, and the actual rendering mapping table is constructed according to the mapping relationship between different color values and different color codes.
[0084] In one alternative implementation, the mapping table construction module 402 is configured as follows:
[0085] Determine the range of colors corresponding to different color encoding bit lengths;
[0086] The number of bits for color encoding in the actual rendering map table is determined based on the color range in which the number of colors included in the image to be displayed falls;
[0087] Based on the number of bits in the color code, the color code corresponding to each different color value is determined, and the actual rendering mapping table is constructed according to the mapping relationship between different color values and different color codes.
[0088] In one optional implementation, the inherent attribute information further includes a default rendering mapping table for the target electronic shelf label; the default rendering mapping table includes the mapping relationship between the color values and color codes supported by the target electronic shelf label;
[0089] The device further includes:
[0090] The default rendering module is configured to render the color values of multiple pixels in the image to be displayed according to the default rendering mapping table in response to the number of colors included in the image to be displayed being no less than the number of colors supported by the target electronic price tag, and send the rendered data to the target electronic price tag so that the target electronic price tag is displayed according to the rendered data.
[0091] In one optional implementation, the inherent attribute information further includes a driver mapping table for the target electronic shelf label; the driver mapping table includes the driver codes required for the pixels in the display screen of the electronic shelf label to display a specified color;
[0092] The target electronic shelf label is also set as follows:
[0093] According to the driving mapping table and the actual rendering mapping table, the color codes included in the rendered data are converted into corresponding driving codes, so that the target electronic price tag controls the pixels in the display screen to display the corresponding colors according to the converted driving codes; wherein, the display screen is an electronic paper screen.
[0094] In one alternative implementation, the apparatus further includes:
[0095] The type determination module is configured to obtain the type of the target electronic shelf label in response to the target electronic shelf label accessing the shelf label control system;
[0096] The query module is configured to send an inherent attribute query command to the target electronic shelf label in response to the fact that the type of the target electronic shelf label is different from the type of other electronic shelf labels in the shelf label control system.
[0097] The data receiving and recording module is configured to receive and record the inherent attribute information fed back by the target electronic price tag in response to the inherent attribute query command.
[0098] In one alternative implementation, the image to be displayed is generated in advance based on product information, a preset pattern, and a display format; the color encoding is a binary bit value.
[0099] The electronic price tag display control device provided in this application embodiment can execute the electronic price tag display control method provided in any embodiment of this application, and has the corresponding functional modules for executing the method.
[0100] Example 5
[0101] Figure 5 illustrates a schematic diagram of the structure of an electronic device 10 that can be used to implement embodiments of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the application described and / or claimed herein.
[0102] As shown in Figure 5, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0103] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0104] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs several of the methods and processes described above, such as performing display control methods for electronic price tags.
[0105] In some embodiments, the electronic shelf label display control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the electronic shelf label display control method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the electronic shelf label display control method by any other suitable means (e.g., by means of firmware).
[0106] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard parts (ASSPs), systems-on-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a memory system, at least one input device, and at least one output device, and transmitting data and instructions to the memory system, the at least one input device, and the at least one output device.
[0107] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to the processor of a general-purpose computer, special-purpose computer, or other display control device for programmable electronic shelf labels, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0108] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. Examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fiber, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0109] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0110] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0111] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system. It addresses the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.
[0112] It should be understood that the various processes shown above can be used to rearrange, add, or delete steps. For example, the multiple steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this application can be achieved, and this is not limited herein.
Claims
1. A method for controlling the display of an electronic price tag, comprising: Obtain color information of the image to be displayed and inherent attribute information of the target electronic shelf label; wherein, the color information includes at least the number of colors included in the image to be displayed and the color values of different colors, and the inherent attribute information includes at least the number of colors supported by the target electronic shelf label; In response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag, an actual rendering mapping table is constructed; wherein, the actual rendering mapping table includes the mapping relationship between different color values and different color codes, and the number of bits of the color code is determined according to the number of colors included in the image to be displayed; According to the actual rendering mapping table, the color values of multiple pixels in the image to be displayed are rendered, and the rendered data and the actual rendering mapping table are sent to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data and the actual rendering mapping table.
2. The method according to claim 1, wherein, The construction of the actual rendering mapping table includes: Based on the number of colors included in the image to be displayed, and combined with the conversion relationship between the number of bits of color encoding and the number of colors, the number of bits of color encoding in the actual rendering mapping table is determined; Based on the number of bits in the color code, the color code corresponding to each different color value is determined, and the actual rendering mapping table is constructed according to the mapping relationship between different color values and different color codes.
3. The method according to claim 1, wherein, The construction of the actual rendering mapping table includes: Determine the range of color quantity corresponding to each bit length of different color codes; The number of bits for color encoding in the actual rendering map table is determined based on the color range in which the number of colors included in the image to be displayed falls; Based on the number of bits in the color code, the color code corresponding to each different color value is determined, and the actual rendering mapping table is constructed according to the mapping relationship between different color values and different color codes.
4. The method according to claim 1, wherein, The inherent attribute information also includes the default rendering mapping table of the target electronic price tag; The default rendering mapping table includes the mapping relationship between the color values and color codes supported by the target electronic price tag; The method further includes: In response to the fact that the number of colors included in the image to be displayed is not less than the number of colors supported by the target electronic shelf label, the color values of multiple pixels in the image to be displayed are rendered according to the default rendering mapping table, and the rendered data is sent to the target electronic shelf label so that the target electronic shelf label is displayed according to the rendered data.
5. The method according to claim 1, wherein, The inherent attribute information also includes a driver mapping table for the target electronic shelf label; the driver mapping table includes the driver codes required to drive the pixels in the display screen of the target electronic shelf label to display a specified color; The target electronic price tag is displayed based on the rendered data and the actual rendering mapping table, including: According to the driving mapping table and the actual rendering mapping table, the color codes included in the rendered data are converted into corresponding driving codes, so that the target electronic price tag controls the pixels in the display screen to display the corresponding colors according to the converted driving codes; wherein, the display screen is an electronic paper screen.
6. The method according to claim 1, further comprising: In response to the target electronic shelf label being accessed by the shelf label control system, the type of the target electronic shelf label is obtained; In response to the fact that the type of the target electronic shelf label is different from the type of other electronic shelf labels in the shelf label control system, an inherent attribute query command is sent to the target electronic shelf label; Receive and record the inherent attribute information fed back by the target electronic price tag in response to the inherent attribute query command.
7. The method according to claim 1, wherein, The image to be displayed is generated in advance based on product information, preset patterns, and display format; the color encoding is a binary bit value.
8. A display control device for an electronic price tag, comprising: The data acquisition module is configured to acquire color information of the image to be displayed and inherent attribute information of the target electronic shelf label; wherein, the color information includes at least the number of colors included in the image to be displayed and the color values of different colors, and the inherent attribute information includes at least the number of colors supported by the target electronic shelf label; The mapping table construction module is configured to construct an actual rendering mapping table in response to the fact that the number of colors included in the image to be displayed is less than the number of colors supported by the target electronic price tag; wherein, the actual rendering mapping table includes the mapping relationship between different color values and different color codes, and the number of bits of the color code is determined according to the number of colors included in the image to be displayed; The sending display module is configured to render the color values of multiple pixels in the image to be displayed according to the actual rendering mapping table, and send the rendered data and the actual rendering mapping table to the target electronic price tag, so that the target electronic price tag is displayed according to the rendered data and the actual rendering mapping table.
9. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions, said computer instructions being configured to cause a processor to perform the method of any one of claims 1-7.
Citation Information
Patent Citations
Electronic price tag display method and system, server and storage medium
CN110211484A
Picture compression method and decompression method based on electronic price tag
CN112565772A
Data processing method and system
CN116800973A
Data processing method and system for electronic price tag transmission data
CN118211604A
Display control method and device of electronic price tag, electronic equipment and storage medium
CN118860322A