A method and device for transmitting user information

By receiving and decrypting user information after the order is packaged, ensuring that user information is not directly transmitted to the e-commerce platform, the leakage risk of e-commerce logistics system when transmitting user information is solved, and the secure transmission of information is achieved and secondary leakage is prevented.

CN110910186BActive Publication Date: 2024-11-29BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201811073222.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-14
Publication Date
2024-11-29
Estimated Expiration
2038-09-14

AI Technical Summary

Technical Problem

There is a risk of leakage when transmitting user information in e-commerce logistics systems. Merchants are worried that user information will be abused or leaked by e-commerce systems, affecting their reputation.

Method used

After the order is packaged, a request to obtain user information is sent through the order identification, an encrypted user information and key is received, and the user information is decrypted using the key to ensure that the information is transmitted in the picture form and avoid direct transmission and dropping into the library.

Benefits of technology

Effectively prevent the secondary leakage of user information, enhance the security of transmission, and reduce the risk of information leakage caused by e-commerce platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110910186B_ABST
    Figure CN110910186B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for transmitting user information, and relates to the field of computer technology. A specific implementation of the method includes: receiving order information, the order information includes an order identifier, product information, and a delivery address; after completing order packaging according to the order information, sending a request for obtaining user information, the request carries the order identifier; receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain the user information. This implementation can solve the technical problem of easy leakage of user information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for transmitting user information. Background Art

[0002] At present, the logistics system of e-commerce is connected to the ERP (Enterprise Resource Planning) systems of a large number of merchants. Merchants will pass the orders of their own platforms to the logistics system of e-commerce, and the logistics system will pass the merchant orders to the downstream warehousing system and distribution system, so as to deliver the orders to the end users.

[0003] In order to facilitate contact with end users when delivering orders, the merchant system will transmit the user's real name, phone information and other user information to the e-commerce logistics system through an interface. The logistics system will save this user information and then pass it to the downstream warehousing and distribution system.

[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0005] The logistics system of e-commerce stores the user information transmitted by merchants. However, for privacy reasons, merchants do not want to expose the user information in the merchant system to the e-commerce system. First, merchants do not want the e-commerce system to access too much data within the merchant system; second, they are worried that after the e-commerce system obtains the merchant's user information, if there are loopholes or security issues within the e-commerce system, the user information will be leaked again, which will indirectly affect the merchant's reputation. Summary of the invention

[0006] In view of this, an embodiment of the present invention provides a method and device for transmitting user information to solve the technical problem of easy leakage of user information.

[0007] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for transmitting user information is provided, comprising:

[0008] Receiving order information, wherein the order information includes order identification, product information and delivery address;

[0009] After completing order packaging according to the order information, sending a request for obtaining user information, the request carrying the order identifier;

[0010] The encrypted user information and a key are received, and the encrypted user information is decrypted using the key to obtain the user information.

[0011] Optionally, receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain the user information includes:

[0012] Receive encrypted user information and keys in the form of binary stream images or base64 format strings;

[0013] The encrypted user information is decrypted using the key to obtain a picture showing the user information.

[0014] Optionally, receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain the user information includes:

[0015] Receive encrypted user information and encrypted authentication string;

[0016] Determine whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, use the encrypted authentication string to decrypt the encrypted user information to obtain the user information.

[0017] Optionally, judging whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, decrypting the encrypted user information using the encrypted authentication string to obtain the user information includes:

[0018] Parsing the encrypted authentication string to obtain a third-party user ID, authorization code and key;

[0019] According to the third-party user identifier and the authorization code, determine whether there is authority to decrypt the encrypted user information; if so, determine the encryption protocol corresponding to the third-party user according to the third-party user identifier;

[0020] The encrypted user information is decrypted using the encryption protocol and the key to obtain the user information.

[0021] Optionally, it also includes: pre-storing the authorization code and encryption protocol corresponding to each third-party user identifier;

[0022] According to the third-party user identifier and the authorization code, it is determined whether there is authority to decrypt the encrypted user information; if so, the encryption protocol corresponding to the third-party user is determined according to the third-party user identifier, including:

[0023] Determine whether the authorization code is the same as the authorization code corresponding to the pre-stored third-party user identifier; if so, determine the encryption protocol corresponding to the pre-stored third-party user identifier based on the third-party user identifier.

[0024] In addition, according to another aspect of an embodiment of the present invention, there is provided a device for transmitting user information, including:

