Preview Method for QR Code Content, Related Device, and Computer Storage Medium

By identifying and sending the strings in the QR code to the server for analysis, generating augmented reality cards to display the risk level and content type, solving the security risks and inconvenience in scanning QR codes in the existing technology, and realizing safe and efficient QR code selection for users.

CN114707084BActive Publication Date: 2025-05-30BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210295114.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-24
Publication Date
2025-05-30
Estimated Expiration
2042-03-24

AI Technical Summary

Technical Problem

In the prior art, scanning the QR code for link jumps poses a security risk, especially when multiple QR codes exist, users need to scan one by one to determine the correct QR code, resulting in inconvenience and security risks.

Method used

Obtain the QR code through the client, identify and send strings to the server for analysis, generate augmented reality cards to display the risk level and content type, and guide users to select the QR code safely and efficiently.

Benefits of technology

It enables users to make safe and efficient choices when scanning QR codes, reduces safety risks and improves operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114707084B_ABST
    Figure CN114707084B_ABST
Patent Text Reader

Abstract

The present application provides a method for previewing two-dimensional code content, related devices, and a computer storage medium, which can be applied to the financial field, the computer field, the augmented reality field, etc. The method includes: after the client obtains at least one two-dimensional code by scanning a target area; for each two-dimensional code, identifying the string in the two-dimensional code and sending the strings in all two-dimensional codes to the server; the server analyzes the strings to obtain an analysis result of the strings; the analysis result at least includes: the risk level of the string and the content type of the string; receiving the analysis result of each string fed back by the server; generating an augmented reality card corresponding to the string; the augmented reality card corresponding to the string is located next to the two-dimensional code to which the string belongs, to indicate that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs. Thus, the purpose of allowing users to select two-dimensional codes for use more safely and efficiently is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and particularly to a method for previewing two-dimensional code content, related devices, and computer storage media. Background Art

[0002] Nowadays, scanning two-dimensional codes for link jumping has become quite popular. In the prior art, directly performing jumps has security risks. Moreover, when there are multiple two-dimensional codes in the scanned picture, the user needs to select which link to jump to by themselves. Since the content of the two-dimensional code is unknown, the user needs to directly scan and jump one by one, which also brings security risks. Additionally, it is necessary to scan each two-dimensional code one by one to determine whether the correct two-dimensional code has been scanned. Summary of the Invention

[0003] In view of this, this application provides a method for previewing two-dimensional code content, a device, an electronic device, and a computer storage media, which can preview the content in the two-dimensional code and display the risk level and content type of the content in the two-dimensional code to the user through an augmented reality card, enabling the user to more safely and efficiently select two-dimensional codes for use.

[0004] The first aspect of this application provides a method for previewing two-dimensional code content, which is applied to a client and includes:

[0005] Obtaining at least one two-dimensional code obtained by scanning a target area;

[0006] For each of the two-dimensional codes, identifying the string in the two-dimensional code;

[0007] Sending the strings in all the two-dimensional codes to a server; for each of the strings, the server analyzes the string to obtain an analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string;

[0008] Receiving the analysis result of each string fed back by the server;

[0009] For the analysis result of each string, generating an augmented reality card corresponding to the string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located next to the two-dimensional code to which the string belongs, and is indicated by a guide that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs.

[0010] Optionally, after generating the augmented reality card corresponding to each string for the analysis result of each string, it further includes:

[0011] Identify the augmented reality card selected by the user;

[0012] Jump to the link corresponding to the string corresponding to the augmented reality card selected by the user.

[0013] Optionally, after generating the augmented reality card corresponding to the string according to the analysis result of each string, it further includes:

[0014] If the analysis result of the string in only one augmented reality card indicates that the risk level of the string is low, then after a preset time, automatically jump to the link corresponding to the string in the augmented reality card.

[0015] The second aspect of the present application provides a method for previewing two-dimensional code content, which is applied to a server and includes:

[0016] Receive at least one string sent by the client;

[0017] For each string, analyze the string to obtain the analysis result of the string; wherein, the analysis result of the string at least includes: the risk level of the string and the content type of the string;

