WO2020119486A1 - Method for payment function switching and electronic device - Google Patents

Method for payment function switching and electronic device Download PDF

Info

Publication number
WO2020119486A1
WO2020119486A1 PCT/CN2019/122169 CN2019122169W WO2020119486A1 WO 2020119486 A1 WO2020119486 A1 WO 2020119486A1 CN 2019122169 W CN2019122169 W CN 2019122169W WO 2020119486 A1 WO2020119486 A1 WO 2020119486A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment
area
application
gesture
function
Prior art date
Application number
PCT/CN2019/122169
Other languages
French (fr)
Chinese (zh)
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 WO2020119486A1 publication Critical patent/WO2020119486A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • 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/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3227Aspects of commerce using mobile devices [M-devices] using secure elements embedded in M-devices

Definitions

  • the present invention relates to the field of communication technology, and in particular, to a method for switching payment functions and an electronic device.
  • the present invention provides a method for quickly switching application functions and an electronic device.
  • the technical solution is as follows:
  • an embodiment of the present application provides an electronic device, including: one or more processors; a memory; a touch screen, wherein the touch screen includes a touch-sensitive surface and a display; a camera; and one or more computer programs, wherein The one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the following steps: detect an operation that initiates payment; respond to In the above operation, the payment interface is displayed on the touch screen, wherein the payment interface includes a first area, a second area, and a third area. The first area is used to display at least two payment applications.
  • a payment application is the currently selected payment application; the second area is used to display at least two payment functions supported by the currently selected payment application, and the first payment function of the at least two payment functions supported by the currently selected payment application Is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; the first gesture is detected; in response to the first gesture, the currently selected payment function displayed in the second area is determined by the first The first payment function of the payment application is switched to the second payment function of the first payment application, and the third area is switched to a payment interface displaying the second payment function; detecting a second gesture; in response to the second gesture, The currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, the second area is switched to display at least one payment function supported by the second payment application, and the second payment application supports The third payment function of the at least one payment function is the currently selected payment function, and the third area is switched to a payment interface displaying the third payment function. In this way, users can switch between payment applications and payment functions in one
  • the first region is located at the lower part of the payment interface
  • the third region is located at the upper part of the payment interface
  • the second region is located between the first region and the third region.
  • the first area occupies at most 15% of the display area of the payment interface
  • the second area occupies at most 15% of the display area of the payment interface
  • the third area occupies at least 70% of the display area of the payment interface.
  • the first area further includes a payment application area and a payment application classification area.
  • the payment application classification area includes payment and travel application classifications.
  • the payment application area is used to display the payment application classification area. At least two payment applications included in the selected application category in.
  • the payment application category may include payment applications such as Alipay, WeChat, and Google Pay
  • the travel application category may include travel applications such as Mobike and ofo.
  • the instruction further causes the electronic device to perform the following steps: after the second gesture is detected, before the third area is switched to the payment interface displaying the third payment function: the detection function In the click operation of the third area, in response to the click operation, the third area is switched to a payment interface displaying the third payment function.
  • the payment interface displayed on the touch screen further includes a fourth area, the fourth area is located at the lower portion of the first area, or the fourth area is located at the upper portion of the third area.
  • the currently selected payment application in the first area uses a different display method from the unselected payment application, and the display method includes highlighting, changing color, bolding, or enlarging the first area.
  • the icon or name of the currently selected payment application; and, the currently selected payment function in the second area uses a different display method from the unselected payment function.
  • the above display methods include highlighting, changing colors, bolding, or enlarging the second The name or icon of the currently selected payment function in the area.
  • the first gesture is a left-right sliding gesture
  • the second gesture is an up-down sliding gesture
  • the first gesture is an up-down sliding gesture
  • the second gesture is a left-right sliding gesture.
  • the instruction further causes the electronic device to perform the following steps: after displaying the payment interface before detecting the first gesture, before detecting the first gesture, it is not detected within a preset time Any touch operation displays a message prompting the user to swipe to switch payment applications or swipe to switch payment functions.
  • the operation of initiating payment may be that the user double-clicks the volume key or clicks an independent physical key.
  • the advantage of this method is that the user can quickly enter the payment interface without looking for the icon corresponding to the payment interface.
  • the operation of initiating payment may also be that the user's finger draws a graph on the touch screen.
  • the above graphic may be a zigzag, a rectangle, or a circle, etc.
  • the graphic drawn by the user on the touch screen with a finger may not be a standard shape, and only needs to be similar.
  • the electronic device determines whether the user draws a graph on the touch screen of the electronic device through the finger.
  • the payment interface displayed in the third area may be a code scanning interface or a payment interface.
  • the above-mentioned embodiments may be integrated with the first aspect, or may be integrated with the second aspect.
  • an embodiment of the present application provides a payment method.
  • the method includes: detecting an operation to initiate payment; in response to the operation, displaying a payment interface, where the payment interface includes a first area, a second area, and a third Area, the first area is used to display at least two payment applications, the first payment application of the at least two payment applications is the currently selected payment application; the second area is used to display at least the currently selected payment application supports at least Two payment functions, the first payment function of the at least two payment functions supported by the currently selected payment application is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; Gesture; in response to the first gesture, the currently selected payment function displayed in the second area is switched from the first payment function of the first payment application to the second payment function of the first payment application, and the third area is switched to Display the payment interface of the second payment function; detect a second gesture; in response to the second gesture, the currently selected payment application displayed in the first area is switched from the first payment application to the second payment application,
  • the first region is located at the lower part of the payment interface
  • the third region is located at the upper part of the payment interface
  • the second region is located between the first region and the third region.
  • the first area occupies at most 15% of the display area of the payment interface
  • the second area occupies at most 15% of the display area of the payment interface
  • the third area occupies at least 70% of the display area of the payment interface.
  • the first area further includes a payment application area and a payment application classification area.
  • the payment application classification area includes payment and travel application classifications.
  • the payment application area is used to display the payment application classification area. At least two payment applications included in the selected application category in.
  • the payment application category may include payment applications such as Alipay, WeChat, and Google Pay
  • the travel application category may include travel applications such as Mobike and ofo.
  • the method further includes: detecting a ticket that acts on the third area In response to the click operation, the third area switches to a payment interface displaying the third payment function.
  • the payment interface further includes a fourth area, the fourth area is located at the lower portion of the first area, or the fourth area is located at the upper portion of the third area.
  • the currently selected payment application in the first area uses a different display method from the unselected payment application, and the display method includes highlighting, changing color, bolding, or enlarging the first area.
  • the icon or name of the currently selected payment application; and, the currently selected payment function in the second area uses a different display method from the unselected payment function.
  • the above display methods include highlighting, changing colors, bolding, or enlarging the second The name or icon of the currently selected payment function in the area.
  • the first gesture is a left-right sliding gesture
  • the second gesture is an up-down sliding gesture
  • the first gesture is an up-down sliding gesture
  • the second gesture is a left-right sliding gesture.
  • an embodiment of the present application provides an electronic device, including a detection module for detecting a payment start operation; a display module for displaying a payment interface, wherein the payment interface includes a first area, a second area and The third area, the first area is used to display at least two payment applications, the first payment application of the at least two payment applications is the currently selected payment application; the second area is used to display the currently selected payment application support At least two payment functions, the first payment function of the at least two payment functions supported by the currently selected payment application is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; detection The module is also used to detect a first gesture; the switching module is used to switch the currently selected payment function displayed in the second area from the first payment function of the first payment application to the first in response to the first gesture The second payment function of the payment application switches the third area to a payment interface displaying the second payment function; the detection module is also used to detect a second gesture; the switch module is used to respond to the second gesture, Switching
  • the first region is located at the lower part of the payment interface
  • the third region is located at the upper part of the payment interface
  • the second region is located between the first region and the third region.
  • the first area further includes a payment application area and a payment application classification area.
  • the payment application classification area includes payment and travel application classifications.
  • the payment application area is used to display the payment application classification area. At least two payment applications included in the selected application category in.
  • the method further includes: detecting a ticket that acts on the third area In response to the click operation, the third area switches to a payment interface displaying the third payment function.
  • the payment interface further includes a fourth area, the fourth area is located at the lower portion of the first area, or the fourth area is located at the upper portion of the third area.
  • the currently selected payment application in the first area uses a different display method from the unselected payment application, and the display method includes highlighting, changing color, bolding, or enlarging the first area.
  • the icon or name of the currently selected payment application; and, the currently selected payment function in the second area uses a different display method from the unselected payment function.
  • the above display methods include highlighting, changing colors, bolding, or enlarging the second The name or icon of the currently selected payment function in the area.
  • the first gesture is a left-right sliding gesture
  • the second gesture is an up-down sliding gesture
  • the first gesture is an up-down sliding gesture
  • the second gesture is a left-right sliding gesture
  • an embodiment of the present application further provides a computer-readable storage medium that, when the computer program product runs on an electronic device, causes the electronic device to perform the second aspect or any one of the second aspect of the embodiment of the present application Payment methods provided by various implementation methods.
  • both the electronic device provided in the third aspect and the computer storage medium provided in the fourth aspect are used to perform the method of locking the touch operation provided in the second aspect, and therefore, the benefits it can achieve For the effect, refer to the beneficial effect in the payment method provided in the second aspect, which will not be repeated here.
  • 1 is a schematic diagram of the hardware structure of an electronic device in some embodiments.
  • 2A to 2C are schematic diagrams of graphical user interfaces of sub-screens of the main screen in some embodiments.
  • 3A and 3B are schematic diagrams of some scenarios of switching payment functions in the prior art
  • 4A to 4J are schematic diagrams of scenes of quickly switching payment functions in some embodiments.
  • 5A to 5C are schematic diagrams of the payment process in some embodiments.
  • FIG. 6 is a schematic diagram of a scene of a help interface in some embodiments.
  • FIG. 8 is a schematic diagram of a scenario of quickly switching payment functions in some embodiments.
  • FIG. 9 is a schematic diagram of a scenario of quickly switching payment functions in some embodiments.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device in some embodiments.
  • the electronic device may be a portable electronic device that also includes other functions such as personal digital assistant and/or music player functions, such as a mobile phone, a tablet computer, and a wearable electronic device with wireless communication functions (such as smart Watch) etc.
  • portable electronic devices include, but are not limited to Or portable electronic devices of other operating systems.
  • the above portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (for example, a touch panel) and the like. It should also be understood that in some other embodiments of the present application, the foregoing electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (such as a touch panel).
  • the electronic device in the embodiment of the present application may be an electronic device 100.
  • the following uses the electronic device 100 as an example to describe the embodiment in detail. It should be understood that the illustrated electronic device 100 is only an example of the electronic device, and the electronic device 100 may have more or fewer components than shown in the figure, and two or more components may be combined, Or it can have different component configurations.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the electronic device 100 may specifically include: one or more processors 101, radio frequency (RF) circuits 102, memory 103, touch screen 104, Bluetooth device 105, one or more sensors 106, WI- The FI device 107, the positioning device 108, the audio circuit 109, the peripheral interface 110, and the power supply system 111 are components. These components can communicate through one or more communication buses or signal lines (not shown in FIG. 1). Those skilled in the art may understand that the hardware structure shown in FIG. 1 does not constitute a limitation on the electronic device 100, and the electronic device 100 may include more or fewer components than those illustrated, or combine certain components, or different Parts layout.
  • RF radio frequency
  • the processor 101 is a control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the electronic device 100, by running or executing an application program (Application, App for short) stored in the memory 103, and calling the stored in the memory 103
  • the data and instructions within it perform various functions and process data of the electronic device 100.
  • the processor 101 may include one or more processing units; the processor 101 may also integrate an application processor and a modem processor; wherein, the application processor mainly processes an operating system, a user interface, and application programs, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 101.
  • the processor 101 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
  • the processor 101 may further include a fingerprint verification chip, which is used to verify the collected fingerprints.
  • the radio frequency circuit 102 can be used for receiving and sending wireless signals during the process of receiving and sending information or talking.
  • the radio frequency circuit 102 may receive the downlink data of the base station and process it to the processor 101; in addition, send the data related to the uplink to the base station.
  • the radio frequency circuit 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 circuit 102 can also communicate with other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to global mobile communication system, general packet radio service, code division multiple access, broadband code division multiple access, long-term evolution, e-mail, and short message service.
  • the memory 103 is used to store application programs and data, and the processor 101 executes various functions and data processing of the electronic device 100 by running the application programs and data stored in the memory 103.
  • the memory 103 mainly includes a storage program area and a storage data area, where the storage program area can store an operating system and at least one function required application programs (such as sound playback function, image playback function, etc.); the storage data area can store according to the use of electronic Data created by the device 100 (such as audio data, phonebook, etc.).
  • the memory 103 may include a high-speed random access memory, and may also include a non-volatile memory, such as a magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the memory 103 can store various operating systems, such as developed by Apple Operating system, developed by Google Operating system, etc.
  • the touch screen 104 may include a touch-sensitive surface 104-1 and a display 104-2.
  • the touch-sensitive surface 104-1 (such as a touch panel) can collect touch events on or near the user of the electronic device 100 (such as the user using a finger, a stylus, or any other suitable object on the touch-sensitive surface 104-1 Operation on or near the touch-sensitive surface 104-1), and send the collected touch information to other devices such as the processor 101.
  • the user's touch event near the touch-sensitive surface 104-1 can be called floating touch; floating touch can mean that the user does not need to directly touch the touchpad in order to select, move, or drag an object (such as an icon, etc.) , And only need the user to be near the electronic device in order to perform the desired function.
  • floating touch can mean that the user does not need to directly touch the touchpad in order to select, move, or drag an object (such as an icon, etc.) , And only need the user to be near the electronic device in order to perform the desired function.
  • the terms "touch”, “contact”, etc. do not imply direct contact with the touch screen 104, but contact near or close to it.
  • the touch-sensitive surface 104-1 capable of floating touch can be realized by capacitive, infrared light sensing, and ultrasonic waves.
  • the touch-sensitive surface 104-1 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then It is sent to the processor 101, and the touch controller can also receive the instruction sent by the processor 101 and execute it.
  • the touch-sensitive surface 104-1 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the display (also referred to as a display screen) 104-2 may be used to display information input by the user or provided to the user and various menus of the electronic device 100.
  • the display 104-2 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touch-sensitive surface 104-1 may be overlaid on the display 104-2. When the touch-sensitive surface 104-1 detects a touch event on or near it, it is transmitted to the processor 101 to determine the type of touch event, and then the processor 101 may provide corresponding visual output on the display 104-2 according to the type of touch event.
  • the touch-sensitive surface 104-1 and the display screen 104-2 are implemented as two independent components to implement the input and output functions of the electronic device 100, in some embodiments, the touch-sensitive surface 104 -1 is integrated with the display screen 104-2 to realize the input and output functions of the electronic device 100.
  • the touch screen 104 is formed by stacking multiple layers of materials. Only the touch-sensitive surface (layer) and the display screen (layer) are shown in the embodiments of the present application, and other layers are not described in the embodiments of the present application.
  • the touch-sensitive surface 104-1 may cover the display 104-2, and the size of the touch-sensitive surface 104-1 is larger than the size of the display screen 104-2, so that the display screen 104- 2 All covered under the touch-sensitive surface 104-1, or the touch-sensitive surface 104-1 can be arranged on the front of the electronic device 100 in the form of a full plate, that is, the user's touch on the front of the electronic device 100 can be used by the electronic device Perception, so you can achieve a full touch experience on the front of the electronic device.
  • the touch-sensitive surface 104-1 is arranged on the front of the electronic device 100 in the form of a full board, and the display screen 104-2 may also be arranged on the front of the electronic device 100 in the form of a full board.
  • the front side can achieve a frameless structure.
  • the touch screen 104 may further include a series of pressure sensor arrays, which can sense the pressure applied to the display screen 104-2 or the touch-sensitive surface 104-1 by the touch event on the touch screen.
  • the electronic device 100 may also have a fingerprint recognition function.
  • the fingerprint reader 112 may be arranged on the back of the electronic device 100 (for example, below the rear camera), or on the front of the electronic device 100 (for example, below the touch screen 104).
  • the fingerprint recognition function can also be implemented by configuring the fingerprint recognizer 112 in the touch screen 104, that is, the fingerprint recognizer 112 can be integrated with the touch screen 104 to realize the fingerprint recognition function of the electronic device 100.
  • the fingerprint reader 112 may be configured in the touch screen 104, may be a part of the touch screen 104, or may be configured in the touch screen 104 in other ways.
  • the fingerprint recognizer 112 can also be implemented as a full-board fingerprint recognizer. Therefore, the touch screen 104 can be regarded as a panel that can perform fingerprint collection at any location.
  • the fingerprint recognizer 112 may send the collected fingerprint to the processor 101, so that the processor 101 processes the fingerprint (eg, fingerprint verification, etc.).
  • the main component of the fingerprint reader 112 in the embodiment of the present application is a fingerprint sensor, which may use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric, or ultrasonic sensing technology.
  • the electronic device 100 may further include a Bluetooth device 105 for implementing data exchange between the electronic device 100 and other short-range electronic devices (such as mobile phones, smart watches, etc.).
  • the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip.
  • the electronic device 100 may further include at least one sensor 106, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 104 according to the brightness of the ambient light, and the proximity sensor may turn off the display when the electronic device 100 moves to the ear power supply.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when at rest. It can be used for applications that recognize the posture of tablet computers (such as horizontal and vertical screen switching, Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.
  • other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. This will not be repeated.
  • the WI-FI device 107 is used to provide the electronic device 100 with network access following the WI-FI related standard protocol.
  • the electronic device 100 can be connected to the WI-FI access point through the WI-FI device 107, thereby helping the user to send and receive electronic It provides users with wireless broadband Internet access such as mail, web browsing, and streaming media access.
  • the WI-FI device 107 may also serve as a WI-FI wireless access point, and may provide WI-FI network access for other electronic devices.
  • the positioning device 108 is used to provide a geographic location for the electronic device 100. It can be understood that the positioning device 108 may specifically be a receiver of a positioning system such as a global positioning system (GPS), a Beidou satellite navigation system, or the like. After receiving the geographical position sent by the positioning system, the positioning device 108 sends the information to the processor 101 for processing, or sends it to the memory 103 for storage. In some other embodiments, the positioning device 108 may be a receiver of an assisted global positioning system (AGPS). AGPS is an operating mode that performs GPS positioning with certain assistance and cooperation.
  • AGPS assisted global positioning system
  • the signals of the base station and GPS satellite signals can make the positioning of the electronic device 100 faster; in the AGPS system, the positioning device 108 can obtain positioning assistance by communicating with an auxiliary positioning server (such as the positioning server of the electronic device 100) .
  • the AGPS system assists the positioning device 108 to complete ranging and positioning services by acting as an auxiliary server.
  • the auxiliary positioning server communicates with the positioning device 108 (ie, GPS receiver) of an electronic device such as the electronic device 100 through a wireless communication network.
  • the positioning device 108 may also be a positioning technology based on a WI-FI access point.
  • each WI-FI access point has a globally unique MAC address
  • the electronic device can scan and collect the broadcast signals of surrounding WI-FI access points when WI-FI is turned on, so the WI can be obtained -The MAC address broadcast by the FI access point; the electronic device sends the data (such as the MAC address) that can mark the WI-FI access point to the location server through the wireless communication network, and the location server retrieves each WI-FI connection
  • the geographic location of the entry point combined with the strength of the WI-FI broadcast signal, calculates the geographic location of the electronic device and sends it to the positioning device 108 of the electronic device.
  • the audio circuit 109, the speaker 113, and the microphone 114 may provide an audio interface between the user and the electronic device 100.
  • the audio circuit 109 can transmit the converted electrical signal of the received audio data to the speaker 113, which converts the speaker 113 into a sound signal for output; on the other hand, the microphone 114 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 109 After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 102 to be sent to, for example, a mobile phone, or the audio data is output to the memory 103 for further processing.
  • the peripheral interface 110 is used to provide various interfaces for external input/output devices (such as a keyboard, a mouse, an external display, an external memory, a user identification module card, etc.). For example, it is connected to a mouse through a universal serial bus interface, and is connected to a subscriber identification module (SIM) card provided by a telecommunications operator through metal contacts on the card slot of the user identification module card.
  • SIM subscriber identification module
  • the peripheral interface 110 may be used to couple the above-mentioned external input/output peripheral devices to the processor 101 and the memory 103.
  • the electronic device 100 may further include a power supply device 111 (such as a battery and a power management chip) that supplies power to various components.
  • the battery may be logically connected to the processor 101 through the power management chip, thereby managing charge, discharge, and power consumption through the power supply device 111 Management and other functions.
  • the electronic device 100 may further include a camera (front camera and rear camera), a flash, a miniature projection device, a near field communication (NFC) device, etc., which will not be repeated here.
  • a camera front camera and rear camera
  • a flash a miniature projection device
  • NFC near field communication
  • the following embodiments can all be implemented in an electronic device (for example, electronic device 100, mobile phone, etc.) having the above hardware structure.
  • FIGS. 2A to 2C are a series of graphical user interfaces (GUIs) displayed on the touch screen 104 of the electronic device 100, and these GUIs are the home screens of the electronic device.
  • GUIs graphical user interfaces
  • controls are displayed on the touch screen of electronic devices.
  • a control is a type of GUI element.
  • a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements.
  • the user can interact with the control by direct operation (direct mainipulation), so as to read or edit the relevant information of the App corresponding to the control.
  • the home screen of the electronic device can be divided into multiple pages (pages), the following is the number of pages is 3 As an example.
  • the GUI shown in FIG. 2A can be called page 211 of the home screen (Page 211)
  • the GUI shown in FIG. 2B can be called page 212 of the home screen (Page 212)
  • the GUI displayed in FIG. 2C can be called Page 213 (Page 213) of the main screen, each page can include different controls.
  • the GUI may be a page 211 in the main screen of the electronic device.
  • the page 211 is displayed on the touch screen of the electronic device, and specifically includes a status bar 201, a hideable navigation bar 202, a home screen indicator 203, and various icons.
  • a page may include one or more of a status bar, a navigation bar, a home screen indicator, and icons.
  • the home screen indicator 203 is used to prompt the user which page is currently displayed, for example, the indication point corresponding to the currently displayed page is enlarged and displayed.
  • the page 211 includes 5 rows and 4 columns of icons (that is, 20 icons); when the user's finger (or stylus, etc.) touches a position on the touch screen, in response to the touch event, electronic The device can open the graphical user interface of the App corresponding to an App icon. For example, in FIG.
  • the home screen may further include a Dock bar
  • the Dock bar may include icons of commonly used Apps and the like.
  • the home screen key 204 may also be included in the electronic device.
  • the home screen key 204 may be a physical key or a virtual key.
  • the home screen key 204 is used to return the GUI displayed on the touch screen to a certain page of the home screen according to the user's operation, which can facilitate the user to view the home screen and operate the controls (such as icons) on the home screen at any time. For example, the user can set that no matter which GUI is currently displayed, press the home screen key 204 to directly return to the page 212.
  • the above operation may specifically be that the user clicks the home screen key 204, or the user double-clicks the home screen key 204, or the user long presses the home screen key 204 within a predetermined time.
  • the home screen key 204 is a physical key
  • the home screen key 204 may move with the user's pressing, or may not move with the user's pressing.
  • the home screen key 204 may also integrate a fingerprint recognizer 112, so that when the user touches or presses the home screen key 204, the electronic device collects the user's fingerprint to confirm the user's identity.
  • the electronic device may receive user input.
  • the input may be a user's touch operation on the touch screen of the electronic device, or a user's pressing operation on a physical key of the electronic device (such as a long press operation on the home screen key 204, etc.), or the input may be a voice input,
  • the microphone 114 of the electronic device 100 collects a user's voice and converts it into a voice input after processing.
  • the electronic device 100 can recognize the voice input, and then can execute an instruction corresponding to the voice input. It can be understood that the embodiments of the present application do not specifically limit the foregoing input.
  • the whole process requires at least 5 steps. If the user does not know the page where the WeChat icon is located, it will take extra time to find the WeChat icon.
  • Switching payment functions within the same application is also cumbersome. Take the example of switching from WeChat scanning to WeChat payment.
  • the current touch screen displays a WeChat sweep interface.
  • the user clicks the return icon 303 on the WeChat main interface in the upper left corner of the interface, and the touch screen switches from displaying the sweep interface to displaying the WeChat main interface.
  • the embodiments described below can enable the user to complete the payment function switching through a simple gesture in one interface, which is particularly suitable for the case of one-handed operation.
  • FIG. 4A shows the user interface displayed on the touch screen 104.
  • the user interface includes icons such as QQ, Alipay, twitter, and Line.
  • An icon of an application can also be displayed on the user interface, and the user clicks the icon to directly enter the payment interface provided by the embodiment of the present invention.
  • the name of the application may be called quick payment or Huawei payment. This embodiment of the present invention does not limit this.
  • the following uses the name of the application as a quick payment to illustrate the technical solution of the embodiment of the present invention.
  • the user can enter the function interface provided by the embodiment of the present invention through the operation of initiating payment.
  • the operation of initiating payment may be that the user clicks the icon 213 of the quick payment, and in response to the gesture, the electronic device 100 starts the quick payment program and displays a specific interface of the quick payment on the touch screen 104 (as shown in FIG. 4B ).
  • the operation of initiating payment may also be that the user may also press a physical button, such as a physical button located on the left side of the electronic device (not shown in the figure), to initiate quick payment with one key, or based on a preset
  • the gesture enters the payment interface, for example, the user draws the letter P on the touch screen to start the quick payment.
  • the touch screen displays a payment interface.
  • the payment interface may include a first area, a second area, and a third area.
  • the first area may display at least two preset payment application icons
  • the third area may be used to display an interface corresponding to the payment function of the currently selected payment application
  • the second area may be used to display the payment function provided by the payment application.
  • the first area 401 may be located at the upper part of the payment interface
  • the second area 403 may be located at the lower part of the payment interface
  • the third area 402 may be located between the first area 401 and the second area 403.
  • the first area 401 may also be located on the right of the payment interface, the second area 403 may be located on the lower portion of the payment interface, and the third area 402 may be located on the left of the first area, and the second area Above 403.
  • the first area 401 may also be located at the lower part of the payment interface, the third area 402 may be located at the upper part of the payment interface, and the second area 403 may be located at the third area 402 and the middle of the first area 401. It should be noted that the present invention does not limit the position arrangement of the first area, the third area, and the second area.
  • the first area 401 may display at least two payment application icons available for switching.
  • the payment application icons displayed in the first area 401 include Google Pay, WeChat, Alipay, Jingdong, ofo, and the like.
  • the first area 401 further includes a payment application area 441 and a payment application classification area 442.
  • the payment application classification area 442 displays at least two payment application classification names, and the payment application area 441 displays payment applications included in the currently selected payment application classification.
  • the application classification displayed in the application classification area 442 is payment and travel.
  • the currently selected application category is payment
  • the payment applications displayed in the payment application area 441 are Google Pay, WeChat, and Alipay.
  • the payment application area 441 displays payment applications included in travel categories such as ofo and Mobike.
  • the advantage of this method is that when there are many forms and types of payment, users can switch the application category by sliding left or right or clicking to quickly find the corresponding payment application.
  • the user can use his finger to press and hold anywhere on the screen. After a preset time, the application category displayed in the application category area 442 is bolded, prompting the user to switch the application category , While holding the press, switch the application category by sliding left and right.
  • the user when the user performs an application classification switching operation, when the finger continues to press, the user may press up or down, and then release the finger pressing the screen to return to the application classification before switching. In other embodiments, when the user performs an application classification switching operation, when the finger continues to press, the user may continue to slide left and right to return to the application classification before switching.
  • the embodiment of the present invention does not limit the application classification switching gesture.
  • the payment application icon or application category displayed in the first area 401 can be set by the user, or the operating system can display the payment application in the first area 401 according to a preset rule (for example, the operating system according to the user's usage habits, The five payment applications commonly used by users are displayed in the first area 401).
  • a preset rule for example, the operating system according to the user's usage habits, The five payment applications commonly used by users are displayed in the first area 401).
  • the user can switch the payment application through the second gesture.
  • the user may switch between the payment application displayed in the first area 401 by sliding or clicking around the first area 401.
  • the user can switch the currently selected payment application between the payment applications displayed in the first area 401 by sliding left or right at any position on the payment interface.
  • the advantage of this method is that when the first area 401 is not within the suitable operation range of the one-handed thumb, for example, the first area 401 is located at the top of the payment interface, the user can still operate with one hand.
  • the embodiment of the present invention does not limit the sliding area and the second gesture.
  • the user can also switch between the payment applications displayed in the first area 401 by sliding up and down in the first area 401.
  • the icon or name of the payment application may be one or any combination of display methods such as highlighting, bolding, or enlarged display. In the case of using the enlarged display mode, preferably, the magnification of the payment application icon may be 1.1.
  • the currently selected payment application is Alipay
  • the Alipay icon in the first area 401 is enlarged
  • the name of the Alipay application "Alipay" is highlighted.
  • the second area 403 may display the payment function provided by the currently selected payment application.
  • the currently selected payment application is Alipay
  • the second area 403 displays the payment function provided by Alipay, including scan code payment, payment code, and payment Money code, sonic pay, ride code, etc.
  • the currently selected application function icon in the second area 403 may also be one or any combination of display modes such as highlighting, enlarging, or bolding the name to distinguish Unchecked payment function.
  • the user can switch the currently selected payment function through the first gesture.
  • the name "scan code pay" in the second area 403 is highlighted.
  • the user can choose between the payment functions provided by Alipay by swiping up or down or clicking in the second area 403.
  • the user can choose between the payment functions provided by Alipay by sliding up or down at any position on the payment interface.
  • the embodiment of the present invention does not limit the sliding area and the first gesture.
  • the user can also choose between the payment functions provided by the currently selected payment application by sliding around the second area 403.
  • the third area 402 may display the currently selected payment function interface. As shown in FIG.
  • the currently selected payment function is Alipay scan code payment
  • the third area 402 displays the Alipay scan code payment interface.
  • the third zone 402 may be a trusted zone (TrustZone) to meet application payment security specifications.
  • the third zone 402, the second zone 403, and the fourth zone 404 may be TrustZone.
  • the payment interface is provided with a default payment application.
  • Each payment application has a default payment function.
  • the currently selected payment application is the default payment application, and the currently selected payment function is the default payment function of the payment application.
  • Alipay is the default payment application
  • scan code payment is the default payment function of Alipay.
  • the currently selected payment application is the Alipay application
  • the currently selected payment function is the Alipay scan code payment function.
  • the default payment function of the switched payment application is set to the currently selected payment function. For example, assume that the default payment function of WeChat is the code scanning function.
  • the currently selected payment function is the WeChat code scanning function.
  • the default payment application and the default payment function of the payment application can be set by the user, or can be set to the payment application and payment function selected at the last exit, or can be automatically set by the electronic device 100 according to the frequency of use by the user.
  • the specific setting method is not limited in the embodiment of the present invention.
  • the electronic device 100 starts the currently selected payment application, retrieves the interface of the currently selected payment function, and displays the payment function interface on the third Area 402.
  • the currently selected payment application is Alipay
  • the currently selected payment function is Alipay scan code payment.
  • the electronic device 100 starts the Alipay application.
  • the interface for calling the Alipay scan code payment function is displayed in the third area 402.
  • the currently selected payment application is switched from Alipay to WeChat
  • the electronic device 100 starts the WeChat application
  • the interface for calling the WeChat code scanning function is displayed in the third area 402
  • the touch screen 104 displays the The interface is shown in Figure 4G.
  • the electronic device 100 retrieves the interface of the switched payment function and displays the interface of the payment function in the third area 402.
  • the currently selected payment function is Alipay’s scan code payment.
  • the interface displayed on the touch screen 104 is shown in FIG. 4H.
  • the third The content displayed in the area 402 is switched from the Alipay scan code payment interface to the Alipay payment code interface.
  • the area 402 when it is detected that the user starts the quick payment application or switches between different payment applications, the area 402 does not immediately display the corresponding payment function interface.
  • the electronic device 100 starts the currently selected payment application, retrieves the interface of the currently selected payment function, and displays the interface of the payment function in the third area 402.
  • the area 402 when the user switches between different payment functions of the same payment application, the area 402 does not immediately display the corresponding payment function.
  • the electronic device 100 initiates an interface to retrieve the currently selected payment function, and displays the payment function interface in the third area 402.
  • the electronic device 100 Before detecting the click gesture 420, the electronic device 100 does not start the currently selected payment application, and the third area 402 may not display any content.
  • the currently selected payment application is Alipay
  • the currently selected payment function is Alipay scan code payment.
  • the area 402 displays blank content.
  • the electronic device 100 starts the Alipay application, and calls the Alipay scan code payment function to display the Alipay scan code payment function in the area 402 .
  • the advantage of this operation method is to improve the fluency of the electronic device 100.
  • the payment interface further includes a fourth area 404.
  • the fourth area 404 may include a help sign.
  • the currently selected payment application is Alipay
  • the fourth area 404 is located below the second area 403 and includes a help sign 431. It is detected that the user clicks the help mark 431 to start the help function of Alipay, and the touch screen 104 switches from the payment interface to the interface shown in FIG. 6.
  • the third area 402, the second area 403, and the fourth area 404 in the payment interface display the Alipay customer service interface. If the user wants to return to the payment interface shown in FIG. 4B, he can swipe right on the interface shown in FIG. 6 to switch the interface displayed on the touch screen 104 from the Alipay customer service interface to the payment interface (as shown in FIG. 4B).
  • operation prompt information may be displayed.
  • the first area 401 and the second area 403 may display an arrow 421, prompting the user to slide left and right to switch the currently selected payment application, and slide up and down to switch the currently selected payment function.
  • the prompt information may be text, animation, and so on.
  • the interface displayed on the touch screen 104 is a payment interface
  • the currently selected payment application is Alipay
  • the currently selected payment function is Alipay scan code payment
  • the third area 402 displays the Alipay scan code payment interface.
  • the WeChat application icon in the first area 401 is enlarged, and the name "WeChat” of the WeChat application is highlighted.
  • the Alipay application icon is reduced, and the Alipay application name "Alipay” is not highlighted.
  • the display style of the Alipay application icon and name is the same as other unselected applications.
  • the third area 402 displays the interface of the WeChat code scanning function.
  • the second area 403 displays the payment function provided by WeChat. It can be understood that, in the interface shown in FIG. 4B, when the user swipes to the left with his finger, the currently selected payment application can be switched from Alipay to Jingdong. In the interface shown in Figure 4G, if the user continues to swipe to the right, the currently selected payment application can be switched from WeChat to Google Pay.
  • the switch from the Alipay application to the WeChat application as an example, as shown in FIG. 4F, when a swipe gesture 411 is detected to the right, the Alipay icon in the first area 401 gradually shrinks, and the WeChat icon gradually becomes larger.
  • the Alipay scanning interface displayed in the third area 402 moves to the right gradually disappears, the WeChat scanning interface gradually expands to the right, and the display content in the third area 402 gradually transitions from the Alipay scanning interface to the WeChat scanning interface.
  • the second area 403 shows that the content gradually transitions from the payment function provided by Alipay to the payment function provided by WeChat.
  • the gesture 411 It is detected that the gesture 411 is released, the name "Alipay" of the Alipay application in the first area stops highlighting, the name "WeChat” of the WeChat application is highlighted, and the icon of the WeChat application is enlarged.
  • the third area stops displaying the Alipay scan code payment interface, and displays the WeChat scan code interface, and the second area stops displaying the payment functions provided by Alipay, and displays the payment functions provided by WeChat.
  • the currently selected payment application is Alipay
  • adjacent applications of Alipay such as WeChat and Jingdong, may be preloaded.
  • the advantage of this method is that in the case of preloading, the user switches more quickly, and at the same time, the resources required to switch the animation can also be obtained in the preloaded application.
  • the user wants to switch the payment function within the same application, as shown in FIG. 4D, the user makes a gesture 413 of sliding up, and in response to the gesture 413, the electronic device 100 calls the Alipay payment code function interface. Detecting that the gesture 413 is released, the electronic device 100 switches the shortcut interface shown in FIG. 4D displayed on the touch screen 104 to the shortcut interface shown in FIG. 4H. As shown in FIG. 4H, the third area 402 displays the Alipay payment code interface. The payment code in the second area is highlighted, and the scan code payment stops highlighting. The content displayed in the first area 401 remains unchanged. It can be understood that, in the interface shown in FIG.
  • the currently selected payment function when the user swipes down with his finger, the currently selected payment function can be switched from Alipay scan code payment to Alipay ride code.
  • the currently selected payment function can be switched from the Alipay payment code to the Alipay collection code.
  • the user can also switch the payment application by clicking the payment application icon.
  • the user makes a click gesture 416, and in response to the gesture 416, as shown in FIG. 4G, the currently selected payment application is switched from the Alipay application to the WeChat application.
  • the user can also switch the payment function by clicking the payment function icon.
  • the user makes a click gesture 417, and in response to the gesture 417, the currently selected payment function is switched from scanning code payment to sonic payment.
  • One-click switching is faster than sliding switching. As shown in FIG. 4C, assuming that the user wants to switch to the ofo application and adopts the sliding switching method, it needs to slide to the left twice.
  • the third area 402 displays the Alipay scan code payment interface.
  • the electronic device 100 detects the Alipay QR code through the camera, it transmits the payment information contained in the QR code to the Alipay application, and the interface displayed on the touch screen 104 switches from the payment interface shown in FIG. 4B to the payment shown in FIG. 5A Interface, where the third area 402, the second area 403, and the fourth area 404 display the payment interface generated by Alipay according to the payment information.
  • the user may make a click gesture 419 upon confirming the payment icon, and in response to the gesture 419, the third area 402, the second area 403, and the fourth area 404 display a fingerprint or password verification interface. After the verification is successful, if the payment is successful, the third area 402, the second area 403, and the fourth area 404 display the payment success interface (as shown in FIG. 5B). If the payment fails, the third area 402, the second area 403, and the fourth area 404 display the payment failure interface (as shown in FIG. 5C). In some embodiments, as shown in FIGS. 5A to 5C, if the user makes a swipe right gesture 418, in response to the gesture 418, the interface displayed on the touch screen 104 switches to the payment interface shown in FIG. 4B.
  • the electronic device 100 after detecting the Alipay QR code through the camera, transmits the payment information contained in the QR code to the Alipay application, and displays the Alipay application interface. Users can complete payment operations on the Alipay application interface.
  • an embodiment of the present application discloses an electronic device 1000.
  • the electronic device 1000 may include: a touch screen 1011, a processor 1012, a memory 1013, a camera 1015, and one or more communication buses connected to the above devices 1014.
  • the electronic device 1000 in the embodiment of the present application may be used to execute the technical solutions in the embodiments corresponding to FIGS. 4A to 9 and their extended embodiments
  • an electronic device may include: a touch screen, wherein the touch screen includes a touch-sensitive surface (such as a touch panel) and a display; one or more processors; a memory; Camera; and one or more programs, wherein the one or more programs are stored in the memory, the one or more programs include instructions, when the instructions are executed by the electronic device, the electronic device causes the electronic device to perform the following steps:
  • Detecting an operation to initiate payment in response to the above operation, displaying a payment interface on the touch screen, wherein the payment interface includes a first area, a second area, and a third area, and the first area is used to display at least two payment applications,
  • the first payment application of the at least two payment applications is the currently selected payment application;
  • the second area is used to display at least two payment functions supported by the currently selected payment application, and at least two of the currently selected payment application support
  • the first payment function in the payment function is the currently selected payment function;
  • the third area is used to display the payment interface of the currently selected payment function;
  • the first gesture is detected; in response to the first gesture, the current display in the second area
  • the selected payment function is switched from the first payment function of the first payment application to the second payment function of the first payment application, and the third area is switched to a payment interface displaying the second payment function; detecting a second gesture ;
  • the currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, and
  • the first area may further include a payment application area and a payment application classification area.
  • the payment application classification area includes payment and travel application classifications.
  • the payment application area is used to display the payment At least two payment applications included in the selected application category in the application category area. In this way, when there are many payment applications, it is convenient for users to quickly switch between payment applications and payment functions.
  • the first region is located at the lower part of the payment interface
  • the third region is located at the lower part of the payment interface
  • the third region is located at the upper part of the payment interface
  • the second region is located at the first region And in the middle of the third area above.
  • when the above-mentioned instruction can also cause the above-mentioned electronic device to perform the following steps: after the above-mentioned detection of the second gesture, before the above-mentioned third area is switched to display the payment interface of the third payment function : Detect a click operation on the third area, and in response to the click operation, the third area switches to a payment interface displaying the third payment function.
  • the first gesture is a left-right sliding gesture
  • the second gesture is an up-down sliding gesture
  • the first gesture is an up-down sliding gesture
  • the second gesture is a left-right sliding gesture
  • An embodiment of the present application provides an electronic device.
  • the electronic device may include a display module, a detection module, and a switching module.
  • the embodiments corresponding to FIGS. 4A to 9 and the technical solutions in their extended embodiments may be implemented in the electronic device.
  • the detection module is used to detect the operation of starting payment;
  • the display module is used to display the payment interface, wherein the payment interface includes a first area, a second area, and a third area, and the first area is used to display At least two payment applications, the first payment application of the at least two payment applications is the currently selected payment application;
  • the second area is used to display at least two payment functions supported by the currently selected payment application, so The first payment function of the at least two payment functions supported by the currently selected payment application is the currently selected payment function;
  • the third area is used to display the payment interface of the currently selected payment function;
  • the detection module is also used to detect A first gesture; a switching module for switching the currently selected payment function displayed in the second area from the first payment function of the first payment
  • An embodiment of the present application provides a computer storage medium, and the computer storage medium may include computer instructions.
  • the computer instructions run on the electronic device, the electronic device is caused to execute the technical solutions in the embodiments corresponding to FIGS. 4A to 9 and their extended embodiments.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid-state hard disk), or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a method for payment function switching and an electronic device. The method comprises: detecting an operation for starting payment; displaying a payment interface, the payment interface comprising a first region, a second region, and a third region, the first region displaying a first payment application and a second payment application, the first payment application being the currently selected payment application; the second region displaying a first payment function and a second payment function that are supported by the first payment application; and the third region displaying the payment interface of the first payment function; detecting a first gesture, the currently selected payment function being switched to the second payment function, and the third region being switched to the payment interface displaying the second payment function; and detecting a second gesture, the currently selected payment application being switched to the second payment function, and the third region being switched to the payment interface displaying the third payment function.

Description

一种切换支付功能方法及电子设备Method for switching payment function and electronic equipment
本申请要求在2018年12月11日提交中国国家知识产权局、申请号为201811513587.0、发明名称为“一种切换支付功能方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on December 11, 2018 with the application number 201811513587.0 and the invention titled "a method and electronic device for switching payment functions", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本发明涉及通信技术领域,尤其是指一种切换支付功能方法及电子设备。The present invention relates to the field of communication technology, and in particular, to a method for switching payment functions and an electronic device.
背景技术Background technique
随着电子设备的普及,终端上提供支付功能的应用也越来越多。例如微信(WeChat)支持“扫一扫”和“收付款”等支付功能,支付宝(Alipay)有“扫码”、“付款码”和“声波付”等支付功能。这些支付应用的优势在于方便快捷,但是相互之前却不兼容。比如某个商铺只支持支付宝付款,而用户却打开了微信的付款界面。此时用户需要退出微信界面,重新进入支付宝的界面才能完成支付。这种情况下,用户需要一种能够快速切换支付功能的方法,以便节省支付时间。但是现有技术中无论是在一个支付应用内切换支付功能,还是在支付应用之间切换支付功能,操作步骤都较多。这些问题严重影响用户体验。With the popularity of electronic devices, more and more applications provide payment functions on terminals. For example, WeChat supports payment functions such as "sweep" and "receive payment". Alipay has payment functions such as "scan code", "payment code" and "sonic payment". The advantages of these payment applications are convenience and speed, but they are not compatible with each other. For example, a store only supports Alipay payment, but the user opens the WeChat payment interface. At this time, the user needs to exit the WeChat interface and re-enter the Alipay interface to complete the payment. In this case, users need a method that can quickly switch payment functions in order to save payment time. However, in the prior art, whether it is to switch a payment function within a payment application or to switch a payment function between payment applications, there are many operation steps. These problems seriously affect the user experience.
发明内容Summary of the invention
为解决上述技术问题,本发明提供一种应用功能快捷切换方法及电子设备。所述技术方案如下:In order to solve the above technical problems, the present invention provides a method for quickly switching application functions and an electronic device. The technical solution is as follows:
第一方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器;触摸屏,其中,上述触摸屏包括触敏表面和显示器;摄像头;以及一个或多个计算机程序,其中上述一个或多个计算机程序被存储在上述存储器中,上述一个或多个计算机程序包括指令,当上述指令被上述电子设备执行时,使得上述电子设备执行以下步骤:检测启动支付的操作;响应于上述操作,在上述触摸屏显示支付界面,其中,上述支付界面包括第一区域、第二区域和第三区域,上述第一区域用于显示至少两个支付应用,上述至少两个支付应用中的第一支付应用为当前选中的支付应用;上述第二区域用于显示上述当前选中的支付应用支持的至少两个支付功能,上述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;上述第三区域用于显示当前选中的支付功能的支付界面;检测第一手势;响应于上述第一手势,上述第二区域显示的当前选中的支付功能由上述第一支付应用的第一支付功能切换为上述第一支付应用的第二支付功能,上述第三区域切换为显示上述第二支付功能的支付界面;检测第二手势;响应于上述第二手势,上述第一区域显示的当前选中的支付应用由上述第一支付应用切换为上述第二支付应用,上述第二区域切换为显示上述第二支付应用支持的至少一个支付功能,上述第二支付应用支持的至少一个支付功能中的第三支付功能为当前选中的支付功能,上述第三区域切换为显示上述第三支付功能的支付界面。这样,用户可以在一个界面内完成支付应用和支付功能的切换。In a first aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; a touch screen, wherein the touch screen includes a touch-sensitive surface and a display; a camera; and one or more computer programs, wherein The one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the following steps: detect an operation that initiates payment; respond to In the above operation, the payment interface is displayed on the touch screen, wherein the payment interface includes a first area, a second area, and a third area. The first area is used to display at least two payment applications. A payment application is the currently selected payment application; the second area is used to display at least two payment functions supported by the currently selected payment application, and the first payment function of the at least two payment functions supported by the currently selected payment application Is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; the first gesture is detected; in response to the first gesture, the currently selected payment function displayed in the second area is determined by the first The first payment function of the payment application is switched to the second payment function of the first payment application, and the third area is switched to a payment interface displaying the second payment function; detecting a second gesture; in response to the second gesture, The currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, the second area is switched to display at least one payment function supported by the second payment application, and the second payment application supports The third payment function of the at least one payment function is the currently selected payment function, and the third area is switched to a payment interface displaying the third payment function. In this way, users can switch between payment applications and payment functions in one interface.
在一种可能的实现方式中,上述第一区域位于上述支付界面下部,上述第三区域位于上述支付界面上部,上述第二区域位于上述第一区域和上述第三区域的中间。进一步的,上述第一区域最多占据支付界面15%的显示区域,第二区域最多占据支付界面15%的显示区域,第三区域最少占据支付界面70%的显示区域。这种方式的好处在于符合用户操作习惯,并能有 效利用支付界面显示支付功能的界面。In a possible implementation manner, the first region is located at the lower part of the payment interface, the third region is located at the upper part of the payment interface, and the second region is located between the first region and the third region. Further, the first area occupies at most 15% of the display area of the payment interface, the second area occupies at most 15% of the display area of the payment interface, and the third area occupies at least 70% of the display area of the payment interface. The advantage of this method is that it conforms to the user's operating habits, and can effectively use the payment interface to display the interface of the payment function.
在一种可能的实现方式中,上述第一区域还包括支付应用区域和支付应用分类区域,上述支付应用分类区域包括支付和出行两种应用分类,上述支付应用区域用于显示上述支付应用分类区域中被选中的应用分类所包括的至少两个支付应用。具体的,支付应用分类可以包括支付宝、微信、google pay等支付应用,出行应用分类可以包括摩拜、ofo等出行应用。这种方式的好处在于,当第一区域需要显示的支付应用过多时,可以通过分类方便用户及时选择想要的支付应用和支付功能。In a possible implementation, the first area further includes a payment application area and a payment application classification area. The payment application classification area includes payment and travel application classifications. The payment application area is used to display the payment application classification area. At least two payment applications included in the selected application category in. Specifically, the payment application category may include payment applications such as Alipay, WeChat, and Google Pay, and the travel application category may include travel applications such as Mobike and ofo. The advantage of this method is that when there are too many payment applications to be displayed in the first area, it is convenient for the user to select the desired payment application and payment function in a timely manner through classification.
在一种可能的实现方式中,上述指令还使得上述电子设备执行以下步骤:在上述检测第二手势之后,在上述第三区域切换为显示上述第三支付功能的支付界面之前:检测作用于上述第三区域的单击操作,响应于上述单击操作,上述第三区域切换为显示上述第三支付功能的支付界面。本实现方式的好处在于,当用户切换支付应用较多时,减少对电子设备资源的浪费。In a possible implementation, the instruction further causes the electronic device to perform the following steps: after the second gesture is detected, before the third area is switched to the payment interface displaying the third payment function: the detection function In the click operation of the third area, in response to the click operation, the third area is switched to a payment interface displaying the third payment function. The advantage of this implementation is that when the user switches more payment applications, the waste of electronic device resources is reduced.
在一种可能的实现方式中,上述触摸屏显示的上述支付界面还包括第四区域,上述第四区域位于上述第一区域下部,或,上述第四区域位于上述第三区域上部。In a possible implementation manner, the payment interface displayed on the touch screen further includes a fourth area, the fourth area is located at the lower portion of the first area, or the fourth area is located at the upper portion of the third area.
在一种可能的实现方式中,上述第一区域的当前选中的支付应用采用与未被选中的支付应用不同的显示方式,上述显示方式包括高亮、变色、加粗或者放大上述第一区域的当前选中的支付应用的图标或名称;以及,上述第二区域当前选中的支付功能采用与未选被中支付功能不同的显示方式,上述显示方式包括高亮、变色、加粗或放大上述第二区域的当前选中的支付功能的名称或图标。这种实现方式的好处在于方便用户了解当前选中的支付应用和当前选中的支付功能。In a possible implementation manner, the currently selected payment application in the first area uses a different display method from the unselected payment application, and the display method includes highlighting, changing color, bolding, or enlarging the first area. The icon or name of the currently selected payment application; and, the currently selected payment function in the second area uses a different display method from the unselected payment function. The above display methods include highlighting, changing colors, bolding, or enlarging the second The name or icon of the currently selected payment function in the area. The advantage of this implementation is that it is convenient for users to understand the currently selected payment application and currently selected payment function.
在一种可能的实现方式中,上述第一手势为左右滑动手势,上述第二手势为上下滑动手势,或,上述第一手势为上下滑动手势,上述第二手势为左右滑动手势。这种实现方式的好处在于方便用户单手完成切换操作。In a possible implementation manner, the first gesture is a left-right sliding gesture, the second gesture is an up-down sliding gesture, or the first gesture is an up-down sliding gesture, and the second gesture is a left-right sliding gesture. The advantage of this implementation is that it is convenient for users to complete the switching operation with one hand.
在一种可能的实现方式中,上述指令还使得上述电子设备执行以下步骤:在显示上述检测第一手势前的上述支付界面之后,在检测上述第一手势之前,在预设时间内没有检测到任何触摸操作,显示提示用户滑动切换支付应用或滑动切换支付功能的信息。In a possible implementation manner, the instruction further causes the electronic device to perform the following steps: after displaying the payment interface before detecting the first gesture, before detecting the first gesture, it is not detected within a preset time Any touch operation displays a message prompting the user to swipe to switch payment applications or swipe to switch payment functions.
结合第一方面,启动支付的操作可以是用户双击音量键或者单击独立的物理键。这种方式的好处在于用户可以快速进入支付界面,不用寻找支付界面对应的图标。With reference to the first aspect, the operation of initiating payment may be that the user double-clicks the volume key or clicks an independent physical key. The advantage of this method is that the user can quickly enter the payment interface without looking for the icon corresponding to the payment interface.
结合第一方面,启动支付的操作还可以是用户的手指在上述触摸屏绘制图形。具体地,上述图形可以是Z字形、矩形或者圆圈等,用户通过手指在触摸屏中绘制的图形可以不是标准形状,只需类似即可。这里,电子设备根据不同手指部位接触触摸屏时生成的不同信号,判断用户是否通过手指在电子设备触摸屏上绘制图形。With reference to the first aspect, the operation of initiating payment may also be that the user's finger draws a graph on the touch screen. Specifically, the above graphic may be a zigzag, a rectangle, or a circle, etc. The graphic drawn by the user on the touch screen with a finger may not be a standard shape, and only needs to be similar. Here, according to different signals generated when different finger parts touch the touch screen, the electronic device determines whether the user draws a graph on the touch screen of the electronic device through the finger.
结合第一方面,上述第三区域显示的支付界面可以是扫码界面或者付款界面。With reference to the first aspect, the payment interface displayed in the third area may be a code scanning interface or a payment interface.
上述可以跟第一方面集合的实施方式,也可以跟第二方面集合。The above-mentioned embodiments may be integrated with the first aspect, or may be integrated with the second aspect.
第二方面,本申请实施例提供了一种支付方法,上述方法包括:检测启动支付的操作;响应于上述操作,显示支付界面,其中,上述支付界面包括第一区域、第二区域和第三区域,上述第一区域用于显示至少两个支付应用,上述至少两个支付应用中的第一支付应用为当前选中的支付应用;上述第二区域用于显示上述当前选中的支付应用支持的至少两个支付功能,上述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;上述第三区域用于显示当前选中的支付功能的支付界面;检测第一手势;响应于上述第一手势,上述第二区域显示的当前选中的支付功能由上述第一支付应用的第一支付功能切换为上 述第一支付应用的第二支付功能,上述第三区域切换为显示上述第二支付功能的支付界面;检测第二手势;响应于上述第二手势,上述第一区域显示的当前选中的支付应用由上述第一支付应用切换为上述第二支付应用,上述第二区域切换为显示上述第二支付应用支持的至少一个支付功能,上述第二支付应用支持的至少一个支付功能中的第三支付功能为当前选中的支付功能,上述第三区域切换为显示上述第三支付功能的支付界面。这样,用户可以在一个界面内完成支付应用和支付功能的切换。In a second aspect, an embodiment of the present application provides a payment method. The method includes: detecting an operation to initiate payment; in response to the operation, displaying a payment interface, where the payment interface includes a first area, a second area, and a third Area, the first area is used to display at least two payment applications, the first payment application of the at least two payment applications is the currently selected payment application; the second area is used to display at least the currently selected payment application supports at least Two payment functions, the first payment function of the at least two payment functions supported by the currently selected payment application is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; Gesture; in response to the first gesture, the currently selected payment function displayed in the second area is switched from the first payment function of the first payment application to the second payment function of the first payment application, and the third area is switched to Display the payment interface of the second payment function; detect a second gesture; in response to the second gesture, the currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, The second area switches to display at least one payment function supported by the second payment application, the third payment function of the at least one payment function supported by the second payment application is the currently selected payment function, and the third area switches to display the above The payment interface of the third payment function. In this way, users can switch between payment applications and payment functions in one interface.
在一种可能的实现方式中,上述第一区域位于上述支付界面下部,上述第三区域位于上述支付界面上部,上述第二区域位于上述第一区域和上述第三区域的中间。进一步的,上述第一区域最多占据支付界面15%的显示区域,第二区域最多占据支付界面15%的显示区域,第三区域最少占据支付界面70%的显示区域。这种方式的好处在于符合用户操作习惯,并能有效利用支付界面显示支付功能的界面。In a possible implementation manner, the first region is located at the lower part of the payment interface, the third region is located at the upper part of the payment interface, and the second region is located between the first region and the third region. Further, the first area occupies at most 15% of the display area of the payment interface, the second area occupies at most 15% of the display area of the payment interface, and the third area occupies at least 70% of the display area of the payment interface. The advantage of this method is that it conforms to the user's operating habits, and can effectively use the payment interface to display the interface of the payment function.
在一种可能的实现方式中,上述第一区域还包括支付应用区域和支付应用分类区域,上述支付应用分类区域包括支付和出行两种应用分类,上述支付应用区域用于显示上述支付应用分类区域中被选中的应用分类所包括的至少两个支付应用。具体的,支付应用分类可以包括支付宝、微信、google pay等支付应用,出行应用分类可以包括摩拜、ofo等出行应用。这种方式的好处在于,当第一区域需要显示的支付应用过多时,可以通过分类方便用户及时选择想要的支付应用和支付功能。In a possible implementation, the first area further includes a payment application area and a payment application classification area. The payment application classification area includes payment and travel application classifications. The payment application area is used to display the payment application classification area. At least two payment applications included in the selected application category in. Specifically, the payment application category may include payment applications such as Alipay, WeChat, and Google Pay, and the travel application category may include travel applications such as Mobike and ofo. The advantage of this method is that when there are too many payment applications to be displayed in the first area, it is convenient for the user to select the desired payment application and payment function in a timely manner through classification.
在一种可能的实现方式中,在上述检测第二手势之后,在上述第三区域切换为显示上述第三支付功能的支付界面之前,上述方法还包括:检测作用于上述第三区域的单击操作,响应于上述单击操作,上述第三区域切换为显示上述第三支付功能的支付界面。本实现方式的好处在于,当用户切换支付应用较多时,减少对电子设备资源的浪费。In a possible implementation manner, after detecting the second gesture and before the third area is switched to the payment interface displaying the third payment function, the method further includes: detecting a ticket that acts on the third area In response to the click operation, the third area switches to a payment interface displaying the third payment function. The advantage of this implementation is that when the user switches more payment applications, the waste of electronic device resources is reduced.
在一种可能的实现方式中,上述支付界面还包括第四区域,上述第四区域位于上述第一区域下部,或,上述第四区域位于上述第三区域上部。In a possible implementation manner, the payment interface further includes a fourth area, the fourth area is located at the lower portion of the first area, or the fourth area is located at the upper portion of the third area.
在一种可能的实现方式中,上述第一区域的当前选中的支付应用采用与未被选中的支付应用不同的显示方式,上述显示方式包括高亮、变色、加粗或者放大上述第一区域的当前选中的支付应用的图标或名称;以及,上述第二区域当前选中的支付功能采用与未选被中支付功能不同的显示方式,上述显示方式包括高亮、变色、加粗或放大上述第二区域的当前选中的支付功能的名称或图标。这种方式的好处在于方便用户了解当前选中的支付应用和支付功能。In a possible implementation manner, the currently selected payment application in the first area uses a different display method from the unselected payment application, and the display method includes highlighting, changing color, bolding, or enlarging the first area. The icon or name of the currently selected payment application; and, the currently selected payment function in the second area uses a different display method from the unselected payment function. The above display methods include highlighting, changing colors, bolding, or enlarging the second The name or icon of the currently selected payment function in the area. The advantage of this method is that it is convenient for users to understand the currently selected payment application and payment function.
在一种可能的实现方式中,上述第一手势为左右滑动手势,上述第二手势为上下滑动手势,或,上述第一手势为上下滑动手势,上述第二手势为左右滑动手势。这种实现方式的好处在于方便用户单手完成切换操作。In a possible implementation manner, the first gesture is a left-right sliding gesture, the second gesture is an up-down sliding gesture, or the first gesture is an up-down sliding gesture, and the second gesture is a left-right sliding gesture. The advantage of this implementation is that it is convenient for users to complete the switching operation with one hand.
在一种可能的实现方式中,显示上述检测第一手势前的支付界面后,在预设时间内没有检测到任何手势,显示提示用户滑动切换支付应用或滑动切换支付功能的信息。In a possible implementation manner, after displaying the payment interface before detecting the first gesture, no gesture is detected within a preset time, and information prompting the user to slide to switch the payment application or slide to switch the payment function is displayed.
第三方面,本申请实施例提供了一种电子设备,包括检测模块,用于检测启动支付的操作;显示模块,用于显示支付界面,其中,上述支付界面包括第一区域、第二区域和第三区域,上述第一区域用于显示至少两个支付应用,上述至少两个支付应用中的第一支付应用为当前选中的支付应用;上述第二区域用于显示上述当前选中的支付应用支持的至少两个支付功能,上述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;上述第三区域用于显示当前选中的支付功能的支付界面;检测模块,还用于检测第一手势;切换模块,用于响应于上述第一手势,将上述第二区域显示的当前选中的支付功能 由上述第一支付应用的第一支付功能切换为上述第一支付应用的第二支付功能,将上述第三区域切换为显示上述第二支付功能的支付界面;检测模块,还用于检测第二手势;切换模块,用于响应于上述第二手势,将上述第一区域显示的当前选中的支付应用由上述第一支付应用切换为上述第二支付应用,上述第二区域切换为显示上述第二支付应用支持的至少一个支付功能,上述第二支付应用支持的至少一个支付功能中的第三支付功能为当前选中的支付功能,上述第三区域切换为显示上述第三支付功能的支付界面。In a third aspect, an embodiment of the present application provides an electronic device, including a detection module for detecting a payment start operation; a display module for displaying a payment interface, wherein the payment interface includes a first area, a second area and The third area, the first area is used to display at least two payment applications, the first payment application of the at least two payment applications is the currently selected payment application; the second area is used to display the currently selected payment application support At least two payment functions, the first payment function of the at least two payment functions supported by the currently selected payment application is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; detection The module is also used to detect a first gesture; the switching module is used to switch the currently selected payment function displayed in the second area from the first payment function of the first payment application to the first in response to the first gesture The second payment function of the payment application switches the third area to a payment interface displaying the second payment function; the detection module is also used to detect a second gesture; the switch module is used to respond to the second gesture, Switching the currently selected payment application displayed in the first area from the first payment application to the second payment application, the second area is switched to display at least one payment function supported by the second payment application, and the second payment application The third payment function of the at least one supported payment function is the currently selected payment function, and the third area is switched to a payment interface displaying the third payment function.
在一种可能的实现方式中,上述第一区域位于上述支付界面下部,上述第三区域位于上述支付界面上部,上述第二区域位于上述第一区域和上述第三区域的中间。In a possible implementation manner, the first region is located at the lower part of the payment interface, the third region is located at the upper part of the payment interface, and the second region is located between the first region and the third region.
在一种可能的实现方式中,上述第一区域还包括支付应用区域和支付应用分类区域,上述支付应用分类区域包括支付和出行两种应用分类,上述支付应用区域用于显示上述支付应用分类区域中被选中的应用分类所包括的至少两个支付应用。In a possible implementation, the first area further includes a payment application area and a payment application classification area. The payment application classification area includes payment and travel application classifications. The payment application area is used to display the payment application classification area. At least two payment applications included in the selected application category in.
在一种可能的实现方式中,在上述检测第二手势之后,在上述第三区域切换为显示上述第三支付功能的支付界面之前,上述方法还包括:检测作用于上述第三区域的单击操作,响应于上述单击操作,上述第三区域切换为显示上述第三支付功能的支付界面。In a possible implementation manner, after detecting the second gesture and before the third area is switched to the payment interface displaying the third payment function, the method further includes: detecting a ticket that acts on the third area In response to the click operation, the third area switches to a payment interface displaying the third payment function.
在一种可能的实现方式中,上述支付界面还包括第四区域,上述第四区域位于上述第一区域下部,或,上述第四区域位于上述第三区域上部。In a possible implementation manner, the payment interface further includes a fourth area, the fourth area is located at the lower portion of the first area, or the fourth area is located at the upper portion of the third area.
在一种可能的实现方式中,上述第一区域的当前选中的支付应用采用与未被选中的支付应用不同的显示方式,上述显示方式包括高亮、变色、加粗或者放大上述第一区域的当前选中的支付应用的图标或名称;以及,上述第二区域当前选中的支付功能采用与未选被中支付功能不同的显示方式,上述显示方式包括高亮、变色、加粗或放大上述第二区域的当前选中的支付功能的名称或图标。In a possible implementation manner, the currently selected payment application in the first area uses a different display method from the unselected payment application, and the display method includes highlighting, changing color, bolding, or enlarging the first area. The icon or name of the currently selected payment application; and, the currently selected payment function in the second area uses a different display method from the unselected payment function. The above display methods include highlighting, changing colors, bolding, or enlarging the second The name or icon of the currently selected payment function in the area.
在一种可能的实现方式中,上述第一手势为左右滑动手势,上述第二手势为上下滑动手势,或,上述第一手势为上下滑动手势,上述第二手势为左右滑动手势。In a possible implementation manner, the first gesture is a left-right sliding gesture, the second gesture is an up-down sliding gesture, or the first gesture is an up-down sliding gesture, and the second gesture is a left-right sliding gesture.
在一种可能的实现方式中,显示上述检测第一手势前的支付界面后,在预设时间内没有检测到任何手势,显示提示用户滑动切换支付应用或滑动切换支付功能的信息。In a possible implementation manner, after displaying the payment interface before detecting the first gesture, no gesture is detected within a preset time, and information prompting the user to slide to switch the payment application or slide to switch the payment function is displayed.
第四方面,本申请实施例又提供了一种计算机可读存储介质,当该计算机程序产品在电子设备上运行时,使得该电子设备执行本申请实施例第二方面或第二方面的任意一种实现方式提供的支付方法。According to a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium that, when the computer program product runs on an electronic device, causes the electronic device to perform the second aspect or any one of the second aspect of the embodiment of the present application Payment methods provided by various implementation methods.
可以理解的是,上述提供的第三方面提供的电子设备和第四方面提供的计算机存储介质,均用于执行第二方面所提供的锁定触控操作的方法,因此,其所能达到的有益效果可参考第二方面所提供的支付方法中的有益效果,此处不再赘述。It is understandable that both the electronic device provided in the third aspect and the computer storage medium provided in the fourth aspect are used to perform the method of locking the touch operation provided in the second aspect, and therefore, the benefits it can achieve For the effect, refer to the beneficial effect in the payment method provided in the second aspect, which will not be repeated here.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1是一些实施例中电子设备的硬件结构示意图;1 is a schematic diagram of the hardware structure of an electronic device in some embodiments;
图2A至图2C是一些实施例中主屏幕的各个子屏幕的图形用户界面的示意图;2A to 2C are schematic diagrams of graphical user interfaces of sub-screens of the main screen in some embodiments;
图3A和图3B是一些现有技术中切换支付功能的场景示意图;3A and 3B are schematic diagrams of some scenarios of switching payment functions in the prior art;
图4A至图4J是一些实施例快捷切换支付功能的场景示意图;4A to 4J are schematic diagrams of scenes of quickly switching payment functions in some embodiments;
图5A至图5C是一些实施例中支付过程的场景示意图;5A to 5C are schematic diagrams of the payment process in some embodiments;
图6是一些实施例中求助界面的场景示意图;6 is a schematic diagram of a scene of a help interface in some embodiments;
图7是一些实施例中支付界面的另一种实现方式;7 is another implementation of the payment interface in some embodiments;
图8是一些实施例快捷切换支付功能的场景示意图;8 is a schematic diagram of a scenario of quickly switching payment functions in some embodiments;
图9是一些实施例快捷切换支付功能的场景示意图;9 is a schematic diagram of a scenario of quickly switching payment functions in some embodiments;
图10是一些实施例中电子设备的硬件结构示意图。10 is a schematic diagram of a hardware structure of an electronic device in some embodiments.
具体实施方式detailed description
本申请实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个相绑定的列出项目的任何或所有可能组合。The terminology used in the embodiments of the present application is only for the purpose of describing specific embodiments, and is not intended to be a limitation of the present application. As used in the specification and appended claims of this application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also Includes plural expressions unless the context clearly indicates otherwise. It should also be understood that the term "and/or" used in this application refers to and includes any or all possible combinations of one or more listed items that are bound.
以下介绍了电子设备、用于这样的电子设备的图形用户界面(以下可以简称GUI)、和用于使用这样的电子设备的相绑定过程的实施例。在本申请一些实施例中,电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2019122169-appb-000001
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如具有触敏表面(例如触控面板)的膝上型计算机(Laptop)等。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是具有触敏表面(例如触控面板)的台式计算机。
The following describes an embodiment of an electronic device, a graphical user interface for such an electronic device (hereinafter may be referred to as GUI), and a phase binding process for using such an electronic device. In some embodiments of the present application, the electronic device may be a portable electronic device that also includes other functions such as personal digital assistant and/or music player functions, such as a mobile phone, a tablet computer, and a wearable electronic device with wireless communication functions (such as smart Watch) etc. Exemplary embodiments of portable electronic devices include, but are not limited to
Figure PCTCN2019122169-appb-000001
Or portable electronic devices of other operating systems. The above portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (for example, a touch panel) and the like. It should also be understood that in some other embodiments of the present application, the foregoing electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (such as a touch panel).
如图1所示,本申请实施例中的电子设备可以为电子设备100。下面以电子设备100为例对实施例进行具体说明。应该理解的是,图示电子设备100仅是电子设备的一个范例,并且电子设备100可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。As shown in FIG. 1, the electronic device in the embodiment of the present application may be an electronic device 100. The following uses the electronic device 100 as an example to describe the embodiment in detail. It should be understood that the illustrated electronic device 100 is only an example of the electronic device, and the electronic device 100 may have more or fewer components than shown in the figure, and two or more components may be combined, Or it can have different component configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
如图1所示,电子设备100具体可以包括:一个或多个处理器101、射频(radio frequency,RF)电路102、存储器103、触摸屏104、蓝牙装置105、一个或多个传感器106、WI-FI装置107、定位装置108、音频电路109、外设接口110以及电源系统111等部件。这些部件可通过一根或多根通信总线或信号线(图1中未示出)进行通信。本领域技术人员可以理解,图1中示出的硬件结构并不构成对电子设备100的限定,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 1, the electronic device 100 may specifically include: one or more processors 101, radio frequency (RF) circuits 102, memory 103, touch screen 104, Bluetooth device 105, one or more sensors 106, WI- The FI device 107, the positioning device 108, the audio circuit 109, the peripheral interface 110, and the power supply system 111 are components. These components can communicate through one or more communication buses or signal lines (not shown in FIG. 1). Those skilled in the art may understand that the hardware structure shown in FIG. 1 does not constitute a limitation on the electronic device 100, and the electronic device 100 may include more or fewer components than those illustrated, or combine certain components, or different Parts layout.
下面结合图1对电子设备100的各个部件进行具体的介绍:The following describes the components of the electronic device 100 in detail with reference to FIG. 1:
处理器101是电子设备100的控制中心,利用各种接口和线路连接电子设备100的各个部分,通过运行或执行存储在存储器103内的应用程序(Application,简称App),以及调用存储在存储器103内的数据和指令,执行电子设备100的各种功能和处理数据。在一些实施例中,处理器101可包括一个或多个处理单元;处理器101还可以集成应用处理器和调制解调处理器;其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器101中。举例来说,处理器101可以是华为技术有限公司制造的麒麟960芯片。在本申请其他一些实施例中,上述处理器101还可以包括指纹验证芯片,用于对采集到的指纹进行验证。The processor 101 is a control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the electronic device 100, by running or executing an application program (Application, App for short) stored in the memory 103, and calling the stored in the memory 103 The data and instructions within it perform various functions and process data of the electronic device 100. In some embodiments, the processor 101 may include one or more processing units; the processor 101 may also integrate an application processor and a modem processor; wherein, the application processor mainly processes an operating system, a user interface, and application programs, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 101. For example, the processor 101 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd. In some other embodiments of the present application, the processor 101 may further include a fingerprint verification chip, which is used to verify the collected fingerprints.
射频电路102可用于在收发信息或通话过程中,无线信号的接收和发送。具体地,射频电路102可以将基站的下行数据接收后,给处理器101处理;另外,将涉及上行的数据发送 给基站。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路102还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。The radio frequency circuit 102 can be used for receiving and sending wireless signals during the process of receiving and sending information or talking. Specifically, the radio frequency circuit 102 may receive the downlink data of the base station and process it to the processor 101; in addition, send the data related to the uplink to the base station. Generally, the radio frequency circuit 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. In addition, the radio frequency circuit 102 can also communicate with other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global mobile communication system, general packet radio service, code division multiple access, broadband code division multiple access, long-term evolution, e-mail, and short message service.
存储器103用于存储应用程序以及数据,处理器101通过运行存储在存储器103的应用程序以及数据,执行电子设备100的各种功能以及数据处理。存储器103主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等);存储数据区可以存储根据使用电子设备100时所创建的数据(比如音频数据、电话本等)。此外,存储器103可以包括高速随机存取存储器,还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。存储器103可以存储各种操作系统,例如苹果公司所开发的
Figure PCTCN2019122169-appb-000002
操作系统,谷歌公司所开发的
Figure PCTCN2019122169-appb-000003
操作系统等。
The memory 103 is used to store application programs and data, and the processor 101 executes various functions and data processing of the electronic device 100 by running the application programs and data stored in the memory 103. The memory 103 mainly includes a storage program area and a storage data area, where the storage program area can store an operating system and at least one function required application programs (such as sound playback function, image playback function, etc.); the storage data area can store according to the use of electronic Data created by the device 100 (such as audio data, phonebook, etc.). In addition, the memory 103 may include a high-speed random access memory, and may also include a non-volatile memory, such as a magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. The memory 103 can store various operating systems, such as developed by Apple
Figure PCTCN2019122169-appb-000002
Operating system, developed by Google
Figure PCTCN2019122169-appb-000003
Operating system, etc.
触摸屏104可以包括触敏表面104-1和显示器104-2。其中,触敏表面104-1(例如触控面板)可采集电子设备100的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触敏表面104-1上或在触敏表面104-1附近的操作),并将采集到的触摸信息发送给其他器件例如处理器101。其中,用户在触敏表面104-1附近的触摸事件可以称之为悬浮触控;悬浮触控可以是指,用户无需为了选择、移动或拖动目标(例如图标等)而直接接触触控板,而只需用户位于电子设备附近以便执行所想要的功能。在悬浮触控的应用场景下,术语“触摸”、“接触”等不会暗示用于直接接触触摸屏104,而是在其附近或接近的接触。能够进行悬浮触控的触敏表面104-1可以采用电容式、红外光感以及超声波等实现。触敏表面104-1可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再发送给处理器101,触摸控制器还可以接收处理器101发送的指令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型来实现触敏表面104-1。显示器(也称为显示屏)104-2可用于显示由用户输入的信息或提供给用户的信息以及电子设备100的各种菜单。可以采用液晶显示器、有机发光二极管等形式来配置显示器104-2。触敏表面104-1可以覆盖在显示器104-2之上,当触敏表面104-1检测到在其上或附近的触摸事件后,传送给处理器101以确定触摸事件的类型,随后处理器101可以根据触摸事件的类型在显示器104-2上提供相应的视觉输出。虽然在图1中,触敏表面104-1与显示屏104-2是作为两个独立的部件来实现电子设备100的输入和输出功能,但是在某些实施例中,可以将触敏表面104-1与显示屏104-2集成而实现电子设备100的输入和输出功能。可以理解的是,触摸屏104是由多层材料堆叠而成,本申请实施例中只展示出了触敏表面(层)和显示屏(层),其他层在本申请实施例中不予记载。另外,在本申请其他一些实施例中,触敏表面104-1可以覆盖在显示器104-2之上,并且触敏表面104-1的尺寸大于显示屏104-2的尺寸,使得显示屏104-2全部覆盖在触敏表面104-1下面,或者,上述触敏表面104-1可以以全面板的形式配置在电子设备100的正面,也即用户在电子设备100正面的触摸均能被电子设备感知,这样就可以实现电子设备正面的全触控体验。在其他一些实施例中,触敏表面104-1以全面板的形式配置在电子设备100的正面,显示屏104-2也可以以全面板的形式配置在电子设备100的正面,这样在电子设备的正面就能够实现无边框的结构。在本申请其他一些实施例中,触摸屏104还可以包括一系列的压力传感器阵列,可以在触摸屏上感测触摸事件所施加给显示屏104-2或触敏表面104-1的压力。The touch screen 104 may include a touch-sensitive surface 104-1 and a display 104-2. Among them, the touch-sensitive surface 104-1 (such as a touch panel) can collect touch events on or near the user of the electronic device 100 (such as the user using a finger, a stylus, or any other suitable object on the touch-sensitive surface 104-1 Operation on or near the touch-sensitive surface 104-1), and send the collected touch information to other devices such as the processor 101. Among them, the user's touch event near the touch-sensitive surface 104-1 can be called floating touch; floating touch can mean that the user does not need to directly touch the touchpad in order to select, move, or drag an object (such as an icon, etc.) , And only need the user to be near the electronic device in order to perform the desired function. In the application scenario of hovering touch, the terms "touch", "contact", etc. do not imply direct contact with the touch screen 104, but contact near or close to it. The touch-sensitive surface 104-1 capable of floating touch can be realized by capacitive, infrared light sensing, and ultrasonic waves. The touch-sensitive surface 104-1 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then It is sent to the processor 101, and the touch controller can also receive the instruction sent by the processor 101 and execute it. In addition, the touch-sensitive surface 104-1 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. The display (also referred to as a display screen) 104-2 may be used to display information input by the user or provided to the user and various menus of the electronic device 100. The display 104-2 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The touch-sensitive surface 104-1 may be overlaid on the display 104-2. When the touch-sensitive surface 104-1 detects a touch event on or near it, it is transmitted to the processor 101 to determine the type of touch event, and then the processor 101 may provide corresponding visual output on the display 104-2 according to the type of touch event. Although in FIG. 1, the touch-sensitive surface 104-1 and the display screen 104-2 are implemented as two independent components to implement the input and output functions of the electronic device 100, in some embodiments, the touch-sensitive surface 104 -1 is integrated with the display screen 104-2 to realize the input and output functions of the electronic device 100. It can be understood that the touch screen 104 is formed by stacking multiple layers of materials. Only the touch-sensitive surface (layer) and the display screen (layer) are shown in the embodiments of the present application, and other layers are not described in the embodiments of the present application. In addition, in some other embodiments of the present application, the touch-sensitive surface 104-1 may cover the display 104-2, and the size of the touch-sensitive surface 104-1 is larger than the size of the display screen 104-2, so that the display screen 104- 2 All covered under the touch-sensitive surface 104-1, or the touch-sensitive surface 104-1 can be arranged on the front of the electronic device 100 in the form of a full plate, that is, the user's touch on the front of the electronic device 100 can be used by the electronic device Perception, so you can achieve a full touch experience on the front of the electronic device. In some other embodiments, the touch-sensitive surface 104-1 is arranged on the front of the electronic device 100 in the form of a full board, and the display screen 104-2 may also be arranged on the front of the electronic device 100 in the form of a full board. The front side can achieve a frameless structure. In some other embodiments of the present application, the touch screen 104 may further include a series of pressure sensor arrays, which can sense the pressure applied to the display screen 104-2 or the touch-sensitive surface 104-1 by the touch event on the touch screen.
在本申请各个实施例中,电子设备100还可以具有指纹识别功能。例如,可以在电子设备100的背面(例如后置摄像头的下方)配置指纹识别器112,或者在电子设备100的正面(例如触摸屏104的下方)配置指纹识别器112。另外,也可以通过在触摸屏104中配置指纹识别器112来实现指纹识别功能,即指纹识别器112可以与触摸屏104集成在一起来实现电子设备100的指纹识别功能。在这种情况下,该指纹识别器112可以配置在触摸屏104中,可以是触摸屏104的一部分,也可以以其他方式配置在触摸屏104中。另外,该指纹识别器112还可以被实现为全面板指纹识别器,因此,可以把触摸屏104看成是任何位置都可以进行指纹采集的一个面板。该指纹识别器112可以将采集到的指纹发送给处理器101,以便处理器101对该指纹进行处理(例如指纹验证等)。本申请实施例中的指纹识别器112的主要部件是指纹传感器,该指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。另外,关于本申请实施例中在触摸屏中集成指纹采集器件的具体技术方案,可以参见美国专利与商标局公告的申请号为US 2015/0036065 A1,名称为“在电子设备中的指纹传感器”的专利申请,其全部控件通过引用结合在本申请各个实施例中。In various embodiments of the present application, the electronic device 100 may also have a fingerprint recognition function. For example, the fingerprint reader 112 may be arranged on the back of the electronic device 100 (for example, below the rear camera), or on the front of the electronic device 100 (for example, below the touch screen 104). In addition, the fingerprint recognition function can also be implemented by configuring the fingerprint recognizer 112 in the touch screen 104, that is, the fingerprint recognizer 112 can be integrated with the touch screen 104 to realize the fingerprint recognition function of the electronic device 100. In this case, the fingerprint reader 112 may be configured in the touch screen 104, may be a part of the touch screen 104, or may be configured in the touch screen 104 in other ways. In addition, the fingerprint recognizer 112 can also be implemented as a full-board fingerprint recognizer. Therefore, the touch screen 104 can be regarded as a panel that can perform fingerprint collection at any location. The fingerprint recognizer 112 may send the collected fingerprint to the processor 101, so that the processor 101 processes the fingerprint (eg, fingerprint verification, etc.). The main component of the fingerprint reader 112 in the embodiment of the present application is a fingerprint sensor, which may use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric, or ultrasonic sensing technology. In addition, for the specific technical solution of integrating the fingerprint collection device in the touch screen in the embodiment of the present application, please refer to the US Patent and Trademark Office's application number US 2015/0036065 A1, titled "Fingerprint Sensor in Electronic Equipment" For patent applications, all controls are incorporated by reference in various embodiments of this application.
电子设备100还可以包括蓝牙装置105,用于实现电子设备100与其他短距离的电子设备(例如手机、智能手表等)之间的数据交换。本申请实施例中的蓝牙装置可以是集成电路或者蓝牙芯片等。The electronic device 100 may further include a Bluetooth device 105 for implementing data exchange between the electronic device 100 and other short-range electronic devices (such as mobile phones, smart watches, etc.). The Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip.
电子设备100还可以包括至少一种传感器106,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触摸屏104的显示器的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示器的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别平板电脑姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不予赘述。The electronic device 100 may further include at least one sensor 106, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 104 according to the brightness of the ambient light, and the proximity sensor may turn off the display when the electronic device 100 moves to the ear power supply. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when at rest. It can be used for applications that recognize the posture of tablet computers (such as horizontal and vertical screen switching, Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc. As for the electronic device 100, other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. This will not be repeated.
WI-FI装置107,用于为电子设备100提供遵循WI-FI相关标准协议的网络接入,电子设备100可以通过WI-FI装置107接入到WI-FI接入点,进而帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在其他一些实施例中,该WI-FI装置107也可以作为WI-FI无线接入点,可以为其他电子设备提供WI-FI网络接入。The WI-FI device 107 is used to provide the electronic device 100 with network access following the WI-FI related standard protocol. The electronic device 100 can be connected to the WI-FI access point through the WI-FI device 107, thereby helping the user to send and receive electronic It provides users with wireless broadband Internet access such as mail, web browsing, and streaming media access. In some other embodiments, the WI-FI device 107 may also serve as a WI-FI wireless access point, and may provide WI-FI network access for other electronic devices.
定位装置108,用于为电子设备100提供地理位置。可以理解的是,该定位装置108具体可以是全球定位系统(global positioning system,GPS)、北斗卫星导航系统等定位系统的接收器。定位装置108在接收到上述定位系统发送的地理位置后,将该信息发送给处理器101处理,或者发送给存储器103保存。在另外的一些实施例中,该定位装置108可以是辅助全球卫星定位系统(assisted global positioning system,AGPS)的接收器,AGPS是一种在一定辅助配合下进行GPS定位的运行方式,它可以利用基站的信号,配合GPS卫星信号,可以让电子设备100定位的速度更快;在AGPS系统中,该定位装置108可通过与辅助定位服务器(例如电子设备100的定位服务器)的通信而获得定位辅助。AGPS系统通过作为辅助服务器来协助定位装置108完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与电子设备例如电子设备100的定位装置108(即GPS接收器)通信而提供定位协助。在另外的一些实施例中,该定位装置108也可以是基于WI-FI接入点的定位技术。由于每一个WI-FI接入点都有一个全球唯一的MAC地址,电子设备在开启WI-FI的情况下即可扫描并 收集周围的WI-FI接入点的广播信号,因此可以获取到WI-FI接入点广播出来的MAC地址;电子设备将这些能够标示WI-FI接入点的数据(例如MAC地址)通过无线通信网络发送给位置服务器,由位置服务器检索出每一个WI-FI接入点的地理位置,并结合WI-FI广播信号的强弱程度,计算出该电子设备的地理位置并发送到该电子设备的定位装置108中。The positioning device 108 is used to provide a geographic location for the electronic device 100. It can be understood that the positioning device 108 may specifically be a receiver of a positioning system such as a global positioning system (GPS), a Beidou satellite navigation system, or the like. After receiving the geographical position sent by the positioning system, the positioning device 108 sends the information to the processor 101 for processing, or sends it to the memory 103 for storage. In some other embodiments, the positioning device 108 may be a receiver of an assisted global positioning system (AGPS). AGPS is an operating mode that performs GPS positioning with certain assistance and cooperation. It can be used The signals of the base station and GPS satellite signals can make the positioning of the electronic device 100 faster; in the AGPS system, the positioning device 108 can obtain positioning assistance by communicating with an auxiliary positioning server (such as the positioning server of the electronic device 100) . The AGPS system assists the positioning device 108 to complete ranging and positioning services by acting as an auxiliary server. In this case, the auxiliary positioning server communicates with the positioning device 108 (ie, GPS receiver) of an electronic device such as the electronic device 100 through a wireless communication network. Provide positioning assistance. In some other embodiments, the positioning device 108 may also be a positioning technology based on a WI-FI access point. Since each WI-FI access point has a globally unique MAC address, the electronic device can scan and collect the broadcast signals of surrounding WI-FI access points when WI-FI is turned on, so the WI can be obtained -The MAC address broadcast by the FI access point; the electronic device sends the data (such as the MAC address) that can mark the WI-FI access point to the location server through the wireless communication network, and the location server retrieves each WI-FI connection The geographic location of the entry point, combined with the strength of the WI-FI broadcast signal, calculates the geographic location of the electronic device and sends it to the positioning device 108 of the electronic device.
音频电路109、扬声器113、麦克风114可提供用户与电子设备100之间的音频接口。音频电路109可将接收到的音频数据转换后的电信号,传输到扬声器113,由扬声器113转换为声音信号输出;另一方面,麦克风114将收集的声音信号转换为电信号,由音频电路109接收后转换为音频数据,再将音频数据输出至RF电路102以发送给比如一个手机,或者将音频数据输出至存储器103以便进一步处理。The audio circuit 109, the speaker 113, and the microphone 114 may provide an audio interface between the user and the electronic device 100. The audio circuit 109 can transmit the converted electrical signal of the received audio data to the speaker 113, which converts the speaker 113 into a sound signal for output; on the other hand, the microphone 114 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 109 After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 102 to be sent to, for example, a mobile phone, or the audio data is output to the memory 103 for further processing.
外设接口110,用于为外部的输入/输出设备(例如键盘、鼠标、外接显示器、外部存储器、用户识别模块卡等)提供各种接口。例如通过通用串行总线接口与鼠标连接,通过用户识别模块卡卡槽上的金属触点与电信运营商提供的用户识别模块(subscriber identity module,SIM)卡连接。外设接口110可以被用来将上述外部的输入/输出外围设备耦接到处理器101和存储器103。The peripheral interface 110 is used to provide various interfaces for external input/output devices (such as a keyboard, a mouse, an external display, an external memory, a user identification module card, etc.). For example, it is connected to a mouse through a universal serial bus interface, and is connected to a subscriber identification module (SIM) card provided by a telecommunications operator through metal contacts on the card slot of the user identification module card. The peripheral interface 110 may be used to couple the above-mentioned external input/output peripheral devices to the processor 101 and the memory 103.
电子设备100还可以包括给各个部件供电的电源装置111(比如电池和电源管理芯片),电池可以通过电源管理芯片与处理器101逻辑相连,从而通过电源装置111实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may further include a power supply device 111 (such as a battery and a power management chip) that supplies power to various components. The battery may be logically connected to the processor 101 through the power management chip, thereby managing charge, discharge, and power consumption through the power supply device 111 Management and other functions.
尽管图1未示出,电子设备100还可以包括摄像头(前置摄像头和后置摄像头)、闪光灯、微型投影装置、近场通信(near field communication,NFC)装置等,在此不予赘述。Although not shown in FIG. 1, the electronic device 100 may further include a camera (front camera and rear camera), a flash, a miniature projection device, a near field communication (NFC) device, etc., which will not be repeated here.
以下实施例均可以在具有上述硬件结构的电子设备(例如电子设备100、手机等)中实现。The following embodiments can all be implemented in an electronic device (for example, electronic device 100, mobile phone, etc.) having the above hardware structure.
示例性地,图2A至图2C为电子设备100的触摸屏104上显示的一系列图形用户界面(graphical user interface,GUI),这些GUI是该电子设备的主屏幕(Home Screen)。一般来说,电子设备的触摸屏中会显示控件。控件是一种GUI元素,一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。用户可以通过直接操作(direct mainipulation)来与控件交互,从而对控件对应的App的有关信息进行读取或者编辑。当该电子设备的主屏幕中有太多的控件或用户对主屏幕中的控件进行自定义排列时,该电子设备的主屏幕可以被分成多个页面(page)页面,下面以页面数量为3个为例进行说明。如图2A中显示的GUI可以称之为主屏幕的页面211(Page 211),图2B中显示的GUI可以称之为主屏幕的页面212(Page 212),图2C中显示的GUI可以称之为主屏幕的页面213(Page 213),每个页面都可以包括有不同的控件。以图2A为例说明,该GUI可以是该电子设备的主屏幕中的页面211。该页面211显示在该电子设备的触摸屏上,具体包括状态栏201、可隐藏的导航栏202、主屏幕指示标203以及各类图标。可选的,一个页面可以包括状态栏、导航栏、主屏幕指示标,以及图标中的一个或多个。其中,主屏幕指示标203用来提示用户当前显示的页面具体是哪个页面,比如,与当前显示的页面对应的指示点被放大显示。示例性的,在该页面211中,包括5排4列的图标(即20个图标);当用户的手指(或触控笔等)触摸到触摸屏上的一个位置,响应于该触摸事件,电子设备可以打开与某一App图标相应的App的图形用户界面。例如在图2A中,当用户的手指单击与微信(WeChat)图标相应的触摸屏位置时,微信被启动并在触摸屏上显示微信的具体界面。可以理解的是,在其他一些实施例中,在主屏幕中还可以包括Dock栏,Dock栏中可以包括常用的App的图标等。Exemplarily, FIGS. 2A to 2C are a series of graphical user interfaces (GUIs) displayed on the touch screen 104 of the electronic device 100, and these GUIs are the home screens of the electronic device. In general, controls are displayed on the touch screen of electronic devices. A control is a type of GUI element. Generally speaking, a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements. The user can interact with the control by direct operation (direct mainipulation), so as to read or edit the relevant information of the App corresponding to the control. When there are too many controls in the home screen of the electronic device or the user customizes the controls in the home screen, the home screen of the electronic device can be divided into multiple pages (pages), the following is the number of pages is 3 As an example. The GUI shown in FIG. 2A can be called page 211 of the home screen (Page 211), the GUI shown in FIG. 2B can be called page 212 of the home screen (Page 212), and the GUI displayed in FIG. 2C can be called Page 213 (Page 213) of the main screen, each page can include different controls. Taking FIG. 2A as an example, the GUI may be a page 211 in the main screen of the electronic device. The page 211 is displayed on the touch screen of the electronic device, and specifically includes a status bar 201, a hideable navigation bar 202, a home screen indicator 203, and various icons. Optionally, a page may include one or more of a status bar, a navigation bar, a home screen indicator, and icons. The home screen indicator 203 is used to prompt the user which page is currently displayed, for example, the indication point corresponding to the currently displayed page is enlarged and displayed. Exemplarily, the page 211 includes 5 rows and 4 columns of icons (that is, 20 icons); when the user's finger (or stylus, etc.) touches a position on the touch screen, in response to the touch event, electronic The device can open the graphical user interface of the App corresponding to an App icon. For example, in FIG. 2A, when the user's finger clicks on the location of the touch screen corresponding to the WeChat icon, WeChat is activated and a specific interface of WeChat is displayed on the touch screen. It can be understood that, in some other embodiments, the home screen may further include a Dock bar, and the Dock bar may include icons of commonly used Apps and the like.
在其他一些实施例中,如图2A-2C所示,在该电子设备中还可以包括主屏幕键204。该主 屏幕键204可以是实体按键,也可以是虚拟按键。该主屏幕键204用于根据用户的操作,将触摸屏上显示的GUI返回到主屏幕的某一页面,这样可以方便用户随时查看主屏幕并对主屏幕中的控件(例如图标)进行操作。例如,用户可以设定,无论当前显示哪个GUI,按下主屏幕键204,直接返回到页面212。上述操作具体可以是用户单击主屏幕键204,也可以是用户双击主屏幕键204,还可以是用户在预定时间内长按主屏幕键204。当主屏幕键204为实体按键时,主屏幕键204可以随着用户的按压而移动,也可以不随用户的按压而移动。在本申请其他一些实施例中,主屏幕键204还可以集成指纹识别器112,这样可以在用户接触或按下主屏幕键204的时候,电子设备采集用户的指纹,对用户身份进行确认。In some other embodiments, as shown in FIGS. 2A-2C, the home screen key 204 may also be included in the electronic device. The home screen key 204 may be a physical key or a virtual key. The home screen key 204 is used to return the GUI displayed on the touch screen to a certain page of the home screen according to the user's operation, which can facilitate the user to view the home screen and operate the controls (such as icons) on the home screen at any time. For example, the user can set that no matter which GUI is currently displayed, press the home screen key 204 to directly return to the page 212. The above operation may specifically be that the user clicks the home screen key 204, or the user double-clicks the home screen key 204, or the user long presses the home screen key 204 within a predetermined time. When the home screen key 204 is a physical key, the home screen key 204 may move with the user's pressing, or may not move with the user's pressing. In some other embodiments of the present application, the home screen key 204 may also integrate a fingerprint recognizer 112, so that when the user touches or presses the home screen key 204, the electronic device collects the user's fingerprint to confirm the user's identity.
在本申请一些实施例中,电子设备可以接收用户的输入。该输入可以是用户对电子设备的触摸屏的触摸操作,也可以是用户对电子设备的一实体按键的按压操作(例如对主屏幕键204的长按操作等),该输入还可以是语音输入,例如电子设备100的麦克风114采集用户的声音,经过处理后转化为语音输入,电子设备100可以识别该语音输入,进而可以执行与该语音输入相应的指令。可以理解的是,本申请实施例对上述输入不做具体限定。In some embodiments of the present application, the electronic device may receive user input. The input may be a user's touch operation on the touch screen of the electronic device, or a user's pressing operation on a physical key of the electronic device (such as a long press operation on the home screen key 204, etc.), or the input may be a voice input, For example, the microphone 114 of the electronic device 100 collects a user's voice and converts it into a voice input after processing. The electronic device 100 can recognize the voice input, and then can execute an instruction corresponding to the voice input. It can be understood that the embodiments of the present application do not specifically limit the foregoing input.
一般在不同的应用之间切换支付功能需要若干步骤和相应的用户输入。以由支付宝扫一扫切换至微信扫一扫为例,如图2A、图2B所示,微信图标位于页面211,支付宝图标位于页面212。假设当前触摸屏显示的是支付宝扫一扫界面,用户按下主屏幕键204,触摸屏104显示页面212。用户向右滑动屏幕,将触摸屏104上显示的页面212切换至页面211。用户在页面211上点击微信图标222进入微信主界面。如图3A所示,用户点击微信主界面右上角的菜单图标301,弹出包括发起群聊、添加朋友、扫一扫、收付款的功能菜单。用户点击扫一扫图标302,进入扫一扫界面(如图3B所示)。整个过程至少需要5个步骤,如果用户不知道微信图标所在的页面,还需要花费额外的时间来寻找微信图标。Generally, switching payment functions between different applications requires several steps and corresponding user input. Take the example of switching from Alipay scan to WeChat scan, as shown in FIGS. 2A and 2B, the WeChat icon is located on page 211, and the Alipay icon is located on page 212. Assuming that the current touch screen displays the Alipay scan interface, the user presses the home screen key 204, and the touch screen 104 displays the page 212. The user slides the screen to the right to switch the page 212 displayed on the touch screen 104 to the page 211. The user clicks the WeChat icon 222 on the page 211 to enter the WeChat main interface. As shown in FIG. 3A, the user clicks the menu icon 301 in the upper right corner of the WeChat main interface, and a function menu including initiating a group chat, adding friends, scanning, and receiving payment is popped up. The user clicks the scan icon 302 to enter the scan interface (as shown in FIG. 3B). The whole process requires at least 5 steps. If the user does not know the page where the WeChat icon is located, it will take extra time to find the WeChat icon.
在同一个应用内切换支付功能操作同样繁琐。以由微信扫一扫切换至微信收付款为例。如图3B所示,当前触控屏显示的是微信扫一扫界面,用户点击界面左上角微信主界面返回图标303,触摸屏从显示扫一扫界面切换至显示微信主界面。如图3A所示,用户点击菜单图标301,在弹出的功能菜单中点击收付款图标304,进入收付款界面。除切换步骤繁琐外,由于微信主界面返回图标303位于用户大拇指311难以触摸到的位置,用户难以用单手操作,这使切换操作更加不便。Switching payment functions within the same application is also cumbersome. Take the example of switching from WeChat scanning to WeChat payment. As shown in FIG. 3B, the current touch screen displays a WeChat sweep interface. The user clicks the return icon 303 on the WeChat main interface in the upper left corner of the interface, and the touch screen switches from displaying the sweep interface to displaying the WeChat main interface. As shown in FIG. 3A, the user clicks the menu icon 301 and clicks the payment and payment icon 304 in the pop-up function menu to enter the payment and payment interface. In addition to the cumbersome switching steps, since the return icon 303 on the WeChat main interface is located at a position that is difficult for the user's thumb 311 to touch, it is difficult for the user to operate with one hand, which makes the switching operation more inconvenient.
以下介绍的实施例可以使用户在一个界面里通过简单的手势完成支付功能的切换,尤其适用于单手操作的情况。The embodiments described below can enable the user to complete the payment function switching through a simple gesture in one interface, which is particularly suitable for the case of one-handed operation.
图4A示出了触摸屏104上显示的用户界面。用户界面包括QQ、支付宝、twitter、Line等图标。在用户界面上,还可以显示一个应用的图标,用户点击该图标,可以直接进入本发明实施例提供的支付界面。该应用的名字可以叫快捷支付,也可以叫华为支付,本发明实施例对此不做限定,下面以该应用的名称为快捷支付为例说明本发明实施例的技术方案。用户可以通过启动支付的操作进入本发明实施例提供的功能界面。示例性的,所述启动支付的操作可以是用户点击快捷支付的图标213,响应于该手势,电子设备100启动快捷支付程序,并在触摸屏104上显示快捷支付的具体界面(如图4B所示)。在一些实施例中,所述启动支付的操作还可以是用户还可通过按压物理按键,例如位于电子设备左侧的物理按键(图中未示出),一键启动快捷支付,或者基于预设手势进入支付界面,例如用户在触摸屏上画字母P,启动快捷支付。FIG. 4A shows the user interface displayed on the touch screen 104. The user interface includes icons such as QQ, Alipay, twitter, and Line. An icon of an application can also be displayed on the user interface, and the user clicks the icon to directly enter the payment interface provided by the embodiment of the present invention. The name of the application may be called quick payment or Huawei payment. This embodiment of the present invention does not limit this. The following uses the name of the application as a quick payment to illustrate the technical solution of the embodiment of the present invention. The user can enter the function interface provided by the embodiment of the present invention through the operation of initiating payment. Exemplarily, the operation of initiating payment may be that the user clicks the icon 213 of the quick payment, and in response to the gesture, the electronic device 100 starts the quick payment program and displays a specific interface of the quick payment on the touch screen 104 (as shown in FIG. 4B ). In some embodiments, the operation of initiating payment may also be that the user may also press a physical button, such as a physical button located on the left side of the electronic device (not shown in the figure), to initiate quick payment with one key, or based on a preset The gesture enters the payment interface, for example, the user draws the letter P on the touch screen to start the quick payment.
启动快捷支付后,触摸屏显示支付界面,示例性的,支付界面可以包括第一区域、第二区域、第三区域。第一区域可以显示预设的至少两个支付应用图标,第三区域可用于显示与 当前选中的支付应用的支付功能对应的界面,第二区域可用于显示支付应用提供的支付功能。如图4B所示,第一区域401可以位于支付界面的上部,第二区域403可以位于支付界面的下部,第三区域402可以位于第一区域401和第二区域403中间。可选的,如图7所示,第一区域401也可以位于支付界面的右部,第二区域403可以位于支付界面的下部,第三区域402可以位于第一区域的左侧,第二区域403的上方。可选的,如图8所示,为了方便用户单手点击操作,第一区域401还可以位于支付界面的下部,第三区域402可以位于支付界面的上部,第二区域403可以位于第三区域402和第一区域401的中间。需要说明的是,本发明对第一区域、第三区域和第二区域的位置排列不做限定。After the quick payment is started, the touch screen displays a payment interface. Exemplarily, the payment interface may include a first area, a second area, and a third area. The first area may display at least two preset payment application icons, the third area may be used to display an interface corresponding to the payment function of the currently selected payment application, and the second area may be used to display the payment function provided by the payment application. As shown in FIG. 4B, the first area 401 may be located at the upper part of the payment interface, the second area 403 may be located at the lower part of the payment interface, and the third area 402 may be located between the first area 401 and the second area 403. Optionally, as shown in FIG. 7, the first area 401 may also be located on the right of the payment interface, the second area 403 may be located on the lower portion of the payment interface, and the third area 402 may be located on the left of the first area, and the second area Above 403. Optionally, as shown in FIG. 8, to facilitate the user's one-handed click operation, the first area 401 may also be located at the lower part of the payment interface, the third area 402 may be located at the upper part of the payment interface, and the second area 403 may be located at the third area 402 and the middle of the first area 401. It should be noted that the present invention does not limit the position arrangement of the first area, the third area, and the second area.
第一区域401可以显示可供切换的至少两个支付应用图标,如图4B所示,第一区域401显示的支付应用图标包括Google pay、微信、支付宝、京东、ofo等。在另一些实施例中,如图8所示,第一区域401还包括支付应用区域441和支付应用分类区域442。其中支付应用分类区442显示至少两种支付应用分类名称,支付应用区域441显示当前选中支付应用分类所包括的支付应用。如图8所示,应用分类区域442显示的应用分类是支付和出行。当前选中的应用分类是支付,支付应用区域441显示的支付应用为Google pay、微信和支付宝。当用户切换应用分类至出行,如图9所示,支付应用区域441显示ofo和摩拜等出行分类包括的支付应用。这种方式的好处在于,当支付的形式和种类比较多时,用户可以通过左右滑动或点击的方式切换应用分类,快速找到相应的支付应用。在一些实施例中,当用户想要切换应用分类,用户可以用手指在屏幕任意位置长按,达到预设的时间后,应用分类区域442显示的应用分类被加粗,提示用户可以切换应用分类,在保持按压的情况下,通过左右滑动切换应用分类。在一些实施例中,当用户进行应用分类切换操作时,在手指持续按压情况下,可以通过向上滑动或向下滑动,然后松开按压屏幕的手指,返回切换前应用分类。在另一些实施例中,当用户进行应用分类切换操作时,在手指持续按压情况下,可以继续左右滑动返回切换前的应用分类。本发明实施例对应用分类切换手势不做限定。The first area 401 may display at least two payment application icons available for switching. As shown in FIG. 4B, the payment application icons displayed in the first area 401 include Google Pay, WeChat, Alipay, Jingdong, ofo, and the like. In other embodiments, as shown in FIG. 8, the first area 401 further includes a payment application area 441 and a payment application classification area 442. The payment application classification area 442 displays at least two payment application classification names, and the payment application area 441 displays payment applications included in the currently selected payment application classification. As shown in FIG. 8, the application classification displayed in the application classification area 442 is payment and travel. The currently selected application category is payment, and the payment applications displayed in the payment application area 441 are Google Pay, WeChat, and Alipay. When the user switches the application category to travel, as shown in FIG. 9, the payment application area 441 displays payment applications included in travel categories such as ofo and Mobike. The advantage of this method is that when there are many forms and types of payment, users can switch the application category by sliding left or right or clicking to quickly find the corresponding payment application. In some embodiments, when the user wants to switch the application category, the user can use his finger to press and hold anywhere on the screen. After a preset time, the application category displayed in the application category area 442 is bolded, prompting the user to switch the application category , While holding the press, switch the application category by sliding left and right. In some embodiments, when the user performs an application classification switching operation, when the finger continues to press, the user may press up or down, and then release the finger pressing the screen to return to the application classification before switching. In other embodiments, when the user performs an application classification switching operation, when the finger continues to press, the user may continue to slide left and right to return to the application classification before switching. The embodiment of the present invention does not limit the application classification switching gesture.
可选的,第一区域401显示的支付应用图标或应用分类可以由用户设置,也可以由操作系统根据预设规则将支付应用显示在第一区域401中(例如操作系统根据用户的使用习惯,将用户常用的5个支付应用显示在第一区域401)。Optionally, the payment application icon or application category displayed in the first area 401 can be set by the user, or the operating system can display the payment application in the first area 401 according to a preset rule (for example, the operating system according to the user's usage habits, The five payment applications commonly used by users are displayed in the first area 401).
用户可以通过第二手势切换支付应用。示例性的,用户可以通过在第一区域401左右滑动或单击的方式,在第一区域401显示的支付应用之间切换当前选中的支付应用。可选的,用户可以通过在支付界面任意位置左右滑动,在第一区域401显示的支付应用之间切换当前选中的支付应用。这种方式的好处在于,当第一区域401不在单手大拇指适宜操作范围时,例如第一区域401位于支付界面顶部,用户依然可以单手操作。本发明实施例对滑动区域和第二手势没有进行限制。在一些实施例中,如图7所示,用户还可以通过在第一区域401上下滑动的方式,在第一区域401显示的支付应用之间切换。为提示用户当前选中的支付应用是哪个,该支付应用的图标或名称可以采用高亮、加粗或放大显示等显示方式中的一种或任意几种组合。在采用放大显示方式情况下,优选的,支付应用图标放大倍率可以为1.1。如图4B所示,当前选中的支付应用是支付宝,第一区域401中支付宝图标被放大显示,并且支付宝应用的名称“支付宝”被高亮显示。第二区域403可以显示当前选中的支付应用提供的支付功能,如图4B所示,当前选中的支付应用为支付宝,第二区域403显示支付宝提供的支付功能,包括扫码付、付款码、收钱码、声波付、乘车码等。为了提示用户当前选中的是支付宝的哪一个功能,第二区域403中当前选中的应用功能图标也可以采用高亮、放大或名字 加粗等显示方式中的一种或任意几种组合,以区别未选中的支付功能。The user can switch the payment application through the second gesture. Exemplarily, the user may switch between the payment application displayed in the first area 401 by sliding or clicking around the first area 401. Optionally, the user can switch the currently selected payment application between the payment applications displayed in the first area 401 by sliding left or right at any position on the payment interface. The advantage of this method is that when the first area 401 is not within the suitable operation range of the one-handed thumb, for example, the first area 401 is located at the top of the payment interface, the user can still operate with one hand. The embodiment of the present invention does not limit the sliding area and the second gesture. In some embodiments, as shown in FIG. 7, the user can also switch between the payment applications displayed in the first area 401 by sliding up and down in the first area 401. To remind the user which payment application is currently selected, the icon or name of the payment application may be one or any combination of display methods such as highlighting, bolding, or enlarged display. In the case of using the enlarged display mode, preferably, the magnification of the payment application icon may be 1.1. As shown in FIG. 4B, the currently selected payment application is Alipay, the Alipay icon in the first area 401 is enlarged, and the name of the Alipay application "Alipay" is highlighted. The second area 403 may display the payment function provided by the currently selected payment application. As shown in FIG. 4B, the currently selected payment application is Alipay, and the second area 403 displays the payment function provided by Alipay, including scan code payment, payment code, and payment Money code, sonic pay, ride code, etc. In order to remind the user which Alipay function is currently selected, the currently selected application function icon in the second area 403 may also be one or any combination of display modes such as highlighting, enlarging, or bolding the name to distinguish Unchecked payment function.
用户可以通过第一手势切换当前选中的支付功能。示例性地,如图4B所示,第二区域403中“扫码付”名字被高亮显示。用户可以通过在第二区域403上下滑动或单击操作,在支付宝提供的支付功能之间进行选择。可选的,用户可以通过在支付界面任意位置上下滑动,在支付宝提供的支付功能之间进行选择。本发明实施例对滑动区域和第一手势没有进行限制。在一些实施例中,如图7所示,用户还可以通过在第二区域403左右滑动的方式,在当前选中支付应用提供的支付功能之间进行选择。第三区域402可以显示当前选中的支付功能界面,如图4B所示,当前选中的支付功能是支付宝扫码付,第三区域402显示支付宝扫码付的界面。需要说明的是,第三区域402可以为可信区(TrustZone),以满足应用支付安全规范。在另一些实施例中,第三区域402、第二区域403和第四区域404可以为可信区(TrustZone)。The user can switch the currently selected payment function through the first gesture. Illustratively, as shown in FIG. 4B, the name "scan code pay" in the second area 403 is highlighted. The user can choose between the payment functions provided by Alipay by swiping up or down or clicking in the second area 403. Optionally, the user can choose between the payment functions provided by Alipay by sliding up or down at any position on the payment interface. The embodiment of the present invention does not limit the sliding area and the first gesture. In some embodiments, as shown in FIG. 7, the user can also choose between the payment functions provided by the currently selected payment application by sliding around the second area 403. The third area 402 may display the currently selected payment function interface. As shown in FIG. 4B, the currently selected payment function is Alipay scan code payment, and the third area 402 displays the Alipay scan code payment interface. It should be noted that the third zone 402 may be a trusted zone (TrustZone) to meet application payment security specifications. In other embodiments, the third zone 402, the second zone 403, and the fourth zone 404 may be TrustZone.
在一些实施例中,支付界面设有默认的支付应用。每个支付应用设有默认的支付功能。支付界面启动后,当前选中的支付应用为默认的支付应用,当前选中的支付功能为该支付应用默认的支付功能。例如支付宝是默认的支付应用,扫码付是支付宝默认的支付功能。支付界面启动后,当前选中的支付应用为支付宝应用,当前选中的支付功能为支付宝扫码付功能。用户切换支付应用后,被切换支付应用的默认支付功能被设为当前选中的支付功能。例如,假设微信默认的支付功能是扫码功能,当用户将当前选中的支付应用从支付宝切换至微信,当前选中的支付功能为微信扫码功能。默认的支付应用和该支付应用默认的支付功能可以由用户设置,也可以设置为上次退出时选择的支付应用和支付功能,还可以由电子设备100根据用户使用频率自动设置。具体设置方式本发明实施例不作限定。In some embodiments, the payment interface is provided with a default payment application. Each payment application has a default payment function. After the payment interface is started, the currently selected payment application is the default payment application, and the currently selected payment function is the default payment function of the payment application. For example, Alipay is the default payment application, and scan code payment is the default payment function of Alipay. After the payment interface is started, the currently selected payment application is the Alipay application, and the currently selected payment function is the Alipay scan code payment function. After the user switches the payment application, the default payment function of the switched payment application is set to the currently selected payment function. For example, assume that the default payment function of WeChat is the code scanning function. When the user switches the currently selected payment application from Alipay to WeChat, the currently selected payment function is the WeChat code scanning function. The default payment application and the default payment function of the payment application can be set by the user, or can be set to the payment application and payment function selected at the last exit, or can be automatically set by the electronic device 100 according to the frequency of use by the user. The specific setting method is not limited in the embodiment of the present invention.
在一些实施例中,检测到用户启动快捷支付应用或在支付界面切换支付应用,电子设备100启动当前选中的支付应用,调取当前选中的支付功能的界面,将该支付功能界面显示在第三区域402。示例性的,当前选中的支付应用为支付宝,当前选中的支付功能为支付宝扫码付。当用户启动快捷支付应用,电子设备100启动支付宝应用,如图4B所示,调取支付宝扫码付功能界面显示在第三区域402。当用户在图4B所示的区域401向右滑动,当前选中的支付应用从支付宝切换为微信,电子设备100启动微信应用,调取微信扫码功能界面显示在第三区域402,触摸屏104显示的界面如图4G所示。在一些实施例中,检测到第二手势,电子设备100调取切换后的支付功能的界面,将该支付功能界面显示在第三区域402。示例性的,如图4B所示,当前选中的支付功能为支付宝的扫码付,当用户在图4B所示的第二区域403向上滑动,触摸屏104显示的界面如图4H所示,第三区域402显示的内容从支付宝的扫码付界面切换至支付宝的付款码界面。In some embodiments, it is detected that the user starts the quick payment application or switches the payment application on the payment interface, the electronic device 100 starts the currently selected payment application, retrieves the interface of the currently selected payment function, and displays the payment function interface on the third Area 402. Exemplarily, the currently selected payment application is Alipay, and the currently selected payment function is Alipay scan code payment. When the user starts the quick payment application, the electronic device 100 starts the Alipay application. As shown in FIG. 4B, the interface for calling the Alipay scan code payment function is displayed in the third area 402. When the user slides to the right in the area 401 shown in FIG. 4B, the currently selected payment application is switched from Alipay to WeChat, the electronic device 100 starts the WeChat application, and the interface for calling the WeChat code scanning function is displayed in the third area 402, and the touch screen 104 displays the The interface is shown in Figure 4G. In some embodiments, when the second gesture is detected, the electronic device 100 retrieves the interface of the switched payment function and displays the interface of the payment function in the third area 402. Exemplarily, as shown in FIG. 4B, the currently selected payment function is Alipay’s scan code payment. When the user slides up in the second area 403 shown in FIG. 4B, the interface displayed on the touch screen 104 is shown in FIG. 4H. The third The content displayed in the area 402 is switched from the Alipay scan code payment interface to the Alipay payment code interface.
在一些实施例中,检测到用户启动快捷支付应用或在不同的支付应用之间切换时,区域402不立即显示对应的支付功能界面,当检测到用户单击第三区域402的任意位置时,电子设备100启动当前选中的支付应用,调取当前选中的支付功能的界面,将该支付功能界面显示在第三区域402。在另一些实施例中,当用户在同一个支付应用的不同支付功能之间切换时,区域402不立即显示对应的支付功能,当用户做出单击手势,检测到手势位于第三区域402的任意位置时,电子设备100启调取当前选中的支付功能的界面,将该支付功能界面显示在第三区域402。在检测到单击手势420前,电子设备100不启动当前选中的支付应用,第三区域402可以不显示任何内容。示例性的,如图4I所示,当前选中的支付应用为支付宝,当前选中的支付功能为支付宝的扫码付,在用户单击区域402的任意位置之前,区域402显示空白内容。当用户做出单击手势420,检测到单击手势420位于第三区域402后,电子设备100开始启动支付宝应用,并调用支付宝的扫码付功能,将支付宝的扫码付功能显示在区 域402。这种操作方式的优势在于提高电子设备100运行的流畅性。In some embodiments, when it is detected that the user starts the quick payment application or switches between different payment applications, the area 402 does not immediately display the corresponding payment function interface. When it is detected that the user clicks anywhere in the third area 402, The electronic device 100 starts the currently selected payment application, retrieves the interface of the currently selected payment function, and displays the interface of the payment function in the third area 402. In some other embodiments, when the user switches between different payment functions of the same payment application, the area 402 does not immediately display the corresponding payment function. When the user makes a click gesture, it is detected that the gesture is located in the third area 402 At any position, the electronic device 100 initiates an interface to retrieve the currently selected payment function, and displays the payment function interface in the third area 402. Before detecting the click gesture 420, the electronic device 100 does not start the currently selected payment application, and the third area 402 may not display any content. Exemplarily, as shown in FIG. 4I, the currently selected payment application is Alipay, and the currently selected payment function is Alipay scan code payment. Before the user clicks anywhere in the area 402, the area 402 displays blank content. When the user makes a click gesture 420 and detects that the click gesture 420 is located in the third area 402, the electronic device 100 starts the Alipay application, and calls the Alipay scan code payment function to display the Alipay scan code payment function in the area 402 . The advantage of this operation method is to improve the fluency of the electronic device 100.
在一些实施例中,支付界面还包括第四区域404。第四区域404可以包括求助标识。用户点击求助标识,可以将触摸屏104显示的界面从支付界面切换至当前选中的支付应用的求助界面。例如在图4B中,当前选中的支付应用是支付宝,第四区域404位于第二区域403下方,包括求助标识431。检测到用户单击求助标识431,启动支付宝的帮助功能,触摸屏104从支付界面切换至如图6所示的界面。如图6所示,支付界面中第三区域402、第二区域403和第四区域404显示支付宝客服界面。如果用户想要返回如图4B所示的支付界面,可以在如6所示的界面向右滑动,将触摸屏104显示的界面从支付宝客服界面切换至支付界面(如图4B所示)。In some embodiments, the payment interface further includes a fourth area 404. The fourth area 404 may include a help sign. The user clicks on the help indicator to switch the interface displayed on the touch screen 104 from the payment interface to the help interface of the currently selected payment application. For example, in FIG. 4B, the currently selected payment application is Alipay, and the fourth area 404 is located below the second area 403 and includes a help sign 431. It is detected that the user clicks the help mark 431 to start the help function of Alipay, and the touch screen 104 switches from the payment interface to the interface shown in FIG. 6. As shown in FIG. 6, the third area 402, the second area 403, and the fourth area 404 in the payment interface display the Alipay customer service interface. If the user wants to return to the payment interface shown in FIG. 4B, he can swipe right on the interface shown in FIG. 6 to switch the interface displayed on the touch screen 104 from the Alipay customer service interface to the payment interface (as shown in FIG. 4B).
在一些实施例中,当触摸屏104显示的界面是支付界面,如果触摸屏104在预设的时间内没有检测到任何触摸操作,可以显示操作提示信息。示例性的,如图4J所示,第一区域401和第二区域403可以显示箭头421,提示用户可以左右滑动切换当前选中的支付应用,上下滑动切换当前选中的支付功能。在另一些实施例中,提示信息可以是文字、动画等。In some embodiments, when the interface displayed on the touch screen 104 is a payment interface, if the touch screen 104 does not detect any touch operation within a preset time, operation prompt information may be displayed. Exemplarily, as shown in FIG. 4J, the first area 401 and the second area 403 may display an arrow 421, prompting the user to slide left and right to switch the currently selected payment application, and slide up and down to switch the currently selected payment function. In other embodiments, the prompt information may be text, animation, and so on.
下面以具体实例来对本申请的技术方案做进一步的说明。The technical solution of the present application is further described below with specific examples.
如图4B所示,触摸屏104显示的界面是支付界面,当前选中的支付应用是支付宝,当前选中的支付功能是支付宝扫码付,第三区域402显示支付宝扫码付的界面。如果用户想要切换到微信应用,可以做出向右滑动手势411,响应于手势411,电子设备100启动微信应用,调取微信扫码功能的界面。当前选中的支付应用从支付宝应用切换至微信应用,电子设备100将触摸屏104上显示的如图4B所示的快捷界面切换至如图4G所示的快捷界面。如图4G所示,第一区域401微信应用图标被放大,微信应用的名称“微信”被高亮。支付宝应用图标被缩小,支付宝应用的名称“支付宝”不被高亮,此时支付宝应用的图标和名称的显示样式,同其他未被选中的应用。第三区域402显示微信扫码功能的界面。第二区域403显示微信提供的支付功能。可以理解的是,在图4B所示界面,用户用手指向左滑动时,当前选中的支付应用可以从支付宝切换至京东。在图4G所示界面,如果用户继续向右滑动,当前选中的支付应用可以从微信切换至Google Pay。As shown in FIG. 4B, the interface displayed on the touch screen 104 is a payment interface, the currently selected payment application is Alipay, the currently selected payment function is Alipay scan code payment, and the third area 402 displays the Alipay scan code payment interface. If the user wants to switch to the WeChat application, the user may make a swipe gesture 411 to the right, and in response to the gesture 411, the electronic device 100 starts the WeChat application to call the interface of the WeChat code scanning function. The currently selected payment application is switched from the Alipay application to the WeChat application, and the electronic device 100 switches the shortcut interface shown in FIG. 4B displayed on the touch screen 104 to the shortcut interface shown in FIG. 4G. As shown in FIG. 4G, the WeChat application icon in the first area 401 is enlarged, and the name "WeChat" of the WeChat application is highlighted. The Alipay application icon is reduced, and the Alipay application name "Alipay" is not highlighted. At this time, the display style of the Alipay application icon and name is the same as other unselected applications. The third area 402 displays the interface of the WeChat code scanning function. The second area 403 displays the payment function provided by WeChat. It can be understood that, in the interface shown in FIG. 4B, when the user swipes to the left with his finger, the currently selected payment application can be switched from Alipay to Jingdong. In the interface shown in Figure 4G, if the user continues to swipe to the right, the currently selected payment application can be switched from WeChat to Google Pay.
在一些实施例中,切换支付应用过程有过渡动画。以从支付宝应用切换至微信应用为例,如图4F所示,检测到向右滑动手势411,第一区域401支付宝图标逐渐缩小,微信图标逐渐变大。第三区域402显示的支付宝扫码付界面向右移动逐渐消失,微信扫码界面向右逐渐展开,第三区域402显示内容逐渐从支付宝扫码付界面过渡到微信扫码界面。第二区域403显示内容从支付宝提供的支付功能逐渐过渡到微信提供的支付功能。检测到手势411被释放,第一区域支付宝应用的名称“支付宝”停止高亮,微信应用的名称“微信”高亮,微信应用图标被放大。第三区域停止显示支付宝扫码付界面,显示微信扫码界面,第二区域停止显示支付宝提供的支付功能,显示微信提供的支付功能。在一些实施例中,如图4B所示,当前选中的支付应用是支付宝,在检测到切换手势前,可以预加载支付宝相邻的应用,如微信和京东。这种方式的好处在于,在预加载情况下,用户切换更为迅速,同时切换动画所需的资源也可以在预加载的应用中获取。In some embodiments, there is a transition animation during the switching payment application process. Taking the switch from the Alipay application to the WeChat application as an example, as shown in FIG. 4F, when a swipe gesture 411 is detected to the right, the Alipay icon in the first area 401 gradually shrinks, and the WeChat icon gradually becomes larger. The Alipay scanning interface displayed in the third area 402 moves to the right gradually disappears, the WeChat scanning interface gradually expands to the right, and the display content in the third area 402 gradually transitions from the Alipay scanning interface to the WeChat scanning interface. The second area 403 shows that the content gradually transitions from the payment function provided by Alipay to the payment function provided by WeChat. It is detected that the gesture 411 is released, the name "Alipay" of the Alipay application in the first area stops highlighting, the name "WeChat" of the WeChat application is highlighted, and the icon of the WeChat application is enlarged. The third area stops displaying the Alipay scan code payment interface, and displays the WeChat scan code interface, and the second area stops displaying the payment functions provided by Alipay, and displays the payment functions provided by WeChat. In some embodiments, as shown in FIG. 4B, the currently selected payment application is Alipay, and before detecting the switch gesture, adjacent applications of Alipay, such as WeChat and Jingdong, may be preloaded. The advantage of this method is that in the case of preloading, the user switches more quickly, and at the same time, the resources required to switch the animation can also be obtained in the preloaded application.
如果用户想要在同一个应用内切换支付功能,如图4D所示,用户做出向上滑动的手势413,响应于手势413,电子设备100调取支付宝付款码功能界面。检测到手势413被释放,电子设备100将触摸屏104上显示的如图4D所示的快捷界面切换至如图4H所示的快捷界面。如图4H所示,第三区域402显示支付宝付款码的界面。第二区域付款码被高亮,扫码付停止高亮。第一区域401显示的内容保持不变。可以理解的是,在图4D所示界面,用户用手指向下 滑动时,当前选中的支付功能可以从支付宝扫码付切换至支付宝乘车码。在图4H所示界面,如果用户继续向上滑动,当前选中的支付功能可以从支付宝付款码切换至支付宝收钱码。If the user wants to switch the payment function within the same application, as shown in FIG. 4D, the user makes a gesture 413 of sliding up, and in response to the gesture 413, the electronic device 100 calls the Alipay payment code function interface. Detecting that the gesture 413 is released, the electronic device 100 switches the shortcut interface shown in FIG. 4D displayed on the touch screen 104 to the shortcut interface shown in FIG. 4H. As shown in FIG. 4H, the third area 402 displays the Alipay payment code interface. The payment code in the second area is highlighted, and the scan code payment stops highlighting. The content displayed in the first area 401 remains unchanged. It can be understood that, in the interface shown in FIG. 4D, when the user swipes down with his finger, the currently selected payment function can be switched from Alipay scan code payment to Alipay ride code. In the interface shown in FIG. 4H, if the user continues to slide up, the currently selected payment function can be switched from the Alipay payment code to the Alipay collection code.
一些实施例中,用户还可以通过单击支付应用图标切换支付应用。如图4C所示,用户做出单击手势416,响应于该手势416,如图4G所示,当前选中的支付应用从支付宝应用切换至微信应用。用户也可以通过单击支付功能图标切换支付功能。例如,如图4E所示,用户做出单击手势417,响应于手势417,当前选中的支付功能从扫码付切换至声波付。单击切换方式相比滑动切换方式更为快捷。如图4C所示,假设用户想要切换至ofo应用,采用滑动切换方式,需要向左滑动两次。如果采用单击切换方式,用户只需点击ofo图标一次即可完成切换。同样,如果用户想要选择支付宝声波付,需要向上滑动三次或较长距离滑动,如果采用单击切换方式,只需点击声波付图标即可完成切换。In some embodiments, the user can also switch the payment application by clicking the payment application icon. As shown in FIG. 4C, the user makes a click gesture 416, and in response to the gesture 416, as shown in FIG. 4G, the currently selected payment application is switched from the Alipay application to the WeChat application. The user can also switch the payment function by clicking the payment function icon. For example, as shown in FIG. 4E, the user makes a click gesture 417, and in response to the gesture 417, the currently selected payment function is switched from scanning code payment to sonic payment. One-click switching is faster than sliding switching. As shown in FIG. 4C, assuming that the user wants to switch to the ofo application and adopts the sliding switching method, it needs to slide to the left twice. If one-click switching is adopted, the user only needs to click the ofo icon once to complete the switching. Similarly, if the user wants to choose Alipay Sonic Pay, they need to swipe up three times or swipe for a long distance. If the one-click switching method is used, just click the Sonic Pay icon to complete the switch.
下面以图4B、图5A至图5C具体描述一些实施例中支付功能使用过程。如图4B所示,第三区域402显示的是支付宝扫码付界面。当电子设备100通过摄像头检测到支付宝二维码后,将二维码包含的支付信息传递给支付宝应用,触摸屏104显示的界面从如图4B所示的支付界面切换至如图5A所示的支付界面,其中第三区域402、第二区域403和第四区域404显示支付宝根据支付信息生成的支付界面。用户可以在确认支付图标做出单击手势419,响应于手势419,第三区域402、第二区域403和第四区域404显示指纹或密码验证界面。验证成功后如支付成功,第三区域402、第二区域403和第四区域404显示支付成功界面(如图5B所示)。如支付失败,第三区域402、第二区域403和第四区域404显示支付失败界面(如图5C所示)。在一些实施例中,如图5A至图5C所示,如果用户做出向右滑动手势418,响应于手势418,触摸屏104显示的界面切换至如图4B所示的支付界面。The process of using the payment function in some embodiments is specifically described below with reference to FIGS. 4B and 5A to 5C. As shown in FIG. 4B, the third area 402 displays the Alipay scan code payment interface. When the electronic device 100 detects the Alipay QR code through the camera, it transmits the payment information contained in the QR code to the Alipay application, and the interface displayed on the touch screen 104 switches from the payment interface shown in FIG. 4B to the payment shown in FIG. 5A Interface, where the third area 402, the second area 403, and the fourth area 404 display the payment interface generated by Alipay according to the payment information. The user may make a click gesture 419 upon confirming the payment icon, and in response to the gesture 419, the third area 402, the second area 403, and the fourth area 404 display a fingerprint or password verification interface. After the verification is successful, if the payment is successful, the third area 402, the second area 403, and the fourth area 404 display the payment success interface (as shown in FIG. 5B). If the payment fails, the third area 402, the second area 403, and the fourth area 404 display the payment failure interface (as shown in FIG. 5C). In some embodiments, as shown in FIGS. 5A to 5C, if the user makes a swipe right gesture 418, in response to the gesture 418, the interface displayed on the touch screen 104 switches to the payment interface shown in FIG. 4B.
在另一些实施例中,当电子设备100通过摄像头检测到支付宝二维码后,将二维码包含的支付信息传递给支付宝应用,并显示支付宝应用界面。用户可以在支付宝应用界面完成支付操作。In other embodiments, after detecting the Alipay QR code through the camera, the electronic device 100 transmits the payment information contained in the QR code to the Alipay application, and displays the Alipay application interface. Users can complete payment operations on the Alipay application interface.
如图10所示,本申请实施例公开了一种电子设备1000,该电子设备1000可以包括:触摸屏1011、处理器1012、存储器1013,摄像头1015,还包括连接上述器件的一条或多条通信总线1014。本申请实施例中的电子设备1000可以用于执行图4A至图9对应的实施例以及他们扩展实施例中的技术方案As shown in FIG. 10, an embodiment of the present application discloses an electronic device 1000. The electronic device 1000 may include: a touch screen 1011, a processor 1012, a memory 1013, a camera 1015, and one or more communication buses connected to the above devices 1014. The electronic device 1000 in the embodiment of the present application may be used to execute the technical solutions in the embodiments corresponding to FIGS. 4A to 9 and their extended embodiments
在本申请的另外一些实施例中,公开了一种电子设备,该电子设备可以包括:触摸屏,其中上述触摸屏包括触敏表面(例如触控面板)和显示器;一个或多个处理器;存储器;摄像头;以及一个或多个程序,其中该一个或多个程序被存储在上述存储器中,该一个或多个程序包括指令,当上述指令被上述电子设备执行时,使得上述电子设备执行以下步骤:In some other embodiments of the present application, an electronic device is disclosed. The electronic device may include: a touch screen, wherein the touch screen includes a touch-sensitive surface (such as a touch panel) and a display; one or more processors; a memory; Camera; and one or more programs, wherein the one or more programs are stored in the memory, the one or more programs include instructions, when the instructions are executed by the electronic device, the electronic device causes the electronic device to perform the following steps:
检测启动支付的操作;响应于上述操作,在上述触摸屏显示支付界面,其中,上述支付界面包括第一区域、第二区域和第三区域,上述第一区域用于显示至少两个支付应用,上述至少两个支付应用中的第一支付应用为当前选中的支付应用;上述第二区域用于显示上述当前选中的支付应用支持的至少两个支付功能,上述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;上述第三区域用于显示当前选中的支付功能的支付界面;检测第一手势;响应于上述第一手势,上述第二区域显示的当前选中的支付功能由上述第一支付应用的第一支付功能切换为上述第一支付应用的第二支付功能,上述第三区域切换为显示所述第二支付功能的支付界面;检测第二手势;响应于上述第二手势,上述第一区域显示的当前选中的支付应用由上述第一支付应用切换为上述第二支付应用,上述第二区域切换为显示上述第二支付应用支持的至少一个支付功能,上述第二支付应用支持的至 少一个支付功能中的第三支付功能为当前选中的支付功能,上述第三区域切换为显示上述第三支付功能的支付界面。上述技术方案使用户可以快速切换支付应用和支付功能。Detecting an operation to initiate payment; in response to the above operation, displaying a payment interface on the touch screen, wherein the payment interface includes a first area, a second area, and a third area, and the first area is used to display at least two payment applications, The first payment application of the at least two payment applications is the currently selected payment application; the second area is used to display at least two payment functions supported by the currently selected payment application, and at least two of the currently selected payment application support The first payment function in the payment function is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; the first gesture is detected; in response to the first gesture, the current display in the second area The selected payment function is switched from the first payment function of the first payment application to the second payment function of the first payment application, and the third area is switched to a payment interface displaying the second payment function; detecting a second gesture ; In response to the second gesture, the currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, and the second area is switched to display at least one supported by the second payment application Payment function, the third payment function of the at least one payment function supported by the second payment application is the currently selected payment function, and the third area is switched to a payment interface displaying the third payment function. The above technical solutions enable users to quickly switch between payment applications and payment functions.
在另外一种可能的实现方式中,上述第一区域还可以包括支付应用区域和支付应用分类区域,上述支付应用分类区域包括支付和出行两种应用分类,上述支付应用区域用于显示所述支付应用分类区域中被选中的应用分类所包括的至少两个支付应用。这种方式在支付应用较多的情况下,方便用户快速切换支付应用和支付功能。In another possible implementation manner, the first area may further include a payment application area and a payment application classification area. The payment application classification area includes payment and travel application classifications. The payment application area is used to display the payment At least two payment applications included in the selected application category in the application category area. In this way, when there are many payment applications, it is convenient for users to quickly switch between payment applications and payment functions.
在本申请的其他一些实施例中,上述第一区域位于所述支付界面下部,上述第三区域位于上述支付界面下部,上述第三区域位于上述支付界面上部,上述第二区域位于上述第一区域和上述第三区域的中间。这种方式的好处在于方便用户在单手持握电子设备的情况下用大拇指滑动操作。In some other embodiments of the present application, the first region is located at the lower part of the payment interface, the third region is located at the lower part of the payment interface, the third region is located at the upper part of the payment interface, and the second region is located at the first region And in the middle of the third area above. The advantage of this method is that it is convenient for the user to slide and operate with the thumb while holding the electronic device in one hand.
在本申请的另外一些实施例中,当上述指令还可以使得上述电子设备执行以下步骤:在上述检测第二手势之后,在上述第三区域切换为显示所述第三支付功能的支付界面之前:检测作用于上述第三区域的单击操作,响应于上述单击操作,上述第三区域切换为显示上述第三支付功能的支付界面。In some other embodiments of the present application, when the above-mentioned instruction can also cause the above-mentioned electronic device to perform the following steps: after the above-mentioned detection of the second gesture, before the above-mentioned third area is switched to display the payment interface of the third payment function : Detect a click operation on the third area, and in response to the click operation, the third area switches to a payment interface displaying the third payment function.
在另外一种可能的实现方式中,上述第一手势为左右滑动手势,上述第二手势为上下滑动手势,或,上述第一手势为上下滑动手势,上述第二手势为左右滑动手势。In another possible implementation manner, the first gesture is a left-right sliding gesture, the second gesture is an up-down sliding gesture, or the first gesture is an up-down sliding gesture, and the second gesture is a left-right sliding gesture.
本申请实施例提供一种电子设备,该电子设备可以包括显示模块、检测模块和切换模块。图4A至图9对应的实施例以及他们扩展实施例中的技术方案可以在本电子设备中实现。具体地,检测模块,用于检测启动支付的操作;显示模块,用于显示支付界面,其中,所述支付界面包括第一区域、第二区域和第三区域,所述第一区域用于显示至少两个支付应用,所述至少两个支付应用中的第一支付应用为当前选中的支付应用;所述第二区域用于显示所述当前选中的支付应用支持的至少两个支付功能,所述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;所述第三区域用于显示当前选中的支付功能的支付界面;检测模块,还用于检测第一手势;切换模块,用于响应于所述第一手势,将所述第二区域显示的当前选中的支付功能由所述第一支付应用的第一支付功能切换为所述第一支付应用的第二支付功能,将所述第三区域切换为显示所述第二支付功能的支付界面;检测模块,还用于检测第二手势;切换模块,用于响应于所述第二手势,将所述第一区域显示的当前选中的支付应用由所述第一支付应用切换为所述第二支付应用,所述第二区域切换为显示所述第二支付应用支持的至少一个支付功能,所述第二支付应用支持的至少一个支付功能中的第三支付功能为当前选中的支付功能,所述第三区域切换为显示所述第三支付功能的支付界面。An embodiment of the present application provides an electronic device. The electronic device may include a display module, a detection module, and a switching module. The embodiments corresponding to FIGS. 4A to 9 and the technical solutions in their extended embodiments may be implemented in the electronic device. Specifically, the detection module is used to detect the operation of starting payment; the display module is used to display the payment interface, wherein the payment interface includes a first area, a second area, and a third area, and the first area is used to display At least two payment applications, the first payment application of the at least two payment applications is the currently selected payment application; the second area is used to display at least two payment functions supported by the currently selected payment application, so The first payment function of the at least two payment functions supported by the currently selected payment application is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function; the detection module is also used to detect A first gesture; a switching module for switching the currently selected payment function displayed in the second area from the first payment function of the first payment application to the first payment application in response to the first gesture The second payment function, the third area is switched to display the payment interface of the second payment function; the detection module is also used to detect a second gesture; the switching module is used to respond to the second gesture , The currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, and the second area is switched to display at least one payment function supported by the second payment application The third payment function of the at least one payment function supported by the second payment application is the currently selected payment function, and the third area is switched to a payment interface displaying the third payment function.
本申请实施例提供一种计算机存储介质,该计算机存储介质可以包括计算机指令。当所述计算机指令在电子设备上运行时,使得所述电子设备执行图4A至图9对应的实施例以及他们扩展实施例中的技术方案。An embodiment of the present application provides a computer storage medium, and the computer storage medium may include computer instructions. When the computer instructions run on the electronic device, the electronic device is caused to execute the technical solutions in the embodiments corresponding to FIGS. 4A to 9 and their extended embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线) 或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid-state hard disk), or the like.
为了解释的目的,前面的描述是通过参考具体实施例来进行描述的。然而,上面的示例性的讨论并非意图是详尽的,也并非意图要将本申请限制到所公开的精确形式。根据以上教导内容,很多修改形式和变型形式都是可能的。选择和描述实施例是为了充分阐明本申请的原理及其实际应用,以由此使得本领域的其他技术人员能够充分利用具有适合于所构想的特定用途的各种修改的本申请以及各种实施例。For the purpose of explanation, the foregoing description is described by referring to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive, nor is it intended to limit the application to the precise form disclosed. According to the above teaching content, many modifications and variations are possible. The embodiments are selected and described in order to fully clarify the principles of the present application and its practical application, so as to enable others skilled in the art to make full use of the present application with various modifications suitable for the specific uses envisioned and various implementations example.