[0025] A receiving module, used to receive order information, wherein the order information includes an order identifier, product information and a delivery address;

[0026] A request module, configured to send a request for obtaining user information after completing order packaging according to the order information, wherein the request carries the order identifier;

[0027] The decryption module is used to receive the encrypted user information and a key, and use the key to decrypt the encrypted user information to obtain the user information.

[0028] Optionally, the decryption module is used to:

[0029] Receive encrypted user information and keys in the form of binary stream images or base64 format strings;

[0030] The encrypted user information is decrypted using the key to obtain a picture showing the user information.

[0031] Optionally, the decryption module is used to:

[0032] Receive encrypted user information and encrypted authentication string;

[0033] Determine whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, use the encrypted authentication string to decrypt the encrypted user information to obtain the user information.

[0034] Optionally, judging whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, decrypting the encrypted user information using the encrypted authentication string to obtain the user information includes:

[0035] Parsing the encrypted authentication string to obtain a third-party user ID, authorization code and key;

[0036] According to the third-party user identifier and the authorization code, determine whether there is authority to decrypt the encrypted user information; if so, determine the encryption protocol corresponding to the third-party user according to the third-party user identifier;

[0037] The encrypted user information is decrypted using the encryption protocol and the key to obtain the user information.

[0038] Optionally, it also includes: a storage module, used to pre-store the authorization code and encryption protocol corresponding to each third-party user identifier;

[0039] According to the third-party user identifier and the authorization code, it is determined whether there is authority to decrypt the encrypted user information; if so, the encryption protocol corresponding to the third-party user is determined according to the third-party user identifier, including:

[0040] Determine whether the authorization code is the same as the authorization code corresponding to the pre-stored third-party user identifier; if so, determine the encryption protocol corresponding to the pre-stored third-party user identifier based on the third-party user identifier.

[0041] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, including:

[0042] one or more processors;

[0043] a storage device for storing one or more programs,

[0044] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0045] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0046] One embodiment of the above invention has the following advantages or beneficial effects: because after completing order packaging according to order information, a request for obtaining user information is sent, encrypted user information and a key are received, and the encrypted user information is decrypted using the key to obtain the user information, the technical problem of easy leakage of user information is overcome. The present invention receives encrypted user information and a key after completing order packaging, and decrypts to obtain user information. Therefore, when transmitting order information, third-party users do not need to directly transmit user information to the e-commerce platform, and the e-commerce platform cannot save user information, thereby preventing secondary leakage of user information. Moreover, user information is transmitted in the form of pictures, which further enhances security. During the entire transmission process with the e-commerce platform, no storage and persistence operations will be performed on the user information, further reducing the possibility of information leakage due to e-commerce platform reasons.

[0047] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0049] Figure 1is a schematic diagram of the main process of the method for transmitting user information according to an embodiment of the present invention;

[0050] Figure 2 It is a schematic diagram of printing user information directly on a package in the prior art;

[0051] Figure 3 is a schematic diagram of printing after decoding user information according to an embodiment of the present invention;

[0052] Figure 4 is a schematic diagram of the main process of a method for transmitting user information according to a reference embodiment of the present invention;

[0053] Figure 5 is a schematic diagram of main modules of an apparatus for transmitting user information according to an embodiment of the present invention;

[0054] Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0055] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0057] Figure 1 Schematic diagram of the main process of the method for transmitting user information according to an embodiment of the present invention. As an embodiment of the present invention, Figure 1 As shown, the method for transmitting user information may include:

[0058] Step 101, receiving order information, wherein the order information includes order identification, product information and delivery address.

[0059] The logistics system can receive order information from third-party users through an interface. The order information may include order identification, product information and delivery address, but does not include user information (such as sensitive information such as name and phone number) to prevent leakage of user information.

[0060] Optionally, the third-party user may be a merchant on the e-commerce platform. In this case, the merchant order information of the merchant's ERP system can be transmitted to the e-commerce's logistics system through an interface, but only order-related information is transmitted, such as purchased product information, delivery address, etc., but the merchant's customer information is not transmitted, such as customer name, phone information, etc., to ensure the information security of the merchant's customers.

[0061] Step 102: After completing order packaging according to the order information, a request for obtaining user information is sent, wherein the request carries the order identifier.

[0062] After receiving the order information, you can start the operation, such as including the following processes:

[0063] 1) Order preservation: Save the order information received in step 101 and generate a logistics order number for use in subsequent processes and downstream systems. For the convenience of circulation, the order will be split, so one order ID corresponds to multiple logistics order numbers.

[0064] 2) Order business logic processing: Process the corresponding order business logic according to the different order business logics of each third-party user; it should be pointed out that, in the embodiments of the present invention, the abnormal information is processed through the order business logic so that the order can continue to flow (for example, if the delivery address filled in by the user is inaccurate, the delivery address can be corrected through the order business logic so that the order can continue to flow; for example, if the product is temporarily out of stock, the order business logic can be used to allow the order to continue to flow), avoiding order cancellation due to abnormal information.

[0065] 3) Order transmission: Order information (logistics order number, product information and delivery address) is transmitted to the warehousing system.

[0066] 4) Warehousing order reception: The warehousing system receives order information (logistics order number, product information and delivery address).

[0067] 5) Order picking: Warehousing production staff go to the commodity storage location to pick the goods purchased according to the user's order.

[0068] 6) Order packaging: Warehouse production staff will package and pack the selected goods.

[0069] Through the above steps, the order packaging is completed. Since the downstream distribution system needs to contact the recipient (i.e., the user) during delivery, after the order is packaged, the user's name and phone information need to be printed on a package label and attached to the package. The delivery person can see the user information on the package label so that he can contact the user directly when delivering the package.

[0070] Therefore, after the order is packaged according to the order information, a request for obtaining user information is sent, and the request carries the order ID. Since the logistics order number is used for circulation in the above packaging process, it is necessary to first find the order ID according to the logistics order number, and then send a request to obtain user information to the third-party user.

[0071] Step 103: receiving the encrypted user information and the key, and using the key to decrypt the encrypted user information to obtain the user information.

[0072] The third-party user finds the user information according to the order identifier, processes the user information (such as encryption and / or authentication) and returns it to the logistics system, and also returns a key for decrypting the user information.

[0073] The logistics system receives the encrypted user information and the key, and then uses the key to decrypt the encrypted user information to obtain the user information. As another embodiment of the present invention, step 103 may include: receiving the encrypted user information in the form of a binary stream image or a base64 format string, and the key; using the key to decrypt the encrypted user information to obtain a picture showing the user information. In this embodiment, the encrypted user information may be returned in the form of a binary stream image or a base64 format string to reduce traffic and increase the transmission speed. If the encrypted user information in the form of a binary stream image is received, it is decrypted by the key to obtain a picture showing the user information; if the encrypted user information in the form of a base64 format string is received, it is decoded by the key to obtain a picture showing the user information. It helps to improve the security of data transmission to prevent the data stream from being intercepted and maliciously tampered with during network transmission, causing information leakage.

[0074] In the prior art, the user information is transmitted in step 101, so the user information can be directly retrieved from the database and printed, such as Figure 2 As shown. However, the present invention needs to call the interface of the third-party user, decode the user information returned by the third-party user and then print it. Figure 3 As shown, in order to increase the difficulty of computer image recognition, the returned images are simply processed. The increase in recognition difficulty is defined by a third party. Under the premise that the naked eye can recognize it, the difficulty of the image being cracked by the program is increased, which helps to improve the security of data transmission.

[0075] In another embodiment of the present invention, in order to further improve the transmission security of user information, a third party user can encrypt and authenticate the user information. Therefore, step 103 may include: receiving encrypted user information and an encrypted authentication string; judging whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, decrypting the encrypted user information using the encrypted authentication string to obtain the user information. Decryption can only be performed after passing the authority authentication. Authentication and encryption can further improve the security of user information to prevent the data stream from being intercepted and maliciously tampered with during network transmission, resulting in information leakage.

[0076] Optionally, judging whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, using the encrypted authentication string to decrypt the encrypted user information to obtain the user information, including: parsing the encrypted authentication string to obtain a third-party user identifier, authorization code and key; judging whether there is authority to decrypt the encrypted user information according to the third-party user identifier and authorization code; if so, determining the encryption protocol corresponding to the third-party user according to the third-party user identifier; using the encryption protocol and the key to decrypt the encrypted user information to obtain the user information. The encrypted authentication string returned by the third-party user includes the third-party user identifier, authorization code and key. By parsing the encrypted authentication string, the third-party user identifier, authorization code and key can be obtained, thereby performing authority authentication according to the authorization code verification, and decrypting if the authentication is passed.

