A method, device, equipment and storage medium for identifying damaged QR codes

Obtain the QR code scanned image through the mobile terminal and send it to the server for identification, and use the preset database to identify the damaged QR code, which solves the problem that the mobile terminal cannot recognize the damaged QR code and realizes the intelligent recognition and quick operation of the QR code. .

CN111401095BActive Publication Date: 2024-09-06NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN201910000595.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-01-02
Publication Date
2024-09-06
Estimated Expiration
2039-01-02

AI Technical Summary

Technical Problem

The mobile terminal cannot recognize the damaged QR code information, resulting in the inability to extract the data.

Method used

When the mobile terminal detects a damaged QR code, it obtains the scanned image information and prompts the user to enter auxiliary identification information, which is then sent to the server for identification. The server uses the preset QR code database and auxiliary information database for identification, and returns the identification results to the mobile terminal.

Benefits of technology

By users marking the damaged parts and inputting auxiliary information, the server can intelligently identify the damaged QR code and feed back the results, solving the problem of unrecognizable damaged QR codes and providing users with a quick way to operate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111401095B
    Figure CN111401095B
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for identifying a damaged QR code, and relates to the technical field of QR code recognition. The method comprises: when a mobile terminal detects that the QR code is damaged, obtaining QR code scanning picture information containing the damaged area of ​​the QR code; after obtaining the QR code scanning picture information, the mobile terminal prompts the user to input auxiliary identification information of the QR code, and sends the QR code scanning picture information and the auxiliary identification information to a server; the mobile terminal receives the QR code recognition result responded by the server according to the QR code scanning picture information and the auxiliary identification information, and performs an operation according to the QR code recognition result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of two-dimensional code recognition, and in particular to a method, device, equipment and storage medium for recognizing a damaged two-dimensional code. Background Art

[0002] QR Code (Quick Response Code) is a very popular encoding method on mobile devices in recent years. It can store more information and represent more data types than traditional Bar Code. Two-dimensional barcode / two-dimensional code (2-dimensional bar code) uses a certain geometric figure to record data symbol information in a black and white graphic distributed in a plane (two-dimensional direction) according to a certain rule; in the compilation of the code, it cleverly uses the concept of "0" and "1" bit streams that constitute the internal logic basis of the computer, and uses several geometric figures corresponding to binary to represent text numerical information, which is automatically read by image input devices or photoelectric scanning devices to realize automatic information processing: it has some common features of barcode technology: each code system has its own specific character set; each character occupies a certain width; has a certain verification function, etc. At the same time, it also has the function of automatically identifying information in different rows and processing graphic rotation change points.

[0003] However, when users use the camera on their mobile terminals to scan QR code images, the QR code cannot be recognized because it is damaged or too old. Therefore, the information contained in the QR code image cannot be identified, such as the QR codes on common shared bicycles and public equipment. Summary of the invention

[0004] The technical problem solved by the solution provided in the embodiment of the present invention is that the mobile terminal cannot recognize damaged QR code information.

[0005] A method for identifying a damaged QR code according to an embodiment of the present invention includes:

[0006] When the mobile terminal detects that the two-dimensional code is damaged, it obtains two-dimensional code scanned image information including the damaged area of ​​the two-dimensional code;

[0007] After acquiring the two-dimensional code scanning picture information, the mobile terminal prompts the user to input the auxiliary identification information of the two-dimensional code, and sends the two-dimensional code scanning picture information and the auxiliary identification information to the server;

[0008] The mobile terminal receives the two-dimensional code recognition result responded by the server according to the two-dimensional code scanning picture information and the auxiliary recognition information, and performs an operation according to the two-dimensional code recognition result.

[0009] Preferably, the auxiliary identification information includes a serial number and / or geographic location information.

[0010] Preferably, when the mobile terminal detects that the two-dimensional code is damaged, obtaining the two-dimensional code scanned image information including the damaged area of ​​the two-dimensional code includes:

[0011] When the mobile terminal detects that the two-dimensional code is damaged, obtaining a two-dimensional code scan image of the two-dimensional code;

[0012] The mobile terminal obtains the two-dimensional code scanning picture information including the two-dimensional code damaged area by receiving a user's click operation on the two-dimensional code damaged area in the two-dimensional code scanning picture.

[0013] A method for identifying a damaged QR code according to an embodiment of the present invention includes:

[0014] The server receives the QR code scanning image information and auxiliary identification information sent by the mobile terminal;

