An intelligent terminal synchronization method and system for real-time update of meat inventory

Through the intelligent terminal synchronization method, the error value is calculated and the timestamp correction is performed, the problems of inventory update lag and error accumulation in the traditional meat warehousing management system are solved, real-time and reliability of inventory data are realized, and it is suitable for the coordinated scenario of multi-brand cold storage equipment.

CN120198057BActive Publication Date: 2025-08-05GONGGUANG SHENZHEN MEAT INTELLIGENT TRADING MARKET CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510668893.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2025-08-05
Estimated Expiration
2045-05-23

AI Technical Summary

Technical Problem

There are problems in the traditional meat warehousing management system with lagging inventory update response, error accumulation and resource allocation rigidity, especially when the multi-target port coordination mechanism is missing, resulting in the inventory data being out of sync with the actual goods status, which cannot meet the real-time and accuracy requirements.

Method used

The intelligent terminal synchronization method is adopted, by calculating the first error value of the first-level target port and dynamically correcting the timestamp, and compensating the second error value of the second-level target port, error chain compensation and dynamic priority adjustment are realized to ensure strict synchronization of inventory instructions and physical operations.

Benefits of technology

Effectively eliminate timing deviations caused by network delay and equipment heterogeneity, ensure strict synchronization of inventory instructions and physical operations, reduce system deployment complexity, and be suitable for multi-brand cold storage equipment coordination scenarios, avoiding the risk of oversold or out of stock.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120198057B_ABST
    Figure CN120198057B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of inventory management, and in particular to a smart terminal synchronization method and system for real-time updating of meat inventory, comprising the following steps: the smart terminal obtains a call request issued by a user and generates a call instruction according to the call request, the call instruction including a primary target port, a secondary target port, call item parameters and an issuance timestamp of the call request; the call instruction is sent to the primary target port, and a call instruction receipt is obtained, a first error value on the primary target port side is determined according to relevant parameters of the call instruction and the call instruction receipt, and the issuance timestamp of the call instruction receipt is updated according to the first error value; the call instruction receipt is sent to multiple secondary target ports, and after receiving the call instruction receipt, the secondary target ports determine a second error value on the secondary target port side in combination with the first error value, and upload the second error value to the smart terminal, thereby realizing error chain compensation and dynamic priority adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of inventory management, and in particular to an intelligent terminal synchronization method and system for real-time updating of meat inventory. Background Art

[0002] In traditional meat warehouse management systems, inventory updates usually rely on manual records or single-layer automated equipment, which has problems such as delayed response, accumulated errors, and rigid resource allocation.

[0003] For example, when a user initiates an inventory call request, due to network delays, device heterogeneity, and the lack of a multi-level port coordination mechanism, the instruction transmission timestamps are often inconsistent and the secondary port response deviation is difficult to dynamically compensate for, which in turn causes the inventory data to be out of sync with the actual product status.

[0004] Furthermore, existing technologies often use fixed weighting strategies to prioritize multiple target ports, failing to dynamically adjust based on real-time errors and environmental parameters. This can delay the processing of high-priority tasks due to accumulated local errors, impacting warehouse scheduling efficiency. This is particularly true in meat storage scenarios, where inventory categories are complex and timeliness is critical. Existing systems' static management models struggle to meet the real-time, precision, and multi-port collaboration requirements. Summary of the Invention

[0005] Based on this, it is necessary to provide an intelligent terminal synchronization method and system for real-time updating of meat inventory to address the above technical problems, which can realize error chain compensation, dynamic priority adjustment and multi-level state synchronization of intelligent terminal synchronization methods to improve the real-time and reliability of meat inventory management.

[0006] The present invention provides a smart terminal synchronization method for real-time updating of meat inventory, comprising:

[0007] The intelligent terminal obtains the call request issued by the user and generates a call instruction according to the call request. The call instruction includes a primary target port, a secondary target port, call item parameters and a timestamp of the call request.

[0008] Sending a call instruction to the primary target port and obtaining a call instruction receipt, determining a first error value on the primary target port side according to relevant parameters of the call instruction and the call instruction receipt, and updating an issuance timestamp of the call instruction receipt according to the first error value;

[0009] Sending a call instruction receipt to multiple secondary target ports, after receiving the call instruction receipt, the secondary target port determines a second error value on the secondary target port side in combination with the first error value, and uploads the second error value to the smart terminal;

[0010] The intelligent terminal determines the secondary priority of the secondary target port according to the call instruction and the second error value, and creates multiple call orders based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port.