Claims (25)

  1. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it includes:
    一个或多个处理器;One or more processors;
    存储器;Memory
    触摸屏,其中,所述触摸屏包括触敏表面和显示器;Touch screen, wherein the touch screen includes a touch-sensitive surface and a display;
    摄像头;camera;
    以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行以下步骤:And one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs include instructions, when the instructions are executed by the electronic device, such that The electronic device performs the following steps:
    检测启动支付的操作;Detect the operation of starting payment;
    响应于所述操作,显示支付界面,其中,所述支付界面包括第一区域、第二区域和第三区域,所述第一区域用于显示至少两个支付应用,所述至少两个支付应用中的第一支付应用为当前选中的支付应用;所述第二区域用于显示所述当前选中的支付应用支持的至少两个支付功能,所述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;所述第三区域用于显示当前选中的支付功能的支付界面;In response to the operation, a payment interface is displayed, wherein the payment interface includes a first area, a second area, and a third area, the first area is used to display at least two payment applications, and the at least two payment applications The first payment application in is the currently selected payment application; the second area is used to display at least two payment functions supported by the currently selected payment application, and at least two payment functions supported by the currently selected payment application The first payment function in is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function;
    检测第一手势;Detect the first gesture;
    响应于所述第一手势,所述第二区域显示的当前选中的支付功能由所述第一支付应用的第一支付功能切换为所述第一支付应用的第二支付功能,所述第三区域切换为显示所述第二支付功能的支付界面;In response to the first gesture, the currently selected payment function displayed in the second area is switched from the first payment function of the first payment application to the second payment function of the first payment application, the third The area switches to a payment interface displaying the second payment function;
    检测第二手势;Detect the second gesture;
    响应于所述第二手势,所述第一区域显示的当前选中的支付应用由所述第一支付应用切换为所述第二支付应用,所述第二区域切换为显示所述第二支付应用支持的至少一个支付功能,所述第二支付应用支持的至少一个支付功能中的第三支付功能为当前选中的支付功能,所述第三区域切换为显示所述第三支付功能的支付界面。In response to the second gesture, the currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, and the second area is switched to display the second payment At least one payment function supported by the application, the third payment function of the at least one payment function supported by the second payment application is the currently selected payment function, and the third area is switched to a payment interface displaying the third payment function .
  2. 根据权利要求1所述的电子设备,其特征在于,所述第一区域位于所述支付界面下部,所述第三区域位于所述支付界面上部,所述第二区域位于所述第一区域和所述第三区域的中间。The electronic device according to claim 1, wherein the first area is located at a lower portion of the payment interface, the third area is located at an upper portion of the payment interface, and the second area is located at the first area and In the middle of the third area.
  3. 根据权利要求1所述的电子设备,其特征在于,所述第一区域还包括支付应用区域和支付应用分类区域,所述支付应用分类区域包括支付和出行两种应用分类,所述支付应用区域用于显示所述支付应用分类区域中被选中的应用分类所包括的至少两个支付应用。The electronic device according to claim 1, wherein the first area further includes a payment application area and a payment application classification area, and the payment application classification area includes both payment and travel application classifications, and the payment application area It is used to display at least two payment applications included in the selected application category in the payment application category area.
  4. 根据权利要求2或3所述的电子设备,其特征在于,所述指令还使得所述电子设备执行以下步骤:The electronic device according to claim 2 or 3, wherein the instruction further causes the electronic device to perform the following steps:
    在所述检测第二手势之后,在所述第三区域切换为显示所述第三支付功能的支付界面之前:检测作用于所述第三区域的单击操作,响应于所述单击操作,所述第三区域切换为显示所述第三支付功能的支付界面。After the detection of the second gesture, before the third area is switched to display the payment interface of the third payment function: detecting a click operation acting on the third area, in response to the click operation , The third area is switched to display the payment interface of the third payment function.
  5. 根据权利要求1至4所述的电子设备,其特征在于,所述触摸屏显示的所述支付界面还包括第四区域,所述第四区域位于所述第一区域下部,或,The electronic device according to claims 1 to 4, characterized in that the payment interface displayed on the touch screen further comprises a fourth area, the fourth area being located in the lower part of the first area, or,
    所述第四区域位于所述第三区域上部。The fourth area is located above the third area.
  6. 根据权利要求5所述的电子设备,其特征在于,所述第一区域的当前选中的支付应用采用与未被选中的支付应用不同的显示方式,所述显示方式包括高亮、变色、加粗或者放大所述第一区域的当前选中的支付应用的图标或名称;以及,The electronic device according to claim 5, wherein the currently selected payment application in the first area adopts a display mode different from that of the unselected payment application, the display mode including highlighting, color changing, and bolding Or enlarge the icon or name of the currently selected payment application in the first area; and,
    所述第二区域当前选中的支付功能采用与未选被中支付功能不同的显示方式,所述显示方式包括高亮、变色、加粗或放大所述第二区域的当前选中的支付功能的名称或图标。The currently selected payment function in the second area uses a different display method from the unselected payment function, and the display method includes highlighting, changing color, bolding, or enlarging the name of the currently selected payment function in the second area Or icon.
  7. 根据权利要求6所述的电子设备,其特征在于,所述第一手势为左右滑动手势,所述第二手势为上下滑动手势,或,The electronic device according to claim 6, wherein the first gesture is a left and right sliding gesture, and the second gesture is an up and down sliding gesture, or,
    所述第一手势为上下滑动手势,所述第二手势为左右滑动手势。The first gesture is an up and down sliding gesture, and the second gesture is a left and right sliding gesture.
  8. 根据权利要求7所述的电子设备,其特征在于,所述指令还使得所述电子设备执行以下步骤:The electronic device according to claim 7, wherein the instruction further causes the electronic device to perform the following steps:
    在显示所述支付界面之后,在检测所述第一手势之前,在预设时间内没有检测到任何触摸操作,显示提示用户滑动切换支付应用或滑动切换支付功能的信息。After displaying the payment interface, before detecting the first gesture, no touch operation is detected within a preset time, and a message prompting the user to slide to switch the payment application or slide to switch the payment function is displayed.
  9. 一种支付方法,其特征在于,所述方法包括:A payment method, characterized in that the method includes:
    检测启动支付的操作;Detect the operation of starting payment;
    响应于所述操作,显示支付界面,其中,所述支付界面包括第一区域、第二区域和第三区域,所述第一区域用于显示至少两个支付应用,所述至少两个支付应用中的第一支付应用为当前选中的支付应用;所述第二区域用于显示所述当前选中的支付应用支持的至少两个支付功能,所述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;所述第三区域用于显示当前选中的支付功能的支付界面;In response to the operation, a payment interface is displayed, wherein the payment interface includes a first area, a second area, and a third area, the first area is used to display at least two payment applications, and the at least two payment applications The first payment application in is the currently selected payment application; the second area is used to display at least two payment functions supported by the currently selected payment application, and at least two payment functions supported by the currently selected payment application The first payment function in is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function;
    检测第一手势;Detect the first gesture;
    响应于所述第一手势,所述第二区域显示的当前选中的支付功能由所述第一支付应用的第一支付功能切换为所述第一支付应用的第二支付功能,所述第三区域切换为显示所述第二支付功能的支付界面;In response to the first gesture, the currently selected payment function displayed in the second area is switched from the first payment function of the first payment application to the second payment function of the first payment application, the third The area switches to a payment interface displaying the second payment function;
    检测第二手势;Detect the second gesture;
    响应于所述第二手势,所述第一区域显示的当前选中的支付应用由所述第一支付应用切换为所述第二支付应用,所述第二区域切换为显示所述第二支付应用支持的至少一个支付功能,所述第二支付应用支持的至少一个支付功能中的第三支付功能为当前选中的支付功能,所述第三区域切换为显示所述第三支付功能的支付界面。In response to the second gesture, the currently selected payment application displayed in the first area is switched from the first payment application to the second payment application, and the second area is switched to display the second payment At least one payment function supported by the application, the third payment function of the at least one payment function supported by the second payment application is the currently selected payment function, and the third area is switched to a payment interface displaying the third payment function .
  10. 根据权利要求9所述的方法,其特征在于,所述第一区域位于所述支付界面下部,所述第三区域位于所述支付界面上部,所述第二区域位于所述第一区域和所述第三区域的中间。The method according to claim 9, wherein the first area is located at the lower part of the payment interface, the third area is located at the upper part of the payment interface, and the second area is located at the first area and all In the middle of the third area.
  11. 根据权利要求9所述的方法,其特征在于,所述第一区域还包括支付应用区域和支付应用分类区域,所述支付应用分类区域包括支付和出行两种应用分类,所述支付应用区域用于显示所述支付应用分类区域中被选中的应用分类所包括的至少两个支付应用。The method according to claim 9, wherein the first area further includes a payment application area and a payment application classification area, the payment application classification area includes both payment and travel application classifications, and the payment application area is used At least two payment applications included in the selected application category in the payment application category area are displayed.
  12. 根据权利要求10或11所述的方法,其特征在于,在所述检测第二手势之后,在所述第三区域切换为显示所述第三支付功能的支付界面之前,所述方法还包括:The method according to claim 10 or 11, wherein after the second gesture is detected, before the third area is switched to display the payment interface of the third payment function, the method further comprises :
    检测作用于所述第三区域的单击操作,响应于所述单击操作,所述第三区域切换为显 示所述第三支付功能的支付界面。A click operation acting on the third area is detected, and in response to the click operation, the third area is switched to a payment interface displaying the third payment function.
  13. 根据权利要求9至12所述的方法,其特征在于,所述支付界面还包括第四区域,所述第四区域位于所述第一区域下部,或,The method according to claims 9 to 12, wherein the payment interface further comprises a fourth area, the fourth area is located in the lower part of the first area, or,
    所述第四区域位于所述第三区域上部。The fourth area is located above the third area.
  14. 根据权利要求13所述的方法,其特征在于,所述第一区域的当前选中的支付应用采用与未被选中的支付应用不同的显示方式,所述显示方式包括高亮、变色、加粗或者放大所述第一区域的当前选中的支付应用的图标或名称;以及,The method according to claim 13, characterized in that the currently selected payment application in the first area adopts a different display mode than the unselected payment application, and the display mode includes highlighting, color changing, bolding, or Enlarge the icon or name of the currently selected payment application in the first area; and,
    所述第二区域当前选中的支付功能采用与未选被中支付功能不同的显示方式,所述显示方式包括高亮、变色、加粗或放大所述第二区域的当前选中的支付功能的名称或图标。The currently selected payment function in the second area uses a different display method from the unselected payment function, and the display method includes highlighting, changing color, bolding, or enlarging the name of the currently selected payment function in the second area Or icon.
  15. 根据权利要求14所述的方法,其特征在于,所述第一手势为左右滑动手势,所述第二手势为上下滑动手势,或,The method according to claim 14, wherein the first gesture is a left-right slide gesture, and the second gesture is an up-down slide gesture, or,
    所述第一手势为上下滑动手势,所述第二手势为左右滑动手势。The first gesture is an up and down sliding gesture, and the second gesture is a left and right sliding gesture.
  16. 根据权利要求15所述的方法,其特征在于,显示所述检测第一手势前的支付界面后,在预设时间内没有检测到任何手势,显示提示用户滑动切换支付应用或滑动切换支付功能的信息。The method according to claim 15, wherein after displaying the payment interface before detecting the first gesture, no gesture is detected within a preset time, and a display prompting the user to slide to switch the payment application or slide to switch the payment function is displayed information.
  17. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it includes:
    检测模块,用于检测启动支付的操作;The detection module is used to detect the operation of starting payment;
    显示模块,用于显示支付界面,其中,所述支付界面包括第一区域、第二区域和第三区域,所述第一区域用于显示至少两个支付应用,所述至少两个支付应用中的第一支付应用为当前选中的支付应用;所述第二区域用于显示所述当前选中的支付应用支持的至少两个支付功能,所述当前选中的支付应用支持的至少两个支付功能中的第一支付功能为当前选中的支付功能;所述第三区域用于显示当前选中的支付功能的支付界面;A display module, configured to display a payment interface, wherein the payment interface includes a first area, a second area, and a third area, the first area is used to display at least two payment applications, and the at least two payment applications The first payment application is the currently selected payment application; the second area is used to display at least two payment functions supported by the currently selected payment application, and among the at least two payment functions supported by the currently selected payment application The first payment function is the currently selected payment function; the third area is used to display the payment interface of the currently selected payment function;
    检测模块,还用于检测第一手势;The detection module is also used to detect the first gesture;
    切换模块,用于响应于所述第一手势,将所述第二区域显示的当前选中的支付功能由所述第一支付应用的第一支付功能切换为所述第一支付应用的第二支付功能,将所述第三区域切换为显示所述第二支付功能的支付界面;A switching module for switching the currently selected payment function displayed in the second area from the first payment function of the first payment application to the second payment of the first payment application in response to the first gesture Function, switching the third area to a payment interface displaying the second payment function;
    检测模块,还用于检测第二手势;The detection module is also used to detect the second gesture;
    切换模块,用于响应于所述第二手势,将所述第一区域显示的当前选中的支付应用由所述第一支付应用切换为所述第二支付应用,所述第二区域切换为显示所述第二支付应用支持的至少一个支付功能,所述第二支付应用支持的至少一个支付功能中的第三支付功能为当前选中的支付功能,所述第三区域切换为显示所述第三支付功能的支付界面。A switching module, configured to switch the currently selected payment application displayed in the first area from the first payment application to the second payment application in response to the second gesture, and switch the second area to Displaying at least one payment function supported by the second payment application, the third payment function of the at least one payment function supported by the second payment application is the currently selected payment function, and the third area is switched to display the third payment function Three payment interfaces for payment functions.
  18. 根据权利要求17所述的电子设备,其特征在于,所述第一区域位于所述支付界面下部,所述第三区域位于所述支付界面上部,所述第二区域位于所述第一区域和所述第三区域的中间。The electronic device according to claim 17, wherein the first area is located at a lower portion of the payment interface, the third area is located at an upper portion of the payment interface, and the second area is located at the first area and In the middle of the third area.
  19. 根据权利要求17所述的电子设备,所述第一区域还包括支付应用区域和支付应用分类区域,所述支付应用分类区域包括支付和出行两种应用分类,所述支付应用区域用于显示所述支付应用分类区域中被选中的应用分类所包括的至少两个支付应用。The electronic device according to claim 17, the first area further includes a payment application area and a payment application classification area, the payment application classification area includes both payment and travel application classifications, and the payment application area is used to display all At least two payment applications included in the selected application classification in the payment application classification area.
  20. 根据权利要求18或19所述的电子设备,其特征在于,在所述检测第二手势之后, 在所述第三区域切换为显示所述第三支付功能的支付界面之前:The electronic device according to claim 18 or 19, wherein after the second gesture is detected, before the third area is switched to display the payment interface of the third payment function:
    检测模块,还用于检测作用于所述第三区域的单击操作;The detection module is also used to detect the click operation acting on the third area;
    切换模块,还用于响应所述单击操作,将所述第三区域切换为显示所述第三支付功能的支付界面。The switching module is further configured to switch the third area to a payment interface displaying the third payment function in response to the click operation.
  21. 根据权利要求17至20所述的电子设备,其特征在于,所述显示模块显示的所述支付界面还包括第四区域,所述第四区域位于所述第一区域下部,或,The electronic device according to claims 17 to 20, characterized in that the payment interface displayed by the display module further includes a fourth area, the fourth area being located below the first area, or,
    所述第四区域位于所述第三区域上部。The fourth area is located above the third area.
  22. 根据权利要求21所述的电子设备,其特征在于,所述第一区域的当前选中的支付应用采用与未被选中的支付应用不同的显示方式,所述显示方式包括高亮、变色、加粗或者放大所述第一区域的当前选中的支付应用的图标或名称;以及,The electronic device according to claim 21, wherein the currently selected payment application in the first area adopts a different display mode from the unselected payment application, and the display modes include highlighting, color changing, and bolding Or enlarge the icon or name of the currently selected payment application in the first area; and,
    所述第二区域当前选中的支付功能采用与未选被中支付功能不同的显示方式,所述显示方式包括高亮、变色、加粗或放大所述第二区域的当前选中的支付功能的名称或图标。The currently selected payment function in the second area uses a different display method from the unselected payment function, and the display method includes highlighting, changing color, bolding, or enlarging the name of the currently selected payment function in the second area Or icon.
  23. 根据权利要求22所述的电子设备,其特征在于,所述第一手势为左右滑动手势,所述第二手势为上下滑动手势,或,The electronic device according to claim 22, wherein the first gesture is a left and right sliding gesture, and the second gesture is an up and down sliding gesture, or,
    所述第一手势为上下滑动手势,所述第二手势为左右滑动手势。The first gesture is an up and down sliding gesture, and the second gesture is a left and right sliding gesture.
  24. 根据权利要求23所述的电子设备,其特征在于,在显示支付界面之后,在检测所述第一手势之前,在预设时间内没有检测到任何手势,显示提示用户滑动切换支付应用或滑动切换支付功能的信息。The electronic device according to claim 23, wherein after the payment interface is displayed, before detecting the first gesture, no gesture is detected within a preset time, a display prompts the user to slide to switch between the payment application or the slide to switch Information about payment functions.
  25. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求9-16中任一项所述的支付方法。A computer storage medium, characterized by comprising computer instructions, which when executed on an electronic device, causes the electronic device to execute the payment method according to any one of claims 9-16.
