A method and device for protecting privacy in express delivery

By asymmetrically encrypting the privacy information in express information and writing the encrypted information into the blockchain system, the problem of privacy information leakage in the express industry is solved and higher privacy information security is achieved.

CN115033922BActive Publication Date: 2025-03-11BEIJING HANGTIAN RUIXIANG TECH DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210726471.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-24
Publication Date
2025-03-11
Estimated Expiration
2042-06-24

AI Technical Summary

Technical Problem

In the express delivery industry, citizens' privacy information (such as name and telephone information) is at risk of leakage during the storage and management of express delivery information, resulting in privacy leakage and the reception of promotional phone calls.

Method used

The asymmetric encryption algorithm is used to encrypt the privacy information in the express information, generate a express identification code, and encrypt the identification code through the asymmetric encryption algorithm to generate the express QR code. Write express QR codes and non-encrypted information into the blockchain system so that express delivery companies can obtain and produce page orders based on permissions.

Benefits of technology

It improves the security of express delivery privacy information, prevents the leakage of privacy information during transportation, ensures that only authorized users can view express delivery information, and protects privacy to the greatest extent possible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115033922B_ABST
    Figure CN115033922B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for protecting privacy in express delivery, which relates to the field of logistics technology, and the main purpose is to improve the security of privacy information in express delivery. The main technical scheme of the present invention is: obtaining encrypted privacy information in express delivery information by using an asymmetric encryption algorithm, and obtaining encrypted privacy information, wherein the privacy information at least includes name and telephone information; generating an express delivery identification code based on the encrypted privacy information; encrypting the express delivery identification code by using an asymmetric encryption algorithm to obtain an express delivery QR code; writing the express delivery QR code and the non-encrypted information in the express delivery information into a blockchain system, so that the express delivery company can obtain the express delivery QR code and non-encrypted information in the blockchain system based on pre-assigned permissions, and prepare an express delivery bill, wherein the non-encrypted information at least includes address information. The present invention is used for protecting privacy in express delivery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics technology, and in particular to a method and device for protecting privacy in express delivery. Background Art

[0002] With the continuous development of science and technology today, various technologies that facilitate people's lives have emerged. For example, the logistics industry is the result of the integration of multiple industries such as transportation, warehousing, and communications, which can ensure the supply of social production and life. The express delivery industry is a branch of the logistics industry. It refers to the logistics activities of the carrier through various modes of transportation such as railways, using special tools, equipment and application software systems to collect, sort, seal, transfer, deliver, input information, query, market development, and handle difficult express parcels in various regions, and deliver specific items to designated locations or target customers at a faster speed.

[0003] Although the express delivery industry has facilitated people's production and life, since the express delivery information is uniformly stored and managed by the express delivery company during the express delivery activities, both the sender and the consignee and the express delivery company personnel have access to the complete express delivery information. This will lead to a certain risk of leakage of citizens' privacy information (mainly the leakage of name and telephone information), and they may also receive sales calls as a result. Therefore, how to protect the privacy of express delivery is an urgent problem to be solved.