[0011] The first priority of the call order is calculated based on the second priority of the call order, the parameters of the call item, and the parameters of the same category items of the first-level target port. Based on the first priority and the first error value, the call order is sent to the first-level target port in sequence, and the parameter status of the first-level target port is updated synchronously.

[0012] In one embodiment, the intelligent terminal obtains a call request issued by a user and generates a call instruction according to the call request, including:

[0013] The intelligent terminal obtains an input signal of a call request sent by a user through an input device;

[0014] Parse the call request according to the type of input signal to obtain a general parsing result;

[0015] The general parsing results are encapsulated to generate standardized calling instructions.

[0016] In one embodiment, determining the first error value on the primary target port side according to relevant parameters of the call instruction and the call instruction receipt includes:

[0017] Extracting the call item parameter and the call request issuance timestamp parameter from the call instruction and the call instruction receipt, and comparing the two parameters to determine the network path between the smart terminal and the first-level target port;

[0018] Determine the expected response time on the primary target port side based on a preset error calculation formula;

[0019] Calculating a first error value on the primary target port side based on the expected response time and the actual response time, and performing normalization processing on the first error value;

[0020] The processed first error value is substituted into a preset first error value calculation formula, and the first error value calculation formula is updated.

[0021] In one embodiment, sending the call instruction receipt to the plurality of secondary target ports and updating the sending timestamp of the call instruction receipt according to the first error value includes:

[0022] Copying the call instruction receipt into multiple copies, encapsulating each copy into a format suitable for each secondary target port, and sending the copies to the multiple secondary target ports in parallel;

[0023] Calculating expected time compensation amounts on the sides of the plurality of secondary target ports based on the first error value;

[0024] The issuing timestamp of the call instruction receipt is dynamically corrected based on the expected time compensation amount.

[0025] In one embodiment, after receiving the call instruction receipt, the secondary target port determines the second error value on the secondary target port side in combination with the first error value, including:

[0026] Correcting a second error value calculation formula according to the first error value and associated parameters of the secondary target port;

[0027] Obtain the execution environment indicator of the secondary target port and compare the local receive timestamp of the secondary target port with the issue timestamp in the call instruction receipt;

[0028] The actual processing time of the call instruction is obtained by comparison, and the original deviation is obtained by comparing it with the expected processing time of the call instruction;

[0029] Substitute the original deviation into the corrected second error value calculation formula to obtain the second error value.

[0030] In one embodiment, the intelligent terminal determines the secondary priority of the secondary target port according to the call instruction and the second error value, including:

[0031] Establishing a mapping relationship between the call instruction and the second error value and the secondary target port;

[0032] The call instructions are weighted using the indicators preset by the secondary target port;

[0033] The preset correction formula is used to correct and sort the divided weights as the second priority.

[0034] In one embodiment, the plurality of call orders are sequentially created based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port, including:

[0035] Create a waiting queue in descending order of secondary priority and allocate resources for each secondary target port;

[0036] Create multiple call orders based on the pending queue and resource quota, and update the status parameters of the remaining secondary target ports.

[0037] In one embodiment, the calculation of the first priority of the call order based on the second priority of the call order, the parameters of the call item, and the parameters of the same category items of the first-level target port includes:

[0038] Normalize the sub-priority of the call order, the parameters of the call item, and the parameters of the same category items at the first-level target port, and generate composite features;

[0039] Construct an adaptive weight matrix and substitute the composite features to calculate the top priority of the call order.

[0040] In one embodiment, the sending of the call order to the primary target port based on the first priority and the first error value, and the synchronous updating of the parameter status of the primary target port, includes:

[0041] Substituting the first error value into the multiple call orders obtained in descending order of the first priority, and correcting the issuing timestamps of the call orders;

[0042] The corrected call order is sent to the first-level target port in sequence, and the parameter status of the first-level target port is updated synchronously.

[0043] The present invention further provides a smart terminal synchronization system for real-time meat inventory updates, which is applied to the smart terminal synchronization method for real-time meat inventory updates described in any of the above embodiments, comprising:

[0044] A call instruction generation module, wherein the intelligent terminal obtains a call request issued by a user and generates a call instruction according to the call request. The call instruction includes a target port, call item parameters, and a timestamp of the call request;

[0045] a first error calculation module, which sends a call instruction to a first-level target port, obtains a call instruction receipt returned after the call instruction is delivered to the target port, and determines a first error value on the first-level target port side based on relevant parameters of the call instruction and the call instruction receipt;

[0046] A second error calculation module sends the call instruction receipt to multiple secondary target ports and updates the timestamp of the call instruction receipt according to the first error value. After receiving the call instruction receipt, the secondary target port determines a second error value on the secondary target port side based on the first error value and uploads it to the smart terminal;

