A method and system for adding address information, a client and a server

By using the identification code to verify the information, the server returns the address information and adds it to the order, which solves the problem of tedious and incorrect manual address entry and achieves fast and accurate addition of address information.

CN113744007BActive Publication Date: 2024-09-20BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010478785.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-29
Publication Date
2024-09-20
Estimated Expiration
2040-05-29

AI Technical Summary

Technical Problem

In the existing technology, users need to manually input address information, which is cumbersome, time-consuming and prone to input errors.

Method used

Verification information is sent to the server through the first user's identification code, and the server determines and returns the address information, and the client adds it to the order, simplifying the input process of address information.

Benefits of technology

It realizes the rapid and accurate addition of address information and avoids the tediousness and error risk of manual input.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113744007B
    Figure CN113744007B
Patent Text Reader

Abstract

The present invention discloses a method and system for adding address information, a client and a server, and relates to the field of computer technology. A specific implementation of the method includes: sending the verification information of the first user to the server according to the identification code of the first user, so that the server determines the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user; receiving the address information of the first user sent by the server; and adding the address information of the first user to the order of the second user. This implementation can add the address information to the order more conveniently and quickly, and avoid the occurrence of input errors.
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 system for adding address information, a client and a server. Background Art

[0002] In actual application scenarios, the first user may ask the second user to place an order on his behalf due to preferential policies or inconvenience. For example, the second user purchases goods on the e-commerce platform on behalf of the first user or places an order on the logistics platform on behalf of the first user. The second user needs to add the first user's address information to the order.

[0003] In the prior art, the second user generally adds the first user's address information to the order by manual input.

[0004] However, this method is cumbersome, time-consuming, and prone to input errors. Summary of the invention

[0005] In view of this, the embodiments of the present invention provide a method and system for adding address information, a client and a server, which can add address information to an order more conveniently and quickly and avoid the occurrence of input errors.

[0006] In a first aspect, an embodiment of the present invention provides a method for adding address information, which is applied to a client and includes:

[0007] sending verification information of the first user to a server according to the identification code of the first user, so that the server determines the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user;

[0008] Receiving the address information of the first user sent by the server;

[0009] The address information of the first user is added to the order of the second user.

[0010] Optionally,

[0011] The verification information of the first user includes: an identification code of the first user.

[0012] Optionally,

[0013] The verification information of the first user includes: the account number and address storage identifier of the first user;

[0014] The sending the verification information of the first user to the server according to the identification code of the first user includes:

[0015] Scan the QR code of the first user;

[0016] Parsing the QR code to obtain the account number and address storage identifier of the first user;

[0017] Send the first user's account number and address storage identifier to the server.

[0018] Optionally,

[0019] Further including:

[0020] When a trigger operation for the address information of the second user is received, determining the account number and address storage identifier of the second user;

[0021] generating an identification code of the second user according to the account number and address storage identifier of the second user;

[0022] Send the address information and address storage identifier of the second user to the server.

[0023] In a second aspect, an embodiment of the present invention provides a method for adding address information, which is applied to a server, comprising:

[0024] Receiving verification information of a first user sent by a client; wherein the verification information of the first user is determined by an identification code of the first user;

[0025] Determining address information of the first user according to the verification information of the first user;

[0026] The address information of the first user is sent to the client, so that the client adds the address information of the first user to the order of the second user.

[0027] Optionally,

[0028] The verification information of the first user includes: an identification code of the first user.

[0029] Optionally,

[0030] The verification information of the first user includes: the account number and address storage identifier of the first user;

[0031] The determining the address information of the first user according to the verification information of the first user includes:

[0032] Determine whether the first user's account exists among several pre-stored valid accounts, and if so, determine the first user's address information based on the first user's address storage identifier.

[0033] Optionally,

[0034] The determining the address information of the first user according to the address storage identifier of the first user includes:

[0035] Determine whether address information corresponding to the address storage identifier of the first user exists in the cache, and if so, obtain the address information of the first user.

[0036] Optionally,

[0037] Before acquiring the address information of the first user, the method further includes:

[0038] Determine whether there is a binding relationship between the first user and the second user in the pre-stored binding relationships, and if so, execute the step of obtaining the address information of the first user.

[0039] Optionally,

[0040] Further including:

[0041] Receiving the address information and address storage identifier of the second user sent by the client;

[0042] The address information of the second user and the address storage identifier are stored in the cache in correspondence.