[0004] At present, the method used in the express delivery industry to protect the privacy of express delivery is mostly security numbers, that is, virtual numbers (for example, when using takeaway services, when customers, merchants and delivery personnel want to contact each other by phone through the platform, the platform will convert the mobile phone numbers of the three parties into virtual numbers with a time limit. However, this method still has the risk of privacy information leakage at the sender end (such as the merchant), so this method is less secure. Summary of the invention

[0005] In view of the above problems, the present invention provides a method and device for protecting privacy of express delivery, the main purpose of which is to improve the security of privacy information of express delivery.

[0006] In order to solve the above technical problems, the present invention proposes the following solutions:

[0007] In a first aspect, the present invention provides a method for protecting privacy in express delivery, the method comprising:

[0008] Acquire the encrypted private information obtained by encrypting the private information in the express information using an asymmetric encryption algorithm, wherein the private information at least includes the name and telephone number information;

[0009] Generate a courier identification code based on the encrypted private information;

[0010] Encrypt the express identification code using an asymmetric encryption algorithm to obtain an express QR code;

[0011] The express QR code and the non-encrypted information in the express information are written into the blockchain system, so that the express company can obtain the express QR code and the non-encrypted information in the blockchain system based on the pre-assigned permissions and prepare the express delivery bill, wherein the non-encrypted information at least includes the address information.

[0012] In a second aspect, the present invention provides a courier privacy protection device, the device comprising:

[0013] An information acquisition unit, used to acquire encrypted private information obtained by encrypting private information in express information using an asymmetric encryption algorithm, wherein the private information at least includes name and telephone information;

[0014] An identification code generating unit, used to generate an express identification code based on the encrypted private information acquired by the information acquiring unit;

[0015] An encryption unit, used to encrypt the express identification code generated by the identification code generation unit using an asymmetric encryption algorithm to obtain an express QR code;

[0016] The information writing unit is used to write the express QR code obtained by the encryption unit and the non-encrypted information in the express information into the blockchain system, so that the express company can obtain the express QR code and the non-encrypted information in the blockchain system based on the pre-assigned authority and prepare the express delivery bill, wherein the non-encrypted information at least includes the address information.

[0017] In order to achieve the above-mentioned purpose, according to a third aspect of the present invention, a storage medium is provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the express privacy protection method of the first aspect.

[0018] In order to achieve the above objective, according to a fourth aspect of the present invention, a processor is provided, wherein the processor is used to run a program, wherein the express privacy protection method of the first aspect is executed when the program is run.

[0019] By means of the above technical scheme, the present invention provides a method and device for protecting privacy in express delivery. The user can use an asymmetric encryption algorithm to encrypt the privacy information in the express delivery information in advance to obtain the encrypted privacy information, wherein the privacy information at least includes the name and telephone information. In this way, the privacy information is encrypted before sending the item, which can increase the security of the privacy information, and then the encrypted privacy information is input into the express delivery service system for subsequent sending. After the express delivery service system receives the encrypted privacy information, an express delivery identification code can be generated according to the encrypted privacy information, so as to facilitate the subsequent receipt of the express delivery according to the express delivery identification code. Furthermore, the express delivery identification code can be encrypted using an asymmetric encryption algorithm. The courier company can obtain the courier QR code and the non-encrypted information in the blockchain system based on the pre-assigned permissions, and prepare the courier waybill. The non-encrypted information includes at least the address information. By writing the courier information into the blockchain system, it can be ensured that the courier information can only be viewed by users with corresponding permissions in the blockchain system, which can prevent tampering to the greatest extent and further increase the security of privacy information.

[0020] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0022] Figure 1 A schematic diagram of the structure of an express service system provided by an embodiment of the present invention is shown;

[0023] Figure 2 A flow chart of a method for privacy protection of express delivery provided by an embodiment of the present invention is shown;

[0024] Figure 3 Another flow chart of a privacy protection method for express delivery provided by an embodiment of the present invention is shown;

[0025] Figure 4A block diagram showing a composition of an express privacy protection device provided by an embodiment of the present invention is shown;

[0026] Figure 5 A block diagram showing the composition of another express privacy protection device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0027] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] The development of science and technology has gradually facilitated people's lives. For example, the logistics industry is the result of the integration of multiple industries such as transportation, warehousing, and communications, which can ensure the supply of social production and life. The express delivery industry is a branch of the logistics industry. It refers to the logistics activities of the carrier to collect, sort, seal, transfer, deliver, input information, query, market development, and handle difficult express parcels in various regions through various modes of transportation such as railways, and to deliver specific items to designated locations or target customers at a faster speed. Although the express delivery industry has facilitated people's production and life, since in the express delivery activities, the express delivery information is uniformly stored and managed by the express delivery company, the sender and the sender and the express company personnel can access the complete express delivery information, which will lead to a certain degree of risk of leakage of citizens' privacy information (mainly the leakage of name and telephone information), and they may also receive sales calls. Therefore, how to protect the privacy of express delivery is an urgent problem to be solved. At present, the methods used to protect the privacy of express delivery in the express delivery industry are mostly security numbers, that is, virtual numbers (for example, when using a takeaway service, when a customer, a merchant, and a delivery person want to contact each other by phone through the platform, the platform will convert the mobile phone numbers of the three parties into virtual numbers with a time limit. However, this method still has the risk of privacy information leakage at the sender end (such as a merchant), so this method is less secure. To this end, the present invention provides a method for protecting privacy of express delivery, which can improve the security of privacy information of express delivery.