[0047] A secondary priority processing module, in which the intelligent terminal determines the secondary priority of the secondary target port according to the call instruction and the second error value, and creates multiple call orders based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port;

[0048] The first priority processing module calculates the first priority of the call order based on the second priority of the call order, the call item parameters and the parameters of the same category items of the first-level target port, and sends the call order to the first-level target port in sequence based on the first priority and the first error value, and synchronously updates the parameter status of the first-level target port.

[0049] The above-mentioned intelligent terminal synchronization method and system for real-time updating of meat inventory calculates the first error value of the first-level target port and dynamically corrects the timestamp, and then compensates for it with the second error value of the second-level target port, effectively eliminating the timing deviation caused by network delay and device heterogeneity, ensuring strict synchronization between inventory instructions and physical operations; based on the double-layer sorting strategy of secondary priority and primary priority, flexible scheduling of call orders is achieved; at the same time, by parsing user requests into standardized instructions containing primary / secondary port identifiers, item parameters and timestamps, the method is compatible with different storage equipment and communication protocols, reducing the complexity of system deployment, and is especially suitable for multi-brand cold storage equipment collaboration scenarios; and after each call order is generated, the intelligent terminal immediately updates the parameter status of the secondary port, and refreshes the global inventory data when the order is finally synchronized to the primary port, ensuring that the status of each level of the storage system is strictly consistent, avoiding the risk of "overselling" or "out of stock". BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0051] Figure 1 A flowchart of the intelligent terminal synchronization method for real-time meat inventory update provided by the present invention;

[0052] Figure 2 This is a framework diagram of the intelligent terminal synchronization system for real-time meat inventory update provided by the present invention. DETAILED DESCRIPTION

[0053] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, 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 part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0054] like Figure 1As shown, in one embodiment, a smart terminal synchronization method for real-time updating of meat inventory includes the following steps:

[0055] The intelligent terminal obtains the call request issued by the user and generates a call instruction according to the call request. The call instruction includes the primary target port, the secondary target port, the call item parameters and the issuance timestamp of the call request.

[0056] Send a call instruction to the first-level target port and obtain a call instruction receipt. Determine a first error value on the first-level target port side based on relevant parameters of the call instruction and the call instruction receipt, and update the issuance timestamp of the call instruction receipt based on the first error value.

[0057] The call instruction receipt is sent to multiple secondary target ports. After receiving the call instruction receipt, the secondary target port determines a second error value on the secondary target port side in combination with the first error value and uploads it to the smart terminal.

[0058] The intelligent terminal determines the secondary priority of the secondary target port based on the call instruction and the second error value, and creates multiple call orders in sequence based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port.

[0059] The first priority of the call order is calculated based on the second priority of the call order, the parameters of the call item, and the parameters of the same category items of the first-level target port. Based on the first priority and the first error value, the call order is sent to the first-level target port in sequence, and the parameter status of the first-level target port is updated synchronously.

[0060] The above-mentioned intelligent terminal synchronization method for real-time updating of meat inventory calculates the first error value of the first-level target port and dynamically corrects the timestamp, and then compensates for it with the second error value of the second-level target port, effectively eliminating the timing deviation caused by network delay and device heterogeneity, ensuring strict synchronization between inventory instructions and physical operations; based on the two-level sorting strategy of secondary priority (secondary port weight) and primary priority (comprehensive item parameters and first-level port status), flexible scheduling of call orders is achieved; at the same time, by parsing user requests into standardized instructions containing first-level / secondary port identifiers, item parameters and timestamps, the method is compatible with different storage equipment and communication protocols, reducing the complexity of system deployment, and is particularly suitable for multi-brand cold storage equipment collaboration scenarios; and after each call order is generated, the intelligent terminal immediately updates the parameter status of the second-level port (such as inventory balance, occupancy flag), and refreshes the global inventory data when the order is finally synchronized to the first-level port, ensuring strict consistency of the status of each level of the storage system and avoiding the risk of "overselling" or "out of stock".

[0061] In one embodiment, the intelligent terminal obtains a call request issued by a user and generates a call instruction according to the call request, including the following steps:

[0062] The intelligent terminal obtains an input signal of a calling request sent by a user through an input device.

[0063] The call request is parsed according to the type of the input signal to obtain a general parsing result.

[0064] The general parsing results are encapsulated to generate standardized calling instructions.

[0065] Specifically, users initiate operations through input devices supported by smart terminals (such as touch screens, voice assistants, physical buttons, barcode scanners, etc.).

