A method and apparatus for analyzing an information code

By building a mapping database on charging piles, the system automatically identifies and uses the correct information code for charging, solving the problem of incorrect code scanning caused by chaotic information codes on charging piles. This achieves a low-cost and easy-to-implement improvement in scanning accuracy.

CN122113955APending Publication Date: 2026-05-29ZHEJIANG XIAOJU GREEN ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHEJIANG XIAOJU GREEN ENERGY TECHNOLOGY CO LTD
Filing Date
2024-11-22
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

The confusion and diversity of information codes on charging stations cause users to frequently scan the wrong codes, affecting the charging experience. Existing solutions are costly and difficult to implement.

Method used

If the parsing request fails, the system searches for a second information code that is mapped to the first information code in a pre-built mapping database, parses it, controls the user terminal to display the target page, and uses fuzzy matching technology to automatically determine and use the correct information code for charging.

Benefits of technology

It effectively avoids scanning incorrect codes, provides a low-cost and easy-to-implement solution, and has good scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122113955A_ABST
    Figure CN122113955A_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a kind of information code analysis method and device.The method of the embodiment of the present application includes obtaining information code analysis request, the information code analysis request carries first information code, the first information code is parsed, in response to the first information code parsing failure, from the mapping relationship database of pre-constructed and find the second information code that exists mapping relationship with the first information code, the second information code is parsed, in response to the second information code parsing success, control user terminal display target page, above-mentioned method uses fuzzy matching technology to build scan error code analysis link, the link is based on the mapping relationship data of pre-constructed, when user scans error code, it is automatically judged and uses correct information code to charge, to effectively avoid the occurrence of scan error code phenomenon, to solve the problem of scan error code has the advantages such as low cost, easy implementation, good expansibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information processing technology, and more specifically, to an information code parsing method and apparatus. Background Technology

[0002] With the rapid development of the electric vehicle industry, the construction and operation of charging infrastructure has become a key link in promoting the popularization of electric vehicles. Currently, most electric vehicles are charged using charging piles. These charging piles commonly display various types of QR codes, including download codes, advertising codes, and charging codes. These charging codes include not only those from the charging platform itself but also those from other charging platforms that are manually posted. During the operation of charging piles, the confusion and diversity of QR codes on them frequently leads to users scanning the wrong codes, severely impacting their charging experience.

[0003] Currently, common solutions include manually removing the stickers or designing more eye-catching prompts, but the high cost and difficulty of implementation make full-scale promotion a challenge. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide an information code parsing method and apparatus to effectively avoid the occurrence of incorrect code scanning, and have the advantages of low cost, easy implementation, and good scalability in solving the problem of incorrect code scanning.

[0005] In a first aspect, embodiments of the present invention provide an information code parsing method, the method comprising:

[0006] Obtain an information code parsing request, wherein the information code parsing request carries a first information code;

[0007] The first information code is parsed;

[0008] In response to the failure to parse the first information code, a second information code that has a mapping relationship with the first information code is searched from a pre-built mapping relationship database;

[0009] The second information code is parsed;

[0010] Upon successful parsing of the second information code, the user terminal is controlled to display the target page.

[0011] Secondly, embodiments of the present invention provide an information code parsing device, the device comprising:

[0012] The acquisition module is used to acquire an information code parsing request, wherein the information code parsing request carries a first information code;

[0013] The first parsing module is used to parse the first information code;

[0014] A lookup module is used to look up a second information code that maps to the first information code in response to a parsing failure, from a pre-built mapping database.

[0015] The second parsing module is used to parse the second information code in response to a search for the second information code;

[0016] The control module is used to control the user terminal to display the target page in response to the successful parsing of the second information code.

[0017] Thirdly, an electronic device is provided, including a memory and a processor, the memory being used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method as described in the first aspect above.

[0018] Fourthly, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when executed by a processor, the computer program implements the method described in the first aspect.

[0019] Fifthly, a computer program product is provided, comprising a computer program / instructions that, when executed by a processor, implement the method described in the first aspect above.