[0018] Feedback the analysis result of each string to the client.

[0019] Optionally, for each string, analyzing the string to obtain the analysis result of the string includes:

[0020] For each string, decrypt the string to obtain the plaintext uniform resource locator information;

[0021] Query in the database to obtain the risk level of the plaintext uniform resource locator information; wherein, the risk level of the plaintext uniform resource locator information is used to indicate the risk level of the string;

[0022] Crawl the target content in the link corresponding to the plaintext uniform resource locator information; wherein, the target content at least includes: content type;

[0023] Generate the analysis result of the string according to the risk level of the string and the content type.

[0024] The third aspect of the present application provides a two-dimensional code content preview device, which is applied to a client and includes:

[0025] An acquisition unit, configured to acquire at least one two-dimensional code obtained by scanning a target area;

[0026] A first recognition unit, configured to recognize, for each of the two-dimensional codes, a string in the two-dimensional code;

[0027] A first sending unit, configured to send the strings in all the two-dimensional codes to a server; the server analyzes each of the strings to obtain an analysis result of the string; the analysis result of the string at least includes: a risk level of the string and a content type of the string;

[0028] A first receiving unit, configured to receive the analysis result of each of the strings fed back by the server;

[0029] A first generating unit, configured to generate, for the analysis result of each of the strings, an augmented reality card corresponding to the string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located beside the two-dimensional code to which the string belongs, and is indicated by a guide that the augmented reality card corresponding to the string is a preview content of the two-dimensional code to which the string belongs.

[0030] Optionally, the preview device for two-dimensional code content further includes:

[0031] A second recognition unit, configured to recognize an augmented reality card selected by a user;

[0032] A first jump unit, configured to jump to a link corresponding to the string corresponding to the augmented reality card selected by the user.

[0033] Optionally, the preview device for two-dimensional code content further includes:

[0034] A second jump unit, configured to automatically jump to a link corresponding to the string in the augmented reality card after a preset time if the analysis result of the string in only one augmented reality card indicates that the risk level of the string is low.

[0035] A fourth aspect of the present application provides a preview device for two-dimensional code content, which is applied to a server and includes:

[0036] A second receiving unit, configured to receive at least one string sent by a client;

[0037] An analysis unit, configured to analyze each of the strings to obtain an analysis result of the string; wherein, the analysis result of the string at least includes: a risk level of the string and a content type of the string;

[0038] A second sending unit, configured to feed back the analysis result of each of the strings to the client.

[0039] Optionally, the analysis unit includes:

[0040] A decryption unit, configured to decrypt each of the strings to obtain the plaintext uniform resource locator information;

[0041] A query unit, configured to query the risk level of the plaintext uniform resource locator information in a database; wherein, the risk level of the plaintext uniform resource locator information is used to indicate the risk level of the string;

[0042] A crawling unit, configured to crawl the target content in the link corresponding to the plaintext uniform resource locator information; wherein, the target content at least includes: content type;

[0043] A second generating unit, configured to generate an analysis result of the string according to the risk level of the string and the content type.

[0044] A fifth aspect of the present application provides an electronic device, including:

[0045] One or more processors;

[0046] A storage device, on which one or more programs are stored;

[0047] When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the two-dimensional code content preview method according to any one of the first aspect, or the two-dimensional code content preview method according to any one of the second aspect.

[0048] A sixth aspect of the present application provides a computer storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the two-dimensional code content preview method according to any one of the first aspect, or the two-dimensional code content preview method according to any one of the second aspect.

[0049] As can be seen from the above solution, the present application provides a method for previewing two-dimensional code content, related devices, and a computer storage medium. The method for previewing two-dimensional code content includes: after the client obtains at least one two-dimensional code scanned from a target area; for each of the two-dimensional codes, identifying the string in the two-dimensional code; then, sending the strings in all the two-dimensional codes to the server; the server analyzes each of the strings to obtain an analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string; receiving the analysis result of each string fed back by the server; for the analysis result of each string, generating an augmented reality card corresponding to the string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located next to the two-dimensional code to which the string belongs, and is indicated by a guide that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs. Thus, the purpose of allowing users to select two-dimensional codes for use more safely and efficiently is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.

