Intelligent cargo tracking method, system and device and storage medium

Encrypting and decrypting logistics information in cargo tracking through blockchain technology solves the problem of interlaced cargo tracking information, ensuring information security and authenticity, and optimizing transportation routes through big data, reducing transportation costs and improving efficiency.

CN118657464AActive Publication Date: 2024-09-17SICHUAN RUIHUA HEZONG IND CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411075185.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-09-17
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Existing cargo tracking methods require the logistics company information platform to store and process information of multiple consumers at the same time, resulting in interleaving of cargo tracking information between different consumers, resulting in abnormal cargo transportation.

Method used

Using blockchain technology, the logistics information is encrypted and decrypted through the content key, private key and public key of the consumer blockchain to ensure the security of information verification and transmission, prevent information interleaving, and generate reliable information through big data. Transportation routes to reduce transportation costs and increase efficiency.

Benefits of technology

It can effectively prevent the interlacing of cargo tracking information, ensure the authenticity and security of the information, realize the traceability of logistics information, and select the optimal transportation path to reduce transportation costs and improve efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657464A
    Figure CN118657464A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and provides an intelligent cargo tracking method, system and device and a storage medium, and the method comprises the steps: responding to the operation of an operator on a target cargo, and obtaining the logistics information and consumer information of the target cargo; determining a consumer block chain based on the consumer information, and sending the logistics information to the consumer block chain, so that the consumer block chain verifies the logistics information based on the content key; wherein the consumer block chain is provided with a content key, a private key and a public key; if the verification is passed, carrying out encryption processing on the logistics information based on a private key to obtain encrypted logistics information, and storing the encrypted logistics information to a consumer block chain; and sending the encrypted logistics information and the public key to the target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information. The method can effectively prevent the goods tracking information of different consumers from staggering, and avoids the abnormity of goods transportation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to an intelligent cargo tracking method, system, device and storage medium. Background Art

[0002] With the rapid development of e-commerce, consumers have an increasing demand for tracking goods during transportation. Current methods of tracking goods mostly rely on the information platform of logistics companies. Although they can provide tracking services to a certain extent, since the information platform of logistics companies often needs to store and process the cargo tracking information of multiple consumers at the same time, it is easy to cause the cargo tracking information of different consumers to be intertwined, thus causing abnormal transportation of goods. Summary of the invention

[0003] The present application provides an intelligent cargo tracking method, system, device and storage medium to solve the problems raised by the above background technology.

[0004] In a first aspect, the present application provides an intelligent cargo tracking method, comprising: In response to the operator's operation on the target goods, obtaining logistics information and consumer information of the target goods; Determine a consumer blockchain based on the consumer information, and send the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on the content key; wherein the consumer blockchain is provided with a content key, a private key, and a public key; If the verification is successful, the logistics information is encrypted based on the private key to obtain encrypted logistics information, and the encrypted logistics information is stored in the consumer blockchain; The encrypted logistics information and the public key are sent to a target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to the target consumer; wherein the target consumer uses the target terminal to purchase the target goods.

[0005] In a possible implementation, before the responding operator operates the target goods and obtains the logistics information and consumer information of the target goods, the method further includes: Obtaining the shipping address information and the receiving address information of the target goods, and generating a target transportation path for the target goods based on the shipping address information and the receiving address information; wherein the target transportation path includes a plurality of target transportation nodes; The content key is generated based on the target transportation route and the identification code of the target cargo, and the content key is sent to the consumer blockchain.

[0006] In a possible implementation, the generating a target transportation path of the target goods based on the shipping address information and the receiving address information includes: Acquire a historical transportation route matching the shipping address information and the receiving address information based on big data; Determine whether the number of the historical transportation paths is greater than 1; If so, the reliability index of each of the historical transportation routes is obtained, and the target transportation route is determined based on the reliability index.

[0007] In a possible implementation, the obtaining of the reliability index of each of the historical transportation paths includes: For each of the historical transportation paths, determining the number of transportation nodes corresponding to the historical transportation path as a first index; For each of the historical transportation paths, the historical integrals of each transportation node corresponding to the historical transportation path are respectively obtained in a preset database, and the standard deviation between each of the historical integrals is determined as a second index, and the average value between each of the historical integrals is determined as a third index; For each of the historical transportation paths, the product of the first index and the second index corresponding to the historical transportation path is calculated, and the ratio of the third index corresponding to the historical transportation path and the product is determined as the reliability index corresponding to the historical transportation path.