[0043] In a third aspect, an embodiment of the present invention provides a client, including:

[0044] a determination module, configured to send verification information of the first user to a server according to an identification code of the first user, so that the server determines the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user;

[0045] A receiving module, configured to receive the address information of the first user sent by the server;

[0046] An adding module is configured to add the address information of the first user to the order of the second user.

[0047] In a fourth aspect, an embodiment of the present invention provides a server, including:

[0048] A receiving module, configured to receive verification information of a first user sent by a client; wherein the verification information of the first user is determined by an identification code of the first user;

[0049] a determination module, configured to determine the address information of the first user according to the verification information of the first user;

[0050] The adding module is configured to send the address information of the first user to the client, so that the client adds the address information of the first user to the order of the second user.

[0051] In a fifth aspect, an embodiment of the present invention provides a system for adding address information, comprising: the client described in the above embodiment and the server described in the above embodiment.

[0052] In a sixth aspect, an embodiment of the present invention provides an electronic device, including:

[0053] one or more processors;

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

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

[0056] In a seventh aspect, an embodiment of the present invention provides a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the method described in any of the above embodiments is implemented.

[0057] An embodiment of the above invention has the following advantages or beneficial effects: the address information of the first user is obtained from the server according to the identification code of the first user, and the address information is directly added to the order. Compared with manual input, the embodiment of the present invention is more convenient and quick, and can avoid input errors.

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

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

[0060] Figure 1 is a flow chart of a method for adding address information applied to a client provided by an embodiment of the present invention;

[0061] Figure 2 is a flow chart of a method for adding address information applied to a server provided by an embodiment of the present invention;

[0062] Figure 3 is a flow chart of a method for adding address information in a system for adding address information provided by an embodiment of the present invention;

[0063] Figure 4is a flow chart of a method for adding address information in a system for adding address information provided by another embodiment of the present invention;

[0064] Figure 5 is a schematic diagram of a cache structure provided by an embodiment of the present invention;

[0065] Figure 6 is a schematic diagram of a client provided by an embodiment of the present invention;

[0066] Figure 7 is a schematic diagram of a server provided by an embodiment of the present invention;

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

[0068] Fig. 9 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

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

[0070] In actual application scenarios, e-commerce platforms or logistics platforms will provide certain discounts to member users. If the first user is not a member, he can ask the second user (a member of the e-commerce platform or logistics platform) to place an order on his behalf in order to enjoy the discount. In this scenario, the first user needs to provide his address information to the second user.

[0071] In the prior art, the second user generally manually adds the address information of the first user to the order.

[0072] However, manual input has problems such as low input efficiency and easy input errors.

[0073] In view of this, an embodiment of the present invention provides a method for adding address information, which is applied to a client, such as Figure 1 As shown, including:

[0074] Step 101: Send verification information of the first user to a server according to the identification code of the first user.

[0075] The server may determine the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user;

[0076] The client can be installed in a mobile terminal such as a mobile phone or tablet computer. The identification code can be a barcode, a QR code or a Code code.

[0077] The verification information of the first user may be the identification code of the first user, or may be obtained by parsing the identification code of the first user. In other words, the parsing of the identification code may be performed on the client side or on the server side.

[0078] The verification information of the first user may include: the account number of the first user. For example, the account number of the first user may be obtained by scanning and parsing the identification code of the first user. Accordingly, the server may store the account number of the first user in correspondence with its address information, and determine the address information through the account number.

[0079] The first user can transmit the identification code to the second user's mobile terminal through instant messaging software, so that the client installed in the mobile terminal can scan the identification code. In addition, the client can also obtain the first user's identification code by face-to-face scanning.

[0080] Step 102: Receive the address information of the first user sent by the server.

[0081] In different application scenarios, the content included in the address information may be different. For example, when the second user places an order to purchase goods on an e-commerce platform on behalf of the first user, the address information includes: consignee, delivery address and mobile phone number, etc.; when the second user places an order to ship goods on a logistics platform on behalf of the first user, the address information includes: sender, shipping address and mobile phone number, etc.

[0082] Step 103: Add the address information of the first user to the order of the second user.

[0083] The embodiment of the present invention obtains the address information of the first user from the server according to the identification code of the first user, and directly adds the address information to the order. Compared with manual input, the embodiment of the present invention is more convenient and quick, and can avoid input errors.

