WO2021036530A1 - 图形码显示、扫描方法及终端 - Google Patents

图形码显示、扫描方法及终端 Download PDF

Info

Publication number
WO2021036530A1
WO2021036530A1 PCT/CN2020/100920 CN2020100920W WO2021036530A1 WO 2021036530 A1 WO2021036530 A1 WO 2021036530A1 CN 2020100920 W CN2020100920 W CN 2020100920W WO 2021036530 A1 WO2021036530 A1 WO 2021036530A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
graphic code
screen
display
payment
Prior art date
Application number
PCT/CN2020/100920
Other languages
English (en)
French (fr)
Inventor
蔡长水
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021036530A1 publication Critical patent/WO2021036530A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • 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

Definitions

  • the embodiments of the present disclosure relate to the field of communication technology, and in particular, to a graphic code display and scanning method and terminal.
  • a payment terminal such as a mobile terminal
  • the user first needs to display the QR code in the payment terminal, and then the merchant’s receiving terminal scans the QR code to collect the payment, completing a payment It may take a few seconds to a few minutes.
  • the present disclosure provides a graphic code display and scanning method and terminal, so as to at least solve the technical problem of hidden dangers in QR code payment in related technologies.
  • embodiments of the present disclosure provide a graphic code display method, which is applied to a first terminal, and the method includes:
  • embodiments of the present disclosure provide a graphic code scanning method, which is applied to a second terminal, and the second terminal is provided with a light emitting module, and the method includes:
  • the light emitting module In response to the second input, when the distance between the second terminal and the first terminal is within a preset range, the light emitting module is activated, and the graphic code displayed on the screen of the first terminal is scanned.
  • an embodiment of the present disclosure provides a terminal, the terminal is a first terminal, and the terminal includes:
  • the first receiving module is configured to receive a first input, and the first input is used to instruct to display a graphic code
  • a graphic code display module configured to display a graphic code on the screen of the first terminal in response to the first input, and reduce the display brightness of the screen of the first terminal;
  • the brightness adjustment module is configured to increase the display brightness of the screen of the first terminal when the distance between the first terminal and the second terminal is within a preset range.
  • an embodiment of the present disclosure provides a terminal, the terminal is a second terminal, the second terminal is provided with a light emitting module, and the terminal includes:
  • the second receiving module is used to receive the second input
  • the graphic code scanning module is used to respond to the second input, and when the distance between the second terminal and the first terminal is within a preset range, activate the light emitting module and scan the screen of the first terminal The graphic code displayed on the display.
  • the embodiments of the present disclosure also provide a terminal.
  • the terminal includes a memory, a processor, and a computer program that is stored in the memory and can run on the processor.
  • the processor executes the computer program, the above The steps of the graphic code display method or the graphic code scanning method.
  • the embodiments of the present disclosure also provide a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned graphic code display method is implemented. Steps or steps of the graphic code scanning method.
  • a first input is received, and the first input is used to instruct to display a graphic code; in response to the first input, the graphic code is displayed on the screen of the first terminal, and the first terminal is turned down
  • the display brightness of the screen when the graphic code is displayed, the brightness protection is automatically set by dimming the screen brightness of the payment terminal, and the graphic code is physically isolated to hide the payment graphic code to prevent the graphic code from being stolen by illegal payment devices; and
  • the distance between the first terminal and the second terminal is within a preset range, increase the display brightness of the screen of the first terminal to ensure that the brightness protection is released within a safe distance from the second terminal, Complete the payment process and realize safe payment.
  • FIG. 1 is a flowchart of a graphic code display method provided by an embodiment of the present disclosure
  • Figure 2 is a flowchart of a graphic code scanning method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a scene of an example provided by an embodiment of the present disclosure.
  • FIG. 4 is a flowchart of a graphic code display method of the first example of an embodiment of the present disclosure
  • Fig. 5 is a flowchart of a graphic code scanning method of the first example of an embodiment of the present disclosure
  • Fig. 6 is a flowchart of a graphic code display method of a second example of an embodiment of the present disclosure.
  • Fig. 7 is a flowchart of a graphic code scanning method of a second example of an embodiment of the present disclosure.
  • FIG. 8 is one of the structural block diagrams of a terminal provided by an embodiment of the present disclosure.
  • FIG. 9 is the second structural block diagram of a terminal provided by an embodiment of the present disclosure.
  • Fig. 10 is the third structural block diagram of a terminal provided by an embodiment of the present disclosure.
  • one embodiment or “an embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present disclosure. Therefore, the appearances of "in one embodiment” or “in an embodiment” in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
  • Fig. 1 is a flowchart of a graphic code display method provided by an embodiment of the present disclosure.
  • the execution subject of the graphic code display method provided in this embodiment may be the payment terminal provided by the embodiment of the present disclosure, wherein:
  • the payment terminal may be a mobile terminal, such as a smart phone, a smart bracelet, etc.
  • the method includes the following steps:
  • Step 101 Receive a first input, where the first input is used to instruct to display a graphic code.
  • the first input can be generated according to a user operation. For example, a user opens a certain payment software, enters personal information and logs in, and generates a first input by triggering a payment button on the payment interface, instructing the first terminal to display a graphic code.
  • the graphic code may be a one-dimensional code or a two-dimensional code.
  • Step 102 In response to the first input, display a graphic code on the screen of the first terminal, and reduce the display brightness of the screen of the first terminal.
  • the graphic code in response to the first input, is displayed on the screen of the first terminal while reducing the display brightness; optionally, it is best to dim the screen so that human eyes cannot see the payment graphic code.
  • Step 103 When the distance between the first terminal and the second terminal is within a preset range, increase the display brightness of the screen of the first terminal.
  • the second terminal may be a mobile terminal that collects money, or may be a cash register.
  • the first terminal detects that the distance from the second terminal is within a preset range, it automatically releases the brightness protection, so that the second terminal can collect payments normally; it is understandable that the preset range is a very small
  • the distance range for example, is set to a distance range of centimeters, such as within 5 cm. Only when the user holds the first terminal and actively approaches the second terminal, the distance between the two is within the preset range; at this time, set the distance of the first terminal The display brightness is increased to complete the normal payment process.
  • the first terminal may be provided with a distance sensor for detecting the distance to the second terminal.
  • a first input is received, and the first input is used to instruct to display a graphic code; in response to the first input, the graphic code is displayed on the screen of the first terminal, and the first terminal’s
  • the display brightness of the screen when the graphic code is displayed, the brightness protection is automatically set by dimming the screen brightness of the payment terminal, and the graphic code is physically isolated to hide the payment graphic code to prevent the graphic code from being stolen by illegal payment devices;
  • the distance between the first terminal and the second terminal is within a preset range, increase the display brightness of the screen of the first terminal to ensure that the brightness protection is released within a safe distance from the second terminal to complete
  • the payment process realizes secure payment; the embodiments of the present disclosure solve the problem of hidden security risks in graphic code payment in related technologies.
  • the graphic code is a payment code
  • the method further includes:
  • the brightness of the screen of the first terminal is brightened
  • the screen brightness of the payment terminal is brightened after the payment is successful, which is convenient for the subsequent normal use of the user. If the payment fails, the payment pattern code is invalidated, which further prevents illegal deductions caused by the illegal payment terminal scanning the payment pattern code, and realizes safe payment.
  • the increasing the display brightness of the screen of the first terminal includes:
  • the scan code instruction is used to prompt the first terminal to start scanning the code, so that the first terminal can clear the brightness protection for the graphic code by adjusting the brightness of the screen, and display the payment graphic code that was previously hidden by dimming the screen brightness. It is convenient for the receiving terminal to scan the payment graphic code; and through the code scanning instruction, the identity of the second terminal can be further confirmed safely, and the brightness protection can be released only when the scanning instruction of the second terminal within the preset distance is received, and further Improve the safety factor of payment.
  • the receiving the code scanning instruction sent by the second terminal includes:
  • the NFC command sent by the second terminal is monitored through the NFC (Near Field Communication) module of the one terminal.
  • NFC Near Field Communication
  • step S18 is executed, that is, the screen brightness of the payment terminal is brightened, and if the NFC instruction is not the scan code instruction, then continue to monitor the NFC instruction.
  • the first input is used to instruct to display a graphic code; in response to the first input, the graphic code is displayed on the screen of the first terminal, and the first terminal’s
  • the display brightness of the screen when the graphic code is displayed, the brightness protection is automatically set by dimming the screen brightness of the payment terminal, and the graphic code is physically isolated to hide the payment graphic code to prevent the graphic code from being stolen by illegal payment devices;
  • the distance between the first terminal and the second terminal is within a preset range
  • the payment process realizes secure payment; and the NFC command sent by the second terminal is monitored through the NFC module, and if the NFC command is the scan code command, the screen brightness of the payment terminal is brightened to display the graphic code, and In order for the second terminal to scan the graphic code to generate a deduction instruction, the second terminal completes the payment according to the deduction instruction. Since the NFC communication must require
  • FIG. 2 is a flowchart of a graphic code scanning method provided by another embodiment of the present disclosure.
  • the method is applied to a second terminal, and the second terminal is provided with a light emitting module.
  • the light-emitting module is used to emit light, and the intensity of the light can be adjusted to illuminate the screen of the payment terminal;
  • the execution subject of the graphic code scanning method provided in this embodiment may be the payment terminal provided in the embodiment of the disclosure.
  • the method includes the following steps:
  • Step 201 Receive a second input
  • the second input is used to start the payment process of the second terminal; for example, when the payment is received by scanning the image code, the second input is used to call the graphic code scanning interface to start the scanning process.
  • Step 202 In response to the second input, when the distance between the second terminal and the first terminal is within a preset range, start the light emitting module, and scan the graphics displayed on the screen of the first terminal code.
  • the first terminal is a payment terminal; due to the brightness protection that may be activated when the first terminal displays the graphic code for payment, the display brightness of its screen is reduced; and the second terminal is provided with a light-emitting module, the light-emitting module Used to emit light, when the distance between the second terminal and the first terminal is within a preset range, the light emitting module is activated to illuminate the screen of the first terminal so that the second terminal can scan the The graphic code displayed on the screen of the first terminal executes the payment process.
  • the second terminal is a mobile terminal, such as a smart phone
  • the light-emitting module may be a flashlight on the smart phone.
  • step 202 is performed; otherwise, no operation is performed.
  • the second terminal illuminates the first terminal, the first terminal displays a payment graphic code, and the second terminal generates a deduction instruction according to the displayed graphic code to complete the deduction process.
  • a second input is received; in response to the second input, when the distance between the second terminal and the first terminal is within a preset range, the light emitting module is activated, and the first terminal is scanned.
  • the graphic code displayed on the screen of a terminal detects the distance between the first terminal and the second terminal. When the distance is less than the preset distance, the screen of the first terminal will be illuminated to display hidden in the first terminal.
  • the graphic code on the screen of a terminal enables the first terminal to protect the graphic code brightness when it shows the payment graphic code to prevent the graphic code from being stolen by illegal payment collection devices.
  • the second terminal When the first terminal is close to the second terminal, When within the preset distance range, the second terminal illuminates the screen of the first terminal, completes the payment, completes the payment process, and realizes secure payment; the embodiment of the present disclosure solves the problem of hidden security hazards in graphic code payment in related technologies.
  • the activating the light-emitting module when the distance between the second terminal and the first terminal is within a preset range includes:
  • the light-emitting module is turned on, and the light-emitting brightness of the light-emitting module is adjusted to a preset brightness value.
  • the second terminal may be provided with a distance sensor. After the system of the second terminal is powered on, the distance sensor and the light emitting module are initialized. After the distance sensor is initialized, it enters the detection state and detects the distance of the object close to the payment terminal in real time.
  • the preset distance can be customized, such as 2 cm.
  • the light-emitting module When it is detected that the distance to the first terminal is within a preset range, the light-emitting module is activated, and the light-emitting brightness of the light-emitting module is adjusted to the preset brightness value to illuminate the screen of the first terminal and make the second terminal
  • the graphic code displayed on the screen of the first terminal can be scanned to execute the payment process.
  • the step of scanning the graphic code displayed on the screen of the first terminal includes:
  • the scan code instruction is used to prompt the first terminal to start scanning the code, so that the first terminal can clear the brightness protection for the graphic code by adjusting the brightness of the screen, and display the payment graphic code that was previously hidden by dimming the screen brightness. It is convenient for the receiving terminal to scan the payment graphic code. By sending a code scanning instruction to the first terminal, it is possible to prevent illegal payment collection terminals from scanning the payment graphic code to perform illegal deductions.
  • the sending a code scanning instruction to the first terminal includes:
  • the code scanning instruction is sent to the first terminal through the NFC module of the second terminal, so that the NFC module of the first terminal monitors the code scanning instruction and brightens the screen brightness; due to NFC communication It must be required that the distance between the two parties in communication is very close, so as to avoid the illegal code scanning device in the far place around the payment environment from scanning the code to the graphic code, so as to achieve the purpose of safe payment.
  • an NFC module can be provided in both the second terminal and the first terminal.
  • the second terminal When the second terminal is ready to enter the payment, it first initializes the NFC module so that the NFC module enters the working mode, that is, it sends out an NFC command at regular intervals (for example, every 0.1s), and the NFC command is used to notify the NFC module close to the first terminal to prepare to enter Scan code status.
  • a second input is received; in response to the second input, when the distance between the second terminal and the first terminal is within a preset range, the light emitting module is activated, and the first terminal is scanned.
  • the graphic code displayed on the screen of a terminal detects the distance between the first terminal and the second terminal. When the distance is less than the preset distance, the screen of the first terminal will be illuminated to display hidden in the first terminal.
  • the graphic code on the screen of a terminal enables the first terminal to protect the graphic code brightness when it shows the payment graphic code to prevent the graphic code from being stolen by illegal payment collection devices; and when the first terminal is close to the second terminal, When within the preset distance range, the second terminal illuminates the screen of the first terminal to complete the payment, complete the payment process, and realize safe payment.
  • FIG. 3 shows a schematic diagram of the application scenario of the graphic code display method and the scanning method provided in the embodiments of the present disclosure; wherein, the payment terminal is the first terminal M1, and the payment terminal is the second terminal M2; and in this example, the graphic code is a two-dimensional code.
  • the main process executed by the first terminal M1 is as follows:
  • Step 401 Display the payment QR code, and reduce the display brightness of the screen of the first terminal M0.
  • the first terminal in the initial state is located at the position shown by M0 in FIG. 3.
  • the first terminal M0 After the first terminal M0 detects that the identity verification is completed, it immediately adjusts the screen brightness to the darkest level, and displays the QR code on the screen at the same time. Since the brightness of the screen is already the darkest at this time, the QR code cannot be seen with the naked eye, and the QR code enters a protected state.
  • Step 402 When the distance between the first terminal and the second terminal M2 is within a preset range, increase the display brightness of the screen of the first terminal.
  • the first terminal moves from M0 to M1, and the distance from the second terminal M2 is within a preset distance range.
  • Step 403 Determine whether the first terminal M1 has successfully paid:
  • step 404 is executed, the screen brightness of the first terminal M1 is brightened, the payment is completed, and the first terminal M1 automatically adjusts the backlight to normal brightness to complete the entire payment process.
  • step 405 is performed to adjust the two-dimensional code to an invalid state. If the scanning fails, the first terminal M1 actively invalidates the two-dimensional code for safety.
  • the main process executed by the second terminal M2 is as follows:
  • Step 501 Receive a second input.
  • the second terminal M2 initializes the distance sensor D and the light emitting module L after powering on, and enters the detection state after the distance sensor D is initialized.
  • the light-emitting module L is turned off by default, and the purpose is to reduce power consumption and light pollution.
  • the distance sensor D detects the distance of an object close to the second terminal M2 in real time, and the second terminal M2 enters a ready state for detecting and scanning codes.
  • Step 502 In response to the second input, when the distance between the second terminal M2 and the first terminal M1 is within a preset range, the light emitting module L is activated.
  • Step 503 Scan the two-dimensional code displayed on the screen of the first terminal M1 through the scan window S, and execute the payment process.
  • the payment terminal is the first terminal M1, and the payment terminal is the second terminal M2; and in this example, the graphic code is a two-dimensional code.
  • the main process executed by the first terminal M1 is as follows:
  • step 601 the payment QR code is displayed, and the display brightness of the screen of the first terminal M1 is reduced.
  • Step 602 Monitor the code scanning instruction sent by the second terminal M2 through the near field communication NFC module of the first terminal M1.
  • the first terminal M1 starts to monitor the NFC command, and detects whether it receives a code scanning request command, and if it receives an agreed code scanning request command, it proceeds to step 603. Otherwise, return to step 602 and continue to be in the monitoring state.
  • Step 603 In response to the code scanning instruction, increase the display brightness of the screen of the first terminal M1.
  • the first terminal M1 After the first terminal M1 listens to the NFC instruction of the code scanning request, it immediately adjusts the brightness of the screen of the first terminal M1 to normal brightness, so that the code scanning terminal can recognize the two-dimensional code.
  • the main process executed by the second terminal M2 is as follows:
  • Step 701 Receive a second input.
  • the second terminal M2 initializes the distance sensor D and the light emitting module L after powering on, and enters the detection state after the distance sensor D is initialized.
  • the light-emitting module L is turned off by default, and the purpose is to reduce power consumption and light pollution.
  • the distance sensor D detects the distance of an object close to the second terminal M2 in real time, and the second terminal M2 enters a ready state for detecting and scanning codes.
  • Step 702 In response to the second input, when the distance between the second terminal M2 and the first terminal M1 is within a preset range, the light emitting module L is activated.
  • Step 703 Send a code scanning instruction to the first terminal M1 through the near field communication NFC module of the second terminal M2, and scan the two-dimensional code displayed on the screen of the first terminal M1 to execute the payment process.
  • the second terminal M2 regularly broadcasts a code scanning request command every 0.1 seconds in the production preset.
  • the command adopts a basic command agreed by a certain industry, and its purpose is to notify the NFC receiving module close to the payment terminal to enter the state of preparing to scan the code.
  • the NFC module is used to monitor the NFC instruction sent by the payment terminal, and if the NFC instruction is the scan code instruction, the screen brightness of the first terminal M1 is brightened to display the payment QR code, and In order for the second terminal M to scan the payment QR code to generate a deduction instruction, the first terminal M1 completes the payment according to the deduction instruction. Since the NFC communication must require the communication parties to be very close to each other, this avoids a relatively close payment environment The illegal code scanning device in the remote place scans the QR code to achieve the purpose of safe payment.
  • the terminal 800 is a first terminal 800 and includes:
  • the first receiving module 801 is configured to receive a first input, and the first input is used to instruct to display a graphic code;
  • the graphic code display module 802 is configured to display graphic codes on the screen of the first terminal 800 in response to the first input, and reduce the display brightness of the screen of the first terminal 800;
  • the brightness adjustment module 803 is configured to increase the display brightness of the screen of the first terminal 800 when the distance between the first terminal 800 and the second terminal is within a preset range.
  • the terminal 800 further includes:
  • the payment control module is configured to, after the graphic code is a payment code, and the brightness adjustment module 803 increases the display brightness of the screen of the first terminal 800,
  • the screen brightness of the first terminal 800 is brightened
  • the brightness adjustment module 803 includes:
  • An instruction receiving submodule configured to receive a code scanning instruction sent by the second terminal
  • the brightness adjustment sub-module is configured to increase the display brightness of the screen of the first terminal 800 in response to the code scanning instruction.
  • the indication receiving submodule is used to:
  • the code scanning instruction sent by the second terminal is monitored through the near field communication NFC module of the first terminal 800.
  • the terminal 800 provided by the embodiment of the present disclosure can implement each process implemented by the first terminal 800 in the method embodiments of FIGS. 1 to 8. To avoid repetition, details are not described herein again.
  • the first receiving module 801 receives a first input, and the first input is used to instruct to display a graphic code; the graphic code display module 802 responds to the first input and displays the graphic on the screen of the first terminal 800 The display brightness of the screen of the first terminal 800 is reduced.
  • the screen brightness of the payment terminal 800 is dimmed to automatically set brightness protection, and the graphic code is physically isolated to hide the payment graphic code to avoid The graphic code is stolen by an illegal payment collection device; the brightness adjustment module 803 increases the display brightness of the screen of the first terminal 800 when the distance between the first terminal 800 and the second terminal is within a preset range, It is ensured that within a safe distance from the second terminal, the brightness protection is released, the payment process is completed, and safe payment is realized; the embodiment of the present disclosure solves the problem of hidden security risks in graphics code payment in related technologies.
  • an embodiment of the present disclosure provides a terminal 900.
  • the terminal 900 is a second terminal 900.
  • the terminal 900 is characterized in that the second terminal 900 is provided with a light emitting module, and the terminal 900 includes:
  • the second receiving module 901 is configured to receive a second input
  • the graphic code scanning module 902 is configured to respond to the second input, and when the distance between the second terminal 900 and the first terminal 900 is within a preset range, activate the light-emitting module and scan the first Graphic code displayed on the screen of the terminal 900.
  • the graphic code scanning module 902 includes:
  • the light-emitting control sub-module is configured to turn on the light-emitting module if the distance between the second terminal 900 and the first terminal is within a preset range, and adjust the light-emitting brightness of the light-emitting module to a preset brightness value.
  • the graphic code scanning module 902 includes:
  • the instruction sending sub-module is configured to send a code scanning instruction to the first terminal and scan the graphic code displayed on the screen of the first terminal.
  • the terminal 900 provided by the embodiment of the present disclosure can implement each process implemented by the second terminal 900 in the method embodiments of FIG. 1 to FIG. 8. In order to avoid repetition, details are not described herein again.
  • the second receiving module 901 receives the second input; the graphic code scanning module 902 responds to the second input, and when the distance between the second terminal 900 and the first terminal is within a preset range, Start the light-emitting module and scan the graphic code displayed on the screen of the first terminal. By detecting the distance between the first terminal and the second terminal 900, when the distance is less than the preset distance, the light is emitted.
  • the screen of the first terminal displays the graphic code hidden on the screen of the first terminal, so that when the first terminal presents the payment graphic code, the graphic code can be brightness protected to prevent the graphic code from being stolen by illegal payment collection devices;
  • the second terminal 900 illuminates the screen of the first terminal to complete the payment, complete the payment process, and realize safe payment.
  • FIG. 10 is a schematic diagram of the hardware structure of a terminal for implementing various embodiments of the present disclosure.
  • the terminal 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011 and other parts.
  • a radio frequency unit 1001 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011 and other parts.
  • terminal structure shown in FIG. 10 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange different components.
  • terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the radio frequency unit 1001 is configured to receive a first input, and the first input is used to instruct to display a graphic code;
  • the processor 1010 is configured to respond to the first input, display a graphic code on the screen of the first terminal, and reduce the display brightness of the screen of the first terminal;
  • a first input is received, and the first input is used to instruct to display a graphic code; in response to the first input, the graphic code is displayed on the screen of the first terminal, and the first terminal is turned down
  • the display brightness of the screen when the graphic code is displayed, the brightness protection is automatically set by dimming the screen brightness of the payment terminal, and the graphic code is physically isolated to hide the payment graphic code to prevent the graphic code from being stolen by illegal payment devices; and
  • the distance between the first terminal and the second terminal is within a preset range, increase the display brightness of the screen of the first terminal to ensure that the brightness protection is released within a safe distance from the second terminal, Complete the payment process and realize safe payment.
  • the radio frequency unit 1001 is also used to receive the second input
  • the processor 1010 is further configured to respond to the second input, and when the distance between the second terminal and the first terminal is within a preset range, activate the light-emitting module and scan the screen of the first terminal The graphic code displayed on the display.
  • a second input is received; in response to the second input, when the distance between the second terminal and the first terminal is within a preset range, the light emitting module is activated, and the The graphic code displayed on the screen of the first terminal detects the distance between the first terminal and the second terminal.
  • the screen of the first terminal When the distance is less than the preset distance, the screen of the first terminal is illuminated to display hidden
  • the graphic code on the screen of the first terminal enables the first terminal to perform brightness protection on the graphic code when it shows the payment graphic code to prevent the graphic code from being stolen by illegal payment collection devices; and when the first terminal is close to the second terminal, and When the distance is within the preset distance range, the second terminal will illuminate the screen of the first terminal to complete the payment, complete the payment process, and realize safe payment.
  • the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1010; Uplink data is sent to the base station.
  • the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the terminal 1000 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1003 includes a speaker, a buzzer, and a receiver.
  • the input unit 1004 is used to receive audio or video signals.
  • the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to respond to still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 1006.
  • the image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002.
  • the microphone 10042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode for output.
  • the terminal 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 10061 and/or when the terminal 1000 is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal gestures (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared Sensors, etc., will not be repeated here.
  • the display unit 1006 is used to display information input by the user or information provided to the user.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 1007 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
  • the touch panel 10071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating).
  • the touch panel 10071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1010 receives and executes the command sent by the processor 1010.
  • the touch panel 10071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1007 may also include other input devices 10072.
  • other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 10071 can cover the display panel 10061.
  • the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 10061.
  • the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated Realize the input and output functions of the terminal, the specifics are not limited here.
  • the interface unit 1008 is an interface for connecting an external device with the terminal 1000.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal 1000 or can be used to communicate between the terminal 1000 and the external device. Transfer data between.
  • the memory 1009 can be used to store software programs and various data.
  • the memory 1009 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1010 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. It executes by running or executing software programs and/or modules stored in the memory 1009, and calling data stored in the memory 1009. Various functions of the terminal and processing data, so as to monitor the terminal as a whole.
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the terminal 1000 may also include a power source 1011 (such as a battery) for supplying power to various components.
  • a power source 1011 such as a battery
  • the power source 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the terminal 1000 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal, including a processor 1010, a memory 1009, and a computer program stored on the memory 1009 and capable of running on the processor 1010.
  • a terminal including a processor 1010, a memory 1009, and a computer program stored on the memory 1009 and capable of running on the processor 1010.
  • the computer program is executed by the processor 1010.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned graphic code display and scanning method embodiments is realized, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