[0077] Before step 101, the method further includes: pre-storing the authorization code and encryption protocol corresponding to each third-party user identifier. That is, the logistics system pre-stores the third-party user identifier and its corresponding authorization code, as well as the third-party user identifier and its corresponding encryption protocol. The encryption protocol can be encapsulated in a software development kit (SDK), and the encrypted user information is decrypted by running the software development kit. Each third-party user can agree on different encryption protocols according to their own needs, and send the encryption protocols to the logistics system in advance, and the logistics system saves these encryption protocols.

[0078] In another embodiment of the present invention, based on the third-party user identifier and the authorization code, it is determined whether there is permission to decrypt the encrypted user information; if so, the encryption protocol corresponding to the third-party user is determined based on the third-party user identifier, including: determining whether the authorization code is the same as the authorization code corresponding to the third-party user stored in advance; if so, determining the encryption protocol corresponding to the third-party user stored in advance based on the third-party user identifier.

[0079] After getting the picture showing the user information, print the package label, such as Figure 3 It can be seen that in the embodiment of the present invention, during the transmission process of each interface, the data information does not fall to the ground, and the logistics system does not store the user information, further reducing the risk of user information leakage.

[0080] According to the various embodiments described above, it can be seen that the present invention solves the problem of easy leakage of user information by sending a request for obtaining user information after completing order packaging according to order information, receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain the technical means of user information. The present invention receives encrypted user information and a key after completing order packaging, and decrypts to obtain user information. Therefore, when transmitting order information, third-party users do not need to directly transmit user information to the e-commerce platform, and the e-commerce platform cannot save user information, thereby preventing secondary leakage of user information. Moreover, user information is transmitted in the form of pictures, which further enhances security. During the entire transmission process with the e-commerce platform, user information will not be stored in any warehouse or persisted, further reducing the possibility of information leakage due to e-commerce platform reasons.

[0081] Figure 4 : is a schematic diagram of the main process of a method for transmitting user information according to a reference embodiment of the present invention. The method for transmitting user information may specifically include:

[0082] 1. Merchant order: After the user places an order, the merchant's ERP system transmits the order information to the logistics system.

[0083] 2. Order reception: The logistics system receives merchant order information from the merchant ERP system through an interface, and only transmits order-related information, such as order identification, product information and delivery address, etc., without transmitting user information, such as name and phone number information.

[0084] 3. Order preservation: The logistics system saves the order information and generates a logistics order number for use in subsequent processes and downstream systems.

[0085] 4. Order business logic processing: The logistics system processes the corresponding order business logic according to the different order business logic of each merchant.

[0086] 5. Order transmission: The logistics system transmits the order information (logistics order number, product information and delivery address) to the warehousing system.

[0087] 6. Warehousing order reception: The warehousing system receives order information (logistics order number, product information and delivery address).

[0088] 7. Order picking: Warehousing production staff go to the commodity storage location to pick commodities according to the commodity information in the order information.

[0089] 8. Order packaging: Warehouse production staff will package and pack the selected goods.

[0090] 9. Obtaining user information: When printing package labels, the warehousing system transmits the logistics order number of the package label to be printed to the logistics system. The logistics system finds the corresponding order identifier through the transmitted logistics order number, and sends a request for obtaining user information to the merchant's ERP system, and the request carries the order identifier; the merchant's ERP system finds the user's name, phone number and other information when placing the order according to the merchant's order number, and returns it to the logistics system in the form of a binary stream image after processing by the program, and also returns an encrypted authentication string; the logistics system receives the binary stream image returned by the merchant's ERP system, and decrypts the binary stream image with the encrypted authentication string through the pre-stored SDK of the merchant, thereby generating a recognizable binary stream image.

[0091] 10. Attaching package labels: The warehousing system receives the binary stream image decrypted by the logistics system, prints the obtained user information and information required for delivery into a package label and attaches it to the package.

[0092] 11. Review and shipment: Review and check the package information, and ship out of the warehouse and load the package only after ensuring that it is correct.

[0093] 12. Terminal delivery: The deliveryman delivers the package.

[0094] In addition, the specific implementation content of the method for transmitting user information in a reference embodiment of the present invention has been described in detail in the method for transmitting user information described above, so the repeated content will not be described here.

[0095] Figure 5 is a schematic diagram of main modules of an apparatus for transmitting user information according to an embodiment of the present invention, such as Figure 5 As shown, the device 500 for transmitting user information includes a receiving module 501, a requesting module 502 and a decrypting module 503.