[0015] The server uses a preset two-dimensional code database to identify the two-dimensional code scan image information and the auxiliary identification information to obtain the two-dimensional code recognition result;

[0016] The server sends the QR code recognition result to the mobile terminal.

[0017] Preferably, the server uses a preset two-dimensional code database to identify the two-dimensional code scanning image information and the auxiliary identification information, and the two-dimensional code recognition result obtained includes:

[0018] The server uses a preset two-dimensional code image database to perform a first recognition on the two-dimensional code scan image information, and determines whether the first recognition is successful;

[0019] When it is determined that the first identification fails, the server uses a preset auxiliary information database to perform a second identification on the auxiliary identification information to determine whether the second identification is successful;

[0020] When it is determined that the first recognition or the second recognition is successful, the server obtains the QR code recognition result.

[0021] According to an embodiment of the present invention, a device for identifying a damaged two-dimensional code includes:

[0022] An acquisition module, configured to acquire, when detecting that the two-dimensional code is damaged, scanned image information of the two-dimensional code including the damaged area of ​​the two-dimensional code;

[0023] A sending module, configured to prompt a user to input auxiliary identification information of the QR code after acquiring the QR code scanning image information, and send the QR code scanning image information and the auxiliary identification information to a server;

[0024] The recognition result receiving module is used to receive the two-dimensional code recognition result responded by the server according to the two-dimensional code scanning picture information and the auxiliary recognition information, and perform operations according to the two-dimensional code recognition result.

[0025] Preferably, the auxiliary identification information includes a serial number and / or geographic location information.

[0026] According to an embodiment of the present invention, a device for identifying a damaged two-dimensional code includes:

[0027] A receiving module, used to receive the QR code scanning image information and auxiliary identification information sent by the mobile terminal;

[0028] A recognition module, used to use a preset two-dimensional code database to recognize the two-dimensional code scanning image information and the auxiliary recognition information to obtain the two-dimensional code recognition result;

[0029] The sending module is used to send the two-dimensional code recognition result to the mobile terminal.

[0030] According to an embodiment of the present invention, a device for identifying damaged QR codes is provided, the device comprising: a processor, and a memory coupled to the processor; the memory stores a program for identifying damaged QR codes that can be run on the processor, and the program for identifying damaged QR codes, when executed by the processor, implements the steps of the method for identifying damaged QR codes provided in the embodiment of the present invention.

[0031] A computer storage medium provided according to an embodiment of the present invention is characterized in that the storage medium stores a program for identifying damaged QR codes, and when the program for identifying damaged QR codes is executed by a processor, the steps of the method for identifying damaged QR codes provided according to an embodiment of the present invention are implemented.

[0032] According to the solution provided in the embodiment of the present invention, a quick operation method is provided to the user during the process of APP scanning the QR code, allowing the user to mark the damaged part, and the user inputs or the APP automatically obtains some auxiliary information of the terminal plus the damaged QR code information, and uploads it to the server. The server performs comprehensive information processing operations based on the server cloud storage data information plus the information uploaded by the user, intelligently identifies the damaged QR code and feeds back the result to the user, solving the problem that the damaged QR code cannot be identified. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to understand the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0034] Figure 1 is a flow chart of a method for identifying a damaged QR code provided by an embodiment of the present invention;

[0035] Figure 2 is a schematic diagram of a device for identifying a damaged QR code provided by an embodiment of the present invention;

[0036] Figure 3 is a schematic diagram of a system for identifying damaged QR codes provided by an embodiment of the present invention;

[0037] Figure 4 The embodiment of the present invention provides Figure 3 The workflow diagram of the client;

[0038] Figure 5 The embodiment of the present invention provides Figure 3 The workflow diagram of the server side;

[0039] Figure 6 The embodiment of the present invention provides Figure 3 Server-side intelligent recognition flow chart;

[0040] Figure 7 It is a schematic diagram of a user actively clicking a button and triggering QR code recognition provided by an embodiment of the present invention;

[0041] Figure 8 is a schematic diagram of an embodiment of the present invention in which a user can touch a damaged QR code area in a dynamic scanning area and trigger QR code recognition;

[0042] Fig. 9 It is a schematic diagram of an embodiment of the present invention that provides that a user can make fine adjustments to a damaged area and upload other auxiliary information for editing after marking is completed. DETAILED DESCRIPTION