一种图形码显示、扫描方法及终端。其中,所述方法应用于第一终端,包括:接收第一输入,所述第一输入用于指示显示图形码(101);响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度(102);在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度(103)。

Description

图形码显示、扫描方法及终端
相关申请的交叉引用
本申请主张在2019年08月26日在中国提交的中国专利申请号No.201910792393.7的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种图形码显示、扫描方法及终端。
背景技术
随着移动通信技术的迅速发展,以智能手机为首的终端已成为人们生活中各方面不可或缺的工具。终端的各种应用程序(Application,APP)的功能也逐渐完善,不再只是单纯地起到通信作用,较多的是为用户提供各种智能化服务,给用户工作、生活带来了极大的便利。
目前,用户使用付款终端(例如移动终端)二维码支付的过程中,用户首先需要在付款终端中显示二维码,然后商家的收款终端通过扫描该二维码进行收款,完成一次支付可能需要几秒钟到几分钟不等。
但是,相关的支付方法存在安全隐患,因为用户显示二维码后,从显示二维码到支付完成的这一段时间内没有采取任何的保护措施,任何收款终端都可能成功的扫描到二维码,并进行非法扣款。例如,付款环境周围可能存在预先放置的非法收款装置,如针孔摄像头可成功扫描二维码并进行非法扣款。
发明内容
本公开提供一种图形码显示、扫描方法及终端,以至少解决相关技术中二维码支付存在安全隐患的技术问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供了一种图形码显示方法,应用于第一终端,所述方法包括:
接收第一输入,所述第一输入用于指示显示图形码;
响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度;
在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度。
第二方面,本公开实施例提供了一种图形码扫描方法,应用于第二终端,所述第二终端设置有发光模块,所述方法包括:
接收第二输入;
响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码。
第三方面,本公开实施例提供了一种终端,所述终端为第一终端,所述终端包括:
第一接收模块,用于接收第一输入,所述第一输入用于指示显示图形码;
图形码显示模块,用于响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度;
亮度调整模块,用于在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度。
第四方面,本公开实施例提供了一种终端,所述终端为第二终端,所述第二终端设置有发光模块,所述终端包括:
第二接收模块,用于接收第二输入;
图形码扫描模块,用于响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码。
第五方面,本公开实施例还提供了一种终端,该终端包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执 行所述计算机程序时实现如上所述的图形码显示方法的步骤或图形码扫描方法的步骤。
第六方面,本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的图形码显示方法的步骤或图形码扫描方法的步骤。
在本公开实施例中,接收第一输入,所述第一输入用于指示显示图形码;响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度,显示图形码时通过调暗付款终端的屏幕亮度,自动设置亮度保护,对图形码进行物理隔绝,以隐藏付款图形码,避免图形码被非法收款装置所窃取;且在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度,确保在与第二终端处于安全距离的范围内,解除亮度保护,完成支付流程,实现安全支付。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开实施例提供的图形码显示方法的流程图;
图2是本公开实施例提供的图形码扫描方法的流程图;
图3是本公开实施例提供的示例的场景示意图;
图4是本公开实施例的第一示例的图形码显示方法的流程图;
图5是本公开实施例的第一示例的图形码扫描方法的流程图;
图6是本公开实施例的第二示例的图形码显示方法的流程图;
图7是本公开实施例的第二示例的图形码扫描方法的流程图;
图8是本公开实施例提供的终端的结构框图之一;
图9是本公开实施例提供的终端的结构框图之二;
图10是本公开实施例提供的终端的结构框图之三。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。
在本公开的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。
图1是本公开一实施例提供的一种图形码显示方法的流程图,可选地,本实施例提供的图形码显示方法的执行主体,可为本公开实施例提供的付款终端,其中,付款终端可以为移动终端,例如智能手机、智能手环等。
如图1所示,所述方法包括以下步骤:
步骤101,接收第一输入,所述第一输入用于指示显示图形码。
其中,第一输入可以根据用户操作生成。例如,用户打开某个付款软件,在输入个人信息并登录后,通过触发支付界面的付款按钮生成第一输入,指示第一终端显示图形码。
可选地,图形码可以是一维码或二维码。
步骤102,响应所述第一输入,在第一终端的屏幕上显示图形码,并 调低所述第一终端的屏幕的显示亮度。
其中,响应所述第一输入,在第一终端的屏幕上显示图形码,同时降低显示亮度;可选地,将屏幕调暗到人眼看不到付款图形码为最佳。具体的,可以通过尝试确定人眼看不到付款图形码时对应的最大亮度阈值,只要将亮度值调整在该最大亮度阈值以下即可,即第一终端在显示图像码时,自动设置亮度保护,对图形码进行物理隔绝,第一时间确保图形码处于安全保护状态,避免第一终端在出示所述图形码时,图形码被非法收款装置所窃取。
步骤103,在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度。
其中,第二终端可以为收款的移动终端,也可以为收款机。
具体的,第一终端在检测到与第二终端的距离在预设范围内时,自动解除亮度保护,使得第二终端可以正常收款;可以理解的是,预设范围内为一非常小的距离范围,比如,设定为距离范围在厘米级别,比如5厘米以内,仅当用户手持第一终端主动靠近第二终端,两者的距离才处于预设范围;此时,将第一终端的显示亮度调高,完成正常付款流程。
作为一种实现方式,第一终端可以设置距离传感器,用于检测与第二终端之间的距离。
本公开实施例中,接收第一输入,所述第一输入用于指示显示图形码;响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度,显示图形码时通过调暗付款终端的屏幕亮度,自动设置亮度保护,对图形码进行物理隔绝,以隐藏付款图形码,避免图形码被非法收款装置所窃取;且在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度,确保在与第二终端处于安全距离的范围内,解除亮度保护,完成支付流程,实现安全支付;本公开实施例解决了相关技术中图形 码支付存在安全隐患的问题。
在一个可选的实施例中,所述图形码为支付码,所述调高所述第一终端屏幕的显示亮度之后,所述方法还包括:
若所述第一终端支付成功,则调亮所述第一终端屏幕亮度;或,
若所述第一终端支付失败,则将所述图形码调整为失效状态。
其中,通过确定所述付款终端是否支付成功,在支付成功后调亮付款终端屏幕亮度,方便用户后续正常使用。若支付失败,则使所述付款图形码无效,进一步避免非法收款终端扫描到该付款图形码造成的非法扣款,实现安全支付。
在一个可选的实施例中,所述调高所述第一终端的屏幕的显示亮度,包括:
接收所述第二终端发送的扫码指示;
响应于所述扫码指示,调高所述第一终端的屏幕的显示亮度。
其中,所述扫码指示用于提示第一终端开始扫码,以使第一终端通过调亮屏幕亮度,解除针对图形码的亮度保护,将之前调暗屏幕亮度隐藏的付款图形码显示出来,便于收款终端扫描所述付款图形码;而通过扫码指示,可进一步对第二终端的身份进行安全确认,仅在接收预设距离范围内的第二终端的扫描指示才解除亮度保护,进一步提升支付的安全系数。
根据所述扫码指示调亮所述付款终端屏幕亮度,以显示所述付款图形码及以使第二终端扫描所述付款图形码生成扣款指令。
在一个可选的实施例中,所述接收所述第二终端发送的扫码指示,包括:
通过所述第一终端的近场通信NFC模块监听所述第二终端发送的扫码指示。
其中,通过所述一终端的NFC(Near Field Communication,近场通信)模块监听第二终端发送的NFC指令。
若所述NFC指令为所述扫码指令,则执行步骤S18,即调亮所述付款 终端屏幕亮度,若所述NFC指令不为所述扫码指令,则继续监听NFC指令。
本实施例中,通过接收第一输入,所述第一输入用于指示显示图形码;响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度,显示图形码时通过调暗付款终端的屏幕亮度,自动设置亮度保护,对图形码进行物理隔绝,以隐藏付款图形码,避免图形码被非法收款装置所窃取;且在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度,确保在与第二终端处于安全距离的范围内,解除亮度保护,完成支付流程,实现安全支付;且通过NFC模块监听第二终端发送的NFC指令,若所述NFC指令为所述扫码指令,则调亮所述付款终端屏幕亮度,以显示所述图形码,及以使第二终端扫描所述图形码生成扣款指令,第二终端根据所述扣款指令完成支付,由于NFC通信必须要求通信双方的距离非常接近,从而避免了支付环境周围较远地方的非法扫码装置扫码到图形码,达到安全支付的目的。
参见图2,图2是本公开又一实施例提供的一种图形码扫描方法的流程图,所述方法应用于第二终端,所述第二终端设置有发光模块,在执行收款操作时,发光模块用于发出光亮,光亮的强度可以调整,以照亮所述付款终端屏幕;
可选地,本实施例提供的图形码扫描方法的执行主体,可为本公开实施例提供的收款终端。如图2所示,所述方法包括以下步骤:
步骤201、接收第二输入;
其中,第二输入用于启动第二终端的收款流程;比如通过扫描图像码收款时,第二输入用于调用图形码扫描的接口,启动扫描流程。
步骤202、响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码。
具体的,第一终端为付款终端;由于第一终端在显示用于付款的图形码时,可能启动的亮度保护,降低了其屏幕的显示亮度;而第二终端中设置发光模块,该发光模块用于发出光亮,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,以照亮所述第一终端屏幕,使第二终端可以扫描所述第一终端的屏幕上显示的图形码,执行收款流程。例如,当第二终端为移动终端时,例如智能手机,该发光模块可以为智能手机上的闪光灯。
此外,若所述第二终端与第一终端的距离在预设范围内,则执行步骤202;否则,则不执行任何操作。
具体的,第二终端照亮第一终端,第一终端显示出付款图形码,第二终端根据显示的图形码生成扣款指令,完成扣款流程。
本公开实施例中,接收第二输入;响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码,通过探测第一终端与第二终端之间的距离,当所述距离小于预设距离,则发出光亮所述第一终端屏幕,以显示隐藏在所述第一终端屏幕上的图形码,使得第一终端在出示付款图形码时,可对图形码进行亮度保护,避免图形码被非法收款装置所窃取;而第一终端接近第二终端时,且距离在预设距离范围内时,第二终端通照亮第一终端的屏幕,完成支付,完成支付流程,实现安全支付;本公开实施例解决了相关技术中图形码支付存在安全隐患的问题。
在一个可选的实施例中,所述在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,包括:
若所述第二终端与第一终端的距离在预设范围内,则开启所述发光模块,将所述发光模块的发光亮度调整至预设亮度值。
其中,第二终端可设置有距离传感器,在第二终端的系统上电后初始化距离传感器以及发光模块,距离传感器初始化后进入侦测状态,实时侦测靠近收款终端的物体的距离。
预设距离可以自定义设置,例如2厘米。
在侦测到与第一终端的距离在预设范围内,启动发光模块,并将所述发光模块的发光亮度调整至预设亮度值,以照亮所述第一终端屏幕,使第二终端可以扫描所述第一终端的屏幕上显示的图形码,执行收款流程。
此外,在收款终端中设置发光模块,并使发光模块处于关闭状态,只有在满足触发条件即距离小于预设距离时再开启,这样可以减少电量损耗和光污染,延长第二终端的电池的续航时间。
在一个可选的实施例中,所述扫描所述第一终端的屏幕上显示的图形码的步骤,包括:
向所述第一终端发送扫码指示,并扫描所述第一终端的屏幕上显示的图形码。
其中,所述扫码指示用于提示第一终端开始扫码,以使第一终端通过调亮屏幕亮度,解除针对图形码的亮度保护,将之前调暗屏幕亮度隐藏的付款图形码显示出来,便于收款终端扫描所述付款图形码。通过向第一终端发送扫码指示,可以避免非法收款终端扫描到该付款图形码进行非法扣款。
在一个可选的实施例中,所述向所述第一终端发送扫码指示,包括:
通过所述第二终端的近场通信NFC模块向所述第一终端发送扫码指示。
其中,通过所述第二终端的NFC模块向所述第一终端发送扫码指示,以使所述第一终端的NFC模块监听所述扫码指示,并调亮所述屏幕亮度;由于NFC通信必须要求通信双方的距离非常接近,从而避免了支付环境周围较远地方的非法扫码装置扫码到图形码,达到安全支付的目的。
具体的,可在第二终端和第一终端中均设置NFC模块。第二终端 准备进入收款时,首先初始化NFC模块,使得NFC模块进入工作模式,即定时(例如,每隔0.1s)发出NFC指令,该NFC指令用于通知靠近第一终端的NFC模块进入准备扫码的状态。
本公开实施例中,接收第二输入;响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码,通过探测第一终端与第二终端之间的距离,当所述距离小于预设距离,则发出光亮所述第一终端屏幕,以显示隐藏在所述第一终端屏幕上的图形码,使得第一终端在出示付款图形码时,可对图形码进行亮度保护,避免图形码被非法收款装置所窃取;而第一终端接近第二终端时,且距离在预设距离范围内时,第二终端通照亮第一终端的屏幕,完成支付,完成支付流程,实现安全支付。
作为第一示例,参见图3,图3示出了本公开实施例中提供的图形码显示方法与扫描方法的应用场景示意图;其中,付款终端为第一终端M1,收款终端为第二终端M2;且本示例中,图形码为二维码。
参见图4,第一终端M1执行的主要流程如下:
步骤401,显示付款二维码,并调低所述第一终端M0的屏幕的显示亮度。
其中,初始状态第一终端位于图3中M0所示位置处。
第一终端M0检测到完成身份验证后,立即将屏幕亮度调节到最暗,同时将二维码展示在屏幕上。由于此时屏幕亮度已经最暗,因此肉眼上无法看到二维码,二维码进入被保护状态。
步骤402,在所述第一终端与第二终端M2的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度。
其中,第一终端由M0移动到M1,与第二终端M2的距离处于预设距离范围内。
步骤403,判断所述第一终端M1是否支付成功:
若所述第一终端M1支付成功,则执行步骤404,调亮所述第一终端 M1屏幕亮度,完成支付,第一终端M1自动将背光调节到正常亮度,完成整个付款流程。
若所述第一终端M1支付失败,则执行步骤405,将所述二维码调整为失效状态,如果扫码失败,为了安全,第一终端M1主动将二维码失效。
参见图5,第二终端M2执行的主要流程如下:
步骤501,接收第二输入。
其中,第二终端M2开机后初始化距离传感器D以及发光模块L,距离传感器D初始化后进入侦测状态。发光模块L默认处于关闭状态,目的是减少电量损耗和光污染。距离传感器D实时侦测靠近第二终端M2的物体的距离,第二终端M2进入侦测扫码的预备状态中。
步骤502,响应所述第二输入,在所述第二终端M2与第一终端M1的距离在预设范围内的情况下,启动所述发光模块L。
步骤503,通过扫描窗口S扫描所述第一终端M1的屏幕上显示的二维码,执行收款流程。
上述示例中,通过调暗付款终端的屏幕亮度,以隐藏付款二维码,并接收收款终端发送的扣款指令,根据所述扣款指令完成支付,可以避免非法收款终端扫描到该付款二维码造成的非法扣款,达到安全支付的目的。
作为第二示例,仍然参见图3,付款终端为第一终端M1,收款终端为第二终端M2;且本示例中,图形码为二维码。
参见图6,第一终端M1执行的主要流程如下:
步骤601,显示付款二维码,并调低所述第一终端M1的屏幕的显示亮度。
步骤602,通过所述第一终端M1的近场通信NFC模块监听所述第二终端M2发送的扫码指示。
第一终端M1开启监听NFC指令,并检测是否收到扫码请求指令, 如果收到约定的扫码请求指令,则进入步骤603。否则返回步骤602,继续处于监听状态。
步骤603,响应于所述扫码指示,调高所述第一终端M1的屏幕的显示亮度。
第一终端M1监听到扫码请求的NFC指令后,立即将第一终端M1屏幕亮度调节到正常亮度,以便扫码终端可以识别二维码。
参见图7,第二终端M2执行的主要流程如下:
步骤701,接收第二输入。
其中,第二终端M2开机后初始化距离传感器D以及发光模块L,距离传感器D初始化后进入侦测状态。发光模块L默认处于关闭状态,目的是减少电量损耗和光污染。距离传感器D实时侦测靠近第二终端M2的物体的距离,第二终端M2进入侦测扫码的预备状态中。
步骤702,响应所述第二输入,在所述第二终端M2与第一终端M1的距离在预设范围内的情况下,启动所述发光模块L。
步骤703,通过所述第二终端M2的近场通信NFC模块向所述第一终端M1发送扫码指示,并扫描所述第一终端M1的屏幕上显示的二维码,执行收款流程。
第二终端M2定时,出产预置每0.1秒广播一条扫码请求指令,该指令采用某个行业约定的基本指令,其目的是为了通知靠近付款终端的NFC接收模块进入准备扫码的状态。
上述示例中,通过NFC模块监听收款终端发送的NFC指令,若所述NFC指令为所述扫码指令,则调亮所述第一终端M1屏幕亮度,以显示所述付款二维码,及以使第二终端M扫描所述付款二维码生成扣款指令,第一终端M1根据所述扣款指令完成支付,由于NFC通信必须要求通信双方的距离非常接近,从而避免了支付环境周围较远地方的非法扫码装置扫码到二维码,达到安全支付的目的。
以上介绍了本公开实施例提供的图形码显示、扫描方法,下面将结合 附图介绍本公开实施例提供的终端。
参见图8,本公开实施例提供一种终端800,所述终端800为第一终端800,包括:
第一接收模块801,用于接收第一输入,所述第一输入用于指示显示图形码;
图形码显示模块802,用于响应所述第一输入,在第一终端800的屏幕上显示图形码,并调低所述第一终端800的屏幕的显示亮度;
亮度调整模块803,用于在所述第一终端800与第二终端的距离在预设范围内的情况下,调高所述第一终端800的屏幕的显示亮度。
可选地,本公开实施例中,所述终端800还包括:
支付控制模块,用于在所述图形码为支付码,所述亮度调整模块803调高所述第一终端800屏幕的显示亮度之后,
若所述第一终端800支付成功,则调亮所述第一终端800屏幕亮度;或,
若所述第一终端800支付失败,则将所述图形码调整为失效状态。
可选地,本公开实施例中,所述亮度调整模块803包括:
指示接收子模块,用于接收所述第二终端发送的扫码指示;
亮度调整子模块,用于响应于所述扫码指示,调高所述第一终端800的屏幕的显示亮度。
可选地,本公开实施例中,所述指示接收子模块用于:
通过所述第一终端800的近场通信NFC模块监听所述第二终端发送的扫码指示。
本公开实施例提供的终端800能够实现图1至图8的方法实施例中第一终端800实现的各个过程,为避免重复,这里不再赘述。
本公开实施例中,第一接收模块801接收第一输入,所述第一输入用于指示显示图形码;图形码显示模块802响应所述第一输入,在第一终端800的屏幕上显示图形码,并调低所述第一终端800的屏幕 的显示亮度,显示图形码时通过调暗付款终端800的屏幕亮度,自动设置亮度保护,对图形码进行物理隔绝,以隐藏付款图形码,避免图形码被非法收款装置所窃取;亮度调整模块803在所述第一终端800与第二终端的距离在预设范围内的情况下,调高所述第一终端800的屏幕的显示亮度,确保在与第二终端处于安全距离的范围内,解除亮度保护,完成支付流程,实现安全支付;本公开实施例解决了相关技术中图形码支付存在安全隐患的问题。
参见图9,本公开实施例提供一种终端900,所述终端900为第二终端900,其特征在于,所述第二终端900设置有发光模块,所述终端900包括:
第二接收模块901,用于接收第二输入;
图形码扫描模块902,用于响应所述第二输入,在所述第二终端900与第一终端900的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端900的屏幕上显示的图形码。
可选地,本公开实施例中,所述图形码扫描模块902包括:
发光控制子模块,用于若所述第二终端900与第一终端的距离在预设范围内,则开启所述发光模块,将所述发光模块的发光亮度调整至预设亮度值。
可选地,本公开实施例中,所述图形码扫描模块902包括:
指示发送子模块,用于向所述第一终端发送扫码指示,并扫描所述第一终端的屏幕上显示的图形码。
本公开实施例提供的终端900能够实现图1至图8的方法实施例中第二终端900实现的各个过程,为避免重复,这里不再赘述。
本公开实施例中,第二接收模块901接收第二输入;图形码扫描模块902响应所述第二输入,在所述第二终端900与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码,通过探测第一终端与第二终端900之间的距离,当所述距离小于预设距离,则发出光亮所述第一终端屏幕,以显示隐藏在所述第一终端屏 幕上的图形码,使得第一终端在出示付款图形码时,可对图形码进行亮度保护,避免图形码被非法收款装置所窃取;而第一终端接近第二终端900时,且距离在预设距离范围内时,第二终端900通照亮第一终端的屏幕,完成支付,完成支付流程,实现安全支付。
图10为实现本公开各个实施例的一种终端的硬件结构示意图;
该终端1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,射频单元1001,用于接收第一输入,所述第一输入用于指示显示图形码;
处理器1010,用于响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度;
在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度。
本公开的实施例中,接收第一输入,所述第一输入用于指示显示图形码;响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度,显示图形码时通过调暗付款终端的屏幕亮度,自动设置亮度保护,对图形码进行物理隔绝,以隐藏付款图形码,避免图形码被非法收款装置所窃取;且在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度,确保在与第二终端处于安全距离的范围内,解除亮度保护,完成支付流程,实现安全支付。
其中,射频单元1001,还用于接收第二输入;
处理器1010,还用于响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码。
本公开的实施例中,接收第二输入;响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码,通过探测第一终端与第二终端之间的距离,当所述距离小于预设距离,则发出光亮所述第一终端屏幕,以显示隐藏在所述第一终端屏幕上的图形码,使得第一终端在出示付款图形码时,可对图形码进行亮度保护,避免图形码被非法收款装置所窃取;而第一终端接近第二终端时,且距离在预设距离范围内时,第二终端通照亮第一终端的屏幕,完成支付,完成支付流程,实现安全支付。
需要说明的是,本实施例中上述终端1000可以实现本公开实施例中方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,此处不再赘述。
应理解的是,本公开实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。
终端通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与终端1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003 包括扬声器、蜂鸣器以及受话器等。
输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。
终端1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在终端1000移动到耳边时,关闭显示面板10061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。
用户输入单元1007可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输 入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现终端的输入和输出功能,具体此处不做限定。
接口单元1008为外部装置与终端1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端1000内的一个或多个元件或者可以用于在终端1000和外部装置之间传输数据。
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要 包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器1010是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器1010可包括一个或多个处理单元;可选地,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
终端1000还可以包括给各个部件供电的电源1011(比如电池),可选地,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端1000包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种终端,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述图形码显示、扫描方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图形码显示、扫描方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如 只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (14)

  1. 一种图形码显示方法,应用于第一终端,包括:
    接收第一输入,所述第一输入用于指示显示图形码;
    响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度;
    在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度。
  2. 根据权利要求1所述的图形码显示方法,其中,所述图形码为支付码,所述调高所述第一终端屏幕的显示亮度之后,所述方法还包括:
    若所述第一终端支付成功,则调亮所述第一终端屏幕亮度;或,
    若所述第一终端支付失败,则将所述图形码调整为失效状态。
  3. 根据权利要求1所述的图形码显示方法,其中,所述调高所述第一终端的屏幕的显示亮度,包括:
    接收所述第二终端发送的扫码指示;
    响应于所述扫码指示,调高所述第一终端的屏幕的显示亮度。
  4. 根据权利要求3所述的图形码显示方法,其中,所述接收所述第二终端发送的扫码指示,包括:
    通过所述第一终端的近场通信NFC模块监听所述第二终端发送的扫码指示。
  5. 一种图形码扫描方法,应用于第二终端,所述第二终端设置有发光模块,所述方法包括:
    接收第二输入;
    响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码。
  6. 根据权利要求5所述的图形码扫描方法,其中,所述在所述第 二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,包括:
    若所述第二终端与第一终端的距离在预设范围内,则开启所述发光模块,将所述发光模块的发光亮度调整至预设亮度值。
  7. 根据权利要求5所述的图形码扫描方法,其中,所述扫描所述第一终端的屏幕上显示的图形码的步骤,包括:
    向所述第一终端发送扫码指示,并扫描所述第一终端的屏幕上显示的图形码。
  8. 根据权利要求7所述的图形码扫描方法,其中,所述向所述第一终端发送扫码指示,包括:
    通过所述第二终端的近场通信NFC模块向所述第一终端发送扫码指示。
  9. 一种终端,所述终端为第一终端,包括:
    第一接收模块,用于接收第一输入,所述第一输入用于指示显示图形码;
    图形码显示模块,用于响应所述第一输入,在第一终端的屏幕上显示图形码,并调低所述第一终端的屏幕的显示亮度;
    亮度调整模块,用于在所述第一终端与第二终端的距离在预设范围内的情况下,调高所述第一终端的屏幕的显示亮度。
  10. 根据权利要求9所述的终端,其中,所述终端还包括:
    支付控制模块,用于在所述图形码为支付码,所述亮度调整模块调高所述第一终端屏幕的显示亮度之后,
    若所述第一终端支付成功,则调亮所述第一终端屏幕亮度;或,
    若所述第一终端支付失败,则将所述图形码调整为失效状态。
  11. 根据权利要求9所述的终端,其中,所述亮度调整模块包括:
    指示接收子模块,用于接收所述第二终端发送的扫码指示;
    亮度调整子模块,用于响应于所述扫码指示,调高所述第一终端的屏 幕的显示亮度。
  12. 一种终端,所述终端为第二终端,所述第二终端设置有发光模块,所述终端包括:
    第二接收模块,用于接收第二输入;
    图形码扫描模块,用于响应所述第二输入,在所述第二终端与第一终端的距离在预设范围内的情况下,启动所述发光模块,并扫描所述第一终端的屏幕上显示的图形码。
  13. 一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至4中任一项所述的图形码显示方法的步骤或如权利要求5至8中任一项所述的图形码扫描方法的步骤。
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的图形码显示方法的步骤或如权利要求5至8中任一项所述的图形码扫描方法的步骤。
PCT/CN2020/100920 2019-08-26 2020-07-08 图形码显示、扫描方法及终端 WO2021036530A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910792393.7 2019-08-26
CN201910792393.7A CN110532820B (zh) 2019-08-26 2019-08-26 图形码显示、扫描方法及终端

