Prompting method and device and electronic equipment
By matching the similarity between the new logistics order information and the historical logistics order information, calculating the difference value and generating early warning prompts, the problem that the logistics calculation model cannot detect cost errors in time is solved, and the accuracy and efficiency of logistics cost calculation are improved.
Patent Information
- Application Number
- CN202411046369.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-26
AI Technical Summary
The existing logistics calculation model cannot detect logistics costs errors in time, resulting in inconsistent costs.
By matching the similarity between the new logistics order information and the historical logistics order information, the difference between the logistics expenses and the target logistics expenses is calculated, and an early warning prompt information is generated when the difference exceeds the threshold to ensure that the wrong logistics expenses are discovered in a timely manner. .
It has achieved timely discovery and corrected logistics cost errors, and improved the accuracy and efficiency of logistics cost calculations.
Smart Images

Figure CN119027013A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital information technology, and in particular to a prompting method, device and electronic equipment. Background Art
[0002] With the rapid development of new energy vehicles, vehicle transportation has gradually become an important link in vehicle delivery. Vehicle logistics needs to be able to quickly calculate logistics costs. Logistics transportation methods are usually affected by multiple factors, such as: transportation method, transportation distance, vehicle type, delivery requirements, etc., and each different transportation method involves at least one calculation rule. Currently, the logistics cost is obtained through the logistics calculation model. The transportation method, vehicle type, delivery requirements, geographical location, etc. corresponding to the logistics order information are input into the logistics calculation model, and the logistics calculation model will output the logistics cost.
[0003] In actual scenarios, users usually report that the logistics costs determined for the same type of transportation objects and the same transportation process are inconsistent. Since the logistics costs are determined by the logistics calculation model, and the logistics calculation model does not verify the output logistics costs, the staff will always use the logistics calculation model to obtain the logistics costs, resulting in the inability to discover erroneous logistics costs in a timely manner. Summary of the invention
[0004] The present application provides a prompting method, device and electronic device for timely discovering erroneous logistics costs.
[0005] In a first aspect, the present application provides a prompting method, the method comprising:
[0006] Obtaining the logistics cost corresponding to the first logistics order information;
[0007] Performing similarity matching between the first logistics order information and the stored historical logistics order information to obtain target logistics order information corresponding to the maximum similarity, and extracting target logistics costs corresponding to the target logistics order information;
[0008] Calculating the difference between the logistics cost and the target logistics cost;
[0009] When the difference exceeds a difference threshold, an early warning message is generated based on the logistics cost and the target logistics cost.
[0010] Through the above method, the target logistics order information with the greatest similarity to the first logistics order information is determined, so that the difference between the logistics cost and the target logistics cost is calculated. When the difference exceeds the difference threshold, early warning information can be generated in time to ensure that erroneous logistics costs can be discovered in time.
[0011] In a possible design, obtaining the logistics cost corresponding to the first logistics order information includes:
[0012] Receiving the first logistics order information;
[0013] The first logistics order information is input into a logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information. The cost influencing elements in the logistics cost calculation engine can be configured based on user operations.
[0014] Through the above method, the logistics cost corresponding to the logistics order information is calculated by the logistics cost calculation engine, thereby improving the efficiency of determining the logistics cost.
[0015] In a possible design, inputting the first logistics order information into a logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information includes:
[0016] Acquire change information of the cost influencing element, where the change information is obtained based on the user's operation on the target influencing element in the management page;
[0017] Update the target impact element in the logistics calculation engine according to the change information;
[0018] The first logistics order information is input into the updated logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information.
[0019] Through the above method, the target influencing elements are operated in the management page to obtain the change information of the cost influencing elements, and the target influencing elements are updated based on the change information, which is conducive to determining accurate logistics costs.
[0020] In one possible design, the method further includes:
[0021] Acquire change information of the cost influencing element, where the change information is obtained based on the user's operation on the target influencing element in the management page;
[0022] Determining second logistics order information corresponding to the target influencing element;
[0023] If the logistics cost flow of the second logistics order information has not yet generated an invoice, updating or deleting the logistics cost flow of the second logistics order information according to the change information;
[0024] If the logistics cost flow of the second logistics order information has generated an invoice, a label is set for the invoice of the second logistics order information, and the label is used to indicate that the logistics cost flow of the second logistics order information is to be updated.
[0025] Through the above method, the ungenerated bills are updated or deleted, and tags are set for the generated bills, so as to update the logistics cost flow, which is conducive to generating accurate bills and accurate logistics cost flow.
[0026] In a possible design, the target influencing element includes route cost configuration, and the change information includes at least one of: adding a first route freight, deleting a second route freight, and updating a third route freight; or,
[0027] The target influencing element includes a region division rule, and the change information includes at least one of: deleting a first region, adding a second region, merging a plurality of third regions, and splitting a fourth region; or,
[0028] The target influencing element includes a cost calculation rule, and the change information includes at least one of: adding a calculation rule, deleting a calculation rule, and updating the content of a rule; or,
[0029] The target impact element includes bill management, and the change information includes bill deletion.
[0030] Through the above method, the target influencing elements can be configured and the corresponding change information can be determined, which is conducive to the accurate calculation of the logistics costs of the logistics order information.
[0031] In a possible design, obtaining the logistics cost corresponding to the first logistics order information includes:
[0032] Determining the logistics order type corresponding to the first logistics order information;
[0033] Determine a target calculation rule corresponding to the first logistics order type from all calculation rules;
[0034] The logistics cost corresponding to the first logistics order information is calculated based on the target calculation rule.
[0035] Through the above method, the target calculation rule corresponding to the first logistics order information is determined, which is conducive to the accurate calculation of the logistics cost of the first logistics order information.
[0036] In a possible design, determining the target calculation rule corresponding to the logistics order type from all calculation rules includes:
[0037] In response to a selection instruction of a user, taking the calculation rule corresponding to the selection instruction as the target calculation rule; or
[0038] The weight value corresponding to each calculation rule is determined, and the calculation rule corresponding to the maximum weight value is used as the target calculation rule.
[0039] Through the above method, the target calculation rule is determined based on multiple ways, so that the way of determining the target calculation rule is diverse.
[0040] In one possible design, the calculation rule includes:
[0041] Determine the total mileage corresponding to the first logistics order information, and calculate the product of the total mileage and a fixed amount; or
[0042] Determine the interval unit price and interval coefficient corresponding to the target field parameter, and multiply the target field parameter, the interval unit price and the interval coefficient; or
[0043] Determine at least one amount range corresponding to the target field parameter, determine the target amount corresponding to each amount range, and add all the target amounts; or
[0044] Determine the interval unit price corresponding to the target field parameter, and determine the remaining amount after deducting the basic amount from the target field parameter, multiply the remaining amount by the interval unit price to obtain a first product, and add the first product to the basic amount.
[0045] Through the above method, the diversity of calculation rules is conducive to ensuring that the determined logistics costs are more accurate, making the calculation method of logistics costs more flexible and applicable to more practical scenarios.
[0046] In a possible design, obtaining the logistics cost corresponding to the first logistics order information includes:
[0047] Obtaining a rule fee corresponding to the first logistics order information obtained based on a calculation rule, and obtaining a variable fee corresponding to the first logistics order information, wherein the variable fee at least includes: one or a combination of service fees, logistics insurance fees, and parking fees;
[0048] The regular cost and the variable cost are added together to obtain the logistics cost.
[0049] Through the above method, we can avoid ignoring variable costs and causing inaccurate logistics costs, thereby ensuring the accuracy of logistics costs.
[0050] In a second aspect, the present application provides a prompting device, the device comprising:
[0051] An acquisition module, used to obtain the logistics cost corresponding to the first logistics order information;
[0052] A matching module, used to perform similarity matching between the first logistics order information and the stored historical logistics order information, obtain target logistics order information corresponding to the maximum similarity, and extract target logistics costs corresponding to the target logistics order information;
[0053] A calculation module, used to calculate the difference between the logistics cost and the target logistics cost;
[0054] The early warning module is used to generate early warning information based on the logistics cost and the target logistics cost when the difference exceeds a difference threshold.
[0055] In one possible design, the acquisition module is specifically used to receive the first logistics order information, input the first logistics order information into a logistics cost calculation engine, and obtain the logistics cost corresponding to the first logistics order information. The cost influencing elements in the logistics cost calculation engine can be configured based on user operations.
[0056] In one possible design, the acquisition module is also used to obtain change information of cost influencing elements, and the change information is obtained based on the user's operation on the target influencing elements in the management page. The target influencing elements in the logistics calculation engine are updated according to the change information, and the first logistics order information is input into the updated logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information.
[0057] In one possible design, the acquisition module is also used to obtain change information of the cost influencing element, and the change information is obtained based on the user's operation on the target influencing element in the management page, and the second logistics order information corresponding to the target influencing element is determined. If the logistics cost flow of the second logistics order information has not yet generated a bill, the logistics cost flow of the second logistics order information is updated or deleted according to the change information. If the logistics cost flow of the second logistics order information has already generated a bill, a label is set for the bill of the second logistics order information, and the label is used to indicate that the logistics cost flow of the second logistics order information is to be updated.
[0058] In one possible design, the acquisition module is also used for the target influencing element to include route cost configuration, and the change information includes: adding at least one of the first route freight, deleting the second route freight, and updating the third route freight; or, the target influencing element includes area division rules, and the change information includes: deleting the first area, adding the second area, merging multiple third areas, and splitting the fourth area; or, the target influencing element includes cost calculation rules, and the change information includes: adding at least one of the calculation rules, deleting the calculation rules, and updating the rule content; or, the target influencing element includes bill management, and the change information includes bill deletion.
[0059] In one possible design, the acquisition module is also used to determine the logistics order type corresponding to the first logistics order information, determine the target calculation rule corresponding to the first logistics order type from all calculation rules, and calculate the logistics cost corresponding to the first logistics order information based on the target calculation rule.
[0060] In one possible design, the acquisition module is also used to respond to the user's selection instruction and use the calculation rule corresponding to the selection instruction as the target calculation rule, or determine the weight value corresponding to each calculation rule and use the calculation rule corresponding to the maximum weight value as the target calculation rule.
[0061] In one possible design, the acquisition module is also used to determine the total mileage corresponding to the first logistics order information, calculate the product of the total mileage and a fixed amount, or determine the interval unit price and interval coefficient corresponding to the target field parameter, multiply the target field parameter, interval unit price and interval coefficient, or determine at least one amount interval corresponding to the target field parameter, and determine the target amount corresponding to each amount interval, add all target amounts, or determine the interval unit price corresponding to the target field parameter, and determine the remaining amount after deducting the basic amount from the target field parameter, multiply the remaining amount by the interval unit price to obtain a first product, and add the first product to the basic amount.
[0062] In a possible design, the acquisition module is also used to obtain the rule fee corresponding to the first logistics order information obtained based on the calculation rules, and obtain the variable fee corresponding to the first logistics order information, and add the rule fee to the variable fee to obtain the logistics fee.
[0063] In a third aspect, the present application provides an electronic device, including:
[0064] Memory, used to store computer programs;
[0065] The processor is used to implement the above-mentioned prompting method steps when executing the computer program stored in the memory.
[0066] In a fourth aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned prompt method are implemented.
[0067] For each aspect from the first to the fourth aspect and the technical effects that may be achieved by each aspect, please refer to the above description of the technical effects that can be achieved by the first aspect or various possible schemes in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 A flowchart of the steps of a prompting method provided for this application;
[0069] Figure 2 Schematic diagram of the interaction process between the user and the management page provided for this application;
[0070] Figure 3 A schematic diagram of the structure of a prompt device provided in this application;
[0071] Figure 4 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The specific operating methods in the method embodiments can also be applied to device embodiments or system embodiments. It should be noted that in the description of the present application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A is connected to B, which can represent: A is directly connected to B and A is connected to B through C. In addition, in the description of the present application, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0073] In previous technologies, users usually reported that the logistics costs determined for the same type of transportation objects and the same transportation process were inconsistent. Since the logistics costs were determined by the logistics calculation model, and the logistics calculation model did not verify the output logistics costs, the staff would always use the logistics calculation model to obtain the logistics costs, resulting in the inability to discover erroneous logistics costs in a timely manner.
[0074] In order to solve the above-described problems, the embodiments of the present application provide a prompting method for timely discovering incorrect logistics costs. The method and device described in the embodiments of the present application are based on the same technical concept. Since the principles of the problems solved by the method and the device are similar, the embodiments of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0075] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0076] Reference Figure 1 The present application provides a prompt method, which can promptly discover erroneous logistics costs. The implementation process of the method includes steps S1 to S4.
[0077] Step S1: Obtain the logistics cost corresponding to the first logistics order information.
[0078] Before calculating the logistics cost, first, the server needs to receive the first logistics order information. The first logistics order information may include: user identity, transportation method, logistics weight, logistics type, etc., which are not listed in detail here. Then, the first logistics order information is input into the logistics cost calculation engine to obtain the logistics cost corresponding to the logistics order information. The specific process of determining the specific logistics cost is as follows:
[0079] Logistics costs are affected by the cost influencing elements in the logistics cost calculation engine. The cost influencing elements can be transportation methods, transportation distances, geographic locations, billing rules, etc. When the cost influencing elements change, the logistics costs also change accordingly.
[0080] When the cost influencing element needs to be modified, the cost influencing element to be modified is used as the target influencing element. The user operates the target influencing element in the management page and obtains the change information. The change information corresponding to the target influencing element is as follows:
[0081] When the target influencing element is route cost configuration, the change information is at least one of adding a first route freight, deleting a second route freight, and updating a third route freight;
[0082] When the target influencing element is an area division rule, the change information includes at least one of: deleting a first area, adding a second area, merging a plurality of third areas, and splitting a fourth area;
[0083] When the target influencing element is a cost calculation rule, the change information includes at least one of: adding a calculation rule, deleting a calculation rule, and updating the content of the rule;
[0084] When the target impact element includes billing management, the change information includes billing deletion.
[0085] The calculation rules described above include: determining the total mileage corresponding to the first logistics order information, and calculating the product of the total mileage and the fixed amount. For example, the total mileage of the first logistics order information is 20, and the fixed amount is 2. Therefore, the logistics fee is 20*2=40.
[0086] Alternatively, determine the interval unit price and interval coefficient corresponding to the target field parameter, and multiply the target field parameter, interval unit price and interval coefficient. For example, if the target field parameter is 300, the unit price of 0-100 is 2, and the unit price of 100-1000 is 1.5, the logistics cost is 100*2+200*1.5=500.
[0087] Alternatively, determine at least one amount range corresponding to the target field parameter, and determine the target amount corresponding to each amount range, and add up all the target amounts. For example, if the target field parameter is 300, the amount corresponding to 0-100 is 100, the amount corresponding to 100-1000 is 500, and the logistics cost is 100+500=600.
[0088] Alternatively, determine the interval unit price corresponding to the target field parameter, and determine the remaining amount after deducting the basic amount from the target field parameter, multiply the remaining amount by the interval unit price to obtain a first product, and add the first product to the basic amount, for example: the target field parameter is 300, the 0-100 amount is 100, the unit price corresponding to 100-1000 is 2, and the logistics cost is 100+200*2=500.
[0089] The target field parameters described above may be route cost, mileage, total quantity, or may be selected based on actual conditions, which will not be further explained here.
[0090] Based on the above description, after determining the change information, in order to ensure accurate logistics costs, the target influencing elements need to be updated according to the change information, thereby ensuring that the first logistics order information is input into the updated logistics cost calculation engine to obtain accurate logistics costs.
[0091] The embodiment of the present application can also determine the logistics order type corresponding to the first logistics order information, and the calculation rules of the logistics costs corresponding to different logistics order types may be different. In the embodiment of the present application, the first logistics order information can be classified according to the logistics object. For example, when the logistics object is a food product, the logistics order type is the first category; when the logistics object is a corrosive chemical, the logistics order type is determined to be the second category; when the logistics object is a document such as a certificate or contract, the logistics order type is determined to be the third category. Different logistics order types can be set with their own corresponding transportation costs, which is just an example here.
[0092] After determining the logistics order type corresponding to the first logistics order information, in order to obtain the logistics cost of the first logistics order information, it is necessary to determine the target calculation rule corresponding to the first logistics order type from all calculation rules. The specific determination process is as follows:
[0093] In response to the user's selection instruction, the calculation rule corresponding to the selection instruction is used as the target calculation rule, or the weight value corresponding to each calculation rule is determined. The larger the weight value, the higher the frequency of use of the corresponding calculation rule. The calculation rule corresponding to the maximum weight value is used as the target calculation rule.
[0094] Through the above method, different ways can be used to determine the target calculation rules corresponding to the logistics order information, thereby improving the accuracy of determining the logistics costs of the logistics order information.
[0095] After the target calculation rule is determined, the logistics cost corresponding to the first logistics order information is calculated according to the target calculation rule.
[0096] Since there are variable costs in the logistics transportation process, the variable costs in the embodiments of the present application include: service fees, logistics insurance fees, parking fees, one or more combinations thereof. Therefore, after obtaining the rule fees corresponding to the first logistics order information based on the calculation rules, it is also necessary to add the rule fees to the variable fees to obtain the final logistics fees.
[0097] It should be noted that after operating on the target influencing element, it is necessary to determine the second logistics order information corresponding to the target influencing element. If the logistics cost flow of the second logistics order information has not generated a bill, the logistics cost flow of the second logistics order information is updated or deleted according to the change information; if the logistics cost flow of the second logistics order information has generated a bill, the bill of the second logistics order information is labeled, and the label is used to indicate that the logistics cost flow of the second logistics order information is to be updated, and to delete the bill of the second logistics order information.
[0098] In addition, the embodiment of the present application provides a management page for adjusting the cost influencing elements. The present application provides a schematic diagram of the interaction process between the user and the management page, such as Figure 2 As shown in , different cost impact elements may correspond to different management pages. Users can obtain change information by operating target impact elements in different management pages. Figure 2 The route freight page, area management page, calculation rule page, and bill management page are given as examples. The above management pages can be display interfaces of the user's terminal device. When the change information is generated, the user's terminal device sends the change information to the server, so that the server executes an update on the target influencing element based on the change information.
[0099] In addition, if there are multiple change information, synchronous threads can be used to process the multiple change information. Each page corresponds to a processor, and the change information can be sent to the corresponding processor for processing. In order to improve efficiency, asynchronous multi-threading can be used to implement the processor's update processing of the target influencing elements, thereby realizing the recalculation of logistics costs.
[0100] Through the above-mentioned settings of the management page, the calculation of logistics costs is made transparent and the cost-influencing elements that affect logistics costs are highly configurable.
[0101] Through the above method, the cost influencing elements can be quickly adjusted through the management page, and each module in the management page can be updated in a timely manner, ensuring the accuracy of the determined logistics costs.
[0102] Step S2: Perform similarity matching between the first logistics order information and the stored historical logistics order information to obtain target logistics order information corresponding to the maximum similarity, and extract the target logistics cost corresponding to the target logistics order information.
[0103] In order to ensure that the determined logistics costs can be detected, it is necessary to match the first logistics order information with the historical logistics order information stored in the server, obtain multiple similarities, screen out the maximum similarity from all similarities, and determine the target logistics order information corresponding to the maximum similarity, and extract the target logistics costs corresponding to the target logistics order information.
[0104] Through the above method, the target logistics order information that is most similar to the first logistics order information can be determined, which is conducive to detecting the logistics costs of the first logistics order information.
[0105] Step S3: Calculate the difference between the logistics cost and the target logistics cost.
[0106] After determining the target logistics cost and the logistics cost, the difference between the target logistics cost and the logistics cost is calculated.
[0107] Step S4: When the difference exceeds the difference threshold, an early warning message is generated based on the logistics cost and the target logistics cost.
[0108] After the difference value is determined, when the difference value exceeds the difference threshold, it means that the probability that the logistics cost corresponding to the first logistics order information is at risk is extremely high. Therefore, an early warning prompt information is generated based on the logistics cost and the target logistics cost.
[0109] Through the above method, by determining the target logistics order information with the highest similarity to the first logistics order information, the difference between the logistics cost and the target logistics cost can be determined. Based on the relationship between the difference and the difference threshold, it is determined whether to send an early warning prompt information, which is conducive to timely discovering erroneous logistics costs and ensuring the accuracy of the logistics costs.
[0110] Based on the same inventive concept, a prompting device is also provided in the embodiment of the present application. The prompting device is used to implement the function of a prompting method. Figure 3 , the device comprises:
[0111] An acquisition module 301 is used to obtain the logistics cost corresponding to the first logistics order information;
[0112] A matching module 302 is used to perform similarity matching between the first logistics order information and the stored historical logistics order information to obtain target logistics order information corresponding to the maximum similarity, and extract target logistics costs corresponding to the target logistics order information;
[0113] A calculation module 303 is used to calculate the difference between the logistics cost and the target logistics cost;
[0114] The early warning module 304 is used to generate early warning information based on the logistics cost and the target logistics cost when the difference exceeds a difference threshold.
[0115] In one possible design, the acquisition module 301 is specifically used to receive the first logistics order information, input the first logistics order information into a logistics cost calculation engine, and obtain the logistics cost corresponding to the first logistics order information. The cost influencing elements in the logistics cost calculation engine can be configured based on user operations.
[0116] In one possible design, the acquisition module 301 is also used to obtain change information of cost influencing elements, and the change information is obtained based on the user's operation on the target influencing elements in the management page. The target influencing elements in the logistics calculation engine are updated according to the change information, and the first logistics order information is input into the updated logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information.
[0117] In one possible design, the acquisition module 301 is also used to obtain change information of the cost influencing element, and the change information is obtained based on the user's operation on the target influencing element in the management page, and the second logistics order information corresponding to the target influencing element is determined. If the logistics cost flow of the second logistics order information has not yet generated a bill, the logistics cost flow of the second logistics order information is updated or deleted according to the change information. If the logistics cost flow of the second logistics order information has already generated a bill, a label is set for the bill of the second logistics order information, and the label is used to indicate that the logistics cost flow of the second logistics order information is to be updated.
[0118] In one possible design, the acquisition module 301 is also used for the target influencing element to include route cost configuration, and the change information includes: adding at least one of the first route freight, deleting the second route freight, and updating the third route freight; or, the target influencing element includes area division rules, and the change information includes: deleting the first area, adding a second area, merging multiple third areas, and splitting the fourth area; or, the target influencing element includes cost calculation rules, and the change information includes: adding at least one of calculation rules, deleting calculation rules, and updating rule content; or, the target influencing element includes bill management, and the change information includes bill deletion.
[0119] In a possible design, the acquisition module 301 is also used to determine the logistics order type corresponding to the first logistics order information, determine the target calculation rule corresponding to the first logistics order type from all calculation rules, and calculate the logistics cost corresponding to the first logistics order information based on the target calculation rule.
[0120] In one possible design, the acquisition module 301 is also used to respond to the user's selection instruction and use the calculation rule corresponding to the selection instruction as the target calculation rule, or determine the weight value corresponding to each calculation rule and use the calculation rule corresponding to the maximum weight value as the target calculation rule.
[0121] In one possible design, the acquisition module 301 is also used to determine the total mileage corresponding to the first logistics order information, calculate the product of the total mileage and a fixed amount, or determine the interval unit price and interval coefficient corresponding to the target field parameter, multiply the target field parameter, interval unit price and interval coefficient, or determine at least one amount interval corresponding to the target field parameter, and determine the target amount corresponding to each amount interval, add all target amounts, or determine the interval unit price corresponding to the target field parameter, and determine the remaining amount after deducting the basic amount from the target field parameter, multiply the remaining amount by the interval unit price to obtain a first product, and add the first product to the basic amount.
[0122] In a possible design, the acquisition module 301 is also used to obtain the rule fee corresponding to the first logistics order information obtained based on the calculation rules, and obtain the variable fee corresponding to the first logistics order information, and add the rule fee to the variable fee to obtain the logistics fee.
[0123] Based on the same inventive concept, an electronic device is also provided in an embodiment of the present application, and the electronic device can realize the function of the aforementioned prompting device, referring to Figure 4 , the electronic device comprises:
[0124] At least one processor 401, and a memory 402 connected to the at least one processor 401. The specific connection medium between the processor 401 and the memory 402 is not limited in the embodiment of the present application. Figure 4 In the example, the processor 401 and the memory 402 are connected via the bus 400. The bus 400 is Figure 4 The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 400 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 401 can also be called a controller, and there is no limitation on the name.
[0125] In the embodiment of the present application, the memory 402 stores instructions that can be executed by at least one processor 401. The at least one processor 401 can execute a prompt method discussed above by executing the instructions stored in the memory 402. The processor 401 can implement Figure 3 The functions of each module in the device shown.
[0126] Among them, the processor 401 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 402 and calling the data stored in the memory 402, the various functions of the device and process data, the device can be monitored as a whole.
[0127] In one possible design, the processor 401 may include one or more processing units, and the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 401. In some embodiments, the processor 401 and the memory 402 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
[0128] Processor 401 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of a prompting method disclosed in the embodiments of the present application can be directly embodied as a hardware processor to be executed, or a combination of hardware and software modules in the processor can be executed.
[0129] The memory 402 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 402 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 402 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 402 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0130] By programming the processor 401, the code corresponding to the prompt method described in the above embodiment can be fixed into the chip, so that the chip can execute the prompt method when running. Figure 1 A prompt step of the embodiment shown. How to design and program the processor 401 is a technique known to those skilled in the art and will not be described in detail here.
[0131] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes a prompt method discussed above.
[0132] In some possible implementations, various aspects of a prompt method provided by the present application may also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of a prompt method according to various exemplary implementations of the present application described above in this specification.
[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0134] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0135] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0137] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A prompting method, characterized in that: include: Obtaining the logistics cost corresponding to the first logistics order information; Performing similarity matching between the first logistics order information and the stored historical logistics order information to obtain target logistics order information corresponding to the maximum similarity, and extracting target logistics costs corresponding to the target logistics order information; Calculating the difference between the logistics cost and the target logistics cost; When the difference exceeds a difference threshold, an early warning message is generated based on the logistics cost and the target logistics cost.
2. The method according to claim 1, characterized in that The obtaining of the logistics cost corresponding to the first logistics order information includes: Receiving the first logistics order information; The first logistics order information is input into a logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information. The cost influencing elements in the logistics cost calculation engine can be configured based on user operations.
3. The method according to claim 2, characterized in that The step of inputting the first logistics order information into a logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information includes: Acquire change information of the cost influencing element, where the change information is obtained based on the user's operation on the target influencing element in the management page; Update the target impact element in the logistics calculation engine according to the change information; The first logistics order information is input into the updated logistics cost calculation engine to obtain the logistics cost corresponding to the first logistics order information.
4. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire change information of the cost influencing element, where the change information is obtained based on the user's operation on the target influencing element in the management page; Determining second logistics order information corresponding to the target influencing element; If the logistics cost flow of the second logistics order information has not yet generated an invoice, updating or deleting the logistics cost flow of the second logistics order information according to the change information; If the logistics cost flow of the second logistics order information has generated an invoice, a label is set for the invoice of the second logistics order information, and the label is used to indicate that the logistics cost flow of the second logistics order information is to be updated.
5. The method according to claim 3 or 4, characterized in that The target influencing element includes route cost configuration, and the change information includes at least one of: adding a first route freight, deleting a second route freight, and updating a third route freight; or, The target influencing element includes a region division rule, and the change information includes at least one of: deleting a first region, adding a second region, merging a plurality of third regions, and splitting a fourth region; or, The target influencing element includes a cost calculation rule, and the change information includes at least one of: adding a calculation rule, deleting a calculation rule, and updating the content of a rule; or, The target impact element includes bill management, and the change information includes bill deletion.
6. The method according to claim 2 or 3, characterized in that: The obtaining of the logistics cost corresponding to the first logistics order information includes: Determining the logistics order type corresponding to the first logistics order information; Determine a target calculation rule corresponding to the first logistics order type from all calculation rules; The logistics cost corresponding to the first logistics order information is calculated based on the target calculation rule.
7. The method according to claim 6, characterized in that The step of determining the target calculation rule corresponding to the logistics order type from all the calculation rules includes: In response to a selection instruction of a user, taking the calculation rule corresponding to the selection instruction as the target calculation rule; or The weight value corresponding to each calculation rule is determined, and the calculation rule corresponding to the maximum weight value is used as the target calculation rule.
8. The method according to any one of claims 5 to 7, characterized in that The calculation rules include: Determine the total mileage corresponding to the first logistics order information, and calculate the product of the total mileage and a fixed amount; or Determine the interval unit price and interval coefficient corresponding to the target field parameter, and multiply the target field parameter, the interval unit price and the interval coefficient; or Determine at least one amount range corresponding to the target field parameter, determine the target amount corresponding to each amount range, and add all the target amounts; or Determine the interval unit price corresponding to the target field parameter, and determine the remaining amount after deducting the basic amount from the target field parameter, multiply the remaining amount by the interval unit price to obtain a first product, and add the first product to the basic amount.
9. The method according to claim 2, characterized in that The obtaining of the logistics cost corresponding to the first logistics order information includes: Obtaining a rule fee corresponding to the first logistics order information obtained based on a calculation rule, and obtaining a variable fee corresponding to the first logistics order information, wherein the variable fee at least includes: one or a combination of service fees, logistics insurance fees, and parking fees; The regular cost and the variable cost are added together to obtain the logistics cost.
10. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 9 when executing the computer program stored in the memory.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 9 are implemented.
Citation Information
Cited By
Service management system based on CSTS
CN120525573A