[0043] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0044] Figure 1 is a flow chart of a method for identifying a damaged QR code provided by an embodiment of the present invention. Figure 1 As shown, including:

[0045] Step S101: When the mobile terminal detects that the QR code is damaged, it obtains QR code scan image information including the damaged area of ​​the QR code;

[0046] Step S102: after acquiring the QR code scanning picture information, the mobile terminal prompts the user to input the auxiliary identification information of the QR code, and sends the QR code scanning picture information and the auxiliary identification information to the server;

[0047] Step S103: the mobile terminal receives the two-dimensional code recognition result responded by the server according to the two-dimensional code scanning picture information and the auxiliary recognition information, and performs an operation according to the two-dimensional code recognition result.

[0048] The auxiliary identification information includes a serial number and / or geographic location information.

[0049] Among them, when the mobile terminal detects that the QR code is damaged, obtaining the QR code scanning picture information including the damaged area of ​​the QR code includes: when the mobile terminal detects that the QR code is damaged, obtaining the QR code scanning picture of the QR code; the mobile terminal obtains the QR code scanning picture information including the damaged area of ​​the QR code by receiving a user's click operation on the damaged area of ​​the QR code in the QR code scanning picture.

[0050] A method for identifying a damaged QR code provided by an embodiment of the present invention includes:

[0051] The server receives the QR code scanning image information and auxiliary identification information sent by the mobile terminal;

[0052] The server uses a preset two-dimensional code database to identify the two-dimensional code scan image information and the auxiliary identification information to obtain the two-dimensional code recognition result;

[0053] The server sends the QR code recognition result to the mobile terminal.

[0054] Among them, the server uses a preset QR code database to identify the QR code scanning picture information and the auxiliary identification information, and obtains the QR code recognition result including: the server uses a preset QR code picture database to perform a first recognition on the QR code scanning picture information, and determines whether the first recognition is successful; when it is determined that the first recognition fails, the server uses a preset auxiliary information database to perform a second recognition on the auxiliary identification information, and determines whether the second recognition is successful; when it is determined that the first recognition or the second recognition is successful, the server obtains the QR code recognition result.

[0055] Figure 2 is a schematic diagram of a device for identifying a damaged QR code provided by an embodiment of the present invention, such as Figure 2As shown, it includes: an acquisition module 201, a sending module 202 and a recognition result receiving module 203.

[0056] The acquisition module 201 is used to acquire the QR code scanning picture information including the damaged area of ​​the QR code when it is detected that the QR code is damaged; the sending module 202 is used to prompt the user to input the auxiliary identification information of the QR code after acquiring the QR code scanning picture information, and send the QR code scanning picture information and the auxiliary identification information to the server; the recognition result receiving module 203 is used to receive the QR code recognition result responded by the server according to the QR code scanning picture information and the auxiliary identification information, and perform operations according to the QR code recognition result.

[0057] The auxiliary identification information includes a serial number and / or geographic location information.

[0058] An embodiment of the present invention provides a device for identifying a damaged QR code, comprising: a receiving module, used to receive QR code scanning image information and auxiliary identification information sent by a mobile terminal; an identification module, used to use a preset QR code database to identify the QR code scanning image information and the auxiliary identification information to obtain the QR code recognition result; and a sending module, used to send the QR code recognition result to the mobile terminal.

[0059] According to an embodiment of the present invention, a device for identifying damaged QR codes is provided, the device comprising: a processor, and a memory coupled to the processor; the memory stores a program for identifying damaged QR codes that can be run on the processor, and the program for identifying damaged QR codes, when executed by the processor, implements the steps of the method for identifying damaged QR codes provided in the embodiment of the present invention.

[0060] A computer storage medium provided according to an embodiment of the present invention is characterized in that the storage medium stores a program for identifying damaged QR codes, and when the program for identifying damaged QR codes is executed by a processor, the steps of the method for identifying damaged QR codes provided according to an embodiment of the present invention are implemented.

[0061] Figure 3 is a schematic diagram of a system for identifying damaged QR codes provided by an embodiment of the present invention. Figure 3 As shown in the figure, the whole system is divided into a server and a client (mobile terminal). The server includes: a response module, a comprehensive intelligent recognition module, a result delivery module, and a cloud database operation module. The comprehensive intelligent recognition module includes: a QR code image comparison and recognition module, a QR code algorithm recognition module, and an auxiliary information comparison module. The client includes: a network information interaction module, a terminal device information acquisition module, a QR code scanning module, an information editing module, and a response module.