[0084] In order to prevent leakage of the identification code from threatening data security, in one embodiment of the present invention, the verification information of the first user may further include: an address storage identifier of the first user.

[0085] Sending verification information of the first user to the server according to the identification code of the first user includes:

[0086] Scan the first user's QR code;

[0087] Parse the QR code to obtain the account number and address storage identifier of the first user;

[0088] The first user's account number and address storage identifier are sent to the server.

[0089] In actual application scenarios, the effective time of the address storage identifier can be set, for example, the effective time is 30 minutes. That is to say, the effective time of the identification code is 30 minutes. After 30 minutes, the server will not feedback the address information. The address information in the server can be stored corresponding to the address storage identifier.

[0090] The second user can place an order on behalf of the first user through the client installed in his / her mobile terminal. Correspondingly, other users can also place an order on behalf of the second user. At this time, the second user needs to provide the address information to the server through the client.

[0091] Therefore, in one embodiment of the present invention, if the verification information is the account number and address storage identifier of the second user, the method further includes:

[0092] When a trigger operation for the address information of the second user is received, determining the account number and address storage identifier of the second user;

[0093] generating an identification code for the second user based on the account number and address storage identifier of the second user;

[0094] The address information and address storage identifier of the second user are sent to the server.

[0095] In the embodiment of the present invention, if the second user requires the first user to place an order on his / her behalf, the second user needs to provide his / her own identification code to the client corresponding to the first user.

[0096] If the verification information is an identification code of the second user, the method further includes:

[0097] When a trigger operation for the address information of the second user is received, determining the account number and address storage identifier of the second user;

[0098] generating an identification code for the second user based on the account number and address storage identifier of the second user;

[0099] The address information and identification code of the second user are sent to the server.

[0100] The identification code and address information of the second user are stored correspondingly in the server.

[0101] The process of the server processing the second user's verification information is similar to the process of processing the first user's verification information, and will not be repeated here.

[0102] Similarly, before the second user places an order on behalf of the first user, the first user needs to provide the address information to the server through the client installed in the mobile terminal.

[0103] If the verification information is the account number and address storage identifier of the first user, the method further includes:

[0104] When a trigger operation for the address information of the first user is received, determining the account number and address storage identifier of the first user;

[0105] Generate an identification code for the first user based on the account number and address storage identifier of the first user;

[0106] The address information and address storage identifier of the first user are sent to the server.

[0107] If the verification information is an identification code of the first user, the method further includes:

[0108] When a trigger operation for the address information of the first user is received, determining the account number and address storage identifier of the first user;

[0109] Generate an identification code for the first user based on the account number and address storage identifier of the first user;

[0110] The address information and identification code of the first user are sent to the server.

[0111] The identification code and address information of the first user are stored correspondingly in the server.

[0112] In an actual application scenario, the client can display an order-on-behalf-of identifier corresponding to the address information. When a trigger operation for the order-on-behalf-of identifier is detected, the client determines the account number and address storage identifier of the first user. It should be noted that the embodiment of the present invention is described by taking the verification information as the account number and address storage identifier as an example. If the verification information is the account number, the account number of the first user is determined.

[0113] like Figure 2 As shown, an embodiment of the present invention provides a method for adding address information, which is applied to a server, including:

[0114] Step 201: receiving verification information of a first user sent by a client; wherein the verification information of the first user is determined by an identification code of the first user.

[0115] The server may receive the verification information of the first user sent by the client installed in the mobile terminal.

[0116] Step 202: Determine the address information of the first user according to the verification information of the first user.

[0117] In an embodiment of the present invention, the address information of the first user is stored corresponding to the verification information, and the address information can be stored in a Redis cache. Among them, the Redis cache is an open source Key-Value database written in ANSI C language, which can provide interfaces in multiple languages. Of course, the address information can also be stored in MySQL.

[0118] Step 203: Send the address information of the first user to the client, so that the client adds the address information of the first user to the order of the second user.

[0119] In the embodiment of the present invention, the server can feed back the corresponding address information to the client according to the verification information of the first user, so that the client can directly add the address information to the order without manual addition. Therefore, the method can shorten the time of adding address information and avoid errors caused by manual addition.

[0120] In one embodiment of the present invention, the verification information of the first user includes: the account number of the first user and its address storage identifier;

[0121] Determining the address information of the first user according to the verification information of the first user includes:

[0122] It is determined whether there is an account of the first user among several pre-stored valid accounts, and if so, the address information of the first user is determined according to the address storage identifier of the first user.

