WO2021104261A1 - 付款码共享方法及电子设备 - Google Patents

付款码共享方法及电子设备 Download PDF

Info

Publication number
WO2021104261A1
WO2021104261A1 PCT/CN2020/131159 CN2020131159W WO2021104261A1 WO 2021104261 A1 WO2021104261 A1 WO 2021104261A1 CN 2020131159 W CN2020131159 W CN 2020131159W WO 2021104261 A1 WO2021104261 A1 WO 2021104261A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
payment code
payment
interface
user
Prior art date
Application number
PCT/CN2020/131159
Other languages
English (en)
French (fr)
Inventor
申旌周
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021104261A1 publication Critical patent/WO2021104261A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to a payment code sharing method and electronic equipment.
  • a payment method based on a payment code (such as a two-dimensional code) displayed by an electronic device has greatly improved people's life efficiency. Specifically, when the user pays through the electronic device, the user can trigger the electronic device to display the payment code, and the merchant scans the payment code to realize the payment.
  • a payment code such as a two-dimensional code
  • the embodiments of the present invention provide a payment code sharing method and electronic equipment, so as to solve the problem of poor convenience when the existing electronic equipment uses payment codes for payment.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a payment code sharing method applied to a first electronic device, and the method includes: upon receiving a first input, sending a payment code sharing request to a second electronic device, where , The payment code sharing request is used to request the second electronic device to share the payment code with the first electronic device; and to receive a first message sent by the second electronic device, where the first message is used to instruct the first electronic device to display the second A payment code interface shared by the electronic device, where the payment code interface includes a first payment code; and according to the first message, the payment code interface is displayed.
  • an embodiment of the present invention provides an electronic device, the electronic device is a first electronic device, and the electronic device includes a sending module, a receiving module, and a display module.
  • the sending module is configured to send a payment code sharing request to the second electronic device when the receiving module receives the first input, wherein the payment code sharing request is used to request the second electronic device to share the payment code with the first electronic device.
  • the receiving module is configured to receive a first message sent by the second electronic device after the sending module sends a payment code sharing request to the second electronic device, where the first message is used to instruct the first electronic device to display the shared information of the second electronic device
  • the payment code interface includes the first payment code.
  • the display module is used for displaying the payment code interface according to the first message received by the receiving module.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device includes a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program is executed by the processor, the above-mentioned first The steps of the payment code sharing method in one aspect.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
  • the steps of the payment code sharing method in the first aspect are implemented. .
  • a payment code sharing request may be sent to the second electronic device, where the payment code sharing request is used to request the second electronic device to share the payment with the first electronic device Code; and receiving a first message sent by a second electronic device, where the first message is used to instruct the first electronic device to display the payment code interface shared by the second electronic device, and the payment code interface includes the first payment code; And according to the first message, the payment code interface is displayed.
  • the payment code interface including the payment code can be shared between electronic devices, and the payment code interface is displayed on the electronic device that sends the payment code sharing request.
  • the embodiments of the present invention can improve the convenience of electronic devices when using payment codes for payment.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 2 is one of the schematic diagrams of a payment code sharing method provided by an embodiment of the present invention.
  • FIG. 3 is one of the schematic diagrams of the interface of the payment code sharing method application provided by the embodiment of the present invention.
  • FIG. 4 is the second schematic diagram of the interface of the payment code sharing method application provided by the embodiment of the present invention.
  • Fig. 5 is a second schematic diagram of a payment code sharing method provided by an embodiment of the present invention.
  • FIG. 6 is the third schematic diagram of the interface of the payment code sharing method application provided by the embodiment of the present invention.
  • FIG. 7 is a third schematic diagram of a payment code sharing method provided by an embodiment of the present invention.
  • FIG. 8 is one of structural schematic diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 9 is a second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first and second in the specification and claims herein are used to distinguish different objects, rather than to describe a specific order of objects.
  • first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units, etc.; multiple An element refers to two or more elements, etc.
  • the embodiment of the present invention provides a payment code sharing method and electronic device, which can send a payment code sharing request to a second electronic device in the case of receiving a first input, wherein the payment code sharing request is used to request the second electronic device
  • the device shares the payment code with the first electronic device; and receives a first message sent by the second electronic device, where the first message is used to instruct the first electronic device to display the payment code interface shared by the second electronic device, and the payment code
  • the interface includes the first payment code; and according to the first message, the payment code interface is displayed.
  • the payment code interface including the payment code can be shared between electronic devices, and the payment code interface is displayed on the electronic device that sends the payment code sharing request.
  • the embodiments of the present invention can improve the convenience of electronic devices when using payment codes for payment.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the Android operating system as an example to introduce the software environment to which the payment code sharing method provided by the embodiment of the present invention is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop a software program that implements the payment code sharing method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the payment code sharing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the payment code sharing method provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present invention may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not specifically limited in the embodiment of the present invention.
  • the execution subject of the payment code sharing method provided in the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the payment code sharing method, and may be specifically based on actual usage requirements. It is confirmed that the embodiment of the present invention is not limited.
  • the following takes an electronic device as an example to illustrate the payment code sharing method provided in the embodiment of the present invention.
  • QR codes have greatly improved people's life efficiency, but the convenience of using QR codes for collaborative payment still needs to be improved.
  • the technology of asking others to pay on behalf of others is mainly to share the payment link, and this requires that the electronic devices of both parties have corresponding applications installed. In particular, if a party's electronic device does not install a related application, it needs to be installed.
  • both parties can share applications, but when sharing applications, the shareee needs to synchronize the software shared by the sharer to the local first, and then perform "Software Installation -> Account Registration -> Account Login" Only a series of complex operations can access the specified page or specific state of the application (such as the payment page of the QR code), and this method has a distance limit. Further, the current sharing method is not conducive for users to perform joint operations on the same application (for example, the shareee can autonomously click on the sharer's application to select a payment method, etc.).
  • an embodiment of the present invention provides a payment code sharing method.
  • the payment code sharing method may include the following steps 200-204.
  • the payment code sharing method is implemented in the interaction process between two electronic devices. Therefore, for the convenience of description, the first electronic device and the second electronic device are used to interact, and the first electronic device communicates with the second electronic device. The device sends a sharing request, and the second electronic device shares the payment code with the first electronic device as an example for description.
  • Step 200 When receiving the first input, the first electronic device sends a payment code sharing request to the second electronic device.
  • the payment code sharing request is used to request the second electronic device to share the payment code with the first electronic device.
  • the user of the first electronic device if the user of the first electronic device needs to request the second electronic device to pay on behalf of the payment, then the user of the first electronic device can send a payment code sharing request to the second electronic device to request the second electronic device Shared payment code.
  • Step 201 The second electronic device receives a payment code sharing request.
  • the second electronic device after the second electronic device receives the payment code sharing request, it can choose whether to accept the payment code sharing request sent by the first electronic device or reject the payment code sharing request.
  • the user of the second electronic device can view the shared payment code request sent by the first electronic device on the second electronic device, and the user of the second electronic device can choose to click the "accept” control or the "reject” control, In order to decide whether to generate a payment sharing interaction with the first electronic device, and to help the user of the first electronic device complete the payment.
  • the second electronic device may display the payment code sharing request: "The user of the first electronic device sends you a request to share the payment code” .
  • the second electronic device also displays an "accept” control and a "reject” control.
  • the user of the second electronic device clicks the "accept" control (representing the acceptance of the request for sharing the payment code)
  • the user of the second electronic device is prompted to select the payment code interface to be shared.
  • the user of the second electronic device after the user of the second electronic device clicks on the "accept" control, the user of the second electronic device needs to share with the first electronic device according to the application installed on the second electronic device and the account that has been logged in.
  • the payment code of the device is selected. Further, after the user of the second electronic device selects the payment code interface of a certain application, the user of the second electronic device can trigger the second electronic device to determine the payment code interface as the payment code interface.
  • the user of the second electronic device can select the option "Apply 1-Payment Code Interface” to trigger the second electronic device to select the payment code interface corresponding to the option (for example, as shown in Figure 4
  • the shown payment code interface 30) serves as the payment code interface to be shared.
  • the user of the second electronic device can click the "OK to share” control to trigger the second electronic device to share the payment code interface to the first electronic device.
  • the purpose of sending and receiving shared payment code requests, accepting requests, or rejecting requests between the two electronic devices can be achieved, which can improve the electronic device’s use of payment codes for payment. Convenience.
  • the second electronic device After receiving the payment code sharing request, the second electronic device sends the payment code interface to be shared to the first electronic device.
  • Step 202 The second electronic device sends a first message to the first electronic device.
  • the first message is used to instruct the first electronic device to display the payment code interface shared by the second electronic device, and the payment code interface includes the first payment code.
  • the second electronic device sends the payment code interface to be shared to the first electronic device according to the payment code sharing request, and sends a first message, which is used to instruct the first electronic device
  • the device displays the payment code interface shared by the second electronic device.
  • the above-mentioned first message may be used to instruct the first electronic device to display the payment code interface shared by the second electronic device, or the second electronic device may share the payment code interface according to
  • the first message containing the payment code interface to be shared is sent to the first electronic device, and the first electronic device receives the first message and displays the payment code interface contained in the first message.
  • the above payment code interface may be a payment code interface (or payment code page) of a certain application that supports the payment function, or any other payment page that can support the payment function. It can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the above-mentioned first payment code may be a two-dimensional code, or a barcode, or any other payment code that meets actual use requirements, which can be specifically determined according to actual use requirements.
  • the implementation of the present invention The examples are not limited.
  • FIG. 4 exemplarily shows a schematic diagram of a payment code interface (ie, a payment code interface). As shown in FIG. 4, the payment code interface 30 includes a barcode 31 and a two-dimensional code 32.
  • the user of the second electronic device can trigger the second electronic device to display the payment code interface (that is, the payment code interface) of the target application. Then, the user of the second electronic device can click the "OK to share" button in the payment code interface to share the payment code interface to the first electronic device.
  • the payment code interface that is, the payment code interface
  • Step 203 The first electronic device receives the first message.
  • the first electronic device and the second electronic device can communicate through a mobile data network, such as sending and receiving a first message, or through a wireless local area network, or through a Bluetooth connection.
  • a mobile data network such as sending and receiving a first message
  • a wireless local area network such as Bluetooth
  • Bluetooth connection can be carried out in any other possible manner, which can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • Step 204 The first electronic device displays the payment code interface according to the first message.
  • the payment code interface can be displayed simultaneously on the first electronic device and the second electronic device.
  • the synchronization display (or synchronization update display) mentioned in this article is not limited to updating the display at the same time, and can also cover that the first electronic device and the second electronic device update the display with a shorter time difference ( For example, 1 millisecond).
  • the first electronic device may display the payment code interface. Since the first electronic device and the second electronic device can both display the payment code interface, the user of the first electronic device and the user of the second electronic device can share operations on the payment code interface, and the payment code interface is in the first The display on the electronic device and the second electronic device can be updated simultaneously.
  • the second electronic device may not display the payment code interface, and display the payment code interface shared by the second electronic device on the first electronic device, so that the user of the first electronic device can make a payment.
  • both the first electronic device and the second electronic device display the payment code interface
  • the first electronic device updates and displays the payment code interface, and the updated payment code interface is displayed on the second electronic device.
  • both the first electronic device and the second electronic device display the payment code interface
  • the second electronic device updates The payment code interface is displayed, and the updated payment code interface is displayed on the first electronic device.
  • the first electronic device and the second electronic device can simultaneously update the display payment code interface.
  • the actions of the first electronic device and the second electronic device to update the display may differ by a certain amount of time (that is, to update the display sequentially in a short period of time).
  • the process of synchronizing the update of the first electronic device and the second electronic device may be completed by a transit server.
  • the first electronic device can display the updated payment code interface and send the updated payment code interface to the transit server; further, the transit server receives After the updated payment code interface, the transit server can send the updated payment code interface to the second electronic device; further, after the second electronic device receives the updated payment code interface, it displays the updated payment code interface .
  • the synchronous update display of the payment code interface on the first electronic device and the second electronic device is realized.
  • the payment code in the payment code interface may be automatically refreshed within a preset time period, or may be triggered by the user (for example, the user of the first electronic device and the user of the second electronic device).
  • the first electronic device and the second electronic device can simultaneously update the display payment code.
  • synchronously updating the display may refer to updating the display at the same time.
  • the payment code sharing method multiple users can perform collaborative operations on the same payment code interface on different electronic devices, and the payment code interface can be updated synchronously on multiple electronic devices.
  • the embodiment of the present invention provides a method for sharing payment using a payment code, and its beneficial effects include:
  • the shared user can avoid the steps of application installation, account registration and login, and bank card binding, which simplifies the operation process of payment on behalf of others;
  • the payment code sharing method can send a payment code sharing request to the second electronic device when the first input is received, wherein the payment code sharing request is used to request the second electronic device to send the payment code to the first electronic device.
  • the electronic device shares the payment code; and receives a first message sent by the second electronic device, where the first message is used to instruct the first electronic device to display the payment code interface shared by the second electronic device, and the payment code interface includes the first message A payment code; and according to the first message, the payment code interface is displayed.
  • the payment code interface including the payment code can be shared between electronic devices, and the payment code interface is displayed on the electronic device that sends the payment code sharing request.
  • the embodiments of the present invention can improve the convenience of electronic devices when using payment codes for payment.
  • the payment code sharing method provided in the embodiment of the present invention may further include the following steps 205 and 206.
  • the above-mentioned step 200 may be specifically implemented by the following steps 200a and 200b.
  • Step 205 The first electronic device receives a second input from the user on the first electronic device.
  • the second input may be a click input (for example, a single-click input or a double-click input) to a functional control for sharing payment on the first electronic device, or may be any other possible input.
  • a click input for example, a single-click input or a double-click input
  • the embodiment of the present invention does not limit it.
  • Step 206 In response to the second input, the first electronic device displays an initiating sharing interface.
  • the initiating sharing interface includes at least one contact identifier, and each contact identifier corresponds to a user.
  • the aforementioned sharing interface may include a session window for shared payment, and the user of the first electronic device may have a session with the user of the second electronic device in the session window to realize shared payment between electronic devices.
  • Step 200a The first electronic device receives the user's first input of the target contact identification.
  • the target contact identifier is one of at least one contact identifier.
  • the first input may be a click input (for example, a single-click input or a double-click input) of the target contact identification, or any other possible input, which may be specifically determined according to actual usage requirements.
  • a click input for example, a single-click input or a double-click input
  • the embodiments of the present invention are not limited.
  • Step 200b In response to the first input, the first electronic device sends a payment code sharing request to the second electronic device.
  • the user corresponding to the aforementioned target contact identifier is the user of the second electronic device.
  • the user of the first electronic device can click on the target contact identifier (that is, select a user) and send a payment code sharing request to the second electronic device, that is, initiate a payment code sharing request.
  • the first electronic device may display a contact interface 35 (including multiple contact identifiers) for sharing payment. Further, the user of the first electronic device can select the contact who will request payment, and click the "initiate sharing request" control to start a session of sharing the payment code request.
  • the present invention based on the information interaction between the two electronic devices, it is possible to select the contact person for sharing payment between the two electronic devices, and to send the shared payment code request, etc., so that the payment code between the electronic devices can be improved.
  • the convenience it is possible to select the contact person for sharing payment between the two electronic devices, and to send the shared payment code request, etc., so that the payment code between the electronic devices can be improved.
  • the aforementioned payment code interface may further include a first function control, and the first function control is used to update a payment method for payment through the first payment code based on a trigger operation.
  • the payment code sharing method provided in the embodiment of the present invention may further include the following steps 207 to 209.
  • Step 207 The first electronic device receives a third input from the user to the first functional control.
  • the third input may be a click input (for example, a single-click input or a double-click input) on the first functional control, or any other possible input, which may be determined according to actual usage requirements.
  • a click input for example, a single-click input or a double-click input
  • any other possible input which may be determined according to actual usage requirements.
  • the embodiments of the present invention are not limited.
  • Step 208 In response to the third input, the first electronic device updates the payment method paid by the first payment code to the target payment method.
  • the user after the first electronic device receives the payment code interface returned by the second electronic device, the user (shared person) of the first electronic device can view the shared information of the second electronic device on the first electronic device.
  • Payment code interface and can perform autonomous operations on the payment code interface. In this way, the user can independently choose the payment method according to actual use needs, thereby enhancing the flexibility of sharing payments through electronic devices.
  • the focus of the embodiments of the present invention is the cooperative operation of the first electronic device and the second electronic device on the same interface.
  • the user of the first electronic device can select the payment method on the shared payment code interface.
  • the first electronic device may choose to use the balance for payment or use a certain bank card for payment when making a payment, which can greatly increase the operational autonomy of the user of the first electronic device. In this way, the flexibility and convenience of sharing payments between electronic devices can be improved.
  • Step 209 The second electronic device updates the payment method to the target payment method.
  • the first electronic device and the second electronic device can perform cooperative operations on the payment code interface, when the payment method of the shared payment on the first electronic device is updated and displayed, the second electronic device The payment method of shared payment on the is updated accordingly. In this way, the convenience of sharing payments between electronic devices can be realized.
  • step 208 may be executed first, and then step 209 may be executed; step 209 may be executed first, and then step 208 may be executed; step 208 and step 209 may also be executed at the same time.
  • FIG. 7 is an example of performing step 208 and step 209 at the same time.
  • the payment code sharing method provided in the embodiment of the present invention may further include the following step 211 or step 212.
  • Step 211 When the payment method for payment through the first payment code is updated to the target payment method, the first electronic device updates the first payment code to the second payment code.
  • the target payment method is a payment method paid by the second payment code.
  • Step 212 After the preset time period, the first electronic device updates the first payment code to the second payment code.
  • the aforementioned preset duration may be a duration preset by the system, or may be a duration customized by a user.
  • the aforementioned preset duration may be 10 seconds, or may be 1 minute, or may be any other possible duration, which may be specifically determined according to actual usage requirements, and is not limited in the embodiment of the present invention.
  • the payment code sharing method provided in the embodiment of the present invention may further include the following step 213.
  • Step 213 When the first payment code is updated to the second payment code, the first electronic device uses the second payment code to make payment.
  • the first electronic device when the first payment code has not been updated, the first electronic device can use the first payment code to make payment.
  • the user of the first electronic device can click the "confirm payment" control in the payment code interface, and use the first payment code to make a payment.
  • the sharing payment session between the first electronic device and the second electronic device ends.
  • the first electronic device may close the session and end the communication with the second electronic device.
  • the second electronic device may determine whether the first electronic device successfully receives the payment code picture. If the second electronic device determines that the first electronic device has not successfully received the payment code interface, the second electronic device may resend the payment code interface to the first electronic device. If the second electronic device determines that the first electronic device successfully received the payment code interface, the second electronic device revokes the shared payment code interface (for example, switch to offline mode) to prevent malicious network forwarding and cause unnecessary losses ; In this case, the first electronic device can still use the first payment code for payment.
  • the shared payment code interface for example, switch to offline mode
  • the sharer can set corresponding permissions for the shared party to use the payment code to pay, such as amount permission (within the preset amount range), password permission (enter the payment password before payment), etc.
  • an embodiment of the present invention provides an electronic device 700.
  • the electronic device 700 may include a sending module 701, a receiving module 702, and a display module 703.
  • the sending module 701 is configured to send a payment code sharing request to the second electronic device when the receiving module receives the first input, where the payment code sharing request is used to request the second electronic device to share the payment code with the first electronic device .
  • the receiving module 702 is configured to receive a first message sent by the second electronic device after the sending module 701 sends a payment code sharing request to the second electronic device, where the first message is used to instruct the first electronic device to display the second electronic device
  • the shared payment code interface includes the first payment code
  • the display module 703 is configured to display the payment code interface according to the first message received by the receiving module 702.
  • the receiving module 702 is further configured to receive the second input of the user on the first electronic device before the sending module 701 sends the payment code sharing request to the second electronic device.
  • the display module 703 is further configured to display a sharing initiation interface in response to the second input received by the receiving module 702, and the sharing initiation interface includes at least one contact identifier.
  • the receiving module 702 is specifically configured to receive a user's first input of a target contact identifier, where the target contact identifier is one of at least one contact identifier displayed by the display module 703.
  • the sending module 701 is specifically configured to send a payment code sharing request to the second electronic device in response to the first input received by the receiving module 702. Wherein, the user corresponding to the target contact identifier is the user of the second electronic device.
  • the display module 703 is further configured to update the first payment code to the second payment code when the payment method paid by the processing module 704 through the first payment code is updated to the target payment method, wherein:
  • the target payment method is the payment method through the second payment code;
  • the display module 703 is further configured to update the first payment code to the second payment code after the preset time period.
  • the aforementioned payment code interface may further include a first function control, and the first function control is used to update a payment method for payment through the first payment code based on a trigger operation.
  • the electronic device 700 provided by the embodiment of the present invention may further include a processing module 704.
  • the receiving module 702 is further configured to receive the third input of the user on the first functional control after the display module 703 displays the payment code interface.
  • the processing module 704 is further configured to, in response to the third input received by the receiving module 702, update the payment method paid by the first payment code to the target payment method. Wherein, the payment method corresponding to the first payment code on the second electronic device is updated as the target payment method.
  • the processing module 704 is configured to use the second payment code for payment when the display module 703 updates the first payment code to the second payment code.
  • the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the electronic device provided by the embodiment of the present invention may send a payment code sharing request to the second electronic device upon receiving the first input, wherein the payment code sharing request is used to request the second electronic device to send the payment code to the first electronic device Sharing the payment code; and receiving a first message sent by the second electronic device, where the first message is used to instruct the first electronic device to display the payment code interface shared by the second electronic device, and the payment code interface includes the first payment Code; and according to the first message, the payment code interface is displayed.
  • the payment code interface including the payment code can be shared between electronic devices, and the payment code interface is displayed on the electronic device that sends the payment code sharing request.
  • the embodiments of the present invention can improve the convenience of electronic devices when using payment codes for payment.
  • FIG. 10 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • a radio frequency unit 801 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wear
  • the radio frequency unit 801 is configured to send a payment code sharing request to the second electronic device when the first input is received, and the payment code sharing request is used to request the second electronic device to share the payment code with the first electronic device; And receive a first message sent by the second electronic device, where the first message is used to instruct the first electronic device to display the payment code interface shared by the second electronic device, and the payment code interface includes the first payment code; the display unit 806, configured to display the payment code interface according to the first message received by the radio frequency unit 801.
  • An embodiment of the present invention provides an electronic device, which can send a payment code sharing request to a second electronic device upon receiving a first input, wherein the payment code sharing request is used to request the second electronic device to send a payment code sharing request to a second electronic device.
  • the first electronic device shares the payment code; and receives a first message sent by the second electronic device, where the first message is used to instruct the first electronic device to display the payment code interface shared by the second electronic device, and the payment code interface
  • the first payment code is included; and according to the first message, the payment code interface is displayed.
  • the payment code interface including the payment code can be shared between electronic devices, and the payment code interface is displayed on the electronic device that sends the payment code sharing request.
  • the embodiments of the present invention can improve the convenience of electronic devices when using payment codes for payment.
  • the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and sent to the processor 810 for processing; Uplink data is sent to the base station.
  • the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 800 provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic device 800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 806.
  • the image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
  • the electronic device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the electronic device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 806 is used to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 807 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed.
  • the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 807 may also include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 8071 can cover the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device and the electronic device 800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 800 or can be used to connect the electronic device 800 to an external device. Transfer data between devices.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the electronic device 800 may also include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system Management and other functions.
  • the electronic device 800 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor 810 as shown in FIG. 10, a memory 809, a computer program stored in the memory 809 and running on the processor 810, and the computer program is When the processor 810 executes, each process of the foregoing payment code sharing method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the foregoing payment code sharing method embodiment is realized, and the same The technical effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present invention.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种付款码共享方法及电子设备,涉及通信技术领域,以解决现有电子设备在采用付款码付款时的便捷性较差的问题。该方法包括:在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;且根据该第一消息,显示付款码界面。