[0020] This invention embodiment includes obtaining an information code parsing request, which carries a first information code. The first information code is parsed. In response to the failure of parsing the first information code, a second information code that has a mapping relationship with the first information code is searched from a pre-built mapping relationship database, and the second information code is parsed. In response to the successful parsing of the second information code, the user terminal is controlled to display the target page. The above method uses fuzzy matching technology to build a code scanning error parsing link. This link is based on pre-built mapping relationship data and automatically judges and uses the correct information code to charge when the user scans an incorrect code, thereby effectively avoiding the occurrence of code scanning errors. It has the advantages of low cost, easy implementation, and good scalability in solving the problem of code scanning errors. Attached Figure Description

[0021] The above and other objects, features and advantages of the present invention will become clearer from the following description of embodiments of the invention with reference to the accompanying drawings, in which:

[0022] Figure 1 This is a schematic diagram of the information code parsing system according to an embodiment of the present invention;

[0023] Figure 2 This is an interactive flowchart of the information code parsing method according to an embodiment of the present invention;

[0024] Figure 3This is a flowchart illustrating the information code parsing process according to an embodiment of the present invention;

[0025] Figure 4 This is a flowchart of the mapping relationship database construction method according to an embodiment of the present invention;

[0026] Figure 5 This is a flowchart of the historical implicit mapping record acquisition method according to an embodiment of the present invention;

[0027] Figure 6 This is a schematic diagram of the information code parsing device according to an embodiment of the present invention;

[0028] Figure 7 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0029] The present application is described below based on embodiments, but it is not limited to these embodiments. In the detailed description of the present application below, certain specific details are described in detail. Those skilled in the art can fully understand the present application without these details. To avoid obscuring the substance of the present application, well-known methods, processes, flows, elements, and circuits are not described in detail.

[0030] Furthermore, those skilled in the art should understand that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.

[0031] Unless the context explicitly requires it, words such as "including" or "contains" throughout the application should be interpreted as including rather than exclusive or exhaustive; that is, meaning "including but not limited to".

