Automatic fee calculation method, device, system and storage medium

Through the automatic calculation method, the use of blockchain and attention mechanisms, combined with graphs and network models, the low efficiency and security issues of the logistics billing system in complex scenarios are solved, and real-time and accurate billing and transparent settlement are achieved. process.

CN117764574BActive Publication Date: 2024-10-29SICHUAN CHUANHANG LOGISTICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311779486.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2024-10-29
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

The existing logistics billing and settlement system is difficult to adapt to complex scenarios, and relies on paper bills, resulting in low settlement efficiency and the risk of malicious impersonation and deception.

Method used

Adopting an automatic fee calculation method, by obtaining user identity information and logistics information, using blockchain verification and attention mechanisms to obtain features, calculating fees based on the preset map and preset fee network model, and uploading the billing results to the block chain to ensure the accuracy and transparency of billing rules.

Benefits of technology

It achieves real-time formulation of billing rules based on actual conditions, improves settlement efficiency, avoids malicious impersonation and deception, and enhances the transparency and security of the billing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117764574B_ABST
    Figure CN117764574B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide an automatic fee calculation method, device, system and storage medium, the method comprising: obtaining user identity information and logistics information; obtaining a first feature based on the user identity information, the first feature is used to characterize the subject in the logistics information; obtaining a second feature based on the first feature, based on the attention mechanism and the preset graph, the second feature is used to characterize the charging rules; based on the pre-designed charging network model, the first feature and the second feature are used as input to calculate the fee. The technical solution provided by this application is used to solve the problems of low calculation efficiency and single adaptation scenario in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of intelligent logistics, and in particular to an automatic fee calculation method, device, system and storage medium. Background Art

[0002] The logistics industry has made great progress with the application of Internet technology. However, due to the increasing requirements of customers and consumers for logistics services, the logistics industry has to pursue high-efficiency and high-value-added business processing models.

[0003] In order to meet this demand, Internet companies have launched a series of information-based and technological business platforms based on the characteristics of the logistics industry, making the logistics transportation network more reasonable and the logistics information transmission faster.

[0004] However, the existing logistics billing and settlement systems are often designed for a single scenario and are difficult to apply to increasingly complex scenarios. Moreover, billing relies on paper bills, resulting in low settlement efficiency. Summary of the invention

[0005] In view of the above analysis, the present application aims to propose an automatic charging method, device, system and storage medium to solve one of the above technical problems.

[0006] In a first aspect, one or more embodiments of this specification provide an automatic fee calculation method, including:

[0007] Obtain user identity information and logistics information;

[0008] Acquire a first feature according to the user identity information, where the first feature is used to characterize a subject in the logistics information;

[0009] According to the first feature, based on the attention mechanism and the preset graph, a second feature is obtained, where the second feature is used to characterize the billing rule;

[0010] Based on a pre-designed fee network model, the fee is calculated with the first feature and the second feature as input.

[0011] Furthermore, obtaining the first feature according to the user identity information includes:

[0012] Verify the user identity information based on a preset blockchain;

[0013] After verification, the contract information is obtained from the blockchain according to the user identity information;

[0014] Verifying the logistics information according to the contract information;

[0015] After the verification is passed, the first feature is obtained.

[0016] Furthermore, obtaining the second feature according to the first feature based on an attention mechanism and a preset graph includes:

[0017] Based on the first feature, determining an entity in the graph;

[0018] Based on an attention mechanism, the second feature is determined from the graph according to entities in the graph.

[0019] Furthermore, the graph includes: entities in the logistics information, charging methods, charging types and calculation rules.

[0020] Furthermore, after calculating the cost, the method further includes:

[0021] Upload the billing results and billing items to the blockchain.

[0022] In a second aspect, an embodiment of the present application provides an automatic fee calculation device, including: an information acquisition module, a feature acquisition module and a data processing module;

[0023] The information acquisition module is used to obtain user identity information and logistics information;

[0024] The feature acquisition module is used to acquire a first feature according to the user identity information, and the first feature is used to characterize the subject in the logistics information; based on the first feature, based on the attention mechanism and the preset graph, a second feature is acquired, and the second feature is used to characterize the billing rule;

[0025] The data processing module is used to calculate the cost based on a pre-designed cost network model with the first feature and the second feature as input.

[0026] Furthermore, the feature acquisition module is used to verify the user identity information based on a preset blockchain; after the verification is passed, the contract information is obtained from the blockchain according to the user identity information; the logistics information is verified according to the contract information; after the verification is passed, the first feature is obtained.

[0027] Furthermore, the feature acquisition module is used to determine the entity in the graph based on the first feature; based on the attention mechanism, determine the second feature from the graph according to the entity in the graph.

[0028] In a third aspect, an embodiment of the present application provides an automatic fee calculation system, based on the method described in any one of the first aspects, including: a client, a blockchain server, and a storage server;