[0066] For example, in a meat inventory management scenario, a user might scan a product barcode with a barcode scanner, tap the "Inventory Transfer" button on a touchscreen, or speak "Check beef inventory" via voice command. The input device converts the user's input into raw signals (such as electrical signals, digital codes, audio waveforms, etc.) and transmits them to the smart terminal's central processing unit. The smart terminal's input management module automatically identifies the input type based on the signal source. If the signal format is abnormal (such as a failed scan or unclear voice), the terminal triggers an error message (such as "Please rescan") and waits for the user to re-enter. The parsing module converts the raw signal into a command intent that the system can understand based on the input type and pre-set business rules. The smart terminal's protocol encapsulation module converts the general parsing results into a standard format compatible with the system's internal or external interfaces.

[0067] In one embodiment, determining a first error value on the primary target port side based on parameters related to a call instruction and a call instruction receipt includes the following steps:

[0068] Extract the calling item parameter and the issuing timestamp parameter of the calling request from the calling instruction and the calling instruction receipt, compare the two parameters, and determine the network path between the intelligent terminal and the first-level target port.

[0069] Specifically, extract the timestamp of the call instruction and the receipt timestamp Calculate the actual response time:

[0070]

[0071] The expected response time of the primary target port side is determined based on a preset error calculation formula.

[0072] Specifically, the preset error calculation formula is the exponentially weighted moving average (EWMA) model:

[0073]

[0074] in, is the expected response time calculated based on the exponentially weighted moving average model, is the expected response time calculated last time, is the smoothing factor of the exponentially weighted moving average model, which is 0.2 in this embodiment.

[0075] A first error value at the primary target port side is calculated based on the expected response time and the actual response time, and the first error value is normalized.

[0076] Specifically, the calculation formula of the first error value is:

[0077]

[0078] The processed first error value is substituted into a preset first error value calculation formula, and the first error value calculation formula is updated.

[0079] Specific, dynamic updates For the current , realizing self-calibration of the first error value calculation formula.

[0080] In one embodiment, sending a call instruction receipt to multiple secondary target ports and updating the sending timestamp of the call instruction receipt according to the first error value includes the following steps:

[0081] The call instruction receipt is copied into multiple copies, and each copy is encapsulated into a format suitable for each secondary target port, and is sent to multiple secondary target ports in parallel.

[0082] Expected time compensation amounts on the sides of the plurality of secondary target ports are calculated based on the first error value.

[0083] Specifically, the calculation formula for the time compensation is:

[0084]

[0085] in, is the time compensation, is the network distance between the i-th secondary target port and the primary target port, which can be obtained based on IP address resolution.

[0086] The issuing timestamp of the call instruction receipt is dynamically corrected based on the expected time compensation amount.

[0087] Specifically, the dynamic correction formula of the timestamp is:

[0088]

[0089] in, is the corrected receiving timestamp of the i-th secondary target port, Send timestamp for the command sent to the i-th secondary target port.

[0090] In one embodiment, after receiving the call instruction receipt, the secondary target port determines the second error value on the secondary target port side in combination with the first error value, including the following steps:

[0091] The second error value calculation formula is corrected according to the first error value and the associated parameters of the secondary target port.

[0092] Specifically, the calculation formula for the corrected second error value is:

[0093]

[0094] in, For the expected time, is the environmental impact coefficient, which is set to 0.5 in this embodiment and is used to correct the impact of inventory saturation on the error. is the inventory saturation of the secondary target port ( ), 0 means empty warehouse, 1 means full warehouse.

[0095] Obtain the execution environment indicator of the secondary target port, and compare the local receive timestamp of the secondary target port with the issue timestamp in the call instruction receipt.

[0096] The actual processing time of the call instruction is obtained by comparison, and the original deviation is obtained by comparing it with the expected processing time of the call instruction.

[0097] Specifically, sensors are used to obtain execution environment indicators (such as temperature and network load), calculate the actual time consumption, and then calculate the original deviation:

[0098]

[0099] Substitute the original deviation into the corrected second error value calculation formula to obtain the second error value.

[0100] Specifically, after calculating the original deviation, the original deviation is substituted into the corrected second error value calculation formula to obtain , and upload it to the smart terminal.

[0101] In one embodiment, the intelligent terminal determines the secondary priority of the secondary target port according to the call instruction and the second error value, including the following steps:

[0102] A mapping relationship between the call instruction, the second error value and the secondary target port is established.

[0103] The call instructions are weighted using the indicators preset by the secondary target port.

[0104] Specifically, define the indicator set .