[0008] In a possible implementation manner, determining the target transportation path based on the reliability index includes: determining a maximum reliability index among the reliability indices; Determining whether the number of the maximum reliability index is greater than 1; If so, determining the historical transportation paths corresponding to the respective maximum reliability indexes as the intermediate target transportation paths; Determine the target number corresponding to each of the intermediate target transportation paths respectively; wherein the target number is the number of transportation nodes corresponding to the intermediate target transportation paths; Determine the intermediate target transportation path corresponding to the largest target number as the target transportation path.

[0009] In a possible implementation, the generating the content key based on the target transportation route and the identification code of the target goods includes: For each target transportation node of the target transportation path, obtaining logistics service node information corresponding to the target transportation node in a preset database; Integrate the information of each logistics service node to obtain the logistics service information corresponding to the target transportation path; The logistics service information is encrypted based on the identification code to obtain the content key.

[0010] In a possible implementation, the encrypting the logistics service information based on the identification code to obtain the content key includes: For each character of the identification code, traverse a preset character-image mapping relationship table to determine an initial image corresponding to the character; For each of the initial images, the semantic category corresponding to each pixel of the initial image is obtained, and based on the number of pixels corresponding to each of the semantic categories in the initial image, the target semantic category corresponding to the initial image is determined; wherein the number of pixels corresponding to the target semantic category is the largest; Based on a preset coding rule, feature coding is performed on each of the target semantic categories to obtain multiple coding sequences; Arrange the encoding sequences in order from top to bottom based on the positions of the characters corresponding to the encoding sequences in the identification code to obtain a target matrix; Determine a target character in the target matrix; wherein the row number and column number corresponding to the target character in the target matrix are both prime numbers; Arrange the target characters in order based on the positions of the target characters in the target matrix to obtain an encrypted password; The logistics service information is encrypted based on the encryption password to obtain the content key.

[0011] In a second aspect, the present application provides an intelligent cargo tracking system, comprising: An acquisition module, used for responding to the operator's operation on the target goods and acquiring the logistics information and consumer information of the target goods; A determination module, configured to determine a consumer blockchain based on the consumer information, and send the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on a content key; wherein the consumer blockchain is provided with a content key, a private key, and a public key; An encryption module, used for encrypting the logistics information based on the private key to obtain encrypted logistics information if the verification is passed, and storing the encrypted logistics information in the consumer blockchain; A sending module is used to send the encrypted logistics information and the public key to a target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to the target consumer; wherein the target consumer uses the target terminal to purchase the target goods.

[0012] In a third aspect, the present application provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, an intelligent cargo tracking method as described in any one of the above items is implemented.

[0013] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the intelligent cargo tracking method as described in any one of the above items is implemented.

[0014] The present application provides an intelligent cargo tracking method, system, device and storage medium, wherein the method includes: responding to an operator's operation on a target cargo, obtaining the logistics information and consumer information of the target cargo; determining a consumer blockchain based on the consumer information, and sending the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on a content key; wherein the consumer blockchain is provided with a content key, a private key and a public key; if the verification is passed, encrypting the logistics information based on the private key to obtain encrypted logistics information, and storing the encrypted logistics information in the consumer blockchain; sending the encrypted logistics information and the public key to a target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to the target consumer; wherein the target consumer uses the target terminal to purchase the target cargo. This method can effectively prevent the cargo tracking information between different consumers from being intertwined, and avoid abnormal cargo transportation. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0016] Figure 1 A schematic diagram of a flow chart of an intelligent cargo tracking method provided in an embodiment of the present application; Figure 2 A schematic block diagram of the structure of the intelligent cargo tracking system provided in an embodiment of the present application; Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0019] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0020] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0021] With the rapid development of e-commerce, consumers have an increasing demand for tracking goods during transportation. Current cargo tracking methods mostly rely on the information platform of logistics companies. Although they can provide tracking services to a certain extent, since the information platform of logistics companies often needs to store and process the cargo tracking information of multiple consumers at the same time, it is easy to cause the cargo tracking information between different consumers to be intertwined, thereby causing abnormal transportation of goods. To this end, the present application provides an intelligent cargo tracking method, system, device and storage medium to solve the above problems.

