Intelligent cargo tracking method, system, device and storage medium

By setting up a blockchain for each consumer and using encryption technology to process logistics information, the problem of intertwined cargo tracking information is solved, and the security and accuracy of logistics information are achieved.

CN118657464BActive Publication Date: 2025-09-30SICHUAN RUIHUA HEZONG IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing cargo tracking methods rely on the logistics company's information platform, which leads to the intersection of cargo tracking information between different consumers and causes transportation anomalies.

Method used

By setting up a consumer blockchain for each consumer, logistics information is encrypted and decrypted based on content keys and public and private keys to ensure the security and accuracy of the information.

Benefits of technology

Effectively prevent the overlap of cargo tracking information between different consumers, ensure the authenticity and security of logistics information, and avoid transportation anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657464B_ABST
    Figure CN118657464B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data processing technology and provides an intelligent cargo tracking method, system, device, and storage medium. The method includes: responding to an operator's operation on a target cargo to obtain 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 successful, 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. This method can effectively prevent the overlap of cargo tracking information between different consumers and avoid abnormalities in cargo 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 are increasingly demanding tracking of goods during transportation. Current tracking methods often rely on logistics companies' information platforms. While these methods offer some degree of tracking, they often need to simultaneously store and process tracking information from multiple consumers, which can easily lead to overlapping tracking information between different consumers, potentially causing shipping anomalies. 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:

[0005] In response to an operator's operation on a target product, obtaining logistics information and consumer information of the target product;

[0006] 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;

[0007] 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;

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

[0009] In a possible implementation, before responding to the operator's operation on the target goods and obtaining the logistics information and consumer information of the target goods, the method further includes:

[0010] 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;

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

[0012] In a possible implementation, generating a target transportation route for the target goods based on the shipping address information and the receiving address information includes:

[0013] Acquire a historical transportation route that matches the shipping address information and the receiving address information based on big data;

[0014] Determine whether the number of the historical transport routes is greater than 1;

[0015] If so, obtain the reliability index of each of the historical transportation routes, and determine the target transportation route based on the reliability index.

[0016] In a possible implementation, obtaining the reliability index of each of the historical transportation routes includes:

[0017] For each of the historical transportation paths, determining the number of transportation nodes corresponding to the historical transportation path as a first index;

[0018] For each of the historical transport routes, the historical scores of each transport node corresponding to the historical transport route are obtained from a preset database, and the standard deviation between the historical scores is determined as a second index, and the average value between the historical scores is determined as a third index;

[0019] For each of the historical transport paths, the product of the first index and the second index corresponding to the historical transport path is calculated, and the ratio of the third index corresponding to the historical transport path and the product is determined as the reliability index corresponding to the historical transport path.

[0020] In a possible implementation, determining the target transportation path based on the reliability index includes:

[0021] determining a maximum reliability index among the reliability indices;

[0022] Determining whether the maximum reliability index is greater than 1;

[0023] If so, determining the historical transport routes corresponding to the respective maximum reliability indexes as the intermediate target transport routes;

[0024] Determining the target number corresponding to each intermediate target transportation path respectively; wherein the target number is the number of transportation nodes corresponding to the intermediate target transportation path;

[0025] The intermediate target transport path corresponding to the largest target number is determined as the target transport path.

[0026] In a possible implementation, generating the content key based on the target transportation route and the identification code of the target cargo includes:

[0027] For each target transport node of the target transport route, obtain the logistics service node information corresponding to the target transport node from a preset database;

[0028] Integrate the information of each logistics service node to obtain the logistics service information corresponding to the target transportation path;

[0029] The logistics service information is encrypted based on the identification code to obtain the content key.

[0030] In a possible implementation, encrypting the logistics service information based on the identification code to obtain the content key includes:

[0031] For each character of the identification code, traverse a preset character-image mapping relationship table to determine an initial image corresponding to the character;

[0032] For each of the initial images, obtaining a semantic category corresponding to each pixel of the initial image, and determining a target semantic category corresponding to the initial image based on the number of pixels corresponding to each semantic category in the initial image; wherein the number of pixels corresponding to the target semantic category is the largest;

[0033] Performing feature encoding on each of the target semantic categories based on a preset encoding rule to obtain multiple encoding sequences;

[0034] Arrange the coding sequences in order from top to bottom based on the positions of the characters corresponding to the coding sequences in the identification code to obtain a target matrix;

[0035] Determining 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;

[0036] Arranging the target characters in order based on the positions of the target characters in the target matrix to obtain an encrypted password;

[0037] The logistics service information is encrypted based on the encryption password to obtain the content key.

[0038] In a second aspect, the present application provides an intelligent cargo tracking system, comprising:

[0039] An acquisition module, configured to respond to an operator's operation on a target product and acquire logistics information and consumer information of the target product;

[0040] 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;

[0041] An encryption module, configured to encrypt the logistics information based on the private key to obtain encrypted logistics information if the verification is successful, and store the encrypted logistics information in the consumer blockchain;

[0042] A sending module 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 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.

[0043] 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, the intelligent cargo tracking method as described in any one of the above items is implemented.

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