Description

付款码共享方法及电子设备
相关申请的交叉引用
本申请主张在2019年11月28日在中国提交的中国专利申请号No.201911195310.2的优先权,其全部内容通过引用包含于此。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种付款码共享方法及电子设备。
背景技术
随着电子技术的不断发展,电子设备的功能越来越丰富。基于电子设备显示的付款码(例如二维码)的付款方式极大地提高了人们的生活效率。具体的,当用户通过电子设备付款时,用户可以触发电子设备显示付款码,并由商家扫描该付款码后实现付款。
然而,在需要用户出示付款码进行付款的场景中,若用户的付款码对应的电子账户金额不足等原因,则用户无法通过付款码进行支付,此时用户可能需要请求别人向自己的电子账户转账,并只有在电子账户余额充足后,用户才能通过付款码进行付款。由于转账操作较为复杂且耗时较长,因此,导致电子设备在采用付款码付款时的便捷性较差。
发明内容
本发明实施例提供一种付款码共享方法及电子设备,以解决现有电子设备在采用付款码付款时的便捷性较差的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种付款码共享方法,应用于第一电子设备,该方法包括:在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;且根据该第一消息,显示付款码界面。
第二方面,本发明实施例提供了一种电子设备,该电子设备为第一电子设备,该电子设备包括发送模块、接收模块和显示模块。发送模块用于在接收模块接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码。接收模块用于在发送模块向第二电子设备发送付款码共享请求之后,接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码。显示模块用于根据接收模块接收的该第一消息,显示付款码界面。
第三方面,本发明实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的付款码共享方法的步骤。
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的付款码共享方法的步骤。
在本发明实施例中,可以在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;且根据该第一消息,显示付款码界面。通过该方案,电子设备之间可以共享包括付款码的付款码界面,且付款码界面在发送付款码共享请求的电子设备上显示。如此,在需要用户出示付款码进行付款的场景中,若用户需要请求别人代付,则用户可以采用其它用户共享的付款码进行付款。如此,本发明实施例可以提升电子设备在采用付款码付款时的便捷性。
附图说明
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本发明实施例提供的付款码共享方法的示意图之一;
图3为本发明实施例提供的付款码共享方法应用的界面示意图之一;
图4为本发明实施例提供的付款码共享方法应用的界面示意图之二;
图5为本发明实施例提供的付款码共享方法的示意图之二;
图6为本发明实施例提供的付款码共享方法应用的界面示意图之三;
图7为本发明实施例提供的付款码共享方法的示意图之三;
图8为本发明实施例提供的电子设备的结构示意图之一;
图9为本发明实施例提供的电子设备的结构示意图之二;
图10为本发明实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。
本发明实施例提供一种付款码共享方法及电子设备,可以在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送 的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;且根据该第一消息,显示付款码界面。通过该方案,电子设备之间可以共享包括付款码的付款码界面,且付款码界面在发送付款码共享请求的电子设备上显示。如此,在需要用户出示付款码进行付款的场景中,若用户需要请求别人代付,则用户可以采用其它用户共享的付款码进行付款。如此,本发明实施例可以提升电子设备在采用付款码付款时的便捷性。
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本发明实施例提供的付款码共享方法所应用的软件环境。
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的付款码共享方法的软件程序,从而使得该付款码共享方法可以基于如图1所示的安卓操作系统 运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的付款码共享方法。
本发明实施例中的电子设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。
本发明实施例提供的付款码共享方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该付款码共享方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的付款码共享方法进行示例性的说明。
目前,基于二维码的付款方式极大地提高了人们的生活效率,但在使用二维码进行协同付款时的便捷性仍有待提升。目前,请他人代付的技术主要是分享付款链接,而这就需要双方的电子设备都安装有相应的应用程序。特别地,如某一方的电子设备没有安装相关的应用程序,则需要其进行安装。除了常见的下载安装外,双方可进行应用共享,但在进行应用共享时,被共享者需要将共享者共享的软件先同步到本地,然后进行“软件安装——>账户注册——>账户登录”等一系列复杂的操作,才能访问到应用的指定页面或者特定状态(如,二维码的付款页面),并且,该种方式有距离限制。进一步地,当前的共享方式不利于用户对同一应用进行共同操作(如,被共享者可以自主地点击共享者的应用选择付款方式等)。
下面结合各个附图对本发明实施例提供的付款码共享方法进行示例性的说明。
如图2所示,本发明实施例提供一种付款码共享方法,该付款码共享方法可以包括下述的步骤200-步骤204。
需要说明的是,该付款码共享方法在两个电子设备之间的交互过程中实现,因此为了便于说明,下面以第一电子设备和第二电子设备交互,且第一电子设 备向第二电子设备发送共享请求,以及第二电子设备向第一电子设备共享付款码为例进行说明。
步骤200、第一电子设备在接收到第一输入的情况下,向第二电子设备发送付款码共享请求。
其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码。
本发明实施例中,如果第一电子设备的用户在付款时需要请求第二电子设备代付,那么此时第一电子设备用户可以向第二电子设备发送付款码共享请求,请求第二电子设备共享付款码。
步骤201、第二电子设备接收付款码共享请求。
本发明实施例中,在第二电子设备接收到付款码共享请求之后,可以选择是接受第一电子设备发送的共享付款码请求,还是拒绝共享付款码请求。
具体的,第二电子设备的用户可以在第二电子设备上查看到由第一电子设备发送的共享付款码请求,并且第二电子设备的用户可以选择点击“接受”控件或者“拒绝”控件,以便决定是否与第一电子设备产生共享付款的互动,帮助第一电子设备的用户完成付款。
示例性的,如图3中的(a)所示,第二电子设备在接收到付款码共享请求后,可以显示付款码共享请求:“第一电子设备的用户向您发出共享付款码请求”。其中,第二电子设备还显示有“接受”控件和“拒绝”控件。
一方面,在第二电子设备的用户点击“接受”控件(表示接受了共享付款码请求)之后,则提示第二电子设备的用户选择待共享的付款码界面。
另一方面,在第二电子设备的用户点击“拒绝”控件(表示拒绝了共享付款码请求)之后,则本次会话结束。
本发明实施例中,在第二电子设备的用户点击“接受”控件之后,第二电子设备的用户需要根据第二电子设备上安装的应用程序和已经登录的账号,对将要共享给第一电子设备的付款码进行选择。进一步的,在第二电子设备的用户选中某一应用程序的付款码界面之后,第二电子设备的用户可以触发第二电子设备将该付款码界面确定为付款码界面。
示例性的,如图3中的(b)所示,第二电子设备的用户可以选择选项“应用1-付款码界面”,触发第二电子设备将选项对应的付款码界面(例如如图4所示的付款码界面30)作为待共享的付款码界面。第二电子设备的用户可以点击“确定共享”控件,触发第二电子设备将此付款码界面共享至第一电子设备。
本发明实施例中,基于两个电子设备的信息交互,可以实现在两个电子设备之间发送及接收共享付款码请求、接受请求或拒绝请求等目的,如此可以提升电子设备采用付款码付款的便捷性。
在第二电子设备接收付款码共享请求之后,向第一电子设备发送待共享的付款码界面。
步骤202、第二电子设备向第一电子设备发送第一消息。
本发明实施例中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码。
可选地,本发明实施例中,第二电子设备根据付款码共享请求,将待共享的付款码界面发送至第一电子设备,并发送第一消息,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,上述第一消息可以用于指示第一电子设备显示第二电子设备所共享的付款码界面,还可以是第二电子设备根据付款码共享请求,将包含待共享的付款码界面的第一消息发送至第一电子设备,第一电子设备接收该第一消息,显示第一消息包含的付款码界面。
可选地,本发明实施例中,上述付款码界面可以是支持付款功能的某一应用程序的付款码界面(或付款码页面),还可以是其它任意的可支持付款功能的付款页面,具体可以根据实际使用需求确定,本发明实施例不作限定。
可选地,本发明实施例中,上述第一付款码可以为二维码,也可以为条形码,还可以为其它任意满足实际使用需求的付款码,具体可以根据实际使用需求确定,本发明实施例不作限定。
可以理解,上述付款码界面中可以包括二维码,或者可以包括条形码,或者可以包括二维码和条形码。图4示例性的示出了付款码界面(即付款码界面)的示意图,如图4所示,付款码界面30中包括条形码31和二维码32。
具体的,第二电子设备的用户可以触发第二电子设备显示目标应用程序的 付款码界面(即付款码界面)。然后,第二电子设备的用户可以点击该付款码界面中的“确定共享”按钮,将此付款码界面共享至第一电子设备。
步骤203、第一电子设备接收第一消息。
本发明实施例中,第一电子设备和第二电子设备可以通过移动数据网络进行通讯,例如发送第一消息和接收第一消息,也可以通过无线局域网进行通讯,还可以通过蓝牙连接进行通讯,或者可以通过其它任意可能的方式进行通讯,具体可以根据实际使用需求确定,本发明实施例不作限定。
步骤204、第一电子设备根据该第一消息,显示付款码界面。
本发明实施例中,该付款码界面在第一电子设备和第二电子设备上可以同步显示。需要说明的是,本文中所提及的同步显示(或同步更新显示),不限于指在同一时刻更新显示,还可以涵盖第一电子设备和第二电子设备更新显示的动作相差时长较短(例如1毫秒)的情况。
本发明实施例中,在第一电子设备接收到第二电子设备发送的第一消息之后,第一电子设备可以显示付款码界面。由于第一电子设备和第二电子设备可以均显示该付款码界面,因此第一电子设备的用户与第二电子设备的用户可以在该付款码界面上共享操作,且该付款码界面在第一电子设备和第二电子设备上可以同步更新显示。
需要说明的是,第二电子设备也可以不显示该付款码界面,将第二电子设备所共享的付款码界面在第一电子设备上显示,以使第一电子设备的用户进行付款。
具体的,一方面,在第一电子设备和第二电子设备均显示付款码界面的情况下,若第一电子设备的用户在第一电子设备显示的付款码界面上进行操作,则第一电子设备更新显示付款码界面,并且第二电子设备上显示更新后的付款码界面。
另一方面,在第一电子设备和第二电子设备均显示付款码界面的情况下,若第二电子设备的用户在第二电子设备显示的付款码界面上进行操作,则第二电子设备更新显示付款码界面,并且第一电子设备上显示更新后的付款码界面。
可以理解,第一电子设备的用户和第二电子设备的用户中任一用户在付款 码界面上进行操作之后,第一电子设备和第二电子设备能够同步更新显示付款码界面。这里,第一电子设备和第二电子设备更新显示的动作可以相差某一时长(即在短时间内先后更新显示)。
可选地,本发明实施例中,第一电子设备和第二电子设备同步更新的过程可以通过中转服务器完成。假设第一电子设备的用户在付款码界面上进行操作之后,第一电子设备可以显示更新后的付款码界面,并将更新后的付款码界面发送给中转服务器;进一步的,在中转服务器接收到更新后的付款码界面之后,中转服务器可以将更新后的付款码界面发送给第二电子设备;进一步的,在第二电子设备接收到更新后的付款码界面之后,显示更新后的付款码界面。如此,实现付款码界面在第一电子设备和第二电子设备上的同步更新显示。
本发明实施例中,付款码界面中的付款码可以在预设时长内自动刷新,或者可以由用户(例如第一电子设备的用户和第二电子设备的用户)触发刷新,在此情况下,第一电子设备和第二电子设备可以同步更新显示付款码。这里,同步更新显示可以指在同一时刻更新显示。
通过该付款码共享方法,可以实现多用户在不同电子设备上对同一付款码界面进行协同操作,且该付款码界面可以在多个电子设备上同步更新。
本发明实施例提供一种使用付款码进行共享付款的方式,其有益效果包括:
第一,被共享用户可以免去应用程序的安装、账号的注册和登录、银行卡的绑定等步骤,简化了代付的操作流程;
第二,被共享用户与共享用户之间没有距离限制,免去了传统的应用共享中参与共享行为的用户需要在同一局域网的要求;
第三,由于免安装、免注册的属性存在,可以使得减少电子设备的存储空间的占用,并且免去账户管理的麻烦。
本发明实施例提供的付款码共享方法,可以在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;且根据该第一消息,显示付款码界面。 通过该方案,电子设备之间可以共享包括付款码的付款码界面,且付款码界面在发送付款码共享请求的电子设备上显示。如此,在需要用户出示付款码进行付款的场景中,若用户需要请求别人代付,则用户可以采用其它用户共享的付款码进行付款。如此,本发明实施例可以提升电子设备在采用付款码付款时的便捷性。
可选地,本发明实施例中,结合图2,如图5所示,在上述的步骤200之前,本发明实施例提供的付款码共享方法还可以包括下述的步骤205和步骤206。相应地,上述的步骤200具体可以通过下述的步骤200a和步骤200b实现。
步骤205、第一电子设备接收用户在第一电子设备上的第二输入。
可选地,本发明实施例中,第二输入可以为对第一电子设备上用于共享付款的功能控件的点击输入(例如单击输入或双击输入),或者可以是其它任意可能的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。
步骤206、第一电子设备响应于第二输入,显示发起共享界面。
其中,该发起共享界面中包括至少一个联系人标识,每个联系人标识对应一个用户。
本发明实施例中,上述发起共享界面可以包括针对共享付款的会话窗口,第一电子设备的用户可以在该会话窗口与第二电子设备的用户进行会话,实现电子设备之间的共享付款。
步骤200a、第一电子设备接收用户对目标联系人标识的第一输入。
其中,该目标联系人标识为至少一个联系人标识中的一个。
可选地,本发明实施例中,第一输入可以为对目标联系人标识的点击输入(例如单击输入或双击输入),或者可以是其它任意可能的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。
步骤200b、第一电子设备响应于第一输入,向第二电子设备发送付款码共享请求。
其中,上述目标联系人标识对应的用户为第二电子设备的用户。
本发明实施例中,第一电子设备的用户可以点击目标联系人标识(即选择一个用户)并向第二电子设备发送付款码共享请求,即发起共享付款码请求。
示例性的,如图6所示,在第一电子设备的用户在第一电子设备上输入之后,第一电子设备可以显示共享付款的联系人界面35(包括多个联系人标识)。进一步的,第一电子设备的用户可以选择将要请求其付款的联系人,并点击“发起共享请求”控件,即可开始一次共享付款码请求的会话。
本发明实施例中,基于两个电子设备的信息交互,可以实现在两个电子设备之间选择共享付款的联系人、发送共享付款码请求等目的,如此可以提升电子设备之间采用付款码付款的便捷性。
可选地,本发明实施例中,上述付款码界面中还可以包括第一功能控件,该第一功能控件用于基于触发操作更新通过第一付款码付款的付款方式。在此情况下,结合图2,如图7所示,在上述的步骤204之后,本发明实施例提供的付款码共享方法还可以包括下述的步骤207-步骤209。
步骤207、第一电子设备接收用户对第一功能控件的第三输入。
可选地,本发明实施例中,第三输入可以为对第一功能控件的点击输入(例如单击输入或双击输入),或者可以是其它任意可能的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。
步骤208、第一电子设备响应于第三输入,将通过第一付款码付款的付款方式更新为目标付款方式。
本发明实施例中,在第一电子设备接收到第二电子设备回传的付款码界面之后,第一电子设备的用户(被共享者)可以在第一电子设备上查看第二电子设备共享的付款码界面,并且可以在该付款码界面上进行自主操作。如此,用户可以根据实际使用需求,自主地选择付款方式,从而提升了通过电子设备共享付款的灵活性。
需要强调的是,本发明实施例的重点在于第一电子设备与第二电子设备对于同一界面的协同式操作。以选择付款方式为例,例如,第一电子设备的用户可以在共享的付款码界面上选择付款方式。示例性的,第一电子设备可以选择在付款时是使用余额进行支付或是采用某张银行卡进行支付,这样可以极大地增加第一电子设备的用户的操作自主性。如此,可以提升电子设备之间共享付款的灵活性和便捷性。
步骤209、第二电子设备将付款方式更新为目标付款方式。
本发明实施例中,由于第一电子设备与第二电子设备可以对于付款码界面进行协同式操作,因此,在第一电子设备上的共享付款的付款方式更新显示的情况下,第二电子设备上的共享付款的付款方式相应地同步更新。如此,可以实现电子设备之间共享付款的便捷性。
需要说明的是,本发明实施例可以不限定步骤208和步骤209的执行顺序。即本发明实施例可以先执行步骤208,后执行步骤209;也可以先执行步骤209,后执行步骤208;还可以同时执行步骤208和步骤209。可以理解,上述图7是同时执行步骤208和步骤209为例示意的。
通过该方案,用户可以根据实际使用需求,自主地选择付款方式,从而提升了通过电子设备共享付款的灵活性和便捷性。
进一步可选地,本发明实施例中,本发明实施例提供的付款码共享方法还可以包括下述的步骤211或步骤212。
步骤211、在通过第一付款码付款的付款方式更新为目标付款方式时,第一电子设备将第一付款码更新为第二付款码。
其中,该目标付款方式为通过该第二付款码付款的付款方式。
步骤212、在预设时长之后,第一电子设备将第一付款码更新为第二付款码。
本发明实施例中,上述预设时长可以为系统预设的时长,也可以为用户自定义设置的时长。例如,上述预设时长可以为10秒,或者可以为1分钟,或者可以为其它任意可能的时长,具体可以根据实际使用需求确定,本发明实施例不作限定。
通过该方案,用户可以根据实际使用需求,自主地选择付款方式,从而提升了通过电子设备共享付款的灵活性和便捷性。
进一步可选地,本发明实施例中,本发明实施例提供的付款码共享方法还可以包括下述的步骤213。
步骤213、在第一付款码更新为第二付款码的情况下,第一电子设备采用第二付款码进行付款。
本发明实施例中,在第一付款码未被更新的情况下,第一电子设备可以采 用第一付款码进行付款。
本发明实施例中,第一电子设备的用户可以点击付款码界面中的“确认付款”控件,采用第一付款码进行付款。在付款交易完成后,第一电子设备与第二电子设备的此次共享付款的会话结束。示例性的,当第一电子设备完成付款,收到付款成功的消息之后,则第一电子设备可以关闭此次会话,结束与第二电子设备的通信。
可选地,本发明实施例中,在第二电子设备向第一电子设备发送付款码界面之后,第二电子设备可以判断第一电子设备是否成功接收到付款码图片。若第二电子设备判断第一电子设备未成功接收到付款码界面,则第二电子设备可以重新向第一电子设备发送付款码界面。若第二电子设备判断第一电子设备成功接收到付款码界面,则第二电子设备将共享的付款码界面撤销联网权限(例如转成离线模式),以防止被恶意联网转发,造成不必要损失;在此情况下,第一电子设备仍然可以采用第一付款码进行付款。
需要说明的是,分享者可以针对被分享者使用付款码付款设置相应的权限,例如金额权限(在预设金额范围内),密码权限(付款前输入付款密码)等。
如图8所示,本发明实施例提供一种电子设备700,该电子设备700可以包括发送模块701、接收模块702和显示模块703。
发送模块701用于在接收模块接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码。
接收模块702用于在发送模块701向第二电子设备发送付款码共享请求之后,接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码。
显示模块703用于根据接收模块702接收的该第一消息,显示付款码界面。
可选地,本发明实施例中,接收模块702还用于在发送模块701向第二电子设备发送付款码共享请求之前,接收用户在第一电子设备上的第二输入。显示模块703还用于响应于接收模块702接收的该第二输入,显示发起共享界面,该发起共享界面中包括至少一个联系人标识。接收模块702具体用于接收用户 对目标联系人标识的第一输入,该目标联系人标识为显示模块703显示的至少一个联系人标识中的一个。发送模块701具体用于响应于接收模块702接收的该第一输入,向第二电子设备发送付款码共享请求。其中,目标联系人标识对应的用户为第二电子设备的用户。
可选地,本发明实施例中,显示模块703还用于在处理模块704通过第一付款码付款的付款方式更新为目标付款方式时,将第一付款码更新为第二付款码,其中,该目标付款方式为通过第二付款码付款的付款方式;
或者,显示模块703还用于在预设时长之后,将第一付款码更新为第二付款码。
可选地,本发明实施例中,上述付款码界面中还可以包括第一功能控件,该第一功能控件用于基于触发操作更新通过第一付款码付款的付款方式。结合图8,如图9所示,本发明实施例提供的电子设备700还可以包括处理模块704。
在此情况下,接收模块702还用于在显示模块703显示付款码界面之后,接收用户对该第一功能控件的第三输入。处理模块704还用于响应于接收模块702接收的该第三输入,将通过第一付款码付款的付款方式更新为目标付款方式。其中,与第二电子设备上的第一付款码对应的付款方式更新为目标付款方式。
可选地,本发明实施例中,处理模块704用于在显示模块703将第一付款码更新为第二付款码的情况下,采用该第二付款码进行付款。
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
本发明实施例提供的电子设备,可以在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;且根据该第一消息,显示付款码界面。通过该方案,电子设备之间可以共享包括付款码的付款码界面,且付款码界面在发送付款码共享请求的电子设备上显示。如此,在需要用户出示付款码进行付款的 场景中,若用户需要请求别人代付,则用户可以采用其它用户共享的付款码进行付款。如此,本发明实施例可以提升电子设备在采用付款码付款时的便捷性。
图10为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图10所示,该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,射频单元801,用于在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;显示单元806,用于根据射频单元801接收的该第一消息,显示该付款码界面。
本发明实施例提供一种电子设备,该电子设备可以在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,该付款码共享请求用于请求第二电子设备向第一电子设备共享付款码;并接收第二电子设备发送的第一消息,其中,该第一消息用于指示第一电子设备显示第二电子设备所共享的付款码界面,该付款码界面中包括第一付款码;且根据该第一消息,显示付款码界面。通过该方案,电子设备之间可以共享包括付款码的付款码界面,且付款码界面在发送付款码共享请求的电子设备上显示。如此,在需要用户出示付款码进行付款的场景中,若用户需要请求别人代付,则用户可以采用其它用户共享的付款码进行付款。如此,本发明实施例可以提升电子设备在采用付款码付款时的便捷性。
应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810 处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。
电子设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与电子设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。
电子设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在电子设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元 806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。
用户输入单元807可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图10中,触控面板8071与显示面板8061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元808为外部装置与电子设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备800内的一个或多个元件或者可以用于在电子设备800和外部装置 之间传输数据。
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器810是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器810可包括一个或多个处理单元;可选地,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
电子设备800还可以包括给各个部件供电的电源811(比如电池),可选地,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备800包括一些未示出的功能模块,在此不再赘述。
可选地,本发明实施例还提供一种电子设备,包括如图10所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述付款码共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述付款码共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意 在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例公开的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (14)

  1. 一种付款码共享方法,应用于第一电子设备,所述方法包括:
    在接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,所述付款码共享请求用于请求所述第二电子设备向所述第一电子设备共享付款码;
    接收所述第二电子设备发送的第一消息,其中,所述第一消息用于指示所述第一电子设备显示所述第二电子设备所共享的付款码界面,所述付款码界面中包括第一付款码;
    根据所述第一消息,显示所述付款码界面。
  2. 根据权利要求1所述的方法,其中,在所述在接收到第一输入的情况下,向第二电子设备发送付款码共享请求之前,所述方法还包括:
    接收用户在所述第一电子设备上的第二输入;
    响应于所述第二输入,显示发起共享界面,所述发起共享界面中包括至少一个联系人标识;
    所述在接收到第一输入的情况下,向所述第二电子设备发送付款码共享请求,包括:
    接收用户对目标联系人标识的第一输入,所述目标联系人标识为所述至少一个联系人标识中的一个;
    响应于所述第一输入,向所述第二电子设备发送所述付款码共享请求;
    其中,所述目标联系人标识对应的用户为所述第二电子设备的用户。
  3. 根据权利要求1所述的方法,其中,所述付款码界面中还包括第一功能控件,所述第一功能控件用于基于触发操作更新通过所述第一付款码付款的付款方式;
    在所述显示所述付款码界面之后,所述方法还包括:
    接收用户对所述第一功能控件的第三输入;
    响应于所述第三输入,将通过所述第一付款码付款的付款方式更新为目标付款方式;
    其中,与所述第二电子设备上的所述第一付款码对应的付款方式更新为所述目标付款方式。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    在通过所述第一付款码付款的付款方式更新为所述目标付款方式时,将所述第一付款码更新为第二付款码,其中,所述目标付款方式为通过所述第二付款码付款的付款方式;
    或者,
    在预设时长之后,将所述第一付款码更新为第二付款码。
  5. 根据权利要求4中所述的方法,其中,所述方法还包括:
    在所述第一付款码更新为第二付款码的情况下,采用所述第二付款码进行付款。
  6. 一种电子设备,所述电子设备为第一电子设备,所述电子设备包括发送模块、接收模块和显示模块;
    所述发送模块,用于在所述接收模块接收到第一输入的情况下,向第二电子设备发送付款码共享请求,其中,所述付款码共享请求用于请求所述第二电子设备向所述第一电子设备共享付款码;
    所述接收模块,用于在所述发送模块向第二电子设备发送付款码共享请求之后,接收所述第二电子设备发送的第一消息,其中,所述第一消息用于指示所述第一电子设备显示所述第二电子设备所共享的付款码界面,所述付款码界面中包括第一付款码;
    所述显示模块,用于根据所述接收模块接收的所述第一消息,显示所述付款码界面。
  7. 根据权利要求6所述的电子设备,其中,所述接收模块,还用于在所述发送模块向第二电子设备发送付款码共享请求之前,接收用户在所述第一电子设备上的第二输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,显示发起共享界面,所述发起共享界面中包括至少一个联系人标识;
    所述接收模块,具体用于接收用户对目标联系人标识的第一输入,所述目标联系人标识为所述显示模块显示的所述至少一个联系人标识中的一个;
    所述发送模块,具体用于响应于所述接收模块接收的所述第一输入,向所 述第二电子设备发送所述付款码共享请求;
    其中,所述目标联系人标识对应的用户为所述第二电子设备的用户。
  8. 根据权利要求6所述的电子设备,其中,所述付款码界面中还包括第一功能控件,所述第一功能控件用于基于触发操作更新通过所述第二付款码付款的付款方式;所述电子设备还包括处理模块;
    所述接收模块,还用于在所述显示模块显示所述付款码界面之后,接收用户对所述第一功能控件的第三输入;
    所述处理模块,还用于响应于所述接收模块接收的所述第三输入,将通过所述第一付款码付款的付款方式更新为目标付款方式;
    其中,与所述第二电子设备上的所述第一付款码对应的付款方式更新为所述目标付款方式。
  9. 根据权利要求8所述的电子设备,其中,所述显示模块,还用于在所述处理模块通过所述第一付款码付款的付款方式更新为所述目标付款方式时,将所述第一付款码更新为第二付款码,其中,所述目标付款方式为通过所述第二付款码付款的付款方式;
    或者,
    所述显示模块,还用于在预设时长之后,将所述第一付款码更新为第二付款码。
  10. 根据权利要求9所述的电子设备,其中,所述处理模块,用于在所述显示模块将所述第一付款码更新为第二付款码的情况下,采用所述第二付款码进行付款。
  11. 一种电子设备,所述电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的付款码共享方法的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的付款码共享方法的步骤。
  13. 一种计算机程序产品,其特征在于,所述程序产品被至少一个处理器 执行以实现如权利要求1至5中任一项所述的方法。
  14. 一种付款码共享装置/设备,其特征在于,包括所述装置/设备被配置成用于执行如权利要求1至5中任一项所述的付款码共享方法。