[0022] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0023] See also Figure 1 , Figure 1 A flow chart of the intelligent cargo tracking method provided in the embodiment of the present application is as follows: Figure 1 As shown, the intelligent cargo tracking method provided by the embodiment of the present application includes steps S100 to S400.

[0024] Step S100: In response to the operator's operation on the target goods, the logistics information and consumer information of the target goods are obtained.

[0025] Step S200: determine a consumer blockchain based on the consumer information, and send the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on the content key; wherein the consumer blockchain is provided with a content key, a private key and a public key.

[0026] Step S300: If the verification is successful, the logistics information is encrypted based on the private key to obtain encrypted logistics information, and the encrypted logistics information is stored in the consumer blockchain.

[0027] Step S400: sending the encrypted logistics information and the public key to the target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to the target consumer; wherein the target consumer uses the target terminal to purchase the target goods.

[0028] It should be noted that the execution entity of the embodiment of the present application may be a server or an intelligent cargo tracking system, and the following description will be made using a server as an example.

[0029] In this embodiment, as described in the above step S100, in response to the operator's operation on the target goods, the logistics information and consumer information of the target goods are obtained. Specifically, the operator scans the target goods, and the server responds to the operator's scanning of the target goods, obtains the consumer information through the information scanned by the operator, and obtains the logistics information through the scanning device used by the operator, wherein the logistics information at least includes the transportation node information where the operator is located and the identification code of the target goods.

[0030] As described in the above step S200, after obtaining the logistics information and the consumer information, the consumer blockchain is determined based on the consumer information, and the logistics information is sent to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on the content key. Specifically, for each consumer, there is a consumer blockchain. In step S200, first, the consumer blockchain corresponding to the consumer is determined based on the consumer information, and then the logistics information is sent to the consumer blockchain. After receiving the logistics information, the consumer blockchain verifies the logistics information based on the content key. Specifically, the consumer blockchain first decrypts the content key based on the identification code of the target goods. If the decryption is successful, the logistics service information corresponding to the content key is obtained, and then it is determined whether there is information matching the logistics information in the logistics service information. If it exists, the verification is passed, and if it does not exist, the verification fails. It can be understood that if the decryption fails, the verification fails. When the verification fails, it means that the transportation of the target goods is abnormal.

[0031] As described in the above step S300, after the consumer blockchain verifies the logistics information, if the verification is successful, the logistics information is encrypted based on the private key to obtain encrypted logistics information, and the encrypted logistics information is stored in the consumer blockchain. Specifically, if the verification is successful, first, a preset encryption algorithm is used to encrypt the logistics information based on the private key to obtain encrypted logistics information, and then the encrypted logistics information is stored in the consumer blockchain. It can be understood that storing the encrypted logistics information in the consumer blockchain can, on the one hand, improve the security of the logistics information, and on the other hand, help to trace the logistics information of the target goods.

[0032] As described in the above step S400, after the encrypted logistics information is stored in the consumer blockchain, the encrypted logistics information and the public key are sent to the target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to the target consumer. Specifically, the target terminal first uses a preset decryption algorithm to generate a decryption password based on the public key, and then decrypts the encrypted logistics information based on the decryption password to obtain the logistics information, and finally presents the logistics information to the target consumer.

[0033] The method provided in this embodiment, on the one hand, sets a consumer blockchain for each consumer. During the transportation of goods, when responding to the operator's operation on the target goods, the logistics information and consumer information of the target goods are obtained, and the consumer blockchain is determined based on the consumer information, and the logistics information is sent to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on the content key, which can effectively prevent the goods tracking information between different consumers from being intertwined and avoid abnormalities in the transportation of goods. On the other hand, by encrypting the logistics information based on the private key to obtain encrypted logistics information, storing the encrypted logistics information in the consumer blockchain, and sending the encrypted logistics information and the public key to the target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to the target consumer, the authenticity and security of the logistics information can be ensured, and it is helpful to achieve the traceability of the logistics information.

