CN111144877B - Code scanning payment method and electronic equipment - Google Patents

Code scanning payment method and electronic equipment Download PDF

Info

Publication number
CN111144877B
CN111144877B CN201911289672.8A CN201911289672A CN111144877B CN 111144877 B CN111144877 B CN 111144877B CN 201911289672 A CN201911289672 A CN 201911289672A CN 111144877 B CN111144877 B CN 111144877B
Authority
CN
China
Prior art keywords
dimensional code
payment interface
code payment
input
payment
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.)
Active
Application number
CN201911289672.8A
Other languages
Chinese (zh)
Other versions
CN111144877A (en
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 CN201911289672.8A priority Critical patent/CN111144877B/en
Publication of CN111144877A publication Critical patent/CN111144877A/en
Application granted granted Critical
Publication of CN111144877B publication Critical patent/CN111144877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a code scanning payment method and electronic equipment, and belongs to the technical field of payment. The code scanning payment method comprises the following steps: receiving a first input of a user for starting a two-dimensional code payment interface; responding to the first input, and displaying a preset virtual two-dimensional code payment interface; receiving a second input for switching a preset virtual two-dimensional code payment interface; and responding to the second input, and displaying a two-dimensional code payment interface. The code scanning payment method and the electronic equipment can prevent the payment code from being leaked or photographed by a user, and improve the safety of code scanning payment.

Description

Code scanning payment method and electronic equipment
Technical Field
The invention belongs to the technical field of payment, and relates to a code scanning payment method and electronic equipment.
Background
With the popularization of smart phones, code-scanning payment is more and more widely applied, such as WeChat payment, payment bank payment and the like. Currently, there are two common methods of code scanning payment, the first is that the user scans the merchant's collection code to pay, and the second is that the user presents the payment code to the merchant to scan the code to collect.
When the second mode is adopted for payment, if the payment code is leaked or the payment code is taken by a person, the person can deduct the money of the user through the payment code, the password is not needed, and a large safety risk exists. Therefore, how to effectively protect the individual payment code and prevent the payment code from being leaked or photographed by stealth is a urgent problem in the field of code scanning payment at present.
Disclosure of Invention
The embodiment of the invention provides a code scanning payment method, which can solve the problem of low safety caused by easy leakage and candid photograph of a payment code in the prior art.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a code scanning payment method, which is applied to an electronic device, and includes:
receiving a first input of a user for starting a two-dimensional code payment interface;
responding to the first input, and displaying a preset virtual two-dimensional code payment interface;
receiving a second input for switching the preset virtual two-dimensional code payment interface;
and responding to the second input, and displaying the two-dimensional code payment interface.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the receiving module is configured to receive a first input for starting the two-dimensional code payment interface by a user;
the display module is configured to respond to the first input and display a preset virtual two-dimensional code payment interface;
the receiving module is further configured to receive a second input for switching the preset virtual two-dimensional code payment interface;
the display module is further configured to display the two-dimensional code payment interface in response to the second input.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program is executed by the processor to implement the method steps described above.
In the embodiment of the invention, when the first input of starting the two-dimensional code payment interface by the user is received, the preset virtual two-dimensional code payment interface is displayed first, and the two-dimensional code payment interface is displayed only when the second input of switching the preset virtual two-dimensional code payment interface is received, so that the payment code can be prevented from being leaked or photographed by a user, and the safety of code scanning payment is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of a code scanning payment method provided by an embodiment of the invention;
fig. 2 is a schematic diagram showing content switching in a payment application in a front-and-back process of turning over an electronic device according to an embodiment of the present invention;
FIG. 3 is a flowchart of another code scanning payment method according to an embodiment of the present invention;
FIG. 4 is a flowchart of another code scanning payment method according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic hardware structure of another electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to solve the problem that the payment code is easy to leak and take by hand, so that the security is low in the prior art, the embodiment of the invention provides a code scanning payment method.
The subject of execution of the method may be an electronic device, which may be, but is not limited to, a smart phone, a tablet computer, a personal digital assistant (PersonalDigitalAssistant, PDA), or the like.
It will be appreciated that the subject of execution is not to be construed as limiting the invention.
For convenience of description, the embodiment of the present invention will be described by taking the example in which the execution subject is an electronic device, unless otherwise specified.
Referring to fig. 1, a flowchart of a code scanning payment method according to an embodiment of the invention includes the following steps:
step S101, a first input of starting a two-dimension code payment interface by a user is received.
In one embodiment of the invention, the electronic device is provided with a payment application for code scanning payment, such as WeChat, payment treasures and the like. When the user purchases the commodity and selects a payment mode for displaying the payment code to the merchant, the payment application can be opened and a first input for starting the two-dimensional code payment interface is input so as to display the payment code to the merchant, and the electronic device receives the first input for starting the two-dimensional code payment interface by the user.
In one embodiment of the invention, the first input may be a control instruction generated by a payment operation initiated by a user in a payment page.
Step S103, responding to the first input, and displaying a preset virtual two-dimensional code payment interface.
In the process from opening the payment interface of the payment application to the merchant code scanning and collection, if the two-dimensional code payment interface is always displayed, the risk of the payment code leakage or the fraudulent use of the payment code by people exists, and if the payment code leakage or the fraudulent use of the payment code by people exists, other people can take money of a user account through the payment code. Therefore, when payment is carried out, a real two-dimensional code payment interface can not be displayed at first.
The two-dimensional code payment interface is not displayed, any content is not displayed, other characters, symbols, patterns and the like can be displayed, and a preset virtual two-dimensional code payment interface can be displayed.
In one embodiment of the present invention, when receiving a first input that a user starts a two-dimensional code payment interface, a preset virtual two-dimensional code payment interface is displayed on an electronic device, where the preset virtual two-dimensional code payment interface displays a virtual two-dimensional payment code, and the virtual two-dimensional payment code cannot be paid when scanned, for example, the virtual two-dimensional payment code may be a picture similar to the two-dimensional code.
Step S105, receiving a second input for switching a preset virtual two-dimensional code payment interface.
The electronic equipment is predefined with a second input for controlling the electronic equipment to switch the preset virtual two-dimensional code payment interface into the two-dimensional code payment interface, and the two-dimensional code payment interface can display a real payment code and can be subjected to code scanning payment.
When the preset virtual two-dimensional code payment interface is required to be switched to the two-dimensional code payment interface so as to carry out code scanning payment, the user can input a second input which is predefined, and the electronic equipment receives the second input.
In general, when a user opens a payment interface of a payment application, a screen is opposite to the user, and when a two-dimensional code payment interface is displayed to a merchant for code scanning payment, the screen is required to be opposite to the merchant, so that a turning action exists.
Thus, in one embodiment of the invention, the second input may be generated based on a flip action of the user's electronic device. Specifically, the motion gesture of the electronic device is monitored, whether the motion gesture of the electronic device is the motion gesture corresponding to the overturning operation is judged, and if the motion gesture of the electronic device is the motion gesture corresponding to the overturning operation, a second input for indicating to switch the preset virtual two-dimensional code payment interface to the two-dimensional code payment interface is generated.
Judging whether the motion gesture of the electronic equipment is the motion gesture corresponding to the overturning operation or not, by monitoring the rotation angle of the electronic equipment in the horizontal direction, if the rotation angle of the electronic equipment in the horizontal direction is 180 degrees, judging that the motion gesture of the electronic equipment is the motion gesture corresponding to the overturning operation.
In practical situations, when the user turns the electronic device to pay, the actual rotation angle may not reach 180 degrees or exceed 180 degrees, so the rotation angle of 180 degrees may be an angle range approaching 180 degrees, for example, an interval range of 120 degrees to 240 degrees. The rotation angle is not necessarily required to be in the horizontal direction, and may be substantially in the horizontal direction.
It will be appreciated that in other embodiments, the second input may also be generated based on other operations than a flip operation. For example, it is generated based on an up-and-down swing operation of the electronic apparatus, a left-and-right swing operation of the electronic apparatus, and the like.
For another example, the second input may also be a scan input of the code scanning device to a preset virtual two-dimensional code payment interface. For example, it may be implemented as follows: the content displayed on the preset virtual two-dimensional code payment interface comprises a link address of a server. When the code scanning device scans the code to the preset virtual two-dimensional code payment interface, the link address can be analyzed and the server is accessed, and at the moment, the server sends a control instruction to the electronic device to control the electronic device to switch to display the two-dimensional code payment interface.
Step S107, responding to the second input, and displaying a two-dimensional code payment interface.
After receiving the second input, the electronic device can directly display the two-dimensional code payment interface. At this time, the two-dimensional code payment interface can be scanned to complete scanning payment.
When the two-dimensional code payment interface is displayed, the preset virtual two-dimensional code payment interface is hidden.
As shown in fig. 2, when a first input for starting the two-dimensional code payment interface is received, a preset virtual two-dimensional code payment interface as shown in the left drawing in fig. 2 is displayed on a screen of the electronic device. And in the process of turning over the electronic equipment, the user continuously displays a preset virtual two-dimensional code payment interface shown in the middle drawing in fig. 2 on the screen. After the overturn is completed, a two-dimensional code payment interface shown in the right drawing in fig. 2 is displayed on the screen. At this point the merchant may conduct a swipe code payment.
According to the code scanning payment method, when the payment interface of the payment application is opened, the preset virtual two-dimensional code payment interface is displayed, and when the second input for switching the preset virtual two-dimensional code payment interface is received, the two-dimensional code payment interface is displayed, so that the payment code can be prevented from being leaked or being shot by a user, and the safety of code scanning payment is improved.
Referring to fig. 3, a flowchart of another code scanning payment method according to an embodiment of the present invention will be described in detail below with reference to the flowchart shown in fig. 3.
Step S301, a first input of a user to start a two-dimensional code payment interface is received.
Step S303, in response to the first input, displaying a preset virtual two-dimensional code payment interface.
Step S305, the monitoring device is started to acquire the current environmental parameters.
The electronic device is provided with a monitoring device for monitoring current environment parameters, wherein the environment parameters can be parameters for evaluating whether the current payment environment is abnormal, such as current environment images, face images, voice information, position information and the like. The monitoring device may be, but is not limited to, a microphone, a camera, GPS, etc.
When a user initiates a payment operation in a payment page, the electronic device also starts the monitoring device to acquire the current environment parameters.
Step S307, determining whether there is a payment security risk currently, and if so, executing step S309.
After the current environmental parameters are acquired, whether the payment security risk exists currently is judged according to the acquired environmental parameter analysis, and if the payment security risk exists, step S309 is executed; if there is no payment security risk, step S3011 is executed.
For example, the monitoring device may be a camera, the environmental parameter may be a face image acquired by the camera, when a current face image (environmental parameter) is acquired, a payee may be identified according to the acquired face image, if the payee is abnormal (for example, recorded as a list of people who are lost or a record of a counterfeit product with vending, etc.), it is indicated that there is a payment security risk in the current payment environment, and step S309 is performed.
It will be appreciated that the above determination as to whether there is a payment security risk is merely illustrative, and in other embodiments, the determination of the payment security risk may be other manners of determination.
Step S309, generating prompt information.
If the current payment environment has the payment security risk, the electronic device generates a prompt message to remind the user that the current payment environment has the payment security risk.
The prompt information may be, but is not limited to, prompt voice, vibration prompt, short message, etc., and the embodiment of the invention is not particularly limited.
Step S311, a second input for switching the preset virtual two-dimensional code payment interface is received.
In step S313, in response to the second input, a two-dimensional code payment interface is displayed.
Step S315, after the two-dimensional code payment interface is scanned and payment is completed, hiding the two-dimensional code payment interface.
After the merchant scans the two-dimensional code payment interface and finishes payment, the electronic equipment hides the two-dimensional code payment interface.
When the two-dimensional code payment interface is hidden, the preset virtual two-dimensional code payment interface can be displayed on a screen, or no content can be displayed on the screen, or a prompt of successful payment and the like can be displayed on the screen. In one embodiment of the invention, when the two-dimensional code payment interface is hidden, the preset virtual two-dimensional code payment interface is displayed on a screen.
According to the code scanning payment method, when the payment interface of the payment application is opened, the preset virtual two-dimensional code payment interface is displayed, when the second input for switching the preset virtual two-dimensional code payment interface is received, the two-dimensional code payment interface is displayed, and the two-dimensional code payment interface is hidden after payment is completed, so that the payment code leakage or the code scanning payment can be prevented, and the safety of code scanning payment is improved. Meanwhile, the monitoring equipment can be started to acquire the current environment parameters in the payment process, whether the payment safety risk exists currently or not is determined according to the environment parameters, and when the payment safety risk exists in the payment environment, a prompt message is generated to remind a user to pay attention to the payment safety, so that the user is ensured to pay under the safety environment, and the user experience is improved.
Referring to fig. 4, a flowchart of another code scanning payment method according to an embodiment of the present invention will be described in detail below with reference to the flowchart shown in fig. 4.
Step S401, a first input of starting a two-dimension code payment interface by a user is received.
Step S403, in response to the first input, displaying a preset virtual two-dimensional code payment interface.
And step S405, when the virtual two-dimensional code payment interface displays time-out, generating prompt information.
In the payment process, if the second input (i.e. the electronic equipment is not turned over) is not received for a long time and the time exceeds the preset time, the display timeout of the virtual two-dimension code payment interface is indicated, and at the moment, a prompt message can be generated to remind the user to execute the turning operation again so as to switch to the display of the two-dimension code payment interface, so that the real two-dimension code is displayed to the merchant, and the smooth proceeding of the subsequent payment is ensured.
Step S407, receiving a second input for switching a preset virtual two-dimensional code payment interface.
Step S409, in response to the second input, displaying a two-dimensional code payment interface.
Step S411, judging whether the two-dimensional code payment interface is successfully paid by the code scanning, if not, executing step S413; if so, step S415 is performed.
In the code scanning payment process, the displayed two-dimensional code payment interface may cause unsuccessful code scanning payment due to various reasons such as overtime of links and insufficient balance. Therefore, after the two-dimensional code payment interface is scanned, it is further determined whether the two-dimensional code payment interface is scanned successfully, if so, step S413 is executed, and if not, step S415 is executed.
And step S413, updating and displaying a two-dimensional code payment interface.
If the two-dimensional code payment interface is not successfully paid by the code scanning, updating the two-dimensional code payment interface and displaying the updated two-dimensional code payment interface on a screen so that a merchant can scan the code again to collect the money, smooth payment is ensured, tedious operation caused by the fact that a user needs to open a payment page again to pay again due to payment failure is avoided, and user experience is improved.
It should be noted that, for the situation that the two-dimensional code payment interface is not successfully paid by the scanned code due to insufficient balance, when the two-dimensional code payment interface is updated and displayed, other payment accounts bound by the user can be reselected and a two-dimensional code payment interface is regenerated and displayed. Or reminding the user, and regenerating a two-dimensional code payment interface and displaying after the user manually selects other payment accounts.
Step S415, hiding the two-dimensional code payment interface.
According to the code scanning payment method, when the payment interface of the payment application is opened, the preset virtual two-dimensional code payment interface is displayed, when the second input for switching the preset virtual two-dimensional code payment interface is received, the two-dimensional code payment interface is displayed, and the two-dimensional code payment interface is hidden after payment is completed, so that the payment code leakage or the code scanning payment can be prevented, and the safety of code scanning payment is improved. Meanwhile, when the preset virtual two-dimensional code payment interface is scanned, a prompt message can be generated to remind a user of the preset virtual two-dimensional code payment interface to be scanned, the surrounding environment needs to be noted, and safety of vigilance in paying attention is improved. And secondly, if the preset virtual two-dimensional code payment interface is overtime, a prompt message can be generated to remind the user to input a second input for switching the preset virtual two-dimensional code payment interface again so as to switch to the two-dimensional code payment interface to finish payment, so that the real two-dimensional code is displayed to a merchant, and the smooth proceeding of subsequent payment is ensured. In addition, when the two-dimensional code payment interface is not successfully paid by the code scanning, the two-dimensional code payment interface can be updated and displayed so that merchants can scan the code again to collect money, smooth payment is ensured, tedious operation caused by the fact that a user needs to open a payment page again to pay again due to payment failure is avoided, and user experience is improved.
Fig. 5 is a block diagram of an electronic device 500 according to an embodiment of the invention. Referring to fig. 5, in one software implementation, an electronic device 500 may include:
the receiving module 501 is configured to receive a first input that a user initiates a two-dimensional code payment interface.
The display module 502 is configured to display a preset virtual two-dimensional code payment interface in response to the first input.
The receiving module 501 is further configured to receive a second input for switching the preset virtual two-dimensional code payment interface.
The display module 502 is further configured to display the two-dimensional code payment interface in response to the second input.
Specifically, the display module 502 may be configured to display the two-dimensional code payment interface in response to a user's flip input. Or responding to the scanning input of the code scanning equipment to the preset virtual two-dimensional code payment interface, and displaying the two-dimensional code payment interface.
Further, the electronic device 500 may further include:
and the hiding module 503 is configured to hide the preset virtual two-dimensional code payment interface when the two-dimensional code payment interface is displayed.
And the reminding module 504 is configured to generate reminding information when the virtual two-dimensional code payment interface displays time-out.
The starting module 505 is configured to start the monitoring device to acquire the current environmental parameters before displaying the two-dimensional code payment interface.
A determination module 506 is configured to determine whether there is currently a payment security risk based on the environmental parameter.
A generation module 507 configured to generate a hint information if there is a payment security risk.
Further, the display module 502 is further configured to update and display the two-dimensional code payment interface after the two-dimensional code payment interface is scanned and payment fails.
According to the electronic device 500 provided by the embodiment of the invention, when the payment interface of the payment application is opened, the preset virtual two-dimensional code payment interface is displayed, when the second input for switching the preset virtual two-dimensional code payment interface is received, the two-dimensional code payment interface is displayed, and the two-dimensional code payment interface is hidden after the payment is completed, so that the payment code can be prevented from being leaked or photographed by a user in a stealth manner, and the safety of code scanning payment is improved. Meanwhile, when the preset virtual two-dimensional code payment interface is scanned, a prompt message can be generated to remind a user of the preset virtual two-dimensional code payment interface to be scanned, the surrounding environment needs to be noted, and safety of vigilance in paying attention is improved. And secondly, if the preset virtual two-dimensional code payment interface is overtime, a prompt message can be generated to remind the user to input a second input for switching the preset virtual two-dimensional code payment interface again so as to switch to the two-dimensional code payment interface to finish payment, so that the real two-dimensional code is displayed to a merchant, and the smooth proceeding of subsequent payment is ensured. In addition, when the two-dimensional code payment interface is not successfully paid by the code scanning, the two-dimensional code payment interface can be updated and displayed so that merchants can scan the code again to collect money, smooth payment is ensured, tedious operation caused by the fact that a user needs to open a payment page again to pay again due to payment failure is avoided, and user experience is improved. Finally, the electronic device 500 provided in the embodiment of the present invention may start the monitoring device to obtain the current environmental parameter during the payment process, determine whether the payment security risk currently exists according to the environmental parameter, and generate a prompt message to remind the user to pay attention to the payment security when the payment security risk exists in the payment environment, so as to ensure that the user pays in the security environment, and improve the user experience.
Figure 6 is a schematic diagram of a hardware architecture of another electronic device implementing various embodiments of the invention,
the electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power supply 611. Those skilled in the art will appreciate that the electronic device structure shown in fig. 6 is not limiting of the electronic device and that the electronic device 600 may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In an embodiment of the present invention, electronic device 600 includes, but is not limited to, a mobile phone, tablet, palmtop, wearable device, etc.
The processor 610 displays a preset virtual two-dimensional code payment interface in response to a first input of a user starting the two-dimensional code payment interface; and responding to a second input for switching a preset virtual two-dimensional code payment interface, and displaying the two-dimensional code payment interface.
The electronic device 600 provided by the embodiment of the invention can display the preset virtual two-dimensional code payment interface when the payment interface of the payment application is opened, and display the two-dimensional code payment interface when the second input for switching the preset virtual two-dimensional code payment interface is received, so that the payment code can be prevented from being leaked or being shot by a user, and the safety of code scanning payment is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 610; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 601 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 601 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 600. The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processor (GraphicsProcessingUnit, GPU) 6041 and a microphone 6042, the graphics processor 6041 processing image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. Microphone 6042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 6061 and/or the backlight when the electronic device 600 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 605 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 606 is used to display information input by a user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 1061 may be configured in the form of a liquid crystal display (LiquidCrystalDisplay, LCD), an organic light-emitting diode (organic light-EmittingDiode, OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 6071 or thereabout using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 610, and receives and executes commands sent from the processor 610. In addition, the touch panel 6071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 6071 may be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 610 to determine a type of a touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 608 is an interface to which an external device is connected to the electronic apparatus 600. For example, the external devices may include a wired or wireless headset port, an external power (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 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 600 or may be used to transmit data between the electronic apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a storage program area that may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 609 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 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may also include a power supply 611 (e.g., a battery) for powering the various components, and preferably the power supply 611 may be logically coupled to the processor 610 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program when executed by the processor 610 implements each process of the foregoing embodiment of the code scanning payment method, and the same technical effects can be achieved, so that repetition is avoided and redundant description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the code scanning payment method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein, the computer readable storage medium is Read-only memory (ROM), random Access Memory (RAM), magnetic disk or optical disk, etc.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (9)

1. The code scanning payment method is applied to electronic equipment and is characterized by comprising the following steps of:
receiving a first input of a user for starting a two-dimensional code payment interface;
responding to the first input, and displaying a preset virtual two-dimensional code payment interface;
receiving a second input for switching the preset virtual two-dimensional code payment interface;
responding to the second input, and displaying the two-dimensional code payment interface;
the responding to the second input, displaying the two-dimensional code payment interface comprises:
responding to the scanning input of the code scanning equipment to the preset virtual two-dimensional code payment interface; receiving a control instruction sent by a server and used for controlling the electronic equipment to switch to display a two-dimensional code payment interface, and displaying the two-dimensional code payment interface; the content displayed by the preset virtual two-dimensional code payment interface comprises a link address of the server;
and generating prompt information under the condition that the preset virtual two-dimensional code payment interface is scanned, wherein the prompt information is used for reminding a user that the preset virtual two-dimensional code payment interface is scanned.
2. The method of claim 1, wherein the displaying the two-dimensional code payment interface in response to the second input comprises:
and responding to the overturn input of the user, and displaying the two-dimensional code payment interface.
3. The method according to claim 1, wherein the method further comprises:
and updating and displaying the two-dimensional code payment interface after the two-dimensional code payment interface is scanned and payment fails.
4. The method of claim 1, wherein prior to displaying the two-dimensional code payment interface, the method further comprises:
starting monitoring equipment to acquire current environmental parameters;
determining whether a payment security risk currently exists based on the environmental parameter;
if the payment security risk exists, prompt information is generated.
5. An electronic device, comprising:
the receiving module is configured to receive a first input for starting the two-dimensional code payment interface by a user;
the display module is configured to respond to the first input and display a preset virtual two-dimensional code payment interface;
the receiving module is further configured to receive a second input for switching the preset virtual two-dimensional code payment interface; the display module is further configured to display the two-dimensional code payment interface in response to the second input;
wherein, in the process of responding to the second input and displaying the two-dimensional code payment interface, the display module is configured to respond to the scanning input of the scanning device to the preset virtual two-dimensional code payment interface; receiving a control instruction sent by a server and used for controlling the electronic equipment to switch to display a two-dimensional code payment interface, and displaying the two-dimensional code payment interface; the content displayed by the preset virtual two-dimensional code payment interface comprises a link address of the server;
the generation module is configured to generate prompt information under the condition that the preset virtual two-dimensional code payment interface is scanned, wherein the prompt information is used for reminding a user that the preset virtual two-dimensional code payment interface is scanned.
6. The electronic device of claim 5, wherein the display module is configured to display the two-dimensional code payment interface in response to a user's flip input.
7. The electronic device of claim 5, wherein the display module is further configured to update display the two-dimensional code payment interface after the two-dimensional code payment interface is scanned and payment fails.
8. The electronic device of claim 5, further comprising:
the starting module is configured to start the monitoring equipment to acquire the current environmental parameters before the two-dimensional code payment interface is displayed;
a determination module configured to determine whether there is currently a payment security risk based on the environmental parameter;
and the generation module is configured to generate prompt information if the payment security risk exists.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the code scanning payment method of any of claims 1-4 when executed by the processor.
CN201911289672.8A 2019-12-13 2019-12-13 Code scanning payment method and electronic equipment Active CN111144877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911289672.8A CN111144877B (en) 2019-12-13 2019-12-13 Code scanning payment method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911289672.8A CN111144877B (en) 2019-12-13 2019-12-13 Code scanning payment method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111144877A CN111144877A (en) 2020-05-12
CN111144877B true CN111144877B (en) 2024-03-05

Family

ID=70518324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911289672.8A Active CN111144877B (en) 2019-12-13 2019-12-13 Code scanning payment method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111144877B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116391173A (en) * 2020-12-31 2023-07-04 Oppo广东移动通信有限公司 Graphic code display method, device, terminal and storage medium
CN114548975A (en) * 2022-02-11 2022-05-27 中国银联股份有限公司 Code scanning payment method, user terminal, service equipment, system and medium
CN115511029B (en) * 2022-09-23 2023-06-30 花瓣云科技有限公司 Two-dimensional code update prompting method, electronic equipment and computer readable storage medium
CN115511479B (en) * 2022-11-22 2023-04-07 孩子王儿童用品股份有限公司 Multi-source data-based diversified payment management system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170808A (en) * 2016-06-22 2016-11-30 北京小米移动软件有限公司 Pay changing method and device
WO2018054392A1 (en) * 2016-09-20 2018-03-29 徐蔚 Mobile terminal and service provision device connection system, and service provision method
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN109711850A (en) * 2018-12-29 2019-05-03 努比亚技术有限公司 A kind of safe payment method, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160335608A1 (en) * 2015-05-15 2016-11-17 Bank Of America Corporation Virtual Payment Device Including a Scannable Code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170808A (en) * 2016-06-22 2016-11-30 北京小米移动软件有限公司 Pay changing method and device
WO2018054392A1 (en) * 2016-09-20 2018-03-29 徐蔚 Mobile terminal and service provision device connection system, and service provision method
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN109711850A (en) * 2018-12-29 2019-05-03 努比亚技术有限公司 A kind of safe payment method, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111144877A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN111144877B (en) Code scanning payment method and electronic equipment
EP3716132A1 (en) Code scanning method, code scanning device and mobile terminal
CN108256853B (en) Payment method and mobile terminal
CN108595946B (en) Privacy protection method and terminal
CN109544172B (en) Display method and terminal equipment
CN108629579B (en) Payment method and mobile terminal
CN109523253B (en) Payment method and device
CN111290810A (en) Image display method and electronic equipment
CN110837328B (en) Display method and electronic equipment
CN110532820B (en) Graphic code display and scanning method and terminal
CN110519443B (en) Screen lightening method and mobile terminal
EP3816768A1 (en) Object recognition method and mobile terminal
CN108109188B (en) Image processing method and mobile terminal
CN109800606A (en) A kind of display control method and mobile terminal
CN111523871B (en) Payment processing method and electronic equipment
CN110795746B (en) Information processing method and electronic equipment
CN111144876A (en) Payment method and electronic equipment
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN109992939B (en) Login method and terminal equipment
CN109361804B (en) Incoming call processing method and mobile terminal
CN109547330B (en) Information sharing method and device
CN111008833A (en) Payment transaction method, payment terminal and computer readable storage medium
CN107895108B (en) Operation management method and mobile terminal
CN111310249B (en) Information display method and electronic equipment
CN109409068B (en) Operation execution method and 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
GR01 Patent grant
GR01 Patent grant