CN114548343A - Graphic code display method, terminal and computer readable storage medium - Google Patents
Graphic code display method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN114548343A CN114548343A CN202011360275.8A CN202011360275A CN114548343A CN 114548343 A CN114548343 A CN 114548343A CN 202011360275 A CN202011360275 A CN 202011360275A CN 114548343 A CN114548343 A CN 114548343A
- Authority
- CN
- China
- Prior art keywords
- graphic code
- target
- code
- preset
- displaying
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000010586 diagram Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000000875 corresponding effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 229910002056 binary alloy Inorganic materials 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008033 biological extinction Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3274—Short 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a graphic code display method, a terminal and a computer readable storage medium. The graphic code display method comprises the following steps: the terminal responds to the graphic code display instruction to obtain a target graphic code; before a preset trigger instruction is detected, the target graphic code is not displayed; and after a preset trigger instruction is detected, displaying the target graphic code. By the scheme, the display safety of the target graphic code can be improved.
Description
Technical Field
The present application relates to the field of image display technologies, and in particular, to a graphic code display method, a terminal, and a computer-readable storage medium.
Background
With the increasing popularization and technical development of terminals, particularly smart phones, and the appearance of graphic codes such as two-dimensional codes and bar codes, mobile payment, information authentication and other functions can be realized by scanning the graphic codes, and great convenience is brought to daily life of people. Taking two-dimension code display as an example, the two-dimension code can be displayed by a mobile phone to realize charge collection or charge entry, and the method is widely applied to occasions of taking buses, shopping in supermarkets and the like. However, the graphic code is often stolen by a malicious third party in the display process to cause economic loss, so that the graphic code is not displayed safely.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a graphic code display method, a terminal and a computer readable storage medium, which can improve the safety of graphic code display.
A first aspect of the present application provides a graphic code display method, including: the terminal responds to the graphic code display instruction to obtain a target graphic code; before a preset trigger instruction is detected, the target graphic code is not displayed; and after a preset trigger instruction is detected, displaying the target graphic code.
Wherein, the detecting of the preset trigger instruction includes: detecting one or more of a fingerprint instruction, a voice instruction and a key instruction input by a user; and/or detecting that the distance between the device and the graphic code recognition device is within a preset range.
Wherein the not displaying the target graphic code comprises: and extinguishing a display screen of the terminal or displaying an interference pattern.
Wherein, prior to the displaying the interference pattern, the method further comprises: exchanging pixel values between a first pixel point and a second pixel point in the target graphic code to obtain the interference graphic; the pixel value of the first pixel point before being exchanged is larger than a preset pixel value, and the pixel value of the second pixel point before being exchanged is smaller than the preset pixel value.
Wherein, prior to the displaying the interference pattern, the method further comprises: dividing the target graphical code into a plurality of regions; performing preset processing on the plurality of areas, wherein the preset processing comprises adjusting the position of at least one area and/or deleting at least one area; and forming the interference pattern by using the preset regions.
Wherein, prior to the displaying the interference pattern, the method further comprises: and reducing the target graphic code to a preset size to obtain the interference graphic.
Wherein the displaying the interference pattern comprises: and displaying the target graphic code, and displaying the interference graphic on a layer covering the target graphic code.
Wherein, the obtaining the target graphic code comprises: sending a graphic code generation request containing user information to a server, and receiving the target graphic code generated by the server according to the user information; and/or the target graphic code and the interference graphic are two-dimensional codes.
A second aspect of the present application provides a terminal, comprising: a memory and a processor coupled to each other; the processor is used for executing the program instructions stored in the memory to realize the graphic code display method of the first aspect.
A third aspect of the present application provides a computer readable storage medium, on which program instructions capable of being executed by a processor are stored, the program instructions being used for implementing the graphic code display method of the first aspect.
In the scheme, the terminal does not display the target graphic code in the time period after the terminal responds to the graphic code display instruction and obtains the target graphic code and before the preset trigger instruction is detected, and the target graphic code is not displayed until the preset trigger instruction is detected, so that the target graphic code is not really displayed before the preset trigger instruction is detected, the possibility that the target graphic code is maliciously stolen is reduced, and the display safety of the target graphic code is improved.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a graphic code display method according to the present application;
FIG. 2 is a diagram illustrating a target graphic code in an embodiment of a graphic code display method;
FIG. 3 is a diagram illustrating an interference pattern in an embodiment of a graphic code display method;
FIG. 4 is a block diagram of an embodiment of a terminal of the present application;
FIG. 5 is a block diagram of an embodiment of a computer-readable storage medium of the present application.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a graphic code display method according to an embodiment of the present application. Specifically, the method of the present embodiment includes the following steps:
step S11: and the terminal responds to the graphic code display instruction to acquire the target graphic code.
The terminal includes, but is not limited to, terminal devices such as smart phones, wearable devices, computers, and the like. The graphic code display instruction is used for triggering the terminal to acquire the target graphic code, but does not trigger the terminal to directly display the target graphic code. And the terminal receives and responds to the graphic code display instruction, and the target graphic code can be obtained.
The target graphic code includes, but is not limited to, a bar code (barcode), a two-dimensional bar code (2-dimensional bar code), and the like, which record user information. The bar code is a graphic identifier in which a plurality of black bars and spaces having different widths are arranged according to a certain encoding rule to express a set of information. The two-dimensional code is a pattern which is distributed on a plane (in a two-dimensional direction) according to a certain rule by using a certain specific geometric figure, is black and white and is alternated and records data symbol information; the concept of 0 and 1 bit stream forming the internal logic base of computer is used skillfully in code making, several geometric forms corresponding to binary system are used to represent literal numerical value information, and the information can be automatically read by image code recognition device of image input equipment or photoelectric scanning equipment so as to implement automatic information processing. The target graphic code is a graphic code to be finally displayed and also to be hidden and protected before being finally displayed in the embodiment of the present disclosure.
In a disclosed embodiment, the terminal may send a graphic code generation request including user information to the server, and receive a target graphic code generated by the server according to the user information, that is, the target graphic code may be obtained. The user information may be String-type String information, for example, including personal information of the user, a bank card number used for payment, an order number, order information, a date, a customer signature, and the like. The terminal sends the user information to the server, and the server can call a preset method for generating the target graphic code according to the user information to generate a unique target graphic code. The target graphic code may also be a graphic code sent by receiving other terminals, and the acquisition mode of the target graphic code is not specifically limited herein.
Step S12: and before the preset trigger instruction is detected, the target graphic code is not displayed.
Generally, a terminal responds to a graphic code display instruction, obtains a target graphic code and then directly displays the target graphic code, and on the basis, safety protection is not performed in the process that the actual display of the graphic code is automatically read by a graphic code recognition device so as to realize automatic information processing. In the embodiment of the present disclosure, although the target graphic code is already acquired, the target graphic code is not actually displayed before the preset trigger instruction is detected, so that the target graphic code is hidden.
The non-displaying of the target graphic code may include an implementation manner of hiding the target graphic code such as turning off a display screen of the terminal, displaying an interference graphic, not turning off the display screen of the terminal but not displaying the graphic.
In a disclosed embodiment, the target graphic code may not be displayed until the preset trigger command is detected, for example, the display screen of the terminal is turned off, so that the target graphic code is hidden. It can be understood that the display screen of the extinction terminal is only one of the modes that the target graphic code is not displayed, and in other embodiments, the non-display of the target graphic code can also be realized in other modes, which is not specifically limited herein.
In a disclosed embodiment, the target pattern code can be hidden by displaying the interference pattern before the preset trigger instruction is detected. The interference pattern may be any pattern that can be displayed on the terminal, for example, the interference pattern may be a pattern used for hiding the target pattern code, which is completely unrelated to the target pattern code, or the interference pattern may be a pattern obtained by performing a preset process on the target pattern code, which is not limited herein. When the interference graph is displayed, the interference graph can be directly displayed; the target graphic code can be displayed, the interference graphic can be displayed on the layer covering the target graphic code, and the interference graphic can be dynamically displayed, so that the display mode of the interference graphic is not particularly limited.
In a disclosed embodiment, the interface of the terminal may be maintained before the preset trigger instruction is detected, so that the display screen of the terminal is not extinguished, and neither the target graphic code nor the interference graphic is displayed.
Step S13: and after a preset trigger instruction is detected, displaying the target graphic code.
The preset trigger instruction is used for triggering display of the target graphic code, and the target graphic code is displayed only after the preset trigger instruction is detected, so that the target graphic code is hidden and not displayed in a time period from the acquisition of the target graphic code to the detection of the preset trigger instruction, and the safety problem that the target graphic code is maliciously stolen before the preset trigger instruction is detected is avoided.
The specific form of detecting the preset trigger instruction is not particularly limited. For example, the detection of the preset trigger instruction may be the detection of one or more of a fingerprint instruction, a voice instruction and a key instruction input by the user; the detection of the preset trigger instruction may be the detection that the distance between the graphic code recognition device and the graphic code recognition device is within a preset range. The graphic code recognition device is a device capable of acquiring user information from a graphic code, and includes, but is not limited to, a graphic code cash register, an image input device, an optoelectronic scanning device, and the like, and is not particularly limited herein. The distance between the terminal and the graphic code recognition device can be obtained by a distance sensor, for example, the terminal is provided with the distance sensor, so that the distance between the terminal and the graphic code recognition device detected by the distance sensor is directly obtained, and when the distance between the terminal and the graphic code recognition device is within a preset range, a preset trigger instruction is generated, so that a target graphic code is displayed in response to the preset trigger instruction. In another embodiment, the terminal acquires the distance between the terminal and the graphic code recognition device detected by the external distance sensor. The preset range can be customized according to actual needs, for example, ten centimeters, ten millimeters, and the like, and is not specifically limited herein.
Through the mode, the terminal hides the target graphic code by not displaying the target graphic code or displaying the interference graph in the time period after responding to the graphic code display instruction and acquiring the target graphic code and before detecting the preset trigger instruction, and the target graphic code is displayed until the preset trigger instruction is detected, so that the target graphic code is not really displayed before the preset trigger instruction is detected, the target graphic code is prevented from being maliciously stolen, and the display safety of the target graphic code is improved.
Before a preset trigger instruction is detected, in order to improve the display safety of the target graphic code and protect user information of the target graphic code, various implementation modes for hiding the target graphic code exist in the application. The specific analysis is as follows:
in a disclosed embodiment, the terminal responds to the graphic code display instruction to acquire the target graphic code, then the display screen of the terminal is turned off to hide the target graphic code, and after the preset trigger instruction is detected, the target graphic code is displayed.
In a disclosed embodiment, the database of the terminal stores a plurality of interference patterns which are not associated with the target pattern code in advance, and the interference patterns include but are not limited to a blank paper. And the terminal responds to the graphic code display instruction, acquires a target graphic code, acquires a pre-stored interference graphic from the database, displays the interference graphic, and displays the target graphic code after detecting a preset trigger instruction.
In a disclosed embodiment, in a networking state, the terminal can respond to a graphic code display instruction to obtain a target graphic code, download an interference graphic through a preset website, display the interference graphic, and display the target graphic code after detecting a preset trigger instruction.
The interference pattern may be generated from the target pattern code, but may not be completely correlated with the target pattern code when the interference pattern is obtained from the database or downloaded through the preset website.
In a disclosed embodiment, before displaying the interference pattern, the pixel values between the first pixel point and the second pixel point in the target pattern code are exchanged to obtain the interference pattern. The pixel value of the first pixel point before being exchanged is larger than the preset pixel value, and the pixel value of the second pixel point before being exchanged is smaller than the preset pixel value. The specific size of the pixel value of the first pixel point and the second pixel point in the target graphic code is not limited specifically. In an application scene, a target graphic code is taken as a two-dimensional code as an example, and the two-dimensional code records data symbol information by using black and white alternate graphics which are distributed on a plane (in a two-dimensional direction) according to a certain rule by using a certain specific geometric figure. The pixel values of a first pixel point and a second pixel point of a two-dimensional code serving as a target graphic code correspond to black and white respectively, and the pixel values between the first pixel point and the second pixel point in the two-dimensional code are exchanged to obtain interference patterns of which the pixel values of the first pixel point and the second pixel point correspond to white and black respectively.
In a disclosed embodiment, before displaying the interference pattern, the target pattern code is divided into a plurality of areas; and performing preset processing on the plurality of regions, and forming an interference pattern by using the preset processed regions. The preset processing includes, but is not limited to, adjusting the position of the at least one area and/or deleting the at least one area. The areas and shapes of the regions may be the same or different, and the specific shape types may be triangles, squares, and the like, all of which are not specifically limited. In an application scene, a target graphic code is divided into a plurality of areas with the same area and shape, when the position of at least one area is adjusted, at least one area pair is determined from the plurality of areas, and the positions of two areas in each area pair are exchanged, so that an image formed after the positions of the areas are exchanged is used as an interference graph. In an application scene, the target graphic code is divided into a plurality of regions, the areas and the shapes of the regions can be the same or different, and at least one region is moved to enable the moved region and the rest regions to be in different layers, so that the position of at least one region is adjusted, and an interference graphic is obtained. In an application scene, dividing a target graphic code into a plurality of areas, deleting at least one area, and forming an interference graphic by using the remaining areas. As shown in fig. 2 and fig. 3, fig. 2 is a schematic diagram of a target graphic code in an embodiment of a graphic code display method; fig. 3 is a schematic diagram of an interference pattern in an embodiment of a graphic code display method. The target graphic code is a two-dimensional code, the two-dimensional code is divided into four areas, and one area at the upper left corner is deleted to form an interference graph as shown in fig. 3. Taking a target graphic code as an example of a two-dimensional code, the two-dimensional code skillfully utilizes the concepts of '0' and '1' bit streams forming the internal logic basis of a computer in code compilation, uses a plurality of geometric shapes corresponding to binary systems to represent literal numerical value information, and automatically recognizes and reads through a graphic code recognition device to realize automatic information processing, so that an interference graph for protecting the target graphic code can be obtained by adjusting and/or deleting the position of at least one area of the target graphic code.
In a disclosed embodiment, before displaying the interference pattern, the target pattern code is reduced to a preset size to obtain the interference pattern. In an application embodiment, the screen size of a terminal is obtained; calculating the size of the interference pattern based on the screen size and a preset adjustment ratio; and adjusting the size of the target graphic code by the size of the interference graph. The preset size and the adjustment ratio can be set by self-definition, and are not limited specifically herein. In an application scene, the distance between the terminal and the graphic code recognition device can be acquired through the distance sensor, and the adjustment ratio is set within a preset ratio range according to the distance. The distance and the adjustment ratio can be in a direct proportional relation, and the preset ratio range can be set in a user-defined mode. In an application scene, after the target graphic code is reduced to a preset size to obtain an interference graphic, the position of the interference graphic can be adjusted.
After the interference pattern is obtained, the target pattern code can be prevented from being displayed before the preset trigger command is detected by displaying the interference pattern. Specifically, the interference pattern may be directly displayed; the target graphical code may be displayed and the interference graph is displayed on a layer overlaying the target graphical code. When the target graphic code and the interference graphic are respectively positioned on different graphic layers, the interference graphic can completely cover the target graphic code, and the interference graphic can also partially cover the target graphic code.
To facilitate understanding of the present application, the following description is made with reference to a specific example:
two-dimensional code payment is widely applied in life as a currently popular payment mode. The two-dimension code payment is generally payment through accounts of third-party payment platforms, and the third-party payment platforms can be platforms with payment functions such as a payment treasure and a WeChat. Generally, when a two-dimensional code is actually displayed on a card reader, an image input device, a photoelectric scanning device, or other graphic code recognition devices, the two-dimensional code is always in a state of being effectively recognized, and the two-dimensional code may be stolen maliciously in the meantime. In an application scene, the target graphic code and the interference graphic are two-dimensional codes. In order to protect user information at the final code scanning stage of the two-dimensional code, before the two-dimensional code is displayed to the graphic code recognition device, the two-dimensional code to be displayed really is automatically confused by using an interference graph, or a screen is automatically turned off and does not display the two-dimensional code serving as a target graphic code, and the target graphic code is displayed after a preset trigger instruction is detected, so that data leakage is avoided in the actual code scanning, and property safety is protected.
Referring to fig. 4, fig. 4 is a schematic diagram of a framework of an embodiment of the terminal of the present application. Specifically, the terminal 400 in this embodiment includes a memory 410 and a processor 420 coupled to each other. The memory 410 is used for storing program instructions and data required to be stored when the processor 420 processes the program instructions.
The processor 420 controls the memory 410 and itself to implement the steps of any of the above-described graphic code display methods. Processor 420 may also be referred to as a CPU (Central Processing Unit). Processor 420 may be an integrated circuit chip having signal processing capabilities. The Processor 420 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 420 may be implemented collectively by a plurality of circuit-forming chips.
In a disclosed embodiment, the terminal 400 may further include a distance sensor 430, and the processor 420 is further configured to control the distance sensor 430, so that the distance sensor 430 detects a distance between the terminal 400 and the graphic code recognition device, so that the processor 420 generates a preset trigger instruction when the distance between the terminal 400 and the graphic code recognition device is within a preset range, thereby displaying the target graphic code. In another embodiment, the terminal 400 may not include the distance sensor 430, and the terminal 400 includes a communication circuit, and the processor 420 is connected to the external distance sensor through the communication circuit to obtain the distance between the terminal 400 and the graphic code recognition device detected by the external distance sensor.
The processor 420 of this embodiment controls the memory 410 and itself to implement the steps of any embodiment of the graphic code display method, and reference may be made to the related description of the corresponding steps of the above embodiments.
Referring to fig. 5, fig. 5 is a schematic diagram of a memory device 500 according to an embodiment of the present application. The storage device 500 of the present application stores program instructions 501 capable of being executed by a processor, and the program instructions 501 are used for implementing steps of any one of the embodiments of the graphic code display method described above.
The storage device 500 may be a medium that can store the program instructions 501, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, or may be a server that stores the program instructions 501, and the server may send the stored program instructions 501 to other devices for operation, or may self-operate the stored program instructions 501.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Claims (10)
1. A graphic code display method is characterized by comprising the following steps:
the terminal responds to the graphic code display instruction to obtain a target graphic code;
before a preset trigger instruction is detected, the target graphic code is not displayed;
and after a preset trigger instruction is detected, displaying the target graphic code.
2. The method of claim 1, wherein the detecting of the preset trigger instruction comprises:
detecting one or more of a fingerprint instruction, a voice instruction and a key instruction input by a user; and/or the presence of a gas in the gas,
and detecting that the distance between the terminal and the graphic code recognition device is within a preset range.
3. The method of claim 1, wherein said not displaying the target graphical code comprises:
and extinguishing a display screen of the terminal or displaying an interference pattern.
4. The method of claim 3, wherein prior to said displaying the interference pattern, the method further comprises:
exchanging pixel values between a first pixel point and a second pixel point in the target graphic code to obtain the interference graphic; the pixel value of the first pixel point before being exchanged is larger than a preset pixel value, and the pixel value of the second pixel point before being exchanged is smaller than the preset pixel value.
5. The method of claim 3, wherein prior to said displaying the interference pattern, the method further comprises:
dividing the target graphical code into a plurality of regions;
performing preset processing on the plurality of areas, wherein the preset processing comprises adjusting the position of at least one area and/or deleting at least one area;
and forming the interference pattern by using the preset regions.
6. The method of claim 3, wherein prior to said displaying the interference pattern, the method further comprises:
and reducing the target graphic code to a preset size to obtain the interference graphic.
7. The method of claim 3, wherein displaying the interference pattern comprises:
and displaying the target graphic code, and displaying the interference graphic on a layer covering the target graphic code.
8. The method of claim 1, wherein the obtaining the target pattern code comprises:
sending a graphic code generation request containing user information to a server, and receiving the target graphic code generated by the server according to the user information;
and/or the target graphic code and the interference graphic are two-dimensional codes.
9. A terminal, comprising a memory and a processor coupled to each other, the processor being configured to execute program instructions stored in the memory to implement the graphic code display method of any one of claims 1 to 8.
10. A computer readable storage medium having stored thereon program instructions, which when executed by a processor, implement the graphic code display method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011360275.8A CN114548343A (en) | 2020-11-27 | 2020-11-27 | Graphic code display method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011360275.8A CN114548343A (en) | 2020-11-27 | 2020-11-27 | Graphic code display method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114548343A true CN114548343A (en) | 2022-05-27 |
Family
ID=81668345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011360275.8A Pending CN114548343A (en) | 2020-11-27 | 2020-11-27 | Graphic code display method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114548343A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116151297A (en) * | 2023-04-19 | 2023-05-23 | 安徽瑞邦数科科技服务有限公司 | Dynamic two-dimensional code system and device based on time transformation mechanism |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145795A (en) * | 2017-04-28 | 2017-09-08 | 广东欧珀移动通信有限公司 | Screenshot method, device and computer equipment |
CN108491748A (en) * | 2018-04-02 | 2018-09-04 | 腾讯音乐娱乐科技(深圳)有限公司 | The identification and generation method of graphic code, device and computer readable storage medium |
CN109697494A (en) * | 2018-12-21 | 2019-04-30 | 南京维沃软件技术有限公司 | A kind of graphic code display methods and terminal device |
CN111813309A (en) * | 2020-07-10 | 2020-10-23 | 维沃移动通信有限公司 | Display method, display device, electronic equipment and readable storage medium |
-
2020
- 2020-11-27 CN CN202011360275.8A patent/CN114548343A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145795A (en) * | 2017-04-28 | 2017-09-08 | 广东欧珀移动通信有限公司 | Screenshot method, device and computer equipment |
CN108491748A (en) * | 2018-04-02 | 2018-09-04 | 腾讯音乐娱乐科技(深圳)有限公司 | The identification and generation method of graphic code, device and computer readable storage medium |
CN109697494A (en) * | 2018-12-21 | 2019-04-30 | 南京维沃软件技术有限公司 | A kind of graphic code display methods and terminal device |
CN111813309A (en) * | 2020-07-10 | 2020-10-23 | 维沃移动通信有限公司 | Display method, display device, electronic equipment and readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116151297A (en) * | 2023-04-19 | 2023-05-23 | 安徽瑞邦数科科技服务有限公司 | Dynamic two-dimensional code system and device based on time transformation mechanism |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107742362B (en) | PIN verification | |
US20200005273A1 (en) | Authentication Device & Related Methods | |
US9430635B2 (en) | Secure display element | |
US9613356B2 (en) | Secure passcode entry user interface | |
US20110176705A1 (en) | Information processing device, information processing system and program | |
CN108648132B (en) | Method, system, terminal and medium for generating watermark according to image | |
KR20150059466A (en) | Method and apparatus for recognizing object of image in electronic device | |
AU2014327030A1 (en) | Scrambling passcode entry interface | |
CN106843660B (en) | Data processing method and equipment thereof | |
CN112581344A (en) | Image processing method and device, computer equipment and storage medium | |
US10805501B2 (en) | Converting biometric data into two-dimensional images for use in authentication processes | |
CN106815534A (en) | A kind of method for protecting privacy of user, device and mobile terminal | |
US20150006405A1 (en) | System and methods for secure entry of a personal identification number (pin) using multi-touch trackpad technologies | |
CN114548343A (en) | Graphic code display method, terminal and computer readable storage medium | |
CN107977841A (en) | The method and its terminal of two-dimension code safe payment are realized based on driving layer | |
KR20140134396A (en) | System and method for Preventing a lost child using code recognition | |
CN110187806B (en) | Fingerprint template input method and related device | |
CN111126996A (en) | Image display method and terminal equipment | |
US20140143858A1 (en) | Processing arrangement and a method for processing information in a machine-to-human communications interface | |
CN101227682A (en) | Method and apparatus for protecting data safety in terminal | |
CN111401882A (en) | Two-dimensional code display method and device, storage medium and electronic equipment | |
JP2015099523A (en) | Identification information management device, identification information management method, and program | |
KR102305439B1 (en) | AR card for enhancing security and system for providing AR contents therewith | |
CN114499903B (en) | Data transmission method and related device in face recognition scene | |
CN108446083B (en) | Verification information display method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220527 |