[0051] Figure 1 It is a specific flowchart of a method for previewing two-dimensional code content provided by an embodiment of the present application;

[0052] Figure 2 It is a flowchart of a method for previewing two-dimensional code content provided by another embodiment of the present application;

[0053] Figure 3 It is a schematic diagram of a two-dimensional code in a target area provided by another embodiment of the present application;

[0054] Figure 4 It is a schematic diagram of the preview situation of the two-dimensional code content in a target area provided by another embodiment of the present application;

[0055] Figure 5 It is a schematic diagram of a device for previewing two-dimensional code content applied to a client provided by another embodiment of the present application;

[0056] Figure 6 It is a schematic diagram of a device for previewing two-dimensional code content applied to a server provided by another embodiment of the present application;

[0057] Figure 7 A schematic diagram of an electronic device for implementing a method for previewing the content of a QR code provided in another embodiment of the present application. Detailed implementation manners

[0058] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0059] It should be noted that the concepts such as "first" and "second" mentioned in the present application are only used to distinguish different devices, modules or units, and are not used to limit the order or mutual dependence relationship of the functions performed by these devices, modules or units. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0060] The embodiments of the present application provide a method for previewing the content of a QR code, as Figure 1 shown, specifically including:

[0061] S101. The client obtains at least one QR code obtained by scanning a target area.

[0062] S102. For each QR code, the client identifies the string in the QR code.

[0063] S103. The client sends the strings in all the QR codes to the server.

[0064] For each string, the server analyzes the string to obtain an analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string.

[0065] S104. The server receives at least one string sent by the client.

[0066] S105. For each string, the server analyzes the string to obtain an analysis result of the string.

[0067] Among them, the analysis result of the string includes at least: the risk level of the string and the content type of the string. The risk level of the string can represent the risk level of the QR code to which the string belongs. The content type of the string can be understood as what kind of content can be obtained after opening the QR code to which the string belongs, such as text, picture, video, audio, installed software, etc., which is not limited here.

[0068] It should be noted that the risk level can be divided into high, medium, low, or A, B, C, D, etc., and the methods are very diverse, which are not limited here.

[0069] And it can be understood that in the specific implementation process of this application, not only the risk level can be displayed, but also a sensitivity can be set to more specifically show the content situation in the QR code.

[0070] Optionally, in another embodiment of this application, an implementation manner of step S105 is as Figure 2 shown, including:

[0071] S201. For each string, decrypt the string to obtain the plaintext uniform resource locator information.

[0072] It should be noted that a specific format is agreed upon when generating the QR code, such as starting with boc: / / , and then generating the QR code. After identifying the QR code, decrypt the string (such as querying and then replacing), and decrypt it into the plaintext uniform resource locator information (Uniform Resource Locator, URL).

[0073] S202. Query in the database to obtain the risk level of the plaintext uniform resource locator information.

[0074] Among them, the risk level of the plaintext uniform resource locator information is used to indicate the risk level of the string.

[0075] S203. Crawl the target content in the link corresponding to the plaintext uniform resource locator information.

[0076] Among them, the target content includes at least: the content type, and can also include the web page name, etc., which can be set and changed by technicians or relevant authorized personnel according to actual needs, which is not limited here.

[0077] S204. Generate the analysis result of the string according to the risk level and content type of the string.

[0078] S106. The server side feeds back the analysis result of each string to the client side.

[0079] S107. The client side receives the analysis result of each string fed back by the server side.

[0080] S108. The client generates an augmented reality card corresponding to the string based on the analysis result of each string.

[0081] Among them, the augmented reality card at least includes: the analysis result of the string; the augmented reality (AR) card corresponding to the string is located next to the two-dimensional code to which the string belongs, and it is indicated by guidance that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs.

[0082] Optionally, in another embodiment of the present application, an implementation manner of the two-dimensional code content preview method further includes:

[0083] Identify the augmented reality card selected by the user.