[0029] The application scenario of this method is when a user purchases a product and the merchant delivers it to the user or when a user returns the package to the merchant. In addition, this method is implemented based on the express delivery business system, such as Figure 1 As shown, Figure 1This is a schematic diagram of the structure of an express delivery service system provided by the present invention. The system is mainly used for privacy protection in the express delivery service process. In addition, the system includes a sender 100, an express delivery company 101, a recipient 102, an express delivery service module 103, a supervision module 104 and a blockchain system 105:

[0030] Express business module 103: used to facilitate the sender 100, the recipient 102 and the express company 101 to complete the express business. At the same time, the sender 100 and the recipient 102 maintain their address information and privacy information in this module. The address information and privacy information maintained by the sender 100 and the recipient 102 can also be converted into corresponding QR codes to facilitate importing of shipments.

[0031] Blockchain system 105: used to store express delivery information. Since the blockchain system 105 has the characteristic that data is difficult to tamper with, if the information in the blockchain system 105 is to be modified, the consent of more than half of the nodes must be obtained and the information in all nodes must be modified. In this way, the security of the express delivery privacy information stored in the blockchain system can be increased.

[0032] Supervision module 104: On the one hand, it is used to supervise the overall express delivery process of the express delivery business module 103, and has the management authority of the blockchain system 105, opening the authorized access rights of the blockchain system 105 to the sender 100, the recipient 102 and the express delivery company 101, so that the sender 100, the recipient 102 and the express delivery company 101 can authorize access to the express delivery business data stored in the blockchain system 105.

[0033] Secondly, it is used to allocate a pair of encryption public key and private key to the sender 100, the recipient 102 and the courier company 101 based on their identity information using a non-encryption algorithm. The public key is used for encryption and the private key is used for decryption. The identity information of the sender 100 and the recipient 102 can be their ID numbers, which can ensure the absolute security of the encrypted information. The identity information of the courier company 101 can be their company code.

[0034] It should be noted that the system can be installed in the form of an independent APP in the respective terminals of the sender 100, the recipient 102 and the courier company 101. There is no specific restriction on the terminals. After the recipient 102 places an order, communication between the sender 100, the recipient 102 and the courier company 101 and a connection between the courier business system will be established.

[0035] Based on the express service system, an express privacy protection method provided by an embodiment of the present invention includes the following specific execution steps: Figure 2 As shown, including:

[0036] 201. Obtain encrypted private information obtained by encrypting private information in express information using an asymmetric encryption algorithm.

[0037] In this step, the recipient and the sender can respectively use an asymmetric encryption algorithm to encrypt the private information in the express information, and then convert the encrypted private information and address information into a QR code.

[0038] Furthermore, the recipient can send his or her own QR code to the sender. After that, the sender can scan the QR code sent by the recipient to import the recipient's encrypted privacy information and plain text address information, and then further import his or her own encrypted privacy information and plain text address information, etc. Once the import is successful, the express service system can obtain the encrypted privacy information and address information of the sender and recipient.

[0039] The private information at least includes name and phone number information.

[0040] The asymmetric encryption algorithm requires two keys: a public key and a private key. The public key and the private key are a pair. If the public key is used to encrypt data, only the corresponding private key can be used to decrypt it. Referring to the above statement, the key is allocated according to the identity information, so the security of the encrypted privacy information can be guaranteed.

[0041] 202. Generate a courier identification code based on the encrypted private information.

[0042] This step is to generate an express identification code according to the encrypted privacy information after the express service system obtains the encrypted privacy information. The express identification code can be generated in an orderly manner according to the encrypted privacy information. For example, if the sender's name in the encrypted privacy information is Wang**, the express identification code can be wang123. It can also be randomly generated. In this case, the express identification code can be 823789.

[0043] 203. Encrypt the express identification code using an asymmetric encryption algorithm to obtain the express QR code.

