CN111325560A - Payment method and electronic equipment - Google Patents

Payment method and electronic equipment Download PDF

Info

Publication number
CN111325560A
CN111325560A CN202010131508.0A CN202010131508A CN111325560A CN 111325560 A CN111325560 A CN 111325560A CN 202010131508 A CN202010131508 A CN 202010131508A CN 111325560 A CN111325560 A CN 111325560A
Authority
CN
China
Prior art keywords
payment
face recognition
target user
electronic device
recognition result
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010131508.0A
Other languages
Chinese (zh)
Inventor
陈明灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010131508.0A priority Critical patent/CN111325560A/en
Publication of CN111325560A publication Critical patent/CN111325560A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks

Abstract

The invention discloses a payment method and electronic equipment, which are used for solving the problem that a user needs to spend some time waiting for face recognition during payment in the prior art. The method comprises the following steps: receiving starting operation of a payment function and separation operation of the camera; responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user; caching the face recognition result of the target user in a preset safe cache channel; and paying based on the face recognition result of the target user cached in the preset safe cache channel.

Description

Payment method and electronic equipment
Technical Field
The invention relates to the technical field of face recognition, in particular to a payment method and electronic equipment.
Background
With the rapid development of electronic devices, mobile payment has penetrated into the lives of users. The mobile payment can realize payment functions under various scenes, such as online shopping, store consumption, ticket reservation and the like, and the universality and the convenience of the mobile payment bring great convenience to the life of a user.
The existing payment function based on face recognition really simplifies the operation of hands to a certain extent, however, the payment mode needs to open the payment application first, then start the camera to acquire face information, recognize the face and return the payment result, and the process usually takes a lot of time for the user to wait.
Disclosure of Invention
The embodiment of the invention provides a payment method and electronic equipment, and aims to solve the problem that a user needs to spend some time waiting for face recognition during payment in the prior art.
In order to solve the technical problem, the invention is realized as follows: in a first aspect, an embodiment of the present invention provides a payment method, where the method is applied to an electronic device, where the electronic wading pen has a camera that is separable from a device main body, and the camera is in communication connection with the device main body, and the method includes:
receiving starting operation of a payment function and separation operation of the camera;
responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user;
caching the face recognition result of the target user in a preset safe cache channel;
and paying based on the face recognition result of the target user cached in the preset safe cache channel.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the receiving unit is used for receiving starting operation of a payment function and separation operation of the camera;
an obtaining unit, configured to obtain a face recognition result of the target user in response to the starting operation and the separating operation;
the cache unit is used for caching the face recognition result of the target user in a preset safe cache channel;
and the payment unit is used for carrying out payment based on the face recognition result of the target user cached in the preset safe cache channel.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the payment method according to the first aspect.
In a fourth aspect, the embodiments of the present invention also provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the payment method according to the first aspect.
In the embodiment of the invention, the starting operation of the payment function and the separation operation of the camera can be received; responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user; caching the face recognition result of the target user in a preset safe cache channel; and paying based on the face recognition result of the target user cached in the preset safe cache channel. Therefore, before the user performs the payment operation, the face recognition operation can be performed in advance, and the face recognition result is stored in the safe cache channel, so that the face recognition result can be directly obtained when the user performs the payment operation, and the time for the user to wait for the face recognition operation is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic diagram illustrating an implementation flow of a payment method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a payment method provided by an embodiment of the present invention, responding to a payment instruction;
fig. 3 is a schematic flow chart of a payment method provided by an embodiment of the present invention, responding to a payment withholding instruction;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the problem that a user needs to spend some time waiting for face recognition when paying, the invention provides a payment method, and an execution main body of the method, such as but not limited to a mobile phone, a tablet computer, a wearable device and the like, can be configured to execute at least one of the user terminals of the method provided by the embodiment of the invention, or the execution main body of the method, and also can be a client side capable of executing the method.
For convenience of description, the following description will be made on embodiments of the method, taking an execution subject of the method as an example of an electronic device capable of executing the method. It is to be understood that the implementation of the method as an electronic device is merely an exemplary illustration and should not be construed as a limitation of the method.
Specifically, the payment method provided by the invention comprises the following steps: receiving starting operation of a payment function and separation operation of a camera; responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user; caching the face recognition result of the target user in a preset safe cache channel; and paying based on the face recognition result of the target user cached in the preset safe cache channel.
In the embodiment of the invention, the starting operation of the payment function and the separation operation of the camera can be received; responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user; caching the face recognition result of the target user in a preset safe cache channel; and paying based on the face recognition result of the target user cached in the preset safe cache channel. Therefore, before the user performs the payment operation, the face recognition operation can be performed in advance, and the face recognition result is stored in the safe cache channel, so that the face recognition result can be directly obtained when the user performs the payment operation, and the time for the user to wait for the face recognition operation is reduced.
Fig. 1 is a schematic flow chart of an implementation process of applying the payment method to an electronic device, where the electronic device has a camera that is separable from a device main body, and the camera is in communication connection with the device main body, and a detailed description of an implementation process of the method is described below with reference to fig. 1, and includes:
step 110, receiving a starting operation of a payment function and a separation operation of a camera;
optionally, in order to expand the displayable area of the screen without affecting the visual effect of the user, the camera in the embodiment of the present invention may also be a detachable camera, which is disposed in a preset card slot in the electronic device before the unplugging operation, that is, before the camera is started, the detachable camera may be hidden in the screen.
It should be understood that, in order to respond to the start operation for the payment function and the separation operation for the camera in time and reduce the user waiting time between the operations, the embodiment of the present invention may monitor and receive the start operation for the payment function and the separation operation for the camera in real time.
Step 120, responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user;
optionally, in order to obtain the face recognition result before the payment interface is opened, the method provided by the embodiment of the invention can immediately perform the face recognition operation through the server and obtain the face recognition result of the target user when receiving the start operation of the payment function and the separation operation of the camera.
Specifically, the obtaining of the face recognition result of the target user in response to the starting operation and the separating operation includes:
responding to the starting operation and the separating operation, and acquiring the face data of the target user through a camera;
sending the face data of the target user to a payment server so that the payment server matches the face data of the target user with preset face data of the target user to obtain a face recognition result of the target user;
and acquiring a face recognition result of the target user from the server.
Optionally, in practical application, the user may pay for friends or relatives in addition to paying for himself, and specifically, in the embodiment of the present invention, receiving the start operation of the payment function may include:
receiving a payment withholding request from a first electronic device;
an initiation operation for a payment function in the electronic device is received based on the payment withholding request.
The payment withholding request from the first electronic device can comprise a payment withholding request based on Bluetooth connection and a payment withholding request based on network connection, so that short-distance and long-distance payment withholding operation is realized. For example, if the user is close to the friend and within the range of bluetooth connection, the user may first perform bluetooth connection between the electronic device and the first electronic device of the friend, and then the friend sends a payment withholding request to the user; or, if the user is far away from the friend, the friend may directly send a payment withholding request to the user through the network of the first electronic device.
Optionally, in order to verify whether the payment withholding request received by the user is sent by a friend or not, so as to improve the security of the payment withholding operation, the electronic device of the user may be associated with the electronic device of the friend or the relative, so as to achieve the purpose of giving the friend the authority to send the payment withholding request, thereby saving the time for the user to read and consider the received payment withholding request.
Specifically, when the starting operation of the payment function includes a payment by oneself request from the first electronic device, before receiving the starting operation of the payment function and the separation operation of the camera, the method provided by the embodiment of the present invention further includes:
the first electronic device is associated with the electronic device.
Alternatively, in order to enable the electronic device of the user to verify the information of the first electronic device, the account information and the device information in the first electronic device may be stored in advance in the electronic device of the user. Specifically, before receiving a payment by credit request from a first electronic device, the method provided by the embodiment of the present invention further includes:
acquiring account information and equipment information of first electronic equipment;
the account information and the device information of the first electronic device are stored in the electronic device such that the first electronic device is associated with the electronic device.
It should be understood that account information that the friend logs in on the first electronic device, and device information of the first electronic device, such as a model number or a serial number of the electronic device, may be stored in the electronic device of the user, so that the electronic device of the user is associated with the first electronic device.
Optionally, in order to improve the level of security of the surreptitious payment, when receiving the surreptitious payment request from the first electronic device, the embodiment of the present invention may further verify whether the first electronic device issuing the surreptitious payment request is associated with the electronic device of the user by acquiring information of the first electronic device, that is, verify whether the first electronic device issuing the surreptitious payment request is an associated user of the electronic device of the user.
Specifically, in the embodiment of the present invention, the obtaining a face recognition result of a target user in response to a start operation and a separation operation includes:
in response to the starting operation and the separating operation, acquiring account information and equipment information of the first electronic equipment;
matching the account information and the device information of the first electronic device with the account information and the device information of the first electronic device stored in the electronic device;
and if the account information and the equipment information of the first electronic equipment are matched with the account information and the equipment information of the first electronic equipment stored in the electronic equipment, acquiring a face recognition result of the target user.
That is, it is verified whether the account information and the device information of the first electronic device are stored in the designated area of the electronic device.
It should be appreciated that the account information and device information stored in the electronic device described above may be valid until the user deletes the account information and device information of the first electronic device from the electronic device.
Alternatively, upon determining that the account information and the device information stored in the electronic device are consistent with the account information and the device information of the first electronic device, a message with "has the escrow request verified, is a payment operation performed? And the word prompt box displays the payment amount for the user to select whether the friend pays the bill of the amount.
Step 130, caching the face recognition result of the target user in a preset safe cache channel;
specifically, the obtained face recognition result, such as a successful face recognition or a failed face recognition, is stored in the secure cache channel, so that the payment application can directly obtain the face recognition result when performing the payment operation.
Optionally, in order to improve the security of the secure cache channel and avoid other applications or networks from illegally obtaining and using the face recognition result, the face recognition result stored in the secure cache channel may be encrypted by a private key, and only a payment instruction having a decryption key (i.e., a corresponding public key) may decrypt the encrypted face recognition result.
Optionally, after the face recognition operation is completed, a face recognition result may be prompted to the user, for example, when the recognition fails, whether the face recognition operation needs to be performed again, or the next operation is directly continued.
Optionally, in order to improve the security of the embodiment of the present invention, when a specific condition is satisfied, the face recognition result stored in the secure cache channel may also be deleted, so as to avoid other applications from illegally obtaining and utilizing the face recognition result.
Specifically, after the face recognition result of the target user is cached in the preset secure cache channel, the method provided by the embodiment of the present invention further includes:
if the payment is detected to be completed, deleting the face recognition result of the target user from a preset safe cache channel; alternatively, the first and second electrodes may be,
and if the payment is detected to be cancelled, deleting the face recognition result of the target user from a preset safe cache channel.
And step 140, paying based on the face recognition result of the target user cached in the preset safe cache channel.
It should be understood that the above operations of verifying the account information and the device information of the first electronic device, and the operations of completing the face recognition operation and saving the face recognition result can be completed in a short time before the payment function is started, so the embodiment of the invention can greatly reduce the time spent by the user on waiting for the face recognition result, thereby saving the time of the user.
It should be understood that after the payment function is started, the payment application may directly obtain the face recognition result from the secure cache channel to perform the payment operation.
Optionally, if the operation for starting the payment function is a payment withholding request from the first electronic device, after the user completes the payment operation according to the payment request, the friend may be notified of the result of the payment operation, so that the friend verifies according to the result or sends out the payment withholding request again through the first electronic device, and the like.
Fig. 2 is a schematic flow chart of a payment method provided by an embodiment of the present invention, responding to a payment instruction. An implementation manner in the embodiment of the present invention is described below with reference to fig. 2, which specifically includes:
step 201, receiving a starting operation of a payment function and a separation operation of a camera;
step 202, obtaining a face recognition result, and encrypting and storing the face recognition result in a secure cache channel;
step 203, when payment is carried out, the payment application acquires and decrypts a face recognition result from the secure cache channel;
step 204, determining whether the face recognition result represents that the face recognition is successful;
step 205, if the face recognition is successful, the payment operation is successful, and a payment result is fed back to the user;
and step 206, if the face recognition fails, the payment operation fails, and a payment result is fed back to the user.
Fig. 3 is a schematic flow chart of a payment method provided by an embodiment of the present invention, responding to a payment withholding instruction. An implementation manner in the embodiment of the present invention is described below with reference to fig. 3, which specifically includes:
step 301, the electronic device receives a payment withholding request for a payment application in the electronic device from a first electronic device and a separation operation for a camera in the first electronic device;
step 302, the electronic equipment acquires account information and equipment information of first electronic equipment which sends a payment withholding request;
step 303, the electronic device determines whether the account information and the device information of the first electronic device match with the information stored in the electronic device;
step 304, if the electronic equipment determines that the account information and the equipment information of the first electronic equipment are matched with the account information and the equipment information stored in the electronic equipment, acquiring a face recognition result, and encrypting and storing the face recognition result in a secure cache channel;
step 305, if the electronic device determines that the account information and the device information of the first electronic device are not matched with the account information and the device information stored in the electronic device, rejecting the payment withholding request and feeding back to the first electronic device;
step 306, when payment is carried out, the payment application of the electronic equipment obtains and decrypts the face recognition result from the secure cache channel;
step 307, the payment application in the electronic equipment determines whether the face recognition result is successful;
308, if the payment application in the electronic equipment determines that the face recognition is successful, performing payment and feeding back a payment result to the user;
step 209, if the payment application in the electronic device determines that the face recognition fails, the payment operation fails, and a payment result is fed back to the user.
In the embodiment of the invention, the starting operation of the payment function and the separation operation of the camera can be received; responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user; caching the face recognition result of the target user in a preset safe cache channel; and paying based on the face recognition result of the target user cached in the preset safe cache channel. Therefore, before the user performs the payment operation, the face recognition operation can be performed in advance, and the face recognition result is stored in the safe cache channel, so that the face recognition result can be directly obtained when the user performs the payment operation, and the time for the user to wait for the face recognition operation is reduced.
An embodiment of the present invention further provides an electronic device 400, as shown in fig. 4, including:
a receiving unit 401, configured to receive a start operation of a payment function and a separation operation of the camera;
an obtaining unit 402, configured to obtain a face recognition result of the target user in response to the starting operation and the separating operation;
a caching unit 403, configured to cache the face recognition result of the target user in a preset secure cache channel;
a payment unit 404, configured to perform payment based on the face recognition result of the target user cached in the preset secure cache channel.
Optionally, in an embodiment, the obtaining unit 402 is configured to:
responding to the starting operation and the separating operation, and acquiring the face data of a target user through the camera;
sending the face data of the target user to a payment server so that the payment server matches the face data of the target user with preset face data of the target user to obtain a face recognition result of the target user;
and acquiring a face recognition result of the target user from the server.
Optionally, in an embodiment, the receiving unit 401 is configured to:
receiving a payment withholding request from a first electronic device;
and receiving starting operation aiming at the payment function in the electronic equipment based on the payment withholding request.
Optionally, in an embodiment, before the receiving the payment by agency request from the first electronic device, the electronic device further includes:
a second obtaining unit 405, configured to obtain account information and device information of the first electronic device;
a storage unit 406, configured to store account information and device information of the first electronic device in the electronic device, so that the first electronic device is associated with the electronic device.
Optionally, in an embodiment, the receiving unit 401 is configured to
In response to the starting operation and the separating operation, acquiring account information and equipment information of the first electronic equipment;
matching the account information and the device information of the first electronic device with the account information and the device information of the first electronic device stored in the electronic device;
and if the account information and the equipment information of the first electronic equipment are matched with the account information and the equipment information of the first electronic equipment stored in the electronic equipment, acquiring a face recognition result of the target user.
Optionally, in an embodiment, after the caching the face recognition result of the target user in a preset secure cache channel, the electronic device further includes:
a deleting unit 407, configured to delete the face recognition result of the target user from the preset secure cache channel if it is detected that the payment is completed; alternatively, the first and second electrodes may be,
and if the payment is detected to be cancelled, deleting the face recognition result of the target user from the preset safe cache channel.
The electronic device 400 can implement the method of the embodiment of the method shown in fig. 1 to fig. 3, and specifically refer to the payment method of the embodiment shown in fig. 1 to fig. 3, which is not described again.
Figure 5 is a schematic diagram of a hardware configuration of an electronic device implementing various embodiments of the invention,
the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to receive a start operation of a payment function and a separation operation of a camera; responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user; caching the face recognition result of the target user in a preset safe cache channel; and paying based on the face recognition result of the target user cached in the preset safe cache channel.
In the embodiment of the invention, the starting operation of the payment function and the separation operation of the camera can be received; responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user; caching the face recognition result of the target user in a preset safe cache channel; and paying based on the face recognition result of the target user cached in the preset safe cache channel. Therefore, before the user performs the payment operation, the face recognition operation can be performed in advance, and the face recognition result is stored in the safe cache channel, so that the face recognition result can be directly obtained when the user performs the payment operation, and the time for the user to wait for the face recognition operation is reduced.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the payment method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned payment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A payment method applied to an electronic apparatus having a camera detachable from an apparatus main body, the camera being communicatively connected to the apparatus main body, the method comprising:
receiving starting operation of a payment function and separation operation of the camera;
responding to the starting operation and the separating operation, and acquiring a face recognition result of the target user;
caching the face recognition result of the target user in a preset safe cache channel;
and paying based on the face recognition result of the target user cached in the preset safe cache channel.
2. The electronic device of claim 1, wherein the obtaining of the face recognition result of the target user in response to the initiating operation and the separating operation comprises:
responding to the starting operation and the separating operation, and acquiring the face data of a target user through the camera;
sending the face data of the target user to a payment server so that the payment server matches the face data of the target user with preset face data of the target user to obtain a face recognition result of the target user;
and acquiring a face recognition result of the target user from the server.
3. The method of claim 1, wherein receiving an initiation of a payment function comprises:
receiving a payment withholding request from a first electronic device;
and receiving starting operation aiming at the payment function in the electronic equipment based on the payment withholding request.
4. The method of claim 3, wherein prior to receiving the payment by agency request from the first electronic device, the method further comprises:
acquiring account information and equipment information of the first electronic equipment;
storing account information and device information of the first electronic device in the electronic device to associate the first electronic device with the electronic device.
5. The method of claim 4, wherein the obtaining the face recognition result of the target user in response to the initiating operation and the separating operation comprises:
in response to the starting operation and the separating operation, acquiring account information and equipment information of the first electronic equipment;
matching the account information and the device information of the first electronic device with the account information and the device information of the first electronic device stored in the electronic device;
and if the account information and the equipment information of the first electronic equipment are matched with the account information and the equipment information of the first electronic equipment stored in the electronic equipment, acquiring a face recognition result of the target user.
6. The method according to any one of claims 1 to 5, wherein after the target user's face recognition result is cached in a preset secure cache channel, the method further comprises:
if the payment is detected to be completed, deleting the face recognition result of the target user from the preset safe cache channel; alternatively, the first and second electrodes may be,
and if the payment is detected to be cancelled, deleting the face recognition result of the target user from the preset safe cache channel.
7. An electronic device, comprising:
the receiving unit is used for receiving starting operation of a payment function and separation operation of the camera;
an obtaining unit, configured to obtain a face recognition result of the target user in response to the starting operation and the separating operation;
the cache unit is used for caching the face recognition result of the target user in a preset safe cache channel;
and the payment unit is used for carrying out payment based on the face recognition result of the target user cached in the preset safe cache channel.
8. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the payment method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the payment method according to one of the claims 1 to 6.
CN202010131508.0A 2020-02-28 2020-02-28 Payment method and electronic equipment Pending CN111325560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010131508.0A CN111325560A (en) 2020-02-28 2020-02-28 Payment method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010131508.0A CN111325560A (en) 2020-02-28 2020-02-28 Payment method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111325560A true CN111325560A (en) 2020-06-23