[0032] In the description of this application, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0033] The solutions described in this specification and embodiments, if involving the processing of personal information, will be processed only under the premise of having a legal basis (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be processed within the scope stipulated or agreed upon. A user's refusal to process personal information beyond what is necessary for basic functions will not affect the user's use of basic functions.

[0034] The information code parsing method of this invention can be applied to any scenario where users scan the wrong code due to the large number of information codes, such as the QR codes corresponding to various shared tools, including charging piles, shared bicycles, shared electric vehicles, shared power banks, etc. The following explanation will use scanning the charging information code on a charging pile as an example.

[0035] Figure 1 This is a schematic diagram of the information code parsing system according to an embodiment of the present invention. Figure 1 As shown, the information code parsing method includes a server 11, a charging pile 12, and a user terminal 13.

[0036] In this embodiment, server 11 is a general-purpose data processing device that provides computing or application services to the charging pile operation platform client. It can be a single computer, a cluster of multiple computers, or a cloud server that can flexibly adjust computing resources through cloud technology. Charging pile 12 is a device that provides power replenishment for electric vehicles, transmitting power from the power grid to the electric vehicle's battery to meet the vehicle's driving needs. The charging pile displays multiple information codes, including charging codes, download codes, and advertising codes set by the charging pile operation platform, as well as charging codes from other charging platforms or franchisees. User terminal 13 is a terminal device used or held by the electric vehicle owner. User terminal 13 is a general-purpose terminal that can run charging platform client applications and mini-programs, such as mobile phones, computers, tablets, or in-vehicle computers. User terminal 14 is used to display the charging page (i.e., the target page) on the charging platform client application or mini-program, allowing users to generate charging orders through human-computer interaction.

[0037] In this embodiment, the server 11 interacts with the user terminal 13 via the network to complete the information code parsing.

[0038] Figure 2 This is an interactive flowchart of the information code parsing method according to an embodiment of the present invention. Figure 2 As shown, the information code parsing method includes:

[0039] In step S201, user terminal 13 sends an information code parsing request to server 11.

[0040] The information code parsing request carries a first information code. An information code is a machine-readable pattern used to encode information; its format can be a one-dimensional barcode, a two-dimensional barcode, a stacked barcode, etc.

[0041] Specifically, the user uses user terminal 13 to scan the QR code on charging pile 12 to obtain the target page (i.e., the charging page).

[0042] In step S202, server 11 parses the first information code.

[0043] Taking a QR code as an example, the parsing process includes QR code image preprocessing, QR code localization, module division, data extraction, and data decoding. Data extraction includes recognizing functional modules within the QR code, such as format information, version information, and correction mode, as well as extracting the area containing the actual stored data. After data extraction, data decoding is performed, which includes error correction processing, restoring the original data, and then converting the binary data into actual characters or information. The data in a QR code can be of various types, such as numbers, letters, bytes, or Chinese characters.

[0044] In step S203, in response to the failure to parse the first information code, the server 11 determines whether the first information code is the target information code type.

[0045] Specifically, because different charging platforms use different information code standards and protocols, the information code contains not only charging information but also specific check codes and encryption information to ensure its security. Therefore, if the first information code is not from the charging platform to which the charging pile 12 belongs, the charging platform's server 11 cannot parse it, resulting in parsing failure. However, the server 11 can still obtain some information during the parsing attempt. Specifically, when parsing the information code, the server 11 first identifies its format. The information code format typically contains metadata, which helps identify the type of information code. Metadata can be specific prefixes, structures, or words, such as the charging pile ID. This initial format identification does not depend on the specific charging platform but is based on the standard format of the information code. Thus, the server 11 can determine the information code type when parsing fails.

[0046] The target information code type is a pre-set information code type that can be set according to actual needs. In the charging scenario of this embodiment, the target information code type is a charging code.

[0047] In step S204, in response to the first information code being the target information code type, server 11 searches for a second information code that has a mapping relationship with the first information code from a pre-built mapping relationship database.

[0048] The mapping relationship database is built based on historical QR code scanning data. It stores multiple mapping relationships between two QR codes, where one QR code is an unparseable, failed QR code, and the other is a parsable, successful QR code belonging to this charging platform.

[0049] In step S205, server 11 parses the second information code.

[0050] In step S206, server 11 responds to the successful parsing of the second information code and determines the corresponding target page.

[0051] Specifically, the second information code is a machine-recognizable pattern containing the target page address; parsing the second information code yields the corresponding target page address.

[0052] In step S207, server 11 sends the target page to user terminal 13.

[0053] In step S208, the user terminal 13 displays the target page.

[0054] In step S209, user terminal 13 receives feedback information input by the user.

[0055] The feedback information can include user input regarding their experience and receipt of charging orders generated based on the target page.

[0056] In one possible implementation, feedback information can also be obtained from the charging pile. For example, after sending the target page to the user terminal 13, the status of the charging pile corresponding to the target page is updated to be occupied within a predetermined time period.

[0057] In step S210, user terminal 13 sends feedback information to server 11.

[0058] Step S211: Server 11 updates the mapping relationship corresponding to the first information code in the mapping relationship database according to the feedback information.

[0059] Specifically, if the feedback information indicates that the target page is not the page expected to be obtained, it means that the mapping relationship is incorrect. After receiving a predetermined number of feedback messages indicating that the mapping relationship between the same first information code and the second information code is incorrect, the mapping relationship between the first information code and the second information code in the mapping relationship database can be marked as invalid.

[0060] In step S212, server 11 responds to the failure to parse the second information code and determines the information code guidance information.

[0061] The information code guidance information can be in text or voice format, and the content is used to prompt users to find the correct charging code, such as "Please scan the QR code at XX" or "Please scan the QR code of color xx", etc.

[0062] In step S213, server 11 sends information code guidance information to user terminal 13.

[0063] In step S214, user terminal 13 outputs information code guidance information.

[0064] The system of this invention obtains an information code parsing request, which carries a first information code. The system parses the first information code. If parsing of the first information code fails, it searches a pre-built mapping database for a second information code that has a mapping relationship with the first information code. The system then parses the second information code. If parsing of the second information code succeeds, it controls the user terminal to display the target page. This method utilizes fuzzy matching technology to build a code-scanning parsing link. This link, based on pre-built mapping data, automatically determines and uses the correct information code to recharge when the user scans an incorrect code, thereby effectively avoiding code-scanning errors. It has advantages such as low cost, ease of implementation, and good scalability in solving the code-scanning problem.

[0065] Figure 3 This is a flowchart illustrating the information code parsing process according to an embodiment of the present invention. Figure 3 As shown, the information code parsing includes the following steps:

[0066] Step S301: Obtain an information code parsing request, wherein the information code parsing request carries a first information code.

[0067] Step S302: Parse the first information code.

[0068] For details on the specific analysis method, please refer to the above embodiments, which will not be repeated here.

[0069] Step S303: In response to the failure to parse the first information code, search for a second information code that has a mapping relationship with the first information code from the pre-built mapping relationship database.

[0070] In one possible implementation, the second information code that has a mapping relationship with the first information code is directly searched.

[0071] In one possible implementation, the information code type of the first information code can be determined first. If it is the target information code type, a second information code that has a mapping relationship with the first information code can be found. Specifically, in response to the failure to parse the first information code, it is determined whether the first information code is the target information code type. In response to the first information code being the target information code type, a second information code that has a mapping relationship with the first information code is searched from a pre-built mapping relationship database. Introducing a target information code type can reduce the amount of data processing. Information code mapping is performed for specific types of information codes, such as charging codes, which are important for the operation of charging piles. If the information code is an advertising code or other relatively less important information code, the information code mapping method is not used for parsing. Mapping and parsing for some rather than all types of information codes can reduce the amount of data processing and speed up the information code parsing process.

[0072] Optionally, the target information code type may include multiple types. Correspondingly, the mapping relationship database may establish multiple partitions according to the information code type so that after determining the type of the first information code, the mapping relationship of the first information code can be directly searched from the corresponding partition, thereby speeding up the search speed of the second information code.

[0073] Figure 4 This is a flowchart illustrating a method for constructing a mapping relationship database according to an embodiment of the present invention. Figure 3 As shown, the method for constructing the mapping relationship database includes the following steps:

[0074] Step S401: Obtain historical implicit mapping records.

[0075] The historical implicit mapping record includes historical failed QR code scanning data and historical successful QR code scanning data that are implicitly associated with the failed QR code scanning data. The historical failed QR code scanning data includes a failure information code and a corresponding user identifier, and the historical successful QR code scanning data includes a success information code and a corresponding user identifier. The implicit association means that the user identifiers corresponding to the historical failed QR code scanning data and the historical successful QR code scanning data are the same, and the timestamp of the historical successful QR code scanning data is within a predetermined time period after the timestamp of the historical successful QR code scanning data.

[0076] Figure 5 This is a flowchart of a method for obtaining historical implicit mapping records according to an embodiment of the present invention. Figure 5 As shown, the method for obtaining historical implicit mapping records includes the following steps:

[0077] Step S501: Obtain historical QR code scanning data.

[0078] The historical scanning data includes successful and failed scanning data for each type of information code.

[0079] Step S502: Clean the historical scanning data to obtain scanning failure data.

[0080] Specifically, find historical scanning data that failed to scan and use it as the scanning data.

[0081] In one possible implementation, if mapping is only performed on some information code types, the cleaning conditions can include not only scanning failure but also target information code types.

[0082] Step S503: Search the historical QR code scanning data for successful QR code scanning data of the same user identifier within a predetermined time period after the timestamp.

[0083] The predetermined time period can be determined based on the actual situation, such as 5 seconds, 10 seconds, or 15 seconds. The predetermined time period is determined based on the average time it takes for a user to re-search for the information code. For example, if it is difficult for a user to park their electric vehicle in front of another charging station and complete the scanning within 5 seconds, then it is assumed that the information code scanned by the same user within 5 seconds should be the information code of the same charging station.

[0084] Step S504: In response to a successful search, the historical implicit mapping record is generated.

[0085] Step S402: In response to the fact that the number of historical implicit mapping records exceeds the mapping relationship creation threshold, a mapping relationship is created between the failure information code and the success information code.

[0086] Step S403: Store the mapping relationship in the mapping relationship database.

[0087] Step S502: In response to the fact that the number of historical implicit mapping records exceeds the mapping relationship creation threshold, a mapping relationship is created between the failure information code and the success information code.

[0088] The threshold for creating mapping relationships can be determined and adjusted according to the actual situation. For example, the threshold for creating mapping relationships can be 10, 15, or 20, etc.

[0089] Step S503: Store the mapping relationship in the mapping relationship database.

[0090] Step S304: Parse the second information code.

[0091] Step S305: In response to the successful parsing of the second information code, control the user terminal to display the target page.

[0092] The specific implementation methods of steps S301-S305 are as shown in the above embodiments, and will not be repeated here.

[0093] In one possible implementation, if the parsing of the second information code fails in step S304, it indicates that the second information code is also an incorrect information code. In this case, the terminal can be controlled to output information code guidance information to guide the user to find the information code that can be parsed.

[0094] In one possible implementation, feedback information based on the target page can also be obtained, and the mapping relationship corresponding to the first information code in the mapping relationship database can be updated according to the feedback information.

[0095] Feedback information can be obtained from the user terminal, such as user input feedback, charging orders sent by the user terminal within a second predetermined time period after the target page is sent to the user terminal (if the second predetermined time period is longer than the predetermined time period), or the user's action of directly exiting the target page. Feedback information can also be obtained from the charging station, such as the occupancy status of the charging station within a third predetermined time period after the target page is sent to the user terminal.

[0096] Optionally, the failure to parse the second information code can also be used as feedback information. If the second information code also fails to parse, it means that the second information code is also unusable, and the mapping relationship between the first and second information codes is useless.

[0097] After obtaining feedback information, if the feedback information indicates that the mapping relationship between the first information code and the second information code is incorrect or invalid, the mapping relationship between the first information code and the second information code can be marked as pending cancellation. When the number of pending cancellation marks for the mapping relationship between the first information code and the second information code exceeds the mapping relationship cancellation threshold, the mapping relationship between the first information code and the second information code in the mapping relationship database can be deleted or marked as invalid.

[0098] Optionally, the mapping cancellation threshold should be lower than the mapping creation threshold to ensure the reliability of the mapping.

[0099] In one possible implementation, the mapping database can be updated in real time, or it can be updated according to preset update time nodes or update time cycles, such as updating every other day, or updating every Saturday at midnight. The specific update method can be determined according to the actual situation. No limitation is made here.

[0100] The method of this invention includes obtaining an information code parsing request, which carries a first information code. The first information code is parsed. If the parsing of the first information code fails, a second information code that has a mapping relationship with the first information code is searched from a pre-built mapping relationship database. The second information code is parsed. If the parsing of the second information code is successful, the user terminal is controlled to display the target page. The above method uses fuzzy matching technology to build a code scanning error parsing link. This link is based on pre-built mapping relationship data and automatically judges and uses the correct information code to charge when the user scans an incorrect code, thereby effectively avoiding the occurrence of code scanning errors. It has the advantages of low cost, easy implementation, and good scalability in solving the problem of code scanning errors.

[0101] Figure 6 This is a schematic diagram of an information code parsing device according to an embodiment of the present invention. Figure 6 As shown, the information code parsing device includes:

[0102] The acquisition module 601 is used to acquire an information code parsing request, wherein the information code parsing request carries a first information code.

[0103] The first parsing module 602 is used to parse the first information code.

[0104] The lookup module 603 is used to look up a second information code that maps to the first information code from a pre-built mapping relationship database in response to a parsing failure.

[0105] The second parsing module 604 is used to parse the second information code in response to a search for the second information code.

[0106] The control module 605 is used to control the user terminal to display the target page in response to the successful parsing of the second information code.

[0107] The device in this embodiment of the invention includes obtaining an information code parsing request, the information code parsing request carrying a first information code, parsing the first information code, and, in response to the failure of parsing the first information code, searching for a second information code that has a mapping relationship with the first information code from a pre-built mapping relationship database, parsing the second information code, and, in response to the successful parsing of the second information code, controlling the user terminal to display the target page. The above method uses fuzzy matching technology to build a code scanning error parsing link. This link is based on pre-built mapping relationship data and automatically judges and uses the correct information code to charge when the user scans an incorrect code, thereby effectively avoiding the occurrence of code scanning errors. It has the advantages of low cost, easy implementation, and good scalability in solving the problem of code scanning errors.

[0108] Figure 7 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Figure 7 As shown, Figure 7The illustrated electronic device is a general address lookup device, comprising a general computer hardware architecture, including at least a processor 701 and a memory 702. The processor 701 and memory 702 are connected via a bus 703. The memory 702 is adapted to store instructions or programs executable by the processor 701. The processor 701 can be a standalone microprocessor or a collection of one or more microprocessors. Thus, the processor 701 executes the instructions stored in the memory 702, thereby performing the method flow of the embodiments of the present invention as described above to process data and control other devices. The bus 703 connects the aforementioned components together, and also connects these components to a display controller 704, a display device, and an input / output (I / O) device 705. The input / output (I / O) device 705 can be a mouse, keyboard, modem, network interface, touch input device, motion-sensing input device, printer, and other devices known in the art. Typically, the input / output device 705 is connected to the system via an input / output (I / O) controller 706.

[0109] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus (devices), or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0110] This application is described with reference to flowchart illustrations of methods, apparatus (devices), and computer program products according to embodiments of this application. It should be understood that each step in the flowchart can be implemented by computer program instructions.