[0044] This step is to encrypt the express identification code using a pre-assigned public key based on an asymmetric encryption algorithm after generating the express identification code, obtain the encrypted express identification code, and then convert the encrypted express identification code into an express QR code.

[0045] Here, the express QR code facilitates the storage of more comprehensive express information.

[0046] 204. Write the unencrypted information in the express QR code and the express information into the blockchain system.

[0047] Wherein, the non-encrypted information at least includes address information.

[0048] After obtaining the express QR code, in this step, the express QR code and non-encrypted information can be packaged and written into the blockchain system after packaging.

[0049] After that, the courier of the corresponding courier company can obtain the courier QR code and non-encrypted information in the blockchain system through the authority pre-assigned to them by the supervision module, and then make a courier waybill. After the waybill is made, transportation can be arranged.

[0050] Based on the above Figure 2 It can be seen from the implementation method that the present invention provides a method for protecting privacy in express delivery. The recipient can send the encrypted private information to the sender, thereby preventing the risk of privacy leakage at the sender end (sender). The sender then imports the encrypted private information of the recipient and the encrypted private information sent by the recipient into the express delivery service system. After importing, an express delivery identification code can be generated based on the encrypted private information, which is convenient for subsequent express delivery verification. Further, the express delivery identification code can be encrypted by an asymmetric encryption algorithm to obtain an express delivery QR code, thereby ensuring the security of privacy information during transportation. Finally, the express delivery QR code and the non-encrypted information in the express delivery information can be written into the blockchain system, so that the express delivery company can obtain the express delivery QR code and non-encrypted information in the blockchain system based on the pre-assigned permissions, and prepare an express delivery bill, wherein the non-encrypted information at least includes the address information. In this way, it can be ensured that only authorized users can view or modify the express delivery information, thereby ensuring the security of the express delivery privacy information.

[0051] Furthermore, the embodiment of the present invention also provides another express privacy protection method as a Figure 2 Refinements and extensions of the illustrated embodiments, such as Figure 3 As shown, the specific steps are as follows:

[0052] 301. Obtain encrypted private information obtained by encrypting private information in express delivery information using an asymmetric encryption algorithm.

[0053] 302. Generate a courier identification code based on the encrypted private information.

[0054] 303. Encrypt the express identification code using the public key of the target user to obtain a first express encrypted identification code, and convert the first express encrypted identification code into an express QR code.

[0055] The public key is pre-assigned based on the target user's identity information, and a private key corresponding to the public key is also assigned at the same time. The target user includes the sender and the recipient.

[0056] In this step, after obtaining the express identification code, the public key pre-assigned to the target user by the supervision module is obtained, and the express identification code is encrypte d by the public key of the target user to obtain a first express encrypted identification code, and the first express encrypted identification code is converted into an express QR code. In this way, plain text privacy information is no longer used, and it is encrypted with the public key and can be decoded only with its own private key, which largely prevents the leakage of privacy information.

[0057] It should be noted here that the express identification code includes the sender express identification code and the recipient express identification code. The sender express identification code can be encrypted using the sender's public key, and the recipient express identification code can be encrypted using the recipient's public key. After the encryption is completed, the sender express identification code is converted into a sender express QR code, and the recipient express identification code is converted into a recipient express QR code, so that when the recipient signs for the express, he / she can scan the recipient express QR code. When a package is returned to the sender, the sender scans the sender express QR code to sign for it.

[0058] 304. Encrypt the express identification code using the public key of the express company to obtain a second express encrypted identification code.

[0059] While encrypting the express identification code with the public key of the target user in step 303, the public key pre-assigned to the express company by the supervision module can also be obtained, and the express identification code is encrypted with the express public key to obtain a second express encrypted identification code, which is also encrypted at the express end. In this way, the possibility of privacy information leakage at the express end is further prevented.

[0060] Specifically, combined with step 303, it is convenient for the target user to use the private key to decrypt the first express encrypted identification code obtained by pre-scanning the express QR code when the target user signs for the express, and compare the obtained express identification code with the express identification code obtained by the express company by decrypting the second express encrypted identification code using the private key to verify whether the express is successfully signed for.

[0061] 305. Write the unencrypted information in the express QR code and the express information into the blockchain system.