[0029] The client is used to submit user identity information and logistics information;

[0030] The warehousing server is used to obtain a first feature according to the user identity information through the blockchain server, and the first feature is used to characterize the subject in the logistics information; according to the first feature, based on the attention mechanism and the preset graph, a second feature is obtained, and the second feature is used to characterize the billing rule;

[0031] The warehouse server is also used to calculate the fee based on a pre-designed fee network model, taking the first feature and the second feature as input.

[0032] In a fourth aspect, an embodiment of the present application provides a storage medium, including:

[0033] Used to store computer executable instructions, which implement any method in the first aspect when executed.

[0034] Compared with the prior art, this application can at least achieve the following technical effects:

[0035] The graph is used to store the correspondence between the billing rules and the subjects in the logistics information. When billing, the user information is used to determine the subject in the logistics information (the first feature) to prevent someone from maliciously impersonating others to conduct transactions. After that, the corresponding billing rules (the second feature) are determined based on the graph and the subjects in the logistics information. Finally, based on the pre-designed billing network model, the first feature and the second feature, the billing method is determined, and then the fee is calculated. In this way, the billing rules can be formulated in real time according to the actual situation, thereby improving the settlement efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0037] Figure 1 A flow chart of an automatic fee calculation method provided for one or more embodiments of this specification;

[0038] Figure 2 A schematic diagram of the structure of a diagram provided for one or more embodiments of this specification;

[0039] Figure 3 A schematic diagram of the structure of an automatic fee calculation system provided for one or more embodiments of this specification. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0041] In the field of warehousing and logistics, the traditional practice is to set up fee templates according to business types, such as setting up different payment receipts for different industries. However, with the advent of the information age, the types of business are constantly increasing, and the original fee templates have the following problems:

[0042] 1. For paper expense templates, such as invoices, since the invoices previously corresponded to the original business types, and the existing invoices could not match the newly added business types well, the staff had to manually fill in part of the content in the original invoices to match the original invoices with the new business, which increased the burden on the staff.

[0043] For electronic expense templates, they need to be constantly generated for the constantly changing business types. The editing and storage of expense templates consumes a lot of resources, thus reducing the efficiency of the entire logistics process.

[0044] 2. If the bill format cannot match the new business, it means that it is difficult for staff to identify the business type through the bill, which will lead to errors in subsequent settlement business and even illegal acts such as using bills to defraud.

[0045] In order to solve the above problems, the present application embodiment provides an automatic fee calculation method, such as Figure 1 As shown, the following steps are included:

[0046] Step 1: Obtain user identity information and logistics information.

[0047] In the embodiment of the present application, user identity information includes: ID number, taxpayer identification number, company name, personal information of the company legal person, contract number and other information that can prove the identity of the delivery person or the consignee. Logistics information includes: name of goods, type of goods, pickup / receipt time, quantity of goods, etc.

[0048] Step 2: Obtain the first feature based on the user identity information.

[0049] In an embodiment of the present application, the first feature is used to characterize entities in the logistics information, including the name of the goods, the type of goods, the pickup time and the quantity of goods.

[0050] For the benefit of both parties to the transaction, blockchain technology is used to obtain the first feature. Specifically,

[0051] The user identity information is verified based on a preset blockchain. After the verification is passed, the contract information is obtained from the blockchain according to the user identity information. The logistics information is verified according to the contract information. After the verification is passed, the first feature is obtained.

[0052] For example, the contract is uploaded to the blockchain in advance. When picking up or storing goods, the user identity information and contract number are broadcast to each node on the blockchain to verify the user identity information through the blockchain. At the same time, the logistics information is broadcast to verify whether the current extraction / stocking is in accordance with the contract through the contract information on the blockchain. After the verification is passed, the first feature is obtained from the logistics information.

[0053] It should be noted that in the embodiments of the present application, the name of the goods, type of goods, pickup / delivery time, and quantity of goods also contained in the contract content are usually the total amount, while the name of the goods, type of goods, pickup / delivery time, and quantity of goods in the logistics information are all included in the contract content. For example, it is stated in the contract that Party A provides Party B with 10 tons of goods A and 100 pieces of goods B. In the actual process, goods A and B are provided by Party A in batches, or Party B extracts them in batches from the agreed storage place for the goods. Therefore, the logistics information is for each batch of goods, while the contract information is for the total number, which is equivalent to the restriction condition of a single pickup or inventory. Therefore, in the embodiments of the present application, the identity information and logistics information are verified by using the contract information and the immutability of the blockchain.

[0054] Preferably, a first feature library is pre-set to store the first feature. Since the contract has legal efficiency, the credibility of the contract is relatively high for both parties to the transaction. Therefore, in the embodiment of the present application, the data in the contract is used as the basic data in the logistics process to ensure the legality and effectiveness of the logistics process. Since the contract is usually signed before the logistics activities, the first feature library can be created based on the contract.