[0111] These computer program instructions may be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction means, the implementation process of which is described in the instruction means. Figure 1 The function specified in one or more processes.

[0112] These computer program instructions may also be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, produce instructions for implementing processes. Figure 1 A device for a function specified in one or more processes.

[0113] This invention embodiment includes obtaining an information code parsing request, which carries a first information code. The first information code is parsed. In response to the failure of parsing the first information code, a second information code that has a mapping relationship with the first information code is searched from a pre-built mapping relationship database, and the second information code is parsed. In response to the successful parsing of the second information code, the user terminal is controlled to display the target page. The above method uses fuzzy matching technology to build a code scanning error parsing link. This link is based on pre-built mapping relationship data and automatically judges and uses the correct information code to charge when the user scans an incorrect code, thereby effectively avoiding the occurrence of code scanning errors. It has the advantages of low cost, easy implementation, and good scalability in solving the problem of code scanning errors.

[0114] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program for use by a computer to execute some or all of the above-described method embodiments.

[0115] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program specifying the relevant hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0116] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. An information code parsing method, characterized in that, The method includes: Obtain an information code parsing request, wherein the information code parsing request carries a first information code; The first information code is parsed; In response to the failure to parse the first information code, a second information code that has a mapping relationship with the first information code is searched from a pre-built mapping relationship database; The second information code is parsed; Upon successful parsing of the second information code, the user terminal is controlled to display the target page.