[0096] Among them, the receiving module 501 receives order information, and the order information includes order identification, product information and delivery address; after completing the order packaging according to the order information, the request module 502 sends a request for obtaining user information, and the request carries the order identification; the decryption module 503 receives the encrypted user information and the key, and uses the key to decrypt the encrypted user information to obtain the user information.

[0097] Optionally, the decryption module 503 receives encrypted user information in the form of a binary stream image or a base64 format string, and a key; and uses the key to decrypt the encrypted user information to obtain a picture displaying the user information.

[0098] Optionally, the decryption module 503 receives encrypted user information and an encrypted authentication string; determines whether there is authority to decrypt the encrypted user information based on the encrypted authentication string; if so, uses the encrypted authentication string to decrypt the encrypted user information to obtain user information.

[0099] Optionally, judging whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, decrypting the encrypted user information using the encrypted authentication string to obtain the user information includes:

[0100] Parsing the encrypted authentication string to obtain a third-party user ID, authorization code and key;

[0101] According to the third-party user identifier and the authorization code, determine whether there is authority to decrypt the encrypted user information; if so, determine the encryption protocol corresponding to the third-party user according to the third-party user identifier;

[0102] The encrypted user information is decrypted using the encryption protocol and the key to obtain the user information.

[0103] Optionally, a storage module is further included, and the storage module pre-stores the authorization code and encryption protocol corresponding to each third-party user identification.

[0104] According to the third-party user identifier and the authorization code, it is determined whether there is authority to decrypt the encrypted user information; if so, the encryption protocol corresponding to the third-party user is determined according to the third-party user identifier, including:

[0105] Determine whether the authorization code is the same as the authorization code corresponding to the pre-stored third-party user identifier; if so, determine the encryption protocol corresponding to the pre-stored third-party user identifier based on the third-party user identifier.

[0106] According to the various embodiments described above, it can be seen that the present invention solves the problem of easy leakage of user information by sending a request for obtaining user information after completing order packaging according to order information, receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain the technical means of user information. The present invention receives encrypted user information and a key after completing order packaging, and decrypts to obtain user information. Therefore, when transmitting order information, third-party users do not need to directly transmit user information to the e-commerce platform, and the e-commerce platform cannot save user information, thereby preventing secondary leakage of user information. Moreover, user information is transmitted in the form of pictures, which further enhances security. During the entire transmission process with the e-commerce platform, user information will not be stored in any warehouse or persisted, further reducing the possibility of information leakage due to e-commerce platform reasons.

[0107] It should be noted that the specific implementation content of the device for transmitting user information in the present invention has been described in detail in the method for transmitting user information described above, so the repeated content will not be described again here.

[0108] Figure 6 An exemplary system architecture 600 is shown to which the method or apparatus for transmitting user information according to the embodiments of the present invention can be applied.

[0109] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0110] The user can use the terminal devices 601, 602, 603 to interact with the server 606 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0111] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0112] The server 606 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 601, 602, and 603. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0113] It should be noted that the method for transmitting user information provided in the embodiment of the present invention is generally executed on the terminal devices 601, 602, 603 in the public place, and can also be executed by the server 606. Accordingly, the device for transmitting user information is generally set on the terminal devices 601, 602, 603 in the public place, and can also be set in the server 605.

[0114] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0115] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0116] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0117] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0118] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0119] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0121] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a receiving module, a request module and a decryption module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases.

[0122] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving order information, the order information includes an order identifier, product information and a delivery address; after completing order packaging according to the order information, sending a request for obtaining user information, the request carries the order identifier; receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain user information.

[0123] According to the technical solution of the embodiment of the present invention, because after completing the order packaging according to the order information, a request for obtaining user information is sent, the encrypted user information and key are received, and the encrypted user information is decrypted using the key to obtain the user information, the technical problem of easy leakage of user information is overcome. The present invention receives the encrypted user information and key after completing the order packaging, and decrypts the user information. Therefore, when transmitting the order information, the third-party user does not need to directly transmit the user information to the e-commerce platform, and the e-commerce platform cannot save the user information, thereby preventing secondary leakage of the user information. Moreover, the user information is transmitted in the form of pictures, which further enhances security. During the entire transmission process with the e-commerce platform, the user information will not be stored in any warehouse or persisted, further reducing the possibility of information leakage due to the e-commerce platform.