Family

ID=71167344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010131508.0A Pending CN111325560A (en) 2020-02-28 2020-02-28 Payment method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111325560A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801670A (en) * 2021-04-07 2021-05-14 支付宝(杭州)信息技术有限公司 Risk assessment method and device for payment operation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105493114A (en) * 2013-08-20 2016-04-13 因斯塔配有限公司 Mobile card sharing service method and system with enhanced security
CN105684009A (en) * 2013-11-04 2016-06-15 苹果公司 Using biometric authentication for NFC-based payments
CN106875191A (en) * 2017-02-27 2017-06-20 努比亚技术有限公司 One kind scanning payment processing method, device and terminal
CN107657222A (en) * 2017-09-12 2018-02-02 广东欧珀移动通信有限公司 Face identification method and Related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105493114A (en) * 2013-08-20 2016-04-13 因斯塔配有限公司 Mobile card sharing service method and system with enhanced security
CN105684009A (en) * 2013-11-04 2016-06-15 苹果公司 Using biometric authentication for NFC-based payments
CN106875191A (en) * 2017-02-27 2017-06-20 努比亚技术有限公司 One kind scanning payment processing method, device and terminal
CN107657222A (en) * 2017-09-12 2018-02-02 广东欧珀移动通信有限公司 Face identification method and Related product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢振东 等: "基于人脸识别的快速公交云支付系统的构建", no. 22, pages 144 - 145 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801670A (en) * 2021-04-07 2021-05-14 支付宝(杭州)信息技术有限公司 Risk assessment method and device for payment operation
CN112801670B (en) * 2021-04-07 2021-07-23 支付宝(杭州)信息技术有限公司 Risk assessment method and device for payment operation

Similar Documents

Publication Publication Date Title
CN108256853B (en) Payment method and mobile terminal
CN108629580B (en) Screen-off payment method and mobile terminal
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN108551521B (en) Login information prompting method and mobile terminal
CN108629171B (en) Unread message processing method and terminal
CN107682359B (en) Application registration method and mobile terminal
CN110941501A (en) Application sharing method and electronic equipment
CN109544172B (en) Display method and terminal equipment
CN109495638B (en) Information display method and terminal
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN111144877A (en) Code scanning payment method and electronic equipment
CN111061446A (en) Display method and electronic equipment
CN108196663B (en) Face recognition method and mobile terminal
CN108346031B (en) Data interaction method and system
CN107809515B (en) Display control method and mobile terminal
WO2021083086A1 (en) Information processing method and device
CN110225040B (en) Information processing method and terminal equipment
CN109992939B (en) Login method and terminal equipment
CN108810276B (en) Face recognition method and mobile terminal
CN109451143B (en) Call method and mobile terminal
CN109446794B (en) Password input method and mobile terminal thereof
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN111325560A (en) Payment method and electronic equipment
CN111159738A (en) Permission configuration method, application login method and device
CN107491685B (en) Face recognition method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination