Intelligent display terminal control system for supermarket shelf
By constructing a terminal number index linked list, direct content writing, and path binding, the problems of chaotic numbering and unclear paths in the intelligent display terminal control system for supermarket shelves were solved, realizing fast and accurate content writing and structural uniformity of paths, thus improving the system's response speed and accuracy.
Patent Information
- Application Number
- CN202511637720.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-10
- Publication Date
- 2026-02-10
AI Technical Summary
Existing smart display terminal control systems for supermarket shelves suffer from problems such as chaotic numbering and allocation, misaligned content delivery, and lack of logical partitioning judgment mechanism in path selection when facing multiple terminals and complex deployment scenarios. This leads to unclear content writing, delays, or offsets, affecting response speed and accuracy, and lacks a closed-loop feedback mechanism.
The terminal number index linked list is constructed by the numbering allocation module, the content delivery module realizes direct content writing, the path binding module ensures path connectivity, the scheduling and promotion module promotes tasks in sequence, and the control loop module forms a task closed loop state, thereby improving the controllability of terminal numbers and the accuracy of content push.
It achieves sequential management of terminal numbers, rapid and accurate writing of content, uniformity of path structure, continuity of tasks, and real-time feedback mechanism, thereby improving the efficiency of product information updates and the accuracy of path control.
Smart Images

