Two-dimensional code opening, payment processing method, device, system and electronic equipment
By using a server-side QR code activation method, the first user can invite a second user to activate the QR code and set the payment method based on the binding relationship. This solves the problem of high barriers for young and old people to use electronic transportation cards and payment cards, and realizes fast and convenient QR code activation and payment processing.
Patent Information
- Application Number
- CN202211521635.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-26
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2040-03-26
AI Technical Summary
There are high barriers and difficulties for both young and old people to use mobile smart applications and electronic transportation cards, especially when it comes to obtaining and using electronic payment cards.
The server-side QR code activation process allows a first user to invite a second user to activate a QR code with pre-defined functions, and payment methods can be set based on the binding relationship, enabling rapid activation and payment processing of QR codes.
It reduces the learning and education costs for both young and old people to obtain electronic cards, provides a simple and quick way to make payments between family members by linking relationships, and solves the problem of high barriers to use.
Smart Images

Figure CN115936694B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present specification relate to the technical field of software, and more particularly, to a two-dimensional code opening processing method, a payment processing method based on a two-dimensional code, and an apparatus, a system, an electronic device, and a computer-readable storage medium thereof. BACKGROUND
[0002] With the popularity of mobile Internet, smart cities have ushered in tremendous development. Looking back at the development of the public transportation industry, from the early coin to IC card (Integrated Circuit Card) card swiping, to today's swiping of various smart applications (APP) on mobile terminal devices, the ride code (electronic transportation card) is a two-dimensional code suitable for public transportation, subway, ferry, and other transportation scenarios. In this way, people's daily travel is becoming increasingly convenient and efficient.
[0003] Although mobile smart applications have greatly improved people's transportation problems, the use of mobile smart applications has also brought some new difficulties and problems for the low-age and high-age population. The above problems also exist in the use of electronic transportation cards, thus increasing the threshold and difficulty of using electronic transportation cards for the low-age and high-age population.
[0004] In addition to electronic transportation cards, the same problem also exists in the collection of other electronic cards with predetermined purposes, such as electronic payment cards, and the like. SUMMARY
[0005] Embodiments of the present specification provide a new technical solution for two-dimensional code opening processing.
[0006] According to a first aspect of the present specification, an embodiment of a two-dimensional code opening processing method is provided, which is implemented by a server, and the method comprises:
[0007] receiving a first request sent by a first user, the first request being used to invite a second user to open a two-dimensional code with a predetermined function;
[0008] providing the first request to the second user, so that the second user opens the two-dimensional code according to the first request;
[0009] receiving a response of the second user opening the two-dimensional code, and returning the response to the first user.
[0010] Optionally, the first request comprises ID information of the first user and ID information of the second user;
[0011] The method further comprises:
[0012] querying whether the first user and the second user have a binding relationship based on ID information of the first user and ID information of the second user in the first request;
[0013] in the case of the binding relationship, performing the step of providing the first request to the second user.
[0014] Optionally, before receiving the first request sent by the first user, the method further comprises:
[0015] querying the binding relationship of the first user;
[0016] according to the query result, providing the first user with prompt information for inviting the second user to open the two-dimensional code, so that the first user sends the first request based on the prompt information;
[0017] wherein, when the second user with the binding relationship with the first user is queried according to the query result, the prompt information is first prompt information;
[0018] when the second user with the binding relationship with the first user is not queried according to the query result, the prompt information is second prompt information.
[0019] Optionally, after receiving the response of the second user opening the two-dimensional code, the method further comprises:
[0020] sending guide information to the second user, wherein the guide message is used to guide the second user to set the payment method based on the binding relationship as the preferred payment method of the two-dimensional code;
[0021] obtaining and saving the setting content of the preferred payment method made by the second user according to the guide message.
[0022] Optionally, in the case that the first user and the second user do not have a kinship relationship, the method further comprises:
[0023] sending a request to the first user to establish a binding relationship with the second user;
[0024] according to the response of the first user to the request, establishing the binding relationship between the first user and the second user, and setting the payment method based on the binding relationship.
[0025] Optionally, in the case that the first user and the second user do not have a binding relationship, the method further comprises:
[0026] determine whether the second user has a permission to establish a binding relationship with the first user based on ID information of the first user and ID information of the second user in the first request;
[0027] in a case where it is determined that the permission is had, perform the operation of sending the request for establishing the binding relationship with the second user to the first user;
[0028] in a case where it is determined that the permission is not had, send a second request to the second user, wherein the second request is used to invite the second user to open the permission;
[0029] wherein the operation of sending the request for establishing the binding relationship with the second user to the first user is performed according to the permission opened by the second user in response to the second request.
[0030] Optionally, after receiving the first request, the method further comprises:
[0031] displaying an invitation service page to the first user, so that the first user performs an invitation confirmation response based on the displayed invitation service page;
[0032] in a case where the invitation confirmation response sent by the first user is received, performing the operation of querying whether the first user and the second user have a binding relationship.
[0033] Optionally, the displaying of the invitation service page to the first user comprises:
[0034] sending an instruction of displaying an invitation service page to a first terminal device corresponding to the first user, so that the first terminal device displays an invitation service page to the first user;
[0035] wherein display content of the invitation service page comprises information description of the two-dimensional code, benefit information of opening the two-dimensional code, and an agreement of inviting to open the two-dimensional code.
[0036] Optionally, the first request corresponds to a first invitation mode, and the providing of the first request to the second user so that the second user opens the two-dimensional code according to the first request comprises:
[0037] sending the first request to the second user in the form of a message, so that the second user opens the two-dimensional code according to content of the message.
[0038] Optionally, the first request corresponds to a second invitation mode, and the providing of the first request to the second user so that the second user opens the two-dimensional code according to the first request comprises:
[0039] displaying the first request to the second user in the form of a two-dimensional code picture, so that the second user opens the two-dimensional code by scanning the two-dimensional code picture.
[0040] According to a second aspect of the present specification, another embodiment of a two-dimensional code opening processing method is also provided, which is implemented by a first terminal device and includes:
[0041] generating a first request according to a trigger of a first user, the first request being used to invite a second user to open a two-dimensional code with a predetermined function;
[0042] sending the first request to a server for corresponding invitation processing, wherein the invitation processing includes providing the first request to the second user;
[0043] receiving a response returned by the server, the response being that the second user opens the two-dimensional code according to the first request.
[0044] Optionally, the first request includes ID information of the first user and ID information of the second user.
[0045] The invitation processing further includes: based on the ID information of the first user and the ID information of the second user in the first request, if it is found that the first user and the second user have a binding relationship, providing the first request to the second user.
[0046] Optionally, in the case that the first user and the second user do not have a binding relationship, the method further includes:
[0047] receiving a request sent by the server to establish a binding relationship between the first user and the second user;
[0048] obtaining a response of the first user to the request;
[0049] sending the response to the server, so that the server establishes a binding relationship between the first user and the second user according to the response, and sets a payment method based on the binding relationship.
[0050] Optionally, the method further includes:
[0051] receiving an instruction sent by the server to display an invitation business page after receiving the first request;
[0052] displaying an invitation business page to the first user according to the instruction;
[0053] obtaining an invitation confirmation response triggered by the first user based on the invitation business page, and sending the invitation confirmation response to the server for the invitation processing.
[0054] Optionally, before the first request is generated according to the trigger of the first user, the method further comprises:
[0055] receiving prompt information sent by the server, the prompt information being used to invite the second user to open the two-dimensional code;
[0056] providing the prompt information to the first user, so that the first user sends the first request based on the prompt information;
[0057] wherein, when the server queries that there is a binding relationship between the first user and the second user, the prompt information is first prompt information;
[0058] when the server does not query that there is a binding relationship between the first user and the second user, the prompt information is second prompt information.
[0059] According to a third aspect of the present specification, another embodiment of the two-dimensional code opening processing method is also provided, which is implemented by a second terminal device, and the method comprises:
[0060] receiving a first request sent by a server, the first request being used for a first user to invite a second user to open a two-dimensional code with a predetermined function;
[0061] obtaining a response of the second user to the first request for opening the two-dimensional code;
[0062] sending the response to the server.
[0063] Optionally, the first request is used for the first user to invite a second user having a binding relationship with the first user to open a two-dimensional code with a predetermined function; and the first request comprises ID information of the first user and ID information of the second user.
[0064] Optionally, the method further comprises:
[0065] receiving guide information sent by the server, wherein the guide information is used to guide the second user to set a payment method based on the binding relationship as a preferred payment method of the two-dimensional code;
[0066] obtaining setting content of the second user according to the guide information;
[0067] sending the setting content to the server.
[0068] Optionally, before the first request sent by the server is received, the method further comprises:
[0069] receiving a second request sent by the server, the second request being used to invite the second user to open the permission of establishing a binding relationship with the first user;
[0070] obtaining a response of the second user opening the permission according to the second request;
[0071] sending the response of opening the permission to the server.
[0072] Optionally, the first request corresponds to a first invitation mode, and the receiving the first request sent by the server comprises:
[0073] receiving the first request sent by the server in the form of a message;
[0074] The providing the first request to the second user to make the second user respond to the first request comprises:
[0075] displaying the message content of the first request to the second user to make the second user open the two-dimensional code according to the message content.
[0076] Optionally, the first request corresponds to a second invitation mode, and the receiving the first request sent by the server comprises:
[0077] receiving the first request sent by the server in the form of a two-dimensional code picture;
[0078] The providing the first request to the second user to make the second user respond to the first request comprises:
[0079] displaying the two-dimensional code picture of the first request to the second user to make the second user open the two-dimensional code by scanning the two-dimensional code picture.
[0080] According to a fourth aspect of the present specification, an embodiment of a payment processing method based on a two-dimensional code is also provided, the payment processing method based on a two-dimensional code is implemented by a second terminal device, and the method comprises:
[0081] generating a boarding two-dimensional code in response to a first obtaining request of a second user obtaining a two-dimensional code;
[0082] generating an alighting two-dimensional code in response to a second obtaining request of the second user obtaining a two-dimensional code;
[0083] sending a pricing request to a server based on the boarding two-dimensional code and the two-dimensional code, so that the server performs payment processing on the pricing request according to a preferred deduction mode of the two-dimensional code;
[0084] obtaining a payment processing result returned by the server through the payment processing;
[0085] The method further includes: receiving a first request sent by a server, the first request being used for inviting the second user to open the two-dimensional code with the first user; obtaining a response of the second user to the first request; sending the response to the server; receiving guide information sent by the server according to the response, wherein the guide information is used for guiding the second user to set the preferred deduction mode of the two-dimensional code; and obtaining setting content of the preferred deduction mode of the second user according to the guide information, and sending the setting content to the server.
[0086] According to a fifth aspect of the present specification, an embodiment of a server is further provided, and the server comprises:
[0087] a receiving module configured to receive a first request sent by a first user, the first request being used for inviting a second user to open a two-dimensional code with a predetermined function;
[0088] a providing module configured to provide the first request to the second user, so that the second user opens the two-dimensional code according to the first request;
[0089] a response module configured to receive a response of the second user to open the two-dimensional code, and return the response to the first user.
[0090] According to a sixth aspect of the present specification, an embodiment of a first terminal device is further provided, and the first terminal device comprises:
[0091] a generating module configured to generate a first request according to a trigger of a first user, the first request being used for inviting a second user to open a two-dimensional code with a predetermined function;
[0092] a sending module configured to send the first request to a server for corresponding invitation processing, wherein the invitation processing comprises: providing the first request to the second user;
[0093] a receiving module configured to receive a response of the second user to open the two-dimensional code according to the first request returned by the server.
[0094] According to a seventh aspect of the present specification, an embodiment of a second terminal device is further provided, and the second terminal device comprises:
[0095] a receiving module configured to receive a first request sent by a server, the first request being used for inviting a second user to open a two-dimensional code with a predetermined function;
[0096] a receiving module configured to receive a response of the second user to the first request.
[0097] a sending module configured to send the response to the server.
[0098] According to an eighth aspect of the present specification, an embodiment of an electronic device is further provided, comprising the server as described in the fifth aspect of the present specification, or the electronic device comprises:
[0099] a memory configured to store executable commands;
[0100] a processor configured to execute the method as described in the first aspect of the present specification under control of the executable commands;
[0101] or comprising the first terminal device as described in the sixth aspect of the present specification, or the electronic device comprises:
[0102] a memory configured to store executable commands;
[0103] a processor configured to execute the method as described in the second aspect of the present specification under control of the executable commands;
[0104] or comprising the second terminal device as described in the seventh aspect of the present specification, or the electronic device comprises:
[0105] a memory configured to store executable commands;
[0106] a processor configured to execute the method as described in the third aspect of the present specification under control of the executable commands.
[0107] According to a ninth aspect of the present specification, an embodiment of a two-dimensional code opening processing system is further provided, comprising:
[0108] a server comprising a memory and a processor, the memory of the server is configured to store executable commands; the processor of the server is configured to execute the method as described in the first aspect of the present specification under control of the executable commands;
[0109] a first terminal device comprising a memory and a processor, the memory of the first terminal device is configured to store executable commands; the processor of the first terminal device is configured to execute the method as described in the second aspect of the present specification under control of the executable commands; and
[0110] a second terminal device comprising a memory and a processor, the memory of the second terminal device is configured to store executable commands; the processor of the second terminal device is configured to execute the method as described in the third aspect of the present specification under control of the executable commands
[0111] According to a tenth aspect of the present specification, an embodiment of a two-dimensional code payment processing system is also provided, comprising:
[0112] a server, the server comprising a memory and a processor, the memory of the server being configured to store executable commands; the processor of the server being configured to execute the method according to the first aspect of the present specification under control of the executable commands; and,
[0113] a terminal device, the terminal device comprising a memory and a processor, the memory of the terminal device being configured to store executable commands; the processor of the terminal device being configured to execute the method according to the fourth aspect of the present specification under control of the executable commands.
[0114] According to an eleventh aspect of the present specification, an embodiment of a computer readable storage medium is also provided, which stores executable instructions, the executable instructions being executed by a processor to execute the method according to any one of the first aspect to the fourth aspect of the present specification.
[0115] In one embodiment, the second user invited by the first user to open the electronic card with the two-dimensional code application function can be implemented in a simple and fast way, and the learning and education cost required by the invited second user to obtain the electronic card is reduced.
[0116] Other features of the present specification and its advantages will become apparent from the following detailed description of exemplary embodiments thereof, with reference to the drawings. BRIEF DESCRIPTION OF DRAWINGS
[0117] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present specification and, together with the description, serve to explain the principles of the present specification.
[0118] Figure 1 is an application scenario diagram of a two-dimensional code opening processing method that can be used to implement an embodiment;
[0119] Figure 2 is a hardware configuration structure diagram of a two-dimensional code-based payment processing system that can be used to implement an embodiment;
[0120] Figure 3 is a hardware configuration structure diagram of a two-dimensional code opening processing system that can be used to implement an embodiment;
[0121] Figure 4 is a flowchart of a two-dimensional code opening processing method according to the first embodiment;
[0122] Figure 5 is a flowchart of a two-dimensional code opening processing method according to the second embodiment;
[0123] Figure 6 is a flowchart of a two-dimensional code opening processing method according to a third embodiment;
[0124] Figure 7 is a prompt information diagram of a terminal device of a first user according to an embodiment;
[0125] Figure 8 is a prompt information diagram of a terminal device of a first user according to another embodiment;
[0126] Figure 9 is a diagram of a ride code invitation interface according to an embodiment;
[0127] Figure 10 is a diagram of a ride code invitation interface according to a first embodiment;
[0128] Figures 11 to 13 is a diagram of a ride code invitation interface according to a second embodiment;
[0129] Figure 14 is a flowchart of a two-dimensional code payment processing method according to an embodiment;
[0130] Figure 15 is a principle block diagram of a two-dimensional code opening processing apparatus according to a first embodiment;
[0131] Figure 16 is a principle block diagram of a two-dimensional code opening processing apparatus according to a second embodiment;
[0132] Figure 17 is a principle block diagram of a two-dimensional code opening processing apparatus according to a third embodiment;
[0133] Figure 18 is a principle block diagram of an electronic device according to an embodiment. DETAILED DESCRIPTION
[0134] Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings.
[0135] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application or its application or uses.
[0136] It should be noted that similar reference numerals and letters refer to like items in the following drawings and thus, once an item is defined in one drawing, it need not be discussed further in subsequent drawings.
[0137] Figure 1An application scenario of the two-dimensional code opening processing method of one embodiment of the present disclosure is shown in the figure, in which the two-dimensional code with a predetermined function is a ride code with a ride function. It should be noted that the present disclosure is not limited to the specific embodiment of the application scenario, and the opening processing of other two-dimensional codes with predetermined functions also falls within the protection scope of the present disclosure. Figure 1 An application scenario of a user making a two-dimensional ride code payment through a terminal device 1200 is shown. Many cities' public transportation systems have supported taking public transportation by scanning a two-dimensional ride code on a mobile terminal device APP (application program), making people's travel more convenient. However, for the low-age and high-age population, the use of mobile intelligent applications brings them certain inconvenience.
[0138] In this embodiment, the user of the ride code payment is an invited ride code user (hereinafter referred to as a second user), who has first received an invitation from a user (hereinafter referred to as a first user) inviting him / her to open a ride code, and has successfully opened a ride code. The first user can establish a binding relationship with the second user in a predetermined APP of the terminal device when inviting the second user to open the ride code, such as a family relationship, which can be based on a family relationship, and the second user can be the parent or child of the first user, or a sibling or other binding relationship. The binding relationship can also be established during the invitation process. In one embodiment, the established binding relationship can have the function of providing payment for family members, such as the "family number" mini-program in the Alipay APP. The first user can open a payment method based on the family binding relationship when establishing the family binding relationship, such as opening and setting the close payment channel of the "family number" for the payment limit. That is, other family members who establish a family binding relationship with the first user can be helped by the first user to make payments when consuming. Of course, the payment method of the family binding relationship can also be set to pay for the first user by other family members.
[0139] In this case, the second user can further set the preferred deduction method of the ride code based on the close payment method provided by the above-mentioned family binding relationship when setting the payment method of the ride code. In this way, when the second user takes the transportation and swipes the ride code to generate the billing, the first user who establishes a family binding relationship with the second user can help pay for the second user, realizing the mode of the second user taking the ride and the first user paying. In one embodiment, the second user can also set other payment methods to make the ride code billing after the first user invites him / her to open the ride code, such as setting the UnionPay payment, Alipay wallet payment, etc.
[0140] That is, the ride code opening processing method of the embodiments of the present specification can be that the first user only invites the second user with a binding relationship to open the ride code, and the payment of the ride code can be paid by the second user's own payment method. In another embodiment, the ride code opening processing method can be that the first user invites the second user with a binding relationship to open the ride code, and the system can also invite the second user to set the intimate payment as the preferred deduction method of the ride code based on the payment method of the first user opening based on the binding relationship, such as intimate payment.
[0141] In this application scenario, the terminal device 1200 enters the ride code obtaining interface as shown in Figure 1 in response to the obtaining request of the second user based on the obtained ride code. The interface can provide a button triggering the instruction to generate the ride code, for example, after the second user clicks the button, the terminal device 1200 generates the ride code in response to the instruction. The ride code generated by the second user can be a boarding ride code or an alighting ride code, which is determined according to the different ride stages of the second user. For the application scenario of ride code payment processing, the ride code is an alighting ride code. The terminal device 1200 sends a pricing instruction or request to the server 1100 based on a set of boarding ride codes and alighting ride codes corresponding to the ride of the second user, so that the server 1100 performs payment processing on the pricing request according to the preferred deduction method of the ride code. The payment processing of the server 1100 receiving the pricing request of the terminal device 1200 includes determining the fee generated by the second user in this ride and the preferred deduction method of the ride code set by the second user when opening the ride code, and returning to the terminal device 1200. The terminal device 1200 performs payment according to the preferred deduction method of the ride code returned by the server 1100, and gives a prompt such as "payment success" after successful payment.
[0142] In one embodiment, the ride code opening processing of the second user can be implemented by Figure 3 the two-dimensional code opening processing system 2000 as shown in Figure 3 The two-dimensional code opening processing system 2000 includes a first terminal device 2400, a second terminal device 2200, and a server 1100. The first terminal device 2400 corresponds to the first user, and the second terminal device 2200 corresponds to the second user. In one embodiment, the second terminal device 2200 can be Figure 1 、 2 the terminal device 1200 of the embodiment.
[0143] Specifically, the first terminal device 2400 generates a first request according to the trigger of the first user, the first request being used to invite the second user of the second terminal device 2200 to open a two-dimensional ride code with a ride function. The first terminal device 2400 sends the first request to the server 1100, the first request including ID information of the first user and ID information of the second user. The server 1100 queries whether there is a binding relationship between the first user and the second user based on the ID information of the first user and the ID information of the second user in the received first request. If it is found that there is a binding relationship between the first user and the second user, the server 1100 sends the first request to the second terminal device 2200. After receiving the request from the server 1100, the second terminal device 2200 provides the first request to the second user, so that the second user responds to the first request, thereby the second user opens the ride code according to the first request or temporarily does not open the ride code. After the second user agrees and successfully opens the ride code, the second terminal device 2200 returns a response to the server 1100. After receiving the response of the second user opening the ride code returned by the second terminal device 2200, the server 1100 sends it to the first terminal device 2400 to inform the first user of the ride code invitation opening result.
[0144] Further, after receiving the response of the second user successfully opening the ride code returned by the second terminal device 2200, the server 1100 can also send guide information to the second terminal device 2200, the guide information being used to guide the second user to set a payment method based on the binding relationship as a preferred deduction method of the ride code, and obtain and save the setting content of the preferred deduction method made by the second terminal device 2200 according to the guide message.
[0145] In this way, the ride code opening processing system 2000 can realize the ride code opening processing of the second user. When the second user uses the opened ride code to take a ride later, the ride code payment processing system 1000 can realize the ride code payment processing of the second user.
[0146] In this application scenario, the second user can take a ride, and the first user can deduct money, which not only facilitates the second user to open the ride code, but also solves the problem of high threshold and high learning cost caused by the second user binding a bank card to make payment by himself through opening the intimate payment based on the kinship binding relationship.
[0147] Through the binding relationship, the child helps the aged parent or the parent helps the young child to obtain the ride code and open the intimate payment, which realizes the innovative mode of the invited party to quickly obtain and use the electronic transportation card and ride, and the inviter to pay.
[0148] Similarly, based on the above two-dimensional code opening processing method, the embodiment of the disclosure can also realize that the first user helps the second user to take other two-dimensional code electronic cards with predetermined purposes, and the first user makes payment for the electronic card taken by the second user based on the binding relationship.
[0149] <Hardware device>
[0150] Figure 2 is a hardware configuration structure diagram of a two-dimensional code-based payment processing system that can be used to implement an embodiment.
[0151] As shown in Figure 2 , the two-dimensional code payment processing system 1000 of the embodiment can include a server 1100, a terminal device 1200, and a network 1300.
[0152] The server 1100 may, for example, be a blade server, a rack server, etc., and the server 1100 may, for example, also be a server cluster deployed in the cloud, without limitation.
[0153] As shown in Figure 2 , the server 1100 can include a processor 1110, a memory 1120, an interface device 1130, a communication device 1140, a display device 1150, and an input device 1160. The processor 1110 is configured to execute program instructions, which can adopt an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The memory 1120 may, for example, include a ROM (Read-Only Memory), a RAM (Random Access Memory), a non-volatile memory such as a hard disk, etc. The interface device 1130 may, for example, include a USB interface, a serial interface, etc. The communication device 1140 may, for example, be capable of wired or wireless communication. The display device 1150 may, for example, be a liquid crystal display screen. The input device 1160 may, for example, include a touch screen, a keyboard, etc.
[0154] In the embodiment, the memory 1120 of the server 1100 is configured to store instructions for controlling the processor 1110 to operate to implement or support implementation of a two-dimensional code opening processing method according to at least part of the embodiments of the disclosure. A skilled person can design the instructions according to the disclosed solutions in the specification. How the instructions control the processor to operate is known in the art, and therefore will not be described in detail herein.
[0155] Those skilled in the art will understand that although a plurality of devices of the server 1100 are shown in Figure 2 , the server 1100 of the embodiment of the disclosure may, for example, only involve part of the devices, such as the processor 1110, the memory 1120, and the communication device 1140, etc.
[0156] As shown in Figure 2As shown, the terminal device 1200 can include a processor 1210, a memory 1220, an interface device 1230, a communication device 1240, a display device 1250, an image acquisition device 1260, an audio output device 1270, an audio pickup device 1280, etc. The processor 1210 can be a central processing unit CPU, a microprocessor MCU, etc. The memory 1220 includes, for example, a ROM (Read-Only Memory), a RAM (Random-Access Memory), a nonvolatile memory such as a hard disk, etc. The interface device 1230 includes, for example, a USB interface, a headphone interface, etc. The communication device 1240 can perform wired or wireless communication, for example. The display device 1250 is, for example, a liquid crystal display screen, a touch display screen, etc. The image acquisition device 1260 can include, for example, a camera, etc., and acquire an RGB image of a user. The terminal device 1200 can output audio information through the audio output device 1270, which includes, for example, a loudspeaker. The terminal device 1200 can acquire voice information input by a user through the audio pickup device 1280, which includes, for example, a microphone.
[0157] The terminal device 1200 can further include an information input device such as a keyboard, a touch screen, etc., which is not limited herein.
[0158] The terminal device 1200 can be a smart phone, a portable computer, a desktop computer, a tablet computer, etc.
[0159] In this embodiment, the memory 1220 of the terminal device 1200 is configured to store instructions for controlling the processor 1210 to perform operations to implement or support implementation of the two-dimensional code opening processing method according to at least part of the embodiments of the present specification. A skilled person can design the instructions according to the solutions disclosed in the present specification. How the instructions control the processor to perform operations is known in the art, and thus will not be described in detail herein.
[0160] Those skilled in the art will understand that, although a plurality of devices of the terminal device 1200 are shown in Figure 2 the present specification, the terminal device 1200 of the embodiments of the present specification can only involve part of the devices, for example, only the processor 1210, the memory 1220, the image acquisition device 1260, etc.
[0161] The communication network 1300 can be a wireless network or a wired network, and can be a local area network or a wide area network. The terminal device 1200 can communicate with the server 1100 through the communication network 1300.
[0162] Figure 2 The payment processing system 1000 of the two-dimensional code shown is merely illustrative, and is by no means intended to limit the present specification, its application or use. For example, although Figure 2Only one server 1100 and one terminal device 1200 are shown, but this does not mean that the number of each is limited. The QR code payment processing system 1000 may contain multiple servers 1100 and / or multiple terminal devices 1200.
[0163] Figure 3 This is a hardware configuration structure diagram of a QR code activation processing system that can be used to implement one embodiment, such as... Figure 3 As shown, the QR code activation processing system 2000 of this embodiment may include a server 1100, a network 1300, a second terminal device 2200, and a first terminal device 2400. Figure 3 The hardware configuration structure of server 1100 and network 1300 can be referenced. Figure 2 This will not be elaborated upon here.
[0164] In one embodiment, the second terminal device 2200 may be Figure 2 1200 terminal devices.
[0165] Similarly, as Figure 3 As shown, the second terminal device 2200 may include a processor 2210, a memory 2220, an interface device 2230, a communication device 2240, a display device 2250, an image acquisition device 2260, an audio output device 2270, an audio pickup device 2280, etc. The processor 2210 may be a central processing unit (CPU), a microprocessor (MCU), etc. The memory 2220 may include, for example, ROM (Read-Only Memory), RAM (Random Access Memory), or non-volatile memory such as a hard disk. The interface device 2230 may include, for example, a USB interface, a headphone jack, etc. The communication device 2240 may be capable of wired or wireless communication. The display device 2250 may be, for example, an LCD screen, a touch screen, etc. The image acquisition device 2260 may include, for example, a camera, for capturing RGB images. The second terminal device 2200 may output audio information through the audio output device 2270, which may include, for example, a speaker. The second terminal device 2200 can pick up the user's voice input through an audio pickup device 2280, which includes, for example, a microphone.
[0166] The second terminal device 2200 may also include information input devices such as a keyboard and a touch screen, which are not limited here.
[0167] The second terminal device 2200 can be a smartphone, laptop, desktop computer, tablet computer, or other similar device.
[0168] In this embodiment, the memory 2220 of the second terminal device 2200 is configured to store instructions for controlling the processor 2210 to perform operations to implement or support implementation of the two-dimensional code opening processing method according to at least some embodiments of the present specification. A skilled person can design the instructions according to the solutions disclosed in the present specification. How the instructions control the processor to perform operations is known in the art, and thus will not be described in detail here.
[0169] As shown in Figure 3 The first terminal device 2400 can include a processor 2410, a memory 2420, an interface device 2430, a communication device 2440, a display device 2450, an image acquisition device 2460, an audio output device 2470, an audio pickup device 2480, and the like. The processor 2410 can be a central processing unit (CPU), a micro control unit (MCU), or the like. The memory 2420 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 2430 includes, for example, a USB interface, a headphone interface, and the like. The communication device 2440 can perform wired or wireless communication, for example. The display device 2450 is, for example, a liquid crystal display screen, a touch display screen, or the like. The image acquisition device 2460 can include, for example, a camera, and the like, and can acquire an RGB image from a user. The first terminal device 2400 can output audio information through the audio output device 2470, which includes, for example, a speaker. The first terminal device 2400 can acquire voice information input by a user through the audio pickup device 2480, which includes, for example, a microphone.
[0170] The first terminal device 2400 can further include an information input device such as a keyboard, a touch screen, and the like, which is not limited herein.
[0171] The first terminal device 2400 can be a smart phone, a portable computer, a desktop computer, a tablet computer, or the like.
[0172] In this embodiment, the memory 2420 of the first terminal device 2400 is configured to store instructions for controlling the processor 2410 to perform operations to implement or support implementation of the two-dimensional code opening processing method according to at least some embodiments of the present specification. A skilled person can design the instructions according to the solutions disclosed in the present specification. How the instructions control the processor to perform operations is known in the art, and thus will not be described in detail here.
[0173] Those skilled in the art will understand that, although the Figure 3The second terminal device 2200 and the first terminal device 2400 are shown in FIG. 22, but the second terminal device 2200 and the first terminal device 2400 of the embodiments of the present disclosure can only involve part of the devices, for example, only involve the processor 2210 / 2410, the memory 2220 / 2420, the image acquisition device 2260 / 2460, and the like.
[0174] Embodiment 1
[0175] The embodiment provides a two-dimensional code opening processing method, which can be implemented by the server 1100 in Figure 2 、 3
[0176] Figure 4 is a flowchart of the two-dimensional code opening processing method according to the first embodiment.
[0177] As shown in Figure 4 , the two-dimensional code opening processing method of the embodiment can include the following steps:
[0178] Step 102, receiving a first request sent by a first user, the first request being used to invite a second user to open a two-dimensional code having a predetermined function.
[0179] Here, the first user is the inviting party, and the second user is the invited party. For example, as described above, the first user and the second user can be family members, such as parents or children, or siblings, etc. The first user can have established a binding relationship with the second user in a predetermined APP of a terminal device, such as a "family number" of the Alipay APP, when inviting the second user to open the two-dimensional code, or can not have established a binding relationship when inviting.
[0180] In one embodiment, the first request includes ID information of the first user and ID information of the second user, so as to query whether the first user and the second user have a binding relationship based on the ID information of the first user and the ID information of the second user in the first request.
[0181] In one embodiment, the first request is sent in different forms according to whether the first user and the second user have a binding relationship.
[0182] Specifically, before receiving the first request sent by the first user, the method further comprises: querying the binding relationship of the first user, providing prompt information of the invitation of the two-dimensional code to the first user, so that the first user sends the first request based on the prompt information. The prompt information can be an announcement bar or prompt text information appearing on the two-dimensional code display interface when the first user operates the two-dimensional code with a predetermined function of the terminal device (for example, takes a ride with a ride two-dimensional code or pays with a payment two-dimensional code). The prompt information can be actively pushed to the first user by the server.
[0183] When a user with a binding relationship with the first user is queried, the prompt information is the first prompt information, for example, the prompt information content prompts the first user to invite the corresponding user with a binding relationship to open the two-dimensional code with the predetermined function. The invited user can be one or more, as long as the invited user has a binding relationship with the first user.
[0184] When a user with a binding relationship with the first user is not queried, the prompt information is the second prompt information, for example, the prompt information content prompts the first user to invite the corresponding family to open the two-dimensional code. The invited family can be parents and children, etc. Here, the invited user can be one or more.
[0185] After the first user receives the prompt information, the first request can be sent to the server by triggering or clicking the prompt information displayed on the terminal device.
[0186] For the case where the invited second user has a binding relationship with the first user, the first request contains the ID information of the invited second user, i.e. the binding relationship account of the second user, which has been created when the binding relationship is established. For example, for the "family number" of Alipay, the binding relationship account of the second user is the Alipay account that has established a family binding relationship with the first user. The first user clicks the announcement bar of the prompt information, and directly sends the first request containing the family binding relationship account of the second user to the server. The first request also includes the ID information of the first user, such as the Alipay account of the first user.
[0187] For the case that the invited second user does not have a binding relationship with the first user, if the second user has an Alipay account, the first request contains the ID information of the second user as the Alipay account of the second user; if the second user does not have an Alipay account, the ID information of the second user contained in the first request is the mobile phone number of the second user. The first user enters the information filling interface of the second user by clicking the announcement bar of the prompt information, and manually fills in the Alipay account or mobile phone number of the second user for invitation, so as to send the first request containing the Alipay account or mobile phone number of the second user to the server.
[0188] Step 104, providing the first request to the second user, so that the second user opens the two-dimensional code according to the first request.
[0189] Step 106, receiving the response of the second user opening the two-dimensional code, and returning the response to the first user.
[0190] In one embodiment, as described in step 102, the first request can be an invitation sent by the first user based on the prompt information of the existing binding relationship.
[0191] At this time, in step 104, after receiving the first request, first query is made based on the information of the second user contained in the first request. For example, for the first request with a binding relationship, the Alipay account of the second user contained in the first request is queried to determine whether the second user has a kinship binding relationship with the first user, and the type of the kinship binding relationship, such as parent-child, parent-daughter or husband-wife relationship, etc. Then, in step 104, in the case that the kinship binding relationship is determined to exist, the first request is sent to the second user according to the Alipay account of the second user, and here the first request can be sent in the form of a message, such as an Alipay message, including a service reminder or a notification bar message. The second user opens the two-dimensional code according to the message content of the first request. The second user can also refuse the invitation, or ignore the invitation without any operation.
[0192] In one embodiment, after receiving the first request, the method further comprises: displaying an invitation business page to the first user, so that the first user confirms the invitation response based on the displayed invitation business page; then, in the case that the invitation confirmation response sent by the first user is received, querying whether the first user and the second user have a binding relationship based on the ID information of the first user and the ID information of the second user in the first request.
[0193] Specifically, an instruction of displaying the invitation service page can be sent to the terminal device corresponding to the first user, so that the terminal device displays the invitation service page to the first user. The display content of the invitation service page can include the information of the two-dimensional code, the information of the benefits of opening the two-dimensional code, and the agreement of inviting to open the two-dimensional code. In step 106, the response of the second user to open the two-dimensional code is sent to the first user.
[0194] In one embodiment, the binding relationship established by the first user and the second user can have the function of providing payment for family members or members of the family. When the first user establishes the family binding relationship, the first user can open the payment method based on the family binding relationship for the family members, and set the payment amount of the close payment channel. When the first user sends the first request to invite the second user to open the two-dimensional code, the first user can further modify the close payment amount of the second user set when the family binding relationship is established.
[0195] In one embodiment, after receiving the response of the second user successfully opening the two-dimensional code, the two-dimensional code opening processing method of the embodiment further includes: sending guide information to the second user, wherein the guide information is used to guide the second user to set the payment method based on the binding relationship as the preferred payment method of the two-dimensional code; and obtaining and saving the setting content of the preferred payment method of the second user according to the guide message.
[0196] Therefore, when the second user pays the cost of the application purpose electronic card generated by the two-dimensional code, the first user can help the second user to pay the electronic card by setting the close payment method corresponding to the family binding relationship as the preferred payment channel.
[0197] In this case, the mode of the first user paying for the second user to use the electronic card corresponding to the function two-dimensional code is realized. For example, the second user takes a car, and the first user pays.
[0198] Of course, in one embodiment, the second user can also not set the close payment method corresponding to the family binding relationship as the preferred payment channel after the first user invites the second user to open the two-dimensional code, so that the second user's bank card or cloud flash payment, Alipay wallet and other payment channels are used to pay the corresponding cost.
[0199] In one embodiment, as described in step 102, the first request can be an invitation based on the prompt information of the non-binding relationship. For example, for the first request without a binding relationship, the received ID information of the first request includes the ID information of the first user and the ID information of the second user input by the first user, such as the Alipay account or the mobile phone number of the second user.
[0200] If the second user information included in the first request is used to query the binding relationship between the first user and the second user, it is determined that the second user does not have a binding relationship with the first user. The non-existent relationship includes two cases. The first case is that the second user has the right to establish a binding relationship with the first user, but the second user and the first user only establish a binding relationship without a family member. For example, the first and second users both have Alipay accounts, but the two Alipay accounts do not establish a family relationship to establish a family relationship, for example, they are not in the same family number. The second case is that the second user does not have the right to establish a binding relationship with the first user. For example, the first user has an Alipay account, and the second user has not opened an Alipay account, so the second user does not have the right to establish a family relationship with the first user. Only under the premise of first opening an Alipay account, can the second user establish a family relationship with the first user.
[0201] For the first case, the second user does not have a binding relationship with the first user, which means that the second user does not have the right to open the two-dimensional code. In this embodiment, the second user who opens the two-dimensional code needs to establish a binding relationship with the first user. If there is no relationship, the second user does not have the right to be invited to open the two-dimensional code. Therefore, in the case where it is determined that the second user does not have the right to open the two-dimensional code, a request for establishing a binding relationship with the second user is sent to the first user.
[0202] The following will be described respectively for the two cases.
[0203] In the first case, the two-dimensional code opening processing method of the embodiment further includes: first sending a request to the first user to establish a binding relationship with the second user to trigger the first user to initiate an invitation to the second user to establish a binding relationship with the second user. Then, according to the response of the first user agreeing to the request, the binding relationship between the second user and the first user is bound, the payment method based on the binding relationship (for example, the close payment of the family number) is opened, and the second user can use the payment method based on the binding relationship of the first user, for example, the payment amount of the close payment fund channel.
[0204] In the second case, before the payment method based on the relationship between the first user and the second user is established and set according to the response of the first user, the two-dimensional code opening processing method of the embodiment further includes: first determining whether the second user has the permission to establish the relationship with the first user based on the ID information of the first user and the ID information of the second user in the first request. As described above, in the case of querying the non-existing relationship of the second user, the first request can include the Alipay account or the mobile phone number of the second user filled in by the first user. For the first request of the Alipay account, it is determined whether the Alipay account exists, and if it exists, the second user has the above-mentioned permission; for the first request of the mobile phone number, it is determined whether the mobile phone number has a corresponding Alipay account, and if there is no corresponding Alipay account, the second user does not have the permission. Otherwise, the second user has the above-mentioned permission.
[0205] In the case of determining that the second user does not have the permission to establish the binding relationship with the first user, a second request is actively sent to the second user, and the second request is used to invite the second user to open the permission, so that the second user has the permission to establish the binding relationship with the first user after successfully opening the Alipay account.
[0206] For the second case, the second request for inviting the second user to open the permission can be in the form of a message. For example, in the case of the second user not having an Alipay account, a real-name short message of the first user is sent to the second user to invite the second user to open the Alipay account.
[0207] In an embodiment, the first request sent by the first user to the second user can have two invitation modes, including face-to-face invitation and remote invitation, the face-to-face invitation indicating that the second user is near the first user, and the remote invitation indicating that the second user is not near the first user. In the case of the first request corresponding to the remote invitation mode, the first request is sent to the second user in the form of a message, so that the second user opens the two-dimensional code according to the content of the message. The message is, for example, the Alipay message described above. In the case of the first request corresponding to the face-to-face invitation mode, the first request is displayed to the second user in the form of a two-dimensional code picture, so that the second user opens the two-dimensional code with the predetermined function by scanning the two-dimensional code picture.
[0208] Reference will be made to the following Figure 5 , Figure 5 is a flowchart of a two-dimensional code opening processing method according to a second embodiment, which can be implemented by the first terminal device 2400 in Figure 3 .
[0209] Figure 5 is a flowchart of a two-dimensional code opening processing method according to a second embodiment. As shown in Figure 5 , the two-dimensional code opening processing method of the embodiment can include the following steps:
[0210] Step 202, generating a first request according to the trigger of the first user, the first request being used to invite the second user to open the two-dimensional code with a predetermined function;
[0211] Step 204, sending the first request to the server for corresponding invitation processing, wherein the invitation processing comprises: providing the first request to the second user;
[0212] Step 206, receiving the response returned by the server, the response being the response of the second user to the first request for opening the two-dimensional code.
[0213] In one embodiment, the first request comprises ID information of the first user and ID information of the second user; the invitation processing further comprises: based on the ID information of the first user and the ID information of the second user in the first request, if the first user and the second user have a binding relationship, providing the first request to the second user.
[0214] In one embodiment, in the case that the first user and the second user do not have a binding relationship, the two-dimensional code opening processing method further comprises:
[0215] receiving a request sent by the server for establishing a binding relationship between the first user and the second user; obtaining a response of the first user to the request; sending the response of the first user to the request to the server, so that the server establishes the binding relationship between the first user and the second user according to the response, and sets a payment method based on the binding relationship.
[0216] In one embodiment, the method further comprises: receiving an instruction sent by the server for displaying an invitation business page after receiving the first request; displaying the invitation business page to the first user according to the instruction; obtaining an invitation confirmation response triggered by the first user based on the invitation business page, and sending the invitation confirmation response to the server for the invitation processing.
[0217] In one embodiment, before generating the first request according to the trigger of the first user, the method further comprises: receiving prompt information sent by the server for inviting the second user to open the two-dimensional code; providing the prompt information to the first user, so that the first user sends the first request based on the prompt information; wherein, when the server queries a second user having a binding relationship with the first user, the prompt information is first prompt information; when the server does not query a second user having a binding relationship with the first user, the prompt information is second prompt information.
[0218] Now referring to Figure 6 , Figure 6 is a flowchart of a two-dimensional code opening processing method according to a third embodiment, which can be performed by a server. Figure 2the terminal device 1200 in Figure 3 the second terminal device 2200 in
[0219] Figure 6 is a flowchart of a two-dimensional code opening processing method according to a third embodiment. As shown in Figure 6 the two-dimensional code opening processing method of the present embodiment can include the following steps:
[0220] Step 302, receiving a first request sent by a server, the first request being used for a first user to invite a second user to open a two-dimensional code with a predetermined function;
[0221] Step 304, obtaining a response of the second user to the first request for opening the two-dimensional code;
[0222] Step 306, sending the response to the server.
[0223] In one embodiment, the first request is used for the first user to invite the second user having a binding relationship with the first user to open the two-dimensional code with the predetermined function; the first request includes ID information of the first user and ID information of the second user.
[0224] In one embodiment, the two-dimensional code opening processing method of the present embodiment further includes: receiving guide information sent by a server, wherein the guide information is used to guide the second user to set a payment method based on the binding relationship as a preferred payment method of the two-dimensional code; obtaining setting content of the preferred payment method made by the second user according to the guide information; and sending the setting content to the server.
[0225] In one embodiment, before receiving the first request sent by the server, the method further includes: receiving a second request sent by the server, the second request being used to invite the second user to open a permission of establishing a binding relationship with the first user; obtaining a response of the second user to open the permission according to the second request; and sending the response of opening the permission to the server.
[0226] In one embodiment, the first request corresponds to a first invitation mode, and receiving the first request sent by the server includes: receiving the first request sent by the server in the form of a message; wherein providing the first request to the second user to make the second user respond to the first request includes: displaying message content of the first request to the second user to make the second user open the two-dimensional code according to the message content.
[0227] In one embodiment, the first request corresponds to the second invitation mode, and the receiving server sending the first request comprises: receiving the first request sent by the server in the form of a two-dimensional code picture; and the providing the first request to the second user so that the second user responds to the first request comprises: displaying the two-dimensional code picture of the first request to the second user so that the second user opens the two-dimensional code by scanning the two-dimensional code picture.
[0228] <Example>
[0229] Now, the two-dimensional code opening processing method of the embodiments of the present specification will be described by way of example in combination with Figures 7 to 13 In this example, the opening of a two-dimensional ride code with a ride function is taken as an example.
[0230] <Opening invitation prompt>
[0231] The binding relationship of the first user of the invitation party is queried, and prompt information of the ride code opening invitation is provided to the first user according to the queried binding relationship. The prompt information is, for example Figure 7 , 8 as shown in the announcement bar or prompt text information appearing in the ride code (two-dimensional code) display interface of the terminal device of the first user. The prompt information can be actively pushed to the first user by the server.
[0232] When a user with a binding relationship with the first user is queried, as shown in Figure 7 , Figure 7 is a schematic diagram of the invitation prompt information of the terminal device of the first user of one embodiment of the present specification. The prompt information is, for example, "Free old public transportation card, invite Dad Li** immediately! ". Here, "Dad Li**" in the prompt information is the second user with a kinship binding relationship with the first user, so as to prompt the first user to invite "Dad Li**" to open the ride code.
[0233] When a user with a binding relationship with the first user is not queried, as shown in Figure 8 , Figure 8 is a schematic diagram of the invitation prompt information of the terminal device of the first user of another embodiment of the present specification. The prompt information is, for example, "Ride for free with Putian old age card, invite parents to get it quickly! ". Here, the prompt information is the content of inviting the first user to the corresponding family members. The invited family members can also be children, etc.
[0234] <Ride code opening invitation>
[0235] After the first user receives the prompt information, the first user can send the first request to the server by triggering the prompt information displayed on the terminal device.
[0236] After the first user triggers the prompt information of the terminal device interface, the terminal device of the first user can first enterFigure 9 The interface Figure 9 This is a schematic diagram of a ride code invitation interface according to one embodiment of this specification.
[0237] exist Figure 9 The interface will display two invitation modes for the first user to choose from, such as... Figure 9 The invitation includes both remote and in-person invitation modes.
[0238] First user trigger Figure 9 When the interface displays the face-to-face invitation mode, the first user's terminal device will show... Figure 10 The interface shown is Figure 10 This is a schematic diagram of the ride code invitation interface according to the first embodiment of this specification. Figure 10 The displayed interface shows an invitation QR code image, which is the first request shown to the second user in the form of a QR code, inviting the second user to activate the transit code by scanning the QR code. The second user can scan the QR code using an application on their terminal device, such as the Alipay app. If the second user has already established a binding relationship with the first user, the second user can directly activate the transit code by scanning the invitation QR code. If the second user has not established a binding relationship with the first user, the first user will be prompted to bind the second user with a family relationship, such as through the "Family Account" feature in the Alipay app. If the second user has not established a binding relationship with the first user and does not have the permission to do so, an invitation to grant the second user permission to establish a binding relationship can be sent.
[0239] For a second user who is linked to the first user, the first user can, while sending an invitation to the second user to activate the ride code, or after receiving a response from the second user confirming successful activation, select on this interface to activate a payment method based on the linked relationship for the second user. This could include a "Family Card" payment option for a family-linked relationship. This allows the second user to successfully register for the ride code based on the first user's invitation and set the family-linked payment method as the preferred payment method. Alternatively, the first user can choose "Not Needed Yet," only inviting the second user to activate the ride code, but not providing them with a payment channel based on the family-linked payment method when taking the ride; the second user will then pay using their own ride code.
[0240] First user trigger Figure 9 When the interface displays the remote invitation mode, the first user's terminal device will show... Figure 11 The interface shown is Figures 11 to 13 This is a schematic diagram of the ride code invitation interface according to the second embodiment of this specification. Figure 11In the displayed interface, the information input box of the second user is displayed, and the first user manually fills in the information of the second user to be invited. In an embodiment, the filled-in second user information can be an Alipay account number or a mobile phone number. Then the "initiate invitation" button of the interface, at this time, two different situations can be triggered, as shown in Figure 12 and 13 .
[0241] The server determines that the second user does not have the permission to establish a binding relationship with the first user according to the trigger information of the first user, that is, the filled-in Alipay account number does not exist; or the filled-in mobile phone number does not have a corresponding Alipay account number.
[0242] At this time, in the interface shown in Figure 12 , for example, the mobile phone is displayed without a corresponding Alipay account number, and the server will actively send a request to the second user to invite the second user to open the permission. For example, in the case where the second user does not have an Alipay account number, a real-name short message of the first user is sent to the second user to invite the second user to open an Alipay account number, and a prompt information of the invitation is displayed in the interface of Figure 12 .
[0243] In addition, in the interface of Figure 12 , the first user can also be provided with a prompt information of Alipay account opening tutorial sharing, so that the first user triggers the prompt information to share the steps of opening the permission in the form of a video to the second user, thereby reducing the difficulty of the second user opening the corresponding permission.
[0244] In an embodiment, after the second user successfully opens the permission to establish a binding relationship with the first user, the first user can establish a binding relationship with the second user.
[0245] Now referring to Figure 13 , the figure shows that after the second user has the permission to establish a binding relationship with the first user, the server actively sends the first request of the first user in the form of Alipay information, so that the second user can receive Alipay service reminders and notification bar messages.
[0246] In an embodiment, after the second user has the permission to establish a binding relationship with the first user, the first user's invitation of the ride code to the second user can be based on the establishment of a binding relationship between the first user and the second user, or can be based on the premise that the first user and the second user do not establish a binding relationship.
[0247] If the first user wants to invite the second user to open the ride code, and the ride cost of the second user is paid by the first user, the binding relationship between the first user and the second user can be established, and the first user opens the payment method based on the binding relationship (for example, the close payment of the "family number"), and sets the second user to use the close payment fund channel of the first user.
[0248] After the first user opens the close payment for the second user, the second user can set the close payment as the preferred deduction, that is, the second user sets the preferred deduction method of the ride code based on the payment method of the close relationship.
[0249] Therefore, the mode of the second user riding and the first user paying is realized. Not only is it convenient for the second user to open the ride code to receive the electronic traffic card, but also the high threshold and high learning cost problems caused by the second user binding the bank card to pay by himself are solved.
[0250] When the existing low-age / high-age population needs to receive and use the ride code product, they need to register and open the real name to have the right to receive the ride code. Under the premise of opening the corresponding ride APP, such as the Alipay APP, binding the bank card and starting and setting the payment method, the ride code product is found to receive the electronic traffic card. The payment needs to be made through the fund channel (Hua Bei, bank card, balance, balance treasure, etc.) under the personal account. Therefore, there are at least one of the following disadvantages: 1. High user learning and education cost; 2. High threshold of binding bank card; 3. Does not support the payment mode.
[0251] By using the two-dimensional code opening processing method of the embodiment of the present specification, when the low-age / high-age population needs to receive and use the ride code product, the child (inviter) can help the elderly parent (invitee) to open the ride code to receive the electronic traffic card, or the parent (inviter) can help the young child (invitee) to open the ride code to receive the electronic traffic card, solving the problem of high learning and education cost of the elderly parents and young children receiving the ride card.
[0252] In addition, by using the two-dimensional code opening processing method of the embodiment of the present specification, the preferred deduction mode of the invited ride code is set based on the binding relationship between the inviting party and the invited party, for example, the payment fund channel of the binding relationship is set to make ride pricing payment, thereby solving the problem that the elderly parents (the invited party) or the young children (the invited party) need to bind a bank card with high threshold. The mode of the invited party riding and the inviting party paying is realized. In addition to the above-mentioned two-dimensional ride code opening processing, the two-dimensional code opening processing method of the embodiment of the present disclosure can be applied to the opening of other two-dimensional codes with predetermined functions, and also has the above-mentioned problems of high cost of learning and education for the elderly parents (the invited party) or the young children (the invited party) to receive electronic cards, and high threshold of needing to bind a bank card. The mode of the inviting party helping the invited party to open the two-dimensional code of the function to receive the electronic card, and the invited party using the electronic card is realized.
[0253] In one embodiment of the present specification, the owner organization side can also be broken through, and the invited party does not need to sign up for the card by itself, and the inviting party can directly sign up for the card on behalf of the invited party and the payment fund channel based on the binding relationship. After the inviting party signs up for the card on behalf of the invited party, the invited party can directly log in to open the corresponding two-dimensional code APP, such as the ride code brush code in the wallet of the Alipay APP. In this way, the two-dimensional code opening and use of the invited party can be further facilitated.
[0254] <Method embodiment two>
[0255] The embodiment provides a two-dimensional code-based payment processing method, which is implemented by a second terminal device, for example, implemented by a terminal device 1200 in Figure 2 or a second terminal device 2200 in Figure 3 .
[0256] Figure 14 The flowchart of the two-dimensional code-based payment processing method of this embodiment is shown, as shown in Figure 14 , the two-dimensional code of this embodiment is, for example, a two-dimensional ride code with ride function, and the two-dimensional code-based payment processing method can include the following steps:
[0257] Step 402, in response to the first acquisition request of the second user acquiring the two-dimensional code, generating the boarding two-dimensional code.
[0258] Step 404, in response to the second acquisition request of the second user acquiring the two-dimensional code, generating the alighting two-dimensional code.
[0259] The acquisition operation can be a click operation or a touch operation on the two-dimensional ride code in the application of the first terminal device, and the second user will acquire the ride code information corresponding to the boarding and alighting position when using the ride code as an electronic transportation card to board and alight.
[0260] At step 406, the server is sent a pricing request based on the boarding two-dimensional code and the alighting code, so that the server performs payment processing on the pricing request according to the preferred deduction method of the two-dimensional code.
[0261] Here, the server can be the server 1100 shown in Figure 2 、 3 According to the boarding two-dimensional code and the alighting code, the server can obtain the boarding time and location information of the second user, and determine the corresponding boarding pricing fee according to the corresponding information.
[0262] At step 408, the payment processing result returned by the server is obtained.
[0263] The preferred deduction method processing of the two-dimensional code is implemented by the second user according to the invitation of the first user on the second terminal device. In an embodiment, the setting of the preferred deduction method of the two-dimensional code includes: receiving a first request sent by the server, the first request being used for the first user to invite the second user to open the two-dimensional code; obtaining a response of the second user to the first request; sending the response to the server; receiving guide information sent by the server according to the response, wherein the guide information is used to guide the second user to set the preferred deduction method of the two-dimensional code; obtaining the setting content of the preferred deduction method made by the second user according to the guide information, and sending the setting content to the server. In an embodiment, the server can be the server 1100 shown in Figure 2 、 3
[0264] In an embodiment, the second user has a binding relationship with the first user, and the first request includes ID information of the first user and ID information of the second user. The guide information is also used to guide the second user to set the payment method based on the binding relationship as the preferred deduction method of the two-dimensional code.
[0265] According to the payment processing method of the embodiment, the two-dimensional code used by the second user for boarding can be obtained based on the two-dimensional code opening processing method of the embodiment, and the payment method of the two-dimensional boarding code can also be set based on the preferred deduction method of the two-dimensional code of the embodiment. In this way, the opening and use of the two-dimensional boarding code of the second user are greatly facilitated.
[0266] <Device Embodiment One>
[0267] The embodiment provides a server, for example, the server 3000 shown in Figure 15 The server 3000 includes a receiving module 3200, a providing module 3400, and a responding module 3600.
[0268] The receiving module 3200 is configured to receive a first request sent by a first user, the first request being used to invite a second user to open a two-dimensional code with a predetermined function. The providing module 3400 is configured to provide the first request to the second user, so that the second user opens the two-dimensional code according to the first request. The responding module 3600 is configured to receive a response of the second user opening the two-dimensional code, and returns the response to the first user.
[0269] In one embodiment, the first request comprises ID information of the first user and ID information of the second user; the server 3000 further comprises a querying module (not shown in the figure), configured to query whether the first user and the second user have a binding relationship based on the ID information of the first user and the ID information of the second user in the first request.
[0270] The providing module 3400 is configured to provide the first request to the second user in the case that the binding relationship exists.
[0271] In one embodiment, the server 3000 further comprises a querying module (not shown in the figure), configured to query the binding relationship of the first user before the receiving module receives the first request sent by the first user; and a prompting module (not shown in the figure), configured to provide prompt information of the invitation of opening the two-dimensional code to the first user according to the query result, so that the first user sends the first request based on the prompt information; wherein, when the querying module queries a user having a binding relationship with the first user according to the query result, the prompt information is first prompt information; and when the querying module does not query a user having a binding relationship with the first user according to the query result, the prompt information is second prompt information.
[0272] In one embodiment, the server 3000 further comprises a guiding information sending module (not shown in the figure), configured to send guiding information to the second user after the receiving module receives the response of the second user opening the two-dimensional code, wherein the guiding information is used to guide the second user to set a payment method based on the binding relationship as a preferred payment method of the two-dimensional code; and acquire and save the setting content of the preferred payment method of the second user according to the guiding information.
[0273] In one embodiment, in the case that the first user and the second user do not have a binding relationship, the server 3000 further comprises an establishment request sending module (not shown in the figure), configured to send a request of establishing a binding relationship with the second user to the first user; and an establishment module (not shown in the figure), configured to establish the binding relationship between the first user and the second user and set a payment method based on the binding relationship according to the response of the first user to the request.
[0274] The server 3000 further comprises a permission determining module (not shown in the figure) configured to, in the case that there is no binding relationship between the first user and the second user, determine whether the second user has the permission to establish a binding relationship with the first user based on the ID information of the first user and the ID information of the second user in the first request; a second request sending module (not shown in the figure) configured to, in the case that it is determined that the second user has the permission, perform the operation of sending the request for establishing a binding relationship with the first user to the first user; and in the case that it is determined that the second user does not have the permission to establish a binding relationship with the first user, send a second request to the second user, wherein the second request is used to invite the second user to open the permission; and wherein the permission sending module performs the operation of sending the request for establishing a binding relationship with the first user to the first user according to the permission opened by the second user in response to the second request.
[0275] In one embodiment, the server 3000 further comprises a display module (not shown in the figure) configured to, after receiving the first request, display an invitation service page to the first user, so that the first user performs an invitation confirmation response based on the displayed invitation service page; and in the case that the invitation confirmation response sent by the first user is received, the query module 3400 performs the operation of querying whether there is a binding relationship between the first user and the second user.
[0276] In one embodiment, the display module is configured to send an instruction of displaying the invitation service page to a first terminal device corresponding to the first user, so that the first terminal device displays the invitation service page to the first user; and wherein the display content of the invitation service page comprises information description of the two-dimensional code, benefit information of opening the two-dimensional code, and an agreement of inviting to open the two-dimensional code.
[0277] In one embodiment, the first request corresponds to a first invitation mode, and the providing module is configured to send the first request to the second user in the form of a message, so that the second user opens the two-dimensional code according to the content of the message.
[0278] In one embodiment, the first request corresponds to a second invitation mode, and the providing module is configured to display the first request to the second user in the form of a two-dimensional code picture, so that the second user opens the two-dimensional code by scanning the two-dimensional code picture.
[0279] <Device Embodiment Two>
[0280] The embodiment provides a first terminal device, for example, the first terminal device 4000 shown in the figure, which comprises a generating module 4200, a sending module 4400, and a receiving module 4600. Figure 16
[0281] The generating module 4200 is configured to generate a first request according to a trigger of the first user, the first request being used to invite the second user to open a two-dimensional code with a predetermined function. The sending module 4400 is configured to send the first request to a server for corresponding invitation processing, wherein the invitation processing comprises: providing the first request to the second user. The receiving module 4600 is configured to receive a response returned by the server, the response being a response of the second user to the first request.
[0282] According to one embodiment of the present specification, the first request comprises ID information of the first user and ID information of the second user; and the invitation processing comprises: based on the ID information of the first user and the ID information of the second user in the first request, if it is determined that the first user and the second user have a binding relationship, providing the first request to the second user.
[0283] According to one embodiment of the present specification, if the first user and the second user do not have a binding relationship, the first terminal device 4000 further comprises:
[0284] A request receiving module (not shown in the figure) is configured to receive a request sent by the server to establish a binding relationship between the first user and the second user; a request obtaining module (not shown in the figure) is configured to obtain a response of the first user to the request; and a request response module (not shown in the figure) is configured to send the response to the server, so that the server establishes a binding relationship between the first user and the second user according to the response, and sets a payment method based on the binding relationship.
[0285] According to one embodiment, the first terminal device 4000 further comprises:
[0286] An instruction receiving module (not shown in the figure) is configured to receive an instruction sent by the server after receiving the first request, the instruction being used to display an invitation service page; a display module (not shown in the figure) is configured to display the invitation service page to the first user according to the instruction; and a response obtaining module (not shown in the figure) is configured to obtain an invitation confirmation response triggered by the first user based on the invitation service page, and send the invitation confirmation response to the server for the invitation processing.
[0287] According to an embodiment, the first terminal device 4000 further comprises a prompt information receiving module (not shown in the figure), configured to receive prompt information sent by the server, the prompt information being used to invite the second user to open the two-dimensional code before the generating module 4200 generates the first request according to the trigger of the first user; a prompt information providing module (not shown in the figure), configured to provide the first user with the prompt information, so that the first user sends the first request based on the prompt information; wherein, when the server queries the second user having a binding relationship with the first user, the prompt information is first prompt information; when the server does not query the second user having a binding relationship with the first user, the prompt information is second prompt information.
[0288] <Device Embodiment Three>
[0289] The embodiment provides a second terminal device, for example, the second terminal device 5000 shown in the figure, comprising a receiving module 5200, an obtaining module 5400 and a sending module 5600. Figure 17
[0290] The receiving module 5200 is configured to receive the first request sent by the server, the first request being used to invite the second user to open the two-dimensional code having a predetermined function by the first user. The obtaining module 5400 is configured to obtain the response of the second user to the first request for opening the two-dimensional code. The sending module 5600 is configured to send the response to the server.
[0291] According to an embodiment, the first request is used to invite the second user having a binding relationship with the first user to open the two-dimensional code having a predetermined function by the first user, wherein the first request comprises ID information of the first user and ID information of the second user.
[0292] According to an embodiment, the second terminal device 5000 further comprises a guide information receiving module (not shown in the figure), configured to receive guide information sent by the server, wherein the guide information is used to guide the second user to set the payment method based on the binding relationship as the preferred deduction method of the two-dimensional code; a setting content obtaining module (not shown in the figure), configured to obtain the setting content of the preferred deduction method by the second user according to the guide message; and a response sending module (not shown in the figure), configured to send the setting content to the server.
[0293] According to one embodiment, the second terminal device 5000 further includes: a second request receiving module (not shown in the figure), configured to receive a second request sent by the server before receiving a first request sent by the server, the second request being used to invite a second user to activate the permission to establish a binding relationship with the first user; a permission activation acquisition module (not shown in the figure), configured to acquire the response of the second user activating the permission according to the second request; and a permission activation response module (not shown in the figure), configured to send the response of activating the permission to the server.
[0294] According to one embodiment, the first request corresponds to a first invitation mode, and the receiving module 5200 is used to receive the first request sent by the server in the form of a message. The providing module 5400 is used to display the message content of the first request to a second user, so that the second user can activate the QR code based on the message content.
[0295] According to one embodiment, the first request corresponds to a second invitation mode, and the receiving module 5200 is used to receive the first request sent by the server in the form of a QR code image. The providing module 5400 is used to display the QR code image of the first request to the second user, so that the second user can activate the QR code by scanning the QR code image.
[0296] <Electronic Device Examples>
[0297] In this embodiment, an electronic device is also provided, which includes the server 3000 described in the first embodiment of this specification, the first terminal device 4000 described in the second embodiment of this specification, or the second terminal device 5000 described in the third embodiment of this specification.
[0298] In another embodiment, such as Figure 18 As shown, the electronic device 6000 may include a memory 6200 and a processor 6400. The memory 6200 is used to store executable commands. The processor 6400 is used to execute the methods described in any of the method embodiments of this specification under the control of the executable commands stored in the memory 6200.
[0299] The electronic device 6000, according to the implementation subject of the method embodiment being executed, can be a server or a terminal device, and is not limited thereto.
[0300] In one embodiment, any module in the above device embodiments can be implemented by the processor 6400.
[0301] <System Implementation Example 1>
[0302] In this embodiment, a QR code activation processing system is also provided, which is, for example, as shown in the example below. Figure 3The two-dimensional code opening processing system shown includes a server 1100, a first terminal device 2400, and a second terminal device 2200, which are respectively configured to execute the corresponding two-dimensional code opening processing method according to the method embodiment one.
[0303] The server includes a memory and a processor, the memory of the server is configured to store executable commands, and the processor of the server is configured to execute the corresponding method of the two-dimensional code opening processing method in the method embodiment one of the present specification under the control of the executable commands.
[0304] The first terminal device includes a memory and a processor, the memory of the first terminal device is configured to store executable commands, and the processor of the first terminal device is configured to execute the corresponding method of the two-dimensional code opening processing method in the method embodiment one of the present specification under the control of the executable commands.
[0305] The second terminal device includes a memory and a processor, the memory of the second terminal device is configured to store executable commands, and the processor of the second terminal device is configured to execute the corresponding method of the two-dimensional code opening processing method in the method embodiment one of the present specification under the control of the executable commands.
[0306] <system embodiment two>
[0307] In the present embodiment, a two-dimensional code-based payment processing system is also provided, for example, a two-dimensional code-based payment processing system as shown in the figure. Figure 2 The two-dimensional code-based payment processing system shown includes a server 1100 and a terminal device 1200, the server is configured to execute the corresponding method according to the method embodiment one, and the terminal device 1200 is configured to execute the corresponding method according to the method embodiment two.
[0308] The server includes a memory and a processor, the memory of the server is configured to store executable commands, and the processor of the server is configured to execute the corresponding method in the method embodiment one of the present specification under the control of the executable commands.
[0309] The terminal device includes a memory and a processor, the memory of the terminal device is configured to store executable commands, and the processor of the terminal device is configured to execute the corresponding method in the method embodiment two of the present specification under the control of the executable commands.
[0310] <computer readable storage medium embodiment>
[0311] The present embodiment provides a computer readable storage medium, the storage medium stores executable commands, and the executable commands are executed by the processor to execute the method described in any method embodiment of the present specification.
[0312] One or more embodiments of the specification can be a system, a method, and / or a computer program product. The computer program product can include a computer readable storage medium (or media) having computer readable program instructions stored therein to implement various aspects of the specification.
[0313] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium can be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or punched tape, a
[0314] The computer readable program instructions described herein can be downloaded to respective computing / processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network can comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.
[0315] Computer readable program instructions for carrying out operations of the embodiments of the present specification can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages such as the "C" programming language or similar programming languages. The computer readable program instructions can be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, by connecting to an Internet service provider through the Internet). In some embodiments, by utilizing state information of computer readable program instructions, for example, programmable logic circuits, field programmable gate arrays (FPGA) or programmable logic arrays (PLA), the electronic circuit can execute the computer readable program instructions, thereby implementing various aspects of the present specification.
[0316] Various aspects of the present specification are described herein with reference to flow diagrams and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present specification. It should be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer readable program instructions.
[0317] These computer readable program instructions can be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing apparatus to produce a machine, so that the instructions, when executed by the processor of the computer or other programmable data processing apparatus, generate an apparatus that implements the functions / acts specified in one or more blocks of the flow diagrams and / or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium that causes a computer, a programmable data processing apparatus and / or other devices to work in a specific manner, so that the computer readable medium storing the instructions includes a manufacture that includes instructions to implement aspects of the functions / acts specified in one or more blocks of the flow diagrams and / or block diagrams.
[0318] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0319] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0320] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0320] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0320] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0320] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0320] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0320] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0320] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
Claims
1. A QR code activation processing method, implemented by a server, the method comprising: Receive a first request sent by a first user, the first request being used to invite a second user to activate a QR code with a pre-defined function; The first request is provided to the second user so that the second user can activate the QR code according to the first request; Receive the response from the second user to activate the QR code, and return the response to the first user; Based on the response, guidance information is sent to the second user, wherein the guidance information is used to guide the second user to set the preferred payment method for the QR code; Obtain and save the settings made by the second user for the preferred payment method based on the guidance information.
2. The method according to claim 1, wherein the first request includes the ID information of the first user and the ID information of the second user; The method further includes: Based on the ID information of the first user and the ID information of the second user in the first request, query whether there is a binding relationship between the first user and the second user; If a binding relationship exists, the step of providing the first request to the second user is executed.
3. The method according to claim 2, wherein before receiving the first request sent by the first user, the method further comprises: Query the binding relationships of the first user; Based on the query results, the first user is provided with a prompt message inviting the second user to activate the QR code, so that the first user can send the first request based on the prompt message; Wherein, when the query result shows a second user that is bound to the first user, the prompt information is the first prompt information; When the query result indicates that no second user with a binding relationship to the first user was found, the prompt message is the second prompt message.
4. The method according to claim 2, wherein when there is no binding relationship between the first user and the second user, the method further includes: Send a request to the first user to establish a binding relationship with the second user; Based on the first user's response to the request, a binding relationship is established between the first user and the second user, and a payment method based on the binding relationship is set.
5. The method according to claim 4, wherein when there is no binding relationship between the first user and the second user, the method further comprises: Based on the ID information of the first user and the ID information of the second user in the first request, determine whether the second user has the permission to establish a binding relationship with the first user; If it is determined that the user has the aforementioned permissions, the operation of sending a request to the first user to establish a binding relationship with the second user is performed. If it is determined that the user does not have the permission, a second request is sent to the second user, wherein the second request is used to invite the second user to grant the permission; Specifically, based on the permissions granted by the second user in response to the second request, the operation of sending a request to the first user to establish a binding relationship with the second user is executed.
6. The method according to claim 2, further comprising, upon receiving the first request: The invitation service page is displayed to the first user, so that the first user can respond to the invitation confirmation based on the displayed invitation service page; Upon receiving the invitation confirmation response from the first user, the operation of querying whether the first user and the second user have a binding relationship is performed.
7. The method according to claim 6, wherein displaying the invitation service page to the first user includes: Send an instruction to the first terminal device corresponding to the first user to display the invitation service page, so that the first terminal device displays the invitation service page to the first user; The invitation page displays information about the QR code, benefits of activating the QR code, and an agreement to invite users to activate the QR code.
8. The method according to claim 1, wherein the first request corresponds to a first invitation mode, and the step of providing the first request to the second user so that the second user activates the QR code according to the first request includes: The first request is sent to the second user in the form of a message, so that the second user can activate the QR code according to the content of the message.
9. The method according to claim 1, wherein the first request corresponds to a second invitation mode, and the step of providing the first request to the second user so that the second user activates the QR code according to the first request includes: The first request is displayed to the second user in the form of a QR code image, so that the second user can activate the QR code by scanning the QR code image.
10. A QR code activation processing method, implemented by a first terminal device, comprising: A first request is generated based on the trigger of the first user, and the first request is used to invite the second user to activate the QR code with the pre-defined function. Sending a first request to the server for corresponding invitation processing, wherein the invitation processing includes: providing the first request to the second user; causing the server to provide the first request to the second user, obtaining a response from the second user to activate the QR code according to the first request, sending guidance information to the second user according to the response, and obtaining and saving the settings of the second user for the preferred deduction method according to the guidance information; wherein the guidance information is used to guide the second user to set the preferred deduction method for the QR code; The server receives a response indicating that the second user has activated the QR code in accordance with the first request.
11. The method according to claim 10, wherein the first request includes the ID information of the first user and the ID information of the second user; The invitation process also includes: Based on the ID information of the first user and the ID information of the second user in the first request, if it is found that the first user and the second user have a binding relationship, the first request is provided to the second user.
12. The method according to claim 11, wherein when there is no binding relationship between the first user and the second user, the method further comprises: Receive a request from the server to establish a binding relationship between the first user and the second user; Obtain the first user's response to the request; The response is sent to the server so that the server establishes a binding relationship between the first user and the second user based on the response, and sets a payment method based on the binding relationship.
13. The method according to claim 10, further comprising: Receive the instruction sent by the server after receiving the first request to display the invitation service page; The invitation service page is displayed to the first user according to the instruction; Obtain the invitation confirmation response triggered by the first user based on the invitation service page, and send the invitation confirmation response to the server for invitation processing.
14. The method of claim 11, further comprising, before generating the first request based on the triggering of the first user: The second user receives an invitation message from the server to activate the QR code. The prompt information is provided to the first user so that the first user can send the first request based on the prompt information; When the server finds a second user that is bound to the first user, the prompt information is the first prompt information; When the server does not find a second user that is bound to the first user, the prompt message is the second prompt message.
15. A QR code activation processing method, implemented by a second terminal device, the method comprising: Receive a first request sent by the server, the first request being used by a first user to invite a second user to activate a QR code with a pre-defined function; Obtain the response from the second user to the first request to activate the QR code; Send the response to the server; The system receives guidance information sent by the server based on the response, wherein the guidance information is used to guide the second user to set the preferred payment method for the QR code; The system obtains the settings made by the second user regarding their preferred payment method based on the guidance information, and sends the settings to the server.
16. The method according to claim 15, wherein the first request is used by the first user to invite a second user who has a binding relationship with the first user to activate a QR code with a predetermined function; the first request includes the ID information of the first user and the ID information of the second user.
17. The method of claim 16, further comprising, before receiving the first request sent by the server: Receive a second request sent by the server, the second request being used to invite the second user to activate the permission to establish a binding relationship with the first user; Obtain the response from the second user to grant the permission according to the second request; Send a response to the server granting the permission.
18. The method according to claim 15, wherein the first request corresponds to a first invitation mode, and the first request sent by the receiving server includes: Receive the first request sent by the server in the form of a message; The provision of the first request to the second user, so that the second user responds to the first request, includes: The message content of the first request is displayed to the second user so that the second user can activate the QR code according to the message content.
19. The method according to claim 15, wherein the first request corresponds to a second invitation mode, and the first request sent by the receiving server includes: The first request sent by the server is received in the form of a QR code image; The provision of the first request to the second user, so that the second user responds to the first request, includes: The QR code image requested by the first user is displayed to the second user, so that the second user can activate the QR code by scanning the QR code image.
20. A QR code-based payment processing method, implemented by a second terminal device, the method comprising: In response to the second user's first request to obtain a QR code, generate a boarding QR code; In response to the second user's second request to obtain a QR code, generate a QR code for getting off the bus; Based on the boarding QR code and the alighting QR code, a fare calculation request is sent to the server so that the server can process the payment request according to the preferred deduction method of the QR code. Obtain the payment processing result returned by the server through the payment processing; The process of setting the preferred payment method for the QR code includes: receiving a first request from a server, wherein the first request is used by a first user to invite a second user to activate the QR code; obtaining the second user's response to the first request to activate the QR code; sending the response to the server; receiving guidance information sent by the server based on the response, wherein the guidance information is used to guide the second user to set the preferred payment method for the QR code; obtaining the settings for the preferred payment method made by the second user based on the guidance information, and sending the settings to the server.
21. A server, comprising: The receiving module is used to receive a first request sent by a first user, the first request being used to invite a second user to activate a QR code with a predetermined function; A module is provided to provide the first request to the second user so that the second user can activate the QR code according to the first request; A response module is used to receive the response from the second user to activate the QR code, and return the response to the first user; A module for sending guidance information to the second user based on the response, wherein the guidance information is used to guide the second user to set the preferred payment method for the QR code; A module for acquiring and saving the settings made by the second user for the preferred payment method based on the guidance information.
22. A first terminal device, comprising: The generation module is used to generate a first request based on the trigger of the first user, and the first request is used to invite the second user to activate the QR code with the predetermined function; The sending module is used to send a first request to the server for corresponding invitation processing, wherein the invitation processing includes: providing the first request to the second user; causing the server to provide the first request to the second user, obtaining a response from the second user to activate the QR code according to the first request, sending guidance information to the second user according to the response, and acquiring and saving the settings of the preferred deduction method made by the second user according to the guidance information; wherein the guidance information is used to guide the second user to set the preferred deduction method of the QR code; A receiving module is used to receive the response from the server that the second user has activated the QR code according to the first request.
23. A second terminal device, comprising: The receiving module is used to receive a first request sent by the server, wherein the first request is used by a first user to invite a second user to activate a QR code with a predetermined function; The acquisition module is used to acquire the response from the second user to the first request to activate the QR code; The sending module is used to send the response to the server; A module for receiving guidance information sent by the server based on the response, wherein the guidance information is used to guide the second user to set the preferred deduction method for the QR code; A module for obtaining the settings made by the second user for the preferred payment method based on the guidance information, and sending the settings to the server.
24. An electronic device comprising the server as claimed in claim 21, or the electronic device comprising: Memory, used to store executable commands; A processor, configured to execute the method as described in any one of claims 1-9 under the control of the executable command; or, Including the first terminal device as described in claim 22, or, the electronic device includes: Memory, used to store executable commands; A processor, configured to execute the method as described in any one of claims 10-14 under the control of the executable command; or, Including the second terminal device as described in claim 23, or, the electronic device includes: Memory, used to store executable commands; A processor, configured to perform the method as described in any one of claims 15-19 under the control of the executable command.
25. A QR code activation processing system, comprising: A server, the server including a memory and a processor, the memory of the server being used to store executable commands; The server's processor is configured to execute the method as described in any one of claims 1-9 under the control of the executable command; A first terminal device, the first terminal device including a memory and a processor, the memory of the first terminal device being used to store executable commands; the processor of the first terminal device being used to execute the method as described in any one of claims 11-14 under the control of the executable commands. as well as The second terminal device includes a memory and a processor. The memory of the second terminal device is used to store executable commands. The processor of the second terminal device is used to execute the method as described in any one of claims 15-19 under the control of the executable commands.
26. A QR code-based payment processing system, comprising: A server, the server including a memory and a processor, the memory of the server being used to store executable commands; The server's processor is configured to execute the method as described in any one of claims 1-9 under the control of the executable command; as well as The second terminal device includes a memory and a processor. The memory of the second terminal device is used to store executable commands. The processor of the second terminal device is used to execute the method as described in claim 20 under the control of the executable commands.
27. A computer-readable storage medium storing executable instructions, which, when executed by a processor, perform the method as described in any one of claims 1-20.
Citation Information
Patent Citations
Account creating method and account creating device
CN106302612A
Method and device for inviting login of network platform, electronic equipment and readable medium
CN110430292A