[0084] Jump to the link corresponding to the string corresponding to the augmented reality card selected by the user.

[0085] Optionally, in another embodiment of the present application, an implementation manner of the two-dimensional code content preview method further includes:

[0086] If the analysis result of the string in only one augmented reality card indicates that the risk level of the string is low, then after a preset time, automatically jump to the link corresponding to the string in the augmented reality card.

[0087] Among them, the preset time is pre-set and changed by technicians or relevant authorized staff, such as 2 seconds, 3 seconds, 5 seconds, etc., and is not limited here.

[0088] Now, an example of the embodiments of the present application is given. As Figure 3 shown, it is a schematic diagram of an image obtained when a user scans a target area using a mobile application. Figure 4 It is the preview situation obtained by previewing all two-dimensional codes in the target area after using the present application. It can be seen that the user can select the target two-dimensional code to be selected according to the content displayed by the augmented reality card, and effectively avoid selecting a two-dimensional code with a higher risk, thereby bringing unnecessary security hazards.

[0089] As can be seen from the above solution, the present application provides a method for previewing the content of a two-dimensional code: after the client obtains at least one two-dimensional code obtained by scanning a target area; for each two-dimensional code, the string in the two-dimensional code is identified; then, the strings in all the two-dimensional codes are sent to the server; the server analyzes each string to obtain the analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string; the analysis result of each string is received and fed back by the server; for the analysis result of each string, an augmented reality card corresponding to the string is generated; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located next to the two-dimensional code to which the string belongs, and it is indicated by a guide that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs. Thus, the purpose of allowing users to select two-dimensional codes for use more safely and efficiently is achieved.

[0090] It should be noted that the invention name provided by the present application can be applied to the financial field, the computer field, the augmented reality field, etc. And the above is only an example, and does not limit the application fields of the invention name provided by the present application.

[0091] Another embodiment of the present application provides a device for previewing the content of a two-dimensional code, which is applied to a client, as Figure 5 shown, and specifically includes:

[0092] An acquisition unit 501, configured to acquire at least one two-dimensional code obtained by scanning a target area.

[0093] A first recognition unit 502, configured to recognize the string in the two-dimensional code for each two-dimensional code.

[0094] A first sending unit 503, configured to send the strings in all the two-dimensional codes to the server.

[0095] In the specific implementation process of the present application, the server analyzes each string to obtain the analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string.

[0096] A first receiving unit 504, configured to receive the analysis result of each string fed back by the server.

[0097] A first generating unit 505, configured to generate an augmented reality card corresponding to the string for the analysis result of each string.

[0098] Among them, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located beside the two-dimensional code to which the string belongs, and is indicated by guidance that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs.

[0099] For the specific working process of the unit disclosed in the above embodiments of the present application, reference can be made to the corresponding method embodiment content, such as Figure 1 shown, which will not be elaborated here.

[0100] Optionally, in another embodiment of the present application, an implementation manner of the two-dimensional code content preview device applied to the client further includes:

[0101] A second recognition unit, configured to recognize the augmented reality card selected by the user.

[0102] A first jump unit, configured to jump to the link corresponding to the string corresponding to the augmented reality card selected by the user.

[0103] For the specific working process of the unit disclosed in the above embodiments of the present application, reference can be made to the corresponding method embodiment content, which will not be elaborated here.

[0104] Optionally, in another embodiment of the present application, an implementation manner of the two-dimensional code content preview device applied to the client further includes:

[0105] A second jump unit, configured to automatically jump to the link corresponding to the string in the augmented reality card after a preset time if the analysis result of the string in only one augmented reality card indicates that the risk level of the string is low.

[0106] For the specific working process of the unit disclosed in the above embodiments of the present application, reference can be made to the corresponding method embodiment content, which will not be elaborated here.