[0123] In the embodiment of the present invention, the address information is stored corresponding to the address storage identifier. The valid account may be a registered account of the e-commerce platform, that is, the embodiment of the present invention verifies whether the first user is a registered user of the e-commerce platform to prevent lawbreakers from maliciously obtaining the address information of the first user.

[0124] In one embodiment of the present invention, the validity of the address storage identifier can also be verified, and the server can delete the invalid address storage identifier and its corresponding address information in a timely manner according to the effective time of the address storage identifier. Specifically, according to the address storage identifier of the first user, determining the address information of the first user includes:

[0125] Determine whether address information corresponding to the address storage identifier exists in the cache, and if so, obtain the address information of the first user.

[0126] The risk caused by the failure of the identification code can be reduced by the embodiments of the present invention.

[0127] In one embodiment of the present invention, before obtaining the address information of the first user, the method further includes:

[0128] It is determined whether there is a binding relationship between the first user and the second user in the pre-stored binding relationships, and if so, the address information of the first user is obtained.

[0129] In order to ensure the account security of the second user, the embodiment of the present invention can also verify the binding relationship between the first user and the second user, and only users with a binding relationship can place orders on behalf of each other.

[0130] In one embodiment of the present invention, the method further comprises:

[0131] Receiving the address information and address storage identifier of the second user sent by the client;

[0132] The address information of the second user and the address storage identifier are stored in the cache in correspondence.

[0133] In the embodiment of the present invention, the server stores the address information so that the client can obtain the address information of the first user in a timely manner and add the address information to the order.

[0134] like Figure 3 As shown, the embodiment of the present invention takes the system for adding address information as an example to illustrate the method for adding address information, and the method includes:

[0135] Step 301: The client determines the verification information of user a according to the identification code of user a.

[0136] Step 302: The client sends verification information to the server.

[0137] Step 303: The server determines the address information of user a based on the verification information;

[0138] Step 304: The server sends the address information of the first user to the client.

[0139] Step 305: The client adds the address information to the store's order.

[0140] In the embodiment of the present invention, the first user is user a, and the second user is an offline store of the e-commerce platform. User a can purchase goods on the e-commerce platform through the offline store of the e-commerce platform. In this scenario, user a can select goods in the store, and provide the selected goods and the identification code of user a to the store. The store can place an order on the e-commerce platform on behalf of user a, and the ordered goods can be directly delivered to the designated address of user a, so that user a can enjoy online discounts and improve the shopping experience of user a.

[0141] In an actual application scenario, the first user's mobile terminal and the second user's mobile terminal are both installed with a client. For the convenience of description, the embodiment of the present invention refers to the client installed in the first user's mobile terminal as A, and the client installed in the second user's mobile terminal as B. The second user purchases goods on the e-commerce platform on behalf of the first user.

[0142] like Figure 4 As shown, an embodiment of the present invention provides a method for adding address information, including:

[0143] Step 401: When receiving a trigger operation from the first user on address information, A determines the account number and address storage identifier of the first user.

[0144] The trigger operation may be long pressing the address information to reach a time threshold, for example, 3 seconds. The first user's account is a registered account of the first user in the e-commerce platform.

[0145] Step 402: A generates a QR code of the first user according to the account number and address storage identifier of the first user.

[0146] According to the preset coding rules, the account number and address storage identifier are encoded into a QR code.

[0147] Step 403: A sends the address information and address storage identifier of the first user to the server.

[0148] Step 404: The server stores the first user's address information and the address storage identifier in a corresponding manner in the cache.

[0149] like Figure 5 As shown, the address information is stored corresponding to the address storage identifier. The address information includes: the name of the consignee, the delivery address and the delivery area. The delivery area refers to the administrative area or geographical area where the delivery address is located. pin represents the account number of the first user. The account number and the delivery address are stored in the form of filed-value. key represents the address storage threshold.

[0150] Step 405: B scans the QR code of the first user.

[0151] The first user displays the QR code to the second user through the mobile terminal, and the second user scans the QR code through the client installed in the mobile terminal.

[0152] Step 406: B parses the QR code of the first user to obtain the account number and address storage identifier of the first user.

[0153] Step 407: B sends the first user's account number and address storage identifier to the server.

[0154] Step 408: The server determines whether there is an account of the first user among the pre-stored valid accounts. If yes, execute step 409; otherwise, terminate the current process.