PCT/CN2019/122169 2018-12-11 2019-11-29 Method for payment function switching and electronic device WO2020119486A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811513587.0 2018-12-11
CN201811513587.0A CN111309237A (en) 2018-12-11 2018-12-11 Payment function switching method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2020119486A1 true WO2020119486A1 (en) 2020-06-18

Family

ID=71077117

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122169 WO2020119486A1 (en) 2018-12-11 2019-11-29 Method for payment function switching and electronic device

Country Status (2)

Country Link
CN (2) CN111309237A (en)
WO (1) WO2020119486A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880675A (en) * 2020-06-19 2020-11-03 维沃移动通信(杭州)有限公司 Interface display method and device and electronic equipment
WO2023020235A1 (en) * 2021-08-19 2023-02-23 支付宝(杭州)信息技术有限公司 Information process

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181559A (en) * 2020-09-24 2021-01-05 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN112148198B (en) * 2020-09-29 2022-04-08 维沃移动通信有限公司 Display method and device of payment interface and electronic equipment
CN113992796A (en) * 2021-12-06 2022-01-28 刘茂生 Mobile phone
CN115079880A (en) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 Information code display method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736906A (en) * 2011-04-14 2012-10-17 上海三旗通信科技股份有限公司 Method for implementing switching and management of multiple operating interfaces on personal terminal
JP2012203676A (en) * 2011-03-25 2012-10-22 Ntt Docomo Inc Portable terminal and screen display change method
CN106372894A (en) * 2016-08-26 2017-02-01 维沃移动通信有限公司 Payment method and mobile terminal
CN107705120A (en) * 2017-10-31 2018-02-16 努比亚技术有限公司 A kind of barcode scanning payment mechanism and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325753B (en) * 2016-08-26 2019-12-03 维沃移动通信有限公司 A kind of display methods and mobile terminal of payment interface
CN106157125A (en) * 2016-08-26 2016-11-23 维沃移动通信有限公司 A kind of payment interface changing method and device
CN107563735A (en) * 2017-09-07 2018-01-09 广州佳都数据服务有限公司 Information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203676A (en) * 2011-03-25 2012-10-22 Ntt Docomo Inc Portable terminal and screen display change method
CN102736906A (en) * 2011-04-14 2012-10-17 上海三旗通信科技股份有限公司 Method for implementing switching and management of multiple operating interfaces on personal terminal
CN106372894A (en) * 2016-08-26 2017-02-01 维沃移动通信有限公司 Payment method and mobile terminal
CN107705120A (en) * 2017-10-31 2018-02-16 努比亚技术有限公司 A kind of barcode scanning payment mechanism and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880675A (en) * 2020-06-19 2020-11-03 维沃移动通信(杭州)有限公司 Interface display method and device and electronic equipment
CN111880675B (en) * 2020-06-19 2024-03-15 维沃移动通信(杭州)有限公司 Interface display method and device and electronic equipment
WO2023020235A1 (en) * 2021-08-19 2023-02-23 支付宝(杭州)信息技术有限公司 Information process

Also Published As

Publication number Publication date
CN111309237A (en) 2020-06-19
CN113741784A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN108701001B (en) Method for displaying graphical user interface and electronic equipment
JP7435943B2 (en) Notification Processing Methods, Electronic Devices, and Programs
CN111149086B (en) Method for editing main screen, graphical user interface and electronic equipment
EP3617869B1 (en) Display method and apparatus
WO2020119486A1 (en) Method for payment function switching and electronic device
EP3779643B1 (en) Method for operating electronic device and electronic device
US8774869B2 (en) Mobile terminal and control method thereof
CN114741011B (en) Terminal display method and electronic equipment
US9665268B2 (en) Mobile terminal and control method thereof
EP2570906A2 (en) Mobile terminal and control method thereof
WO2019000287A1 (en) Icon display method and device
US20210165953A1 (en) Email Translation Method and Electronic Device
WO2020000276A1 (en) Method and terminal for controlling shortcut button
CN111338494B (en) Touch display screen operation method and user equipment
WO2022228582A1 (en) Shortcut operation method and mobile terminal
WO2022063034A1 (en) Input interface display method and terminal

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: 19897251

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: 19897251

Country of ref document: EP

Kind code of ref document: A1