Shipping information verification method, device, system and computer equipment
After receiving the weighing reading instruction of the transport vehicle at the weighing node, the current weighing data is directly read from the weighing node as the reference data and recorded it in the shipping record, the problem of inaccurate weighing data of the transport vehicle is solved, and the accuracy and reliability of the shipping information are improved.
Patent Information
- Application Number
- CN202410151896.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-02-02
AI Technical Summary
In the prior art, when the transport vehicle weighs before and after loading, there may be inaccurate weighing data caused by signal interference or cheating, which will affect the accuracy and reliability of the shipping information recorded by the order management system.
After receiving the weighing reading instruction of the transport vehicle at the weighing node, the current weighing data is read directly from the weighing node as reference data and recorded it in the shipping record, and the shipping information recorded by the order management system is then approved.
It improves the accuracy and reliability of shipping information, reduces economic losses caused by inaccurate shipping information, and reduces the risk of cheating during shipping.
Smart Images

Figure CN118171995B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, system, computer equipment, storage medium and computer program product for verifying shipping information. Background Art
[0002] In order to improve the shipping efficiency of materials (such as coal, sand and gravel, etc.), an order management system based on automatic weighing has emerged. Usually, before a transport vehicle enters the factory to load materials, it is weighed by swiping a card on the tare scale, and after loading, it is weighed by swiping a card on the gross scale. The order management system obtains the weighing data of the scale and records the vehicle's tare weight, gross weight, the difference between the two (net weight), weighing time, license plate number and other shipping information as the basis for order accounting.
[0003] In actual applications, there may be signal interference or other cheating methods that cause the tare weight or gross weight data recorded by the order management system to be inaccurate. That is, the shipping information recorded by the order management system may not be consistent with the actual situation. If order accounting is based on incorrect shipping information, it will cause economic losses. Summary of the invention
[0004] Based on this, it is necessary to provide a shipping information verification method, device, system, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy and reliability of shipping information in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for verifying shipping information. The method comprises:
[0006] Receiving a weighing reading instruction triggered by a weighing operation performed at a weighing node during the transportation vehicle's execution of a shipping task;
[0007] Reading the current weighing data of the weighing node to obtain reference weighing data, and recording the reference weighing data in the shipping record of the transport vehicle performing the shipping task;
[0008] The shipping information of the transport vehicle performing the shipping task recorded in the order management system is verified based on the reference weighing data recorded in the shipping record.
[0009] In one of the embodiments, the weighing node includes a first type weighing node, and the first type weighing node is used by the order management system to generate shipping information based on the weighing data of the transport vehicle at the first type weighing node;
[0010] The verifying, based on the reference weighing data recorded in the shipping record, the shipping information of the transport vehicle performing the shipping task recorded in the order management system includes:
[0011] Comparing the reference weighing data corresponding to the first type of weighing node in the shipping record with the weighing data corresponding to the same weighing node in the shipping information recorded by the order management system to obtain a first comparison result;
[0012] A shipping information approval result is determined based on the first comparison result.
[0013] In one embodiment, the weighing node further includes a second type weighing node, and the second type weighing node is an approval node corresponding to the first type weighing node; and determining the shipping information approval result based on the first comparison result includes:
[0014] Comparing the reference weighing data corresponding to the second type weighing node in the shipping record with the reference weighing data corresponding to the first type weighing node to obtain a second comparison result;
[0015] Based on the first type comparison result and the second type comparison result, a shipping information approval result is determined.
[0016] In one embodiment, the weighing reading instruction corresponding to the first type weighing node is a first type weighing reading instruction sent by the order management system, the first type weighing reading instruction includes weighing data to be approved, and the weighing data to be approved is the same as the weighing data in the shipping information recorded by the order management system; the method further includes:
[0017] In the case where the received weighing reading instruction is a first type weighing reading instruction, recording the weighing data to be approved contained in the weighing reading instruction in the shipping record of the transport vehicle performing the shipping task;
[0018] The step of comparing the reference weighing data corresponding to the first type of weighing node in the shipping record with the weighing data corresponding to the same weighing node in the shipping information recorded by the order management system to obtain a first comparison result includes:
[0019] The reference weighing data corresponding to the first type of weighing node in the shipping record is compared with the weighing data to be approved to obtain a first comparison result.
[0020] In one embodiment, before verifying the shipping information of the transport vehicle performing the shipping task recorded by the order management system based on the reference weighing data recorded in the shipping record, the method further includes:
[0021] Updating the shipping status information in the shipping record, wherein the shipping status information is used to reflect the shipping status of the transport vehicle in executing the shipping task;
[0022] When the shipping status of the transport vehicle performing the shipping task reaches the target status, the step of verifying the shipping information of the transport vehicle performing the shipping task recorded in the order management system based on the reference weighing data recorded in the shipping record is executed.
[0023] In one embodiment, there are multiple weighing nodes, each weighing node has a different weighing order; the shipping status information includes a node sequence, each element in the node sequence corresponds to a weighing node, and the order of the elements in the node sequence is the same as the weighing order of the corresponding weighing nodes, and each element in the initial node sequence is a first value; updating the shipping status information in the shipping record includes:
[0024] Determining a target weighing node according to the weighing node information contained in the weighing reading instruction;
[0025] Updating the element corresponding to the target weighing node in the node sequence of the current record of the shipping record to a second value to obtain an updated node sequence;
[0026] The shipping status is determined according to the updated node sequence.
[0027] In one embodiment, the shipping status includes completed, in progress, abnormal scale trip, abnormal scale trip and completed; and determining the shipping status according to the updated node sequence includes:
[0028] Add each element in the updated node sequence to obtain a first sum value;
[0029] Determine a target element that is ranked last among the elements having the second value in the node sequence;
[0030] The shipping status is determined based on the first sum value and the maximum sum value corresponding to the target element, wherein the maximum sum value corresponding to the target element is the sum of the elements when the target element and the preceding elements in the node sequence are all the second values and the elements after the target element are all the first values.
[0031] In one embodiment, determining the shipping status according to the first sum value and the maximum sum value corresponding to the target element includes:
[0032] If the first sum value is equal to the maximum sum value corresponding to the target element, and the target element is the last element, the shipping status is determined to be completed;
[0033] If the first sum value is equal to the maximum sum value corresponding to the target element, and the target element is not the last element, determining the shipping status as in progress;
[0034] If the first sum is less than the maximum sum corresponding to the target element, and the target element is the last element, the shipping status is determined as abnormal scale jump and completed;
[0035] If the first sum value is smaller than the maximum sum value corresponding to the target element, and the target element is not the last element, the shipping status is determined as abnormal scale jump.
[0036] In one embodiment, the reading of the current weighing data of the weighing node to obtain the reference weighing data includes:
[0037] Determining whether the weighing reading instruction is a real-time instruction according to the time difference between the weighing operation time included in the weighing reading instruction and the current time;
[0038] In the case where the weighing reading instruction is a real-time instruction, the current weighing data of the weighing node is read to obtain the reference weighing data.
[0039] In one embodiment, there are multiple weighing nodes, each weighing node has a different weighing order; the weighing operation instruction includes vehicle information and weighing operation information of the transport vehicle, the weighing operation information includes weighing operation time and weighing node information; the shipping record also records the weighing operation information; recording the reference weighing data in the shipping record of the transport vehicle performing the shipping task includes:
[0040] Determine the target shipping record corresponding to the weighing reading instruction according to the weighing operation information contained in the weighing reading instruction, the historical weighing operation information in the historical shipping record of the transport vehicle, and the weighing sequence of the weighing nodes;
[0041] The reference weighing data and the weighing operation information included in the weighing reading instruction are recorded in the target shipping record.
[0042] In one embodiment, determining the target shipping record corresponding to the weighing reading instruction according to the weighing operation information contained in the weighing reading instruction, the historical weighing operation information in the historical shipping record of the transport vehicle, and the weighing sequence of the weighing nodes includes:
[0043] Taking the weighing operation time included in the weighing reading instruction as the target operation time, searching for the previous weighing operation information and the next weighing operation information whose weighing operation time is adjacent to the target operation time in the historical weighing operation information in the historical shipping record of the transport vehicle;
[0044] Based on the weighing order of the weighing nodes corresponding to the previous weighing operation information and the weighing order of the weighing nodes corresponding to the weighing reading instruction, the target shipping record is determined among the historical shipping record to which the previous weighing operation information belongs, the historical shipping record to which the next weighing operation information belongs, and the newly created shipping record.
[0045] In one embodiment, the determining of the target shipping record from the historical shipping record to which the previous weighing operation information belongs, the historical shipping record to which the next weighing operation information belongs, and the newly created shipping record based on the weighing order of the weighing nodes corresponding to the previous weighing operation information and the weighing order of the weighing nodes corresponding to the weighing reading instruction includes:
[0046] In the case where the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is not later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, determining the historical shipping record to which the previous weighing operation information belongs as the target shipping record;
[0047] If the weighing order of the weighing node corresponding to the previous weighing operation information is later than the weighing order of the weighing node corresponding to the weighing reading instruction, and the next weighing operation information exists, determining the historical shipping record to which the next weighing operation information belongs as the target shipping record;
[0048] When the weighing order of the weighing nodes corresponding to the previous weighing operation information is later than the weighing order of the weighing nodes corresponding to the weighing reading instruction, and the next weighing operation information does not exist, a new shipping record corresponding to the transport vehicle is created as the target shipping record.
[0049] In a second aspect, the present application also provides a shipping information verification device. The device comprises:
[0050] A receiving module, used to receive a weighing reading instruction triggered by a weighing operation performed at a weighing node during the transportation vehicle's execution of a shipping task;
[0051] A recording module, used for reading the current weighing data of the weighing node, obtaining reference weighing data, and recording the reference weighing data in the shipping record of the transport vehicle performing the shipping task;
[0052] An approval module is used to approve the shipping information of the transport vehicle performing the shipping task recorded by the order management system based on the reference weighing data recorded in the shipping record.
[0053] In a third aspect, the present application also provides a monitoring system. The monitoring system includes a server and a client, wherein:
[0054] The server is used to receive a weighing reading instruction triggered by a weighing operation performed at a weighing node during the execution of a shipping task by a transport vehicle; read the current weighing data of the weighing node to obtain reference weighing data, and record the reference weighing data in a shipping record of the transport vehicle executing the shipping task; based on the reference weighing data recorded in the shipping record, verify the shipping information of the transport vehicle executing the shipping task recorded in the order management system, and send the shipping information verification result to the client;
[0055] The client is used to display the shipping information approval result.
[0056] In a fourth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0057] In a fifth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0058] In a sixth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0059] The above-mentioned shipping information verification method, device, computer equipment, storage medium and computer program product trigger the monitoring system to read the weighing data from the weighing node when the transport vehicle is weighing at the weighing node, so that the monitoring system can use the weighing data directly read from the weighing node as the reference weighing data, and compare and verify it with the weighing data in the shipping information recorded by the order management system. The verification result can reflect the accuracy and reliability of the shipping information recorded by the order management system. If they are the same or similar, it means that the accuracy and reliability are high, and the order can be calculated based on the shipping information; if the difference is large, it means that the accuracy and reliability are low, and an alarm can be issued to perform other processing such as re-weighing and re-inspection to ensure that the shipping information is accurate before performing order calculation, thereby improving the accuracy of order calculation and reducing losses. In addition, through the approval and supervision of this solution, cheating operations in the shipping process can be reduced, thereby improving the accuracy of shipping information. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A diagram of an application environment of a method for verifying shipping information in an embodiment;
[0061] Figure 2It is a flowchart of a method for verifying shipping information in one embodiment;
[0062] Figure 3 A schematic diagram of a process for updating a shipping record according to an embodiment;
[0063] Figure 4 is a structural block diagram of a shipping information verification device in one embodiment;
[0064] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] First of all, before specifically introducing the technical solution of the embodiment of the present application, the technical background or technical evolution context on which the embodiment of the present application is based is introduced. In order to improve the efficiency of material or resource shipment and accounting, an order management system based on an automatic weighing system (weighing system) has emerged. By setting two weighing nodes, a pico scale and a gross scale, at the material shipping site (such as a coal yard, a sand and gravel yard, etc.), the pico scale weighing node is used for return weighing (empty truck before loading), and the gross scale weighing node is used for heavy truck weighing (heavy truck after loading), and each weighing node is provided with at least one floor scale and a corresponding card reader. Before entering the site to load materials, the transport vehicle drives into the weighing scale at the tare weighing node, and the driver swipes the card on the corresponding card reader (such as an ID card or other card collected before entering the site, which has a corresponding relationship with the vehicle information). The order management system records the tare weight data of the vehicle (tare weight, weighing time, etc.), and then the vehicle drives into the loading area to load materials (such as a silo), and after loading, it drives into the weighing scale at the gross weighing node to swipe the card for weighing, and the order management system records the gross weight data (gross weight, weighing time, etc.). Then the order management system can calculate the net weight of the material based on the tare weight data and gross weight data.
[0067] The tare weight, gross weight, net weight, weighing time, license plate number, shipper, consignee and other information recorded by the order management system is the shipping information of the vehicle performing this shipping task, which will be used for order accounting. However, in actual applications, there may be signal interference at the scale or other cheating methods that cause the tare weight or gross weight data recorded by the order system to be inaccurate, that is, the shipping information recorded by the order management system may not be consistent with the actual situation. However, the relevant technology does not verify the shipping information recorded by the order management system, and it is impossible to know whether the shipping information is accurate and reliable. If order accounting is based on incorrect shipping information, it may cause economic losses to the shipper or consignee.
[0068] Based on this background, the applicant, through long-term research and development and experimental verification, proposed the shipping information approval method of the present application, which connects the supervision system with the weighing node, and directly reads the weighing data from the weighing node when the vehicle is weighing, and is used to verify the weighing data in the shipping information recorded by the order management system, so as to improve the accuracy and reliability of the shipping information, thereby improving the accuracy of order accounting, and avoiding economic losses caused by accounting based on inaccurate shipping information. Moreover, through the approval and supervision of this solution, cheating operations in the shipping process can be reduced, thereby improving the accuracy of shipping information. In addition, it should be noted that the applicant has made a lot of creative work in the discovery of the technical problem of the present application and the technical solutions introduced in the following embodiments.
[0069] The shipping information verification method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the monitoring system 102 is communicated with the weighing system 104 and the order management system 106. The weighing system 104 includes a plurality of weighing nodes, each of which usually has a weighing device (such as a floor scale or a truck scale) and a corresponding card reading device (such as a card reader or a card reader and code scanner integrated machine). The order management system 106 can be implemented by a server and / or a terminal, and is communicated with the weighing system 104 (at least part of the weighing nodes) to obtain the data of the vehicle swiping the card and weighing at the corresponding weighing node, and record it as shipping information. The monitoring system 102 may include a server and a client, and obtains the reference weighing data of the weighing node and the shipping information of the order management system (at least including the weighing data to be approved) through the server, and compares and approves the two, and can display the approval results and shipping status and other information through the client, and perform interactive processing such as related data configuration. It can be understood that a material shipping site is usually equipped with a weighing system and an order management system. The monitoring system of this solution can be connected with the order management systems and weighing systems of multiple material shipping sites to realize the approval of shipping information of multiple material shipping sites. For example, the monitoring system can be deployed at the headquarters of a coal mining group to monitor the material shipping situation of each coal yard under the group.
[0070] In one embodiment, Figure 2 As shown, a method for verifying shipping information is provided, which is applied to Figure 1 The monitoring system in the example is used to illustrate, including the following steps:
[0071] Step 202: receiving a weighing reading instruction triggered by a weighing operation performed at a weighing node by a transport vehicle during the execution of a shipping task.
[0072] In implementation, there may be multiple weighing nodes, each with a different weighing order. During the delivery task, the transport vehicle needs to be weighed at least at two weighing nodes, namely, the tare weight node and the gross weight node (the weighing order of the tare weight node is first, and the gross weight order is later), so that the order management system can obtain the tare weight of the empty vehicle and the gross weight after loading, and then generate the delivery information for order accounting. The two weighing nodes that are connected to the order management system can be called the first type of weighing nodes.
[0073] When a transport vehicle is weighed at a weighing node by swiping a card or scanning a code, it can trigger a weighing reading instruction to be sent to the monitoring system, which is used to instruct the monitoring system to obtain the current weighing data from the corresponding scale. The weighing reading instruction can include vehicle information, weighing node information, weighing operation time and other weighing operation information, indicating that the vehicle is weighed at the weighing node (a specific scale) at the weighing operation time. The vehicle information can be a license plate number, or other identification information that can correspond to the vehicle one-to-one, such as the driver's ID number, the card number collected before entering the site, etc., and the corresponding license plate number can be found through the identification information.
[0074] The weighing node information may include information such as the scale identification, node type and node attributes. The node type includes a first type of weighing node (which may be called a metering node), that is, a weighing node connected to the order management system. The node attributes generally include a picoscale node and a gross pound node. Optionally, the weighing node information may only include a scale identification, and the monitoring system may search for the node type and node attributes of the scale in the pre-stored correspondence between the scale identification and the node type and node attributes. It is understandable that weighing nodes of the same type and attributes may include multiple scales, such as multiple metering picoscales and multiple metering gross scales, and the vehicle may be weighed on any metering picoscale and metering gross scale.
[0075] The weighing reading instruction can be generated by the weighing node and sent to the monitoring system. For example, when a transport vehicle swipes a card at a card reader of a weighing node, the industrial computer of the weighing node is triggered to send a weighing reading instruction to the monitoring system (or directly send the instruction through the smart scale).
[0076] The weighing reading instruction can also be generated by the order management system and sent to the monitoring system. For example, when a vehicle is weighed by swiping a card, the order management system can obtain the vehicle information, weighing operation time, weighing node information and weighing data, and then send the weighing reading instruction containing relevant information to the monitoring system in a timely manner.
[0077] Step 204, read the current weighing data of the weighing node, obtain reference weighing data, and record the reference weighing data in the shipping record of the transport vehicle performing the shipping task.
[0078] In implementation, after the monitoring system receives the weighing reading instruction sent by the weighing node or order management system, it can determine the scale to be read according to the weighing node information contained in the weighing reading instruction, and then find the reading address corresponding to the scale in the pre-stored data, and obtain the current weighing data of the scale through the reading address as the reference weighing data at the weighing node when the transport vehicle performs the shipping task. Afterwards, the monitoring system can store the reference weighing data in the shipping record corresponding to the transport vehicle, so as to be used for the approval of the shipping information of the transport vehicle to perform the shipping task. In order to find the reference weighing data that matches the weighing data to be approved (the weighing data in the shipping information) from the shipping record, the vehicle information, the reference weighing data, and the weighing operation time and the weighing node information corresponding to the reference weighing data can be recorded in the shipping record, and the weighing operation time can be consistent with the weighing operation time in the weighing reading instruction. Optionally, the current reading time can also be recorded.
[0079] The same transport vehicle usually performs more than one shipping task. All weighing data of the same transport vehicle performing different shipping tasks can be recorded in the same shipping record, and then the corresponding approval data can be matched according to the weighing time of the reference weighing data and the weighing time in the shipping information. The weighing data of the same transport vehicle performing different shipping tasks can also be recorded in different shipping records. For example, when a weighing reading instruction is received that is triggered by the weighing node that is the first in the weighing sequence of the transport vehicle, a new shipping record can be created, and the vehicle information and the reference weighing data and weighing time of the weighing node can be recorded in the shipping record (or stored in correspondence with the unique identifier of the shipping record). When a new weighing reading instruction (not a node in the first weighing sequence) is received, the shipping record of the transport vehicle can be matched in the historical shipping record according to the vehicle information contained in the instruction, and then the relevant data can be recorded in the corresponding shipping record.
[0080] Step 206: verify the shipping information of the transport vehicle performing the shipping task recorded in the order management system based on the reference weighing data recorded in the shipping record.
[0081] In implementation, the monitoring system can compare the reference weighing data in the shipping record with the weighing data in the shipping information recorded by the order management system after the transport vehicle completes the weighing operation at the last weighing node (the last in the weighing sequence) during the shipping task, so as to verify the shipping information. For example, the monitoring system can compare the reference weighing data of the transport vehicle at the measuring picometer node and the measuring gross pound node with the picometer data and gross pound data of the transport vehicle performing the shipping task recorded by the order management system. If they are the same or similar (the difference between the two is not greater than the preset threshold), the verification is passed, indicating that the accuracy and reliability of the shipping information are high and can be used for order accounting; if at least one is different (there is at least one weighing node The difference between the reference weighing data and the weighing data recorded by the order management system is greater than the preset threshold), the verification is not passed, indicating that the accuracy of the shipping information is low, and re-weighing or manual re-inspection is required to ensure that the shipping information is accurate before accounting. The monitoring system can display the approval results of each vehicle executing each shipping task and / or the comparison results of each weighing node through the client for users to view in real time. Among them, the result of comparing the reference weighing data of each weighing node with the weighing data of each weighing node recorded by the order management system is the first comparison result. The first comparison result can include the comparison of each weighing node. If the difference between the reference weighing data corresponding to the weighing node and the weighing data to be approved recorded by the order management system is not greater than the preset threshold, the comparison of the weighing node passes. If it is greater than the preset threshold, the comparison of the weighing node fails. Then the monitoring system can determine the approval result based on the comparison results of each weighing node.
[0082] It can be understood that the order management system can send the weighing data of the transport vehicle at each weighing node (i.e., the data recorded by the order management system, which is consistent with the weighing data in the shipping information) and the vehicle information, weighing time, weighing node information, etc. to the monitoring system in a timely manner after each weighing operation is triggered at a weighing node. At this time, the monitoring system can record the received weighing data in the matching shipping record, so that the reference weighing data and the weighing data to be approved can be obtained from the shipping record for comparison during approval. The order management system can also send the weighing data of the transport vehicle at each weighing node during the execution of the shipping task to the monitoring system after the transport vehicle executes the last weighing node of the shipping task. The monitoring system can match the corresponding reference weighing data from the shipping record for comparison based on the vehicle information, weighing time, and weighing node information.
[0083] In some embodiments, the weighing node further includes a second type weighing node. The second type weighing node is an approval node corresponding to the first type weighing node. The shipping information approval process further includes the following steps: comparing the reference weighing data corresponding to the second type weighing node in the shipping record with the reference weighing data corresponding to the first type weighing node to obtain a second comparison result; and determining the shipping information approval result based on the first type comparison result and the second type comparison result.
[0084] In implementation, a second type of weighing node, which can be called an approval node, can be set at the material shipping site to compare and approve the weighing data of the metering node (first type weighing node) to improve the accuracy and reliability of the approval result. The accuracy of order accounting can be guaranteed by calculating based on the approved shipping information. Specifically, an approved picot scale node corresponding to the metering picot scale node and an approved gross pound node corresponding to the metering gross pound node can be set. When the transport vehicle is performing the shipping task, it must weigh at each weighing node in sequence. The weighing sequence satisfies that the picot scale is before the gross pound, and the order of measurement and approval can be arbitrary. In one example, each weighing node is sorted in order of weighing: metering picot scale node (first in weighing sequence), approved picot scale node, approved gross pound node, metering gross pound node (last in weighing sequence). An approved scale can be set at the material loading site (for example, the silo scale of the coal yard is used as an approved scale).
[0085] Therefore, the monitoring system can compare the reference weighing data of the transport vehicle at the metering picoscale node and the metering gross pound node with the picoscale data and gross pound data of the transport vehicle performing the shipping task recorded by the order management system (which can be called in-scale comparison), and obtain the first comparison result (each weighing node comparison passes or fails), and compare the reference weighing data of the transport vehicle at the metering picoscale node and the metering gross pound node with the reference weighing data of the transport vehicle at the approved picoscale node and the approved gross pound node (which can be called inter-scale comparison), and obtain the second comparison result (each attribute weighing node comparison passes or fails). If all weighing nodes are compared and passed, it indicates that the accuracy and reliability of the shipping information are high and can be used for order accounting; if at least one weighing node fails to compare, the approval is not passed, indicating that the accuracy of the shipping information is low, and re-weighing or manual re-inspection is required to ensure that the shipping information is accurate before accounting. The accuracy and credibility of the shipping information approval result are higher.
[0086] It is understandable that the order management system does not need to communicate with the scale of the approval node, so the weighing reading instruction corresponding to the approval node can be sent directly through the weighing node. The weighing reading instruction corresponding to the metering node can be sent through the weighing node or through the order management system.
[0087] In some embodiments, in order to improve the operating efficiency and the compatibility of the monitoring system with the original order management system and the weighing system, the weighing reading instruction of the metering node can be configured to be sent through the order management system, and this type of weighing reading instruction can be called a first type instruction. The first type instruction can include vehicle information, weighing node information, weighing operation time and weighing data to be approved (i.e., weighing data in the shipping information), so that the monitoring system can store the obtained reference weighing data and the weighing data to be approved in the shipping record, and can directly obtain them from the shipping record when comparing.
[0088] In some embodiments, the monitoring system can monitor the shipping status of each shipping task in real time so that the shipping information verification step can be executed in time when the target status is reached to improve efficiency. In this embodiment, before step 206, the method further includes the following steps: updating the shipping status information in the shipping record; when the shipping status of the transport vehicle performing the shipping task reaches the target status, executing the step of verifying the shipping information of the transport vehicle performing the shipping task recorded in the order management system based on the reference weighing data recorded in the shipping record in step 206.
[0089] In implementation, the monitoring system may record the shipping status information in the shipping record of the transport vehicle performing the shipping task. The shipping status information is used to reflect the shipping status of the transport vehicle performing the shipping task, and the shipping status may reflect the execution status of the transport vehicle performing the shipping task, such as the progress. In one example, the shipping status may include completed, in progress, abnormal scale jump, and abnormal scale jump and completed. Among them, the completed status indicates that the transport vehicle has completed the weighing of all weighing nodes involved in the shipping task. In progress means that the transport vehicle has not completed the weighing of all weighing nodes involved in the shipping task, and the weighed nodes are executed sequentially in the weighing order, and there is no situation where a node with an earlier order is skipped and the next node with a later order is executed. Abnormal scale jump means that the weighing of all nodes including the last node (gross weight node) is not completed, and the weighing is not sequentially carried out in the weighing order. There is a situation where a weighing node with an earlier order is skipped and the weighing of a weighing node with a later order is executed. Abnormal scale jump and completion means that the weighing of the last node has been executed, but the weighing of all nodes has not been completed in sequence according to the weighing order. There is a situation where a weighing node with an earlier order is skipped and the weighing of a weighing node with a later order is executed. The target state can be the state where the weighing of the last weighing node has been completed, for example, it can be abnormal scale jump and completion, completed.
[0090] In one implementation, the shipping status information may include a node sequence and a shipping status identifier. Each element in the node sequence corresponds to a weighing node, and the order of the element in the node sequence is the same as the weighing order of the corresponding weighing node, and each element in the initial node sequence is a first numerical value. For example, the first numerical value may be 0 or other numerical values. For the case of 4 weighing nodes, the initial node sequence is (0, 0, 0, 0). It should be noted that the shipping status identifier is used to uniquely identify a shipping status, and a shipping status may correspond to one or more node sequences.
[0091] Correspondingly, the process of updating the shipping status information may include the following steps: determining the target weighing node based on the weighing node information contained in the weighing reading instruction; setting the value of the element corresponding to the target weighing node in the node sequence of the current record of the shipping record to a second numerical value to obtain an updated node sequence; and determining the shipping status based on the updated node sequence.
[0092] The second value is a value different from the first value and may be 1 or other values.
[0093] In implementation, if it is a newly created shipping record, the monitoring system can update the element corresponding to the target weighing node in the initial node sequence from the first value (0) to the second value (1), obtain an updated node sequence, and record it in the shipping record. If it is an existing shipping record, the node sequence of the current record can be updated. Then, the monitoring system can determine the shipping status based on the updated node sequence. For example, if the updated node sequence is (1, 0, 0, 0), the shipping status is in progress; if it is (1, 0, 1, 0), the shipping status is abnormal scale jump; if it is (1, 1, 1, 1), the shipping status is completed; if it is (1, 0, 0, 1), the shipping status is abnormal scale jump and completed. The correspondence between various node sequences and shipping statuses can be stored in advance, so that the shipping status corresponding to the updated node sequence can be queried from the stored data.
[0094] In one implementation, the process of determining the shipping status according to the updated node sequence may specifically include the following steps:
[0095] S1, add each element in the updated node sequence to obtain the first sum value.
[0096] S2, determining the target element that is last in the order among the elements with the second value in the node sequence.
[0097] For example, if the node sequence is (1, 0, 1, 0), the third element is the target element, and its corresponding weighing order is the third weighing node (approved gross weight node).
[0098] S3, determining the shipping status according to the first sum value and the maximum sum value corresponding to the target element.
[0099] Among them, the maximum sum value corresponding to the target element is the sum value when the values of the target element and the previous elements in the node sequence are all the second value, and the value of the element after the target element is the first value. For example, if the third element is the target element, its corresponding maximum sum value is the sum of the elements in the node sequence (1, 1, 1, 0), that is, 3. It can be understood that the first value and the second value can be other values. Here, the second value is greater than the first value. If the second value is less than the first value, it can be adjusted adaptively.
[0100] For example, if the first sum is equal to the maximum sum corresponding to the target element, and the target element is the last element, the shipping status can be determined as completed; if the first sum is equal to the maximum sum corresponding to the target element, and the target element is not the last element, the shipping status can be determined as in progress; if the first sum is less than the maximum sum corresponding to the target element, and the target element is the last element, the shipping status can be determined as an abnormal scale jump and completed; if the first sum is less than the maximum sum corresponding to the target element, and the target element is not the last element, the shipping status can be determined as an abnormal scale jump.
[0101] In this embodiment, since there are multiple weighing nodes, the transport vehicle may not necessarily perform the weighing of all weighing nodes in sequence, and it is particularly easy to skip the approval node. There may also be factors such as network delays and interruptions, which may cause the order of receiving the weighing reading instructions to be inconsistent with the actual weighing order, and there is also a situation where the vehicle is weighed repeatedly at the same node. Therefore, the same shipping status may include multiple weighing situations. If only the shipping status identifier is recorded, it is difficult to directly update the shipping status based on the shipping status identifier based on the newly received weighing reading instruction (which may be a repeated instruction, a real-time instruction, or a delayed instruction). This scheme uses a node sequence as the shipping status information, and each element in the sequence corresponds to a weighing node. When the monitoring system receives a weighing reading instruction, it means that the vehicle has performed a weighing operation at the node (regardless of whether it is real-time or repeated), so the corresponding element value in the node sequence can be updated, and then the corresponding shipping status can be judged based on the updated node sequence. Thus, the shipping status can be quickly and accurately determined, which is conducive to real-time monitoring of the shipping status, timely triggering of the approval operation, and improving overall efficiency. In addition, users can freely configure and adjust the weighing nodes and quantity required for the shipping task in the monitoring system (such as not enabling the approval node, or setting up multiple sets of approval nodes or multiple sets of metering nodes). Through this method, it is only necessary to generate the corresponding node sequence based on the currently configured number of nodes. Therefore, this solution is widely applicable and highly compatible.
[0102] In some embodiments, due to factors such as network delays and interruptions in the actual application process, the instructions are not sent to the monitoring system in a timely manner, resulting in a long time between the time the monitoring system receives the instructions and the weighing operation time. The transport vehicle may have left the weighing node at the current time, and the current reading cannot be used as reference data. Therefore, in order to ensure the accuracy of the verification result, the method may also include a step of determining whether it is a real-time instruction.
[0103] In this embodiment, the process of obtaining reference weighing data in step 204 specifically includes the following steps: judging whether the weighing reading instruction is a real-time instruction based on the time difference between the weighing operation time contained in the weighing reading instruction and the current time; when the weighing reading instruction is a real-time instruction, reading the current weighing data of the weighing node to obtain the reference weighing data.
[0104] In this embodiment, the monitoring system can determine whether it is a real-time instruction (the time difference is less than a preset threshold) after receiving the weighing reading instruction, that is, the time difference between the time of receiving the instruction and the time of the vehicle weighing operation is small, and the vehicle is still on the scale of the weighing node at this time, so the monitoring system can read the current weighing data from the scale as reference weighing data. If the weighing reading instruction is not a real-time instruction, that is, the time difference is large, then the vehicle has currently left the scale of the node and the weighing data of the vehicle cannot be read. The reference weighing data of the vehicle at the weighing node can be recorded as empty to avoid comparison based on erroneous data and ensure the reliability of the verification result. At this time, if the weighing node is a metering node, the reference weighing data of the approval node corresponding to the metering node can be compared with the weighing data in the shipping information, and the verification result is determined based on the comparison result.
[0105] In some embodiments, due to network delays, interruptions, and the situation where the transport vehicle repeatedly swipes the card for weighing at the same weighing node, if a new shipping record is created when the weighing data of the transport vehicle at the first node is received, and the data of other weighing nodes received after the data is used as the data of the same shipping record, it is easy to mistakenly classify the data of the same vehicle performing different shipping tasks as the data of the same shipping task, or mistakenly record the data of the same shipping task as the shipping record of different shipping tasks, and then the situation of comparing and approving unmatched data may occur, resulting in low accuracy and reliability of the approval result. In addition, if the weighing data cannot be correctly recorded in the matching shipping record, it will affect the accurate judgment of the shipping status, and the approval operation of the shipping information cannot be triggered in time when the target status is actually reached, which affects the approval efficiency and also affects the approval reliability of the monitoring system. Therefore, in order to ensure the accuracy and reliability of the approval results of the monitoring system, after receiving the weighing reading instruction, the following process can be used to accurately find the shipping record corresponding to the instruction, so that the relevant data can be recorded in the matching shipping record. Figure 3 As shown, the process of recording the reference weighing data in the shipping record of the transport vehicle performing the shipping task in step 204 specifically includes the following steps:
[0106] Step 301 : determining a target shipping record corresponding to the weighing reading instruction according to the weighing operation information contained in the weighing reading instruction, the historical weighing operation information in the historical shipping record of the transport vehicle, and the weighing sequence of the weighing nodes.
[0107] Among them, the shipping record can record the weighing operation information such as vehicle information, weighing operation time and weighing node, so as to accurately find the reference weighing data and the weighing data to be approved at each weighing node when the vehicle performs the same shipping task in the shipping record for comparison and approval. After receiving the weighing reading instruction, the monitoring system can search the historical shipping records (i.e., the created shipping records) for whether there is a shipping record in which the weighing operation of the instruction belongs to the same vehicle performing the same shipping task according to the vehicle information and weighing operation information contained in the instruction. If so, the historical shipping record is used as the target shipping record. If not, a new shipping record is created as the target shipping record.
[0108] Step 302, recording the reference weighing data and the weighing operation information included in the weighing reading instruction in the target shipping record.
[0109] In implementation, after the monitoring system determines the target shipping record corresponding to the instruction, the relevant data corresponding to the instruction can be recorded in the shipping record (or stored corresponding to the identification of the shipping record), so that the reference weighing data of each weighing node when the transport vehicle performs the same shipping task can be stored in the same shipping record. If the weighing reading instruction contains the weighing data to be approved recorded by the order management system, it can be stored in the shipping record together, and the shipping status information in the shipping record can also be updated. Through this method, the shipping records corresponding to each received weighing reading instruction can be found quickly and accurately, so that when the shipping status reaches the target state, the reference data of the metering node in the shipping record can be compared with the data to be approved, and the reference data of the metering node and the approval node can be compared to ensure the accuracy and reliability of the approval result.
[0110] In one implementation, the process of determining the target shipping record corresponding to the weighing reading instruction in step 301 specifically includes the following steps:
[0111] Step 3011, taking the weighing operation time included in the weighing reading instruction as the target operation time, searching for the previous weighing operation information and the next weighing operation information whose weighing operation time is adjacent to the target operation time in the historical weighing operation information of the historical shipping record of the transport vehicle.
[0112] For example, if the currently received weighing reading instruction is triggered by the weighing operation of vehicle A at the approved picoscale node (recorded as node 2) at time t1, and the current time is t5, the instruction is a non-real-time instruction. The monitoring system can find in the historical shipping record of vehicle A that its most recent weighing operation before t1 was weighing at the metering gross pound node (recorded as node 4) at time t0, and the weighing operation information and related weighing data are recorded in the shipping record B1; and its earliest weighing operation after t1 was weighing at the approved gross pound node (recorded as node 3) at time t2, and the weighing operation information and related weighing data are recorded in the shipping record B2. The weighing operation information recorded in the shipping record B1 at the weighing at node 4 at time t0 is the previous weighing operation information, and the weighing operation information recorded in the shipping record B2 at the weighing at node 3 at time t2 is the next weighing operation information. In this example, due to factors such as the vehicle jumping off the scale or delay in sending the command, the monitoring system first received the weighing reading command at node 3 at time t2, and therefore created the shipping record B2 based on the command.
[0113] Step 3012, based on the weighing order of the weighing nodes corresponding to the previous weighing operation information and the weighing order of the weighing nodes corresponding to the weighing reading instruction, determine the target shipping record from the historical shipping record to which the previous weighing operation information belongs, the historical shipping record to which the next weighing operation information belongs, and the newly created shipping record.
[0114] Specifically, when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is not later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, the historical shipment record to which the previous weighing operation information belongs is determined as the target shipment record; when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, and there is a next weighing operation information, the historical shipment record to which the next weighing operation information belongs is determined as the target shipment record; when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, and there is no next weighing operation information, a new shipment record corresponding to the transport vehicle is created as the target shipment record.
[0115] For example, the weighing node (node 4) corresponding to the previous weighing operation information in the above example has a weighing order of 4, and the weighing node (node 2) of the weighing reading instruction has a weighing order of 2. At this time, the weighing order (4) of the weighing node corresponding to the previous weighing operation information is later than the weighing order (2) of the weighing node corresponding to the weighing reading instruction, and there is a next weighing operation information, so the monitoring system can determine the historical shipping record B2 to which the next weighing operation information belongs as the target shipping record. Therefore, after receiving the weighing reading instruction, the monitoring system can quickly and accurately find the matching shipping record (historical record or newly created record) based on this method, regardless of whether it is a real-time instruction, a delayed instruction, or a repeated weighing instruction, thereby ensuring the data matching of the record, and then ensuring the accuracy and reliability of the approval result.
[0116] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0117] Based on the same inventive concept, the embodiment of the present application also provides a shipping information verification device for implementing the shipping information verification method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more shipping information verification device embodiments provided below can refer to the limitations of the shipping information verification method above, and will not be repeated here.
[0118] In one embodiment, Figure 4 As shown, a shipping information verification device 400 is provided, comprising: a receiving module 401, a recording module 402 and a verification module 403, wherein:
[0119] The receiving module 401 is used to receive a weighing reading instruction triggered by a weighing operation performed at a weighing node when a transport vehicle is performing a shipping task.
[0120] The recording module 402 is used to read the current weighing data of the weighing node, obtain the reference weighing data, and record the reference weighing data in the shipping record of the transport vehicle performing the shipping task.
[0121] The verification module 403 is used to verify the shipping information of the transport vehicle performing the shipping task recorded by the order management system based on the reference weighing data recorded in the shipping record.
[0122] In one embodiment, the weighing node includes a first type weighing node, and the first type weighing node is used by the order management system to generate shipping information based on the weighing data of the transport vehicle at the first type weighing node. The approval module 403 is specifically used to: compare the reference weighing data corresponding to the first type weighing node in the shipping record with the weighing data corresponding to the same weighing node in the shipping information recorded by the order management system to obtain a first comparison result; and determine the shipping information approval result based on the first comparison result.
[0123] In one embodiment, the weighing node further includes a second type weighing node, and the second type weighing node is an approval node corresponding to the first type weighing node. The approval module 403 is also used to: compare the reference weighing data corresponding to the second type weighing node in the shipping record with the reference weighing data corresponding to the first type weighing node to obtain a second comparison result; and determine the shipping information approval result based on the first type comparison result and the second type comparison result.
[0124] In one embodiment, the weighing reading instruction corresponding to the first type of weighing node is the first type of weighing reading instruction sent by the order management system, and the first type of weighing reading instruction contains weighing data to be approved, and the weighing data to be approved is the same as the weighing data in the shipping information recorded by the order management system. The recording module 402 is also used for: when the received weighing reading instruction is the first type of weighing reading instruction, recording the weighing data to be approved contained in the weighing reading instruction in the shipping record of the transport vehicle performing the shipping task. Correspondingly, the approval module 403 is also used for: comparing the reference weighing data corresponding to the first type of weighing node in the shipping record with the weighing data to be approved to obtain a first comparison result.
[0125] In one embodiment, the method further includes an updating module for updating the shipping status information in the shipping record, wherein the shipping status information is used to reflect the shipping status of the transport vehicle in performing the shipping task. The approval module 403 is also used to approve the shipping information of the transport vehicle in performing the shipping task recorded by the order management system based on the reference weighing data recorded in the shipping record when the shipping status of the transport vehicle in performing the shipping task reaches the target status.
[0126] In one embodiment, there are multiple weighing nodes, each weighing node has a different weighing order; the shipping status information includes a node sequence, each element in the node sequence corresponds to a weighing node, and the order of the element in the node sequence is the same as the weighing order of the corresponding weighing node, and each element in the initial node sequence is a first value. The update module is specifically used to: determine the target weighing node according to the weighing node information contained in the weighing reading instruction; update the element corresponding to the target weighing node in the node sequence of the current record of the shipping record to a second value to obtain an updated node sequence; determine the shipping status according to the updated node sequence.
[0127] In one embodiment, the update module is also used to: add each element in the updated node sequence to obtain a first sum value; determine the target element that is sorted last among the elements in the node sequence that are the second numerical value; determine the shipping status according to the first sum value and the maximum sum value corresponding to the target element, wherein the maximum sum value corresponding to the target element is the sum value of each element when the target element and the previous elements in the node sequence are all the second numerical value, and the elements after the target element are all the first numerical value.
[0128] In one of the embodiments, the update module is also used for: if the first sum value is equal to the maximum sum value corresponding to the target element, and the target element is the last element, determining the shipping status as completed; if the first sum value is equal to the maximum sum value corresponding to the target element, and the target element is not the last element, determining the shipping status as in progress; if the first sum value is less than the maximum sum value corresponding to the target element, and the target element is the last element, determining the shipping status as abnormal scale jump and completed; if the first sum value is less than the maximum sum value corresponding to the target element, and the target element is not the last element, determining the shipping status as abnormal scale jump.
[0129] In one of the embodiments, the recording module 402 is also used to: determine whether the weighing reading instruction is a real-time instruction based on the time difference between the weighing operation time contained in the weighing reading instruction and the current time; if the weighing reading instruction is a real-time instruction, read the current weighing data of the weighing node to obtain reference weighing data.
[0130] In one embodiment, there are multiple weighing nodes, each weighing node has a different weighing order; the weighing operation instruction includes the vehicle information and weighing operation information of the transport vehicle, and the weighing operation information includes the weighing operation time and weighing node information; the shipping record also records the weighing operation information. The recording module 402 is also used to: determine the target shipping record corresponding to the weighing reading instruction according to the weighing operation information included in the weighing reading instruction, the historical weighing operation information in the historical shipping record of the transport vehicle, and the weighing order of the weighing nodes; and record the reference weighing data and the weighing operation information included in the weighing reading instruction in the target shipping record.
[0131] In one of the embodiments, the recording module 402 is also used to: take the weighing operation time included in the weighing reading instruction as the target operation time, and search for the previous weighing operation information and the next weighing operation information whose weighing operation time are adjacent to the target operation time in the historical weighing operation information in the historical shipment record of the transport vehicle; based on the weighing sequence of the weighing nodes corresponding to the previous weighing operation information and the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, determine the target shipment record in the historical shipment record to which the previous weighing operation information belongs, the historical shipment record to which the next weighing operation information belongs, and the newly created shipment record.
[0132] In one of the embodiments, the recording module 402 is also used for: when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is not later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, determining the historical shipment record to which the previous weighing operation information belongs as the target shipment record; when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, and the next weighing operation information exists, determining the historical shipment record to which the next weighing operation information belongs as the target shipment record; when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, and the next weighing operation information does not exist, creating a new shipment record corresponding to the transport vehicle as the target shipment record.
[0133] Each module in the above-mentioned shipping information verification device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0134] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data required or generated for executing the above-mentioned shipping information approval method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a shipping information approval method is implemented.
[0135] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0136] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0137] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0138] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0139] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0140] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0141] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above 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.
[0142] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for verifying shipping information, characterized in that: The method comprises: Receiving a weighing reading instruction triggered by a weighing operation performed at a weighing node during the transportation vehicle's execution of a shipping task; Reading the current weighing data of the weighing node to obtain reference weighing data, and recording the reference weighing data in the shipping record of the transport vehicle performing the shipping task; Based on the reference weighing data recorded in the shipping record, verifying the shipping information of the transport vehicle performing the shipping task recorded in the order management system; There are multiple weighing nodes, each weighing node has a different weighing order; the weighing operation instruction includes vehicle information and weighing operation information of the transport vehicle, the weighing operation information includes weighing operation time and weighing node information; the shipping record also records the weighing operation information; the step of recording the reference weighing data in the shipping record of the transport vehicle performing the shipping task includes: Taking the weighing operation time included in the weighing reading instruction as the target operation time, searching for the previous weighing operation information and the next weighing operation information whose weighing operation time is adjacent to the target operation time in the historical weighing operation information in the historical shipping record of the transport vehicle; In the case where the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is not later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, determining the historical shipping record to which the previous weighing operation information belongs as the target shipping record; If the weighing order of the weighing node corresponding to the previous weighing operation information is later than the weighing order of the weighing node corresponding to the weighing reading instruction, and the next weighing operation information exists, determining the historical shipping record to which the next weighing operation information belongs as the target shipping record; In the case where the weighing sequence of the weighing node corresponding to the previous weighing operation information is later than the weighing sequence of the weighing node corresponding to the weighing reading instruction, and the next weighing operation information does not exist, creating a new shipping record corresponding to the transport vehicle as the target shipping record; The reference weighing data and the weighing operation information included in the weighing reading instruction are recorded in the target shipping record.
2. The method according to claim 1, characterized in that: The weighing node comprises a first type weighing node, and the first type weighing node is used by the order management system to generate shipping information based on weighing data of the transport vehicle at the first type weighing node; The verifying the shipping information of the transport vehicle performing the shipping task recorded in the order management system based on the reference weighing data recorded in the shipping record includes: Comparing the reference weighing data corresponding to the first type of weighing node in the shipping record with the weighing data corresponding to the same weighing node in the shipping information recorded by the order management system to obtain a first comparison result; A shipping information approval result is determined based on the first comparison result.
3. The method according to claim 2, characterized in that The weighing node further includes a second type weighing node, which is an approval node corresponding to the first type weighing node; and determining the shipping information approval result based on the first comparison result includes: Comparing the reference weighing data corresponding to the second type weighing node in the shipping record with the reference weighing data corresponding to the first type weighing node to obtain a second comparison result; Based on the first type comparison result and the second type comparison result, a shipping information approval result is determined.
4. The method according to claim 1, characterized in that: Before verifying the shipping information of the transport vehicle executing the shipping task recorded in the order management system based on the reference weighing data recorded in the shipping record, the method further includes: Updating the shipping status information in the shipping record, wherein the shipping status information is used to reflect the shipping status of the transport vehicle in executing the shipping task; When the shipping status of the transport vehicle performing the shipping task reaches the target status, the step of verifying the shipping information of the transport vehicle performing the shipping task recorded in the order management system based on the reference weighing data recorded in the shipping record is executed.
5. The method according to claim 4, characterized in that The number of the weighing nodes is multiple, and each weighing node has a different weighing order; the shipping status information includes a node sequence, each element in the node sequence corresponds to a weighing node, and the order of the elements in the node sequence is the same as the weighing order of the corresponding weighing nodes, and each element in the initial node sequence is a first value; the updating of the shipping status information in the shipping record includes: Determining a target weighing node according to the weighing node information contained in the weighing reading instruction; Updating the element corresponding to the target weighing node in the node sequence of the current record of the shipping record to a second value to obtain an updated node sequence; The shipping status is determined according to the updated node sequence.
6. The method according to claim 5, characterized in that The determining the shipping status according to the updated node sequence includes: Add each element in the updated node sequence to obtain a first sum value; Determine a target element that is ranked last among the elements having the second value in the node sequence; The shipping status is determined based on the first sum value and the maximum sum value corresponding to the target element, wherein the maximum sum value corresponding to the target element is the sum of the elements when the target element and the preceding elements in the node sequence are all the second values and the elements after the target element are all the first values.
7. The method according to claim 1, characterized in that The reading of the current weighing data of the weighing node to obtain the reference weighing data includes: Determining whether the weighing reading instruction is a real-time instruction according to the time difference between the weighing operation time included in the weighing reading instruction and the current time; In the case where the weighing reading instruction is a real-time instruction, the current weighing data of the weighing node is read to obtain the reference weighing data.
8. A shipping information verification device, characterized in that: The device comprises: A receiving module, used to receive a weighing reading instruction triggered by a weighing operation performed at a weighing node during the transportation vehicle's execution of a shipping task; A recording module, used for reading the current weighing data of the weighing node, obtaining reference weighing data, and recording the reference weighing data in the shipping record of the transport vehicle performing the shipping task; An approval module, used for approving the shipping information of the transport vehicle performing the shipping task recorded in the order management system based on the reference weighing data recorded in the shipping record; Among them, the number of weighing nodes is multiple, and each weighing node has a different weighing order; the weighing operation instruction includes vehicle information and weighing operation information of the transport vehicle, and the weighing operation information includes weighing operation time and weighing node information; the shipping record also records the weighing operation information; the recording module is specifically used to use the weighing operation time included in the weighing reading instruction as the target operation time, and in the historical weighing operation information in the historical shipping record of the transport vehicle, search for the previous weighing operation information and the next weighing operation information whose weighing operation time is adjacent to the target operation time; when the weighing order of the weighing node corresponding to the previous weighing operation information is not later than the weighing order of the weighing node corresponding to the weighing reading instruction, The historical shipping record to which the previous weighing operation information belongs is determined as the target shipping record; when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, and when the next weighing operation information exists, the historical shipping record to which the next weighing operation information belongs is determined as the target shipping record; when the weighing sequence of the weighing nodes corresponding to the previous weighing operation information is later than the weighing sequence of the weighing nodes corresponding to the weighing reading instruction, and when the next weighing operation information does not exist, a new shipping record corresponding to the transport vehicle is created as the target shipping record; the reference weighing data and the weighing operation information contained in the weighing reading instruction are recorded in the target shipping record.
Citation Information
Patent Citations
Goods flow direction management and control method and system
CN111210181A