Publications (1)

Publication Number Publication Date
WO2021036530A1 true WO2021036530A1 (zh) 2021-03-04

Family

ID=68664285

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/100920 WO2021036530A1 (zh) 2019-08-26 2020-07-08 图形码显示、扫描方法及终端

Country Status (2)

Country Link
CN (1) CN110532820B (zh)
WO (1) WO2021036530A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532820B (zh) * 2019-08-26 2021-03-16 维沃移动通信有限公司 图形码显示、扫描方法及终端
CN112508569B (zh) * 2020-12-14 2023-09-29 深圳市快付通金融网络科技服务有限公司 支付环境监控方法及系统
CN114666688A (zh) * 2022-02-21 2022-06-24 浙江恒科实业有限公司 人体感应提示播报盒
CN115113961A (zh) * 2022-06-02 2022-09-27 腾讯科技(深圳)有限公司 用户界面的显示方法、装置、设备及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9589217B2 (en) * 2014-07-09 2017-03-07 Xeroc Corporation Augmenting barcodes with secondary encoding for anti-counterfeiting
CN109033911A (zh) * 2018-07-04 2018-12-18 青岛海信移动通信技术股份有限公司 一种图形条码的扫描方法、装置、移动终端和存储介质
CN109067995A (zh) * 2018-08-28 2018-12-21 努比亚技术有限公司 一种亮度调节方法、移动终端及计算机可读存储介质
CN109544139A (zh) * 2018-11-26 2019-03-29 努比亚技术有限公司 一种支付方法、终端及可读存储介质
CN109756621A (zh) * 2018-12-25 2019-05-14 维沃移动通信有限公司 一种二维码显示方法及终端设备
CN110532820A (zh) * 2019-08-26 2019-12-03 维沃移动通信有限公司 图形码显示、扫描方法及终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3800842B2 (ja) * 1998-12-28 2006-07-26 スズキ株式会社 三次元形状を計測する方法および装置並びに三次元形状計測用プログラムを記憶した記憶媒体
CN103218965B (zh) * 2013-03-25 2016-05-18 北京邮电大学 二维码智能显示装置
CN105654634A (zh) * 2015-12-30 2016-06-08 福建联迪商用设备有限公司 移动终端支付方法
CN107133791B (zh) * 2017-04-14 2021-04-20 广州市智专信息科技有限公司 一种显示屏支付方法及相应的手机、收银系统
CN107451811A (zh) * 2017-07-11 2017-12-08 任飞翔 一种超市支付系统和方法
CN108399348A (zh) * 2018-04-02 2018-08-14 惠安县冠威机械设备有限公司 一种具有自动调节功能的智能型移动扫码支付装置
CN109271824B (zh) * 2018-08-31 2021-07-09 出门问问信息科技有限公司 一种识别二维码图像的方法及装置
CN109697494A (zh) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 一种图形码显示方法及终端设备
CN109801067A (zh) * 2019-01-04 2019-05-24 Oppo(重庆)智能科技有限公司 终端控制方法、装置、终端及存储介质
CN110009330A (zh) * 2019-02-02 2019-07-12 阿里巴巴集团控股有限公司 支付方法以及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9589217B2 (en) * 2014-07-09 2017-03-07 Xeroc Corporation Augmenting barcodes with secondary encoding for anti-counterfeiting
CN109033911A (zh) * 2018-07-04 2018-12-18 青岛海信移动通信技术股份有限公司 一种图形条码的扫描方法、装置、移动终端和存储介质
CN109067995A (zh) * 2018-08-28 2018-12-21 努比亚技术有限公司 一种亮度调节方法、移动终端及计算机可读存储介质
CN109544139A (zh) * 2018-11-26 2019-03-29 努比亚技术有限公司 一种支付方法、终端及可读存储介质
CN109756621A (zh) * 2018-12-25 2019-05-14 维沃移动通信有限公司 一种二维码显示方法及终端设备
CN110532820A (zh) * 2019-08-26 2019-12-03 维沃移动通信有限公司 图形码显示、扫描方法及终端