PCT/CN2020/131159 2019-11-28 2020-11-24 付款码共享方法及电子设备 WO2021104261A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911195310.2A CN111027963A (zh) 2019-11-28 2019-11-28 一种付款码共享方法及电子设备
CN201911195310.2 2019-11-28

Publications (1)

Publication Number Publication Date
WO2021104261A1 true WO2021104261A1 (zh) 2021-06-03

Family

ID=70207031

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131159 WO2021104261A1 (zh) 2019-11-28 2020-11-24 付款码共享方法及电子设备

Country Status (2)

Country Link
CN (1) CN111027963A (zh)
WO (1) WO2021104261A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111027963A (zh) * 2019-11-28 2020-04-17 维沃移动通信有限公司 一种付款码共享方法及电子设备
CN112270544A (zh) * 2020-10-26 2021-01-26 维沃移动通信有限公司 支付方法、装置和电子设备
CN112581122A (zh) * 2020-12-25 2021-03-30 维沃移动通信有限公司 显示方法、付款码识别方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228358A (zh) * 2016-07-12 2016-12-14 东芝泰格有限公司 移动支付方法及移动支付系统
CN106447322A (zh) * 2016-09-30 2017-02-22 努比亚技术有限公司 一种移动支付方法和装置
WO2017219988A1 (zh) * 2016-06-24 2017-12-28 华为技术有限公司 一种支付方法、支付终端及代付服务器
CN108629579A (zh) * 2018-04-10 2018-10-09 维沃移动通信有限公司 一种支付方法及移动终端
CN109389393A (zh) * 2018-09-28 2019-02-26 出门问问信息科技有限公司 代付款的方法、装置、电子设备及计算机可读存储介质
CN111027963A (zh) * 2019-11-28 2020-04-17 维沃移动通信有限公司 一种付款码共享方法及电子设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102353281B1 (ko) * 2014-06-12 2022-01-21 에스케이플래닛 주식회사 코드를 이용한 오프라인 결제 서비스 시스템 및 방법
CN105608569A (zh) * 2014-11-24 2016-05-25 阿里巴巴集团控股有限公司 基于支付平台的代付方法及支付平台
CN106934622B (zh) * 2015-12-31 2022-08-09 华为技术有限公司 一种共享账户的方法和装置
CN106960341A (zh) * 2017-03-23 2017-07-18 珠海市魅族科技有限公司 一种支付分享方法及系统
CN108335098B (zh) * 2018-01-24 2023-03-14 创新先进技术有限公司 一种多人付款的方法和装置
CN108764886A (zh) * 2018-04-10 2018-11-06 阿里巴巴集团控股有限公司 二维码图片获取方法、装置以及设备
CN109035636A (zh) * 2018-06-04 2018-12-18 阿里巴巴集团控股有限公司 一种收款设备、一种收款方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219988A1 (zh) * 2016-06-24 2017-12-28 华为技术有限公司 一种支付方法、支付终端及代付服务器
CN106228358A (zh) * 2016-07-12 2016-12-14 东芝泰格有限公司 移动支付方法及移动支付系统
CN106447322A (zh) * 2016-09-30 2017-02-22 努比亚技术有限公司 一种移动支付方法和装置
CN108629579A (zh) * 2018-04-10 2018-10-09 维沃移动通信有限公司 一种支付方法及移动终端
CN109389393A (zh) * 2018-09-28 2019-02-26 出门问问信息科技有限公司 代付款的方法、装置、电子设备及计算机可读存储介质
CN111027963A (zh) * 2019-11-28 2020-04-17 维沃移动通信有限公司 一种付款码共享方法及电子设备

