Design method of segment code screen, control method of segment code screen, device and equipment
By designing a segment code screen, using the encoded data matrix and effective segment code sequence, different patterns can be dynamically displayed, solving the problems of low display efficiency and frequent replacement of existing electronic price tag accessories, and improving the display efficiency and battery life.
Patent Information
- Application Number
- CN202510358257.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-06-27
AI Technical Summary
Passive accessories with existing electronic price tags are inefficient when displaying product information and need to be replaced frequently, resulting in high labor costs.
Design a segment code screen, and design segment code IC and segment code electrodes to dynamically display different patterns by generating an encoded data matrix and determining an effective segment code sequence.
It improves the efficiency of displaying product information, reduces the need for manual replacement of accessories, and extends the battery life of active accessories.
Smart Images

Figure CN120217705A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display control, and particularly to a design method for a segment code screen, a control method for a segment code screen, a device and a device. Background Art
[0002] An electronic paper screen is a display screen made using electrophoretic display technology. By applying a voltage to each driving electrode through a control circuit on a driving substrate, colored electrophoretic particles in an electronic paper film are driven to move to achieve image display. As a reflective display screen, the electronic paper screen can maintain the image for a long time without continuous refreshing after the image is updated, so the power consumption is very low. Due to its many characteristics such as low power consumption, wide viewing angle, high contrast, and eye protection, the electronic paper screen is increasingly widely used in many fields such as electronic price tags, e-books, and billboards.
[0003] In the application of electronic price tags, in order to supplement the display of product information, such as promotion, green product, new product, out of stock, low price, etc., as Figure 1 shown, an additional accessory for supplementary display is usually added to the electronic price tag. In existing products, this accessory is a passive accessory, which is realized by printing or silk-screening images on paper or acrylic plates. At the same time, one type of accessory can only display one type of product information or status. Corresponding to different information or statuses, as Figure 2 shown, different types of accessories need to be replaced, resulting in a wide variety and large quantity of accessories. In addition, when the product information or status changes, manual replacement of the accessory is required in a timely manner, resulting in low display efficiency and high labor costs. Summary of the Invention
[0004] The present invention provides a design method for a segment code screen, a control method for a segment code screen, a device and a device to improve the display efficiency of product information.
[0005] According to one aspect of the present invention, a design method for a segment code screen is provided, including:
[0006] Generating an encoded data matrix according to a pattern matrix of at least two patterns in a pattern area of the segment code screen;
[0007] Determining a valid segment code sequence in the segment code sequence according to the encoded data matrix;
[0008] Determining a design scheme for a segment code IC and segment code electrodes of the segment code screen according to the valid segment code sequence.
[0009] According to another aspect of the present invention, a control method for a segment code screen is provided, including:
[0010] Determining a target segment code sequence matching a target pattern;
[0011] Power the target segment code electrodes of the segment code screen according to the target segment code sequence, so that the target pattern is displayed on the segment code screen;
[0012] Wherein, the segment code screen is designed by the design method of the segment code screen according to any embodiment of the present invention.
[0013] According to another aspect of the present invention, there is provided a design device for a segment code screen, including:
[0014] A generation module for generating a coded data matrix according to a pattern matrix of at least two patterns in the pattern area of the segment code screen;
[0015] A determination module for determining a valid segment code sequence in the segment code sequence according to the coded data matrix;
[0016] A design module for determining a design scheme of the segment code IC and segment code electrodes of the segment code screen according to the valid segment code sequence.
[0017] According to another aspect of the present invention, there is provided a control device for a segment code screen, including:
[0018] A determination module for determining a target segment code sequence matching the target pattern;
[0019] A power supply module for powering the target segment code electrodes of the segment code screen according to the target segment code sequence, so that the target pattern is displayed on the segment code screen;
[0020] Wherein, the segment code screen is designed by the design device of the segment code screen according to any embodiment of the present invention.
[0021] According to another aspect of the present invention, there is provided a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the design method or control method of the segment code screen according to any embodiment of the present invention.
[0022] According to another aspect of the present invention, there is provided an electronic device, the electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the design method or control method of the segment code screen according to any embodiment of the present invention.
[0023] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the design method or control method of the segment code screen according to any embodiment of the present invention when executed.
[0024] In the embodiments of the present invention, the passive accessories of the electronic price tag are upgraded to active accessories, eliminating the need for employees to manually replace the accessories and improving the display efficiency of the information pattern. At the same time, according to the pattern to be displayed, the hardware circuit of the active accessory is specifically simplified to improve the battery life of the active accessory, eliminating the need for frequent battery replacement or charging and further improving the display efficiency of the information pattern.
[0025] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0027] Figure 1 is a schematic diagram of an existing electronic price tag and accessories provided by the present invention;
[0028] Figure 2 is a schematic diagram of patterns displayed by different types of passive accessories provided by the present invention;
[0029] Figure 3A is a flowchart of a design method of a segment code screen according to an embodiment of the present invention;
[0030] Figure 3B is a schematic diagram of an electronic price tag and an active accessory according to an embodiment of the present invention;
[0031] Figure 3C is a schematic diagram of a pattern area shared by different patterns according to an embodiment of the present invention;
[0032] Figure 3D is a schematic diagram of the structure of a segment code screen according to an embodiment of the present invention;
[0033] Figure 3E is a schematic diagram of a specific pattern matrix according to an embodiment of the present invention;
[0034] Figure 3F It is a schematic diagram of a specific pattern matrix provided according to an embodiment of the present invention;
[0035] Figure 3G It is a schematic diagram of a specific pattern matrix provided according to an embodiment of the present invention;
[0036] Figure 3H It is a schematic diagram of a specific pattern matrix provided according to an embodiment of the present invention;
[0037] Figure 3I It is a schematic diagram of a specific pattern matrix provided according to an embodiment of the present invention;
[0038] Figure 3J It is a schematic diagram of a coded data matrix provided according to an embodiment of the present invention;
[0039] Figure 3K It is a schematic diagram of the distribution of lattice points with a coding result of 0 provided according to an embodiment of the present invention;
[0040] Figure 4A It is a flowchart of a design method for a segment code screen provided according to another embodiment of the present invention;
[0041] Figure 4B It is a distribution diagram of the number of lattice points corresponding to a segment code sequence provided according to another embodiment of the present invention;
[0042] Figure 4C It is a schematic diagram of the correspondence rule between a segment code sequence and the output pins of a segment code IC provided according to another embodiment of the present invention;
[0043] Figure 5A It is a flowchart of a control method for a segment code screen provided according to another embodiment of the present invention;
[0044] Figure 5B It is a schematic diagram of the distribution of a pattern matrix provided according to another embodiment of the present invention;
[0045] Figure 5C It is a schematic diagram of the coding rule for different patterns provided according to another embodiment of the present invention;
[0046] Figure 6 It is a schematic structural diagram of a design device for a segment code screen provided according to another embodiment of the present invention;
[0047] Figure 7 It is a schematic structural diagram of a control device for a segment code screen provided according to another embodiment of the present invention;
[0048] Figure 8 It is a schematic structural diagram of an electronic device for implementing the embodiments of the present invention. Detailed implementation manners
[0049] To enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0050] It should be noted that the terms "first", "second", etc. in the present invention are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0051] Figure 3A The flowchart of a design method for a segment code screen provided by an embodiment of the present invention. This embodiment is applicable to the situation where, before using the segment code screen to supplement and display the information pattern of the commodity, the hardware of the segment code screen is specifically designed based on the specific content of the information pattern. This method can be executed by a design device of the segment code screen. The device can be implemented in the form of hardware and / or software, and the device can be configured in an electronic device with corresponding data processing capabilities, such as a design system of the segment code screen. As Figure 3A shown, the method includes:
[0052] S310. Generate a coding data matrix according to the pattern matrix of at least two patterns in the pattern area of the segment code screen.
[0053] S320. Determine the valid segment code sequence in the segment code sequence according to the coding data matrix.
[0054] S330. Determine the design scheme of the segment code IC and the segment code electrodes of the segment code screen according to the valid segment code sequence.
[0055] Among them, the segment code screen is an information supplement screen for the electronic price tag, and the pattern is the information pattern of the commodity corresponding to the electronic price tag, including two forms: text and graphics. Examples of text include "Everyday Low Price", "LowerPrice", "Member Price", "Special", "New"; examples of graphics include a star (general recommendation), two stars (highly recommended), and three stars (strongly recommended). As Figure 3B shown, different from the prior art, in the present invention, the accessory for supplementary display that is matched with the electronic price tag is an active accessory, and the active accessory also includes two parts: a hollowed-out area and a display area. The hollowed-out area is used to match the pattern area of the electronic price tag, and the display area is used to display the information pattern of the commodity corresponding to the electronic price tag that needs to be supplemented and displayed.
[0056] To make the pattern most prominent, the pattern is usually set at the center of the area with the largest display area of the active accessory. As Figure 3C shown, the pattern can be set to be displayed in the middle area on the lower side of the active accessory. According to the pattern areas occupied by the patterns in different images, a minimized common pattern area is determined. This minimized common pattern area is a rectangular area and can exactly cover the pattern data in all images. Therefore, the display area is further divided into two parts: 1. The minimized common pattern area determined in the above manner; 2. Other areas outside the pattern area. Similar to the passive accessory, the background area of the active accessory in the present invention is a solid color or a simple graphic, and the existing conventional segment code electrode design scheme can be adopted. Therefore, in the present invention, the background area is not described in detail, and only the design scheme of the segment code electrode in the pattern area is described. As Figure 3D shown, it shows a schematic structural diagram of the segment code screen used as an active accessory. Here, the electronic paper segment code screen is taken as an example for illustration. From Figure 3D it can be seen that the electronic paper segment code screen mainly includes the following parts:
[0057] 1. Driving substrate: It includes two parts: a substrate and segment code electrodes. Through processes such as coating, exposure, development, and etching, a driving circuit is formed on the substrate, and at the same time, it is used to connect to the external circuit PCB to realize the driving and control of the segment code screen by the external circuit PCB.
[0058] 2. Ag glue dots: They are arranged between the driving substrate and the FPL. At the same time, Ag glue dot electrodes are arranged on the driving substrate at the corresponding positions of the Ag glue dots. The Ag glue dots are used to connect the Ag glue dot electrodes on the driving substrate and the ITO electrodes on the FPL, and the main component is conductive silver glue.
[0059] 3. FPL: Front Plane Laminate, the front plane laminate, which is the electronic paper film used to display the image actually seen by the human eye. The FPL is attached to the driving substrate. An electric field is formed between the driving electrodes on the driving substrate and the ITO electrodes on the FPL to drive the electronic ink in the FPL to display the image.
[0060] 4. PS: Attached to the top of the FPL, with a larger size than the FPL and wrapping the FPL at the edges, used to protect the FPL and isolate moisture.
[0061] 5. Edge sealing glue: Coated on the four peripheral edges of the PS, used to fill the gap between the PS and the driving substrate to further isolate moisture.
[0062] 6. PCB: Printed Circuit Board, the printed circuit board, as an external control circuit, provides power supply, control timing, data signals, etc. for the screen.
[0063] 7. Segment code IC: Receives the control signals and data signals transmitted by the MCU and converts the signals into the voltage and timing for refreshing the driving electronic paper segment code screen.
[0064] 8. MCU: Micro Controller Unit, the microcontroller, the main control unit of the external circuit of the electronic paper segment code screen.
[0065] Specifically, by performing dot matrix processing on the pattern area at a certain resolution, a dot matrix matrix can be obtained. For each pattern to be displayed, specific grid points in the dot matrix matrix are assigned values to obtain the pattern matrix of the pattern in the pattern area, realizing the matrixization and digitization of the pattern image. Taking a dot matrix matrix of 35 columns and 16 rows (i.e., the resolution A*B of the pattern area is 35H*16V, where A corresponds to the number of columns and B corresponds to the number of rows) as an example, the pattern matrices of different patterns are respectively as Figure 3E 、 3F 、3G, 3H, 3I are respectively shown. The grid points corresponding to the pattern are identified by the number 1 and gray filling, and the grid points outside the pattern are identified by the number 0 and white filling.
[0066] After obtaining the pattern matrices of each pattern, based on a specific coding function, the pattern matrices of each pattern are uniformly coded to obtain a coded data matrix. Taking the Figure 3E - 3I shown pattern matrix as an example, the Figure 3JThe encoded data matrix shown. The encoding results of each lattice point in the encoded data matrix represent the segment code sequence corresponding to that lattice point. Lattice points with the same value in the encoded data matrix correspond to the same segment code sequence, and lattice points with different values in the encoded data matrix correspond to different segment code sequences. The lattice points corresponding to the same segment code sequence always maintain the same state, so that subsequently, the state of all lattice points corresponding to a segment code sequence can be changed as a whole by controlling the state of the segment code sequence. As Figure 3K shown, when using the segment code screen subsequently, the state of all lattice points with an encoding result of 0 in the pattern area can be changed by controlling the state of segment code sequence 0, so that they are uniformly displayed or not displayed.
[0067] For N (N is the number of patterns) dot-matrix pattern matrices, each pattern matrix only includes two states: a solid-color pattern and a solid-color background (i.e., pattern lattice points and non-pattern lattice points). Assuming that theoretically M1 segment code sequences are required to encode the pattern matrix, then M1 = 2^N (i.e., M1 is equal to 2 to the power of N). By statistically summarizing the segment code sequences that appear in the encoded data matrix, the invalid segment code sequences and valid segment code sequences in the segment code sequences can be obtained.
[0068] According to the corresponding rules between the encoded data matrix, the valid segment code sequences, and the output pins of the segment code IC, the segmentation and combination of the segment code electrodes on the segment code screen driving substrate are completed, and the segmented and combined segment code electrodes are connected to the corresponding output pins of the segment code IC to complete the design of the driving substrate.
[0069] In the embodiment of the present invention, the passive accessories of the electronic price tag are upgraded to active accessories, eliminating the need for employees to manually replace the accessories, improving the display efficiency of the information pattern; at the same time, according to the pattern to be displayed, the hardware circuit of the active accessory is simplified specifically, improving the battery life of the active accessory and eliminating the need for frequent battery replacement or charging, further improving the display efficiency of the information pattern.
[0070] Figure 4A The flowchart of a design method for a segment code screen provided by another embodiment of the present invention. This embodiment is optimized and improved on the basis of the above embodiment. As Figure 4A shown, the method includes:
[0071] S410. Perform dot-matrix processing on the pattern area of the segment code screen to obtain a dot-matrix matrix; for each pattern, assign values to the lattice points in the dot-matrix matrix according to the display content of the pattern to obtain the pattern matrix of the pattern in the pattern area.
[0072] S420. Generate an encoded data matrix according to a preset encoding function and the pattern matrices of each pattern in the pattern area.
[0073] Specifically, according to the display resolution of the pattern area, the pattern area is discretely divided according to the coordinate system of rows (Row) and columns (Column), forming a matrix structure composed of multiple lattice points. The position of each lattice point is uniquely identified by its coordinates (i, j), where i represents the row number and j represents the column number. For each pattern, according to the display content of the pattern, determine the lattice points that need to be lit and the lattice points that do not need to be lit in the dot matrix when displaying the pattern. Assign the value of 1 to the lattice points that need to be lit and the value of 0 to the lattice points that do not need to be lit, obtaining the pattern matrix of the pattern in the pattern area. Through this assignment method, the pattern matrices of each pattern in the pattern area are obtained respectively. Preset an encoding function, and encode the pattern matrices of each pattern in the pattern area according to this encoding function to obtain an encoded data matrix.
[0074] Based on the above embodiments, optionally, the generating the encoded data matrix according to the preset encoding function and the pattern matrices of each pattern in the pattern area includes:
[0075] For each lattice point, determine the values of the lattice point in different pattern matrices;
[0076] Substitute the values of the lattice point in different pattern matrices into the encoding function to obtain the encoding result of the lattice point;
[0077] Generate an encoded data matrix according to the encoding results of each lattice point.
[0078] Specifically, for each lattice point, according to the multiple pattern matrices generated previously, determine its values in different pattern matrices. For example, in pattern matrix 1, its value is 1; in pattern matrix 2, its value is 0. The independent variable of the encoding function is the values of the lattice point in different pattern matrices, and the dependent variable is the encoding result of the lattice point. Substitute the values of the lattice point in different pattern matrices into the encoding function to obtain the encoding result of the lattice point. Repeat multiple times to obtain the encoding results of each lattice point. Generate an encoded data matrix according to the positions and encoding results of each lattice point.
[0079] Exemplarily, let X1(i, j), X2(i, j), X3(i, j), X4(i, j), X5(i, j) represent the values of the lattice point in the i-th row and j-th column of pattern matrices 1 - 5 respectively (where i and j are positive numbers, and 1 ≤ i ≤ 16, 1 ≤ j ≤ 35). Let Y(i, j) represent the encoding result of the lattice point in the i-th row and j-th column of the encoded data matrix. Set the encoding function as: Y(i, j) = X5(i, j) * 16 + X4(i, j) * 8 + X3(i, j) * 4 + X2(i, j) * 2 + X1(i, j) * 1.
[0080] For the lattice point at the 7th row (i = 7) and the 8th column (j = 8), the values X1(7,8), X2(7,8), X3(7,8), X4(7,8), X5(7,8) in the pattern matrices 1 - 5 are 1, 1, 0, 0, 0 respectively. Then its encoding result is Y(7,8) = 0*16 + 0*8 + 0*4 + 1*2 + 1*1 = 3.
[0081] S430. Determine the number of lattice points corresponding to each segment code sequence according to the encoded data matrix; determine the segment code sequences with non - zero numbers of corresponding lattice points as valid segment code sequences.
[0082] Specifically, there are significant differences in the distributions of different segment code sequences and the corresponding numbers of lattice points. Count the number of lattice points corresponding to each segment code sequence according to the encoded data matrix. Determine the segment code sequences with non - zero numbers of corresponding lattice points as valid segment code sequences in the segment code sequences, and determine the segment code sequences with zero numbers of corresponding lattice points as invalid segment code sequences in the segment code sequences.
[0083] Exemplarily, according to Figure 3J the encoded data matrix shown, the statistical result as shown in Figure 4B can be obtained. The numbers of lattice points corresponding to the segment code sequences 0 - 31 are: 231, 86, 24, 4, 14, 41, 28, 33, 42, 4, 2, 1, 0, 2, 3, 3, 12, 1, 3, 1, 0, 2, 2, 1, 15, 1, 1, 0, 0, 1, 2, 0. From the above data, it can be seen that: 1. The distributions of the numbers of lattice points corresponding to the segment code sequences are very uneven. Approximately one - third of the segment code sequences have more than 10 lattice points, and approximately two - thirds of the segment code sequences have less than 10 lattice points; 2. The numbers of lattice points corresponding to the segment code sequences 12, 20, 27, 28, 31 are 0. Define the segment code sequences with 0 lattice points as invalid segment code series, and define the segment code sequences with non - zero lattice points as valid segment code series. Assume the number of invalid segment code sequences in the segment code sequences is M2, then M2 = 5. Subtract the number of invalid encodings M2 from the number of segment code sequences M1 to obtain the number of valid encoding sequences M, that is, M = M1 - M2. In this example, M = M1 - M2 = 2^5 - 5 = 32 - 5 = 27, that is, the number of valid segment code sequences is 27.
[0084] S440. For each valid segment code sequence, design a corresponding segment code IC output pin for the valid segment code sequence, and divide and combine the electrodes of the lattice points corresponding to the valid segment code sequence into the segment code electrodes of the valid segment code sequence.
[0085] S450. Connect the segment code IC output pins and the segment code electrodes of the valid segment code sequence.
[0086] Specifically, for the invalid segment code electrodes with a corresponding lattice point count of 0, no segment code IC is required for driving. Therefore, only the part of the valid segment code sequence needs to be considered in the correspondence rule between the segment code sequence and the output pins of the segment code IC. For each valid segment code sequence, design the corresponding output pins of the segment code IC, and combine and cut the electrodes of all lattice points corresponding to the valid segment code sequence to make it an integrated entity as the segment code electrode corresponding to the valid segment code sequence. Connect the segment code electrode corresponding to the valid segment code sequence with the output pins of the segment code IC to complete the design of the relevant hardware for the segment code sequence.
[0087] Exemplarily, according to Figure 4B the statistical results shown, Figure 4C the design scheme shown can be obtained. For the invalid segment code sequences 12, 20, 27, 28, 31, since the corresponding lattice point count is 0, no corresponding output pins of the segment code IC are designed for them. The remaining 27 valid segment code sequences respectively correspond to 27 output pins of the segment code IC from S1 to S27.
[0088] In the embodiment of the present invention, by screening the segment code sequences and only designing the corresponding output pins of the segment code IC and segment code electrodes for the valid segment code sequences, the accurate simplification of the hardware circuit of the segment code screen is realized.
[0089] Figure 5A The figure is a flowchart of a control method for a segment code screen provided by an embodiment of the present invention. This embodiment is applicable to the situation of displaying the information pattern of a commodity on a segment code screen that has been designed and manufactured. This method can be executed by the control device of the segment code screen. The device can be implemented in the form of hardware and / or software, and can be configured in an electronic device with corresponding data processing capabilities, such as the main controller of the segment code screen. As Figure 5A shown, the method includes:
[0090] S510. Determine the target segment code sequence that matches the target pattern.
[0091] S520. Supply power to the target segment code electrode of the segment code screen according to the target segment code sequence, so that the segment code screen displays the target pattern.
[0092] Wherein, the segment code screen is designed by the segment code screen design method described in any embodiment of the present invention.
[0093] Specifically, the segment code sequences matched by different patterns are different from each other. The segment code sequences matched by each pattern have been determined during the segment code screen design stage. After the design is completed, the segment code sequences matched by each pattern are recorded. When using the segment code screen, determine the target segment code sequence that matches it and is pre-recorded according to the target pattern to be displayed. Power the target segment code electrodes of the segment code screen according to the target segment code sequence, so that the grid points corresponding to the target segment code electrodes are lit, and the target pattern is displayed on the segment code screen.
[0094] The determination logic of the segment code sequences matched by each pattern is as follows:
[0095] For each pattern, the segment code sequence corresponding to the grid points with a value of 1 in the pattern matrix of the pattern in the coding data matrix is determined as the segment code sequence matched by the pattern.
[0096] Exemplarily, as Figure 5B shown, for Figure 3G Pattern 3 shown, the segment code sequences corresponding to the grid points with a value of 1 in its pattern matrix in the coding data matrix are only 4, 5, 6, 7, 13, 14, 15, 21, 22, 23, 29, 30 (the background color in the figure is marked as gray), then the segment code sequence corresponding to Pattern 3 is 4, 5, 6, 7, 13, 14, 15, 21, 22, 23, 29, 30. As Figure 5C shown in the coding rules of each text (image), 0 means that the segment code sequence does not appear in the coding data matrix for the grid points with a value of 1 in the pattern matrix of the text, and 1 means that the segment code sequence appears in the coding data matrix for the grid points with a value of 1 in the pattern matrix of the text.
[0097] In the embodiment of the present invention, the passive accessories of the electronic price tag are upgraded to active accessories, eliminating the need for employees to manually replace the accessories, improving the display efficiency of information patterns; at the same time, the hardware circuit of the active accessories is specifically simplified, greatly improving the battery life, and eliminating the need for frequent battery replacement or charging, further improving the display efficiency of information patterns.
[0098] Based on the above embodiment, optionally, the powering the target segment code electrodes of the segment code screen according to the target segment code sequence includes:
[0099] Determine the output pin of the target segment code IC connected to the target segment code electrode corresponding to the target segment code sequence;
[0100] Power the target segment code electrode through the output pin of the target segment code IC.
[0101] Specifically, when designing a segment code screen, the segment code electrodes and the output pins of the segment code IC have been connected one by one. When powering the target segment code electrode subsequently, only according to the connection relationship between the output pins of the segment code IC and the segment code electrodes during the design, determine the target segment code IC output pin connected to the target segment code electrode. Then supply power to the target segment code IC output pin, and the grid points corresponding to the target segment code electrode will be lit, and the target pattern will be displayed on the pattern area of the segment code screen.
[0102] Exemplarily, if you want to display the target pattern 3 on the screen, then according to the target segment code sequence 4, 5, 6, 7, 13, 14, 15, 21, 22, 23, 29, 30 matched by the target pattern 3, refer to Figure 4C Determine the target segment code IC output pins S5, S6, S7, S8, S13, S14, S15, S20, S21, S22, S26, S27 connected to the target segment code electrodes corresponding to the target segment code sequence. Supply power to the segment code electrodes corresponding to the target segment code sequence through these output pins, complete the lighting of the corresponding grid points, and the target pattern 3 can be displayed on the segment code screen.
[0103] Figure 6 The following is a schematic structural diagram of a segment code screen design device provided by another embodiment of the present invention. As Figure 6 shown, the device includes:
[0104] A generation module 610, configured to generate a coded data matrix according to a pattern matrix of at least two patterns in the pattern area of the segment code screen;
[0105] A determination module 620, configured to determine a valid segment code sequence in the segment code sequence according to the coded data matrix;
[0106] A design module 630, configured to determine a design scheme of the segment code IC and the segment code electrodes of the segment code screen according to the valid segment code sequence.
[0107] The segment code screen design device provided by the embodiments of the present invention can execute the segment code screen design method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0108] Optionally, the generation module 610 includes:
[0109] A dot matrix processing unit, configured to perform dot matrix processing on the pattern area of the segment code screen to obtain a dot matrix matrix;
[0110] An assignment unit, configured to assign values to the grid points in the dot matrix matrix according to the display content of each pattern, to obtain the pattern matrix of the pattern in the pattern area;
[0111] A generating unit, configured to generate an encoded data matrix according to a preset encoding function and a pattern matrix of each pattern in the pattern area.
[0112] Optionally, the generating unit is specifically configured to, for each grid point, determine the values of the grid point in different pattern matrices; substitute the values of the grid point in different pattern matrices into the encoding function to obtain the encoding result of the grid point; and generate an encoded data matrix according to the encoding results of each grid point.
[0113] Optionally, the determining module 620 is specifically configured to: determine the number of grid points corresponding to each segment code sequence according to the encoded data matrix; and determine the segment code sequences with the number of corresponding grid points not being zero as valid segment code sequences.
[0114] Optionally, the design module 630 includes:
[0115] A planning unit, configured to, for each valid segment code sequence, design a corresponding segment code IC output pin for the valid segment code sequence, and divide and combine the electrodes of the grid points corresponding to the valid segment code sequence into segment code electrodes of the valid segment code sequence;
[0116] A connecting unit, configured to connect the segment code IC output pin and the segment code electrode of the valid segment code sequence.
[0117] Optionally, the segment code screen is an information supplement screen of an electronic price tag, and the pattern is an information pattern of a commodity corresponding to the electronic price tag.
[0118] Furthermore, the design device of the segment code screen described above can also execute the design method of the segment code screen provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0119] Figure 7 The structural schematic diagram of a design device of a segment code screen provided in another embodiment of the present invention. As Figure 7 shown, the device includes:
[0120] A determining module 710, configured to determine a target segment code sequence that matches a target pattern;
[0121] A power supply module 720, configured to supply power to the target segment code electrodes of the segment code screen according to the target segment code sequence, so that the segment code screen displays the target pattern;
[0122] Wherein, the segment code screen is designed by the design device of the segment code screen described in any embodiment of the present invention.
[0123] The design device of the segment code screen provided in the embodiments of the present invention can execute the design method of the segment code screen provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0124] Optionally, the power supply module 720 is specifically configured to: determine the output pin of the target segment code IC connected to the target segment code electrode corresponding to the target segment code sequence; supply power to the target segment code electrode through the output pin of the target segment code IC.
[0125] The design device of the segment code screen described in further detail can also execute the design method of the segment code screen provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0126] Figure 8 FIG. shows a schematic structural diagram of an electronic device 80 that can be used to implement an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0127] As Figure 8 shown, the electronic device 80 includes at least one processor 81, and a memory communicatively connected to the at least one processor 81, such as a read-only memory (ROM) 82, a random access memory (RAM) 83, etc. Among them, the memory stores a computer program executable by the at least one processor, and the processor 81 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 82 or the computer program loaded from the storage unit 88 into the random access memory (RAM) 83. In the RAM 83, various programs and data required for the operation of the electronic device 80 can also be stored. The processor 81, the ROM 82, and the RAM 83 are connected to each other through a bus 84. The input / output (I / O) interface 85 is also connected to the bus 88.
[0128] A plurality of components in the electronic device 80 are connected to the I / O interface 85, including: an input unit 86, such as a keyboard, a mouse, etc.; an output unit 87, such as various types of displays, speakers, etc.; a storage unit 88, such as a magnetic disk, an optical disk, etc.; and a communication unit 89, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 89 allows the electronic device 80 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0129] The processor 81 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 81 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 81 executes the various methods and processes described above, such as the XXX method.
[0130] In some embodiments, the method for designing a segment code screen or the method for controlling a segment code screen can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 88. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 80 via the ROM 82 and / or the communication unit 89. When the computer program is loaded into the RAM 83 and executed by the processor 81, one or more steps of the method for designing a segment code screen or the method for controlling a segment code screen described above can be executed. Alternatively, in other embodiments, the processor 81 can be configured to execute the method for designing a segment code screen or the method for controlling a segment code screen by any other suitable means (e.g., by means of firmware).
[0131] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs, which can be executed and / or interpreted on a programmable system including at least one programmable processor, and the programmable processor can be a special-purpose or general-purpose programmable processor, and can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0132] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, such that when the computer program is executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, executed partially on the machine and partially on a remote machine as an independent software package, or executed entirely on a remote machine or server.
[0133] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0134] To provide for interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide for 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 acoustic, speech, or tactile input).
[0135] The systems and techniques described herein can be implemented in a computing system that includes a back-end component (e.g., as a data server), or a computing system that includes a middleware component (e.g., an application server), or a computing system that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of a communication network include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0136] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The client-server relationship is created by computer programs running on 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 a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0137] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added, or deleted. For example, the steps described in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.
[0138] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for designing a segment code screen, characterized in that: The method comprises: generating a matrix of encoded data according to a pattern matrix of at least two patterns in a pattern area of a segment code screen; Determine a valid segment code sequence in the segment code sequence according to the coding data matrix; The design scheme of the segment code IC and the segment code electrode of the segment code screen is determined according to the effective segment code sequence.
2. The method according to claim 1, characterized in that The generating of the coding data matrix according to the pattern matrix of at least two patterns in the pattern area of the segment code screen comprises: Performing dot matrix processing on the pattern area of the segment code screen to obtain a dot matrix; For each pattern, assigning values to grid points in the dot matrix according to display content of the pattern to obtain a pattern matrix of the pattern in the pattern area; A coding data matrix is generated according to a preset coding function and a pattern matrix of each pattern in the pattern area.
3. The method according to claim 2, characterized in that The generating of the coding data matrix according to the preset coding function and the pattern matrix of each pattern in the pattern area comprises: For each grid point, determining the value of the grid point in different pattern matrices; Substituting the values of the grid points in different pattern matrices into the encoding function to obtain the encoding results of the grid points; Generate a coding data matrix according to the coding results of each grid point.
4. The method according to claim 1, characterized in that: Determining a valid segment code sequence in the segment code sequence according to the coding data matrix comprises: Determine the number of grid points corresponding to each segment code sequence according to the coding data matrix; A segment code sequence whose number of corresponding grid points is not zero is determined as a valid segment code sequence.
5. The method according to claim 2, characterized in that: The design scheme for determining the segment code IC and the segment code electrode of the segment code screen according to the valid segment code sequence includes: For each valid segment code sequence, a corresponding segment code IC output pin is designed for the valid segment code sequence, and electrodes corresponding to the grid points of the valid segment code sequence are divided and combined into segment code electrodes of the valid segment code sequence; The segment code IC output pin of the effective segment code sequence is connected to the segment code electrode.
6. The method according to claim 1, characterized in that The segment code screen is an information supplement screen of the electronic price tag, and the pattern is an information pattern of the electronic price tag corresponding to the commodity.
7. A method for controlling a segment code screen, characterized in that: The method comprises: determining a target segment code sequence matching a target pattern; Supplying power to the target segment code electrodes of the segment code screen according to the target segment code sequence, so that the segment code screen displays the target pattern; Wherein, the segment code screen is designed by the segment code screen design method described in any one of claims 1-6.
8. The method according to claim 7, characterized in that The supplying power to the target segment code electrodes of the segment code screen according to the target segment code sequence comprises: Determine the target segment code IC output pin connected to the target segment code electrode corresponding to the target segment code sequence; The target segment code electrode is powered through the target segment code IC output pin.
9. A device for designing a segment code screen, characterized in that: The device comprises: A generating module, for generating a coding data matrix according to a pattern matrix of at least two patterns in a pattern area of a segment code screen; A determination module, used for determining a valid segment code sequence in the segment code sequence according to the coding data matrix; The design module is used to determine the design scheme of the segment code IC and the segment code electrode of the segment code screen according to the effective segment code sequence.
10. A control device for a segment code screen, characterized in that: The device comprises: A determination module, used for determining a target segment code sequence matching a target pattern; A power supply module, used for supplying power to the target segment code electrodes of the segment code screen according to the target segment code sequence, so that the segment code screen displays the target pattern; Wherein, the segment code screen is designed by the segment code screen design device described in claim 9.
11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the design method of the segment code screen described in any one of claims 1-6 or the control method of the segment code screen described in any one of claims 7-8.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the design method of a segment code screen according to any one of claims 1 to 6 or the control method of a segment code screen according to any one of claims 7 to 8 when executed.