[0155] Step 409: The server determines whether there is address information corresponding to the address storage identifier of the first user in the cache. If so, execute step 410; otherwise, terminate the current process.

[0156] Step 410: The server determines whether there is a binding relationship between the first user and the second user in the pre-stored binding relationships. If yes, execute step 411; otherwise, terminate the current process.

[0157] The embodiment of the present invention verifies the first user from three different perspectives through step 408, step 409 and step 410 respectively, so as to ensure the information security of the first user.

[0158] Step 411: The server obtains the address information of the first user.

[0159] The server assembles the information such as the consignee and delivery address stored in the cache and converts the data in MAP format into the corresponding data entity.

[0160] Step 412: The server sends the address information of the first user to B.

[0161] Step 413: B adds the first user's address information to the second user's order.

[0162] It should be noted that the second user mentioned in the embodiment of the present invention refers to an individual. If the second user is a store, the server does not need a binding relationship between the first user and the second user. If the second user is a store, the server can also verify whether the second user is a legitimate store.

[0163] like Figure 6 As shown, an embodiment of the present invention provides a client, including:

[0164] The determination module 601 is configured to send the verification information of the first user to the server according to the identification code of the first user, so that the server determines the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user;

[0165] Receiving module 602, configured to receive address information of the first user sent by the server;

[0166] The adding module 603 is configured to add the address information of the first user to the order of the second user.

[0167] In one embodiment of the present invention, the verification information of the first user includes: an identification code of the first user.

[0168] In one embodiment of the present invention, the verification information of the first user includes: the account number and address storage identifier of the first user;

[0169] The determination module 601 is configured to scan the QR code of the first user; parse the QR code to obtain the account number and address storage identifier of the first user; and send the account number and address storage identifier of the first user to the server.

[0170] In one embodiment of the present invention, the determination module 601 is configured to determine the account and address storage identifier of the second user when a trigger operation for the address information of the second user is received; generate an identification code of the second user based on the account and address storage identifier of the second user; and send the address information and address storage identifier of the second user to the server.

[0171] like Figure 7 As shown, an embodiment of the present invention provides a server, including:

[0172] The receiving module 701 is configured to receive the verification information of the first user sent by the client; wherein the verification information of the first user is determined by the identification code of the first user;

[0173] The determination module 702 is configured to determine the address information of the first user according to the verification information of the first user;

[0174] The adding module 703 is configured to send the address information of the first user to the client, so that the client adds the address information of the first user to the order of the second user.

[0175] In one embodiment of the present invention, the verification information of the first user includes: an identification code of the first user.

[0176] In one embodiment of the present invention, the verification information of the first user includes: the account number and address storage identifier of the first user;

[0177] The determination module 702 is configured to determine whether there is an account of the first user among several pre-stored valid accounts, and if so, determine the address information of the first user according to the address storage identifier of the first user.

[0178] In one embodiment of the present invention, the receiving module 701 is configured to receive the address information and address storage identifier of the second user sent by the client;

[0179] The determination module 702 is configured to store the address information of the second user and the address storage identifier in a cache in correspondence.

[0180] In one embodiment of the present invention, the determination module 702 is configured to determine whether address information corresponding to the address storage identifier exists in the cache, and if so, obtain the address information of the first user.

[0181] In one embodiment of the present invention, the determination module 702 is configured to determine whether there is a binding relationship between the first user and the second user in the pre-stored binding relationships, and if so, to obtain the address information of the first user.

[0182] An embodiment of the present invention provides a system for adding address information, including: a client of any of the above embodiments and a server of any of the above embodiments.

[0183] An embodiment of the present invention provides an electronic device, including:

[0184] one or more processors;

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

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

[0187] Figure 8 An exemplary system architecture 800 is shown to which the method for adding address information or the system for adding address information according to the embodiment of the present invention can be applied.

[0188] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0189] Users can use terminal devices 801, 802, and 803 to interact with server 805 through network 804 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0190] The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0191] The terminal device is installed with the client described in any of the above embodiments.

[0192] The server 805 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 801, 802, and 803. 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.

[0193] It should be noted that the method for adding address information provided in the embodiment of the present invention may be executed by the server 805 , and accordingly, the server is generally disposed in the server 805 .

[0194] It should be understood that Figure 8 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.

[0195] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9 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.

[0196] like Fig. 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

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

[0198] 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 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.

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

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

