Identification information detection method and device and computer equipment
Through the scanning and identification of original identification information by mobile terminals and automated detection, the problem of traditional manual scanning is solved, efficient and accurate identification information detection is achieved, and the integrity and reliability of system data is improved.
Patent Information
- Application Number
- CN202411093674.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-22
AI Technical Summary
In a large number of barcode tests, the traditional manual scanning method is inefficient, which makes the test difficult and time-consuming, affecting the efficiency.
By displaying the original identification information, using the mobile terminal to scan and identify, receive the identification results, compare the identification results with the original information, determine whether it is the error identification information, and realize automatic detection.
It improves the accuracy and efficiency of identification information detection, maintains the integrity and reliability of system data, reduces manual intervention, and improves identification accuracy.
Smart Images

Figure CN119005222A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automation technology, and in particular to a method, device, computer equipment, storage medium and computer program product for detecting identification information. Background Art
[0002] With the continuous development of the Internet, the types of order information are increasing, and the usage scenarios are becoming more complex. At present, barcodes have become a common way to store order information. However, with the increasing number of order barcodes, testing a large number of barcodes has become an inevitable requirement. In traditional testing methods, testers usually need to manually scan each barcode, obtain the actual value, and compare it with the expected value. However, when the number of barcodes is large, this one-by-one observation method is not only difficult, but also extremely time-consuming, which seriously affects the efficiency of the test. Summary of the invention
[0003] Based on this, it is necessary to provide a detection method, device, computer equipment, computer-readable storage medium and computer program product that can identify information in response to the above technical problems.
[0004] In a first aspect, the present application provides a method for detecting identification information. The method comprises:
[0005] Displaying the original identification information of the target object to instruct the identification terminal to scan and identify the original identification information;
[0006] receiving a recognition result of the original identification information by the identification terminal, and comparing the recognition result with the original identification information when the recognition result is a successful recognition; the recognition result includes a successful recognition and a failed recognition, wherein a successful recognition includes recognition as target identification information;
[0007] In the case that the original identification information is different from the target identification information, the original identification information is determined to be erroneous identification information.
[0008] In one embodiment, the receiving the recognition result of the original identification information by the recognition terminal includes:
[0009] Receiving a recognition result of the original identification information by the recognition terminal;
[0010] When the recognition result is recognition failure, the original identification information is detected using a preset detection strategy to obtain error information of the original identification information.
[0011] In one embodiment, when the recognition result is recognition failure, using a preset detection strategy to detect the original identification information to obtain error information of the original identification information includes:
[0012] In the case where the recognition result is recognition failure, instructing the recognition terminal to scan and recognize the original identification information, and receiving the recognition result of the original identification information by the recognition terminal;
[0013] When the recognition results of the preset number of times of the original identification information are all recognition failures, the original identification information is detected using a preset detection strategy to obtain error information of the original identification information.
[0014] In one embodiment, the displaying of the original identification information of the target object includes:
[0015] Acquire original identification information to be detected, and store the original identification information to be detected in a preset first storage area;
[0016] The original identification information stored in the first storage area is displayed.
[0017] In one of the embodiments, when the original identification information is different from the target identification information, determining the original identification information as erroneous identification information includes:
[0018] Storing the target identification information in a preset second storage area;
[0019] Using the target identification information in the second storage area, searching the first storage area for the same original identification information;
[0020] In the case that the original identification information is not found, the original identification information is determined to be erroneous identification information.
[0021] In one embodiment, after receiving the recognition result of the original identification information by the recognition terminal, the method includes:
[0022] The original identification information of the displayed target object is replaced by the undetected original identification information stored in the first storage area.
[0023] In a second aspect, the present application also provides a device for detecting identification information. The device comprises:
[0024] An identification display module, used to display the original identification information of the target object to instruct the identification terminal to scan and identify the original identification information;
[0025] A result receiving module is used to receive the recognition result of the original identification information by the identification terminal, and compare the recognition result with the original identification information when the recognition result is a successful recognition; the recognition result includes a successful recognition and a failed recognition, wherein a successful recognition includes recognition as target identification information;
[0026] The target confirmation module is used to determine the original identification information as erroneous identification information when the original identification information is different from the target identification information.
[0027] In one embodiment, the result receiving module includes:
[0028] A result receiving submodule, used for receiving the recognition result of the original identification information by the recognition terminal;
[0029] The identification detection submodule is used to detect the original identification information using a preset detection strategy to obtain error information of the original identification information when the identification result is an identification failure.
[0030] In one embodiment, the identification detection submodule includes:
[0031] an identification duplication identification unit, configured to, when the identification result is an identification failure, instruct the identification terminal to scan and identify the original identification information, and receive the identification result of the original identification information from the identification terminal;
[0032] The identification detection unit is used to detect the original identification information using a preset detection strategy to obtain error information of the original identification information when the recognition results of the preset number of times of the original identification information are all recognition failures.
[0033] In one embodiment, the logo display module includes:
[0034] The identification acquisition submodule is used to acquire the original identification information to be detected, and store the original identification information to be detected in a preset first storage area;
[0035] The identification storage submodule is used to display the original identification information stored in the first storage area.
[0036] In one embodiment, the target confirmation module includes:
[0037] An identification storage submodule, used to store the target identification information in a preset second storage area;
[0038] an identification search submodule, configured to use the target identification information in the second storage area to search for the same original identification information in the first storage area;
[0039] The target confirmation submodule is used to determine the original identification information as erroneous identification information when the original identification information is not found.
[0040] In one embodiment, the device further comprises:
[0041] The identification replacement module is used to replace the original identification information of the displayed target object with the undetected original identification information stored in the first storage area.
[0042] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method for detecting identification information as described in any one of the embodiments of the present disclosure is implemented.
[0043] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for detecting identification information as described in any one of the embodiments of the present disclosure is implemented.
[0044] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for detecting identification information as described in any one of the embodiments of the present disclosure is implemented.
[0045] The above-mentioned identification information detection method, device, computer equipment, storage medium and computer program product obtain target identification information by displaying original identification information and scanning and identifying the original identification information with a mobile terminal, and obtain error identification information by judging whether the target identification information is the same as the original identification information. By scanning and identifying the original identification information with a mobile terminal, the accuracy of the original identification information can be accurately judged, which helps to maintain the integrity and reliability of system data. By comparing the identification result with the original identification information, the error identification information can be accurately identified, which improves the accuracy of the identification information. The identification information detection method realizes the automatic detection of identification information, which improves the accuracy of identification information detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] FIG1 is a schematic diagram of a flow chart of a method for detecting identification information in one embodiment;
[0047] FIG2 is a diagram showing an application environment of a method for detecting identification information in one embodiment;
[0048] FIG3 is a schematic diagram of a process for detecting error identification information in one embodiment;
[0049] FIG4 is a schematic diagram of a process of repeatedly identifying identification information in one embodiment;
[0050] FIG5 is a schematic diagram of a process of storing identification information in one embodiment;
[0051] FIG6 is a schematic diagram of a process for confirming error identification information in one embodiment;
[0052] FIG7 is a schematic diagram of a flow chart of a method for detecting identification information in one embodiment;
[0053] FIG8 is a structural block diagram of a device for detecting identification information in one embodiment;
[0054] FIG. 9 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0056] In one embodiment, as shown in FIG1 , a method for detecting identification information is provided. This embodiment is described by taking the method applied to a terminal as an example. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0057] Step S100: displaying the original identification information of the target object to instruct the identification terminal to scan and identify the original identification information.
[0058] In an exemplary embodiment, the original identification information may include a graphic code of the target object, such as a barcode, a QR code, etc.
[0059] In an exemplary embodiment, the detection terminal of the identification information can be electrically connected to the identification terminal, specifically, the detection terminal of the identification information runs an appium plug-in, the mobile terminal is connected to the detection terminal via a USB-C cable, and the connection is confirmed via an adb command.
[0060] In an exemplary embodiment, the identification terminal may be placed at a position corresponding to the detection terminal. Specifically, the detection terminal may be placed in an area where the original identification information displayed by the detection terminal can be completely scanned. In actual use, the scanning area of the mobile phone may be adjusted by moving the device, and the scanning range of the mobile phone may be adjusted by moving it forward and backward.
[0061] In an exemplary embodiment, after displaying the original identification information of the target object, an instruction can be sent to the identification terminal to instruct the identification terminal to open the corresponding identification program. In actual use, the detection terminal can be used to run the uiautomation2 plug-in, run the code scanning program, control the identification terminal to open the corresponding code scanning program, and the user clicks to scan the code, and the mobile terminal scans the code at a fixed time, for example, once every 3 seconds.
[0062] Step S200, receiving the recognition result of the original identification information by the identification terminal, and when the recognition result is successful, comparing the recognition result with the original identification information; the recognition result includes successful recognition and failed recognition, wherein successful recognition includes recognition as target identification information.
[0063] In an exemplary embodiment, the successful identification may include identifying the data of the corresponding program, etc.; specifically, the detection method can be applied to a specific application, and when the scanning result of the identification information is the data of the application, the identification is successful. In the case where the identification information is not identified (the application is not supported, or the identification information is damaged, etc.), the identification result is deemed to be a recognition failure. For example, there are applications A and B, and application A generates identification information a, b, c; application B generates identification information d, e, f; when application A identifies identification information a, b, c, the recognition result is a recognition success, and when the identification information is d, e, f; or when no identification information is identified, the recognition result is a recognition failure, etc.
[0064] In an exemplary embodiment, the scanning result may only include whether the original identification information is valid, that is, whether the data corresponding to the original identification information can be identified, etc. The target identification information is used to determine whether the scanned data matches the original identification information.
[0065] In an exemplary embodiment, the identification information can be used to store corresponding data using the identification information, that is, corresponding data can be obtained by scanning the identification information, etc. It can be understood that the corresponding data obtained by scanning the identification information can include data corresponding to the identification information; that is, in the case of successful recognition, the data corresponding to the original identification information can be extracted, and the target identification information is the identification information corresponding to the scanned data, etc. It should be noted here that there may be errors between the data obtained by recognition and the data corresponding to the original identification information; for example, the identification information is a barcode; when the barcode is detected, the scanning may be wrong due to other reasons, resulting in deviations in the scanned data, and the target identification information obtained is different from the original identification information; specifically, there are data a and data b, the barcodes of the two are similar but there are a few differences, and during use, due to other reasons (inaccurate focus, light reasons, unclear barcodes, etc.), the barcode of data a is scanned to obtain data b, and the target identification information here is the identification information of data b, and the original identification information here is different from the target identification information, that is, the scanned data does not match the original identification information, etc.
[0066] Step S300: When the original identification information is different from the target identification information, the original identification information is determined as erroneous identification information.
[0067] In an exemplary embodiment, the identification information detection method can be applied to a terminal or a server, etc., and the mobile terminal can include a mobile phone or a barcode scanning device, etc. Specifically, the implementation of the identification information detection method can include a computer displaying a barcode of a target object, a mobile phone (identification terminal) scanning the barcode of the target object displayed by the computer, and transmitting the identification result to the computer, and after receiving the identification result of the mobile phone, the computer determines whether the barcode of the target object displayed by the computer is an incorrect barcode, etc.
[0068] In an exemplary embodiment, the situation where the original identification information is different from the target identification information may include that the original identification information is different from the target identification information, etc. In actual use, the original identification information may be marked, and the scanning result may also be marked, and further judging whether the marking is correct may be used to obtain whether the original identification information is the same as the target identification information. For example, there is data a, and the corresponding identification information A, and the data a is marked as "1", and the identification information is marked as "one". When the identification information A is scanned, data a is obtained, and the corresponding identification mark "one" is obtained through the identification information A, and then the corresponding data mark "1" is obtained through the data a. It is judged whether "one" matches "1" to obtain whether the identification information is the same, etc. In actual use, the identification information may include a barcode, and the data identification mark corresponding to the barcode may be marked as the mark of the corresponding data, etc.
[0069] In an exemplary embodiment, the identification information detection method provided in the embodiment of the present application can be applied to the application environment shown in FIG. 2, wherein the detection terminal 901 displays the identification information 903 to be detected, and instructs the identification terminal 902 to open the corresponding identification program 904, and the identification terminal 902 identifies the identification information 903 to be detected displayed by the detection terminal 901, and transmits the identification result to the detection terminal 901, etc. In another exemplary embodiment, the identification terminal can transmit the identification result to the server, and after receiving the identification result, the server sends an indicator light to the detection terminal indicating whether to switch to the next one.
[0070] In the above identification information detection method, the target identification information is obtained by displaying the original identification information and scanning and identifying the original identification information with a mobile terminal, and the error identification information is obtained by judging whether the target identification information is the same as the original identification information. By scanning and identifying the original identification information with a mobile terminal, the accuracy of the original identification information can be accurately judged, which helps to maintain the integrity and reliability of the system data. By comparing the identification result with the original identification information, the error identification information can be accurately identified, which improves the accuracy of the identification information. The identification information detection method realizes the automatic detection of the identification information, which improves the accuracy of the identification information detection.
[0071] In one embodiment, as shown in FIG3 , the receiving the recognition result of the original identification information by the recognition terminal includes:
[0072] Step S201: receiving the recognition result of the original identification information by the recognition terminal.
[0073] Step S202: When the recognition result is recognition failure, the original identification information is detected using a preset detection strategy to obtain error information of the original identification information.
[0074] In an exemplary embodiment, the recognition failure may include recognizing identification information that is not supported by the application program, or failing to recognize the identification information.
[0075] In an exemplary embodiment, the detection strategy may include manually detecting the identification information that failed to be recognized, obtaining the cause of the error of the erroneous identification information and the corresponding correction strategy, etc. For example, the error information may include that the application does not support the identification information, or that the identification information is missing (i.e., the identification information is damaged, etc.). In another exemplary embodiment, after obtaining the error information of the original identification information, the original identification information with the identification error is repaired manually, etc.
[0076] In an exemplary embodiment, when the recognition result is recognition failure, identification information of the recognition failure can be stored in a preset error identification storage area, and after the recognition is stopped, the error identification information in the error identification storage area can be detected.
[0077] In this embodiment, by utilizing a preset detection strategy to detect identification information that fails to be recognized, problems can be effectively discovered and recorded, which can serve as a basis for subsequent problem troubleshooting, thereby improving the efficiency and accuracy of repairing identification information that fails to be recognized.
[0078] In one embodiment, as shown in FIG. 4 , when the recognition result is recognition failure, the original identification information is detected using a preset detection strategy to obtain error information of the original identification information, including:
[0079] Step S301, when the recognition result is recognition failure, instructing the recognition terminal to scan and recognize the original identification information, and receiving the recognition result of the original identification information by the recognition terminal.
[0080] In an exemplary embodiment, the instructing the identification terminal to scan and identify the original identification information may include the mobile terminal scanning the identification information once every preset time. It is understandable that the mobile terminal can scan the identification information once every preset time, and the detection terminal switches the displayed identification information after receiving the detection result, so as to achieve multiple detections of erroneous identification information to avoid identification errors caused by a single detection error. Specifically, in order to avoid always detecting erroneous identification information, and the detection terminal does not switch other identification information, the number of detections can be set, that is, the maximum number of detections for each identification information. For example, scanning the identification information and transmitting the data to the detection terminal at a preset time is a detection, and the detection terminal determines whether to switch to the next identification information based on the received information.
[0081] Step S302: When the recognition results of the preset number of times of the original identification information are all recognition failures, the original identification information is detected using a preset detection strategy to obtain error information of the original identification information.
[0082] In an exemplary embodiment, the preset number of times may include the number of scans for identification information that failed to be recognized, that is, by scanning the preset number of times, scanning errors caused by a single scan are avoided.
[0083] In this embodiment, by continuing to identify the identification information when the identification result is identification failure, and performing error detection on the identification information that failed to be identified when the preset number of times all failed, it is possible to avoid identification failures caused by single identification errors and improve the accuracy of identification information detection.
[0084] In one embodiment, as shown in FIG5 , the original identification information of the displayed target object includes:
[0085] Step S101, obtaining original identification information to be detected, and storing the original identification information to be detected in a preset first storage area.
[0086] In an exemplary embodiment, the source of the original identification information to be detected may include generating original identification information corresponding to a data interaction request in response to a data interaction request; specifically, it may include automatically generating a barcode corresponding to the interacted resource when receiving a data interaction request, for recording corresponding resource data, etc.
[0087] Step S102: display the original identification information stored in the first storage area.
[0088] In an exemplary embodiment, the detection terminal can realize automatic detection of identification information through a corresponding program, and the first storage area may include a folder corresponding to the program, and when the identification information to be detected needs to be displayed, it is extracted from the folder corresponding to the program.
[0089] In this embodiment, by acquiring the original identification information to be detected, storing the original identification information in the first storage area, and displaying the original identification information in the first storage area, the data is centrally managed to facilitate subsequent search and access. Structured data management makes the subsequent discrimination process clearer, helps to quickly locate erroneous identification information, and thus improves the accuracy of the overall processing.
[0090] In one embodiment, as shown in FIG. 6 , when the original identification information is different from the target identification information, determining the original identification information as erroneous identification information includes:
[0091] Step S311: storing the target identification information in a preset second storage area.
[0092] In an exemplary embodiment, the second storage area may include storing a recognition result of a successful recognition; the recognition result includes target identification information; the target identification information is identification information corresponding to data scanned by the mobile terminal, etc.
[0093] Step S312, using the target identification information in the second storage area, searching the first storage area for the same original identification information;
[0094] In an exemplary embodiment, the second storage area stores target identification information, and the first storage area stores original identification information to be detected; it can be understood that when the identification information is an identification error, the first storage area must contain all target identification information in the second storage area; therefore, if the same original identification information is not found in the first storage area, the corresponding target identification information is the target identification information obtained by the identification error, etc.
[0095] In an exemplary embodiment, when the mobile terminal stops scanning, the target identification information in the second storage area may be matched.
[0096] Step S313: if the original identification information is not found, the original identification information is determined as erroneous identification information.
[0097] In an exemplary embodiment, the reason for not finding the original identification information may include a barcode recognition error, for example, there are data a and data b, the barcodes of the two are similar but there are slight differences, and during use, due to other reasons (inaccurate focus, light reasons, unclear barcode, etc.), the barcode of data a is scanned to obtain data b, and the target identification information here is the identification information of data b, and the original identification information here is different from the target identification information, that is, the scanned data does not match the original identification information, etc.
[0098] In an exemplary embodiment, when the original identification information is found, the original information can be determined as the correct identification information, and corresponding operations can be performed based on the identified data. For example, order information is stored in the identification information. When the identification and matching are successful, an order is created based on the order information.
[0099] In this embodiment, by storing the target identification information in the second storage area, batch matching is performed using the identification information in the second storage area with the identification information in the first storage area, and finally obtaining the error identification information, the screening efficiency of the error indication information is improved, and the detection efficiency of the identification information is improved.
[0100] In one embodiment, after receiving the recognition result of the original identification information by the recognition terminal, the method includes:
[0101] The original identification information of the displayed target object is replaced by the undetected original identification information stored in the first storage area.
[0102] In an exemplary embodiment, the detection terminal receives the original identification information and the identification result includes successful identification, and the identification fails for a preset number of times. Specifically, in the case of successful identification, the displayed original identification information is switched to the original identification information that has not been detected in the first storage area; in the case of failed identification, no switching is performed, and the mobile terminal identifies again. When the identification fails for a preset number of times, the displayed original identification information is switched to the original identification information that has not been detected in the first storage area, etc.
[0103] In this embodiment, by replacing the displayed original identification information after receiving the identification result of the original identification information, automatic identification of the identification information is achieved, and the detection efficiency of the identification information is improved.
[0104] In an exemplary embodiment, the identification information detection method may be implemented as shown in the schematic diagram of FIG. 7 , and specifically includes:
[0105] Step S801, establishing an electrical connection relationship between the detection terminal and the identification terminal; for example, the detection terminal starts the appium plug-in, the identification terminal is connected to the detection terminal via a USB-C cable, and the connection is confirmed by an adb command;
[0106] Step S802, the detection terminal displays the identification information to be detected; for example, the detection terminal starts to run the identification information display program. Specifically, the identification information to be scanned can be stored in a folder under the identification information display program, the identification information display program can be started through the npm command, or the corresponding website can be accessed through a local browser to generate a website that displays the identification information, etc.;
[0107] Step S803, adjusting the identification terminal to the corresponding area; for example, adjusting the identification terminal to be able to identify the identification information to be detected displayed by the detection terminal, etc.;
[0108] Step S804, the detection terminal sends a recognition instruction to the recognition terminal; for example, the detection terminal runs an automated recognition program, and the automated control recognition terminal opens a corresponding recognition program and performs recognition, etc.;
[0109] Step S805, after the mobile terminal recognizes one piece of identification information, it sends the recognition result to the detection terminal, and the detection terminal determines whether to switch to the next piece of identification information; specifically, if the recognition result is a successful recognition, the next piece of identification information is switched; if the recognition result is a failed recognition, the identification information is re-recognized; if the recognition fails here in succession, the identification information is considered to be wrong, and the next piece of identification information is switched;
[0110] Step S806, when the preset number of recognitions is reached, the recognition is stopped;
[0111] Step S807, matching the successfully identified target identification information with the identification information to be detected to obtain the correct identification information; in actual use, the successfully identified target identification information may be different from the displayed identification information to be detected; after obtaining the correct identification information, completing the corresponding operation according to the data corresponding to the identified identification information, for example, if the identification information stores order information, the corresponding operation is to create an order;
[0112] Step S808: Check the identification information that failed to be recognized.
[0113] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0114] Based on the same inventive concept, the embodiment of the present application also provides a detection device for identification information for implementing the detection method for identification information involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the detection device for one or more identification information provided below can refer to the limitations of the detection method for identification information above, and will not be repeated here.
[0115] In one embodiment, as shown in FIG8 , a detection device 100 for identification information is provided, comprising: an identification display module 101 , a result receiving module 102 and a target confirmation module 103 , wherein:
[0116] An identification display module, used to display the original identification information of the target object to instruct the identification terminal to scan and identify the original identification information;
[0117] A result receiving module is used to receive the recognition result of the original identification information by the identification terminal, and compare the recognition result with the original identification information when the recognition result is a successful recognition; the recognition result includes a successful recognition and a failed recognition, wherein a successful recognition includes recognition as target identification information;
[0118] The target confirmation module is used to determine the original identification information as erroneous identification information when the original identification information is different from the target identification information.
[0119] In one embodiment, the result receiving module includes:
[0120] A result receiving submodule, used for receiving the recognition result of the original identification information by the recognition terminal;
[0121] The identification detection submodule is used to detect the original identification information using a preset detection strategy to obtain error information of the original identification information when the identification result is an identification failure.
[0122] In one embodiment, the identification detection submodule includes:
[0123] an identification duplication identification unit, configured to, when the identification result is an identification failure, instruct the identification terminal to scan and identify the original identification information, and receive the identification result of the original identification information from the identification terminal;
[0124] The identification detection unit is used to detect the original identification information using a preset detection strategy to obtain error information of the original identification information when the recognition results of the preset number of times of the original identification information are all recognition failures.
[0125] In one embodiment, the logo display module includes:
[0126] The identification acquisition submodule is used to acquire the original identification information to be detected, and store the original identification information to be detected in a preset first storage area;
[0127] The identification storage submodule is used to display the original identification information stored in the first storage area.
[0128] In one embodiment, the target confirmation module includes:
[0129] An identification storage submodule, used to store the target identification information in a preset second storage area;
[0130] an identification search submodule, configured to use the target identification information in the second storage area to search for the same original identification information in the first storage area;
[0131] The target confirmation submodule is used to determine the original identification information as erroneous identification information when the original identification information is not found.
[0132] In one embodiment, the device further comprises:
[0133] The identification replacement module is used to replace the original identification information of the displayed target object with the undetected original identification information stored in the first storage area.
[0134] Each module in the above-mentioned identification information detection device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0135] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG9. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store identification information data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for detecting identification information is implemented.
[0136] Those skilled in the art will understand that the structure shown in FIG. 9 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0137] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0138] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0139] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0140] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for detecting identification information, It is characterized in that The method comprises: Displaying the original identification information of the target object to instruct the identification terminal to scan and identify the original identification information; receiving a recognition result of the original identification information by the identification terminal, and comparing the recognition result with the original identification information when the recognition result is a successful recognition; the recognition result includes a successful recognition and a failed recognition, wherein a successful recognition includes recognition as target identification information; In the case that the original identification information is different from the target identification information, the original identification information is determined to be erroneous identification information.
2. The method according to claim 1, It is characterized in that The receiving the recognition result of the original identification information by the recognition terminal includes: Receiving a recognition result of the original identification information by the recognition terminal; When the recognition result is recognition failure, the original identification information is detected using a preset detection strategy to obtain error information of the original identification information.
3. The method according to claim 2, It is characterized in that When the recognition result is a recognition failure, the original identification information is detected by using a preset detection strategy to obtain error information of the original identification information, including: In the case where the recognition result is recognition failure, instructing the recognition terminal to scan and recognize the original identification information, and receiving the recognition result of the original identification information by the recognition terminal; When the recognition results of the preset number of times of the original identification information are all recognition failures, the original identification information is detected using a preset detection strategy to obtain error information of the original identification information.
4. The method according to claim 1, It is characterized in that The original identification information of the display target object includes: Acquire original identification information to be detected, and store the original identification information to be detected in a preset first storage area; The original identification information stored in the first storage area is displayed.
5. The method according to claim 4, It is characterized in that When the original identification information is different from the target identification information, determining the original identification information as erroneous identification information includes: Storing the target identification information in a preset second storage area; Using the target identification information in the second storage area, searching the first storage area for the same original identification information; In the case that the original identification information is not found, the original identification information is determined to be erroneous identification information.
6. The method according to claim 4, It is characterized in that After receiving the recognition result of the original identification information by the recognition terminal, the method further comprises: The original identification information of the displayed target object is replaced by the undetected original identification information stored in the first storage area.
7. A device for detecting identification information, It is characterized in that The device comprises: An identification display module, used to display the original identification information of the target object to instruct the identification terminal to scan and identify the original identification information; A result receiving module is used to receive the recognition result of the original identification information by the identification terminal, and compare the recognition result with the original identification information when the recognition result is a successful recognition; the recognition result includes a successful recognition and a failed recognition, wherein a successful recognition includes recognition as target identification information; The target confirmation module is used to determine the original identification information as erroneous identification information when the original identification information is different from the target identification information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
