CN107943524B - Terminal device, control method thereof, computer device, and readable storage medium thereof - Google Patents

Terminal device, control method thereof, computer device, and readable storage medium thereof Download PDF

Info

Publication number
CN107943524B
CN107943524B CN201711140703.4A CN201711140703A CN107943524B CN 107943524 B CN107943524 B CN 107943524B CN 201711140703 A CN201711140703 A CN 201711140703A CN 107943524 B CN107943524 B CN 107943524B
Authority
CN
China
Prior art keywords
code information
screen
dimension code
terminal device
dimensional code
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
CN201711140703.4A
Other languages
Chinese (zh)
Other versions
CN107943524A (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711140703.4A priority Critical patent/CN107943524B/en
Publication of CN107943524A publication Critical patent/CN107943524A/en
Application granted granted Critical
Publication of CN107943524B publication Critical patent/CN107943524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10881Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices constructional details of hand-held scanners

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a terminal device and a control method thereof, a computer device and a readable storage medium thereof, wherein the control method of the terminal device comprises the following steps: acquiring two-dimensional code information in a screen extinguishing state; after the two-dimension code information is obtained, analyzing the two-dimension code information; after the two-dimensional code information is acquired, controlling the screen of the terminal equipment to light; and displaying the corresponding functional interface according to the analysis result of the two-dimension code information. According to the invention, the two-dimension code information is directly acquired in the screen-off state, and the function interface corresponding to the two-dimension code information is displayed after the two-dimension code information is analyzed, so that the rapidity and convenience of the two-dimension code acquisition operation are improved, the complicated process that the mobile phone screen needs to be lightened, and the two-dimension code can be scanned to enter the corresponding function interface after the scanning function is found is avoided, and the user operation is greatly facilitated.

Description

Terminal device, control method thereof, computer device, and readable storage medium thereof
Technical Field
The invention belongs to the technical field of intelligent equipment, and particularly relates to a control method of terminal equipment, the terminal equipment, computer equipment and a computer-readable storage medium.
Background
At present, payment, friend adding, public interface entering and the like are more and more generalized in the market through two-dimension code scanning. Current terminal equipment, for example cell-phone, IPAD etc. when carrying out the two-dimensional code scanning, all need light the screen after, find corresponding two-dimensional code scanning APP or two-dimensional code scanning function key and just can open the camera and carry out the two-dimensional code scanning, user time is wasted, and the operation is inconvenient.
Disclosure of Invention
The present invention is directed to solving one of the technical problems of the prior art.
To this end, a first aspect of the present invention proposes a control method of a terminal device.
A second aspect of the present invention proposes a terminal device.
A third aspect of the invention provides a computer apparatus.
A fourth aspect of the invention is directed to a computer-readable storage medium.
In view of this, a first aspect of the present invention provides a method for controlling a terminal device, including: acquiring two-dimensional code information in a screen extinguishing state; after the two-dimension code information is obtained, analyzing the two-dimension code information; after the two-dimensional code information is acquired, controlling the screen of the terminal equipment to light; and displaying the corresponding functional interface according to the analysis result of the two-dimension code information.
According to the invention, the two-dimension code information is directly acquired in the screen-off state and is analyzed, and then the control terminal screen displays the corresponding function interface according to the analysis result of the two-dimension code information, so that the rapidity and convenience of the two-dimension code acquisition operation are improved, the complicated process that the mobile phone screen needs to be lightened, and the two-dimension code scanning can be carried out after the scanning function is found to enter the corresponding function interface is avoided, the user operation is greatly facilitated, and the user operation time is saved. Specifically, in the screen-off state, the two-dimensional code image can be directly acquired through a camera of the terminal device to acquire the two-dimensional code information, and the two-dimensional code information transmitted by other devices can also be directly acquired; after the two-dimension code information is acquired, the two-dimension code information can be analyzed firstly, the screen of the terminal equipment can be controlled to be lightened firstly, and the screen of the terminal equipment can be controlled to be lightened while the two-dimension code information is analyzed; and finally, the control screen displays the corresponding functional interface according to the analysis result of the two-dimension code information. The operation is convenient and quick, and the time for scanning the two-dimensional code is greatly saved.
In addition, the control method for the terminal device in the above technical solution provided by the present invention may further have the following additional technical features:
in the above technical solution, preferably, in the screen-off state, the acquiring of the two-dimensional code information specifically includes: in the screen off state, after receiving an acquisition instruction, starting a camera of the terminal equipment to acquire images; and when the two-dimensional code image is acquired, acquiring the two-dimensional code information corresponding to the two-dimensional code image.
In the technical scheme, in the screen-off state, after an acquisition instruction is received, the camera of the terminal equipment is triggered to acquire images, so that the situation that the camera of the terminal equipment is always kept in an on state to waste electric power and interfere with the confidentiality of the surrounding environment in the screen-off state is avoided; on the other hand, when the user needs to scan the two-dimensional code, the user can directly trigger the acquisition instruction without lighting the screen and then searching for a scanning function.
In any of the above technical solutions, preferably, in the screen-off state, before the step of starting the camera of the terminal device for image acquisition after receiving the acquisition instruction, the method further includes: generating the acquisition instruction when a fingerprint verification request is received; or generating an acquisition instruction when detecting that a key of the terminal equipment is triggered; or when the screen of the terminal equipment is detected to be knocked, generating a collecting instruction; or generating a collection instruction when the preset change of the movement track of the terminal equipment is detected.
In the technical scheme, each state for triggering the generation of the acquisition instruction is introduced in detail. In the screen off state, when a finger of a user triggers a fingerprint verification area, an acquisition instruction is directly generated to start a camera; the camera can be triggered to be started when a user triggers a key of the terminal device, such as a volume key; the camera can be triggered to be opened by triggering the generation of the acquisition instruction when the user taps the screen, for example, double-tapping or pressing the preset time, and the camera can also be triggered to be opened by generating the acquisition instruction after shaking the terminal device according to the preset track. The operation is convenient, and the time for scanning the two-dimensional code is saved. Of course, the above are only specific examples, and the operations of triggering the camera to turn on in the screen-off state all belong to the scope defined in the present application, and the above operations may act on the terminal device independently or may act on the terminal device in combination.
In any of the above technical solutions, preferably, the displaying of the corresponding functional interface according to the analysis result of the two-dimensional code information specifically includes: displaying a preset unlocking interface after the screen is lightened; and after the unlocking interface is unlocked, displaying the corresponding functional interface according to the analysis result of the two-dimensional code information.
In the technical scheme, after the two-dimension code is analyzed, when the user presets the unlocking interface, the terminal screen can display the unlocking interface firstly, and after the user unlocks, the corresponding functional interface is displayed according to the analysis result of the two-dimension code information. The use safety of the terminal equipment is improved.
In any of the above technical solutions, preferably, the displaying of the corresponding functional interface according to the analysis result of the two-dimensional code information specifically includes: judging whether a functional interface corresponding to the analysis result of the two-dimension code information is a payment interface or not; and when the judgment result is yes, the preset unlocking interface is cancelled, and the corresponding functional interface is displayed directly according to the analysis result of the two-dimensional code information after the screen of the control terminal device is lightened.
In the technical scheme, after the two-dimension code information is analyzed, whether the analyzed result corresponds to a payment interface is judged, if the judged result is yes, if a contact interface is preset by a user, the preset unlocking interface is directly cancelled, and a control screen is lighted up to directly display a function interface corresponding to the two-dimension code information. The user can input the password or perform fingerprint payment and the like directly aiming at the functional interface, and the payment password or the fingerprint verification is required to be input during payment, so that additional screen unlocking is not required, and the two-dimensional code payment operation is simplified.
A second aspect of the present invention provides a terminal device, configured to execute the method for controlling the terminal device according to any one of the above technical solutions, where the terminal device includes: the acquisition module is used for acquiring the two-dimension code information in the screen extinguishing state; the analysis module is used for analyzing the two-dimension code information after the two-dimension code information is obtained; the control module is used for controlling the screen of the terminal equipment to light up after the two-dimensional code information is acquired; and the display module is used for displaying the corresponding functional interface according to the analysis result of the two-dimension code information.
According to the terminal equipment provided by the invention, the two-dimension code information is directly acquired by the acquisition module in the screen-off state, and after the two-dimension code information is analyzed by the analysis module, the terminal screen is controlled by the control module to display the corresponding function interface according to the analysis result of the two-dimension code information, so that the rapidity and convenience of two-dimension code acquisition operation are improved, the complicated process that the mobile phone screen needs to be lightened, and the two-dimension code can be scanned to enter the corresponding function interface after the scanning function is found is avoided, the user operation is greatly facilitated, and the user operation time is saved. Specifically, in the screen-off state, the acquisition module may directly acquire the two-dimensional code image through a camera of the terminal device to acquire the two-dimensional code information, or may directly acquire the two-dimensional code information transmitted from other devices; after the two-dimension code information is acquired, the two-dimension code information can be analyzed firstly, the screen of the terminal equipment can be controlled to be lightened firstly, and the screen of the terminal equipment can be controlled to be lightened while the two-dimension code information is analyzed; and finally, the control screen displays the corresponding functional interface according to the analysis result of the two-dimension code information. The operation is convenient and quick, and the time for scanning the two-dimensional code is greatly saved.
In the above technical solution, preferably, the obtaining module specifically includes: the execution module is used for starting a camera of the terminal equipment for image acquisition after receiving an acquisition instruction in a screen-off state; and the acquisition submodule is used for acquiring the two-dimensional code information corresponding to the two-dimensional code image when the two-dimensional code image is acquired.
In the technical scheme, in the screen-off state, the acquisition sub-module triggers the camera of the terminal equipment to acquire images after receiving an acquisition instruction, so that the problem that the camera of the terminal equipment always keeps an on state to waste electric power and interfere with the confidentiality condition of the surrounding environment in the screen-off state is avoided; on the other hand, when the user needs to scan the two-dimensional code, the user can directly trigger the acquisition instruction without lighting the screen and then searching for a scanning function.
In any one of the above technical solutions, preferably, the terminal device further includes: the generating module is used for generating an acquisition instruction when a fingerprint verification request is received; or generating an acquisition instruction when detecting that the key of the terminal equipment is triggered; or generating a collecting instruction when the screen of the terminal device is detected to be knocked; or generating a collection instruction when the preset change of the movement track of the terminal equipment is detected.
In the technical scheme, in the screen extinguishing state, the generation module can directly generate an acquisition instruction to start the camera when a finger of a user triggers a fingerprint verification area; the generation module can also trigger the starting of the camera when a user triggers a key of the terminal device, such as a volume key; the generation module can also trigger the generation of an acquisition instruction to further trigger the camera to be started when a user taps the screen, for example, double-tapping or pressing for a preset time; the generation module can also generate an acquisition instruction to trigger the starting of the camera after shaking the terminal equipment according to a preset track. The operation is convenient, and the time for scanning the two-dimensional code is saved.
In any of the above technical solutions, preferably, the display module is specifically configured to display a preset unlocking interface after the screen is lighted up; and after the unlocking interface is unlocked, displaying the corresponding functional interface according to the analysis result of the two-dimensional code information.
In the technical scheme, after the two-dimension code is analyzed, when the user presets the unlocking interface, the display module can display the unlocking interface firstly, and then display the corresponding functional interface according to the analysis result of the two-dimension code information after the user unlocks. The use safety of the terminal equipment is improved.
In any of the above technical solutions, preferably, the display module is specifically configured to determine whether a function interface corresponding to an analysis result of the two-dimensional code information is a payment interface; and when the judgment result is yes, the preset unlocking interface is cancelled, and the corresponding functional interface is displayed directly according to the analysis result of the two-dimensional code information after the screen of the control terminal device is lightened.
In the technical scheme, after the two-dimension code information is analyzed, whether the analyzed result corresponds to a payment interface is judged, if the judged result is yes, if a contact interface is preset by a user, the preset unlocking interface is directly cancelled, and a control screen is lighted up to directly display a function interface corresponding to the two-dimension code information. The user can input the password or perform fingerprint payment and the like directly aiming at the functional interface, and the payment password or the fingerprint verification is required to be input during payment, so that additional screen unlocking is not required, and the two-dimensional code payment operation is simplified.
A third aspect of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method for controlling a terminal device according to any one of the above technical solutions is implemented. Therefore, the computer device has all the advantages of the control method of the terminal device according to any one of the above technical solutions.
A fourth aspect of the present invention proposes a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the method of controlling a terminal device according to any one of the above-mentioned technical solutions. Therefore, the computer-readable storage medium has all the advantages of the control method of the terminal device according to any one of the above technical solutions.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows a flowchart of a control method of a terminal device of a first embodiment of the present invention;
fig. 2 shows a flowchart of a control method of a terminal device of a second embodiment of the present invention;
fig. 3 shows a flowchart of a control method of a terminal device of a third embodiment of the present invention;
fig. 4 shows a flowchart of a control method of a terminal device of a fourth embodiment of the present invention;
fig. 5 shows a flowchart of a control method of a terminal device of a fifth embodiment of the present invention;
fig. 6 shows a flowchart of a control method of a terminal device of a sixth embodiment of the present invention;
fig. 7 shows a block diagram of a terminal device of the first embodiment of the present invention;
fig. 8 shows a block diagram of a terminal device of a second embodiment of the present invention;
fig. 9 shows a block diagram of a terminal device of a third embodiment of the present invention;
fig. 10 shows a block diagram of a terminal device of a fourth embodiment of the present invention;
fig. 11 shows a block diagram of a terminal device of a fifth embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
A control method of a terminal device according to an embodiment of the first aspect of the present invention is described below with reference to fig. 1 to 6.
As shown in fig. 1, a flowchart of a control method of a terminal device according to a first embodiment of the present invention includes the following steps:
s102, acquiring two-dimension code information in a screen extinguishing state;
step S104, after the two-dimension code information is obtained, analyzing the two-dimension code information;
step S106, after the two-dimension code information is obtained, controlling the screen of the terminal equipment to light up;
and S108, displaying a corresponding functional interface according to the analysis result of the two-dimensional code information.
According to the invention, the two-dimension code information is directly acquired in the screen-off state and is analyzed, and then the control terminal screen displays the corresponding function interface according to the analysis result of the two-dimension code information, so that the rapidity and convenience of the two-dimension code acquisition operation are improved, the complicated process that the mobile phone screen needs to be lightened, and the two-dimension code scanning can be carried out after the scanning function is found to enter the corresponding function interface is avoided, the user operation is greatly facilitated, and the user operation time is saved. Specifically, in the screen-off state, the two-dimensional code image can be directly acquired through a camera of the terminal device to acquire the two-dimensional code information, and the two-dimensional code information transmitted by other devices can also be directly acquired; after the two-dimension code information is acquired, the two-dimension code information can be analyzed firstly, the screen of the terminal equipment can be controlled to be lightened firstly, and the screen of the terminal equipment can be controlled to be lightened while the two-dimension code information is analyzed; and finally, the control screen displays the corresponding functional interface according to the analysis result of the two-dimension code information. The operation is convenient and quick, and the time for scanning the two-dimensional code is greatly saved.
As shown in fig. 2, a flowchart of a method for controlling a terminal device according to a second embodiment of the present invention includes the following steps:
step S202, in the screen off state, after receiving an acquisition instruction, starting a camera of the terminal equipment to acquire an image;
step S204, when a two-dimensional code image is acquired, acquiring two-dimensional code information corresponding to the two-dimensional code image;
step S206, after the two-dimension code information is obtained, analyzing the two-dimension code information;
step S208, after the two-dimension code information is acquired, controlling the screen of the terminal equipment to light up;
and step S210, displaying a corresponding function interface according to the analysis result of the two-dimension code information.
In the embodiment, in the screen-off state, after receiving the acquisition instruction, the camera of the terminal device is triggered to acquire the image, so that on one hand, the situation that the camera of the terminal device is always kept in the on state to waste power and interfere with the confidentiality of the surrounding environment in the screen-off state is avoided; on the other hand, when the user needs to scan the two-dimensional code, the user can directly trigger the acquisition instruction without lighting the screen and then searching for a scanning function.
As shown in fig. 3, a flowchart of a control method of a terminal device according to a third embodiment of the present invention includes the following steps:
step S302, when a fingerprint verification request is received, generating the acquisition instruction;
step S304, in the screen off state, after receiving an acquisition instruction, starting a camera of the terminal equipment to acquire an image;
step S306, acquiring two-dimension code information corresponding to the two-dimension code image when the two-dimension code image is acquired;
step S308, after the two-dimension code information is obtained, analyzing the two-dimension code information;
step S310, after the two-dimension code information is acquired, controlling the screen of the terminal equipment to light up;
and step S312, displaying a corresponding function interface according to the analysis result of the two-dimensional code information.
As shown in fig. 4, a flowchart of a method for controlling a terminal device according to a fourth embodiment of the present invention includes the following steps:
step S402, when the preset change of the movement track of the terminal equipment is detected, generating an acquisition instruction;
step S404, in the screen off state, after receiving an acquisition instruction, starting a camera of the terminal equipment to acquire an image;
step S406, when a two-dimensional code image is acquired, acquiring two-dimensional code information corresponding to the two-dimensional code image;
step S408, after the two-dimension code information is obtained, analyzing the two-dimension code information;
step S410, after the two-dimension code information is acquired, controlling the screen of the terminal equipment to light up;
and step S412, displaying a corresponding function interface according to the analysis result of the two-dimensional code information.
In the above two embodiments, the respective states that trigger the generation of the acquisition instruction are described in detail. In the screen off state, when a finger of a user triggers a fingerprint verification area, an acquisition instruction is directly generated to start a camera; the camera can be triggered to be started when a user triggers a key of the terminal device, such as a volume key; the camera can be triggered to be opened by triggering the generation of the acquisition instruction when the user taps the screen, for example, double-tapping or pressing the preset time, and the camera can also be triggered to be opened by generating the acquisition instruction after shaking the terminal device according to the preset track. The operation is convenient, and the time for scanning the two-dimensional code is saved. Of course, the above are only specific examples, and the operations of triggering the camera to turn on in the screen-off state all belong to the scope defined in the present application, and the above operations may act on the terminal device independently or may act on the terminal device in combination.
As shown in fig. 5, a flowchart of a control method of a terminal device according to a fifth embodiment of the present invention includes the following steps:
step S502, in the screen off state, after receiving an acquisition instruction, starting a camera of the terminal equipment to acquire an image;
step S504, when a two-dimensional code image is acquired, acquiring two-dimensional code information corresponding to the two-dimensional code image;
step S506, after the two-dimension code information is obtained, analyzing the two-dimension code information;
step S508, after the two-dimension code information is obtained, controlling the screen of the terminal equipment to light up;
step S510, displaying a preset unlocking interface after the screen is lightened;
and S512, displaying the corresponding function interface according to the analysis result of the two-dimension code information after the unlocking interface is unlocked.
In this embodiment, after the two-dimensional code is analyzed, when the user presets the unlocking interface, the terminal screen may first display the unlocking interface, and after the user unlocks, display the corresponding function interface according to the analysis result of the two-dimensional code information. The use safety of the terminal equipment is improved.
As shown in fig. 6, a flowchart of a control method for a terminal device according to a sixth embodiment of the present invention includes the following steps:
step S602, in the screen off state, after receiving an acquisition instruction, starting a camera of the terminal equipment to acquire an image;
step S604, when a two-dimensional code image is acquired, acquiring two-dimensional code information corresponding to the two-dimensional code image;
step S606, after the two-dimension code information is obtained, analyzing the two-dimension code information;
step S608, after the two-dimension code information is acquired, controlling the screen of the terminal device to light up;
step S610, judging whether the function interface corresponding to the analysis result of the two-dimension code information is a payment interface;
and step S612, when the judgment result is yes, canceling the preset unlocking interface, and directly displaying the corresponding functional interface according to the analysis result of the two-dimension code information after the screen of the control terminal device is lightened.
In this embodiment, after the two-dimensional code information is analyzed, it is first determined whether the analyzed result corresponds to the payment interface, and if the determined result is yes, if the user presets the contact interface, the preset unlocking interface is directly cancelled, and the control screen lights up the functional interface corresponding to the two-dimensional code information. The user can input the password or perform fingerprint payment and the like directly aiming at the functional interface, and the payment password or the fingerprint verification is required to be input during payment, so that additional screen unlocking is not required, and the two-dimensional code payment operation is simplified.
A terminal device according to an embodiment of the second aspect of the present invention is described below with reference to fig. 7 to 11.
As shown in fig. 7, a terminal device block diagram of a first embodiment of the present invention is a terminal device for executing a control method of a terminal device according to any one of the above embodiments, and a terminal device 100 includes:
the obtaining module 102 is configured to obtain two-dimensional code information in a screen-off state;
the analysis module 104 is configured to analyze the two-dimensional code information after the two-dimensional code information is acquired;
the control module 106 is used for controlling the screen of the terminal device to be lightened after the two-dimensional code information is acquired;
and the display module 108 is configured to display a corresponding functional interface according to an analysis result of the two-dimensional code information.
According to the terminal equipment provided by the invention, the two-dimension code information is directly acquired by the acquisition module 102 in a screen-off state, and after the two-dimension code information is analyzed by the analysis module 104, the control module 106 controls the terminal screen to display the corresponding function interface according to the analysis result of the two-dimension code information, so that the rapidity and convenience of two-dimension code acquisition operation are improved, the complicated process that the mobile phone screen needs to be lightened, and the two-dimension code can be scanned to enter the corresponding function interface only after a scanning function is found is avoided, the user operation is greatly facilitated, and the user operation time is saved. Specifically, in the screen-off state, the obtaining module 102 may directly obtain the two-dimensional code image through a camera of the terminal device to obtain the two-dimensional code information, or may directly obtain the two-dimensional code information transmitted by other devices; after the two-dimension code information is acquired, the two-dimension code information can be analyzed firstly, the screen of the terminal equipment can be controlled to be lightened firstly, and the screen of the terminal equipment can be controlled to be lightened while the two-dimension code information is analyzed; and finally, the control screen displays the corresponding functional interface according to the analysis result of the two-dimension code information. The operation is convenient and quick, and the time for scanning the two-dimensional code is greatly saved.
As shown in fig. 8, a block diagram of a terminal device according to a second embodiment of the present invention, a terminal device 200 includes:
the execution module 202 is configured to, in a screen-off state, start a camera of the terminal device for image acquisition after receiving the acquisition instruction;
the obtaining submodule 204 is configured to obtain two-dimensional code information corresponding to a two-dimensional code image when the two-dimensional code image is collected;
the analyzing module 206 is configured to analyze the two-dimensional code information after the two-dimensional code information is obtained;
the control module 208 is configured to control a screen of the terminal device to light up after the two-dimensional code information is acquired;
and the display module 210 is configured to display a corresponding function interface according to an analysis result of the two-dimensional code information.
In this embodiment, in the screen-off state, the acquisition sub-module 204 triggers the camera of the terminal device to perform image acquisition after receiving the acquisition instruction, so that on one hand, the situation that the camera of the terminal device is kept in an on state all the time to waste electric power and interfere with the confidentiality of the surrounding environment in the screen-off state is avoided; on the other hand, when the user needs to scan the two-dimensional code, the user can directly trigger the acquisition instruction without lighting the screen and then searching for a scanning function.
As shown in fig. 9, a terminal device 300 according to a third embodiment of the present invention includes:
a generating module 302, configured to generate an acquisition instruction when receiving a fingerprint verification request; or generating an acquisition instruction when detecting that the key of the terminal equipment is triggered; or generating a collecting instruction when the screen of the terminal device is detected to be knocked; or generating an acquisition instruction when the preset change of the movement track of the terminal equipment is detected;
the execution module 304 is configured to, in a screen-off state, start a camera of the terminal device for image acquisition after receiving the acquisition instruction;
the obtaining submodule 306 is configured to obtain two-dimensional code information corresponding to a two-dimensional code image when the two-dimensional code image is collected;
the analyzing module 308 is configured to analyze the two-dimensional code information after the two-dimensional code information is obtained;
the control module 310 is configured to control a screen of the terminal device to light up after the two-dimensional code information is acquired;
and the display module 312 is configured to display a corresponding function interface according to an analysis result of the two-dimensional code information.
In this embodiment, in the screen-off state, the generating module 302 may directly generate an acquisition instruction to turn on the camera when the finger of the user triggers the fingerprint verification area; the generating module 302 may also trigger the camera to be turned on when the user triggers a key of the terminal device, such as a volume key; the generation module 302 may also trigger generation of an acquisition instruction to further trigger the camera to turn on when the user taps the screen, for example, double-tapping or pressing for a preset time; the generating module 302 may also generate an acquisition instruction to trigger the start of the camera after shaking the terminal device according to a preset trajectory. The operation is convenient, and the time for scanning the two-dimensional code is saved.
As shown in fig. 10, a terminal device 400 according to a fourth embodiment of the present invention includes:
a generating module 402, configured to generate an acquisition instruction when receiving a fingerprint verification request; or generating an acquisition instruction when detecting that the key of the terminal equipment is triggered; or generating a collecting instruction when the screen of the terminal device is detected to be knocked; or generating an acquisition instruction when the preset change of the movement track of the terminal equipment is detected;
the execution module 404 is configured to, in a screen-off state, start a camera of the terminal device for image acquisition after receiving the acquisition instruction;
the obtaining submodule 406 is configured to obtain two-dimensional code information corresponding to the two-dimensional code image when the two-dimensional code image is acquired;
the analyzing module 408 is configured to analyze the two-dimensional code information after the two-dimensional code information is obtained;
the control module 410 is used for controlling the screen of the terminal device to be lightened after the two-dimensional code information is acquired;
the display module 412 is configured to display a preset unlocking interface after the screen is lighted up; and after the unlocking interface is unlocked, displaying the corresponding functional interface according to the analysis result of the two-dimensional code information.
In this embodiment, after the two-dimensional code is analyzed, when the user presets the unlocking interface, the display module may first display the unlocking interface, and then display the corresponding function interface according to the analysis result of the two-dimensional code information after the user unlocks. The use safety of the terminal equipment is improved.
As shown in fig. 11, a terminal device 500 according to a fifth embodiment of the present invention includes:
a generating module 502, configured to generate an acquisition instruction when receiving a fingerprint verification request; or generating an acquisition instruction when detecting that the key of the terminal equipment is triggered; or generating a collecting instruction when the screen of the terminal device is detected to be knocked; or generating an acquisition instruction when the preset change of the movement track of the terminal equipment is detected;
the execution module 504 is configured to, in a screen-off state, start a camera of the terminal device for image acquisition after receiving the acquisition instruction;
the obtaining sub-module 506 is configured to obtain two-dimensional code information corresponding to the two-dimensional code image when the two-dimensional code image is collected;
the analyzing module 508 is configured to analyze the two-dimensional code information after the two-dimensional code information is obtained;
the control module 510 is configured to control a screen of the terminal device to light up after the two-dimensional code information is acquired;
the display module 512 is configured to determine whether a function interface corresponding to the analysis result of the two-dimensional code information is a payment interface; and when the judgment result is yes, the preset unlocking interface is cancelled, and the corresponding functional interface is displayed directly according to the analysis result of the two-dimensional code information after the screen of the control terminal device is lightened.
In this embodiment, after the two-dimensional code information is analyzed, it is first determined whether the analyzed result corresponds to the payment interface, and if the determined result is yes, if the user presets the contact interface, the preset unlocking interface is directly cancelled, and the control screen lights up the functional interface corresponding to the two-dimensional code information. The user can input the password or perform fingerprint payment and the like directly aiming at the functional interface, and the payment password or the fingerprint verification is required to be input during payment, so that additional screen unlocking is not required, and the two-dimensional code payment operation is simplified.
An embodiment of a third aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the control method of the terminal device according to any one of the above embodiments when executing the computer program. Therefore, the computer device has all the advantageous effects of the control method of the terminal device of any of the above embodiments.
A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the method for controlling a terminal device according to any one of the above embodiments. Therefore, the computer-readable storage medium has all the advantageous effects of the control method of the terminal device of any of the above embodiments.
In the present invention, the term "plurality" means two or more unless explicitly defined otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (4)

1. A control method of a terminal device, comprising:
acquiring two-dimensional code information in a screen extinguishing state;
after the two-dimension code information is obtained, analyzing the two-dimension code information;
after the two-dimensional code information is acquired, controlling a screen of the terminal equipment to light;
displaying a corresponding functional interface according to the analysis result of the two-dimension code information;
the displaying of the corresponding functional interface according to the analysis result of the two-dimensional code information specifically includes:
displaying a preset unlocking interface after the screen is lightened;
after the unlocking interface is unlocked, displaying a corresponding functional interface according to the analysis result of the two-dimension code information;
the displaying of the corresponding functional interface according to the analysis result of the two-dimensional code information specifically includes:
judging whether a functional interface corresponding to the analysis result of the two-dimension code information is a payment interface or not;
when the judgment result is yes, a preset unlocking interface is cancelled, and a corresponding functional interface is displayed directly according to the analysis result of the two-dimension code information after the screen of the terminal device is controlled to be lightened;
under the screen extinguishing state, two-dimensional code information is acquired, and the method specifically comprises the following steps:
in the screen off state, after receiving an acquisition instruction, starting a camera of the terminal equipment to acquire images;
when a two-dimensional code image is acquired, acquiring two-dimensional code information corresponding to the two-dimensional code image;
in the screen-off state, after receiving the acquisition instruction, before the step of starting the camera of the terminal device to perform image acquisition, the method further includes:
and generating the acquisition instruction when the preset change of the movement track of the terminal equipment is detected.
2. A terminal device for executing the control method of the terminal device according to claim 1, characterized by comprising:
the acquisition module is used for acquiring the two-dimension code information in the screen extinguishing state;
the analysis module is used for analyzing the two-dimension code information after the two-dimension code information is obtained;
the control module is used for controlling the screen of the terminal equipment to be lightened after the two-dimensional code information is acquired;
the display module is used for displaying a corresponding functional interface according to the analysis result of the two-dimension code information;
the display module is specifically used for displaying a preset unlocking interface after the screen is lightened; after the unlocking interface is unlocked, displaying a corresponding functional interface according to the analysis result of the two-dimension code information;
the display module is specifically used for judging whether the functional interface corresponding to the analysis result of the two-dimension code information is a payment interface; when the judgment result is yes, a preset unlocking interface is cancelled, and a corresponding functional interface is displayed directly according to the analysis result of the two-dimension code information after the screen of the terminal device is controlled to be lightened;
the acquisition module specifically includes:
the execution module is used for starting a camera of the terminal equipment for image acquisition after receiving an acquisition instruction in a screen-off state; and
the acquisition submodule is used for acquiring the two-dimension code information corresponding to the two-dimension code image when the two-dimension code image is acquired;
and the generating module is used for generating the acquisition instruction when detecting that the movement track of the terminal equipment is changed in a preset manner.
3. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the control method of the terminal device according to claim 1 when executing the computer program.
4. A computer-readable storage medium on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the control method of a terminal device according to claim 1.
CN201711140703.4A 2017-11-16 2017-11-16 Terminal device, control method thereof, computer device, and readable storage medium thereof Active CN107943524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711140703.4A CN107943524B (en) 2017-11-16 2017-11-16 Terminal device, control method thereof, computer device, and readable storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711140703.4A CN107943524B (en) 2017-11-16 2017-11-16 Terminal device, control method thereof, computer device, and readable storage medium thereof

Publications (2)

Publication Number Publication Date
CN107943524A CN107943524A (en) 2018-04-20
CN107943524B true CN107943524B (en) 2020-07-03

Family

ID=61931511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711140703.4A Active CN107943524B (en) 2017-11-16 2017-11-16 Terminal device, control method thereof, computer device, and readable storage medium thereof

Country Status (1)

Country Link
CN (1) CN107943524B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110517035B (en) * 2018-05-22 2021-11-02 维沃移动通信有限公司 Information display method and mobile terminal
CN109033912A (en) * 2018-07-25 2018-12-18 维沃移动通信有限公司 A kind of recognition methods of identification code and mobile terminal
CN109151180B (en) * 2018-07-27 2020-09-01 维沃移动通信有限公司 Object identification method and mobile terminal
CN109242474A (en) * 2018-09-05 2019-01-18 深圳市百宝廊珠宝首饰有限公司 Barcode scanning method of payment, device, terminal and storage medium
CN110009328A (en) * 2018-11-09 2019-07-12 阿里巴巴集团控股有限公司 Method of mobile payment and device and electronic equipment
CN110882539B (en) 2019-11-22 2022-06-07 腾讯科技(深圳)有限公司 Animation display method and device, storage medium and electronic device
CN112861561B (en) * 2021-03-09 2022-11-11 上海交通大学 Two-dimensional code security enhancement method and device based on screen dimming characteristics

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117256A (en) * 2015-08-31 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN107153505A (en) * 2017-05-12 2017-09-12 硕诺科技(深圳)有限公司 A kind of gesture rapid operating method based on screen fingerprint recognition
CN107194687A (en) * 2017-05-18 2017-09-22 赵桂银 A kind of quick paying method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6666377B1 (en) * 2000-07-18 2003-12-23 Scott C. Harris Bar code data entry device
CN105528698A (en) * 2016-02-01 2016-04-27 宇龙计算机通信科技(深圳)有限公司 Fast code-scanning payment method and device
CN106952089A (en) * 2017-02-14 2017-07-14 北京奇虎科技有限公司 A kind of startup method, device and the mobile terminal at payment interface
CN107180352A (en) * 2017-06-22 2017-09-19 珠海市魅族科技有限公司 A kind of method of payment and device, computer installation and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117256A (en) * 2015-08-31 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN107153505A (en) * 2017-05-12 2017-09-12 硕诺科技(深圳)有限公司 A kind of gesture rapid operating method based on screen fingerprint recognition
CN107194687A (en) * 2017-05-18 2017-09-22 赵桂银 A kind of quick paying method and device

Also Published As

Publication number Publication date
CN107943524A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107943524B (en) Terminal device, control method thereof, computer device, and readable storage medium thereof
RU2644057C2 (en) Remote control method and apparatus
EP3244597A1 (en) Method and apparatus for controlling devices
CN111901896A (en) Information sharing method, information sharing device, electronic equipment and storage medium
US20170055150A1 (en) Method and device for acquiring using authority
US20170006038A1 (en) Method and device for verifying permission
KR20110026068A (en) Apparatus and method for providing poi information in portable terminal
CN104540184A (en) Equipment networking method and device
CN104394263A (en) Accessing point list displaying method and device
RU2607476C1 (en) Method and device for operation with application for television set
CN104915094A (en) Terminal control method and device and terminal
CN105049416A (en) Method and apparatus for accessing to wifi network
EP4361974A2 (en) Fingerprint identification method and apparatus
RU2640748C2 (en) Method and device for network access
CN111669737A (en) Bluetooth device connection method and device and electronic device
CN107631750B (en) Method, device, terminal and storage medium for testing terminal to be tested
CN107038462B (en) Equipment control operation method and system
CN105653085A (en) Touch response method and device
CN104820631A (en) Presentation method and presentation apparatus of state of external device, and user terminal
CN104965645A (en) Unlocking method and apparatus
CN111081005B (en) Directional remote control method, device, equipment and storage medium
CN112286070A (en) Equipment control method and device and electronic equipment
CN105103116A (en) Handheld terminal, image generation method, and non-transitory computer-readable medium containing program
CN106200871B (en) Terminal control method and terminal
CN111625108B (en) Button simulation method, device, equipment and storage medium based on USB module

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