[0034] In some embodiments, before the responding operator operates the target goods and obtaining the logistics information and consumer information of the target goods, the method further includes: Obtaining the shipping address information and the receiving address information of the target goods, and generating a target transportation path for the target goods based on the shipping address information and the receiving address information; wherein the target transportation path includes a plurality of target transportation nodes; The content key is generated based on the target transportation route and the identification code of the target cargo, and the content key is sent to the consumer blockchain.

[0035] Wherein, generating the target transportation path of the target goods based on the shipping address information and the receiving address information includes the following steps: Acquire a historical transportation route matching the shipping address information and the receiving address information based on big data; Determine whether the number of the historical transportation paths is greater than 1; If yes, obtain the reliability index of each of the historical transport routes, and determine the target transport route based on the reliability index; If not, when the number of the historical transportation paths is 1, the historical transportation path is determined to be the target transportation path, and when the number of the historical transportation paths is 0, a new transportation path is generated based on the shipping address information and the receiving address information as the target transportation path.

[0036] Wherein, the obtaining of the reliability index of each of the historical transportation paths comprises the following steps: For each of the historical transportation paths, determining the number of transportation nodes corresponding to the historical transportation path as a first index; For each of the historical transportation paths, the historical scores of each transportation node corresponding to the historical transportation path are respectively obtained in a preset database, and the standard deviation between the historical scores is determined as the second index, and the average value between the historical scores is determined as the third index; wherein the historical score of the transportation node is the sum of the scores of all historical consumers and all historical sellers on the service experience of the transportation node; For each of the historical transportation paths, the product of the first index and the second index corresponding to the historical transportation path is calculated, and the ratio of the third index corresponding to the historical transportation path and the product is determined as the reliability index corresponding to the historical transportation path.

[0037] Wherein, determining the target transportation path based on the reliability index comprises the following steps: determining a maximum reliability index among the reliability indices; Determining whether the number of the maximum reliability index is greater than 1; If so, determining the historical transportation paths corresponding to the respective maximum reliability indexes as the intermediate target transportation paths; Determine the target number corresponding to each of the intermediate target transportation paths respectively; wherein the target number is the number of transportation nodes corresponding to the intermediate target transportation paths; Determine the intermediate target transportation path corresponding to the largest target number as the target transportation path; If not, determine the unique historical transportation path corresponding to the maximum reliability index as the intermediate target transportation path.

[0038] The step of generating the content key based on the target transportation route and the identification code of the target goods comprises the following steps: For each target transportation node of the target transportation path, obtaining logistics service node information corresponding to the target transportation node in a preset database; Integrate the information of each logistics service node to obtain the logistics service information corresponding to the target transportation path; The logistics service information is encrypted based on the identification code to obtain the content key.

[0039] The method provided in this embodiment, on the one hand, helps to select the optimal transportation route for the target goods, thereby reducing the transportation cost and transportation efficiency of the target goods. On the other hand, it helps to improve the security of the logistics service information, prevent the logistics service information from being tampered with by unauthorized personnel, and ensure the accuracy of the logistics information verification result.

[0040] In some embodiments, encrypting the logistics service information based on the identification code to obtain the content key includes the following steps: For each character of the identification code, traverse a preset character-image mapping relationship table to determine an initial image corresponding to the character; For each of the initial images, the semantic category corresponding to each pixel of the initial image is obtained, and based on the number of pixels corresponding to each of the semantic categories in the initial image, the target semantic category corresponding to the initial image is determined; wherein the number of pixels corresponding to the target semantic category is the largest, and the method for obtaining the semantic category corresponding to each pixel of the initial image is to input the initial image into a preset semantic segmentation model to obtain the semantic category corresponding to each pixel of the initial image, wherein the semantic segmentation model includes an input layer, a feature extraction layer, a semantic category generation layer and an output layer; Based on a preset coding rule, feature coding is performed on each of the target semantic categories to obtain multiple coding sequences; Arrange the encoding sequences in order from top to bottom based on the positions of the characters corresponding to the encoding sequences in the identification code to obtain a target matrix; Determine a target character in the target matrix; wherein the row number and column number corresponding to the target character in the target matrix are both prime numbers; Arrange the target characters in order based on the positions of the target characters in the target matrix to obtain an encrypted password; The logistics service information is encrypted based on the encryption password to obtain the content key.