Also Published As

Publication number Publication date
CN110532820A (zh) 2019-12-03
CN110532820B (zh) 2021-03-16

Similar Documents

Publication Publication Date Title
US20210027037A1 (en) Fingerprint recognition method and mobile terminal
WO2021036530A1 (zh) 图形码显示、扫描方法及终端
US11429248B2 (en) Unread message prompt method and mobile terminal
CN108629171B (zh) 一种未读消息处理方法及终端
CN107645609B (zh) 一种亮度调节方法及移动终端
WO2019184946A1 (zh) 人脸识别控制方法及移动终端
CN106548144B (zh) 一种虹膜信息的处理方法、装置及移动终端
WO2020199987A1 (zh) 信息显示方法及移动终端
CN109753350B (zh) 一种资源管理方法及终端设备
CN109257505B (zh) 一种屏幕控制方法及移动终端
CN108710833B (zh) 一种用户身份的认证方法、移动终端
CN109544172B (zh) 一种显示方法及终端设备
WO2020156444A1 (zh) 电子设备及其控制方法
US20220360709A1 (en) Mobile terminal, shooting mode detection method, and storage medium
CN109257497B (zh) 护眼模式的开启控制方法、可折叠双面屏终端及存储介质
CN108460599B (zh) 一种移动支付方法及移动终端
CN110837328B (zh) 一种显示方法及电子设备
CN108038360B (zh) 一种运行模式的切换方法及移动终端
CN111176513B (zh) 一种控制方法及电子设备
KR102497444B1 (ko) 대상 인식 방법 및 이동 단말
CN110519443B (zh) 一种亮屏方法及移动终端
CN108196663B (zh) 一种人脸识别方法、移动终端
CN110490583B (zh) 支付方法及终端设备
CN109164951B (zh) 移动终端操作方法及移动终端
CN108734001B (zh) 一种用户身份的认证方法、移动终端

Legal Events

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

Ref document number: 20856046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20856046

Country of ref document: EP

Kind code of ref document: A1