[0124] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for transmitting user information, characterized in that: Logistics systems used in e-commerce include: Receiving order information, wherein the order information includes order identification, product information and delivery address; After the warehousing system completes order packaging according to the order information, it sends a request to the third-party user to obtain user information, where the request carries the order identifier; Receiving encrypted user information and a key, and decrypting the encrypted user information using the key to obtain the user information; Receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain the user information, including: Receive encrypted user information and keys in the form of binary stream images or base64 format strings; The encrypted user information is decrypted using the key to obtain a picture showing the user information. The warehousing system receives the decrypted picture from the logistics system, prints the obtained user information and information required for delivery into a package label and affixes it to the package.

2. The method according to claim 1, characterized in that Receiving encrypted user information and a key, and using the key to decrypt the encrypted user information to obtain the user information, including: Receive encrypted user information and encrypted authentication string; Determine whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, use the encrypted authentication string to decrypt the encrypted user information to obtain the user information.

3. The method according to claim 2, characterized in that Determining whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; If yes, the encrypted user information is decrypted using the encrypted authentication string to obtain user information, including: Parsing the encrypted authentication string to obtain a third-party user ID, authorization code and key; According to the third-party user identifier and the authorization code, determine whether there is authority to decrypt the encrypted user information; if so, determine the encryption protocol corresponding to the third-party user according to the third-party user identifier; The encrypted user information is decrypted using the encryption protocol and the key to obtain the user information.

4. The method according to claim 3, characterized in that Also includes: Pre-store the authorization code and encryption protocol corresponding to each third-party user ID; Determining whether the third party has the authority to decrypt the encrypted user information according to the third party user identification and authorization code; If yes, determining the encryption protocol corresponding to the third-party user according to the third-party user identifier includes: Determining whether the authorization code is the same as the pre-stored authorization code corresponding to the third-party user identifier; If so, the encryption protocol corresponding to the pre-stored third-party user identifier is determined according to the third-party user identifier.

5. A device for transmitting user information, characterized in that: The logistics system set up in e-commerce includes: A receiving module, used to receive order information, wherein the order information includes an order identifier, product information and a delivery address; A request module, used to send a request to a third-party user to obtain user information after the warehousing system completes order packaging according to the order information, wherein the request carries the order identifier; A decryption module, used to receive the encrypted user information and a key, and use the key to decrypt the encrypted user information to obtain the user information; The decryption module is used for: Receive encrypted user information and keys in the form of binary stream images or base64 format strings; The encrypted user information is decrypted using the key to obtain a picture showing the user information. The warehousing system receives the decrypted picture from the logistics system, prints the obtained user information and information required for delivery into a package label and affixes it to the package.

6. The device according to claim 5, characterized in that The decryption module is used for: Receive encrypted user information and encrypted authentication string; Determine whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; if so, use the encrypted authentication string to decrypt the encrypted user information to obtain the user information.

7. The device according to claim 6, characterized in that Determining whether there is authority to decrypt the encrypted user information according to the encrypted authentication string; If yes, the encrypted user information is decrypted using the encrypted authentication string to obtain user information, including: Parsing the encrypted authentication string to obtain a third-party user ID, authorization code and key; According to the third-party user identifier and the authorization code, determine whether there is authority to decrypt the encrypted user information; if so, determine the encryption protocol corresponding to the third-party user according to the third-party user identifier; The encrypted user information is decrypted using the encryption protocol and the key to obtain the user information.

8. The device according to claim 7, characterized in that Also includes: A storage module, used to pre-store the authorization code and encryption protocol corresponding to each third-party user identification; Determining whether the third party has the authority to decrypt the encrypted user information according to the third party user identification and authorization code; If yes, determining the encryption protocol corresponding to the third-party user according to the third-party user identifier includes: Determining whether the authorization code is the same as the pre-stored authorization code corresponding to the third-party user identifier; If so, the encryption protocol corresponding to the pre-stored third-party user identifier is determined according to the third-party user identifier.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Two-dimensional barcode-based logistics industry personal information privacy protection system and method

    CN103401676A

  • Informatization express method capable of protecting privacy of client

    CN103530753A

  • Transportation system based on watermarking technique for implementation of parcel information hiding

    CN105005900A

  • Information privacy protection type network scheduling logistic method

    CN106960305A

  • Managing secure transactions between electronic devices and service providers

    US20170357936A1