[0041] The method provided in this embodiment helps to increase the difficulty of obtaining the encrypted password, thereby increasing the difficulty of cracking the encrypted password, and further improving the security of the logistics service information.

[0042] See also Figure 2 , Figure 2 The structure schematic block diagram of the intelligent cargo tracking system 100 provided in the embodiment of the present application is as follows: Figure 2 As shown, the intelligent cargo tracking system 100 comprises: The acquisition module 110 is used to respond to the operator's operation on the target goods and acquire the logistics information and consumer information of the target goods; A determination module 120 is used to determine a consumer blockchain based on the consumer information, and send the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on the content key; wherein the consumer blockchain is provided with a content key, a private key and a public key; The encryption module 130 is used to encrypt the logistics information based on the private key to obtain encrypted logistics information if the verification is passed, and store the encrypted logistics information in the consumer blockchain; The sending module 140 is used to send the encrypted logistics information and the public key to the target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key, obtains the logistics information, and presents the logistics information to the target consumer; wherein the target consumer uses the target terminal to purchase the target goods.

[0043] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and each module described above can refer to the corresponding process in the aforementioned intelligent cargo tracking method embodiment, and will not be repeated here.

[0044] The intelligent cargo tracking system 100 provided in the above embodiment can be implemented in the form of a computer program. The computer program can be used in Figure 3 The system is run on the terminal device 200 shown.

[0045] See also Figure 3 , Figure 3 The terminal device 200 provided in the embodiment of the present application is a schematic block diagram of the structure, wherein the terminal device 200 includes a processor 201 and a memory 202, wherein the processor 201 and the memory 202 are connected via a system bus 203, wherein the memory 202 may include a non-volatile storage medium and an internal memory.

[0046] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed by the processor 201, the processor 201 can execute any of the above-mentioned intelligent cargo tracking methods.

[0047] The processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device 200.

[0048] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can execute any of the above-mentioned intelligent cargo tracking methods.

[0049] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the terminal device 200 involved in the scheme of the present application. The specific terminal device 200 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0050] It should be understood that the processor 201 may be a central processing unit (CPU), and the processor 201 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0051] In some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps: In response to the operator's operation on the target goods, obtaining logistics information and consumer information of the target goods; Determine a consumer blockchain based on the consumer information, and send the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on the content key; wherein the consumer blockchain is provided with a content key, a private key, and a public key; If the verification is successful, the logistics information is encrypted based on the private key to obtain encrypted logistics information, and the encrypted logistics information is stored in the consumer blockchain; The encrypted logistics information and the public key are sent to a target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to the target consumer; wherein the target consumer uses the target terminal to purchase the target goods.

[0052] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the terminal device 200 described above can refer to the corresponding process of the aforementioned intelligent cargo tracking method, and will not be repeated here.

[0053] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the one or more processors implement the intelligent cargo tracking method provided in the embodiment of the present application.

[0054] The computer-readable storage medium may be an internal storage unit of the terminal device 200 in the aforementioned embodiment, such as a hard disk or memory of the terminal device 200. The computer-readable storage medium may also be an external storage device of the terminal device 200, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the terminal device 200.

[0055] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. An intelligent cargo tracking method, It is characterized in that include: In response to the operator's operation on the target goods, obtaining logistics information and consumer information of the target goods; Determine a consumer blockchain based on the consumer information, and send the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on the content key; wherein the consumer blockchain is provided with a content key, a private key, and a public key; If the verification is successful, the logistics information is encrypted based on the private key to obtain encrypted logistics information, and the encrypted logistics information is stored in the consumer blockchain; The encrypted logistics information and the public key are sent to a target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to a target consumer; wherein the target consumer uses the target terminal to purchase the target goods.

2. The intelligent cargo tracking method according to claim 1, It is characterized in that Before the response operator operates the target goods and obtains the logistics information and consumer information of the target goods, the method further includes: Obtaining the shipping address information and the receiving address information of the target goods, and generating a target transportation path for the target goods based on the shipping address information and the receiving address information; wherein the target transportation path includes a plurality of target transportation nodes; The content key is generated based on the target transportation route and the identification code of the target cargo, and the content key is sent to the consumer blockchain.