[0107] As can be seen from the above solution, the present application provides a preview device for two-dimensional code content applied to a client: after the acquisition unit 501 acquires at least one two-dimensional code obtained by scanning a target area; for each two-dimensional code, the first recognition unit 502 recognizes the string in the two-dimensional code; then, the first sending unit 503 sends the strings in all the two-dimensional codes to the server; the server analyzes each string to obtain an analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string; the first receiving unit 504 receives the analysis result of each string fed back by the server; the first generating unit 505 generates an augmented reality card corresponding to the string according to the analysis result of each string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located beside the two-dimensional code to which the string belongs, and it is indicated by guidance that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs. Thus, the purpose of allowing users to select two-dimensional codes for use more safely and efficiently is achieved.

[0108] Another embodiment of the present application provides a preview device for two-dimensional code content, which is applied to the server, as Figure 6 shown, and specifically includes:

[0109] The second receiving unit 601 is configured to receive at least one string sent by the client.

[0110] The analysis unit 602 is configured to analyze each string to obtain an analysis result of the string.

[0111] Wherein, the analysis result of the string at least includes: the risk level of the string and the content type of the string.

[0112] Optionally, in another embodiment of the present application, an implementation manner of the analysis unit 602 includes:

[0113] The decryption unit is configured to decrypt each string to obtain the plaintext uniform resource locator information.

[0114] The query unit is configured to query the risk level of the plaintext uniform resource locator information in the database.

[0115] Wherein, the risk level of the plaintext uniform resource locator information is used to indicate the risk level of the string.

[0116] The crawling unit is configured to crawl the target content in the link corresponding to the plaintext uniform resource locator information.

[0117] Wherein, the target content at least includes: the content type.

[0118] A second generation unit, configured to generate an analysis result of a string according to the risk level and content type of the string.

[0119] For the specific working process of the unit disclosed in the foregoing embodiments of the present application, reference may be made to the content of the corresponding method embodiment, as Figure 2 shown, which will not be elaborated herein.

[0120] A second sending unit 603, configured to feedback the analysis result of each string to the client.

[0121] For the specific working process of the unit disclosed in the foregoing embodiments of the present application, reference may be made to the content of the corresponding method embodiment, as Figure 1 shown, which will not be elaborated herein.

[0122] As can be seen from the above solution, the present application provides a preview device for two-dimensional code content applied to a server: after a second receiving unit 601 receives at least one string sent by a client, an analysis unit 602 analyzes each string to obtain an analysis result of the string. Among them, the analysis result of the string at least includes: the risk level of the string and the content type of the string. Finally, a second sending unit 603 feedbacks the analysis result of each string to the client. Thus, the client can generate an augmented reality card corresponding to the string according to the analysis result of each string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located beside the two-dimensional code to which the string belongs, and it is indicated by guidance that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs. Thus, the purpose of allowing users to select two-dimensional codes for use more safely and efficiently is achieved.

[0123] Another embodiment of the present application provides an electronic device, as Figure 7 shown, including:

[0124] One or more processors 701.

[0125] A storage device 702, on which one or more programs are stored.

[0126] When the one or more programs are executed by the one or more processors 701, the one or more processors 701 are caused to implement the two-dimensional code content preview method as described in any one of the foregoing embodiments.

[0127] Another embodiment of the present application provides a computer storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the two-dimensional code content preview method as described in any one of the foregoing embodiments.

[0128] In the above-described embodiments disclosed in the present application, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The apparatus and method embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of apparatuses, methods, and computer program products according to multiple embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0129] In addition, each functional module in the various embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part. If the functions are implemented in the form of software functional modules and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a live broadcast device, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present disclosure. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0130] Those skilled in the art can implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for previewing the content of a two-dimensional code, characterized in that, applied to a client, comprising: obtaining at least one two-dimensional code obtained by scanning a target area; for each of the two-dimensional codes, identifying the string in the two-dimensional code; sending the strings in all the two-dimensional codes to a server; for each of the strings, analyzing the string by the server to obtain an analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string; receiving the analysis result of each string fed back by the server; for the analysis result of each string, generating an augmented reality card corresponding to the string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located beside the two-dimensional code to which the string belongs, and is indicated by a guide that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs.

2. The preview method according to claim 1, characterized in that, after generating the augmented reality card corresponding to the string for the analysis result of each string, further comprising: identifying the augmented reality card selected by the user; jumping to the link corresponding to the string corresponding to the augmented reality card selected by the user.