[0105] It should be noted that the weight distribution formula is:

[0106]

[0107] in, is the basic weight value of the i-th secondary target port, is the inventory quantity of the i-th secondary target port, is the remaining shelf life of the item in the i-th secondary target port, is the weight of the inventory quantity indicator, which is 0.4 in this embodiment. is the weight of the inventory saturation index, which is 0.3 in this embodiment. is the remaining shelf life indicator weight, which is 0.3 in this embodiment.

[0108] The preset correction formula is used to correct and sort the divided weights as the second priority.

[0109] Specifically, the following formula is used for calculation:

[0110]

[0111] in, is the secondary priority of the i-th secondary target port (priority after error correction).

[0112] In one embodiment, multiple call orders are created sequentially based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port, including:

[0113] A waiting queue is created in descending order of secondary priority, and resource quotas are allocated for each secondary target port.

[0114] Specifically, according to the above Generate a queue for processing in descending order, allocate resource quotas (such as the maximum number of concurrent orders) to each port, create call orders in sequence, and update the inventory status.

[0115] Create multiple call orders based on the pending queue and resource quota, and update the status parameters of the remaining secondary target ports.

[0116] In one embodiment, the first priority of the call order is calculated based on the second priority of the call order, the parameters of the call item, and the parameters of the same category items of the first-level target port, including the following steps:

[0117] The secondary priority of the calling order, the calling item parameters, and the parameters of the same category items of the first-level target port are normalized and a composite feature is generated.

[0118] Specifically, for the second priority , call quantity N and the same category inventory of the first-level target port Perform normalization:

[0119]

[0120]

[0121]

[0122] The eigenvectors are:

[0123]

[0124] in, is the normalized value of the secondary priority, is the normalized value of the number of calls, N is the actual number of calls, It is the normalized value of the same category inventory at the first-level target port. is the minimum value of the next priority, is the maximum value of the next priority, is the minimum number of calls, is the maximum number of calls, is the actual inventory quantity, The minimum inventory value of the same category at the first-level target port. It is the maximum inventory of the same category at the first-level target port.

[0125] Construct an adaptive weight matrix and substitute the composite features to calculate the top priority of the call order.

[0126] Specifically, the state-dependent Riccati equation (SDRE) technique is used to construct the dynamic weight matrix :

[0127]

[0128] in, 、 and are all weight matrix adjustment coefficients (corresponding to the dynamic adjustment of inventory, call quantity and secondary priority, respectively, and in this embodiment, the values are 0.1, 0.05 and 0.2 respectively).

[0129] The calculation formula for the first priority is:

[0130]

[0131] in, The final priority is obtained by combining the secondary priority, call quantity and inventory.

[0132] In one embodiment, the call order is sent to the primary target port in sequence based on the first priority and the first error value, and the parameter status of the primary target port is updated synchronously, including the following steps:

[0133] The first error value is substituted into the plurality of call orders obtained in descending order based on the first priority, and the issuing timestamps of the call orders are corrected.

[0134] Specifically, the correction formula is as follows:

[0135]

[0136] in, Send a timestamp for the corrected order, A random number between -1 and 1.

[0137] The corrected call order is sent to the first-level target port in sequence, and the parameter status of the first-level target port is updated synchronously.

[0138] according to Send orders in descending order to the first-level target port, and simultaneously update parameters such as inventory quantity and shelf life.

[0139] The application process of the above-mentioned intelligent terminal synchronization method for real-time meat inventory update is as follows:

[0140] In a meat inventory management scenario of a certain supermarket chain, smart terminals receive user operation requests through various input devices.

[0141] For example, a warehouse manager uses a barcode scanner to scan the barcode on the beef package to trigger an "inventory transfer" instruction; or clicks the "Query pork inventory in each store" button on the touch screen interface; or issues a voice instruction through a voice assistant to "apply for 50kg of mutton to be replenished to store A."

[0142] The input device converts user operations into raw signals (such as digital codes generated by scanning codes, electrical signals generated by touch, and audio waveforms converted from voice) and transmits them to the central processing unit of the smart terminal.

[0143] The terminal's input management module automatically identifies the signal type: if the barcode scan fails (such as the barcode is damaged), the system pops up a prompt "Please rescan the barcode"; if the voice command recognition is fuzzy, the system prompts "Please re-enter the voice command."

[0144] The parsing module converts the raw signal into a command intent based on preset rules (e.g., scanning a QR code corresponds to inventory query, touching corresponds to command selection, and voice corresponds to order submission). For example, "Transfer 50 kg of mutton from the central warehouse to store A, valid for 3 days." Finally, the protocol encapsulation module standardizes the command intent into a call instruction containing the following elements:

[0145] Primary target port: central warehouse server address;

[0146] Secondary target port: list of terminal devices such as store A and store B;

[0147] Call item parameters: category (mutton), quantity (50kg), shelf life requirement (≥3 days);

[0148] Timestamp: The exact time when the command was issued (e.g., May 15, 2025, 10:00:00).

[0149] The intelligent terminal sends a call instruction to the central warehouse (first-level target port) and records the issuance timestamp =10:00:00. The central warehouse receives the instruction, processes it, and returns a receipt. The terminal records the receipt receipt timestamp. =10:00:08, the actual response time (round-trip time) is calculated to be 8 seconds.

[0150] The system uses the exponentially weighted moving average model (EWMA) to predict the expected response time:

[0151] Initial expected value at first communication Set the measured value to 8 seconds; in each subsequent calculation, the expected value is calculated according to the formula =0.8× +0.2× Dynamic updates.

[0152] For example, if the next measured response time is 6 seconds, the new expected value is 0.8×8+0.2×6=7.6 seconds.

[0153] The first error value is calculated by the deviation rate between the actual response time and the expected value:

[0154] , the results are normalized to the interval [0, 1].

[0155] For example, when the actual time is 8 seconds and the expected time is 7.6 seconds, ≈0.053, indicating that the network delay error is 5.3%. After the calculation is completed, the system will Update to current (7.6 seconds), achieving error model self-calibration.

[0156] The intelligent terminal copies the instruction receipt returned by the central warehouse into multiple copies, encapsulates them according to the system protocol of each store (secondary target port) (for example, store A uses JSON format and store B uses XML format), and sends them through parallel network channels.

[0157] Since the network distance between each store and the central warehouse is different (obtained through IP address resolution, for example, store A is 200 kilometers away and store B is 100 kilometers away), the system calculates the time compensation amount based on the first error value: .

[0158] Take the door as an example. seconds, the corrected receipt receiving timestamp is =10:00:08+0.75=10:00:08.75.

[0159] After receiving the corrected receipt, each store terminal calculates the second error value based on the local environment. First, the actual local receipt timestamp is compared with the corrected sending timestamp to determine the actual processing time (for example, the actual processing time for Store A is 2 seconds). This is then compared with the preset standard time (for example, 1.5 seconds) to calculate the original deviation:

[0160] . Combined with inventory saturation (For example, the mutton inventory saturation of store A =0.6) and environmental impact coefficient =0.5, the corrected second error value is: =0.33×(1+0.5×0.6)=0.43, and upload it to the smart terminal.

[0161] The intelligent terminal determines the secondary priority based on the call instruction parameters and the secondary target port error value, combining three indicators:

[0162] Inventory quantity ( ): Store A currently has 80 mutton stocks kg , after normalization, it is 0.8;

[0163] Inventory saturation ( ): =0.6(value 0≤ Si ≤1);

[0164] Remaining shelf life ( ): The average remaining shelf life of existing inventory is 5 days, which is normalized to 0.6.

[0165] The basic weight is calculated according to the preset ratio:

[0166] =0.4×0.8+0.3×0.6+0.3×0.6=0.7;

[0167] Combined with the second error value =0.43, the next priority is:

[0168] =0.7×0.57=0.399.

[0169] Each store is sorted in descending order of priority, generating a queue to be processed (e.g. store A has priority 2, store B has priority 1), and allocating resource quotas to each store (e.g. the maximum number of concurrent orders is 3). Call orders are created in sequence and inventory is deducted in real time (e.g. store A creates 50 kg After the transfer order, the inventory is updated to 30 kg ).

[0170] Smart terminal priority ( =0.399), number of calls ( =50 kg )、Central warehouse inventory( =200 kg ) for normalization:

[0171] Second priority normalization: (Assuming the minimum value is 0.2 and the maximum value is 0.5, then F sub = 0.66);

[0172] Normalize the number of calls: (Assuming the minimum call volume is 10 kg , maximum 100 kg ,but FN =0.5);

[0173] Central inventory normalization: (Assuming minimum inventory 100 kg , maximum 300 kg ,but FQ =0.5).

[0174] Construct a dynamic weight matrix: .

[0175] The first priority is obtained by matrix operation: =0.66×21+0.5×3.5+0.5×1.08=15.22.

[0176] When sending orders, the system sorts them in descending order based on the first priority and introduces random time disturbances to avoid network congestion: (For example, the disturbance range is ±0.053 seconds).

