Real-time Logistics Bill Data Processing Method and Device Based on Waybill Detail Adjustment
By monitoring and updating the change of cargo waybill detailed data, logistics bill data is processed in real time, and the problem of low accuracy in logistics bill data processing is solved, and the efficiency and accuracy of data processing is improved.
Patent Information
- Application Number
- CN202411374334.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2044-09-29
AI Technical Summary
In the prior art, the processing accuracy of logistics bill data is low and requires manual review and entry, which is prone to manual input errors or omissions of updates, which affects the accuracy of bill data.
By monitoring the changes in the detailed data of the cargo waybill, extracting changes information, updating relevant bill information, and recording operation logs, real-time logistics bill data processing is realized.
It improves the efficiency and accuracy of bill management, ensures data consistency between waybill details and bills, avoids data conflicts or inconsistencies, and solves the problem of low accuracy in logistics bill data processing.
Smart Images

Figure CN119204889B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and in particular to a real-time logistics bill data processing method and device based on waybill details adjustment. Background Art
[0002] Currently, in the existing express business processing, the reconciliation operation is generally carried out manually. Specifically, after the waybill details change, it is necessary for manual review and entry, and then the summary data of the associated bill table is manually updated. In this process, each change requires manual intervention and processing, not only with low execution efficiency, but also prone to manual input errors or missed updates, resulting in the accuracy of the bill data being affected. In addition, due to the diverse change factors of the waybill details, such as express price adjustment, service fee change, etc., the difficulty of manually updating the bill data is greatly increased. These change factors may occur at different times and frequencies, and each time complex calculations and adjustments need to be made to the bill table, which undoubtedly increases the complexity and difficulty of the reconciliation operation, resulting in errors easily occurring during the data processing process, making the accuracy of the current logistics bill data processing relatively low. Summary of the Invention
[0003] The purpose of the present invention is to provide a real-time logistics bill data processing method and device based on waybill details adjustment to solve the technical problem of relatively low accuracy in the current logistics bill data processing.
[0004] In a first aspect, an embodiment of the present application provides a real-time logistics bill data processing method based on waybill details adjustment, the method comprising:
[0005] Monitoring change events of waybill detail data of goods in the system; wherein, the change events include any one or more of adding a waybill, modifying waybill information, and deleting a waybill;
[0006] If it is detected according to the change event that the waybill detail data has changed, extracting change information of the changed waybill detail data; wherein, the change information includes the changed waybill ID, the changed content, and the bill ID field.
[0007] Using the bill ID field as a keyword and querying the bill record corresponding to the keyword in the logistics bill data corresponding to the goods to locate the bill to be updated corresponding to the change event;
[0008] Verifying whether the bill ID field in the waybill detail data matches the target bill ID in the bill to be updated, if it matches, determining that the association relationship between the waybill detail data and the bill to be updated is correct, and determining that the bill to be updated is in an editable state or a state to be updated;
[0009] Update the bill information of the bill to be updated according to the change information; updating the bill information includes any one or more of adjusting the total freight, changing the transportation mode, and updating the estimated delivery time;
[0010] Record the change events of the waybill detail data each time and the corresponding operations of updating the bill information to generate a bill data processing log;
[0011] Send the bill update signal corresponding to the bill data processing log to the target client corresponding to the goods, the logistics transportation end corresponding to the goods, and the financial monitoring end.
[0012] In a possible implementation, a positioning device is provided inside the box for placing the goods; the logistics transportation end corresponding to the goods includes the logistics management service end corresponding to the goods and the terminal of the logistics transportation personnel corresponding to the goods, and the target client corresponding to the goods includes the consignor terminal corresponding to the goods; the method further includes:
[0013] Obtain the current position where the goods are located through the positioning device;
[0014] Determine the real-time logistics data of the goods according to the multiple current positions corresponding to the goods at multiple moments during the logistics process and the transportation duration of the goods during the logistics process, and send the real-time logistics data to the consignor terminal corresponding to the goods;
[0015] Obtain a logistics change request sent by the consignor terminal, and send the logistics change request to the logistics management service end corresponding to the goods and the terminal of the original logistics transportation personnel corresponding to the goods; wherein, the logistics change request is generated by the consignor terminal according to the real-time logistics data, and the logistics change request includes any one or more of the following: a request to replace the original logistics transportation personnel, a request to allocate additional logistics transportation personnel to rotate with the original logistics transportation personnel, a request to replace the original logistics route corresponding to the goods, and a request to accelerate the logistics transportation speed of the goods;
[0016] Determine the change amount required for the logistics change request; wherein, the change amount includes any one or more of the following: the amount for replacing the original logistics transportation personnel, the amount for allocating the additional logistics transportation personnel, the amount for replacing the original logistics route corresponding to the goods, and the speed-up service amount for accelerating the logistics transportation speed of the goods;
[0017] Recalculate and adjust the first real-time logistics bill amount of the goods according to the changed amount and the original logistics amount corresponding to the goods, and send the adjustment result of the first real-time logistics bill amount to the consignor terminal.
[0018] In a possible implementation, each of the logistics transportation personnel corresponds to a basic transportation fee and historical logistics data. The historical logistics data includes any one or more of the following: historical transportation evaluation data of the logistics transportation personnel, historical transportation routes, historical transportation speeds, and historical traffic accident situations during the transportation process. The method further includes:
[0019] Based on the current logistics data of the logistics transportation personnel, update the historical logistics data corresponding to the logistics transportation personnel in real time;
[0020] According to the updated historical logistics data, adjust the basic transportation fee corresponding to the logistics transportation personnel in real time to obtain the final amount of the logistics transportation personnel.
[0021] In a possible implementation, an AI camera is installed inside the box for placing the goods; the consignor terminal corresponds to a pre-deposited amount for the goods during the logistics process. After recalculating and adjusting the first real-time logistics bill amount of the goods according to the changed amount and the original logistics amount corresponding to the goods, it further includes:
[0022] If the adjustment result of the first real-time logistics bill amount is greater than the pre-deposited amount corresponding to the consignor terminal and the communication with the consignor terminal fails all the time within a preset duration, obtain the first current goods image of the goods through the AI camera, and conduct a value evaluation on the goods according to the first current goods image to obtain a goods value evaluation result;
[0023] Determine the shipping price of the goods according to the sum of the goods value evaluation result and the adjustment result of the first real-time logistics bill amount, and send a shipping request to the clients of multiple users based on the shipping price and the first current goods image;
[0024] Obtain the consent signal sent by the first client among the multiple clients based on the shipping request, and determine the first client as the new consignor terminal corresponding to the goods;
[0025] Send the new receiving location corresponding to the new consignor terminal to the terminal of the logistics transportation personnel, so that the goods are transported to the new receiving location;
[0026] Determine the new real-time logistics bill amount according to the shipping price and the logistics amount for transporting the goods to the new receiving location, generate a new electronic bill based on the new real-time logistics bill amount, and send the new electronic bill to the new consignor terminal to settle the shipping amount of the goods.
[0027] In a possible implementation, an AI camera is provided inside the box where the goods are placed; the method further includes:
[0028] Obtain the second current goods image of the goods through the AI camera, and compare the second current goods image with the initial state image when the goods are placed into the box to obtain a comparison result; wherein, the comparison result includes any one or more of the following: goods color comparison result, goods shape comparison result, goods size comparison result, goods placement state comparison result;
[0029] Determine the current state of the goods according to the comparison result, and analyze the change trend of the goods according to the comparison result and the current state;
[0030] Determine the damage trend data of the goods according to the current state and the change trend.
[0031] In a possible implementation, the target client corresponding to the goods includes the consignor terminal corresponding to the goods; after determining the damage trend data of the goods according to the current state and the change trend, it further includes:
[0032] Obtain the environmental temperature data of the areas to be passed through in the original logistics route corresponding to the goods;
[0033] Determine the duration that the goods can be maintained before damage according to the damage trend data and the environmental temperature data, and send the duration and the current state to the consignor terminal corresponding to the goods and the terminal of the logistics transportation personnel corresponding to the goods;
[0034] Obtain the logistics configuration request sent by the consignor terminal; wherein, the logistics configuration request is generated by the consignor terminal according to the duration and the current state, and the logistics configuration request includes any one or more of the following: a request to configure goods insurance for the goods during the logistics process, a request to replace the original logistics route with a new logistics route with a driving speed greater than the driving speed corresponding to the original logistics route, a request to trade the goods in the current logistics location of the goods according to the current state;
[0035] Determine the configuration amount required for the logistics configuration request; wherein, the configuration amount includes any one or more of the following: the amount of goods insurance for the logistics process, the transportation amount of the new logistics route, the amount of trading the goods in the current logistics location of the goods in the current state.
[0036] Recalculate and adjust the second real-time logistics bill amount of the goods according to the configuration amount and the original logistics amount corresponding to the goods, and send the adjustment result of the second real-time logistics bill amount to the consignor terminal.
[0037] In a possible implementation, the target client corresponding to the goods includes the consignor terminal corresponding to the goods; the method further includes:
[0038] A temperature sensor and a humidity sensor are arranged inside the box for placing the goods; a cooling device is provided for the box; the method further includes:
[0039] When it is monitored that the goods belong to fresh goods and / or cold chain transportation goods, determine the internal temperature and internal humidity of the box through the temperature sensor and the humidity sensor.
[0040] If the internal temperature is greater than the preset temperature and the internal humidity is greater than the preset humidity, determine that the goods are about to be damaged, and send a signal that the goods are about to be damaged to the consignor terminal corresponding to the goods.
[0041] Obtain the cooling request sent by the consignor terminal, and turn on the cooling device according to the cooling request, or adjust the set temperature of the cooling device to decrease according to the cooling request.
[0042] Recalculate and adjust the third real-time logistics bill amount including the usage amount of the cooling device according to the actual operation data of the cooling device, the control request for the cooling device sent by the consignor terminal, and the fuel consumption data for the cooling device; wherein, the control request includes any one or more of the following: device turn-on request, device turn-off request, device set temperature adjustment request.
[0043] In a possible implementation, the logistics transportation end corresponding to the goods includes the logistics management service end corresponding to the goods and the terminal of the logistics transportation personnel corresponding to the goods, and the target client corresponding to the goods includes the consignor terminal corresponding to the goods; the method further includes: The method further includes:
[0044] In response to monitoring the start of the consignor's goods receiving stage of the goods, determine whether the real-time logistics bill amount of the goods has been settled.
[0045] If the real-time logistics bill amount of the goods has been settled, an unpacking password for the box containing the goods is sent to the terminal of the owner of the goods corresponding to the goods, the logistics management service terminal corresponding to the goods, the terminal of the logistics transporter corresponding to the goods, and the terminal of the shipper corresponding to the goods.
[0046] In response to monitoring that the terminal of the owner of the goods, the terminal of the logistics transporter, the logistics management service terminal corresponding to the goods, and the terminal of the shipper all send the unpacking password to the box, the box is controlled to open to complete the stage of the owner of the goods receiving the goods.
[0047] In a second aspect, a real-time logistics bill data processing device based on waybill details adjustment is provided. The device includes:
[0048] A monitoring module for monitoring change events of waybill detail data of goods in the system; wherein, the change events include any one or more of adding a waybill, modifying waybill information, and deleting a waybill.
[0049] An extraction module for extracting change information of the waybill detail data when it is detected that the waybill detail data has changed according to the change event; wherein, the change information includes the changed waybill ID, the changed content, and the bill ID field.
[0050] A query module for using the bill ID field as a keyword and querying the bill record corresponding to the keyword in the logistics bill data corresponding to the goods to locate the bill to be updated corresponding to the change event.
[0051] A verification module for verifying whether the bill ID field in the waybill detail data matches the target bill ID in the bill to be updated. If they match, it is determined that the association relationship between the waybill detail data and the bill to be updated is correct, and it is determined that the bill to be updated is in an editable state or a state to be updated.
[0052] An update module for updating the bill information of the bill to be updated according to the change information; updating the bill information includes adjusting any one or more of the total freight, changing the transportation mode, and updating the estimated delivery time.
[0053] A generation module for recording each change event of the waybill detail data and the corresponding operation of updating the bill information, and generating a bill data processing log.
[0054] A sending module for sending a bill update signal corresponding to the bill data processing log to the target client corresponding to the goods, the logistics transportation end corresponding to the goods, and the financial monitoring end.
[0055] In a third aspect, an embodiment of the present application further provides an electronic device, including a memory and a processor. A computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the method described in the first aspect above is implemented.
[0056] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and run by a processor, the computer-executable instructions cause the processor to run the method described in the first aspect above.
[0057] The embodiments of the present application bring the following beneficial effects:
[0058] A real-time logistics bill data processing method and device provided by an embodiment of the present application can monitor change events of waybill detail data of goods in a system; wherein, the change events include any one or more of adding a waybill, modifying waybill information, and deleting a waybill; if it is detected according to the change event that the waybill detail data has changed, extract change information of the changed waybill detail data; wherein, the change information includes the changed waybill ID, the changed content, and the bill ID field; use the bill ID field as a keyword, and query the bill record corresponding to the keyword in the logistics bill data corresponding to the goods to locate the bill to be updated corresponding to the change event; verify whether the bill ID field in the waybill detail data matches the target bill ID in the bill to be updated, if it matches, determine that the association relationship between the waybill detail data and the bill to be updated is correct, and determine that the bill to be updated is in an editable state or a state to be updated; update the bill information of the bill to be updated according to the change information; updating the bill information includes adjusting the total freight, changing the transportation method, updating the estimated delivery time, or any one or more of them; record each change event of the waybill detail data and the corresponding operation of updating the bill information to generate a bill data processing log; send the bill update signal corresponding to the bill data processing log to the target client corresponding to the goods, the logistics transportation end corresponding to the goods, and the financial monitoring end. In this solution, through the instant capture of waybill detail changes and the real-time update of bill data, it is possible to update the bill in real time according to the waybill detail changes. Moreover, by verifying the data consistency between the waybill details and the bill, it is ensured that each waybill detail is only associated with one bill ID, avoiding incorrect association situations such as one-to-many or many-to-one, effectively solving the problems of low efficiency and poor accuracy of manual operations, improving the efficiency and accuracy of bill management, and ensuring the accuracy and timeliness of data by quickly responding to changes in waybill details and updating bill information in real time, realizing real-time bill update when dealing with complex waybill detail changes. Also, when updating the bill information, it also ensures the data consistency between the waybill details and the bill, avoiding data conflicts or inconsistencies, improving the accuracy of logistics bill data, and solving the technical problem of relatively low data processing accuracy of current logistics bill data.
[0059] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, makes a detailed description as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] To more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings required for the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.
[0061] Figure 1 It is a schematic flowchart of a real-time logistics bill data processing method based on waybill details adjustment provided by an embodiment of the present application;
[0062] Figure 2 It is another schematic flowchart of a real-time logistics bill data processing method based on waybill details adjustment provided by an embodiment of the present application;
[0063] Figure 3 It is a schematic structural diagram of a real-time logistics bill data processing device based on waybill details adjustment provided by an embodiment of the present application;
[0064] Figure 4 It shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. Specific Embodiments
[0065] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions of the present application with reference to the accompanying drawings. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.
[0066] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes other steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0067] Currently, the accuracy of data processing for logistics bill data is relatively low. Based on this, the embodiments of the present application provide a real-time logistics bill data processing method and device based on waybill details adjustment, and through this method, the technical problem of relatively low accuracy of data processing for current logistics bill data can be solved.
[0068] The following will further introduce the embodiments of the present invention with reference to the accompanying drawings.
[0069] Figure 1It is a schematic flowchart of a real-time logistics bill data processing method provided by an embodiment of the present application. As Figure 1 shown, the method includes:
[0070] Step S110, monitoring change events of waybill detail data of goods in the system.
[0071] Among them, the change events include any one or more of adding a waybill, modifying waybill information, and deleting a waybill.
[0072] In practical applications, the waybill detail data can be in any data form, for example, in the form of a data table. As an example, as Figure 2 shown, a real-time express bill system based on waybill detail adjustment corresponding to the real-time logistics bill data processing method based on waybill detail adjustment includes: a waybill detail table, a bill table, an association processing module, and a summary update module. Among them, the waybill detail table records the detailed information of each waybill, including the waybill number, freight, service fee, etc. Each waybill detail contains a bill ID field for association processing with the bill table.
[0073] For the process of this association processing, exemplarily, listening to the change of waybill details, as Figure 2 shown, the association processing module will first listen to the change events of the waybill detail table in the system. These changes may include adding a waybill, modifying waybill information (such as weight, size, destination, etc.), deleting a waybill, etc.
[0074] The waybill detail data in the embodiment of the present application supports managing multiple shipping sites and receiving sites, as well as switching between different carriers. According to factors such as the destination of the waybill, the type of goods, and the carrier price, an optimal logistics plan is intelligently recommended, and the corresponding waybill and bill are automatically generated. For the waybill review and approval process, exemplarily, a waybill review and approval process is established to ensure the accuracy and compliance of waybill information; the process can include multiple levels of approval, such as department managers, finance, etc., and different review criteria and authorities can be configured for each approval node.
[0075] For the estimation of freight and cost optimization in waybill detail data: based on historical data, current market prices, and waybill details, a real-time freight estimation function is provided; the transportation route is optimized through algorithms, a carrier with lower costs is selected, or the packaging method is adjusted, etc., to reduce the overall logistics cost.
[0076] For the display of waybill detail data, exemplarily, waybill data visualization and analysis can be performed: rich data visualization reports are provided, such as waybill distribution maps, transportation duration statistics, cost analysis charts, etc.; in-depth analysis of waybill data is supported to help enterprises discover problem points in the logistics process and formulate improvement measures.
[0077] Regarding the splitting and merging of waybills in the above waybill information, exemplarily, it is possible to support splitting a large waybill into multiple small waybills, or merging multiple small waybills into a large waybill to meet different logistics requirements and cost optimization. During the splitting or merging process, the system automatically adjusts the waybill details and bills to ensure the accuracy of fee calculation.
[0078] Step S120, if it is detected according to the change event that the waybill detail data has changed, extract the change information of the waybill detail data that has changed.
[0079] Among them, the change information includes the changed waybill ID, the changed content, and the bill ID field.
[0080] As a possible implementation manner, when a change in the waybill detail table is detected, as Figure 2 shown, the association processing module can immediately extract the specific change information, including the changed waybill ID, the changed content (such as weight increase, destination change, etc.), and the most important bill ID field.
[0081] Step S130, use the bill ID field as the keyword and query the bill record corresponding to the keyword in the logistics bill data corresponding to the goods to locate the bill to be updated corresponding to the change event.
[0082] In an alternative implementation manner, the summary information of each bill is recorded in the bill table corresponding to the bill record, including the number of waybills, the sales price amount, the cost price amount, the original express price amount, the value-added service fee, the claim amount, etc.
[0083] Regarding the query process of the bill record corresponding to the keyword, exemplarily, using the extracted bill ID as the keyword, the association processing module will search for the corresponding bill record in the bill table, and this step ensures that the system can accurately locate the bill that needs to be updated.
[0084] Step S140, verify whether the bill ID field in the waybill detail data matches the target bill ID in the bill to be updated. If it matches, it is determined that the association relationship between the waybill detail data and the bill to be updated is correct, and it is determined that the bill to be updated is in an editable state or a state to be updated.
[0085] As an alternative implementation manner, as Figure 2 shown, when the waybill detail data changes, the association processing module can find the corresponding bill according to the bill ID field in the waybill detail, and associate this changed waybill detail with the bill.
[0086] Specifically, after finding the corresponding bill, the association processing module can further verify whether the association relationship between the waybill details and the bill is correct. This usually involves checking whether the bill ID exactly matches the bill ID in the waybill details and verifying whether the bill is in an editable or pending update state.
[0087] Step S150, update the bill information of the bill to be updated according to the change information.
[0088] Among them, updating the bill information includes any one or more of adjusting the total freight, changing the transportation mode, and updating the estimated delivery time.
[0089] For updating the bill information, if the association relationship verification passes, the association processing module will update the bill information according to the changes in the waybill details, which can include adjusting the total freight, changing the transportation mode, updating the estimated delivery time, etc.
[0090] As an example, as Figure 2 shown, the process of real-time updating the summary data of the bill table can be implemented by the summary update module. The summary update module can be manually called or automatically triggered within a set window period. After the waybill details change, as Figure 2 shown, the association processing module can automatically increase the sequence number of the version number table. When the summary update is triggered, if it is found that the new sequence number is greater than the old sequence number, summarization will be performed. The current summarization logic is fixed, but in future versions, it will be changed to a plugin form so that the summarization logic can be dynamically adjusted according to the specific changes in the waybill details.
[0091] The specific process of data processing for automatically incrementing the serial number of the version number table above: First, modularize the current fixed summary logic, that is, decompose the summary process into a series of reusable and independent steps or functions. Each step or function focuses on performing a specific task in the summary process. For example, it can be divided into modules such as data collection, data processing, data summarization, and data storage; design a plugin architecture to support different summary logics. The plugin architecture allows the system to change its behavior by adding or replacing plugins without modifying the core code. Each plugin will implement a predefined interface that defines the methods or functions that the plugin must provide; during the definition of the plugin interface, perform the operations executed during plugin initialization, such as loading configuration files, initializing internal states, etc. For executing the summary logic, which is the core function of the plugin, define the specific summary logic. It receives the necessary inputs (such as waybill detail data, current bill status, etc.) and returns the summary result. For the cleaning process, perform the operations executed after the summary logic, such as releasing resources, updating internal states, etc. In addition to the basic waybill detail processing and bill update functions, an interface is reserved in the embodiments of this application, which can conveniently add new modules and functions. For example, new billing rules, new preferential policies, and even new express service types can be added, achieving the scalability of the system. By reserving multiple interfaces in the system for adding new modules and functions in the future, it is ensured that the system can be continuously upgraded as the company's business expands and can adapt to new billing rules, preferential policies, and express service types.
[0092] After the process of defining the plugin interface is completed, perform plugin registration and management. The system needs to have a mechanism for plugin registration and management to dynamically load, register, and manage plugins. This can be achieved in the following ways: configuration file, specify the list of plugins to be loaded and their configuration information in the configuration file; plugin directory, the system scans the plugin files in the specified directory and automatically loads them; dynamic loading, dynamically load plugins as needed during runtime.
[0093] Then, execute the trigger mechanism, that is, the summary update module can support two ways: manual trigger and automatic trigger. Automatic trigger can be based on a time window (such as every hour, every day, etc.) or based on a specific event (such as detecting a change in new waybill details, reaching a certain data volume, etc.). For the detection of the serial number: in the association processing module, when the waybill details change, increment the serial number of the version number table; when the summary update module is triggered, first check whether the current serial number of the version number table is the same as the serial number during the last execution. If they are not the same, it means there is a change in new waybill details and summarization needs to be executed.
[0094] After that, plugin selection and execution are carried out: The system determines the summary logic plugin to be used according to the current configuration or user selection; loads and initializes the selected plugin; calls the execution summary logic method of the plugin, passing in the necessary parameters (such as the latest waybill detail data, bill table, etc.); receives the summary result returned by the plugin and applies it to the summary data of the bill table. Through the plugin architecture, the system can easily add new summary logic or modify the existing logic without major modifications to the core code. In addition, the plugins can be independent of each other, facilitating development and maintenance, and achieving flexibility and scalability.
[0095] For the dynamic adjustment of the summary logic according to the specific changes in the waybill details as described above, the specific logic can include the following steps. First, perform module division and interface definition: The data collection module is responsible for collecting the data to be summarized from data sources such as the waybill detail table and the bill table; the data processing module preprocesses the collected data, such as cleaning and format conversion, for subsequent summarization; the summary logic plugin interface: defines a clear interface that all summary logic plugins need to implement. The interface should include methods such as initialization, execution of summary logic, and cleaning; the summary execution module: is responsible for calling the summary logic of the plugin, handling concurrency, errors, etc., and updating the summary data of the bill table; the log and monitoring module: records the log information during the summarization process, monitors the execution of the plugin, and ensures the stability and reliability of the system.
[0096] Then, perform plugin development and registration. For plugin development, developers implement the AggregationPlugin interface according to business requirements and write the specific summary logic; the plugin can be an independent jar package or a dynamic link library (DLL), which is convenient for loading at runtime. For plugin registration, the system provides a plugin registration mechanism that allows new plugins to be registered at startup or runtime; the plugin registration information can be stored in a configuration file, database, or memory for easy system management and invocation.
[0097] After that, trigger mechanism and sequence number detection. The trigger mechanism includes: The system supports two ways of manual trigger and automatic trigger; the automatic trigger can be based on a time window (such as every hour, every day, etc.) or based on a specific event (such as detecting a change in the latest waybill details, reaching a certain amount of data, etc.). For sequence number detection: In the association processing module, whenever the waybill details change, update the sequence number in the version number table; when the summary update module is triggered, first check whether the current sequence number in the version number table is the same as the sequence number at the last execution; if the sequence numbers are different, it means there are new changes in the waybill details and the summary operation needs to be performed.
[0098] Finally, for the summary logic execution, regarding the selection of plugins, the system determines the summary logic plugin to be used based on the current configuration or user selection. For the plugin loading aspect, the system dynamically loads the selected plugin and calls its initialization method. For the summary execution aspect, it calls the executeAggregation method of the plugin, passing in the processed data; the plugin executes the specific summary logic and returns the summary result. For the bill update aspect, the summary execution module receives the summary result returned by the plugin and updates the summary data in the bill table. For the resource cleanup aspect, it calls the cleanup method of the plugin to release resources, etc.
[0099] Through the above plugin form, according to the specific changes in the waybill details, different processing and update logics can be flexibly inserted, enabling the system to better adapt to various changes in the waybill details and realizing the dynamicization of the association processing module and the summary update module. The plugin-based design of the system allows it to dynamically adjust the association processing and summary logic according to the specific changes in the waybill details, greatly improving the system's ability to handle diverse change factors, enhancing the flexibility and adaptability of the system, and achieving highly dynamic processing. In practical applications, different summary update plugins can be selected according to different bill types, or different association processing plugins can be selected according to the specific content of the waybill details. This plugin-based design not only facilitates the addition of new functions but also enables the flexible adjustment of the system's operation logic according to actual needs.
[0100] For dynamic waybill tracking and status update, exemplarily, integrate real-time logistics APIs, APIs of various express companies, and automatically obtain the latest logistics status of the waybill (such as received, in transit, out for delivery, signed, etc.); the system automatically triggers the update of the bill status according to the change of the waybill status. For example, when the waybill status becomes "signed", the system automatically marks the relevant bill as "settled".
[0101] Step S160, record the change events of the waybill detail data each time and the corresponding operations for updating the bill information, and generate a bill data processing log.
[0102] In practical applications, for tracking and auditing, the association processing module can record each change in the waybill details and its corresponding bill update operations. This is to provide data for subsequent problem troubleshooting, data analysis, and customer service through these logs.
[0103] Regarding the bill data processing log, exemplarily, the execution situation of the monitoring plugin can be utilized, including execution time, success or failure status, etc., to record detailed log information for troubleshooting and auditing when problems occur.
[0104] Regarding the recording of bill data processing logs, for example, during the summarization process, record each step of the operation and results in detail for subsequent auditing and problem troubleshooting; monitor and alarm, that is, monitor the execution of the plug-in, such as execution time, success rate, etc. Once an abnormal situation is found, alarm immediately and take corresponding handling measures.
[0105] In an alternative implementation, an abnormal waybill processing mechanism can also be achieved through monitoring: set up an abnormal detection module to identify and mark abnormal waybills such as "delayed delivery", "lost", "damaged", etc.; provide a dedicated processing process for abnormal waybills, including notifying customers, applying for compensation, re-delivering goods, etc., and adjust the bill content accordingly, such as adding compensation fees or reducing freight.
[0106] Step S170, send the bill update signal corresponding to the bill data processing log to the target client corresponding to the goods, the logistics transportation end corresponding to the goods, and the financial monitoring end.
[0107] As an alternative implementation, according to the system configuration, the association processing module can send notifications to relevant parties (such as customers, financial departments, logistics personnel, etc.) to inform them that the bill has been updated or there are changes that need attention.
[0108] Through the instant capture of changes in waybill details and the real-time update of bill data, it is possible to update the bill in real time according to the changes in waybill details. Moreover, by verifying the data consistency between waybill details and the bill, ensuring that each waybill detail is only associated with one bill ID, avoiding incorrect association situations such as one-to-many or many-to-one, effectively solving the problems of low efficiency and poor accuracy of manual operations, improving the efficiency and accuracy of bill management. By quickly responding to changes in waybill details and updating bill information in real time to ensure the accuracy and timeliness of data, real-time bill update is achieved when dealing with complex changes in waybill details. Also, when updating bill information, the data consistency between waybill details and the bill is ensured, avoiding data conflicts or inconsistent situations, and improving the accuracy of logistics bill data.
[0109] In the embodiments of the present application, when updating the bill information, the association processing module needs to ensure the data consistency between the waybill details and the bill, avoiding data conflicts or inconsistencies. This example is located at the intersection of computer information technology and the logistics industry, especially in the bill management and automated processing of the express delivery business, with significant applications. In the field of computer information technology, this system uses the Quarkus framework, Java 17, and Hibernate technology. These advanced programming languages and frameworks enable the system to efficiently and stably process a large amount of waybill data, achieving real-time update and management of bills. Quarkus framework: Quarkus is an open-source Java framework designed to provide efficient program execution and memory utilization in microservices and cloud-native environments. Technical materials should include the architecture documentation of the Quarkus framework, explaining how it uses advanced compilation techniques to reduce startup time and memory occupancy.
[0110] For the above Java 17, the system provided in the embodiments of the present application uses the Java 17 programming language. The materials can be the development documentation of Java 17 and explanations of new features, especially those that improve program performance and security.
[0111] For the above Hibernate technology, Hibernate is an ORM (Object Relational Mapping) framework that allows developers to map database tables to Java objects, simplifying data access. The materials can include how it is used for data persistence and query optimization in this system.
[0112] The solution provided in the embodiments of the present application is mainly aimed at the express delivery service of small and medium-sized packages, and is particularly suitable for placing orders with mainstream express delivery companies. Whether it is the calculation of freight and service fees or the changes in waybill details, this system can achieve automated processing and real-time update, greatly improving the efficiency and accuracy of bill management.
[0113] The above steps will be introduced in detail below.
[0114] In some embodiments, a positioning device is provided inside the box for placing goods; the logistics transportation end corresponding to the goods includes the logistics management server corresponding to the goods and the terminal of the logistics transportation personnel corresponding to the goods, and the target client corresponding to the goods includes the consignor terminal corresponding to the goods; the method may further include the following steps:
[0115] Obtain the current location of the goods through the positioning device; determine the real-time logistics data of the goods based on the multiple current locations corresponding to multiple moments during the logistics process of the goods and the transportation duration of the goods during the logistics process, and send the real-time logistics data to the consignor terminal corresponding to the goods; obtain the logistics change request sent by the consignor terminal, and send the logistics change request to the logistics management server corresponding to the goods and the terminal of the original logistics transporter corresponding to the goods; wherein, the logistics change request is generated by the consignor terminal according to the real-time logistics data, and the logistics change request includes any one or more of the following: a request to replace the original logistics transporter, a request to allocate additional logistics transporters to rotate with the original logistics transporter for transportation, a request to replace the original logistics route corresponding to the goods, a request to accelerate the logistics transportation speed of the goods; determine the change amount required for the logistics change request; wherein, the change amount includes any one or more of the following: the amount for replacing the original logistics transporter, the amount for allocating additional logistics transporters, the amount for replacing the original logistics route corresponding to the goods, the speed-up service amount for accelerating the logistics transportation speed of the goods; recalculate and adjust the first real-time logistics bill amount of the goods according to the change amount and the original logistics amount corresponding to the goods, and send the adjustment result of the first real-time logistics bill amount to the consignor terminal.
[0116] Exemplarily, the to-be-traveled logistics route of the logistics goods transporter is determined by the route data sent by the consignor terminal. The positioning device set on the goods box can send the real-time logistics situation to the consignor terminal. If the consignor believes that the logistics transportation speed is slow, the consignor terminal can send signals to replace the logistics goods transporter, or allocate additional goods transporters to rotate with the original goods transporter for transportation, or accelerate the transportation, and then recalculate the logistics bill amount according to the goods transporter fee amount for replacing the logistics goods transporter, the goods transporter fee amount for allocating additional goods transporters, or the speed-up service amount corresponding to accelerating the transportation, so as to realize the real-time and timely adjustment of the logistics bill.
[0117] In some embodiments, each logistics transporter corresponds to a basic transporter fee and historical logistics data, and the historical logistics data includes any one or more of the following: historical transportation evaluation data of the logistics transporter, historical transportation route, historical transportation speed, historical traffic accident situation during the transportation process; the method may further include the following steps:
[0118] Based on the current logistics data of the logistics transporter, the historical logistics data corresponding to the logistics transporter is updated in real time; the basic transporter fee corresponding to the logistics transporter is adjusted in real time according to the updated historical logistics data to obtain the final amount of the logistics transporter.
[0119] As an alternative implementation, each logistics goods transporter corresponds to the above-mentioned transporter fee amount and historical logistics data. The historical logistics data includes: historical transportation evaluation data, historical transportation routes, historical transportation speeds, and historical traffic accident situations during transportation. The historical logistics data is updated in real time, and the transporter fee amount corresponding to the logistics goods transporter is adjusted in real time according to the updated historical logistics data, so as to flexibly adjust the transporter fee amount.
[0120] In some embodiments, an AI camera is provided inside the box for placing goods; the shipper terminal corresponds to a pre-deposited amount for the goods during the logistics process; after the step of recalculating and adjusting the first real-time logistics bill amount of the goods according to the changed amount and the original logistics amount corresponding to the goods, the method may further include the following steps:
[0121] If the adjustment result of the first real-time logistics bill amount is greater than the pre-deposited amount corresponding to the shipper terminal and the communication with the shipper terminal fails all the time within the preset duration, then obtain the first current goods image of the goods through the AI camera, and perform a value evaluation on the goods according to the first current goods image to obtain a goods value evaluation result; determine the shipping price of the goods according to the sum of the goods value evaluation result and the adjustment result of the first real-time logistics bill amount, and send a shipping request to the client terminals of multiple users based on the shipping price and the first current goods image; obtain the consent signal sent by the first client among the multiple client terminals based on the shipping request, and determine the first client as the new shipper terminal corresponding to the goods; send the new receiving location corresponding to the new shipper terminal to the terminal of the logistics transporter, so that the goods are transported to the new receiving location; determine the new real-time logistics bill amount according to the shipping price and the logistics amount for transporting the goods to the new receiving location, generate a new electronic bill according to the new real-time logistics bill amount, and send the new electronic bill to the new shipper terminal to settle the shipping amount of the goods.
[0122] Exemplarily, for a dynamically adjusted real-time logistics bill, if the pre-deposited amount corresponding to the shipper terminal is less than the real-time logistics bill and the shipper cannot be contacted within the preset duration, then: send a notice to stop transporting on the spot to the terminal of the goods transporter; or, obtain the current goods image through the AI camera, perform a value evaluation on the goods according to the current goods image to obtain a goods value evaluation result, then determine the goods receiving price according to the sum of the goods value evaluation result and the real-time logistics bill amount, inquire about a new shipper based on the goods receiving price, transfer the goods to the new shipper, and determine an electronic bill according to the goods receiving price and the logistics cost for transporting the goods to the new shipper, and send the electronic bill to the new shipper terminal to settle the goods cost. In this way, timely and effective processing of the goods is achieved, and the reduction of logistics effectiveness caused by communication problems with the shipper terminal is avoided.
[0123] In some embodiments, an AI camera is provided inside the box for placing goods; the method may further include the following steps: obtaining a second current image of the goods through the AI camera, and comparing the second current image of the goods with the initial state image when the goods are placed in the box to obtain a comparison result; wherein, the comparison result includes any one or more of the following: the comparison result of the color of the goods, the comparison result of the shape of the goods, the comparison result of the size of the goods, the comparison result of the placement state of the goods; determining the current state of the goods according to the comparison result, and analyzing the change trend of the goods according to the comparison result and the current state; determining the damage trend data of the goods according to the current state and the change trend.
[0124] As an example, during the logistics process, if the goods are damaged, for example, when transporting fresh food, precision mechanical equipment and other goods, an AI camera is provided inside the packaging box of the goods, and the images of the goods are compared by AI. For example, comparing the difference between the current placement state of the mechanical equipment and the initial placement state when loading the goods, comparing the difference between the current color of the fruits and vegetables and the initial color of the fruits and vegetables, comparing the difference between the current shape of the fruits and vegetables and the initial shape of the fruits and vegetables, comparing the difference between the current size of the fruits and vegetables and the initial size of the fruits and vegetables, analyzing the color change trend, analyzing the shape change trend, etc., to obtain the current state change of the goods corresponding to the AI comparison of the goods images, so as to realize the real-time and accurate analysis of the damage trend of the goods.
[0125] In some embodiments, the target client corresponding to the goods includes the owner terminal corresponding to the goods; after the step of determining the damage trend data of the goods according to the current state and the change trend, the method may further include the following steps:
[0126] Obtain the ambient temperature data of the areas to be passed through in the original logistics route corresponding to the goods; determine the duration that the goods can be maintained before damage based on the damage trend data and the ambient temperature data, and send the duration and the current status to the terminal of the owner of the goods corresponding to the goods and the terminal of the logistics transporter corresponding to the goods; obtain the logistics configuration request sent by the owner's terminal; wherein, the logistics configuration request is generated by the owner's terminal according to the duration and the current status, and the logistics configuration request includes any one or more of the following: a request to configure goods insurance for the goods during the logistics process, a request to replace the original logistics route with a new logistics route with a driving speed greater than the driving speed corresponding to the original logistics route, a request to trade the goods in the current logistics location of the goods according to the current status; determine the configuration amount required for the logistics configuration request; wherein, the configuration amount includes any one or more of the following: the amount of goods insurance during the logistics process, the transportation amount of the new logistics route, the amount of trading the goods in the current logistics location of the goods according to the current status; recalculate and adjust the second real-time logistics bill amount of the goods according to the configuration amount and the original logistics amount corresponding to the goods, and send the adjustment result of the second real-time logistics bill amount to the owner's terminal.
[0127] Exemplarily, according to the change of the current status of the goods combined with the temperature change in the areas through which the logistics passes, calculate the duration that the goods can be maintained before damage (such as the remaining days until fruits and vegetables start to rot), and send the duration that the goods can be maintained before damage and the change of the current status of the goods to the owner's terminal, to remind the owner's terminal and the terminal of the goods transporter in real time that the goods are about to be damaged and the risk has increased significantly. The owner's terminal, the terminal of the logistics goods transporter, and the platform terminal negotiate together whether to change to a faster route, / or only ask the owner: 1) Whether to replace the original logistics route with a new route that is smoother and faster (but more expensive) (such as changing from an ordinary road to a highway) to shorten the logistics duration and ensure that the goods are not damaged over time, and then recalculate the logistics bill amount according to the new route to achieve real-time adjustment of the logistics bill; 2) Whether to buy and sell this batch of goods locally at the current logistics location of the goods to ensure the value of the goods during the fresh period, and then recalculate the logistics bill amount to achieve real-time adjustment of the logistics bill. 3) Ask the owner whether to purchase goods insurance for the goods during the logistics process. The insurance buyer and seller determine the amount of goods insurance during the logistics process based on the goods images obtained by the AI camera, and then recalculate the logistics bill amount according to the logistics insurance amount, thereby achieving real-time, accurate and timely adjustment of the logistics bill.
[0128] In some embodiments, the target client corresponding to the goods includes the terminal of the owner of the goods corresponding to the goods; a temperature sensor and a humidity sensor are provided inside the box for placing the goods; a cooling device is provided for the box; the method may further include the following steps:
[0129] When it is detected that the goods belong to fresh goods and / or cold-chain transportation goods, the internal temperature and internal humidity of the box are determined through a temperature sensor and a humidity sensor; if the internal temperature is greater than the preset temperature and the internal humidity is greater than the preset humidity, it is determined that the goods are about to be damaged, and a signal indicating that the goods are about to be damaged is sent to the owner terminal corresponding to the goods; obtain the cooling request sent by the owner terminal, and turn on the cooling equipment according to the cooling request, or adjust the set temperature of the cooling equipment to decrease according to the cooling request; recalculate and adjust the amount of the third real-time logistics bill including the usage amount of the cooling equipment according to the actual operation data of the cooling equipment, the control request for the cooling equipment sent by the owner terminal, and the fuel consumption data for the cooling equipment; where the control request includes any one or more of the following: equipment turn-on request, equipment turn-off request, equipment set temperature adjustment request.
[0130] As an example, a temperature sensor and a humidity sensor are also provided inside the goods packaging box. For fresh goods and goods transported in cold chain, if the temperature inside the box rises, it is determined that the fresh goods are rotting, and the owner is asked whether to turn on the cooling equipment such as the air conditioner inside the box for cooling. The cooling equipment inside the truck box is controlled by the owner terminal to be turned on, turned off or adjusted in temperature, so that the owner can decide the amount of energy consumed in logistics and also save unnecessary operating costs of the cooling equipment. Then, according to the actual operation data of the cooling equipment (number of turn-ons, turn-on duration, turn-on temperature) and the fuel consumption data of the truck for the cooling equipment, the amount of the logistics bill including the usage fee of the cooling equipment is recalculated, realizing real-time adjustment of the logistics bill, and the user can control the logistics consumption by himself, and then settle the amount of the fee to be paid by the user according to the actual situation of the controlled logistics consumption, thus realizing real-time, accurate and timely adjustment of the logistics bill.
[0131] In some embodiments, the logistics transportation end corresponding to the goods includes the logistics management service end corresponding to the goods and the terminal of the logistics transportation personnel corresponding to the goods, and the target client corresponding to the goods includes the owner terminal corresponding to the goods; the method may further include the following steps:
[0132] In response to detecting the start of the owner's goods receiving stage of the goods, determine whether the real-time logistics bill amount of the goods has been settled; if the real-time logistics bill amount of the goods has been settled, send the unlock password for the box containing the goods to the owner terminal corresponding to the goods, the logistics management service end corresponding to the goods, the terminal of the logistics transportation personnel corresponding to the goods, and the terminal of the goods sender corresponding to the goods; in response to detecting that the owner terminal, the terminal of the logistics transportation personnel, the logistics management service end corresponding to the goods, and the terminal of the goods sender all send the unlock password to the box, control the box to open to complete the owner's goods receiving stage.
[0133] For example, when the consignor receives the goods, after the system determines that the settlement of the goods' fees is completed, the system sends the unpacking password to the consignor's terminal, the goods transporter's terminal, and the shipper's terminal. After the consignor's terminal, the goods transporter's terminal, and the shipper's terminal all send the password to the goods container, the goods container is then opened, thereby enabling the receiving process to be effectively completed on the basis of ensuring safety.
[0134] Figure 3 A structural schematic diagram of a real-time logistics bill data processing device based on waybill details adjustment is provided. As Figure 3 shown, the real-time logistics bill data processing device 300 based on waybill details adjustment includes:
[0135] A monitoring module 301, configured to monitor change events of waybill detail data of goods in the system; wherein, the change events include any one or more of adding a waybill, modifying waybill information, and deleting a waybill;
[0136] An extraction module 302, configured to extract change information of the changed waybill detail data if it is detected according to the change event that the waybill detail data has changed; wherein, the change information includes the changed waybill ID, the changed content, and the bill ID field;
[0137] A query module 303, configured to use the bill ID field as a keyword and query the bill record corresponding to the keyword in the logistics bill data corresponding to the goods to locate the bill to be updated corresponding to the change event;
[0138] A verification module 304, configured to verify whether the bill ID field in the waybill detail data matches the target bill ID in the bill to be updated. If they match, it is determined that the association relationship between the waybill detail data and the bill to be updated is correct, and it is determined that the bill to be updated is in an editable state or a state to be updated;
[0139] An update module 305, configured to update the bill information of the bill to be updated according to the change information; updating the bill information includes any one or more of adjusting the total freight, changing the transportation mode, and updating the expected delivery time;
[0140] A generation module 306, configured to record each change event of the waybill detail data and the corresponding operation of updating the bill information, and generate a bill data processing log;
[0141] A sending module 307, configured to send the bill update signal corresponding to the bill data processing log to the target client corresponding to the goods, the logistics transportation end corresponding to the goods, and the financial monitoring end.
[0142] The real-time logistics bill data processing device provided by the embodiment of the present application, which is based on the adjustment of waybill details, has the same technical features as the real-time logistics bill data processing method provided by the above embodiment. Therefore, it can also solve the same technical problems and achieve the same technical effects.
[0143] An electronic device provided by an embodiment of the present application, such as Figure 4 shown, the electronic device 400 includes a processor 402 and a memory 401. A computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the steps of the method provided by the above embodiment are implemented.
[0144] Referring to Figure 4 , the electronic device further includes: a bus 403 and a communication interface 404. The processor 402, the communication interface 404, and the memory 401 are connected through the bus 403. The processor 402 is used to execute an executable module stored in the memory 401, such as a computer program.
[0145] Among them, the memory 401 may include a high-speed random access memory (Random Access Memory, abbreviated as RAM), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 404 (which can be wired or wireless), a communication connection is realized between the system network element and at least one other network element. The Internet, wide area network, local area network, metropolitan area network, etc. can be used.
[0146] The bus 403 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 4 only a bidirectional arrow is used in
[0147] to indicate, but it does not mean that there is only one bus or one type of bus.
[0148] The processor 402 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 402 or the instructions in the form of software. The above-mentioned processor 402 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 401, and the processor 402 reads the information in the memory 401 and combines its hardware to complete the steps of the above method.
[0149] Corresponding to the above real-time logistics bill data processing method based on waybill details adjustment, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and run by a processor, the computer-executable instructions cause the processor to run the steps of the above real-time logistics bill data processing method based on waybill details adjustment.
[0150] The real-time logistics bill data processing device provided by the embodiments of the present application may be specific hardware on the device or software or firmware installed on the device, etc. For the device provided by the embodiments of the present application, the implementation principle and the technical effects produced are the same as those of the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding content in the foregoing method embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the above method embodiments, and will not be repeated here.
[0151] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0152] For another example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment or a part of code, and the module, the program segment or the part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of the blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0153] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0154] In addition, the various functional units in the embodiments provided in the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0155] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the real-time logistics bill data processing method based on waybill details described in various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM for short), random access memories (RAM for short), magnetic disks, or optical discs that can store program codes.
[0156] It should be noted that: similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0157] Finally, it should be noted that: the above-mentioned embodiments are only specific implementation manners of this application, used to illustrate the technical solution of this application, rather than limiting it. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed in this application can still modify the technical solutions recorded in the foregoing embodiments or easily conceive of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A real-time logistics bill data processing method based on waybill detail adjustment, characterized in that: The method comprises: Monitoring the change events of the detailed data of the waybill of the goods in the system; wherein the change events include any one or more of adding a waybill, modifying the waybill information and deleting the waybill; If a change in the waybill detail data is detected according to the change event, extracting change information of the change in the waybill detail data; wherein the change information includes the changed waybill ID, the changed content, and the bill ID field; The bill ID field is used as a keyword, and the bill record corresponding to the keyword is searched in the logistics bill data corresponding to the goods to locate the bill to be updated corresponding to the change event; Verify whether the bill ID field in the waybill details data matches the target bill ID in the bill to be updated. If they match, determine that the association between the waybill details data and the bill to be updated is correct, and determine that the bill to be updated is in an editable state or in a to-be-updated state; Updating the bill information of the bill to be updated according to the change information; updating the bill information includes adjusting the total freight, changing the mode of transportation, and updating any one or more of the estimated delivery time; Record each change event of the waybill detail data and the corresponding operation of updating the bill information, and generate a bill data processing log; Sending a bill update signal corresponding to the bill data processing log to a target client corresponding to the goods, a logistics transport terminal corresponding to the goods, and a financial monitoring terminal; An AI camera is arranged inside the box in which the goods are placed; the consignor terminal corresponding to the goods corresponds to a pre-deposited amount for the goods in the logistics process; the method also includes: if the adjustment result of the first real-time logistics bill amount is greater than the pre-deposited amount corresponding to the consignor terminal, and the communication with the consignor terminal always fails within a preset time period, then the first current cargo image of the goods is obtained through the AI camera, and the value of the goods is evaluated based on the first current cargo image to obtain a cargo value evaluation result; the first real-time logistics bill amount is the amount recalculated and adjusted based on the changed amount and the original logistics amount corresponding to the goods, and the changed amount is the amount required to be changed corresponding to the logistics change request sent by the consignor terminal; based on the cargo value evaluation result and the first The method comprises the following steps: determining the shipping price of the goods by summing up the adjustment results of the real-time logistics bill amount, and sending a shipping request to the clients of multiple users based on the shipping price and the first current cargo image; obtaining an approval signal sent by the first client among the multiple clients based on the shipping request, and determining the first client as the new consignor terminal corresponding to the goods; sending the new receiving location corresponding to the new consignor terminal to the terminal of the logistics transportation personnel corresponding to the goods, so that the goods are transported to the new receiving location; determining a new real-time logistics bill amount according to the shipping price and the logistics amount for transporting the goods to the new receiving location, generating a new electronic bill according to the new real-time logistics bill amount, and sending the new electronic bill to the new consignor terminal to settle the shipping amount of the goods.
2. The method according to claim 1, characterized in that A positioning device is provided inside the box in which the goods are placed; the logistics transport end corresponding to the goods includes a logistics management service end corresponding to the goods and a terminal of a logistics transport personnel corresponding to the goods, and the target client corresponding to the goods includes a terminal of a consignor corresponding to the goods; the method further includes: Acquiring the current location of the cargo through the positioning device; Determine the real-time logistics data of the goods according to the multiple current positions corresponding to the multiple moments in the logistics process of the goods and the transportation time of the goods in the logistics process, and send the real-time logistics data to the consignor terminal corresponding to the goods; Obtaining the logistics change request sent by the cargo owner terminal, and sending the logistics change request to the logistics management service terminal corresponding to the cargo and the terminal of the original logistics transport personnel corresponding to the cargo; wherein the logistics change request is generated by the cargo owner terminal according to the real-time logistics data, and the logistics change request includes any one or more of the following: a request to replace the original logistics transport personnel, a request to add additional logistics transport personnel to rotate with the original logistics transport personnel, a request to replace the original logistics route corresponding to the cargo, and a request to speed up the logistics transport speed of the cargo; Determine the change amount required for the logistics change request; wherein the change amount includes any one or more of the following: the amount for replacing the original logistics transport personnel, the amount for adding the additional logistics transport personnel, the amount for changing the original logistics route corresponding to the goods, and the amount for speeding up the logistics transport speed of the goods; According to the changed amount and the original logistics amount corresponding to the goods, the first real-time logistics bill amount of the goods is recalculated and adjusted, and the adjustment result of the first real-time logistics bill amount is sent to the consignor terminal.
3. The method according to claim 2, characterized in that Each of the logistics transport personnel has a corresponding basic fee and historical logistics data, wherein the historical logistics data includes any one or more of the following: historical transportation evaluation data, historical transportation routes, historical transportation speeds, and traffic accidents during historical transportation of the logistics transport personnel; the method further includes: Based on the current logistics data of the logistics transportation personnel, the historical logistics data corresponding to the logistics transportation personnel is updated in real time; The basic fee of the transport personnel corresponding to the logistics transport personnel is adjusted in real time according to the updated historical logistics data to obtain the final amount of the logistics transport personnel.
4. The method according to claim 1, characterized in that: An AI camera is arranged inside the box where the goods are placed; the method further comprises: Acquire a second current cargo image of the cargo through the AI camera, and compare the second current cargo image with the initial state image of the cargo when placed in the box to obtain a comparison result; wherein the comparison result includes any one or more of the following: cargo color comparison result, cargo shape comparison result, cargo size comparison result, and cargo placement state comparison result; Determine the current status of the goods according to the comparison result, and analyze the change trend of the goods according to the comparison result and the current status; The damage trend data of the goods is determined according to the current status and the change trend.
5. The method according to claim 4, characterized in that The target client corresponding to the goods includes a terminal of the owner of the goods corresponding to the goods; after determining the damage trend data of the goods according to the current state and the change trend, it also includes: Obtaining ambient temperature data of the area to be passed through in the original logistics route corresponding to the goods; Determine the maintenance time of the goods before damage according to the damage trend data and the ambient temperature data, and send the maintenance time and the current status to the cargo owner terminal corresponding to the goods and the terminal of the logistics transport personnel corresponding to the goods; Obtaining a logistics configuration request sent by the cargo owner terminal; wherein the logistics configuration request is generated by the cargo owner terminal according to the maintenance duration and the current status, and the logistics configuration request includes any one or more of the following: a request to configure cargo insurance for the cargo during the logistics process, a request to replace the original logistics route with a new logistics route having a driving speed greater than the corresponding driving speed of the original logistics route, and a request to trade the cargo in the current status at the current logistics area of the cargo; Determine the configuration amount required for the logistics configuration request; wherein the configuration amount includes any one or more of the following: the amount of insurance for the goods during the logistics process, the transportation amount for the new logistics route, and the amount for trading the goods in the current state in the current logistics area of the goods; According to the configured amount and the original logistics amount corresponding to the goods, the second real-time logistics bill amount of the goods is recalculated and adjusted, and the adjustment result of the second real-time logistics bill amount is sent to the consignor terminal.
6. The method according to claim 1, characterized in that The target client corresponding to the goods includes a terminal of the consignor corresponding to the goods; and the method further includes: A temperature sensor and a humidity sensor are arranged inside the box where the goods are placed; a cooling device is arranged for the box; and the method further comprises: When it is detected that the goods are fresh goods and / or cold chain transport goods, the internal temperature and internal humidity of the box are determined by the temperature sensor and the humidity sensor; If the internal temperature is greater than a preset temperature and the internal humidity is greater than a preset humidity, it is determined that the goods are about to be damaged, and a signal indicating that the goods are about to be damaged is sent to a terminal of the consignor corresponding to the goods; Obtaining a cooling request sent by the cargo owner terminal, and turning on the cooling device according to the cooling request, or adjusting the set temperature of the cooling device to decrease according to the cooling request; According to the actual operation data of the cooling equipment, the control request for the cooling equipment sent by the cargo owner terminal, and the fuel consumption data of the cooling equipment, the third real-time logistics bill amount including the usage amount of the cooling equipment is recalculated and adjusted; wherein the control request includes any one or more of the following: equipment start request, equipment shutdown request, equipment setting temperature adjustment request.
7. The method according to claim 1, characterized in that The logistics transport end corresponding to the goods includes the logistics management service end corresponding to the goods and the terminal of the logistics transport personnel corresponding to the goods, and the target client corresponding to the goods includes the terminal of the consignor corresponding to the goods; The method further comprises: In response to monitoring the start of the cargo receiving stage of the cargo owner, determining whether the real-time logistics bill amount of the cargo has been settled; If the real-time logistics bill amount of the goods has been settled, the unpacking password for the box containing the goods is sent to the terminal of the cargo owner corresponding to the goods, the logistics management service terminal corresponding to the goods, the terminal of the logistics transporter corresponding to the goods, and the terminal of the shipping person corresponding to the goods; In response to monitoring that the cargo owner's terminal, the logistics transportation personnel's terminal, the logistics management service terminal corresponding to the goods, and the shipping personnel's terminal all send the box opening password to the box, control the box to open, so as to complete the cargo owner's receiving stage.
8. A real-time logistics bill data processing device based on waybill detail adjustment, characterized in that: The device comprises: A monitoring module, used to monitor the change events of the detailed data of the waybill of goods in the system; wherein the change events include any one or more of adding a waybill, modifying the waybill information and deleting the waybill; An extraction module, configured to extract change information of the waybill details if a change is detected in the waybill details according to the change event; wherein the change information includes a changed waybill ID, a changed content, and a bill ID field; A query module, used to use the bill ID field as a keyword and query the bill record corresponding to the keyword in the logistics bill data corresponding to the goods, so as to locate the bill to be updated corresponding to the change event; A verification module, used to verify whether the bill ID field in the waybill details data matches the target bill ID in the bill to be updated, and if so, to determine whether the association between the waybill details data and the bill to be updated is correct, and to determine whether the bill to be updated is in an editable state or in a state to be updated; An updating module, used to update the bill information of the bill to be updated according to the change information; updating the bill information includes adjusting the total freight, changing the mode of transportation, and updating any one or more of the estimated delivery time; A generation module, used to record each change event of the waybill detail data and the corresponding operation of updating the bill information, and generate a bill data processing log; A sending module, used to send the bill update signal corresponding to the bill data processing log to the target client corresponding to the goods, the logistics transportation end and the financial monitoring end corresponding to the goods; An AI camera is arranged inside the box in which the goods are placed; the consignor terminal corresponding to the goods corresponds to a pre-deposited amount for the goods in the logistics process; the device also includes a determination module, which is used for: if the adjustment result of the first real-time logistics bill amount is greater than the pre-deposited amount corresponding to the consignor terminal, and the communication with the consignor terminal always fails within a preset time period, then the first current cargo image of the goods is obtained through the AI camera, and the value of the goods is evaluated according to the first current cargo image to obtain a cargo value evaluation result; the first real-time logistics bill amount is the amount recalculated and adjusted according to the changed amount and the original logistics amount corresponding to the goods, and the changed amount is the amount required to be changed corresponding to the logistics change request sent by the consignor terminal; according to the cargo value evaluation result and the The shipping price of the goods is determined by summing up the adjustment results of the first real-time logistics bill amount, and a shipping request is sent to clients of multiple users based on the shipping price and the first current goods image; an approval signal sent by a first client among the multiple clients based on the shipping request is obtained, and the first client is determined as a new consignor terminal corresponding to the goods; a new receiving location corresponding to the new consignor terminal is sent to a terminal of a logistics transportation personnel corresponding to the goods, so that the goods are transported to the new receiving location; a new real-time logistics bill amount is determined according to the shipping price and the logistics amount for transporting the goods to the new receiving location, a new electronic bill is generated according to the new real-time logistics bill amount, and the new electronic bill is sent to the new consignor terminal to settle the shipping amount of the goods.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent logistics distribution information processing system and method
CN106779548A
Real-time monitoring system for traffic logistics based on big data
CN115018407A
Logistics dynamic monitoring method and system based on Internet of Things
CN118627994A