[0055] In order to adapt to the ever-diversifying business types, the sentences and words used in contracts are also constantly enriched. Therefore, relying on traditional keywords to extract the first feature is prone to errors. In view of the above problems, in the embodiment of the present application, the first feature is extracted from the contract based on semantic analysis. The specific process is as follows:

[0056] Convert each word in the contract text into a one-hot vector C i , the entire contract text can be represented as a series of sparse one-hot vectors C = [C 1 , …, Cn ,]. Since the one-hot vector is a high-dimensional and sparse vector representation, in order to better obtain the semantic features of the text and also to reduce the parameter scale and training complexity of the subsequent model, the embodiment of the present application will use pre-trained word vectors to map the text from a high-dimensional, sparse one-hot vector to a low-dimensional, dense word vector. For example, the one-hot vector C is converted into a word vector matrix.

[0057] In order to better extract the semantic features in the text, a bidirectional LSTM structure is used as a feature extractor. Through the LSTM structure, the semantic features of the text in the forward order and the semantic features of the text in the reverse order are extracted respectively based on the forward order and the reverse order of the text, and then the forward order semantic features and the reverse order semantic features at the same position are concatenated to obtain the semantic features of the text, that is, the first feature.

[0058] Step 3: According to the first feature, based on the attention mechanism and the preset graph, obtain the second feature.

[0059] In the embodiment of the present application, the second feature is used to characterize the billing rules. For example, for ordinary warehousing services, charges are made by piece, by volume, or by area. For some specific warehousing scenarios, such as ports and docks, there are also cargo port charges, loading and unloading fees, cargo storage fees, usage service fees, agency fees, etc. The above fees all have their own calculation rules, which are the second features.

[0060] Due to the large number of various fees, the number of calculation rules is also relatively large. In order to better sort out the billing rules, the embodiment of the present application uses a graph to store the entities and billing rules in the contract. The graph includes: entities, charging methods, charging types and calculation rules in the logistics information. For example, the contract states that cargo A is charged by volume and also charges loading and unloading fees. Then cargo A is the name of the cargo, charging by volume is the charging method, and loading and unloading fees is the charging type. Therefore, the above three are all entities, and the calculation rules for charging by volume and the calculation rules for loading and unloading fees are the second feature. The spectrum format is as follows: Figure 2 shown.

[0061] Specifically, based on the first feature, an entity in a preset graph is determined. Based on an attention mechanism, the second feature is determined from the graph according to the entity in the graph.

[0062] It should be noted that step 2 belongs to analyzing the contract from the sequence dimension of words. However, in the field of warehousing and logistics, the relationship between words (entities) cannot be summarized simply by sequence. In fact, the terms of the contract are also related, that is, there is a connection between the terms (entities), and the calculation rules usually belong to this kind of connection. For example, Clause A states the quantity and type of goods stored by Party B, and there is no billing rule in this clause, but it is stated in other clauses. At this time, if the semantics are analyzed simply from the sequence dimension of words, the calculation rules will be omitted, which will eventually lead to errors in billing. Therefore, the embodiment of the present application uses a graph to supplement the first feature and lay the foundation for subsequent accurate billing.

[0063] Step 4: Based on the pre-designed fee network model, the fee is calculated with the first feature and the second feature as input.

[0064] In the embodiment of the present application, when there are many types of entities, charging methods and charging types, the combination methods increase dramatically, which makes the selection of billing methods nonlinear. Therefore, a neural network model that is good at solving nonlinear problems is selected to replace the writing of receipts with fixed formats, so as to realize real-time generation of documents to improve computing efficiency. Among them, the billing network model can be based on convolutional neural network (CNN), recurrent neural network (RNN), deep belief network (DBN), deep autoencoder (AutoEncoder) and generative adversarial network (GAN), etc.

[0065] In the embodiment of the present application, in order to prevent illegal acts such as fraud by using bills, the billing results and billing items are uploaded to the blockchain. Specifically, the storage server broadcasts the billing results and billing items to each node of the blockchain, and after each node reaches a consensus, the billing results and billing items are written into the block.

[0066] The embodiment of the present application provides an automatic fee calculation device, including: an information acquisition module, a feature acquisition module and a data processing module;

[0067] The information acquisition module is used to obtain user identity information and logistics information;

[0068] The feature acquisition module is used to acquire a first feature according to the user identity information, and the first feature is used to characterize the subject in the logistics information; based on the first feature, based on the attention mechanism and the preset graph, a second feature is acquired, and the second feature is used to characterize the billing rule;

[0069] The data processing module is used to calculate the cost based on a pre-designed cost network model with the first feature and the second feature as input.

