CN111126996B - Image display method and terminal equipment - Google Patents

Image display method and terminal equipment Download PDF

Info

Publication number
CN111126996B
CN111126996B CN201911230089.XA CN201911230089A CN111126996B CN 111126996 B CN111126996 B CN 111126996B CN 201911230089 A CN201911230089 A CN 201911230089A CN 111126996 B CN111126996 B CN 111126996B
Authority
CN
China
Prior art keywords
image
sub
coding
terminal device
encoded
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
CN201911230089.XA
Other languages
Chinese (zh)
Other versions
CN111126996A (en
Inventor
李江林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911230089.XA priority Critical patent/CN111126996B/en
Publication of CN111126996A publication Critical patent/CN111126996A/en
Application granted granted Critical
Publication of CN111126996B publication Critical patent/CN111126996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction

Abstract

The embodiment of the invention provides an image display method and terminal equipment, which are applied to the technical field of communication and are used for solving the problems of stolen brushing of a payment code and low safety in the process of carrying out secret payment in public places. The method comprises the following steps: receiving a first input; displaying a first encoded image in response to the first input; displaying a second coded image when the code scanning device is detected to scan the first coded image and the code scanning device is a safety device; wherein the first encoded image includes: partial sub-coding patterns in M sub-coding patterns obtained by splitting any coding pattern in the second coding image; or the first coding image comprises M sub coding patterns obtained by splitting any coding pattern in the second coding image, and the M sub coding patterns are displayed separately; m is a positive integer greater than 1. The embodiment of the invention is applied to a payment scene using a payment code.

Description

Image display method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image display method and terminal equipment.
Background
Currently, with the popularization of mobile payment, for small payment of mobile payment, most users set the mobile payment to be free of secret payment, that is, the payment code (such as a two-dimensional code or a bar code) is directly presented to a merchant for scanning, and then the payment can be completed.
However, because the user usually calls the payment code in advance to wait for payment when queuing for payment, the lawbreaker is given a machine to ride, and the lawbreaker is easy to steal and brush money by scanning the payment code of other people. Namely, in the process of carrying out the secret payment in public places, the problems of stolen brushing of the payment code and low safety exist.
Disclosure of Invention
The embodiment of the invention provides an image display method and terminal equipment, which are used for solving the problems of stolen brushing of a payment code and low safety in the process of carrying out secret payment in public places.
In order to solve the technical problems, the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an image display method, including:
receiving a first input;
displaying a first encoded image in response to the first input;
and displaying a second coded image when the code scanning device is detected to scan the first coded image and the code scanning device is a safety device.
Wherein the first encoded image includes: partial sub-coding patterns in M sub-coding patterns obtained by splitting any coding pattern in the second coding image; or the first coding image comprises M sub coding patterns obtained by splitting any coding pattern in the second coding image, and the M sub coding patterns are displayed separately; m is a positive integer greater than 1.
In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes:
a receiving module for receiving a first input;
a display module for displaying a first encoded image in response to the first input received by the receiving module;
the display module is further configured to display a second encoded image when the code scanning device is detected to scan the first encoded image and the code scanning device is a security device;
wherein the first encoded image includes: partial sub-coding patterns in M sub-coding patterns obtained by splitting any coding pattern in the second coding image; or the first coding image comprises M sub coding patterns obtained by splitting any coding pattern in the second coding image, and the M sub coding patterns are displayed separately; m is a positive integer greater than 1.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the image display method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the image display method according to the first aspect.
In the embodiment of the invention, after receiving the first input, the terminal equipment displays the first coded image, and because the first coded image comprises part of M sub-coded patterns obtained by splitting any one of the coding patterns in the second coded image; or the first coded image comprises all the sub-coded patterns, and all the sub-coded patterns are displayed separately from each other, so that the first coded image cannot be identified by the code scanning equipment, and the risk of the coded image being stolen is reduced. Then, when the terminal device detects that the code scanning device scans the first code image and the code scanning device is a safety device, a second code image is displayed, and the second code image contains a complete code pattern, so that the second code image can be identified by the code scanning device, further payment can be completed, and the safety of the payment process is ensured.
Drawings
Fig. 1 is a schematic diagram of a possible architecture of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an image display method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface to which an image display method according to an embodiment of the present invention is applied;
FIG. 4 is a second schematic diagram of an interface to which an image display method according to an embodiment of the present invention is applied;
FIG. 5 is a third schematic diagram of an interface to which an image display method according to an embodiment of the present invention is applied;
FIG. 6 is a diagram illustrating an interface to which an image display method according to an embodiment of the present invention is applied;
FIG. 7 is a diagram of an interface to which an image display method according to an embodiment of the present invention is applied;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments of the present invention without making any inventive effort, are intended to be within the scope of the embodiments of the present invention.
In this context "/" means "or" for example, a/B may mean a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone.
It should be noted that "plurality" herein means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
It should be noted that, in order to clearly describe the technical solution of the embodiment of the present invention, in the embodiment of the present invention, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function or effect, and those skilled in the art will understand that the words "first", "second", etc. do not limit the number and execution order. For example, the first input and the second input are used to distinguish between different inputs, rather than to describe a particular order of inputs.
The execution body of the image display method provided by the embodiment of the invention can be the terminal equipment (including mobile terminal equipment and non-mobile terminal equipment), or can be a functional module and/or a functional entity capable of realizing the image display method in the terminal equipment, and the execution body can be specifically determined according to actual use requirements, and the embodiment of the invention is not limited. An exemplary description will be given below of an image display method provided in an embodiment of the present invention, taking a terminal device as an example.
The terminal device in the embodiment of the invention can be a mobile terminal device or a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.; the non-mobile terminal device may be a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiment of the present invention is not particularly limited.
The terminal device in the embodiment of the invention can be a terminal device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present invention is not limited specifically.
The software environment to which the image display method provided by the embodiment of the invention is applied is described below by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, respectively: an application program layer, an application program framework layer, a system runtime layer and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third party application programs) in the android operating system.
The application framework layer is a framework of applications, and developers can develop some applications based on the application framework layer while adhering to the development principle of the framework of the applications.
The system runtime layer includes libraries (also referred to as system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of the android operating system, and belongs to the bottommost layer of the software hierarchy of the android operating system. The kernel layer provides core system services and a driver related to hardware for the android operating system based on a Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the image display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the image display method may be operated based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can realize the image display method provided by the embodiment of the invention by running the software program in the android operating system.
The following describes an image display method according to an embodiment of the present invention with reference to the flowchart of the image display method shown in fig. 2, and fig. 2 is a flowchart of the image display method according to the embodiment of the present invention, including steps 201 to 203:
step 201: the terminal device receives a first input.
In the embodiment of the present invention, the first input is an input triggering the terminal device to display the first encoded image.
In one example, the terminal device may receive the above-described first input in a case where the terminal device displays a second encoded image described below.
Illustratively, the first input described above may include: the user input to the screen, or the user input to the second encoded image, or the user input to the target control, which is not limited in the embodiment of the present invention. The target control is a control that triggers the terminal device to display the first encoded image, and the target control may be an existing control or a new control.
Illustratively, the first input may specifically include: the click input of the user to the screen of the terminal device, or the sliding input of the user to the screen of the terminal device, or the dragging input of the user to the screen of the terminal device, or other feasibility inputs of the user to the screen of the terminal device can be specifically determined according to the actual use requirement, and the embodiment of the invention is not limited to this.
By way of example, the click input in embodiments of the present invention may be a single click input, a double click input, or any number of click inputs, etc.; the click input may be a long-press input or a short-press input. The sliding input herein may be a sliding input in any direction, for example, an upward sliding, a downward sliding, a leftward sliding, or a rightward sliding, and the sliding track of the sliding input may be a straight line or a curved line. The drag input herein may be a drag input in any direction, for example, a drag in a clockwise direction, a drag in a counterclockwise direction, an upward drag, a downward drag, a left drag, or a right drag, and may be specifically set according to actual requirements.
Step 202: in response to the first input, the terminal device displays a first encoded image.
In an embodiment of the present invention, the first encoded image includes: partial sub-coding patterns in M sub-coding patterns obtained by splitting any coding pattern in the second coding image; or the first coding image comprises M sub coding patterns obtained by splitting any coding pattern in the second coding image, and the M sub coding patterns are displayed separately; m is a positive integer greater than 1.
In one example, the first encoded image includes: and partial sub-coding patterns in M sub-coding patterns obtained by splitting any coding pattern in the second coding image are displayed separately from each other.
In one example, the sub-coding patterns are displayed separately from each other, which means that white stripe patterns exist between the sub-coding patterns.
In the embodiment of the present invention, the number of the first encoded images may be one or more.
In the embodiment of the invention, the terminal equipment can split the second coded image according to the preset splitting mode to obtain the first coded image.
Optionally, in an embodiment of the present invention, the second encoded image is split to obtain N sub-encoded images, and the first encoded image includes: at least one of the N sub-coded images, wherein each sub-coded image comprises a part of sub-coded patterns, and N is a positive integer greater than 1.
The first encoded image may include a plurality of sub-encoded images, a part of the sub-encoded patterns of the second encoded image may be displayed in each sub-encoded image, and all or part of the sub-encoded patterns of the plurality of sub-encoded images may be combined into all or part of the sub-encoded patterns of the second encoded image, that is, the first encoded image may include a part of the sub-encoded patterns of M sub-encoded patterns in which the encoded patterns of the second encoded image are in a split state, or may include all the sub-encoded patterns, and the sub-encoded patterns may be displayed separately from each other.
It should be noted that the number of splitting the second encoded image, the size and the position of each sub-encoded pattern/sub-encoded image formed after splitting may be set according to actual requirements, which is not limited in the embodiment of the present invention.
The predetermined splitting manner may be split by using an image segmentation algorithm, for example.
Illustratively, the encoded image in embodiments of the present invention may be a payment code (e.g., a two-dimensional code or a bar code). It should be noted that, when the above-mentioned coded image is a plurality of payment codes, the plurality of payment codes may be coded images (i.e., barcode image, two-dimensional code image, digital coded image, etc.) for the same payment object on the payment interface. Step 203: and the terminal device displays a second coded image under the condition that the code scanning device is detected to scan the coded image and the code scanning device is a safety device.
In the embodiment of the present invention, the second encoded image is an original encoded image, i.e., an encoded image that can be identified by the code scanning device.
In the embodiment of the present invention, the second encoded image may include one encoded pattern or may include a plurality of encoded patterns, which is not limited in the embodiment of the present invention.
In example 1, taking the above-mentioned second encoded image as an example, as shown in fig. 3 (a), a payment interface (i.e., 32a in fig. 3 (a)) is displayed on the screen of the terminal device (i.e., 31a in fig. 3 (a)), and a payment image is displayed on the payment interface 32a, where the payment image includes a payment code (i.e., a payment two-dimensional code).
In example 2, taking the above-mentioned second encoded image as an example including two encoded patterns, as shown in (b) of fig. 3, a payment interface (i.e., 32b of (b) of fig. 3) is displayed on a screen of the terminal device (i.e., 31b of (b) of fig. 3), and a payment image including two payment codes is displayed on the payment interface 32 b. Wherein, these two payment codes are respectively: a payment bar code and a payment two-dimensional code. In one payment scenario, the terminal device may utilize either of two payment codes to complete the payment. In another payment scenario, the terminal device needs to complete payment using two payment codes simultaneously.
In one example, after receiving the second input, the terminal device may update and display a third encoded image in addition to the second encoded image, where the third encoded image is: a payment can be made for the encoded image that is different from the second encoded image.
It should be noted that the second encoded image may be recognized by the code scanning device, and the first encoded image may not be recognized by the code scanning device.
Optionally, in the embodiment of the present invention, when the terminal device detects that the code scanning device scans, security authentication needs to be performed on the code scanning device, and only if the code scanning device is determined to be the security device, the terminal device displays the second encoded image.
In a first example, before step 203, the method further comprises steps 203a1 to 203a3:
step 203a1: the terminal device detects that the ambient brightness of the surrounding environment in front of the screen of the terminal device rises within a preset time period, or detects that the coded image is scanned by infrared rays, and displays prompt information.
For example, the prompt information may be: text, picture.
In one example, the terminal device pops up a window in which the prompt information is displayed.
Step 203a2: and the terminal equipment receives a third input of the user aiming at the prompt information.
For example, the third input of the prompt information by the user may include: the clicking input of the prompt information by the user, or the sliding input of the prompt information by the user, or other feasibility inputs of the prompt information by the user can be specifically determined according to the actual use requirement, and the invention is not limited to this.
Step 203a3: in response to the third input, the terminal device determines whether the code scanning device is a security device.
For example, the terminal device detects that the code scanning device is located within a range of 12cm right in front of the screen, and the brightness of the surrounding environment right in front of the screen is instantaneously increased, the terminal device pops up a window to prompt the user to detect whether merchant scanning is performed or not, when the user clicks yes, the terminal device determines that the code scanning device is a safety device, and when the user clicks no, the terminal device determines that the code scanning device is not the safety device.
In a second example, before step 203, the method further comprises step 203b:
step 203b: the terminal device receives the verification information (for example, token of the code scanning device) sent by the code scanning device, and determines whether the code scanning device is a security device according to the verification information.
The terminal device may pre-store a legal device database, then locate according to the geographic location, match a legal device list in a target range (for example, a mall), then determine whether the code scanning device is a legal device in the target range, and finally determine whether the code scanning device is a security device according to the received verification information sent by the code scanning device.
According to the image display method provided by the embodiment of the invention, after receiving the first input, the terminal equipment displays the first coded image, and as the first coded image comprises part of M sub-coded patterns obtained by splitting any one of the second coded images; or the first coded image comprises all the sub-coded patterns, and all the sub-coded patterns are displayed separately from each other, so that the first coded image cannot be identified by the code scanning equipment, and the risk of the coded image being stolen is reduced. Then, when the terminal device detects that the code scanning device scans the first code image and the code scanning device is a safety device, a second code image is displayed, and the second code image contains a complete code pattern, so that the second code image can be identified by the code scanning device, further payment can be completed, and the safety of the payment process is ensured.
Optionally, in the embodiment of the present invention, the user may actively trigger the terminal device to display the second encoded image, and the terminal device may display the second encoded image only after receiving the input of the user.
The step 203 may specifically include the following steps 203c and 203d:
step 203c: the terminal device receives a second input of the first encoded image.
In the embodiment of the present invention, the second input is an input triggering the terminal device to display the second encoded image.
In an embodiment of the present invention, the second input may include: the user inputs to the screen or the first encoded image, which is not limited by the embodiment of the present invention.
Illustratively, the second input may specifically include: the click input of the user on the first encoded image, or the sliding input of the user on the first encoded image, or other feasibility inputs of the user on the first encoded image may be specifically determined according to the actual use requirement, which is not limited by the embodiment of the present invention.
Step 203d: and responding to the second input, detecting that the code scanning device scans the first coded image, wherein the code scanning device is a safety device, and the terminal device displays the second coded image.
In this way, the terminal device can display the second coded image only after receiving the input of the user, and the terminal device is prevented from being triggered by the security device to display the second coded image.
Optionally, in the embodiment of the present invention, the terminal device may determine, through input of a user, the number of sub-encoded images obtained by splitting the second encoded image.
Illustratively, after step 201 described above, the method further includes the step 201a of:
step 201a: if the first input is a pressing input, the terminal equipment responds to the pressing input and determines the number N of the split sub-coded images corresponding to the pressing input.
Illustratively, the number of sub-coded images N described above is related to the pressure value and/or the duration of the compression input described above.
For example, the terminal device may query the number N of corresponding sub-encoded images in the pre-stored first relation table by using the obtained pressure value of the pressing input as an index.
For example, in connection with (a) of fig. 3, if the user wants to pay, the "pay code" control (i.e., the press input described above) may be tapped, at which point the terminal device may determine to split the payment image in the payment interface 32a into 4 sub-images based on the pressure value of the tap input. Then, as shown in fig. 4, a payment interface (i.e., 42 in fig. 4) is displayed on the screen (i.e., 41 in fig. 4) of the terminal device, and the above 4 sub-images separated from each other are displayed on the payment interface 42. Subsequently, when the user wants to pay, he can click on the screen 41 of the terminal device (i.e. the second input described above), at which point the terminal device redisplays the payment image described above.
It should be noted that, since the terminal device splits a complete payment into 4 sub-images, each sub-image is an independent coded image, when the scanning device scans the 4 sub-images, only one sub-image can be scanned, and thus the sub-image cannot be identified. Or the code scanning device can recognize the 4 sub-images as a payment image, but the code scanning device still cannot recognize the payment image because white areas are increased between each sub-image after being split.
In this way, in the process of waiting for payment by the user, the first coded image is a sub coded image obtained by splitting the second coded image, so that the first coded image cannot be identified by the code scanning device, and the risk of the coded image being stolen is reduced.
It should be noted that, the process of determining the number M of sub-coding patterns may refer to the process of determining the number N of sub-coding images after splitting in the embodiment of the present invention, which is not described herein again.
In one example, the number M of sub-coding patterns may be the same as the number N of sub-coding images, and one sub-coding pattern is included in one sub-coding image.
Optionally, in the embodiment of the present invention, when the terminal device has multiple display screens, after splitting the second encoded image, the terminal device may display the split sub-encoded image in a different display screen.
For example, if the terminal device includes a first screen and a second screen, and the first encoded image includes X sub-encoded images, the step 202 may specifically include the following step 202a:
step 202a: the terminal device displays a first sub-coded image of the X sub-coded images on a first screen, and displays other sub-coded images except the first sub-coded image of the X sub-coded images on a second screen.
Illustratively, X is a positive integer greater than 1 and less than or equal to N.
Thus, the terminal equipment split-screen displays the sub-coded images after the second coded image is split, namely, the first screen and the second screen respectively display only a part of the coded patterns in the second coded image, and further, the coded images can be prevented from being stolen and brushed.
Optionally, in the embodiment of the present invention, the terminal device may pop up a selection window for the user to select whether to pay immediately, if so, the terminal device displays the second encoded image, and if not, the terminal device displays the first encoded image.
Illustratively, after step 201 described above, the method further includes the following steps 201b1 through 201b4:
step 201b1: in response to the first input, the terminal device displays a selection window.
Step 201b2: the terminal device receives a third input from the user to the selection window.
Illustratively, the third input may specifically include: the click input of the user to the selection window, or the sliding input of the user to the selection window, or other feasibility inputs of the user to the selection window can be specifically determined according to the actual use requirement, and the embodiment of the invention is not limited to this.
The terminal device displays a selection window, which includes two selection buttons for respectively indicating whether the terminal device pays immediately, and if the user selects not to pay immediately, the step A3 is shifted; if the user chooses to pay immediately, go to step A4.
Step 201b3: in response to the third input, the terminal device displays the first encoded image.
Step 201b4: in response to the third input, the terminal device displays a second encoded image.
In this way, the terminal device can trigger the terminal device to display different coded images by selecting whether the user pays immediately or not, when the user wants to pay immediately, the terminal device can be triggered to display the second coded image directly, and when the user does not want to pay immediately (in-line waiting), the terminal device can be triggered to display the first coded image, so that the theft is prevented.
In addition, in the embodiment of the present invention, the first encoded image may also be the second encoded image displayed according to a predetermined display effect, and/or the first encoded image may also be the first encoded image displayed according to a predetermined display effect. Illustratively, the predetermined display effect includes at least one of: and dynamically displaying, overlapping and hiding.
It should be noted that the above-mentioned predetermined display effects are not limited to the above-mentioned three display effects, and may be specifically set according to actual requirements, which is not limited in the embodiment of the present invention.
In the case where the first encoded image is a first encoded image displayed according to a predetermined display effect, the terminal device may display at least one sub-encoded image according to the predetermined display effect because the first encoded image is the at least one sub-encoded image described above.
By way of example, taking a first encoded image as the second encoded image displayed according to a predetermined display effect, a specific implementation may be as follows.
In a first possible implementation (dynamic display):
by way of example, the dynamic display described above may include at least one of: and (5) rotating display, flashing display and bouncing display. It should be noted that the above-mentioned dynamic display includes, but is not limited to, these three dynamic display modes, and may be specifically set according to actual requirements, which is not limited in the embodiment of the present invention.
For example, the above-described rotation display may include at least one of: and the device rotates at a constant speed, rotates at a variable speed, rotates clockwise and rotates anticlockwise. For example: the terminal equipment takes any pixel point of the second coded image as a center and rotates clockwise at a constant speed.
For example, after receiving the first input, the terminal device may retrieve and execute a code for rotating the second encoded image displayed in the terminal device, generate a first encoded image (i.e., the rotated displayed second encoded image) and display the first encoded image in a screen of the terminal device. The code may be a code stored in the terminal device in advance by the user.
For example, in the case where the predetermined display effect is a rotation display, if the first input is a press input, the method may further include the following step A1 after the step 201:
step A1: in response to the press input, the terminal device acquires a pressure value and determines a first rotational speed corresponding to the pressure value.
The rotational speed may be proportional to the pressure value, or alternatively, the rotational speed may be inversely proportional to the pressure value, which is not limited by the embodiment of the present invention.
For example, the terminal device may query the first relationship table for the corresponding first rotation speed according to a pre-stored second relationship table with the obtained pressure value of the pressing input as an index.
For example, if the user wants to pay, the user may press the "pay code" control (i.e., the first input described above), at which time the terminal device obtains the first rotation speed and continuously rotates to display the two-dimensional payment code at the first rotation speed on the payment interface displayed on the screen. When the user wants to pay, the user can click on the screen of the terminal device (i.e., the second input described above), at which time the terminal device stops rotating and displays the payment two-dimensional code at a default position in the screen of the terminal device (e.g., in the middle of the screen), as shown in fig. 3 (a).
In this way, in the process of waiting for payment by the user, the first coded image is the second coded image which is dynamically displayed, so that the first coded image cannot be identified by the code scanning device, and the risk of the coded image being stolen is reduced.
In a second possible implementation (overlay display):
in one possible example, the terminal device may extract the coding pattern in each of the at least two second coding images, and then superimpose and display all the coding patterns so that the coding pattern in the obtained first coding image is a combined pattern of multiple coding patterns, that is, the coding pattern in the obtained first coding image is a coding pattern that cannot be recognized by the code scanning device.
In another possible example, the terminal device may use any one of the at least two second encoded images as an underlying encoded image (i.e., a background encoded image), and display other second encoded images on the any one second encoded image with a predetermined transparency, so that the encoded pattern in the obtained first encoded image is a combined pattern of multiple encoded patterns, that is, the encoded pattern in the obtained first encoded image is an encoded pattern that cannot be recognized by the code scanning device.
Illustratively, after step 201 described above, the method may further include the following step B1:
step B1: in response to the first input, the terminal device displays a target interface.
Illustratively, the target interface includes at least two encoded images including the second encoded image. Wherein the first encoded image is: and superposing each of the at least two coded images to obtain a coded image.
The target interface may be a payment interface, or may be another interface for displaying the encoded image (for example, a two-dimensional code display interface when adding friends).
Illustratively, superimposing each of the at least two encoded images as described above may include: and displaying and superposing other images except the coding pattern of each of the at least two coding images with the first transparency.
For example, in connection with fig. 3 b, if the user wants to pay, the user may click on the "payment code" control (i.e. the first input described above), at this time, as shown in fig. 5, the screen of the terminal device (i.e. 51 in fig. 5) displays a payment interface (i.e. the target interface described above, as shown in fig. 5, 52) and the payment interface 52 displays two payment codes in an overlapping manner (the two payment codes are transparent in the other areas except the pattern). Wherein, these two payment codes are respectively: a payment bar code and a payment two-dimensional code. When the user wants to pay, he can click on the screen 51 of the terminal device (i.e. the second input described above), at which point the terminal device displays the two payment codes separately, as shown in fig. 3 (b).
It should be noted that, when the payment interface of the terminal device includes at least two payment codes, the at least two payment codes may be displayed directly in an overlapping manner; when the payment interface of the terminal equipment only comprises one payment code, the terminal equipment can copy and then display the one payment code in an overlapping manner, and at the moment, the copied payment code can be rotated and then displayed in an overlapping manner, and the one payment code and the copied payment code can be partially displayed in an overlapping manner after being misplaced.
In this way, in the process that the user waits for payment, the first coded image is the coded image obtained after each coded image in at least two coded images (including the second coded image) is overlapped, so that the first coded image cannot be identified by the code scanning device, and the risk of the coded image being stolen is reduced.
In a third possible implementation (hidden display):
for example, the step 201 may specifically include step C1:
step C1: in case the terminal device displays the above-mentioned second encoded image, the terminal device receives the first input.
Based on the step C1, the method may further include a step C2:
step C2: the terminal device conceals the image in the target area of the second encoded image.
The target area may be an entire area of the second encoded image, or may be a partial area of the second encoded image, which is not limited in the embodiment of the present invention.
The target area may be a default area of the terminal device or an area set by a user. In one example, the target area may be an area touched by a finger of a user.
It should be noted that, because the fault tolerance exists, that is, when the partial area of the encoded image is blocked or the pattern is wrong, the encoded image can still be recognized by the code scanning device, so in the embodiment of the present invention, when the target area is the partial area of the second encoded image, the second encoded image after hiding the partial area cannot be recognized by the code scanning device. For example, the size of the target area may be set according to a fault tolerance rate, where the higher the fault tolerance rate, the larger the size of the corresponding target area; the smaller the fault tolerance, the smaller the size of the corresponding target area.
For example, if the user wants to pay, the user may click on the "pay code" control, and at this time, as shown in fig. 3 (a), a two-dimensional payment code is displayed on the payment interface 32a, and if the user wants to hide the image in the target area, the user may double click on the screen 31a of the terminal device (i.e., the first input described above). At this time, as shown in fig. 6, a payment interface (i.e., 62 in fig. 6) on which one payment two-dimensional code hiding the image in the target area (i.e., 63 in fig. 6) is displayed on the screen of the terminal device (i.e., 61 in fig. 6). When the user wants to pay, he clicks on the screen 61 of the terminal device (i.e. the second input described above), at which point the terminal device will display the image in the target area 63, i.e. the terminal device displays a complete payment two-dimensional code in the payment interface 62. As shown in fig. 3 (a).
In one example, the terminal device may watermark the target area of the second encoded image in addition to hiding the image within the target area of the second encoded image.
In this way, in the process that the user waits for payment, since the first coded image is the second coded image hiding the image in the target area, the first coded image cannot be identified by the code scanning device, so that the risk of the coded image being stolen is reduced.
It should be noted that, the first encoded image may also be a specific display process of the first encoded image displayed according to the predetermined display effect, and description of a real process of the first encoded image and the first encoded image may also be the second encoded image displayed according to the predetermined display effect in the embodiment of the present invention will not be repeated here.
In addition, in the embodiment of the present invention, the first encoded image may be an encoded image obtained by editing the second encoded image. For example, the terminal device may add a pattern to the second encoded image, or the terminal device may delete a pattern from the second encoded image.
For example, in the case where the first encoded image is an encoded image obtained by editing the second encoded image, after the above step 201, the method may further include the following steps D1 to D3, where:
step D1: in response to the first input, the terminal device displays an edit window.
In the embodiment of the present invention, the second encoded image is displayed in the editing window. The editing window may display a part or all of the second encoded image, which is not limited in the embodiment of the present invention.
It can be understood that the size of the editing window may be smaller than the size of the second encoded image, and since the editing window may be displayed on the second encoded image and the editing window may enlarge and display a part of the image of the second encoded image, the complete second encoded image cannot be displayed on the screen of the terminal device, thereby avoiding being stolen during the process of editing the second encoded image.
For example, the terminal device may add or delete a pattern in the second encoded image described above in the editing window.
Step D2: the terminal device receives a fourth input for the second encoded image.
Illustratively, the fourth input may specifically include: the click input of the second encoded image by the user, or the sliding input of the second encoded image by the user, or other feasibility inputs of the second encoded image by the user may be specifically determined according to the actual use requirement, which is not limited by the embodiment of the present invention.
Step D3: in response to the fourth input, the terminal device displays the first encoded image.
For example, in connection with (a) of fig. 3, when the user wants to edit the one payment two-dimensional code, the screen 31a of the terminal device (i.e., the first input described above) may be pressed for a long time. At this time, as shown in fig. 7 (a), an edit window (i.e., 33 in fig. 7) is superimposed on the payment interface 32a of the terminal device, and a partial image of the one payment two-dimensional code (i.e., the above-described second encoded image) is enlarged and displayed in the edit window 33. When the user wants to add a pattern, the user can slide on the screen 31a (i.e., the fourth input described above), and the terminal device adds the pattern in the area where the user's finger slides, at this time, as shown in fig. 7 b, a payment two-dimensional code (i.e., the first encoded image described above) after adding the pattern is displayed in the payment interface 32 a.
Therefore, the user can edit the second coded image through the editing window, man-machine interaction is increased, and meanwhile, the risk of being stolen and brushed can be reduced because the edited first coded image cannot be identified by the coded image.
Fig. 8 is a schematic diagram of a possible structure of a terminal device according to an embodiment of the present invention, where, as shown in fig. 8, a terminal device 600 includes: a receiving module 601 and a display module 602, wherein: a receiving module 601 for receiving a first input; a display module 602, configured to display a first encoded image in response to the first input received by the receiving module 601; the display module 602 is further configured to display a second encoded image when the code scanning device is detected to scan the first encoded image and the code scanning device is a security device; wherein the first encoded image comprises: partial sub-coding patterns in M sub-coding patterns obtained after splitting any coding pattern in the second coding image; or, the first code image includes M sub-code patterns obtained by splitting any code pattern in the second code image, and the M sub-code patterns are displayed separately from each other; m is a positive integer greater than 1.
Optionally, the receiving module 601 is further configured to receive a second input to the first encoded image; the display module 602 is specifically configured to respond to the second input received by the receiving module 601, detect that the code scanning device scans the first encoded image, and the code scanning device is a security device, and display a second encoded image.
Optionally, the second encoded image is split to obtain N sub-encoded images, and the first encoded image includes: at least one of the N sub-coded images, wherein each sub-coded image comprises a part of sub-coded patterns, and N is a positive integer greater than 1.
Optionally, as shown in fig. 8, the terminal device 600 further includes: a determination module 603, wherein: the determining module 603 is configured to determine, in response to the receiving module 601 receiving the pressing input, the number N of sub-encoded images after splitting corresponding to the pressing input, when the first input is the pressing input.
Optionally, the display module 602 is specifically configured to, when the terminal device includes a first screen and a second screen, and the first encoded image includes X sub-encoded images, display a first sub-encoded image of the X sub-encoded images on the first screen, and display other sub-encoded images, except for the first sub-encoded image, of the X sub-encoded images on the second screen; wherein X is a positive integer greater than 1, and X is less than or equal to N.
It should be noted that, as shown in fig. 8, modules that are necessarily included in the terminal device 600 are illustrated by solid line boxes, such as a receiving module 601; the modules that may or may not be included in the terminal device 600 are indicated by dashed boxes, such as the determination module 603.
After receiving the first input, the terminal equipment displays the first coded image, wherein the first coded image comprises part of M sub-coded patterns obtained by splitting any one of the second coded images; or the first coded image comprises all the sub-coded patterns, and all the sub-coded patterns are displayed separately from each other, so that the first coded image cannot be identified by the code scanning equipment, and the risk of the coded image being stolen is reduced. Then, when the terminal device detects that the code scanning device scans the first code image and the code scanning device is a safety device, a second code image is displayed, and the second code image contains a complete code pattern, so that the second code image can be identified by the code scanning device, further payment can be completed, and the safety of the payment process is ensured.
The terminal device provided by the embodiment of the present invention can implement each process implemented by the terminal device in the above method embodiment, and in order to avoid repetition, details are not repeated here.
Fig. 9 is a schematic hardware structure of a terminal device implementing various embodiments of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. It will be appreciated by those skilled in the art that the structure of the terminal device 100 shown in fig. 9 does not constitute a limitation of the terminal device, and that the terminal device 100 may comprise more or less components than illustrated, or certain components may be combined, or different arrangements of components. In an embodiment of the present invention, the terminal device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
Wherein the user input unit 107 is configured to receive a first input; a display unit 106 for displaying a first encoded image in response to the above-described first input received by the user input unit 107; the display unit 106 is further configured to display a second encoded image when the code scanning device is detected to scan the first encoded image and the code scanning device is a security device; wherein the first encoded image comprises: partial sub-coding patterns in M sub-coding patterns obtained by splitting any coding pattern in the second coding image; alternatively, the first encoded image includes: m sub-coding patterns obtained by splitting any coding pattern in the second coding image are separated from each other and displayed; m is a positive integer greater than 1.
After receiving the first input, the terminal equipment displays the first coded image, wherein the first coded image comprises part of M sub-coded patterns obtained by splitting any one of the second coded images; or the first coded image comprises all the sub-coded patterns, and all the sub-coded patterns are displayed separately from each other, so that the first coded image cannot be identified by the code scanning equipment, and the risk of the coded image being stolen is reduced. Then, when the terminal device detects that the code scanning device scans the first code image and the code scanning device is a safety device, a second code image is displayed, and the second code image contains a complete code pattern, so that the second code image can be identified by the code scanning device, further payment can be completed, and the safety of the payment process is ensured.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be configured to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the received downlink data with the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices through a wireless communication system.
Terminal device 100 provides wireless broadband internet access to users, such as helping users send and receive e-mail, browse web pages, access streaming media, etc., via network module 102.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal device 100. The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used for receiving an audio or video signal. The input unit 104 may include a graphic ProcessingUnit, GPU and a microphone 1042, and the graphic 1041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. Microphone 1042 may receive sound and be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode.
The terminal device 100 further comprises at least one sensor 105, such as a light sensor, a motion sensor and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the terminal device 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when the accelerometer sensor is stationary, and can be used for recognizing the gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking) and the like of the terminal equipment; the sensor 105 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal device 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device 100, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the terminal device 100, which is not limited herein.
The interface unit 108 is an interface to which an external device is connected to the terminal apparatus 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the terminal device 100, connects respective parts of the entire terminal device 100 using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device 100. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system.
In addition, the terminal device 100 includes some functional modules, which are not shown, and will not be described herein.
Optionally, the embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor 110, where the computer program when executed by the processor implements each process of the embodiment of the image display method, and the process can achieve the same technical effect, so that repetition is avoided, and details are not repeated here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above embodiment of the image display method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the embodiments of the present invention are not limited to the above-described specific embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the embodiments of the present invention and the scope of the claims, which are to be protected by the embodiments of the present invention.

Claims (8)

1. An image display method applied to a terminal device, the method comprising:
receiving a first input;
displaying a first encoded image in response to the first input;
displaying a second coded image when the code scanning device is detected to scan the first coded image and the code scanning device is a safety device;
wherein the first encoded image comprises: partial sub-coding patterns in M sub-coding patterns obtained after any coding pattern in the second coding image is split; alternatively, the first encoded image includes: the M sub-coding patterns obtained by splitting any coding pattern in the second coding image are displayed separately from each other; m is a positive integer greater than 1;
In the case where the first input is a press input, after the receiving the first input, the method further includes:
and responding to the pressing input, determining the number N of split sub-coding images corresponding to the pressing input, splitting the second coding image into N sub-coding images, wherein the first coding image specifically comprises at least one of the N sub-coding images, each sub-coding image comprises a part of sub-coding pattern, and N is a positive integer greater than 1.
2. The method of claim 1, wherein displaying a second encoded image if the code scanning device is detected to scan the first encoded image and the code scanning device is a security device comprises:
receiving a second input to the first encoded image;
and responding to the second input, detecting that the code scanning device scans the first coded image, and displaying a second coded image by using the code scanning device as a safety device.
3. The method of claim 1, wherein the terminal device comprises a first screen and a second screen; the terminal device comprises a first screen and a second screen; the first coded image comprises X sub-coded images, X is a positive integer greater than 1, and X is less than or equal to N;
The displaying a first encoded image includes:
displaying a first sub-coded image of the X sub-coded images on the first screen, and displaying other sub-coded images of the X sub-coded images except the first sub-coded image on the second screen.
4. A terminal device, characterized in that the terminal device comprises:
a receiving module for receiving a first input;
a display module for displaying a first encoded image in response to the first input received by the receiving module;
the display module is further used for displaying a second coded image when the code scanning device is detected to scan the first coded image and the code scanning device is a safety device;
wherein the first encoded image comprises: partial sub-coding patterns in M sub-coding patterns obtained after any coding pattern in the second coding image is split; or the first coding image comprises M sub coding patterns obtained by splitting any coding pattern in the second coding image, and the M sub coding patterns are displayed separately; m is a positive integer greater than 1;
the terminal device further includes: a determining module;
The determining module is configured to determine, in response to the receiving module receiving a pressing input, a number N of split sub-encoded images corresponding to the pressing input, and split the second encoded image into N sub-encoded images, where the first encoded image specifically includes at least one of the N sub-encoded images, each sub-encoded image includes a partial sub-encoded pattern, and N is a positive integer greater than 1.
5. The terminal device of claim 4, wherein the terminal device,
the receiving module is further configured to receive a second input to the first encoded image;
the display module is specifically configured to respond to the second input received by the receiving module, detect that the code scanning device scans the first encoded image, and display a second encoded image with the code scanning device being a security device.
6. The terminal device of claim 5, wherein the terminal device,
the display module is specifically configured to display, when the terminal device includes a first screen and a second screen and the first encoded image includes X sub-encoded images, a first sub-encoded image of the X sub-encoded images on the first screen, and display, on the second screen, other sub-encoded images of the X sub-encoded images except for the first sub-encoded image; wherein X is a positive integer greater than 1, and X is less than or equal to N.
7. A terminal device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the image display method according to any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the image display method according to any one of claims 1 to 3.
CN201911230089.XA 2019-12-04 2019-12-04 Image display method and terminal equipment Active CN111126996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911230089.XA CN111126996B (en) 2019-12-04 2019-12-04 Image display method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911230089.XA CN111126996B (en) 2019-12-04 2019-12-04 Image display method and terminal equipment

Publications (2)

Publication Number Publication Date
CN111126996A CN111126996A (en) 2020-05-08
CN111126996B true CN111126996B (en) 2023-11-21

Family

ID=70497390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911230089.XA Active CN111126996B (en) 2019-12-04 2019-12-04 Image display method and terminal equipment

Country Status (1)

Country Link
CN (1) CN111126996B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748856A (en) * 2017-10-27 2018-03-02 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
WO2018233584A1 (en) * 2017-06-20 2018-12-27 腾讯科技(深圳)有限公司 Method, device, computer apparatus, and storage medium for transferring account value
CN109523270A (en) * 2018-12-21 2019-03-26 维沃移动通信有限公司 A kind of information processing method and terminal device
CN109521978A (en) * 2018-09-28 2019-03-26 维沃移动通信有限公司 A kind of content display method and terminal device
CN109656450A (en) * 2018-11-28 2019-04-19 维沃移动通信有限公司 A kind of image display method and terminal device
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN110490583A (en) * 2019-07-22 2019-11-22 维沃移动通信有限公司 Method of payment and terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018233584A1 (en) * 2017-06-20 2018-12-27 腾讯科技(深圳)有限公司 Method, device, computer apparatus, and storage medium for transferring account value
CN107748856A (en) * 2017-10-27 2018-03-02 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
CN109521978A (en) * 2018-09-28 2019-03-26 维沃移动通信有限公司 A kind of content display method and terminal device
CN109656450A (en) * 2018-11-28 2019-04-19 维沃移动通信有限公司 A kind of image display method and terminal device
CN109523270A (en) * 2018-12-21 2019-03-26 维沃移动通信有限公司 A kind of information processing method and terminal device
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN110490583A (en) * 2019-07-22 2019-11-22 维沃移动通信有限公司 Method of payment and terminal device

Also Published As

Publication number Publication date
CN111126996A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111107222B (en) Interface sharing method and electronic equipment
WO2020063091A1 (en) Picture processing method and terminal device
CN110443330B (en) Code scanning method and device, mobile terminal and storage medium
WO2019174628A1 (en) Photographing method and mobile terminal
CN109002340B (en) Screen locking method and electronic equipment
CN111031398A (en) Video control method and electronic equipment
CN109241775B (en) Privacy protection method and terminal
CN108763317B (en) Method for assisting in selecting picture and terminal equipment
WO2019174541A1 (en) Operation method for mobile terminal and mobile terminal
WO2021004327A1 (en) Method for setting application permission, and terminal device
CN111078076A (en) Application program switching method and electronic equipment
WO2020220873A1 (en) Image display method and terminal device
CN110865745A (en) Screen capturing method and terminal equipment
CN109828731B (en) Searching method and terminal equipment
CN110795007B (en) Method and device for acquiring screenshot information
CN108459788B (en) Picture display method and terminal
CN110703972B (en) File control method and electronic equipment
CN110908555A (en) Icon display method and electronic equipment
CN111444540A (en) Display method, electronic device, and medium
CN111383175A (en) Picture acquisition method and electronic equipment
CN108153460B (en) Icon hiding method and terminal
CN111124231B (en) Picture generation method and electronic equipment
CN110209324B (en) Display method and terminal equipment
CN111274842A (en) Method for identifying coded image and electronic equipment
CN111338525A (en) Control method of electronic equipment and electronic equipment

Legal Events

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