[0201] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor. For example, they may be described as: a processor includes a sending module, an acquisition module, a determination module, and a first processing module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, the sending module may also be described as a "module for sending a picture acquisition request to the connected server."

[0202] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device.

[0203] The computer-readable medium carries one or more programs. When the one or more programs are executed by a device, the device includes:

[0204] sending verification information of the first user to a server according to the identification code of the first user, so that the server determines the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user;

[0205] Receiving the address information of the first user sent by the server;

[0206] The address information of the first user is added to the order of the second user.

[0207] The computer-readable medium carries one or more programs. When the one or more programs are executed by a device, the device includes:

[0208] Receiving verification information of a first user sent by a client; wherein the verification information of the first user is determined by an identification code of the first user;

[0209] Determining address information of the first user according to the verification information of the first user;

[0210] The address information of the first user is sent to the client, so that the client adds the address information of the first user to the order of the second user.

[0211] According to the technical solution of the embodiment of the present invention, the server is requested through the identification code provided by the first user to obtain the address information of the first user, and the address information is directly added to the order. Compared with manual input, the embodiment of the present invention is more convenient and faster, and can avoid input errors.

[0212] 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 adding address information, characterized in that: Applied to the client, including: sending verification information of the first user to a server according to the identification code of the first user, so that the server determines the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user; Receiving the address information of the first user sent by the server; wherein the address information of the first user is sent by the server when it is determined that there is a binding relationship between the first user and the second user according to a pre-stored binding relationship; The address information of the first user is added to the order of the second user.

2. The method according to claim 1, characterized in that The verification information of the first user includes: the account number and address storage identifier of the first user; The sending the verification information of the first user to the server according to the identification code of the first user includes: Scan the QR code of the first user; Parsing the QR code to obtain the account number and address storage identifier of the first user; Send the first user's account number and address storage identifier to the server.

3. The method according to claim 2, characterized in that Further including: When a trigger operation for the address information of the second user is received, determining the account number and address storage identifier of the second user; generating an identification code of the second user according to the account number and address storage identifier of the second user; Send the address information and address storage identifier of the second user to the server.

4. A method for adding address information, characterized in that: Applied to the server, including: Receiving verification information of a first user sent by a client; wherein the verification information of the first user is determined by an identification code of the first user; determining the address information of the first user according to the verification information of the first user; Before determining the address information of the first user, it further includes: determining whether there is a binding relationship between the first user and the second user in a pre-stored binding relationship, and if so, executing the step of obtaining the address information of the first user, and sending the address information of the first user to the client, so that the client adds the address information of the first user to the order of the second user.

5. The method according to claim 4, characterized in that The verification information of the first user includes: the account number and address storage identifier of the first user; The determining the address information of the first user according to the verification information of the first user includes: Determine whether the first user's account exists among several pre-stored valid accounts, and if so, determine the first user's address information based on the first user's address storage identifier.

6. The method according to claim 5, characterized in that The determining the address information of the first user according to the address storage identifier of the first user includes: Determine whether address information corresponding to the address storage identifier of the first user exists in the cache, and if so, obtain the address information of the first user.

7. The method according to claim 5, characterized in that Further including: Receiving the address information and address storage identifier of the second user sent by the client; The address information of the second user and the address storage identifier are stored in the cache in correspondence.

8. A client, characterized in that: include: a determination module, configured to send verification information of the first user to a server according to an identification code of the first user, so that the server determines the address information of the first user according to the verification information of the first user; wherein the verification information of the first user is determined by the identification code of the first user; a receiving module configured to receive the address information of the first user sent by the server; wherein the address information of the first user is sent by the server when it is determined that there is a binding relationship between the first user and the second user according to a pre-stored binding relationship; An adding module is configured to add the address information of the first user to the order of the second user.

9. A server, characterized in that: include: A receiving module, configured to receive verification information of a first user sent by a client; wherein the verification information of the first user is determined by an identification code of the first user; a determination module configured to determine the address information of the first user according to the verification information of the first user; before determining the address information of the first user, further comprising: determining whether there is a binding relationship between the first user and the second user in a pre-stored binding relationship, and if so, executing the step of obtaining the address information of the first user; and determining the address information of the first user; The adding module is configured to send the address information of the first user to the client, so that the client adds the address information of the first user to the order of the second user.

10. A system for adding address information, characterized in that: include: The client as claimed in claim 8 and the server as claimed in claim 9.

11. 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 7.

12. 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 7 is implemented.