[0177] After the order is sent to the central warehouse, the inventory quantity is updated in real time and shelf life information to complete full-link inventory synchronization.

[0178] like Figure 2 As shown, in one embodiment, a smart terminal synchronization system for real-time meat inventory updates is applied to the smart terminal synchronization method for real-time meat inventory updates of any of the above embodiments, including:

[0179] The calling instruction generation module, in which the intelligent terminal obtains the calling request issued by the user and generates a calling instruction according to the calling request. The calling instruction includes the target port, the calling item parameters and the issuing timestamp of the calling request;

[0180] a first error calculation module, which sends a call instruction to a first-level target port, obtains a call instruction receipt returned after the call instruction is delivered to the target port, and determines a first error value on the first-level target port side based on relevant parameters of the call instruction and the call instruction receipt;

[0181] A second error calculation module sends the call instruction receipt to multiple secondary target ports and updates the timestamp of the call instruction receipt according to the first error value. After receiving the call instruction receipt, the secondary target port determines a second error value on the secondary target port side based on the first error value and uploads it to the smart terminal;

[0182] A secondary priority processing module, in which the intelligent terminal determines the secondary priority of the secondary target port according to the call instruction and the second error value, and creates multiple call orders based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port;

[0183] The first priority processing module calculates the first priority of the call order based on the second priority of the call order, the call item parameters and the parameters of the same category items of the first-level target port, and sends the call order to the first-level target port in sequence based on the first priority and the first error value, and synchronously updates the parameter status of the first-level target port.

[0184] The above-mentioned intelligent terminal synchronization system for real-time updates of meat inventory calculates the first error value of the first-level target port and dynamically corrects the timestamp, and then compensates for it with the second error value of the second-level target port, effectively eliminating the timing deviation caused by network delays and device heterogeneity, ensuring strict synchronization between inventory instructions and physical operations; based on the two-level sorting strategy of secondary priority (secondary port weight) and primary priority (comprehensive item parameters and first-level port status), flexible scheduling of call orders is achieved; at the same time, by parsing user requests into standardized instructions containing first-level / secondary port identifiers, item parameters and timestamps, the method is compatible with different storage equipment and communication protocols, reducing the complexity of system deployment, and is particularly suitable for multi-brand cold storage equipment collaboration scenarios; and after each call order is generated, the intelligent terminal immediately updates the parameter status of the second-level port (such as inventory balance, occupancy flag), and refreshes the global inventory data when the order is finally synchronized to the first-level port, ensuring strict consistency of the status of each level of the warehousing system and avoiding the risk of "overselling" or "out of stock".

[0185] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0186] The above-described embodiments merely illustrate several embodiments of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A smart terminal synchronization method for real-time updating of meat inventory, characterized in that: include: The intelligent terminal obtains the call request issued by the user and generates a call instruction according to the call request. The call instruction includes a primary target port, a secondary target port, call item parameters and a timestamp of the call request. Sending a call instruction to the primary target port and obtaining a call instruction receipt, determining a first error value on the primary target port side according to relevant parameters of the call instruction and the call instruction receipt, and updating an issuance timestamp of the call instruction receipt according to the first error value; Sending a call instruction receipt to multiple secondary target ports, after receiving the call instruction receipt, the secondary target port determines a second error value on the secondary target port side in combination with the first error value, and uploads the second error value to the smart terminal; The intelligent terminal determines the secondary priority of the secondary target port according to the call instruction and the second error value, and creates multiple call orders based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port. The first priority of the call order is calculated based on the second priority of the call order, the parameters of the call item, and the parameters of the same category items of the first-level target port. Based on the first priority and the first error value, the call order is sent to the first-level target port in sequence, and the parameter status of the first-level target port is updated synchronously.

2. The intelligent terminal synchronization method for real-time updating of meat inventory according to claim 1 is characterized in that: The intelligent terminal obtains a call request issued by a user and generates a call instruction according to the call request, including: The intelligent terminal obtains an input signal of a call request sent by a user through an input device; Parse the call request according to the type of input signal to obtain a general parsing result; The general parsing results are encapsulated to generate standardized calling instructions.

3. The intelligent terminal synchronization method for real-time meat inventory update according to claim 1 is characterized in that: The determining of the first error value on the primary target port side according to the relevant parameters of the call instruction and the call instruction receipt includes: Extracting the call item parameter and the call request issuance timestamp parameter from the call instruction and the call instruction receipt, and comparing the two parameters to determine the network path between the smart terminal and the first-level target port; Determine the expected response time on the primary target port side based on a preset error calculation formula; Calculating a first error value on the primary target port side based on the expected response time and the actual response time, and performing normalization processing on the first error value; The processed first error value is substituted into a preset first error value calculation formula, and the first error value calculation formula is updated.