Figure CN121502040A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display control technology, and in particular to a smart display terminal control system for supermarket shelves. Background Technology
[0002] The field of display control technology involves technologies related to regulating the presentation of visual information such as images, text, and symbols. This includes the arrangement and output control of display content, signal transmission management between the display terminal and the control system, the logical response mechanism of the user interface, and the signal driving and synchronization mechanism of related hardware. These technologies are widely used in various information interaction devices. Among them, the intelligent display terminal control system for supermarket shelves refers to control equipment used to display and update product information on supermarket shelves. It typically receives product information from a backend server through a display control circuit, and then uses an embedded control chip combined with a specific communication protocol to switch and refresh the display content. Generally, it relies on display driver chips, electronic paper displays, or LCD modules in conjunction with local area network communication components to complete its overall function.
[0003] In the current intelligent display terminal control process for supermarket shelves, content updates mainly rely on communication between the display control circuit and the embedded chip. In scenarios with a large number of shelf terminals or complex deployment locations, problems such as chaotic numbering or misplaced content push can easily occur. Due to the lack of dynamic correlation between terminal identification numbers and actual shelf locations, the content writing target is unclear, resulting in delays or offsets in the displayed content. In addition, when terminals are located in different regional network structures, the path selection lacks a logical partition judgment mechanism, increasing the risk of anomalies in the control system. The scheduling mechanism fails to form a closed-loop feedback chain, making it difficult to automatically identify and correct incomplete task states, affecting the overall system's response speed and push accuracy to changes in product information. Summary of the Invention
[0004] To address the technical problems existing in the prior art, embodiments of the present invention provide a smart display terminal control system for supermarket shelves. The technical solution is as follows: On the one hand, a smart display terminal control system for supermarket shelves is provided, the system comprising: The numbering allocation module obtains supermarket shelf information, constructs a sorting benchmark list and performs position equivalence judgment, performs number mapping and writes it to the number storage area, sorts the number positions and generates a number scheduling index sequence, and generates a terminal number index linked list. The content delivery module collects the updated product content and corresponding target number from the smart display terminal of the supermarket shelf, extracts the target number and compares it with the number item in the terminal number index chain list, and directly writes the content that is successfully compared to generate a content direct write record. The path binding module collects the supermarket shelf area partition number structure and the terminal number group in the same area based on the target number in the content direct write record. It performs a connectivity filtering operation on the target number and the partition number structure to determine whether the binding path falls within the range of a single logical partition number. After confirming that it falls within the range, it binds the corresponding path and generates a path control block index group. The scheduling and advancement module, based on the path control block index group, compares the current task status identifier with the scheduling cycle, performs a pending status matching operation, advances the delivery operation in numerical order, and generates a control segment advancement list. Based on the control segment advancement list, the control closed-loop module constructs the current scheduling cycle task closed-loop status and generates a control closed-loop structure diagram of the supermarket shelf intelligent display terminal.
[0005] As a further embodiment of the present invention, the terminal number index chain includes number mapping results, number position order, and number scheduling index information; the content direct writing record includes target number mapping relationship, terminal display buffer identifier, and binding success mark; the path control block index group includes logical partition number mapping, path connectivity structure, and regional terminal number combination structure; the control segment advancement list includes delivery number sequence, scheduling execution order, and content push node; and the smart display terminal control closed-loop structure diagram of the supermarket shelf includes task completion mark distribution record, retransmission countdown mark status, and scheduling cycle closed-loop status map.
[0006] As a further aspect of the present invention, the supermarket shelf information includes the actual deployment sequence, regional shelf location information, and initial terminal identification number of the shelf.
[0007] As a further aspect of the present invention, the step of directly writing the content of the comparison determination success is specifically to display the terminal display buffer unit pointed to by the corresponding number, wherein the comparison determination success specifically means that the corresponding numbers are consistent.
[0008] As a further aspect of the present invention, the construction of the closed-loop state of the current scheduling cycle task specifically involves writing a task completion flag into the numbered items of successful delivery operations, and establishing a resend countdown flag and a waiting flag for the remaining numbered items.
[0009] As a further aspect of the present invention, the numbering allocation module includes: The shelf layout information parsing submodule obtains the actual layout sequence of supermarket shelves, regional shelf location information and initial terminal identification number of shelves. Based on the layout sequence and regional location information, it constructs a sorting benchmark list, classifies and combines the layout sequence identifiers and regional location identifiers in the sorting benchmark list, and generates a shelf location structure sequence. The number mapping execution submodule, based on the initial terminal identification number of the shelf and the corresponding layout marking content in the shelf location structure sequence, performs a one-to-one correspondence judgment through the mapping relationship between the number and the location in the structure sequence, filters out identification numbers with inconsistent number order, and adjusts and overwrites the number values to the number storage area of the terminal identification chip, generating a number location correspondence matrix. The number scheduling index generation submodule, based on the adjusted number values in the number position corresponding matrix, performs a sequence rearrangement operation according to the arrangement position of the number in the deployment order and the regional location information, and forms a number scheduling sequence according to the rearranged index order, and constructs a doubly linked index relationship to generate a terminal number index linked list.
[0010] As a further aspect of the present invention, the content delivery module includes: The target content acquisition submodule collects the updated product content and corresponding target number information from the smart display terminal of the supermarket shelf. It combines the target number with the product content in a structured way, filters the valid product content group by number, excludes content items with missing numbers or non-compliant formats, and uses the number list in the terminal number index chain as a matching reference to extract the corresponding number item and product content structure to generate a valid product content comparison table. The number matching and determination submodule performs a matching operation based on the target number in the valid product content lookup table and the number item in the terminal number index chain. It compares the number consistency according to the index position. When they are completely matched and the corresponding relationship exists, the number is recorded as a successful determination. Otherwise, it is marked as a mismatched number. The total number of successfully matched numbers and the matching success rate are counted to generate a number binding result set. The terminal content writing submodule writes the corresponding product content to the terminal display buffer unit based on the successful number in the number binding result set. In the writing operation, a data writing verification operation is performed on each numbered content item. After confirming the data integrity by generating and comparing the verification bit, the content is locked and written. A timestamp and terminal number binding record information are written for each writing operation to generate a content direct writing record.
[0011] As a further aspect of the present invention, the path binding module includes: The number path extraction submodule obtains the target number in the content direct writing record, collects the supermarket shelf area partition number structure and the terminal number group in the same area, uses the target number as the primary key to perform a location mapping operation with the terminal number group, retrieves the physical location and area number of the corresponding number, and constructs a corresponding mapping table between the target number and the area path node to generate the number path mapping table. The logical partition filtering submodule performs a connectivity determination operation based on the target number and its associated path node data in the numbered path mapping table, according to the partition number structure of the supermarket shelf area. It calculates the number of logical partitions that the target number path crosses. If all path nodes fall within the same logical partition number range, it is marked as a valid path and the relationship between the path number and the partition number index is recorded to generate a path connectivity determination result set. The path binding generation submodule constructs a path-partition mapping index structure based on the set of target numbered path nodes that are determined to be valid in the path connectivity judgment result set, establishes a path control block entry pointer table according to the path number order, and packages the path number, regional partition index and control pointer information into the index group structure to generate a path control block index group.
[0012] As a further aspect of the present invention, the scheduling and propulsion module includes: The task status filtering submodule obtains the path number item in the path control block index group, combines the system-set scheduling cycle with the current task status identifier data, reads the status identifier bit in each path control block, and filters the status value. If the scheduling cycle is less than the current system cycle value, the task is marked as pending write status. All path number sets that meet the conditions are counted to generate a scheduling task filtering number set. The numbering sequence advancement submodule filters the path number sequence in the number set based on the scheduling task, sorts the numbers from smallest to largest, constructs an advancement sequence index array, calculates the number increment for adjacent path number items in the sorted array, if the calculation result is greater than 1, marks the number interval fault, records the fault number pair, executes the advancement jump control logic, constructs the delivery advancement process pointer chain, and generates the path number advancement sequence. The control list generation submodule reads the terminal node number and the starting node number in the corresponding path control block in sequence according to the content of the advancement chain pointer structure in the path number advancement sequence, binds the terminal identifier corresponding to the node range to the control segment, and generates a control segment entry structure for each path number, thus generating a control segment advancement list.
[0013] As a further aspect of the present invention, the control closed-loop module includes: The task completion marker submodule checks the execution status identifier of the corresponding terminal node one by one based on the advancement path number in the control section advancement list. If it is consistent with the preset result, the task status field of the corresponding terminal number item is updated to the completion flag bit, and a successful task identifier sequence is generated. The failure countdown submodule extracts the remaining terminal number items outside the successful task identifier sequence, marks them as pending retransmission, sets the initial value of the countdown counter to the retransmission cycle count threshold, establishes a waiting flag for each number item, binds the countdown and decrements it with the cycle, and generates a retransmission task countdown table. The closed-loop structure generation submodule establishes closed-loop task graph structure data based on the successful task identifier sequence and the terminal number distribution status in the resend task countdown table. It constructs task node information, status mark relationships, resend path reference pointers and cycle mapping index tables, and forms a status connection graph between nodes, outputting the closed-loop structure diagram of the supermarket shelf intelligent display terminal control.
[0014] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: Based on the on-site deployment sequence and shelf location information, a number mapping relationship is constructed to achieve sequential management of terminal identification numbers. The controllability and retrieval of terminal number logic are improved by generating scheduling indexes. The binding relationship between content and display terminals is established by number comparison to achieve fast and accurate content writing. The structural uniformity of delivery path is ensured by filtering the connectivity of target numbers within logical partitions. The continuity of content push is improved by promoting task status transitions in conjunction with scheduling cycles. A feedback mechanism is formed by the dynamic configuration of task completion markers and resend markers to enhance the real-time performance and fault tolerance of task closure, thereby improving the mapping efficiency of product update content, the accuracy of path control, and the timeliness of scheduling control. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of an intelligent display terminal control system for supermarket shelves provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the system framework of the present invention; Figure 3 This is a flowchart of the numbering allocation module of the present invention; Figure 4 This is a flowchart of the content delivery module for this invention; Figure 5 This is a flowchart of the path binding module of the present invention; Figure 6 This is a flowchart of the scheduling and promotion module of the present invention; Figure 7 This is a flowchart of the control closed-loop module of the present invention. Detailed Implementation
[0017] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0018] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0019] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning.
[0020] In this embodiment of the invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.
[0021] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0022] This invention provides a smart display terminal control system for supermarket shelves, such as... Figure 1-2 The diagram shown illustrates the intelligent display terminal control system for supermarket shelves. The system includes: The numbering allocation module obtains the actual deployment order of supermarket shelves in the store, the location information of regional shelves, and the initial terminal identification number of the shelves. Based on the shelf deployment order and the location information of regional shelves, it constructs a sorting benchmark list. It compares the initial terminal identification number of the shelves with the sorting benchmark list to make a position equivalence judgment, performs number mapping and writes it into the number storage area of the terminal identification chip, sorts the number positions and generates a number scheduling index sequence, and generates a terminal number index linked list. The content delivery module collects the updated product content and corresponding target number from the smart display terminal of the supermarket shelf based on the number in the terminal number index chain. It extracts the target number and compares it with the number item in the terminal number index chain. It performs the number binding judgment operation and writes the content that is successfully judged (the number matches) directly into the terminal display buffer unit pointed to by the corresponding number, generating a content direct write record. The path binding module collects the supermarket shelf area partition number structure and terminal number group in the same area based on the target number in the content direct write record. It performs a connectivity filtering operation on the target number and the partition number structure to determine whether the binding path falls within the range of a single logical partition number. After confirming that it falls within the range, it binds the corresponding path and generates a path control block index group. The scheduling and advancement module, based on the path control block index group and combined with the scheduling cycle, compares the current task status identifier, performs a "pending write" status matching operation, advances the delivery operation in numerical order, and generates a control segment advancement list; The control closed-loop module, based on the control section advance list, writes a task completion mark to the numbered items of successful advance delivery operations, establishes a resend countdown mark and a waiting flag for the remaining numbered items, constructs the task closed-loop state of the current scheduling cycle, and generates a control closed-loop structure diagram of the supermarket shelf intelligent display terminal.
[0023] The terminal number index chain list includes number mapping results, number position order, and number scheduling index information. The content direct writing record includes target number mapping relationship, terminal display buffer identifier, and binding success mark. The path control block index group includes logical partition number mapping, path connectivity structure, and regional terminal number combination structure. The control section advancement list includes delivery number sequence, scheduling execution order, and content push node. The smart display terminal control closed-loop structure diagram of supermarket shelves includes task completion mark distribution record, retransmission countdown mark status, and scheduling cycle closed-loop status map.
[0024] Specifically, such as Figure 2 , 3 As shown, the numbering allocation module includes: The shelf layout information parsing submodule obtains the actual layout sequence of supermarket shelves, regional shelf location information and initial terminal identification number of shelves. Based on the layout sequence and regional location information, it constructs a sorting benchmark list, classifies and combines the layout sequence identifiers and regional location identifiers in the sorting benchmark list, and generates a shelf location structure sequence. To obtain the actual deployment order, regional shelf location information, and initial terminal identification number of supermarket shelves in the store, the first step is to set up identification nodes with positioning tags within the store. Each shelf location is scanned and numbered, collecting information on the spacing and orientation between shelves. For example, in a 10×20 meter area, 20 shelves are deployed, spaced 1 meter apart, numbered sequentially from A1 to A20. The collected coordinate data is recorded in the form of (horizontal position x, vertical position y) to form the initial dataset. Then, the deployment order data is combined with the regional location information to establish a two-dimensional coordinate matrix. Shelf locations within the same area are sorted by horizontal number in ascending order, and vertical position by the depth of the store. Next, based on the initial terminal identification number of the shelf, a number-location mapping comparison is performed. If a shelf number does not match the actual deployment order, the difference value is recorded. When constructing the sorting benchmark list, the layout order, area coordinates, and Δp value of each shelf are combined into a triple {number, (x, y), Δp}, and arranged in ascending order of Δp as the benchmark sequence for subsequent numbering mapping. To verify data stability, location data are repeatedly collected three times at different time points, and the standard deviation σ of the position change of each shelf is calculated. When σ ≤ 0.05 meters, the layout is considered stable. For example, the positions of shelf A5 were measured three times as (5.02, 3.00), (5.01, 3.01), and (5.00, 3.00), and the calculated σ ≈ 0.012, which is less than 0.05, meeting the stability requirement. Subsequently, the sequence information of all shelves is merged to form the sorting benchmark list, as shown in Table 1.
[0025] Table 1 Shelf Layout Parameters As shown in Table 1, the Δp value of shelf A15 is 2, indicating that there is a two-digit offset between its initial number and its deployment order. Finally, shelves with a Δp value less than 1 in the baseline list are marked as correctly deployed, and shelves with a Δp value greater than or equal to 1 are recorded as adjustment targets, generating a shelf location structure sequence.
[0026] The number mapping execution submodule, based on the initial terminal identification number of the shelf and the corresponding layout marking content in the shelf location structure sequence, performs a one-to-one correspondence judgment through the mapping relationship between the number and the location in the structure sequence, filters out identification numbers with inconsistent number order, and adjusts and overwrites the number values to the number storage area of the terminal identification chip, generating a number location correspondence matrix. Based on the initial terminal identification number of the shelf, the deployment identification content of the corresponding position in the shelf location structure sequence is retrieved. When comparing the mapping relationship, the identification number is first matched one by one with the deployment position index, and the matching deviation is defined. When δ > 0, adjustment is required; for example, shelf number A5 corresponds to the 4th position in the layout. If adjustment is required, read the terminal chip storage area number field N=5 from A5, replace N with the deployment sequence number 4 and write it to the EEPROM area. After writing, calculate the storage confirmation code C=(N+x+y)mod256 to ensure data validity. For example, if x=5 and y=3 for shelf A5, then C=(4+5+3)mod256. 256 = 12; Simultaneously, the numbering of each shelf is compared before and after adjustment, and the adjustment ratio R = (number of shelves adjusted / total number of shelves) × 100% is calculated. When R < 20%, the system is recorded as stable. In the actual scenario, 3 out of 20 shelves need to be adjusted, and R = (3 / 20) × 100% = 15%, which meets the stability condition. Then, the adjusted numbering value is rewritten into the identification chip numbering storage area, and each shelf position and the updated number form a two-dimensional array matrix M = {shelf number, new number, position coordinates}. This matrix is used for subsequent sorting and index generation. In the final matrix content, each shelf only retains its latest number and corresponding position index, generating a number-position correspondence matrix.
[0027] The numbering scheduling index generation submodule, based on the adjusted numbering values in the numbering position corresponding matrix, performs a sequence rearrangement operation according to the arrangement position of the numbers in the deployment order and the regional location information, and forms a numbering scheduling sequence according to the rearranged index order, and constructs a doubly linked index relationship to generate a terminal numbering index linked list; Based on the adjusted number values in the number position correspondence matrix, a reordering operation is performed according to the arrangement position of the number in the layout sequence and the regional position information. First, a multi-dimensional sort is performed according to the rule of increasing vertical position y and increasing horizontal position x. Let the sorting key K = (y × 10 + x), and calculate the K value of each shelf to determine the sequence order; for example, if shelf A1 is at position (1, 1), then K = 11; if A5 is at position (5, 3), then K = 35; if A10 is at position (10, 2), then K = 30, and so on, resulting in the sequence A1 → A10 → A5; then, a number index array L[i] = {number, new number, position index K} is established, and the difference between adjacent indices is used to determine the sequence order. To determine the continuity of the shelving layout, shelves are defined as continuous within the same area when ΔK ≤ 5, and recorded as a breakpoint if ΔK > 5. In this example, ΔK = 19 > 5 between A1 and A10 is considered a breakpoint, while ΔK = 5 between A10 and A5 indicates continuity. Furthermore, the shelves within each area are linked into a list, using a doubly linked structure pointing to preceding and following nodes, defining the node relationships as follows: Next[i] = L[i+1]; After the linked list is established, the number of linked list nodes n is calculated and the scheduling index sequence S = {L[1], L[2], ..., L[n]} is generated. Finally, the index linked list data is output in JSON structure, where each node contains the fields {number, new number, Prev, Next}; This structure enables the system to sequentially retrieve the numbered links and finally generate the terminal number index linked list.
[0028] Specifically, such as Figure 2 , 4 As shown, the content delivery module includes: The target content collection submodule collects the updated product content and corresponding target number information from the smart display terminal of the supermarket shelf. It combines the target number with the product content in a structured way, filters the valid product content group by number, excludes content items with missing numbers or non-compliant formats, and uses the number list in the terminal number index chain as a matching reference to extract the corresponding number item and product content structure to generate a valid product content comparison table. To collect updated product information and corresponding target IDs from smart display terminals on supermarket shelves, a data stream structure must first be established, sent from the server. This structure includes content ID, product name, price, and target terminal ID fields. The system receives JSON-formatted content packets from the network interface module, parses them, and maps the ID and content fields to ID and content tables, respectively. In the ID table, regular expressions are used to validate the ID structure, retaining only 6-digit entries whose first two digits begin with "SH", such as "SH1023". Invalid IDs such as "1023A" and "#SH44" are removed from the content set. After forming the target content set, the system uses the IDs in the terminal ID index linked list as reference indexes, sequentially retrieving the ID entries in the linked list and comparing them with the IDs in the target content set. The system performs a one-to-one mapping between fields. If a matching number is successful, the product content field is extracted and its structure is packaged into a number-content mapping structure. For example, if numbers SH1023 and SH1024 exist in the terminal chain and also exist in the content set, after successful mapping, the product corresponding to the number, "Japanese Ramen," and "Price: 8.50 yuan" are combined into the content structure. If number SH1030 does not exist in the chain, no extraction operation is performed. The system performs data cleaning operations on each successful match, removing invisible characters from the content and unifying the encoding format to UTF-8, ultimately forming a valid content mapping relationship. If a total of 20 data entries are collected on a given day, and 15 are successfully matched, 15 content mapping structures are constructed. The system marks the collection time with a timestamp and outputs the results to the content cache table structure, ultimately generating a valid product content mapping table.
[0029] The number matching and judgment submodule performs a matching operation based on the target number in the valid product content comparison table and the number item in the terminal number index chain. It compares the number consistency according to the index position. When they are completely matched and the corresponding relationship exists, the number is recorded as a successful judgment. Otherwise, it is marked as a mismatched number. The module also counts the total number of successfully matched numbers and the matching success rate, and generates a number binding result set. When performing field value matching operations on the target number field in the terminal number index chain based on the target number field in the valid product content comparison table, a linear search is first performed on the index chain using the target number field as the primary key. During the search, each matching item is recorded at its index position. The offset corresponding to the number is calculated using the index position difference Δi = |content position − chain position|. If Δi = 0, the number is considered to be successfully matched. For example, if the product content number is SH1024, it is in the 5th position of the chain. If the content input is in the 5th position, then Δi = 0, and it is marked as successful. Otherwise, it is recorded as a failed number. Then, all successfully matched numbers are collected into the set SuccessSet, and the total number of matches m = |SuccessSet| is statistically analyzed. With a total number of content items n = 20, 15 items are successfully matched. The matching success rate R = (m / n) × 100% = 75%. The system sets the matching success rate threshold to 60%. If it is lower than this threshold, it is considered an abnormal synchronization state. This threshold setting is based on the fact that the lowest matching ratio of more than 5 synchronization operations in the actual test data is not lower than 62%, as shown in Table 2.
[0030] Table 2 Sample Table of Content Synchronization Matching Rate As shown in Table 2, the matching success rate is over 60%, so setting 60% as the lower limit of the matching rate has a practical basis. When the matching success rate of the current synchronization batch is 75%, which is greater than the threshold, the system records all successful matching numbers in this round and establishes number-status mapping key-value pairs in the form of a data dictionary. The matching success status field is marked as 1, and the matching failure status field is marked as 0. Finally, the number binding result set is generated.
[0031] The terminal content writing submodule writes the corresponding product content to the terminal display buffer unit based on the successful number in the number binding result set. In the writing operation, a data writing verification operation is performed on each numbered content item. After confirming the data integrity by generating and comparing the verification bit, the content is locked and written. A timestamp and terminal number binding record information are written for each writing content to generate a content direct writing record. After successfully identifying a number from the number binding result set, the system sequentially reads the product content field corresponding to each number and writes it to the terminal display buffer unit it points to. First, the address of the terminal buffer unit pointed to by the number is determined. This address is obtained through the memory mapping relationship stored in the number index linked list. For example, the address corresponding to number SH1023 is 0x12AF. The system first writes the product field content to the temporary buffer buffer Buffer_Tmp and generates a CRC8 checksum C = CRC8(Buffer_Tmp). Then, it reads the current checksum C′ of the target display buffer unit. If C = C′, the content remains unchanged, and no write operation is performed. If C ≠ C′, the content is written, overwriting the original data. Simultaneously, the write timestamp T is recorded as the current system time in milliseconds, such as 20241029135223. After writing, the terminal status flag S is updated to 1, indicating successful writing. After each round of writing, the system stores the successfully written content and the terminal number together in the write log table to form a three-element record item of number-content-time. For example, if the product "Japanese ramen" corresponding to the number SH1024 is successfully written, and the time is 20241029135223, then the record item is {SH1024, Japanese ramen, 20241029135223}. If 12 records are successfully written in this round, the system will upload the 12 records to the cloud storage in batch, complete the content synchronization operation, and finally generate the content direct write record.
[0032] Specifically, such as Figure 2 , 5 As shown, the path binding module includes: The number path extraction submodule obtains the target number from the content direct writing record, collects the supermarket shelf area partition number structure and the terminal number group in the same area, uses the target number as the primary key to perform location mapping operation with the terminal number group, retrieves the physical location and area number of the corresponding number, and constructs a corresponding mapping table between the target number and the area path node to generate the number path mapping table. To obtain the target number field from the content write-through record, and to collect the supermarket shelf area partition number structure and terminal number groups within the same area, the target number list T from the content write-through record must first be extracted into a number set. Then, by calling the regional deployment information table, the regional partition number structure R of the shelf is collected. Each record in R contains the partition number ID, the partition boundary coordinate range, and the bound terminal number range. For example, the number range corresponding to region Z1 is SH1000–SH1099, and its boundary coordinates are x: 0–20, y: 0–10. The terminal number group E is collected synchronously. E is the set of terminal numbers deployed under each partition, such as {SH1001, SH1002, SH1003}. Then, the target number T is used as the primary key to perform a location search on the terminal number group and determine whether T exists in E. For example, if T = SH1002, it exists in E. Then, its physical location information P = (x, y) = (12, 5) is obtained, and it is determined whether the location is within the boundary coordinate range defined in R. If P ∈ R boundary, its region number is recorded as Z1. By traversing the number group and cross-comparing the regional structure, the corresponding regional path structure Path = {T, Z, P} is finally constructed for each target number, as shown in Table 3 below.
[0033] Table 3 Number Path Mapping Table As shown in Table 3, target numbers SH1001 and SH1002 both belong to partition Z1, and their path mapping relationship is recorded. Number SH1101 belongs to another logical partition Z2, and its position exceeds the boundary of Z1, forming the basis of multi-path distribution. Based on this mapping structure, the system generates a numbered path mapping table.
[0034] The logical partition filtering submodule performs connectivity judgment based on the target number and its associated path node data in the numbered path mapping table, according to the partition number structure of the supermarket shelf area. It calculates the number of logical partitions that the target number path crosses. If all path nodes fall within the same logical partition number range, it is marked as a valid path and the relationship between the path number and the partition number index is recorded, generating a path connectivity judgment result set. Based on the target number and its associated path node data in the numbered path mapping table, when performing connectivity determination based on the supermarket shelf area partition numbering structure, it is necessary to sequentially read the partition number Z corresponding to each number and count the partition number set Z_Set corresponding to all numbers in the numbered path structure. If |Z_Set|=1, it means that all path nodes fall into the same area partition; for example, the number set {SH1001, SH1002} corresponds to partitions Z1, Z2, Z1, Z_Set={Z1}, |Z_Set|=1, determining path connectivity. If the number SH1101 appears, it belongs to Z2. Then Z_Set = {Z1, Z2}, |Z_Set| = 2, connectivity fails; the system calculates the partition number coverage C for each target number path set, C = (number of path nodes belonging to a single region) / (total number of path nodes) × 100%, if C = 100%, it is recorded as valid connectivity; set the threshold as C ≥ 90%, as the threshold for determining the validity of path connectivity. This threshold is set by the statistical results of the test paths in 10 sample regions. The average connectivity of the sample paths is 92%, and the lowest is 88%, so taking 90% as the judgment standard is reasonable; Table 4 below lists the connectivity calculation of some sample test paths.
[0035] Table 4 Sample Table for Path Connectivity Determination As shown in Table 4, paths P001, P003, and P005 meet the connectivity conditions. The system marks these paths as valid paths and records data fields such as number, partition, and connectivity, ultimately generating a path connectivity judgment result set.
[0036] The path binding generation submodule constructs a path-partition mapping index structure based on the set of target numbered path nodes that are determined to be valid paths in the path connectivity judgment result set, establishes a path control block entry pointer table according to the path number order, and packages the path number, regional partition index and control pointer information into the index group structure to generate a path control block index group. Based on the set of target path nodes determined to be valid paths in the path connectivity judgment result set, when constructing the path-partition mapping index structure, the system first sorts the valid path numbers in ascending order. The structure field is defined as PathStruct = {path number, start node number, end node number, partition number, control pointer address}. The start and end node numbers are determined by the corresponding numbers of the nodes with the smallest and largest x-coordinates in the path node set. The control pointer address is retrieved sequentially from the allocation table; for example, control block addresses are allocated sequentially from 0x1000, with an interval of 4 bytes. If path P001 corresponds to nodes {SH1001, SH1002, SH1...}, then... The path control block structure is {P001, SH1001, SH1003, Z1, 0x1000}, with its control pointer set to 0x1000. The starting node is SH1001, and the ending node is SH1003. The path control block structure is {P001, SH1001, SH1003, Z1, 0x1000}. All control block structures form a control block pointer table and are written to the cache. After the structure is assembled, the system performs number validity verification on each path control block, verifying whether the fields are empty, whether the address is out of bounds, and whether the number of nodes is less than 2. If any condition is not met, the path control block is discarded. After passing the validity filtering, the control block group is bound to the path control block index group as the core index dataset for path control, and finally the path control block index group is generated.
[0037] Specifically, such as Figure 2 , 6 As shown, the scheduling and propulsion module includes: The task status filtering submodule obtains the path number item in the path control block index group, combines the system-set scheduling cycle with the current task status identifier data, reads the status identifier bit in each path control block, and filters the status value. If the scheduling cycle is less than the current system cycle value, the task is marked as pending write status. All path number sets that meet the conditions are counted to generate a set of scheduling task filtering numbers. When retrieving the path number from the path control block index group, and combining it with the system-defined scheduling period field and current task status identifier data, the system first extracts the set of all path numbers {P001, P002, ..., Pn} from the path control block index group. For each path number structure, it parses its internal fields, including the current task status identifier S and the scheduling period field T. A status identifier S of 1 represents a "pending write" state. The system's current running cycle value is denoted as C, generated and updated in real-time by the system's master clock in the period scheduling module; for example, C = 120. The scheduling period field T = 100 indicates that the last execution time of path P001 was 100, and the time interval since the current execution is... The system sets the status filtering threshold ΔT threshold = 10. If ΔT > 10 and S = 1, it is determined to be a task pending writing status; otherwise, it is discarded. The setting of this threshold ΔT threshold is based on the average path update interval within the simulated delivery cycle, which is 15 cycles. The results are shown in Table 5 after 5 simulation experiments.
[0038] Table 5 Sample Table for Scheduling Cycle Screening and Judgment As shown in Table 5, P001 and P004 satisfy ΔT>10 and S=1, so they are added to the set to be written. Although P002 has a status identifier S=1, ΔT=5<10, so it is removed. The system finally forms a set of all path number items that meet the conditions and writes them into the cache task control area to generate a set of scheduling task filtering numbers.
[0039] The numbering sequence advancement submodule filters the path number sequence in the number set based on the scheduling task, sorts the numbers from smallest to largest, constructs an advancement order index array, calculates the number increment for adjacent path number items in the sorted array, if the calculation result is greater than 1, marks the number interval fault, records the fault number pair, executes the advancement jump control logic, constructs the delivery advancement process pointer chain, and generates the path number advancement sequence. Based on the path number sequence in the scheduling task selection set, when sorting the numbers from smallest to largest, the numbers are first arranged in ascending lexicographical order to form a sorted array SortSet = {P001, P004, P007, P010}. The sorted array is then subjected to a sequence difference calculation, defining the number increment ΔN as the difference between the number indices. If the number interval is greater than 1, it is considered a numbering gap; for example, ΔN = 3 between P004 and P007. This gap is then marked and recorded in the gap list GapList. For continuous path numbers, a linear progression structure pointer is constructed. The chain is defined as follows: for each numbered advancement structure, Node = {current number, next number, advancement jump flag F}. If the numbers are consecutive, F = 0; if the numbers are discontinuous, F = 1. A jump advancement is required. The system generates a path advancement logic table based on the advancement chain and performs an integrity check on the advancement path structure to verify that all advancement pointers are not NULL and the numbers are not duplicated. If a broken chain or number conflict is found, the scheduling advancement is interrupted. After construction, the advancement order and jump control bits of each path are stored in an array structure. The system uses this structure as the input for scheduling task flow advancement and generates a path number advancement sequence.
[0040] The control list generation submodule reads the terminal node number and the starting node number in the corresponding path control block according to the content of the advancement chain pointer structure in the path number advancement sequence, binds the terminal identifier corresponding to the node range to the control segment, and generates a control segment entry structure for each path number, thus generating a control segment advancement list. Based on the content of the advancement chain pointer structure in the path number advancement sequence, the system sequentially reads the path number bound to each advancement structure and parses the terminal node numbers StartNode and EndNode in the corresponding path control block structure to confirm the path boundary control range. Then, it incorporates the set of terminal devices corresponding to this number range into the control segment list structure, generating a control segment structure Entry = {path number, StartNode, EndNode, advancement pointer, control status flag}. The advancement pointer is read from the path number advancement sequence, and the control status flag is set to 0 to indicate no execution and 1 to indicate advancement. For example, path P004 corresponds to StartNode = SH1002 and EndNode = SH1005. The system expands the number range to generate a control number set {SH1002, SH1003, SH1004, SH1005}, which is bound to the control segment field. The system then writes the above structure in batches into the control scheduling buffer and generates a unique scheduling execution identifier (UUID). Finally, the control segment set for this round of control tasks is constructed. The system executes the advancement tasks according to this structure, records the advancement log, and generates a control segment advancement list.
[0041] Specifically, such as Figure 2 , 7 As shown, the control closed-loop module includes: The task completion marker submodule checks the execution status identifier of the corresponding terminal node one by one based on the advancement path number in the control section advancement list. If it is consistent with the preset result, the task status field of the corresponding terminal number item is updated to the completion flag bit, and a successful task identifier sequence is generated. Based on the advancement path numbers in the control segment advancement list, the system first reads the execution status information of the terminal node corresponding to each path number. This status information includes three items: task execution flag E, execution check code Ck, and task number Tid. The system compares the execution flag E with "1" for each number item. If it is "1", it means that the task has been completed at that terminal. At the same time, it reads the locally recorded task check reference code Ck'. If Ck and Ck' are completely consistent, the check passes, the task status of that terminal number item is recorded as completed, the status code is updated to F=1, and Tid and the corresponding terminal number Nid are written into the task completion mark record table. In a batch advancement list, for example, advancement path P007 package... If a terminal with terminal IDs {SH1003, SH1004, SH1005} reports a status bit of E=1 and has the same checksum, it is considered to have executed successfully. The system records its terminal ID and task ID as {SH1003, T20251029001} and {SH1005, T20251029001}, respectively, and writes them into the completion marker record. To avoid false success markers, the system also performs a number deduplication and status value duplicate detection mechanism to prevent redundant records from being generated due to repeated reporting by terminals. Finally, all number items that meet the above conditions are aggregated into a unified data structure, recording the binding of the progress number and the success status, and generating a success task identifier sequence.
[0042] The failure countdown submodule extracts the remaining terminal number items outside the successful task identifier sequence, marks them as pending retransmission, sets the initial value of the countdown counter to the retransmission cycle count threshold, establishes a waiting flag for each number item, binds the countdown and decrements it with the cycle, and generates a retransmission task countdown table. Based on the remaining terminal ID entries outside the successful task identifier sequence, the system performs difference calculations on them using the control segment advancement list as a basis. The set of IDs in the difference set is denoted as {N_fail}. The system establishes a retransmission countdown field and a waiting flag for each N_fail ID entry, first writing an initial countdown value for each ID entry. This indicates that the task is allowed to be resent 5 times, with the period unit being the scheduling cycle (Tick). Subsequently, a waiting flag (W=1) is set for each N_fail number, indicating that the terminal is in the pending waiting area. In the scheduling execution module, each cycle advance will decrement the Counter field. If Counter=0 and the task is still not completed, the task is marked as failed and removed from the current task queue. Taking the terminal numbers {SH1010, SH1011, SH1012} under path P008 as an example, if SH1011 and SH1012 are missing from the successful task identifier sequence, they are marked as pending retransmission numbers and written to the record. , Meanwhile, the system records the current scheduling cycle number for subsequent countdown comparison; all such numbers will form a unified data structure for the periodic scheduling submodule to poll and monitor, generating a rescheduled task countdown table.
[0043] The closed-loop structure generation submodule establishes closed-loop task graph structure data based on the successful task identifier sequence and the terminal number distribution status in the resend task countdown table. It constructs task node information, status mark relationship, resend path reference pointer and cycle mapping index table, and forms a status connection diagram between nodes, outputting the closed-loop structure diagram of the supermarket shelf intelligent display terminal control. Based on the successful task identifier sequence and the terminal number distribution status in the retransmission task countdown table, the system initiates the control closed-loop structure graph construction module. First, a node set (Node_Set) is established, where each node corresponds to a terminal number field. Its fields include the terminal number (ID), current status code (S=1 for completed, S=0 for pending delivery, S=2 for retransmission), the remaining retransmission cycles (Counter, if applicable), and the control path number (Path_ID). After node establishment, the system links all nodes in a directed graph according to their path numbers, forming a path progression graph. Simultaneously, it records the path number pointing information to form a path mapping table. If a failure exists in a path, the pointer of the upstream node on that path points to the state S=2 of the subsequent failed node, and the system establishes this relationship on the closed-loop monitoring topology. Taking path P009 as an example, it contains nodes {SH1020, SH1021, SH1022}, where SH1020 and SH1022 have completed their tasks, and SH1021 is in a retransmission state. The graph structure is: SH1020 (S=1) → SH1021 (S=2, Counter=3) → SH1022 (S=1). This structure is recorded in the closed-loop structure graph data. Finally, all the state connection relationships between paths and nodes are summarized to form the task state graph of the current scheduling cycle of the scheduling system, generating the closed-loop structure graph of the smart display terminal control for supermarket shelves.
[0044] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A smart display terminal control system for supermarket shelves, characterized in that, The system includes: The numbering allocation module obtains supermarket shelf information, constructs a sorting benchmark list and performs position equivalence judgment, performs number mapping and writes it to the number storage area, sorts the number positions and generates a number scheduling index sequence, and generates a terminal number index linked list. The content delivery module collects the updated product content and corresponding target number from the smart display terminal of the supermarket shelf, extracts the target number and compares it with the number item in the terminal number index chain list, and directly writes the content that is successfully compared to generate a content direct write record. The path binding module collects the supermarket shelf area partition number structure and the terminal number group in the same area based on the target number in the content direct write record. It performs a connectivity filtering operation on the target number and the partition number structure to determine whether the binding path falls within the range of a single logical partition number. After confirming that it falls within the range, it binds the corresponding path and generates a path control block index group. The scheduling and advancement module, based on the path control block index group, compares the current task status identifier with the scheduling cycle, performs a pending status matching operation, advances the delivery operation in numerical order, and generates a control segment advancement list. Based on the control segment advancement list, the control closed-loop module constructs the current scheduling cycle task closed-loop status and generates a control closed-loop structure diagram of the supermarket shelf intelligent display terminal.
2. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that: The terminal number index chain includes number mapping results, number position order, and number scheduling index information. The content direct write record includes target number mapping relationship, terminal display buffer identifier, and binding success mark. The path control block index group includes logical partition number mapping, path connectivity structure, and regional terminal number combination structure. The control segment advancement list includes delivery number sequence, scheduling execution order, and content push node. The smart display terminal control closed-loop structure diagram of the supermarket shelf includes task completion mark distribution record, retransmission countdown mark status, and scheduling cycle closed-loop status map.
3. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The supermarket shelf information includes the actual deployment sequence, regional shelf location information, and the initial terminal identification number of the shelf.
4. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The step of directly writing the content that was successfully compared is specifically to display the terminal display buffer unit pointed to by the corresponding number, wherein a successful comparison means that the numbers match.
5. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The process of constructing the closed-loop state of the current scheduling cycle task specifically involves writing a task completion flag into the numbered items of successful delivery operations, and establishing a resend countdown flag and a waiting flag for the remaining numbered items.
6. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The number allocation module includes: The shelf layout information parsing submodule obtains the actual layout sequence of supermarket shelves, regional shelf location information and initial terminal identification number of shelves. Based on the layout sequence and regional location information, it constructs a sorting benchmark list, classifies and combines the layout sequence identifiers and regional location identifiers in the sorting benchmark list, and generates a shelf location structure sequence. The number mapping execution submodule, based on the initial terminal identification number of the shelf and the corresponding layout marking content in the shelf location structure sequence, performs a one-to-one correspondence judgment through the mapping relationship between the number and the location in the structure sequence, filters out identification numbers with inconsistent number order, and adjusts and overwrites the number values to the number storage area of the terminal identification chip, generating a number location correspondence matrix. The number scheduling index generation submodule, based on the adjusted number values in the number position corresponding matrix, performs a sequence rearrangement operation according to the arrangement position of the number in the deployment order and the regional location information, and forms a number scheduling sequence according to the rearranged index order, and constructs a doubly linked index relationship to generate a terminal number index linked list.
7. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The content delivery module includes: The target content acquisition submodule collects the updated product content and corresponding target number information from the smart display terminal of the supermarket shelf. It combines the target number with the product content in a structured way, filters the valid product content group by number, excludes content items with missing numbers or non-compliant formats, and uses the number list in the terminal number index chain as a matching reference to extract the corresponding number item and product content structure to generate a valid product content comparison table. The number matching and determination submodule performs a matching operation based on the target number in the valid product content lookup table and the number item in the terminal number index chain. It compares the number consistency according to the index position. When they are completely matched and the corresponding relationship exists, the number is recorded as a successful determination. Otherwise, it is marked as a mismatched number. The total number of successfully matched numbers and the matching success rate are counted to generate a number binding result set. The terminal content writing submodule writes the corresponding product content to the terminal display buffer unit based on the successful number in the number binding result set. In the writing operation, a data writing verification operation is performed on each numbered content item. After confirming the data integrity by generating and comparing the verification bit, the content is locked and written. A timestamp and terminal number binding record information are written for each writing operation to generate a content direct writing record.
8. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The path binding module includes: The number path extraction submodule obtains the target number in the content direct writing record, collects the supermarket shelf area partition number structure and the terminal number group in the same area, uses the target number as the primary key to perform a location mapping operation with the terminal number group, retrieves the physical location and area number of the corresponding number, and constructs a corresponding mapping table between the target number and the area path node to generate the number path mapping table. The logical partition filtering submodule performs a connectivity determination operation based on the target number and its associated path node data in the numbered path mapping table, according to the partition number structure of the supermarket shelf area. It calculates the number of logical partitions that the target number path crosses. If all path nodes fall within the same logical partition number range, it is marked as a valid path and the relationship between the path number and the partition number index is recorded to generate a path connectivity determination result set. The path binding generation submodule constructs a path-partition mapping index structure based on the set of target numbered path nodes that are determined to be valid in the path connectivity judgment result set, establishes a path control block entry pointer table according to the path number order, and packages the path number, regional partition index and control pointer information into the index group structure to generate a path control block index group.
9. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The scheduling and advancement module includes: The task status filtering submodule obtains the path number item in the path control block index group, combines the system-set scheduling cycle with the current task status identifier data, reads the status identifier bit in each path control block, and filters the status value. If the scheduling cycle is less than the current system cycle value, the task is marked as pending write status. All path number sets that meet the conditions are counted to generate a scheduling task filtering number set. The numbering sequence advancement submodule filters the path number sequence in the number set based on the scheduling task, sorts the numbers from smallest to largest, constructs an advancement sequence index array, calculates the number increment for adjacent path number items in the sorted array, if the calculation result is greater than 1, marks the number interval fault, records the fault number pair, executes the advancement jump control logic, constructs the delivery advancement process pointer chain, and generates the path number advancement sequence. The control list generation submodule reads the terminal node number and the starting node number in the corresponding path control block in sequence according to the content of the advancement chain pointer structure in the path number advancement sequence, binds the terminal identifier corresponding to the node range to the control segment, and generates a control segment entry structure for each path number, thus generating a control segment advancement list.
10. The intelligent display terminal control system for supermarket shelves according to claim 1, characterized in that, The control closed-loop module includes: The task completion marker submodule checks the execution status identifier of the corresponding terminal node one by one based on the advancement path number in the control section advancement list. If it is consistent with the preset result, the task status field of the corresponding terminal number item is updated to the completion flag bit, and a successful task identifier sequence is generated. The failure countdown submodule extracts the remaining terminal number items outside the successful task identifier sequence, marks them as pending retransmission, sets the initial value of the countdown counter to the retransmission cycle count threshold, establishes a waiting flag for each number item, binds the countdown and decrements it with the cycle, and generates a retransmission task countdown table. The closed-loop structure generation submodule establishes closed-loop task graph structure data based on the successful task identifier sequence and the terminal number distribution status in the resend task countdown table. It constructs task node information, status mark relationships, resend path reference pointers and cycle mapping index tables, and forms a status connection graph between nodes, outputting the closed-loop structure diagram of the supermarket shelf intelligent display terminal control.