[0062] Among them, step 301, step 302 and step 305 are the same as step 201, step 202 and step 204, and are not repeated here.

[0063] In addition to the above implementation modes, the present invention will be further described in conjunction with some specific implementation modes:

[0064] In some possible implementations, the method further includes:

[0065] When signing for a courier, check whether the user ID that scans the courier QR code is consistent with the user ID that has been encrypted in advance in the private information of the courier information;

[0066] If not, after the user scans the express QR code, an operation failure prompt will be sent to the user.

[0067] Specifically, for each target user, a user ID belonging to him / her will be generated in advance during the express delivery process. In this way, after the target user signs for the express and scans the express QR code, the user ID can be detected to determine whether the user ID that scanned the express QR code is consistent with the user ID of the privacy information in the pre-encrypted express information. If they are inconsistent, it means that someone else may be trying to sign for the express, and there is a risk of privacy information leakage. Therefore, an operation failure prompt can be issued to the user.

[0068] Among them, the specific steps for issuing an operation failure prompt to the user include: locating the terminal interface corresponding to the user ID through the user ID, determining the sending path based on the terminal interface, and sending based on the sending path. In addition, the process after the user scans the QR code must be intercepted to further prevent others from impersonating others when signing for the express delivery, thereby preventing the possibility of leaking privacy information.

[0069] In some possible implementations, the method further includes:

[0070] When the target user signs for the express delivery, the first express delivery identification code is obtained by decrypting the first express delivery encryption identification code obtained by pre-scanning the express delivery QR code using the target user's private key;

[0071] Obtaining a second express identification code obtained by the express company decrypting the second express encrypted identification code using the express company private key when the target user signs for the express delivery;

[0072] If the first courier identification code is the same as the second courier identification code, a receipt success prompt is sent to the corresponding terminal.

[0073] Following the above steps 303 and 304, when the express arrives at the destination for signature, the target user first scans the express QR code to obtain the first express encrypted identification code. After that, the target user decrypts the first express encrypted identification code using the private key to obtain the first express identification code in plain text.

[0074] At the same time, the courier company decrypts the second courier encrypted identification code with its own private key to obtain the second courier identification code in plain text. At this time, the courier service system can obtain the first courier identification code and the second courier identification code respectively. If the verification is consistent, it proves that they are the same courier, and a successful receipt prompt can be sent to the corresponding terminal, preventing the wrong courier from being picked up and possible privacy leakage.

[0075] In some possible implementations, before obtaining the encrypted private information obtained by encrypting the private information in the express delivery information using an asymmetric encryption algorithm, the method further includes:

[0076] Check whether the specified communication module has a fault;

[0077] If so, determining a repair method matching the fault type based on the fault type;

[0078] The designated communication module is repaired by the repair method so that the target user and the courier company can transmit the courier information through the designated communication module.

[0079] It should be noted in this step that the express delivery service system may also include a special communication module (designated communication module), refer to the above Figure 1 Description of the system module in the module. Since the express business system includes supervision by the regulatory module, this can maximize the possibility of not leaking privacy information when the target user and the express company communicate in this module.

[0080] Therefore, before carrying out express delivery services, it is necessary to detect whether there is a fault in the designated communication module. If so, the thread information at the time of the fault can be obtained to determine the type of fault. Then, a repair method matching the fault type can be determined to repair the designated communication module through the repair method.

[0081] Among them, a log can also be set in the express business system, so that when a specified communication module fails, the thread information at the time of the failure can be directly viewed in the log.

[0082] In some possible implementations, after making the shipping label, the method further includes:

[0083] Regularly checking whether an update request from a designated express delivery station has been received, wherein the update request is a request sent by the courier after the courier scans the express QR code on the express delivery bill after the courier arrives at each designated express delivery station;

[0084] If received, it is determined that the express delivery has started and has arrived at the corresponding designated express delivery station, and the express delivery information is updated in the blockchain system so that the target user and the express delivery company can view the express delivery information in the blockchain system through pre-assigned permissions.

[0085] After the express delivery bill is made, during express transportation, every time the express delivery arrives at a designated express delivery station, the courier will scan the QR code on the express delivery bill to update the express delivery information. After scanning, the background can receive the express delivery information update request from the express company.