[0045] The present application provides an intelligent cargo tracking method, system, device, and storage medium, wherein the method includes: in response to an operator's operation on a target cargo, obtaining 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 successful, 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 overlap of cargo tracking information between different consumers and avoid abnormal cargo transportation. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0047] Figure 1 A flow chart of the intelligent cargo tracking method provided in an embodiment of the present application;

[0048] Figure 2 A schematic block diagram of the structure of the intelligent cargo tracking system provided in an embodiment of the present application;

[0049] Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0051] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.

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

[0053] It should be further understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0054] With the rapid development of e-commerce, consumers are increasingly demanding tracking of goods during transportation. Current cargo tracking methods often rely on logistics companies' information platforms. While these methods can provide a certain level of tracking service, because logistics companies' information platforms often need to simultaneously store and process cargo tracking information from multiple consumers, this can easily lead to overlapping tracking information between different consumers, potentially causing transport anomalies. To address this issue, the present application provides an intelligent cargo tracking method, system, device, and storage medium to address the aforementioned issues.

[0055] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments may be combined with each other.

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

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

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

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

[0060] Step S400: 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 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.

[0061] It should be noted that the execution entity of the embodiment of the present application can be a server or an intelligent cargo tracking system. The following description will take the server as an example.

[0062] In this embodiment, as described in step S100 above, in response to an operator's operation on a target item, logistics information and consumer information of the target item are obtained. Specifically, the operator scans the target item, and the server responds to the operator's scan of the target item by obtaining the consumer information from the scanned information and obtaining the logistics information from the scanning device used by the operator. The logistics information includes at least the operator's transportation node information and the identification code of the target item.

[0063] 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 so, the verification is passed. If not, the verification fails. It can be understood that if the decryption fails, the verification fails. If the verification fails, it means that there is an abnormality in the transportation of the target goods.

[0064] As described in step S300 above, after the consumer blockchain verifies the logistics information, if the verification passes, 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 passes, the logistics information is first encrypted based on the private key using a preset encryption algorithm 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, facilitate the traceability of the logistics information of the target goods.

[0065] As described in step S400 above, 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 then 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, 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.

[0066] The method provided in this embodiment, on the one hand, sets up 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 cargo tracking information between different consumers from being overlapped and avoid abnormalities in cargo transportation. On the other hand, the method encrypts the logistics information based on the private key to obtain encrypted logistics information, stores the encrypted logistics information in the consumer blockchain, and sends 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, which can ensure the authenticity and security of the logistics information and help to achieve traceability of the logistics information.

[0067] In some embodiments, before responding to the operator's operation on the target goods and obtaining the logistics information and consumer information of the target goods, the method further includes:

[0068] 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;

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

[0070] The step of generating a target transportation route for the target goods based on the shipping address information and the receiving address information includes the following steps:

[0071] Acquire a historical transportation route that matches the shipping address information and the receiving address information based on big data;

[0072] Determine whether the number of the historical transport routes is greater than 1;

[0073] If yes, obtaining the reliability index of each of the historical transport routes, and determining the target transport route based on the reliability index;

[0074] If not, when the number of the historical transport paths is 1, the historical transport path is determined to be the target transport path; when the number of the historical transport paths is 0, a new transport path is generated as the target transport path based on the shipping address information and the receiving address information.

[0075] The step of obtaining the reliability index of each of the historical transport routes comprises the following steps:

[0076] For each of the historical transportation paths, determining the number of transportation nodes corresponding to the historical transportation path as a first index;

[0077] For each of the historical transportation routes, the historical scores of each transportation node corresponding to the historical transportation route are obtained from a preset database, and the standard deviation between the historical scores is determined as a second index, and the average value between the historical scores is determined as a third index; wherein the historical score of the transportation node is the sum of the service experience ratings of all historical consumers and all historical sellers for the transportation node;

[0078] For each of the historical transport paths, the product of the first index and the second index corresponding to the historical transport path is calculated, and the ratio of the third index corresponding to the historical transport path and the product is determined as the reliability index corresponding to the historical transport path.

[0079] The step of determining the target transport path based on the reliability index comprises the following steps:

[0080] determining a maximum reliability index among the reliability indices;

[0081] Determining whether the maximum reliability index is greater than 1;

[0082] If so, determining the historical transport routes corresponding to the respective maximum reliability indexes as the intermediate target transport routes;

[0083] Determining the target number corresponding to each intermediate target transportation path respectively; wherein the target number is the number of transportation nodes corresponding to the intermediate target transportation path;

[0084] Determine the intermediate target transport path corresponding to the largest target number as the target transport path;

[0085] If not, determine the historical transportation route corresponding to the unique maximum reliability index as the intermediate target transportation route.

[0086] The step of generating the content key based on the target transportation route and the identification code of the target goods includes the following steps:

[0087] For each target transport node of the target transport route, obtain the logistics service node information corresponding to the target transport node from a preset database;

[0088] Integrate the information of each logistics service node to obtain the logistics service information corresponding to the target transportation path;

[0089] The logistics service information is encrypted based on the identification code to obtain the content key.

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