2. The method according to claim 1, characterized in that, The step of responding to the failure to parse the first information code by searching a pre-built mapping database for a second information code that has a mapping relationship with the first information code includes: In response to the failure to parse the first information code, determine whether the first information code is of the target information code type; In response to the first information code being the target information code type, a second information code that has a mapping relationship with the first information code is searched from a pre-built mapping relationship database.

3. The method according to claim 1, characterized in that, The mapping database is constructed through the following steps: Obtain historical implicit mapping records, which include historical failed QR code scanning data and historical successful QR code scanning data that are implicitly associated with the failed QR code scanning data. The historical failed QR code scanning data includes a failure information code and a corresponding user identifier, and the historical successful QR code scanning data includes a success information code and a corresponding user identifier. The implicit association means that the user identifiers corresponding to the historical failed QR code scanning data and the historical successful QR code scanning data are the same, and the timestamp of the historical successful QR code scanning data is within a predetermined time period after the timestamp of the historical successful QR code scanning data. In response to the number of historical implicit mapping records exceeding the mapping relationship creation threshold, a mapping relationship is created between the failure information code and the success information code; The mapping relationships are stored in the mapping relationship database.

4. The method according to claim 3, characterized in that, The acquisition of historical implicit mapping records includes: Obtain historical QR code scanning data; The historical QR code scanning data is cleaned to obtain the QR code scanning failure data; Search the historical QR code scanning data for the same user identifier within a predetermined time period after the timestamp; In response to a successful search, the historical implicit mapping record is generated.

5. The method according to claim 1, characterized in that, The method further includes: In response to the failure to parse the second information code, the terminal is controlled to output information code guidance information to guide the user to find the information code that can be parsed.

6. The method according to claim 3, characterized in that, The method further includes: Obtain feedback information based on the target page; The mapping relationship corresponding to the first information code in the mapping relationship database is updated based on the feedback information.

7. An information code parsing device, characterized in that, The device includes: The acquisition module is used to acquire an information code parsing request, wherein the information code parsing request carries a first information code; The first parsing module is used to parse the first information code; A lookup module is used to look up a second information code that maps to the first information code in response to a parsing failure, from a pre-built mapping database. The second parsing module is used to parse the second information code in response to a search for the second information code; The control module is used to control the user terminal to display the target page in response to the successful parsing of the second information code.

8. An electronic device comprising a memory and a processor, characterized in that, The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1-6.

10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method as described in any one of claims 1-6.