[0062] The embodiment of the present invention provides a system for identifying damaged QR codes. The operation process is divided into a client and a server. Figure 4 and Figure 5 , the specific client process is:

[0063] Step 401: Enter the QR code scanning module and perform a QR code scanning operation.

[0064] Step 402: If the scanning of the QR code times out, a query is made as to whether to enter the damaged QR code recognition process.

[0065] 403 judgment: the user actively clicks the QR code damage button, such as Figure 7 Or click Scan Area to mark the damaged area, as shown Figure 8 As shown, to trigger the damaged QR code recognition process.

[0066] Step 404: Enter the damaged QR code editing module, such as Fig. 9 As shown, the modification operation of marking the damaged area of ​​the QR code can be performed.

[0067] Step 405: The user actively inputs auxiliary information, such as a serial number (for example, a part of the serial number of a shared bicycle, a table number on a dining table, etc.).

[0068] Step 406: Automatically obtain terminal device information, such as GPS location information.

[0069] Step 407: Upload the damaged QR code information (damaged area coordinates, etc.), user input auxiliary information and automatically acquired terminal information (GPS, etc.) to the server, and request the server to perform intelligent recognition. The detailed process of intelligent recognition is as follows: Figure 6 shown.

[0070] Step 408: Wait and prompt the user that it is waiting for the server to return the result. After the server return data is obtained through the network interaction module, the data is parsed to obtain the server identification result. The result first includes success or failure flag information. Then the success information also includes whether it is a unique identification success or there are multiple possible identifications. If it is a unique identification, the server returns the information content represented by the current QR code (for example: unique digital number, network link address). If the server does not have a unique identification and there are multiple possibilities, the server will automatically generate a result for the user to choose (for example: if you scan the QR code to unlock the bicycle, the server can send multiple passwords to the user and let the user try to unlock it).

[0071] Step 409: Perform UI prompts and respond to related instructions according to the result returned by the server. (For example, if the QR code is a link to open a web page, respond to the result returned by the server to open the corresponding web page; if it is to unlock the bicycle, perform subsequent unlock request actions).

[0072] The specific server-side process is as follows:

[0073] Step 501: respond to the client's request and obtain the uploaded information through the network interaction module.

[0074] Step 502: Parse the uploaded information to obtain the damaged QR code information and the designated damaged area information and auxiliary information.

[0075] Step 503: Submit the information to the integrated intelligent recognition module for recognition operation ( Figure 6 ).

[0076] Step 504: Generate a server response result based on the recognition result and send it to the client. The server result content is automatically generated according to the system settings, including success and failure information, as described in step 408. After the network interaction module sends the instruction, the client stops waiting and obtains the server return data to enter the parsing action flow in step 408.

[0077] Figure 6 The embodiment of the present invention provides Figure 3 The server intelligent identification flow chart is as follows: Figure 6 As shown, including:

[0078] Step 601: The server sends the QR code image and damaged area information to the QR code image comparison module.

[0079] Step 602: The QR code image comparison module of the server compares the QR code image and the damaged area information with the QR code image in the QR code image database to determine whether the comparison is successful. If the comparison is successful, a success result is issued. If the comparison fails, the QR code algorithm recognition is performed.

[0080] Step 603: The server determines whether the two-dimensional code algorithm recognition is successful. If the recognition is successful, a success result is issued. If the recognition fails, auxiliary information comparison and recognition is performed.

[0081] Step 604: The server compares the auxiliary information with the auxiliary information database such as the number and GPS history.

[0082] Step 605: The server determines whether the comparison is successful. If the comparison is successful, a success result is issued; if the comparison fails, a failure result is issued.

[0083] According to the solution provided in the embodiment of the present invention, a quick operation method is provided to the user during the process of APP scanning the QR code, allowing the user to mark the damaged part and quickly enter the damaged QR code recognition process. The user inputs or the APP automatically obtains some auxiliary information of the terminal (such as device number, current GPS location, etc.) plus the damaged QR code information, and uploads it to the server. The server performs comprehensive information processing operations based on the server cloud storage data information plus the information uploaded by the user, intelligently identifies the damaged QR code and feeds back the result to the user, solving the problem that the damaged QR code cannot be recognized.

[0084] Although the present invention is described in detail above, the present invention is not limited thereto, and those skilled in the art can make various modifications based on the principles of the present invention. Therefore, all modifications made based on the principles of the present invention should be understood to fall within the protection scope of the present invention.

