CN110992014A - Payment method and electronic equipment - Google Patents
Payment method and electronic equipment Download PDFInfo
- Publication number
- CN110992014A CN110992014A CN201911189991.1A CN201911189991A CN110992014A CN 110992014 A CN110992014 A CN 110992014A CN 201911189991 A CN201911189991 A CN 201911189991A CN 110992014 A CN110992014 A CN 110992014A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- image
- payment
- electronic equipment
- interface
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000006870 function Effects 0.000 claims description 41
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012546 transfer Methods 0.000 abstract description 9
- 238000004891 communication Methods 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 6
- 210000000554 iris Anatomy 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 210000000887 face Anatomy 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000005299 abrasion Methods 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3276—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to the technical field of communication, and provides a payment method and electronic equipment, which are used for solving the problem of complex operation when the electronic equipment carries out payment. The method comprises the following steps: acquiring an image through the camera under the condition that the first electronic equipment and the second electronic equipment establish shared connection aiming at a payment function; sending the image to the second electronic device to cause the second electronic device to make a payment based on the image. Like this, first electronic equipment can accomplish payment through the second electronic equipment who is connected with it, and need not carry out the account transfer operation, can improve the simple operation nature.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a payment method and an electronic device.
Background
Along with the popularization of electronic equipment, mobile payment is more and more widely applied, has the advantages of convenience and quickness, and gradually becomes a modern mainstream payment mode. In the prior art, when the balance of the electronic equipment is insufficient, the electronic equipment needs to be recharged first through friend account transfer or other account transfer modes, and then payment can be carried out. And in the process of transferring money, a user needs to perform multiple operations. Therefore, when the electronic equipment pays under the condition of insufficient balance, the operation is complicated.
Disclosure of Invention
The embodiment of the invention provides a payment method and electronic equipment, and aims to solve the problem that the electronic equipment is complex to operate when payment is carried out.
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, applied to a first electronic device, where the first electronic device includes a camera, and includes:
acquiring an image through the camera under the condition that the first electronic equipment and the second electronic equipment establish shared connection aiming at a payment function;
sending the image to the second electronic device to cause the second electronic device to make a payment based on the image.
In a second aspect, an embodiment of the present invention further provides a payment method, applied to a second electronic device, including:
receiving an image sent by first electronic equipment;
in the case where the image includes a graphic code, a payment operation is performed based on the image.
In a third aspect, an embodiment of the present invention further provides a first electronic device, which includes a camera, and includes:
the acquisition module is used for acquiring images through the camera under the condition that the first electronic equipment and the second electronic equipment establish shared connection aiming at the payment function;
the first sending module is used for sending the image to the second electronic equipment so that the second electronic equipment can pay based on the image.
In a fourth aspect, an embodiment of the present invention further provides a second electronic device, including:
the second receiving module is used for receiving the image sent by the first electronic equipment;
and the payment module is used for executing payment operation based on the image under the condition that the image comprises the graphic code.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including: the payment system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the payment method corresponding to the first electronic device or the second electronic device.
In a sixth aspect, 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 executed by a processor, the computer program implements the steps in the payment method corresponding to the first electronic device or the second electronic device as described above.
In the embodiment of the invention, under the condition that the first electronic device and the second electronic device establish shared connection aiming at the payment function, the camera is used for collecting images; sending the image to the second electronic device to cause the second electronic device to make a payment based on the image. Like this, first electronic equipment can accomplish payment through the second electronic equipment who is connected with it, and need not carry out the account transfer operation, can improve the simple operation nature.
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 exercise.
FIG. 1 is a flow chart of a payment method provided by an embodiment of the invention;
FIG. 2 is a second flowchart of a payment method provided by the embodiment of the invention;
FIG. 3 is a block diagram of a first electronic device provided by an embodiment of the invention;
FIG. 4 is a block diagram of a second electronic device provided by an embodiment of the invention;
fig. 5 is a structural diagram of a first electronic device or a second 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.
Referring to fig. 1, fig. 1 is a flowchart of a payment method provided in an embodiment of the present invention, and is applied to a first electronic device, where the first electronic device is provided with a camera. As shown in fig. 1, the method comprises the following steps:
The first electronic device and the second electronic device may be two different electronic devices, and specifically may be the same type or different types of electronic devices. Thereby first electronic equipment and second electronic equipment can connect through arbitrary mode and realize information transmission, for example, WIFI connects, bluetooth connects etc.. In the case where the first electronic device and the second electronic device establish a shared connection for the payment function, the first electronic device may share an application program corresponding to the payment function of the second electronic device, and the second electronic device may utilize the application program
The camera of the first electronic device obtains payment information, and the payment information can be an image of a payment two-dimensional code acquired by the camera and can also be a payment link generated through a shopping website.
The second electronic device may preset a white list of electronic devices, and the electronic devices in the white list allow connection to be established with the second electronic device. In this step, the first electronic device may send a request message to the second electronic device, and the second electronic device may determine whether to establish a connection with the first electronic device according to the request message and a set white list, and establish a connection with the first electronic device when the first electronic device is on the white list; or the first electronic device may transmit a request message to the second electronic device, and the second electronic device may determine whether to establish a connection with the first electronic device according to an operation of a user.
Under the condition that the first electronic device and the second electronic device establish sharing connection aiming at the payment function, the first electronic device can start a camera, call a code scanning interface and acquire images through the camera.
And 102, sending the image to the second electronic equipment so that the second electronic equipment can pay based on the image.
After the first electronic device and the second electronic device establish a sharing connection, the second electronic device may send shared application data for the payment function to the first electronic device in real time, thereby implementing application sharing. The first electronic device sends the image to the second electronic device under the condition that the first electronic device establishes connection with the second electronic device, and the second electronic device can obtain payment information based on the image so as to carry out payment.
Optionally, the sending the image to the second electronic device to enable the second electronic device to make payment based on the image includes:
and in the case that the image comprises a graphic code, transmitting the image to the second electronic device to enable the second electronic device to pay based on the image.
In this embodiment, after the first electronic device acquires an image by using the camera, the image may be sent to the second electronic device, and the second electronic device may acquire payment information in the graphic code based on the image identification graphic code and pay based on the graphic code. Thus, the operation of the user can be reduced, and the payment efficiency can be improved.
Optionally, before the image is acquired by the camera, the method further includes:
receiving a first message sent by the second electronic equipment;
establishing a shared connection for a payment function with the second electronic device if the first message indicates that the second electronic device allows payment information to be obtained by the first electronic device.
In this embodiment, the first electronic device may transmit the request message to the second electronic device, the second electronic device may transmit the first message to the first electronic device in response to the request message, or the second electronic device may actively transmit the first message to the first electronic device.
And if the first message indicates that the second electronic equipment allows the payment information to be acquired through the first electronic equipment, the first electronic equipment and the second electronic equipment establish a shared connection aiming at the payment function. Based on the connection, the first electronic device may send payment information to the second electronic device.
For example, after the first electronic device scans the code and generates the payment link (or the payment link generated by the shopping website), when the payment application program is selected, the first electronic device may select to use the application cooperation for payment. There are two ways to choose to use application collaboration for payment by surcharge: one is to display a selection item for collaborative payment using an application on a payment interface; one is to select a payment application and then pop the system to prompt asking the user whether to use a local application or a remote payment by surcharge based on application collaboration.
And if the application cooperation is used for surcharge, the first electronic equipment sends a request to the second electronic equipment, and under the condition that the second electronic equipment allows the payment information to be acquired through the first electronic equipment, the first electronic equipment and the second electronic equipment establish shared connection aiming at the payment function. Based on the connection, the first electronic device sends the obtained payment information to the second electronic device, and payment is completed through the second electronic device.
Thus, after the first electronic device and the second electronic device communicate with each other, shared connection for the payment function is established, mis-payment can be prevented, and information security is improved.
Optionally, after the sending the image to the second electronic device, the method further includes:
displaying a first interface according to the image data of the first interface sent by the second electronic equipment;
receiving a first input at the first interface, the first input comprising password information;
and sending the password information to the second electronic equipment to enable the second electronic equipment to execute payment operation.
In this embodiment, in order to further improve the security of the information, after the first electronic device transmits the image to the second electronic device, the second electronic device may identify the payment information according to the image, and transmit the payment interface corresponding to the payment information, that is, the image data of the first interface, to the first electronic device, so that the first electronic device performs password input.
After the first electronic device displays the first interface, the user may input a password on the first interface of the first electronic device, where the password may include all forms of passwords such as fingerprints, faces, irises, characters, and the like. The second electronic device may verify the password and, if the verification is successful, make the payment.
The password can be a password preset by the second electronic device, and the user of the first electronic device needs to know the password of the second electronic device or complete fingerprint, face and iris input in the second electronic device once and use the input as an unlocking password, so that the payment can be independently completed without the operation of the user of the second electronic device. If the user of the first electronic device does not know the password, prompt information needs to be output on the second electronic device, and the user of the second electronic device performs identity authentication to assist in completing payment.
Thus, the password authentication is performed by inputting the password into the first electronic device, so that the information security can be improved, the payment can be completed by the first electronic device based on the payment function of the second electronic device, and the payment efficiency can be improved.
Optionally, after the sending the image to the second electronic device, the method further includes:
displaying a second interface according to the image data of the second interface sent by the second electronic equipment; and the password information in the second interface displayed by the first electronic equipment is shielded.
In this embodiment, the second electronic device displays the second interface according to the image, and the user may input the password on the second interface of the second electronic device, at this time, the second electronic device may transmit the image data displayed by the second electronic device to the first electronic device. For the password input by the user, the second electronic device may perform a blocking process, such as a mosaic process or a fuzzification process, and then send the processed password to the first electronic device, so as to prevent the password from leaking. The first electronic device can synchronously display the information transmitted by the second electronic device.
Therefore, payment is carried out based on the password input by the second electronic equipment, and the password displayed on the first electronic equipment is shielded, so that the safety of payment information can be improved.
In order to facilitate an understanding of the embodiments of the invention, reference will now be made to the following examples.
Step one, equipment A actively applies for accessing a code scanning payment function of equipment B or an application with the code scanning payment function.
And step two, the equipment B displays a popup box to inquire whether the equipment A is allowed to access the code scanning payment, wherein options comprise options of always-accessing permission, current refusal, blacklist adding and the like. If the selection is allowed all the time, the device A is added into a white list, and the function is used for the next time, so that the device A can be accessed directly without popping the frame, and the device B user can be not disturbed. The device B can manage a white list and a black list on the setting page, and can also remind the device B through notification when the device B in the white list accesses the device B.
And step three, under the condition that the equipment A allows to access the equipment B, the equipment A and the equipment B establish shared connection aiming at the payment function, and the equipment A enters a corresponding code scanning payment page through a shared payment application program.
And step four, the equipment A adjusts the camera angle to complete code scanning, and the payment is carried out by utilizing the payment function of the equipment B.
In this step, under the condition that the device a is authorized, the user of the device a initiates a request to adjust the camera angle for code scanning payment, and the user of the device B can complete payment by applying cooperation under the condition of not being disturbed at all. When the payment function of the equipment B is used, only the camera of the equipment A is used, and the camera of the equipment B is in a state of being capable of being closed at the moment, so that unnecessary power consumption and abrasion of the equipment B are avoided.
If the device B sets a payment password or the amount of money exceeds the limit, the device A can directly input the password to finish payment, and the password comprises all forms of passwords of fingerprints, human faces, irises and characters. The password is the password of the device B, namely, the user of the device A needs to know the password of the device B or complete fingerprint, face and iris input in the device B and use the input as an unlocking password, and can complete independent payment without the operation of the owner of the device B. If the user of the device A does not know the password, a request needs to be popped up on the device B, and the user of the device B performs identity authentication to assist in completing payment. When the equipment B inputs the password, the password interface transmits the password to the equipment A after code printing, and password leakage is avoided.
Based on the above process, the device a completes the operation of code scanning payment by using the device B application and the account number once. In this way, the code scanning payment interface uses the camera of the shared party (device a) to cooperate through the application to complete the code scanning payment function. When the balance of the electronic equipment is insufficient, the redundant operation of transferring accounts is not needed any more, and the payment can be completed directly through application cooperation.
In the embodiment of the present invention, the payment method may be applied to an electronic device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
In the payment method provided by the embodiment of the invention, under the condition that the first electronic device and the second electronic device establish shared connection aiming at the payment function, the camera acquires an image; sending the image to the second electronic device to cause the second electronic device to make a payment based on the image. Like this, first electronic equipment can accomplish payment through the second electronic equipment who is connected with it, and need not carry out the account transfer operation, can improve the simple operation nature.
Referring to fig. 2, the present embodiment is mainly different from the above-described embodiment in that the present embodiment is a method implemented from the perspective of the second electronic device.
Fig. 2 is a flowchart of a payment method provided by an embodiment of the present invention, and is applied to a second electronic device. As shown in fig. 2, the method comprises the following steps:
Wherein the image is captured by a camera of the first electronic device when the first electronic device establishes a shared connection for a payment function with the second electronic device.
For specific implementation manners of the step 201 and the step 202, reference may be made to relevant descriptions in the foregoing embodiments, and details are not described here again to avoid repetition.
Optionally, after receiving the image sent by the first electronic device, the method further includes:
sending image data of a first interface to the first electronic equipment according to the recognition result of the image;
receiving password information input on the first interface and sent by the first electronic equipment;
the performing, based on the image, a payment operation includes:
and executing payment operation under the condition that the password information is matched with preset password information.
In this embodiment, after the second electronic device acquires the image, the image data of the first interface may be obtained by performing recognition based on the image, and sent to the first electronic device. The first electronic device may display a first interface based on the image data, and the user may enter a password at the first interface. The second electronic device may verify the password and pay when the verification is successful.
In this way, the first electronic device can complete payment with the password obtained without interfering with the second electronic device.
Optionally, after receiving the image sent by the first electronic device, the method further includes:
displaying a third interface according to the recognition result of the image;
receiving a second input at the third interface, the second input comprising password information;
obtaining password information included by the second input;
shielding the password information in the third interface to generate a second interface;
and sending the image data of the second interface to the first electronic equipment.
In this embodiment, the second electronic device displays a third interface on which the user can input the password according to the recognition result of the image. In order to prevent the password from being leaked, the password input by the second electronic device can be shielded firstly, and then the second interface where the password after shielding processing is located is sent to the first electronic device, so that the password is prevented from being leaked.
Optionally, before receiving the image sent by the first electronic device, the method further includes:
determining whether to allow the payment information to be obtained by the first electronic device;
establishing a shared connection for a payment function with the first electronic device if it is determined that payment information is allowed to be obtained by the first electronic device.
In this embodiment, the first electronic device may transmit a request for applying for access to payment to the second electronic device, and the second electronic device may determine whether to allow the payment information to be acquired by the first electronic device based on a preset white list, a balance condition, and the like. The second electronic device may also output prompt information upon receiving the request to determine whether to allow the payment information to be acquired by the first electronic device based on the user's operation.
In the event that the second electronic device determines that payment information is allowed to be obtained by the first electronic device, a connection is established with the first electronic device. In this way, the second electronic device establishes a shared connection for the payment function with the first electronic device when it is determined that the payment information is allowed to be acquired by the first electronic device, and the security of the information can be improved.
Optionally, the determining whether to allow the payment information to be acquired through the first electronic device includes:
receiving a third input;
in response to the third input, sending a first message to the first electronic device;
the establishing a shared connection for a payment function with the first electronic device in the case that it is determined that the acquisition of payment information by the first electronic device is allowed, includes:
establishing a shared connection for a payment function with the first electronic device if the first message indicates that payment information is allowed to be obtained through the first electronic device.
In this embodiment, the second electronic device may determine whether to allow the payment information to be obtained by the first electronic device based on a third input by the user.
Specifically, the second electronic device may output the prompt information after receiving the request message sent by the first electronic device, so that the user performs a third input based on the prompt information; the user may also actively make a third input to indicate whether payment information is allowed to be obtained via the first electronic device. In this way, the first electronic device is connected to the second electronic device based on the input, and the security of information can be improved.
According to the payment method provided by the embodiment of the invention, the second electronic equipment can carry out payment based on the image acquired by the first electronic equipment, and transfer operation is not required, so that the operation convenience can be improved.
Referring to fig. 3, fig. 3 is a structural diagram of a first electronic device according to an embodiment of the present invention, where the first electronic device includes a camera. As shown in fig. 3, the first electronic device 300 includes:
the acquisition module 301 is configured to acquire an image through the camera when the first electronic device and the second electronic device establish a shared connection for a payment function;
a first sending module 302, configured to send the image to the second electronic device, so that the second electronic device makes a payment based on the image.
Optionally, the first sending module is specifically configured to:
and in the case that the image comprises a graphic code, transmitting the image to the second electronic device to enable the second electronic device to pay based on the image.
Optionally, the first electronic device further includes:
the first display module is used for displaying a first interface according to the image data of the first interface sent by the second electronic equipment;
a first receiving module for receiving a first input at the first interface, the first input including password information;
and the second sending module is used for sending the password information to the second electronic equipment so as to enable the second electronic equipment to execute payment operation.
Optionally, the first electronic device further includes:
the second display module is used for displaying a second interface according to the image data of the second interface sent by the second electronic equipment; and the password information in the second interface displayed by the first electronic equipment is shielded.
The first electronic device 300 can implement the processes implemented by the electronic device in the above method embodiments, and details are not repeated here to avoid repetition.
According to the first electronic device 300 of the embodiment of the invention, the first electronic device can complete payment through the second electronic device connected with the first electronic device, and account transfer operation is not needed, so that the operation convenience can be improved.
Referring to fig. 4, fig. 4 is a structural diagram of a second electronic device according to an embodiment of the present invention. As shown in fig. 4, the second electronic device 400 includes:
a second receiving module 401, configured to receive an image sent by the first electronic device;
a payment module 402 for performing a payment operation based on the image if the image includes a graphic code.
Optionally, the second electronic device further includes:
the third sending module is used for sending the image data of the first interface to the first electronic equipment according to the identification result of the image;
the third receiving module is used for receiving password information which is sent by the first electronic equipment and is input on the first interface;
the payment module is specifically configured to:
and executing payment operation under the condition that the password information is matched with preset password information.
Optionally, the second electronic device further includes:
the third display module is used for displaying a third interface according to the recognition result of the image;
a fourth receiving module, configured to receive a second input at the third interface, where the second input includes password information;
the acquisition module is used for acquiring password information included by the second input;
the shielding module is used for shielding the password information in the third interface to generate a second interface;
and the fourth sending module is used for sending the image data of the second interface to the first electronic equipment.
The second electronic device 400 can implement the processes implemented by the electronic device in the above method embodiments, and for avoiding repetition, the details are not described here.
According to the second electronic device 400 of the embodiment of the invention, the second electronic device can pay based on the image acquired by the first electronic device without performing transfer operation, so that the operation convenience can be improved.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and the electronic device is applied to the first electronic device and the second electronic device in the above embodiments. 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 mobile terminal, a wearable device, a pedometer, and the like.
When the electronic device is a first electronic device, the first electronic device is provided with a camera, and the processor 510 is configured to acquire an image through the camera when a shared connection for a payment function is established between the first electronic device and a second electronic device; sending the image to the second electronic device to cause the second electronic device to make a payment based on the image.
Like this, first electronic equipment can accomplish payment through the second electronic equipment who is connected with it, and need not carry out the account transfer operation, can improve the simple operation nature.
Optionally, the sending of the image to the second electronic device by the processor 510, so that the second electronic device makes payment based on the image, includes:
and in the case that the image comprises a graphic code, transmitting the image to the second electronic device to enable the second electronic device to pay based on the image.
Optionally, the processor 510 is further configured to:
displaying a first interface according to the image data of the first interface sent by the second electronic equipment;
receiving a first input at the first interface, the first input comprising password information;
and sending the password information to the second electronic equipment to enable the second electronic equipment to execute payment operation.
Optionally, the processor 510 is further configured to:
displaying a second interface according to the image data of the second interface sent by the second electronic equipment; and the password information in the second interface displayed by the first electronic equipment is shielded.
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.
When the electronic device is a second electronic device, wherein the processor 510 is configured to receive an image sent by the first electronic device; in the case where the image includes a graphic code, a payment operation is performed based on the image.
Optionally, the processor 510 is further configured to:
sending image data of a first interface to the first electronic equipment according to the recognition result of the image;
receiving password information input on the first interface and sent by the first electronic equipment;
and executing payment operation under the condition that the password information is matched with preset password information.
Optionally, the processor 510 is further configured to:
displaying a third interface according to the recognition result of the image;
receiving a second input at the third interface, the second input comprising password information;
obtaining password information included by the second input;
shielding the password information in the third interface to generate a second interface;
and sending the image data of the second interface to the first electronic equipment.
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 computer program implements each process in the payment method embodiment corresponding to the first electronic device or the second electronic device, and can achieve the same technical effect, 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 executed by a processor, the computer program implements each process of the payment method embodiment corresponding to the first electronic device or the second electronic device, 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 an electronic device (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 (16)
1. A payment method is applied to first electronic equipment with a camera, and is characterized by comprising the following steps:
acquiring an image through the camera under the condition that the first electronic equipment and the second electronic equipment establish shared connection aiming at a payment function;
sending the image to the second electronic device to cause the second electronic device to make a payment based on the image.
2. The method of claim 1, wherein the sending the image to the second electronic device to cause the second electronic device to make a payment based on the image comprises:
and in the case that the image comprises a graphic code, transmitting the image to the second electronic device to enable the second electronic device to pay based on the image.
3. The method of claim 1, wherein after the sending the image to the second electronic device, further comprising:
displaying a first interface according to the image data of the first interface sent by the second electronic equipment;
receiving a first input at the first interface, the first input comprising password information;
and sending the password information to the second electronic equipment to enable the second electronic equipment to execute payment operation.
4. The method of claim 1, wherein after the sending the image to the second electronic device, the method further comprises:
displaying a second interface according to the image data of the second interface sent by the second electronic equipment; and the password information in the second interface displayed by the first electronic equipment is shielded.
5. A payment method is applied to a second electronic device and is characterized by comprising the following steps:
receiving an image sent by first electronic equipment;
in the case where the image includes a graphic code, a payment operation is performed based on the image.
6. The method of claim 5, wherein after receiving the image transmitted by the first electronic device, the method further comprises:
sending image data of a first interface to the first electronic equipment according to the recognition result of the image;
receiving password information input on the first interface and sent by the first electronic equipment;
the performing, based on the image, a payment operation includes:
and executing payment operation under the condition that the password information is matched with preset password information.
7. The method of claim 5, wherein after receiving the image transmitted by the first electronic device, the method further comprises:
displaying a third interface according to the recognition result of the image;
receiving a second input at the third interface, the second input comprising password information;
obtaining password information included by the second input;
shielding the password information in the third interface to generate a second interface;
and sending the image data of the second interface to the first electronic equipment.
8. A first electronic device provided with a camera, comprising:
the acquisition module is used for acquiring images through the camera under the condition that the first electronic equipment and the second electronic equipment establish shared connection aiming at the payment function;
the first sending module is used for sending the image to the second electronic equipment so that the second electronic equipment can pay based on the image.
9. The first electronic device of claim 8, wherein the first sending module is specifically configured to:
and in the case that the image comprises a graphic code, transmitting the image to the second electronic device to enable the second electronic device to pay based on the image.
10. The first electronic device of claim 8, further comprising:
the first display module is used for displaying a first interface according to the image data of the first interface sent by the second electronic equipment;
a first receiving module for receiving a first input at the first interface, the first input including password information;
and the second sending module is used for sending the password information to the second electronic equipment so as to enable the second electronic equipment to execute payment operation.
11. The first electronic device of claim 8, further comprising:
the second display module is used for displaying a second interface according to the image data of the second interface sent by the second electronic equipment; and the password information in the second interface displayed by the first electronic equipment is shielded.
12. A second electronic device, comprising:
the second receiving module is used for receiving the image sent by the first electronic equipment;
and the payment module is used for executing payment operation based on the image under the condition that the image comprises the graphic code.
13. The second electronic device of claim 12, further comprising:
the third sending module is used for sending the image data of the first interface to the first electronic equipment according to the identification result of the image;
the third receiving module is used for receiving password information which is sent by the first electronic equipment and is input on the first interface;
the payment module is specifically configured to:
and executing payment operation under the condition that the password information is matched with preset password information.
14. The second electronic device of claim 12, wherein the second electronic device further comprises:
the third display module is used for displaying a third interface according to the recognition result of the image;
a fourth receiving module, configured to receive a second input at the third interface, where the second input includes password information;
the acquisition module is used for acquiring password information included by the second input;
the shielding module is used for shielding the password information in the third interface to generate a second interface;
and the fourth sending module is used for sending the image data of the second interface to the first electronic equipment.
15. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the payment method according to any one of claims 1 to 4 or implementing the steps in the payment method according to any one of claims 5 to 7 when executing the computer program.
16. 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 in the payment method according to one of the claims 1 to 4, and carries out the steps in the payment method according to one of the claims 5 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911189991.1A CN110992014A (en) | 2019-11-28 | 2019-11-28 | Payment method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911189991.1A CN110992014A (en) | 2019-11-28 | 2019-11-28 | Payment method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110992014A true CN110992014A (en) | 2020-04-10 |
Family
ID=70087740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911189991.1A Pending CN110992014A (en) | 2019-11-28 | 2019-11-28 | Payment method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110992014A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113592468A (en) * | 2021-07-12 | 2021-11-02 | 见面(天津)网络科技有限公司 | Online payment method and device based on two-dimensional code |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901436A (en) * | 2010-07-19 | 2010-12-01 | 中兴通讯股份有限公司 | Method, device and system for implementing service payment |
CN105493114A (en) * | 2013-08-20 | 2016-04-13 | 因斯塔配有限公司 | Mobile card sharing service method and system with enhanced security |
CN106204019A (en) * | 2015-05-07 | 2016-12-07 | 深圳市腾讯计算机系统有限公司 | A kind of information processing method, first terminal, the second terminal and server |
CN108629577A (en) * | 2017-03-24 | 2018-10-09 | 东莞宇龙通信科技有限公司 | NFC payment and NFC payment terminal |
CN109951424A (en) * | 2017-12-20 | 2019-06-28 | 北京三星通信技术研究有限公司 | Sharing method and relevant device |
-
2019
- 2019-11-28 CN CN201911189991.1A patent/CN110992014A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901436A (en) * | 2010-07-19 | 2010-12-01 | 中兴通讯股份有限公司 | Method, device and system for implementing service payment |
CN105493114A (en) * | 2013-08-20 | 2016-04-13 | 因斯塔配有限公司 | Mobile card sharing service method and system with enhanced security |
CN106204019A (en) * | 2015-05-07 | 2016-12-07 | 深圳市腾讯计算机系统有限公司 | A kind of information processing method, first terminal, the second terminal and server |
CN108629577A (en) * | 2017-03-24 | 2018-10-09 | 东莞宇龙通信科技有限公司 | NFC payment and NFC payment terminal |
CN109951424A (en) * | 2017-12-20 | 2019-06-28 | 北京三星通信技术研究有限公司 | Sharing method and relevant device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113592468A (en) * | 2021-07-12 | 2021-11-02 | 见面(天津)网络科技有限公司 | Online payment method and device based on two-dimensional code |
CN113592468B (en) * | 2021-07-12 | 2022-11-01 | 见面(天津)网络科技有限公司 | Online payment method and device based on two-dimensional code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108256853B (en) | Payment method and mobile terminal | |
CN111062026B (en) | Verification information sharing method and electronic equipment | |
CN109241775B (en) | Privacy protection method and terminal | |
CN110457888B (en) | Verification code input method and device, electronic equipment and storage medium | |
CN108901020B (en) | Network access method, mobile terminal and server | |
CN107704182B (en) | Code scanning method and mobile terminal | |
CN107682359B (en) | Application registration method and mobile terminal | |
CN108629579B (en) | Payment method and mobile terminal | |
CN110941501A (en) | Application sharing method and electronic equipment | |
CN111125770A (en) | Privacy protection method and electronic equipment | |
CN109544172B (en) | Display method and terminal equipment | |
CN111144877A (en) | Code scanning payment method and electronic equipment | |
CN110830262B (en) | Authorization management method and electronic equipment | |
CN109446794B (en) | Password input method and mobile terminal thereof | |
CN111144876A (en) | Payment method and electronic equipment | |
CN110933307A (en) | Electronic equipment and image processing method | |
CN108600492B (en) | Screen unlocking method and terminal | |
CN110795746B (en) | Information processing method and electronic equipment | |
CN109451143B (en) | Call method and mobile terminal | |
CN108259807B (en) | Communication method, mobile terminal and computer readable storage medium | |
CN110992014A (en) | Payment method and electronic equipment | |
CN111310250A (en) | Application sharing method and electronic equipment | |
CN107491685B (en) | Face recognition method and mobile terminal | |
CN110321680B (en) | Identity verification method and terminal equipment | |
CN110032861B (en) | Password setting method and terminal equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200410 |