3. The preview method according to claim 1, characterized in that, after generating the augmented reality card corresponding to the string for the analysis result of each string, further comprising: if the analysis result of the string in only one augmented reality card indicates that the risk level of the string is low, then after a preset time, automatically jumping to the link corresponding to the string in the augmented reality card.

4. A method for previewing the content of a two-dimensional code, characterized in that, applied to a server, comprising: receiving at least one string sent by a client; the string is the string in the two-dimensional code obtained by the client identifying each two-dimensional code obtained by scanning; for each of the strings, analyzing the string to obtain an analysis result of the string; wherein, the analysis result of the string at least includes: the risk level of the string and the content type of the string; feeding back the analysis result of each string to the client, so that the client generates an augmented reality card corresponding to the string for the analysis result of each string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located beside the two-dimensional code to which the string belongs, and is indicated by a guide that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs.

5. The preview method according to claim 4, characterized in that, for each of the strings, analyzing the string to obtain an analysis result of the string, including: for each of the strings, decrypting the string to obtain the plaintext uniform resource locator information; Query the risk level of the Uniform Resource Locator (URL) information of the plaintext in the database; wherein, the risk level of the URL information of the plaintext is used to indicate the risk level of the string. Crawl the target content in the link corresponding to the URL information of the plaintext; wherein, the target content at least includes: the content type. Generate an analysis result of the string according to the risk level of the string and the content type.

6. A preview device for two-dimensional code content Characterized in that Applied to the client side, it includes: An acquisition unit for acquiring at least one two-dimensional code obtained by scanning a target area. A first recognition unit for recognizing, for each of the two-dimensional codes, the string in the two-dimensional code. A first sending unit for sending the strings in all the two-dimensional codes to the server; the server analyzes each string to obtain an analysis result of the string; the analysis result of the string at least includes: the risk level of the string and the content type of the string. A first receiving unit for receiving the analysis result of each string fed back by the server. A first generating unit for generating, for the analysis result of each string, an augmented reality card corresponding to the string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located next to the two-dimensional code to which the string belongs, and is indicated by a guide that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs.

7. A preview device for two-dimensional code content Characterized in that Applied to the server side, it includes: A second receiving unit for receiving at least one string sent by the client; the string is the string in the two-dimensional code recognized by the client for each scanned two-dimensional code. An analysis unit for analyzing each string to obtain an analysis result of the string; wherein, the analysis result of the string at least includes: the risk level of the string and the content type of the string. A second sending unit for feeding back the analysis result of each string to the client, so that the client generates an augmented reality card corresponding to each string according to the analysis result of the string; wherein, the augmented reality card at least includes: the analysis result of the string; the augmented reality card corresponding to the string is located next to the two-dimensional code to which the string belongs, and is indicated by a guide that the augmented reality card corresponding to the string is the preview content of the two-dimensional code to which the string belongs.

8. The preview device according to claim 7 Characterized in that The analysis unit includes: A decryption unit for decrypting each string to obtain the Uniform Resource Locator (URL) information of the plaintext. A query unit for querying in a database to obtain the risk level of the uniform resource locator information of the plaintext; wherein the risk level of the uniform resource locator information of the plaintext is used to indicate the risk level of the string. A crawling unit for crawling the target content in the link corresponding to the uniform resource locator information of the plaintext; wherein the target content at least includes: content type. A second generating unit for generating an analysis result of the string according to the risk level of the string and the content type.

9. An electronic device characterized in that it includes: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for previewing two-dimensional code content according to any one of claims 1 to 3, or the method for previewing two-dimensional code content according to any one of claims 4 to 5.

10. A computer storage medium characterized in that a computer program is stored thereon, wherein when the computer program is executed by a processor, the method for previewing two-dimensional code content according to any one of claims 1 to 3, or the method for previewing two-dimensional code content according to any one of claims 4 to 5 is implemented.

Citation Information

Patent Citations

  • Risk identification method and device of small advertisement, terminal and storage medium

    CN108564087A