Claims

1. A method for identifying a damaged QR code, characterized in that: include: When the mobile terminal detects that the two-dimensional code is damaged, by receiving a user's click operation on the damaged area of ​​the two-dimensional code in the two-dimensional code scanned image, the two-dimensional code scanned image information including the damaged area of ​​the two-dimensional code is obtained; After acquiring the two-dimensional code scanning picture information, the mobile terminal prompts the user to input the auxiliary identification information of the two-dimensional code, and sends the two-dimensional code scanning picture information and the auxiliary identification information to the server; The mobile terminal receives the QR code recognition result responded by the server based on the QR code scanning image information and the auxiliary identification information, and performs operations according to the QR code recognition result; wherein, when the QR code recognition results include at least two, each of the QR code recognition results is displayed; receives the QR code recognition result to be verified input by the user, and the QR code recognition result to be verified is one of the QR code recognition results; and performs operations according to the QR code recognition result to be verified.

2. The method according to claim 1, characterized in that The auxiliary identification information includes a serial number and / or geographic location information.

3. A method for identifying a damaged QR code, characterized in that: include: The server receives the QR code scanned image information and auxiliary identification information of the damaged QR code area sent by the mobile terminal; The server uses a preset two-dimensional code database to identify the two-dimensional code scanning picture information and the auxiliary identification information to obtain the two-dimensional code recognition result; wherein, the server uses a preset two-dimensional code picture database to perform a first recognition on the two-dimensional code scanning picture information to determine whether the first recognition is successful; when it is determined that the first recognition fails, the server uses a preset auxiliary information database to perform a second recognition on the auxiliary identification information to determine whether the second recognition is successful; when it is determined that the first recognition or the second recognition is successful, the server obtains the two-dimensional code recognition result; The server sends the QR code recognition result to the mobile terminal.

4. A device for identifying a damaged QR code, characterized in that: include: an acquisition module, configured to, when detecting that the two-dimensional code is damaged, acquire two-dimensional code scan picture information containing the damaged two-dimensional code area by receiving a user's click operation on the damaged two-dimensional code area in the two-dimensional code scan picture; A sending module, configured to prompt a user to input auxiliary identification information of the QR code after acquiring the QR code scanning image information, and send the QR code scanning image information and the auxiliary identification information to a server; A recognition result receiving module is used to receive the QR code recognition result responded by the server based on the QR code scanning image information and the auxiliary recognition information, and perform operations according to the QR code recognition result; wherein, when the QR code recognition results include at least two, each of the QR code recognition results is displayed; receive the QR code recognition result to be verified input by the user, and the QR code recognition result to be verified is one of the QR code recognition results; and perform operations according to the QR code recognition result to be verified.

5. The device according to claim 4, characterized in that The auxiliary identification information includes a serial number and / or geographic location information.

6. A device for identifying a damaged QR code, characterized in that: include: A receiving module, used for receiving the QR code scanning picture information and auxiliary identification information of the damaged area of ​​the QR code sent by the mobile terminal; The recognition module is used to use a preset two-dimensional code database to recognize the two-dimensional code scanning image information and the auxiliary recognition information to obtain the two-dimensional code recognition result; wherein, the server uses the preset two-dimensional code image database to perform a first recognition on the two-dimensional code scanning image information to determine whether the first recognition is successful; when it is determined that the first recognition fails, the server uses the preset auxiliary information database to perform a second recognition on the auxiliary recognition information to determine whether the second recognition is successful; when it is determined that the first recognition or the second recognition is successful, the server obtains the two-dimensional code recognition result; The sending module is used to send the two-dimensional code recognition result to the mobile terminal.

7. A device for identifying damaged QR codes, characterized in that: The device includes: a processor, and a memory coupled to the processor; the memory stores a program for identifying damaged QR codes that can be run on the processor, and when the program for identifying damaged QR codes is executed by the processor, the steps of the method for identifying damaged QR codes as described in any one of claims 1 to 3 are implemented.

8. A computer storage medium, characterized in that: The storage medium stores a program for identifying a damaged two-dimensional code, and when the program for identifying a damaged two-dimensional code is executed by a processor, the steps of the method for identifying a damaged two-dimensional code as described in any one of claims 1 to 3 are implemented.

Citation Information

Cited By

  • Intelligent electronic tag management machine device

    CN120012794A

  • An intelligent electronic tag management device

    CN120012794B