4. The intelligent terminal synchronization method for real-time meat inventory update according to claim 1 is characterized in that: The step of sending the call instruction receipt to the plurality of secondary target ports and updating the sending timestamp of the call instruction receipt according to the first error value includes: Copying the call instruction receipt into multiple copies, encapsulating each copy into a format suitable for each secondary target port, and sending the copies to the multiple secondary target ports in parallel; Calculating expected time compensation amounts on the sides of the plurality of secondary target ports based on the first error value; The issuing timestamp of the call instruction receipt is dynamically corrected based on the expected time compensation amount.

5. The intelligent terminal synchronization method for real-time meat inventory update according to claim 4 is characterized in that: After receiving the call instruction receipt, the secondary target port determines the second error value on the secondary target port side in combination with the first error value, including: Correcting a second error value calculation formula according to the first error value and associated parameters of the secondary target port; Obtain the execution environment indicator of the secondary target port and compare the local receive timestamp of the secondary target port with the issue timestamp in the call instruction receipt; The actual processing time of the call instruction is obtained by comparison, and the original deviation is obtained by comparing it with the expected processing time of the call instruction; Substitute the original deviation into the corrected second error value calculation formula to obtain the second error value.

6. The intelligent terminal synchronization method for real-time meat inventory update according to claim 1 is characterized in that: The intelligent terminal determines the secondary priority of the secondary target port according to the calling instruction and the second error value, including: Establishing a mapping relationship between the call instruction and the second error value and the secondary target port; The call instructions are weighted using the indicators preset by the secondary target port; The preset correction formula is used to correct and sort the divided weights as the second priority.

7. The intelligent terminal synchronization method for real-time meat inventory update according to claim 6 is characterized in that: The plurality of call orders are sequentially created based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port, including: Create a waiting queue in descending order of secondary priority and allocate resources for each secondary target port; Create multiple call orders based on the pending queue and resource quota, and update the status parameters of the remaining secondary target ports.

8. The intelligent terminal synchronization method for real-time meat inventory update according to claim 1 is characterized in that: The first priority of the call order is calculated based on the second priority of the call order, the parameters of the call item, and the parameters of the same category items of the first-level target port, including: Normalize the sub-priority of the call order, the parameters of the call item, and the parameters of the same category items at the first-level target port, and generate composite features; Construct an adaptive weight matrix and substitute the composite features to calculate the top priority of the call order.

9. The intelligent terminal synchronization method for real-time meat inventory update according to claim 8, characterized in that: The method of sending the call order to the first-level target port in sequence based on the first priority and the first error value, and synchronously updating the parameter status of the first-level target port, includes: Substituting the first error value into the multiple call orders obtained in descending order of the first priority, and correcting the issuing timestamps of the call orders; The corrected call order is sent to the first-level target port in sequence, and the parameter status of the first-level target port is updated synchronously.

10. A smart terminal synchronization system for real-time updating of meat inventory, applied to the smart terminal synchronization method for real-time updating of meat inventory according to any one of claims 1 to 9, characterized in that: include: A call instruction generation module, wherein the intelligent terminal obtains a call request issued by a user and generates a call instruction according to the call request. The call instruction includes a target port, call item parameters, and a timestamp of the call request; a first error calculation module, which sends a call instruction to a first-level target port, obtains a call instruction receipt returned after the call instruction is delivered to the target port, and determines a first error value on the first-level target port side based on relevant parameters of the call instruction and the call instruction receipt; A second error calculation module sends the call instruction receipt to the plurality of secondary target ports and updates the timestamp of the call instruction receipt according to the first error value. After receiving the call instruction receipt, the secondary target port determines a second error value on the secondary target port side based on the first error value and uploads the second error value to the smart terminal. A secondary priority processing module, in which the intelligent terminal determines the secondary priority of the secondary target port according to the call instruction and the second error value, and creates multiple call orders based on the secondary priority. Whenever a call order is created, the intelligent terminal updates the parameter status of the current secondary target port; The first priority processing module calculates the first priority of the call order based on the second priority of the call order, the call item parameters and the parameters of the same category items of the first-level target port, and sends the call order to the first-level target port in sequence based on the first priority and the first error value, and synchronously updates the parameter status of the first-level target port.

Citation Information

Patent Citations

  • Time phase work pool management for returned inventory asset routing

    US20090299881A1

  • Task queuing methodology for reducing traffic jam and to control transmission priority in an automatic material handling system

    US7664561B1