[0086] Referring to the above, in this step, it is possible to periodically or in real time detect whether an update request from a designated express station is received. If received, it is determined that the express has started transportation and has arrived at the corresponding designated express station, and the express transportation information is updated to the blockchain system. In this way, the express transportation information can be updated to the blockchain system in a timely manner, and only authorized users can view it, thereby ensuring the security of the target user's privacy information.

[0087] In some possible implementations, the method further includes:

[0088] Real-time monitoring of the entire express delivery process;

[0089] Determine whether process information of other users after triggering a specified event is monitored, where the specified event at least includes an event performed by other users when attempting to obtain the encrypted private information and an event performed by other users when attempting to obtain permission to enter the blockchain system;

[0090] If so, the process is intercepted by a specified method.

[0091] In this step, the entire express delivery business process is targeted, and this step is based on the aforementioned Figure 1 The supervision module described in the above is implemented, and the supervision module can monitor the express delivery process in real time to promptly determine whether there is process information of other users after triggering a specified event. If so, the process information will be intercepted, which can promptly prevent the target user's privacy information from being leaked during the express delivery business.

[0092] Furthermore, as a response to the above Figure 2 In order to realize the method shown in the figure, the embodiment of the present invention also provides a courier privacy protection device for the above Figure 2 The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 4 As shown, the device comprises:

[0093] The information acquisition unit 401 is used to obtain encrypted private information obtained by encrypting private information in the express information using an asymmetric encryption algorithm, wherein the private information at least includes name and telephone information;

[0094] An identification code generating unit 402, configured to generate an express identification code based on the encrypted private information acquired by the information acquiring unit 401;

[0095] An encryption unit 403 is used to encrypt the express identification code generated by the identification code generation unit 402 using an asymmetric encryption algorithm to obtain an express QR code;

[0096] The information writing unit 404 is used to write the express QR code obtained by the encryption unit 403 and the non-encrypted information in the express information into the blockchain system, so that the express company can obtain the express QR code and non-encrypted information in the blockchain system based on pre-assigned permissions and prepare an express delivery bill, wherein the non-encrypted information at least includes address information.

[0097] Furthermore, as a response to the above Figure 3 In order to realize the method shown in the figure, the embodiment of the present invention also provides another express privacy protection device for the above-mentioned Figure 3 The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 5 As shown, the device comprises:

[0098] The information acquisition unit 401 is used to obtain encrypted private information obtained by encrypting private information in the express information using an asymmetric encryption algorithm, wherein the private information at least includes name and telephone information;

[0099] An identification code generating unit 402, configured to generate an express identification code based on the encrypted private information acquired by the information acquiring unit 401;

[0100] The encryption unit 403 is used to encrypt the express identification code generated by the identification code generation unit 302 by using an asymmetric encryption algorithm to obtain an express QR code;

[0101] The information writing unit 404 is used to write the express QR code obtained by the encryption unit 403 and the non-encrypted information in the express information into the blockchain system, so that the express company can obtain the express QR code and non-encrypted information in the blockchain system based on pre-assigned permissions and prepare an express delivery bill, wherein the non-encrypted information at least includes address information.

[0102] In an optional implementation manner, the encryption unit 403 includes:

[0103] The first encryption module 4031 is used to encrypt the express identification code with the public key of the target user to obtain a first express encryption identification code, and convert the first express encryption identification code into an express QR code, wherein the public key is pre-assigned based on the identity information of the target user, and a private key corresponding to the public key is also assigned at the same time, and the target user includes the sender and the recipient;

[0104] The second encryption module 4032 is used to encrypt the express identification code using the public key of the express company to obtain a second express encrypted identification code, so that when signing for the express, the target user can use the private key to decrypt the first express encrypted identification code obtained by pre-scanning the express QR code. The obtained express identification code is compared with the express identification code obtained by the express company by decrypting the second express encrypted identification code using the private key to verify whether the express is successfully signed for.

[0105] In an optional implementation manner, the device further includes a user detection unit 405, and the user detection unit 405 includes:

[0106] The identification detection module 4051 is used to detect whether the user identification of the user who scans the express QR code when signing for the express is consistent with the user identification of the privacy information in the pre-encrypted express information;