3. The intelligent cargo tracking method according to claim 2, It is characterized in that The generating a target transportation path of the target goods based on the shipping address information and the receiving address information includes: Acquire a historical transportation route matching the shipping address information and the receiving address information based on big data; Determine whether the number of the historical transportation paths is greater than 1; If so, the reliability index of each of the historical transportation routes is obtained, and the target transportation route is determined based on the reliability index.

4. The intelligent cargo tracking method according to claim 3, It is characterized in that The obtaining of the reliability index of each of the historical transportation paths includes: For each of the historical transportation paths, determining the number of transportation nodes corresponding to the historical transportation path as a first index; For each of the historical transportation paths, the historical integrals of each transportation node corresponding to the historical transportation path are respectively obtained in a preset database, and the standard deviation between each of the historical integrals is determined as a second index, and the average value between each of the historical integrals is determined as a third index; For each of the historical transportation paths, the product of the first index and the second index corresponding to the historical transportation path is calculated, and the ratio of the third index corresponding to the historical transportation path and the product is determined as the reliability index corresponding to the historical transportation path.

5. The intelligent cargo tracking method according to claim 3, It is characterized in that The determining of the target transportation path based on the reliability index comprises: determining a maximum reliability index among the reliability indices; Determining whether the number of the maximum reliability index is greater than 1; If so, determining the historical transportation paths corresponding to the respective maximum reliability indexes as the intermediate target transportation paths; Determine the target number corresponding to each of the intermediate target transportation paths respectively; wherein the target number is the number of transportation nodes corresponding to the intermediate target transportation paths; Determine the intermediate target transportation path corresponding to the largest target number as the target transportation path.

6. The intelligent cargo tracking method according to claim 2, It is characterized in that The generating the content key based on the target transportation route and the identification code of the target goods comprises: For each target transportation node of the target transportation path, obtaining logistics service node information corresponding to the target transportation node in a preset database; Integrate the information of each logistics service node to obtain the logistics service information corresponding to the target transportation path; The logistics service information is encrypted based on the identification code to obtain the content key.

7. The intelligent cargo tracking method according to claim 6, It is characterized in that The encrypting the logistics service information based on the identification code to obtain the content key includes: For each character of the identification code, traverse a preset character-image mapping relationship table to determine an initial image corresponding to the character; For each of the initial images, the semantic category corresponding to each pixel of the initial image is obtained, and based on the number of pixels corresponding to each of the semantic categories in the initial image, the target semantic category corresponding to the initial image is determined; wherein the number of pixels corresponding to the target semantic category is the largest; Based on a preset coding rule, feature coding is performed on each of the target semantic categories to obtain multiple coding sequences; Arrange the encoding sequences in order from top to bottom based on the positions of the characters corresponding to the encoding sequences in the identification code to obtain a target matrix; Determine a target character in the target matrix; wherein the row number and column number corresponding to the target character in the target matrix are both prime numbers; Arrange the target characters in order based on the positions of the target characters in the target matrix to obtain an encrypted password; The logistics service information is encrypted based on the encryption password to obtain the content key.

8. An intelligent cargo tracking system, It is characterized in that include: An acquisition module, used for responding to the operator's operation on the target goods and acquiring the logistics information and consumer information of the target goods; A determination module, configured to determine a consumer blockchain based on the consumer information, and send the logistics information to the consumer blockchain, so that the consumer blockchain verifies the logistics information based on a content key; wherein the consumer blockchain is provided with a content key, a private key, and a public key; An encryption module, used for encrypting the logistics information based on the private key to obtain encrypted logistics information if the verification is passed, and storing the encrypted logistics information in the consumer blockchain; A sending module is used to send the encrypted logistics information and the public key to a target terminal, so that the target terminal decrypts the encrypted logistics information based on the public key to obtain the logistics information, and presents the logistics information to a target consumer; wherein the target consumer uses the target terminal to purchase the target goods.

9. A terminal device, It is characterized in that The terminal device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the intelligent cargo tracking method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the intelligent cargo tracking method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Document encrypting device and method

    CN106156654A

  • Data processing method, data processing server and storage medium

    CN107994991A

  • Method and device for logistics object selection, method and device for determining logistics line overload, and apparatus

    CN109214732A

  • A product traceability method and system based on a block chain

    CN109598520A

  • Article transaction method and system based on block chain

    CN115187241A