[0091] In some embodiments, encrypting the logistics service information based on the identification code to obtain the content key includes the following steps:

[0092] For each character of the identification code, traverse a preset character-image mapping relationship table to determine an initial image corresponding to the character;

[0093] For each of the initial images, obtaining a semantic category corresponding to each pixel of the initial image, and determining a target semantic category corresponding to the initial image based on the number of pixels corresponding to each semantic category in the initial image; 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;

[0094] Performing feature encoding on each of the target semantic categories based on a preset encoding rule to obtain multiple encoding sequences;

[0095] Arrange the coding sequences in order from top to bottom based on the positions of the characters corresponding to the coding sequences in the identification code to obtain a target matrix;

[0096] Determining 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;

[0097] Arranging the target characters in order based on the positions of the target characters in the target matrix to obtain an encrypted password;

[0098] The logistics service information is encrypted based on the encryption password to obtain the content key.

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

[0100] 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 includes:

[0101] An acquisition module 110 is configured to acquire logistics information and consumer information of a target product in response to an operator's operation on the target product;

[0102] A determination module 120 is 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 the content key; wherein the consumer blockchain is provided with a content key, a private key, and a public key;

[0103] The encryption module 130 is configured to encrypt the logistics information based on the private key to obtain encrypted logistics information if the verification is successful, and store the encrypted logistics information in the consumer blockchain;

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

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

[0106] 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 runs on the terminal device 200 shown.

[0107] See also Figure 3 , Figure 3 This is a schematic block diagram of the structure of a terminal device 200 provided in an embodiment of the present application. The terminal device 200 includes a processor 201 and a memory 202. 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.

[0108] The non-volatile storage medium may store a computer program, which includes program instructions. When the program instructions are executed by the processor 201, the processor 201 may execute any of the above-mentioned intelligent cargo tracking methods.

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

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

[0111] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal device 200 involved in the solution 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.

[0112] It should be understood that the processor 201 may be a central processing unit (CPU), or 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. The general-purpose processor may be a microprocessor or any conventional processor.

[0113] In some embodiments, the processor 201 is configured to execute a computer program stored in the memory to implement the following steps:

[0114] In response to an operator's operation on a target product, obtaining logistics information and consumer information of the target product;

[0115] 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;

[0116] 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;

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

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

[0119] An embodiment of the present application further provides a computer-readable storage medium storing 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.

[0120] 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 (SMC), a secure digital (SD) card, a flash card, etc. equipped with the terminal device 200.

[0121] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and such modifications or substitutions should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. An intelligent cargo tracking method, characterized in that: include: In response to an operator's operation on a target product, obtaining logistics information and consumer information of the target product; 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 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; 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 a target consumer; wherein the target consumer purchases the target goods using the target terminal; Before responding to the operator's operation on 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 transport path and the identification code of the target goods, and the content key is sent to the consumer blockchain; including: for each target transport node of the target transport path, obtaining the logistics service node information corresponding to the target transport node in the preset database; integrating the information of each logistics service node to obtain the logistics service information corresponding to the target transport path; for each character of the identification code, traversing the preset character-image mapping relationship table to determine the initial image corresponding to the character; for each initial image, obtaining the semantic category corresponding to each pixel of the initial image, and determining the target corresponding to the initial image based on the number of pixels corresponding to each semantic category in the initial image Semantic category; wherein the number of pixels corresponding to the target semantic category is the largest; based on the preset encoding rules, feature encoding is performed on each of the target semantic categories to obtain multiple encoding sequences; based on the position of the characters corresponding to each of the encoding sequences in the identification code, each of the encoding sequences is arranged in order from top to bottom to obtain a target matrix; the target character is determined in the target matrix; wherein the row number and column number corresponding to the target character in the target matrix are both prime numbers; based on the position of each of the target characters in the target matrix, each of the target characters is arranged in order to obtain an encryption password; based on the encryption password, the logistics service information is encrypted to obtain the content key, and the content key is sent to the consumer blockchain.

2. The intelligent cargo tracking method according to claim 1, 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 that matches the shipping address information and the receiving address information based on big data; Determine whether the number of the historical transport routes is greater than 1; If so, obtain the reliability index of each of the historical transportation routes, and determine the target transportation route based on the reliability index.

3. The intelligent cargo tracking method according to claim 2, 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 transport routes, the historical scores of each transport node corresponding to the historical transport route are obtained from a preset database, and the standard deviation between the historical scores is determined as a second index, and the average value between the historical scores is determined as a third index; For each of the historical transport paths, the product of the first index and the second index corresponding to the historical transport path is calculated, and the ratio of the third index corresponding to the historical transport path and the product is determined as the reliability index corresponding to the historical transport path.

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

5. An intelligent cargo tracking system, used to implement the intelligent cargo tracking method according to any one of claims 1 to 4, characterized in that: include: An acquisition module, configured to respond to an operator's operation on a target product and acquire logistics information and consumer information of the target product; 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, configured to encrypt the logistics information based on the private key to obtain encrypted logistics information if the verification is successful, and store 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, obtains 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.

6. A terminal device, 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 4 is implemented.

7. A computer-readable storage medium, 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 4 is implemented.