Also Published As

Publication number Publication date
CN111027963A (zh) 2020-04-17

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
US11126981B2 (en) Resource transferring method and apparatus
WO2021082741A1 (zh) 显示方法及电子设备
EP3764253B1 (en) Method for quickly opening application or application function, and terminal
WO2021104261A1 (zh) 付款码共享方法及电子设备
WO2021083087A1 (zh) 截屏方法及终端设备
WO2021109907A1 (zh) 应用分享方法、第一电子设备及计算机可读存储介质
WO2021129762A1 (zh) 应用分享方法、电子设备及计算机可读存储介质
WO2021115359A1 (zh) 界面显示方法及电子设备
WO2020186945A1 (zh) 界面显示方法及终端设备
CN111028052A (zh) 一种界面操作方法及电子设备
US20200257433A1 (en) Display method and mobile terminal
WO2021104230A1 (zh) 同步方法及电子设备
WO2019196691A1 (zh) 一种键盘界面显示方法和移动终端
WO2019174541A1 (zh) 移动终端的操作方法及移动终端
WO2020151525A1 (zh) 消息发送方法及终端设备
WO2020186964A1 (zh) 音频信号的输出方法及终端设备
WO2021057290A1 (zh) 信息控制方法及电子设备
WO2021109959A1 (zh) 应用程序分享方法及电子设备
WO2021190373A1 (zh) 一种交互方法、交互系统和显示设备
CN110941501A (zh) 一种应用共享方法及电子设备
WO2021115220A1 (zh) 信息共享方法、电子设备及计算机可读存储介质
US20210320995A1 (en) Conversation creating method and terminal device
WO2020135175A1 (zh) 信息提醒方法及装置
WO2021078215A1 (zh) 一种云游戏跨终端切换的方法和相关装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20892638

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20892638

Country of ref document: EP

Kind code of ref document: A1