[0070] In an embodiment of the present application, the feature acquisition module is used to verify the user identity information based on a preset blockchain; after the verification is passed, the contract information is obtained from the blockchain according to the user identity information; the logistics information is verified according to the contract information; after the verification is passed, the first feature is obtained.

[0071] In an embodiment of the present application, the feature acquisition module is used to determine the entity in the graph based on the first feature; based on the attention mechanism, determine the second feature from the graph according to the entity in the graph.

[0072] The present application embodiment provides an automatic fee calculation system, such as Figure 3 As shown, it includes: client, blockchain server and storage server;

[0073] The client is used to submit user identity information and logistics information;

[0074] The warehousing server is used to obtain a first feature according to the user identity information through the blockchain server, and the first feature is used to characterize the subject in the logistics information; according to the first feature, based on the attention mechanism and the preset graph, a second feature is obtained, and the second feature is used to characterize the billing rule;

[0075] The warehouse server is also used to calculate the fee based on a pre-designed fee network model, taking the first feature and the second feature as input.

[0076] Specifically, the client first initiates a service request to the warehouse server and submits the user identity information and logistics information. The warehouse server verifies the user identity information and logistics information based on the contract information stored in the blockchain service. After the verification, the warehouse server extracts the entity from the logistics information and the charge type and charge category from the preset map. Finally, the warehouse server generates a billing document in real time based on the entity, billing type and billing category. In addition, the warehouse server can also upload the generated document to the blockchain server.

[0077] The present application provides a storage medium, including:

[0078] Used to store computer executable instructions, which implement the following process when executed:

[0079] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0080] In the 1930s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean E×pression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0081] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0082] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0083] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0084] It should be understood by those skilled in the art that one or more embodiments of this specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0085] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. 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.

[0086] 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.

[0087] 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.

[0088] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0089] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0090] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0091] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0092] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0093] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0094] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. An automatic fee calculation method, It is characterized in that include: Obtain user identity information and logistics information; Acquire a first feature according to the user identity information, where the first feature is used to characterize a subject in the logistics information; According to the first feature, based on the attention mechanism and the preset graph, a second feature is obtained, where the second feature is used to characterize the billing rule; Based on a pre-designed fee network model, taking the first feature and the second feature as input, calculating the fee; The acquiring a first feature according to the user identity information includes: Verify the user identity information based on a preset blockchain; After verification, the contract information is obtained from the preset blockchain according to the user identity information; Verifying the logistics information according to the contract information; After the verification is passed, the first feature is obtained; The obtaining of the second feature according to the first feature based on the attention mechanism and the preset graph includes: Based on the first feature, determining an entity in the graph; Determining the second feature from the graph according to entities in the graph based on an attention mechanism; After calculating the cost, the method further includes: Upload the billing results and billing items to the blockchain.

2. The method according to claim 1, It is characterized in that The graph includes: entities in the logistics information, charging methods, charging types and calculation rules.

3. An automatic fee calculation device, It is characterized in that include: Information acquisition module, feature acquisition module and data processing module; The information acquisition module is used to obtain user identity information and logistics information; The feature acquisition module is used to acquire a first feature according to the user identity information, and the first feature is used to characterize the subject in the logistics information; based on the first feature, based on the attention mechanism and the preset graph, a second feature is acquired, and the second feature is used to characterize the billing rule; The data processing module is used to calculate the fee based on the pre-designed fee network model, taking the first feature and the second feature as input; The feature acquisition module is used to verify the user identity information based on a preset blockchain; after the verification is passed, the contract information is obtained from the blockchain according to the user identity information; and the logistics information is verified according to the contract information; After the verification is passed, the first feature is obtained; The feature acquisition module is used to determine the entity in the graph based on the first feature; Determining the second feature from the graph according to entities in the graph based on an attention mechanism; The device also includes: an upload module; The upload module is used to upload the billing results and billing items to the blockchain after the fee is calculated.

4. An automatic fee calculation system, based on the method according to claim 1 or 2, It is characterized in that include: Client, blockchain server and storage server; The client is used to submit user identity information and logistics information; The warehousing server is used to obtain a first feature according to the user identity information through the blockchain server, and the first feature is used to characterize the subject in the logistics information; according to the first feature, based on the attention mechanism and the preset graph, a second feature is obtained, and the second feature is used to characterize the billing rule; The warehouse server is also used to calculate the fee based on a pre-designed fee network model, taking the first feature and the second feature as input.

5. A storage medium, It is characterized in that include: Used to store computer executable instructions, which implement the method of claim 1 or 2 when executed.

Citation Information

Patent Citations

  • Mobile-network-based identity authentication and charging method and device

    CN110349278A

  • Logistics charging and settlement integrated method and device, electronic equipment and storage medium

    CN114841688A