[0107] The prompt module 4052 is used to send an operation failure prompt to the user after the user scans the express QR code if the identification detection module 4051 detects no.

[0108] In an optional implementation manner, the device further includes a receipt prompt unit 406, and the receipt prompt unit 406 includes:

[0109] The first acquisition module 4061 is used to obtain the first express identification code obtained by decrypting the first express encryption identification code obtained by pre-scanning the express QR code using the target user's private key when the target user signs for the express;

[0110] The second acquisition module 4062 is used to obtain the second express identification code obtained by the express company using the express company private key to decrypt the second express encryption identification code when the target user signs for the express delivery;

[0111] The receipt prompt module 4063 is used to send a receipt success prompt to the corresponding terminal if the first express identification code obtained by the first obtaining module 4061 is the same as the second express identification code obtained by the second obtaining module 4062.

[0112] In an optional implementation manner, before obtaining the encrypted private information obtained by encrypting the private information in the express information using an asymmetric encryption algorithm, the device further includes a fault detection unit 407, and the fault detection unit 407 includes:

[0113] A fault detection module 4071 is used to detect whether a specified communication module has a fault;

[0114] A method determination module 4072 is used to determine a repair method matching the fault type based on the fault type if the fault detection module 4071 detects the existence of the fault;

[0115] The fault repair module 4073 is used to repair the designated communication module through the repair method determined by the method determination module 4072, so that the express information can be transmitted between the target user and the express company through the designated communication module.

[0116] In an optional implementation, after the waybill is produced, the device further includes a courier updating unit 408, and the courier updating unit 408 includes:

[0117] A periodic detection module 4081 is used to periodically detect whether an update request from a designated express delivery station has been received, wherein the update request is a request sent by the courier after the courier arrives at each designated express delivery station and scans the express QR code on the express delivery bill;

[0118] The express update module 4082 is used to determine that the express has started to be transported and has arrived at the corresponding designated express station if the periodic detection module 4081 detects that it has been received, and to update the express transportation information to the blockchain system, so that the target user and the express company can view the express transportation information in the blockchain system through pre-assigned permissions.

[0119] In an optional implementation manner, the device further includes a real-time monitoring unit 409, and the real-time monitoring unit 409 includes:

[0120] Real-time monitoring module 4091, used to monitor the entire express delivery process in real time;

[0121] An event determination module 4092 is used to determine whether the real-time monitoring module 4091 monitors the process information of other users after triggering a specified event, wherein the specified event at least includes an event performed by other users when attempting to obtain the encrypted private information and an event performed by other users when attempting to obtain permission to enter the blockchain system;

[0122] The interception module 4093 is used to intercept the process by a specified method if the event determination module 4092 determines that it is.

[0123] Furthermore, an embodiment of the present invention further provides a storage medium, wherein the storage medium is used to store a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the above Figure 2-3 The express privacy protection method described in .

[0124] Furthermore, an embodiment of the present invention further provides a processor, the processor is used to run a program, wherein the program executes the above Figure 2-3 The express privacy protection method described in .

[0125] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0126] It is understandable that the related features in the above methods and devices can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.

[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0128] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description of the above specific languages ​​is for disclosing the best mode of the present invention.

[0129] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0130] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0131] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

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

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

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

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

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0139] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for protecting privacy in express delivery, characterized in that: The method comprises: Acquire the encrypted private information obtained by encrypting the private information in the express information using an asymmetric encryption algorithm, wherein the private information at least includes the name and telephone number information; Generate a courier identification code based on the encrypted private information; Encrypt the express identification code using an asymmetric encryption algorithm to obtain an express QR code; Writing the unencrypted information in the express QR code and the express information into the blockchain system, so that the express company can obtain the express QR code and the unencrypted information in the blockchain system based on the pre-assigned authority and prepare the express delivery bill, wherein the unencrypted information at least includes the address information; Encrypt the express identification code using an asymmetric encryption algorithm to obtain an express QR code, including: Encrypt the express identification code using the public key of the target user to obtain a first express encryption identification code, and convert the first express encryption identification code into an express QR code, wherein the public key is pre-assigned based on the identity information of the target user, and a private key corresponding to the public key is also assigned at the same time, and the target user includes the sender and the recipient; The express identification code is encrypted using the public key of the express company to obtain a second express encrypted identification code, so that when signing for the express, the target user can use the private key to decrypt the first express encrypted identification code obtained by pre-scanning the express QR code. The obtained express identification code is compared with the express identification code obtained by the express company by decrypting the second express encrypted identification code using the private key to verify whether the express is successfully signed for.

2. The method according to claim 1, characterized in that The method further comprises: When signing for a courier, check whether the user ID that scans the courier QR code is consistent with the user ID that has been encrypted in advance in the private information of the courier information; If not, after the user scans the express QR code, an operation failure prompt will be sent to the user.

3. The method according to claim 1, characterized in that The method further comprises: When the target user signs for the express delivery, the first express delivery identification code is obtained by decrypting the first express delivery encryption identification code obtained by pre-scanning the express delivery QR code using the target user's private key; Obtaining a second express identification code obtained by the express company decrypting the second express encrypted identification code using the express company private key when the target user signs for the express delivery; If the first courier identification code is the same as the second courier identification code, a receipt success prompt is sent to the corresponding terminal.

4. The method according to claim 1, characterized in that: Before obtaining the encrypted private information obtained by encrypting the private information in the express information using an asymmetric encryption algorithm, the method further includes: Check whether the specified communication module has a fault; If so, determining a repair method matching the fault type based on the fault type; The designated communication module is repaired by the repair method so that the target user and the courier company can transmit the courier information through the designated communication module.

5. The method according to claim 1, characterized in that After making the waybill, the method further includes: Regularly checking whether an update request from a designated express delivery station has been received, wherein the update request is a request sent by the courier after the courier scans the express QR code on the express delivery bill after the courier arrives at each designated express delivery station; If received, it is determined that the express delivery has started and has arrived at the corresponding designated express delivery station, and the express delivery information is updated in the blockchain system so that the target user and the express delivery company can view the express delivery information in the blockchain system through pre-assigned permissions.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Real-time monitoring of the entire express delivery process; Determine whether process information of other users after triggering a specified event is monitored, where the specified event at least includes an event performed by other users when attempting to obtain the encrypted private information and an event performed by other users when attempting to obtain permission to enter the blockchain system; If so, the process is intercepted by a specified method.

7. A courier privacy protection device, characterized in that: The device comprises: An information acquisition unit, used to acquire encrypted private information obtained by encrypting private information in express information using an asymmetric encryption algorithm, wherein the private information at least includes name and telephone information; An identification code generating unit, used to generate an express identification code based on the encrypted private information acquired by the information acquiring unit; An encryption unit, used to encrypt the express identification code generated by the identification code generation unit using an asymmetric encryption algorithm to obtain an express QR code; An information writing unit, used to write the express QR code obtained by the encryption unit and the non-encrypted information in the express information into the blockchain system, so that the express company can obtain the express QR code and the non-encrypted information in the blockchain system based on the pre-assigned authority and prepare the express delivery bill, wherein the non-encrypted information at least includes the address information; The encryption unit comprises: A first encryption module, used to encrypt the express identification code with a public key of a target user to obtain a first express encryption identification code, and convert the first express encryption identification code into an express QR code, wherein the public key is pre-assigned based on the identity information of the target user, and a private key corresponding to the public key is also assigned at the same time, and the target user includes a sender and a recipient; The second encryption module is used to encrypt the express identification code using the public key of the express company to obtain a second express encrypted identification code, so that when signing for the express, the target user can use the private key to decrypt the first express encrypted identification code obtained by pre-scanning the express QR code. The obtained express identification code is compared with the express identification code obtained by the express company by decrypting the second express encrypted identification code using the private key to verify whether the express is successfully signed for.

8. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the express privacy protection method according to any one of claims 1 to 6.

9. A processor, characterized in that: The processor is used to run a program, wherein the program executes the express privacy protection method according to any one of claims 1 to 6 when running.

Citation Information

Patent Citations

  • Personal information encryption method in logistics system based on two-dimensional codes

    CN103177220A

  • Privacy protection express delivery and pickup system and method based on intelligent contract

    CN111080185A