Vehicle identification code error correction reminder method and device

By replacing the number of the target bit in the vehicle identification code entered by the user, and generating and verifying the second vehicle identification code, the problem of error correction in the prior art is solved, and the error correction of the vehicle identification code and the user convenience are improved.

CN115344420BActive Publication Date: 2025-02-21南京爱福路汽车科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210992697.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2025-02-21
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

The prior art cannot correct errors for users to enter incorrect vehicle identification codes.

Method used

By obtaining at least one reference number sequence, replacing the number of the target bit in the vehicle identification code entered by the user, a second vehicle identification code is generated, and its correctness is verified. When only one second vehicle identification code is correct, an error correction reminder message is output.

Benefits of technology

The error correction of vehicle identification code is realized, and the convenience of users to modify vehicle identification code is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115344420B_ABST
    Figure CN115344420B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a vehicle identification code error correction reminder method and device, which relates to the field of data processing technology. The vehicle identification code error correction reminder method may include: when it is detected that the first vehicle identification code input by the user is wrong, obtaining at least one reference number sequence; replacing the number of the target position in the first vehicle identification code with the number of the target position in the reference number sequence, generating at least one second vehicle identification code; verifying whether each of the second vehicle identification codes is correct; when it is determined that only one of the second vehicle identification codes is correct, outputting a first error correction reminder message. The technical solution provided by the embodiment of the present invention can, to a certain extent, solve the problem that the prior art cannot correct the incorrectly input vehicle identification code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a vehicle identification code error correction reminder method and device. Background Art

[0002] The Vehicle Identification Number (VIN) is the unique identifier of a vehicle, and can be considered as the vehicle's ID number. After a vehicle leaves the factory, the VIN may be used in many scenarios, such as vehicle information entry and vehicle information query. However, since the VIN has many digits, it is easy to make mistakes when entering it manually.

[0003] Through existing technical means, it is possible to verify whether the vehicle identification code input by the user is correct, but this is limited to this, and it is impossible to perform error correction processing on the vehicle identification code. Summary of the invention

[0004] The embodiment of the present invention provides a vehicle identification code error correction reminder method and device, which can solve the problem that an incorrectly input vehicle identification code cannot be corrected in the prior art to a certain extent.

[0005] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0006] In a first aspect, an embodiment of the present invention provides a vehicle identification code error correction reminder method, comprising:

[0007] In the case of detecting that the first vehicle identification code input by the user is wrong, obtaining at least one reference number sequence; wherein each of the reference number sequences is the first 11 digits of a known correct vehicle identification code, and the number of the target digit in each of the reference number sequences is different from the number of the target digit in the first vehicle identification code by at least one digit, and the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit;

[0008] Replacing the number of the target position in the first vehicle identification code with the number of the target position in the reference number sequence to generate at least one second vehicle identification code;

[0009] Verifying whether each of the second vehicle identification codes is correct;

[0010] When it is determined that only one of the second vehicle identification codes is correct, a first error correction reminder message is output; wherein the first error correction reminder message is used to remind the user whether to replace the first vehicle identification code with an error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that is uniquely verified to be correct.

[0011] In a second aspect, an embodiment of the present invention provides a vehicle identification code error correction reminder device, comprising:

[0012] an acquisition module, configured to acquire at least one reference number sequence when detecting that the first vehicle identification code input by the user is wrong; wherein each of the reference number sequences is the first 11 digits of a known correct vehicle identification code, and the number of the target digit in each of the reference number sequences is different from the number of the target digit in the first vehicle identification code by at least one digit, and the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit;

[0013] A generating module, configured to replace the number of the target position in the first vehicle identification code with the number of the target position in the reference number sequence, to generate at least one second vehicle identification code;

[0014] A verification module, used for verifying whether each of the second vehicle identification codes is correct;

[0015] The first output module is used to output a first error correction reminder message when it is determined that only one of the second vehicle identification codes is correct; wherein the first error correction reminder message is used to remind the user whether to replace the first vehicle identification code with an error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that is uniquely verified to be correct.

[0016] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps in the vehicle identification code correction and vehicle identification code correction reminder method as described in the first aspect are implemented.

[0017] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the vehicle identification code error correction reminder method as described in the first aspect are implemented.

[0018] In an embodiment of the present invention, when it is detected that the vehicle identification code input by the user is incorrect, the possible correct vehicle identification code is determined by replacing the number of the target position of the vehicle identification code with the number of the target position of the known correct vehicle identification code, and the possible correct vehicle identification code is provided to the user as error correction reference information for reference and selection. This can achieve error correction of the vehicle identification code to a certain extent, and is also conducive to improving the convenience of users in modifying the vehicle identification code. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 One of the flow charts of the vehicle identification code error correction reminder method provided by an embodiment of the present invention;

[0021] Figure 2 A second flow chart of the vehicle identification code error correction reminder method provided by an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of a vehicle identification code query interface provided by an embodiment of the present invention;

[0023] Figure 4 A block diagram of a vehicle identification code error correction and reminder device provided by an embodiment of the present invention;

[0024] Figure 5 A block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. It should be noted that the embodiments described herein are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments described herein, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] For the vehicle identification code, its first 11 digits (except the 9th digit) represent some vehicle information. For the user, when using the vehicle identification code, the corresponding vehicle information is mainly obtained based on the vehicle identification code. Therefore, whether the first 11 digits (except the 9th digit) of the vehicle identification code entered by the user are correct or not may affect the correctness of the vehicle information finally obtained. Therefore, the technical solution provided in the embodiment of the present invention is mainly used for error correction processing of the first 11 digits (except the 9th digit) of the vehicle identification code. The technical solution provided in the embodiment of the present invention is specifically explained below.

[0027] According to one aspect of an embodiment of the present invention, a vehicle identification code error correction reminder method is provided, which can be applied to electronic devices, such as terminal devices or servers.

[0028] like Figure 1 As shown, the vehicle identification code error correction reminder method may include:

[0029] Step 101: When it is detected that a first vehicle identification code input by a user is incorrect, obtaining at least one reference number sequence.

[0030] For the 17-digit vehicle identification code, the first 11 digits except the 9th digit represent some vehicle information, such as the country of production, manufacturer, vehicle type, vehicle features, model year, etc. The last 6 digits of the vehicle identification code are the production serial number, which can also be understood as the serial number. The 9th digit of the vehicle identification code is the check digit, and the vehicle identification code rule (i.e., SAE (Society of Automotive Engineers) standard) can be used to verify whether the vehicle identification code is correct.

[0031] Among them, the vehicle identification code rules may include: the 9th bit of the vehicle identification code = sum (corresponding values ​​of other bits * weighted value) / remainder of 11, that is, the corresponding value of each bit of the 16-bit vehicle identification code except the 9th bit is multiplied by the corresponding preset weighted value of each bit, and then divided by 11 to get the remainder. If it is the same as the number of the 9th check bit, it means that the vehicle identification code meets the specifications and is correct. Otherwise, it means that the vehicle identification code is wrong. Figure 2 As shown, the electronic device receives the first vehicle identification code input by the user, and then determines whether the first vehicle identification code is correct. If it is correct, no error correction reminder is required and the process ends; if it is wrong, the next step is executed to obtain at least one reference coding sequence.

[0032] Among them, the corresponding values ​​of each digit (except the 9th digit) of the vehicle identification code are shown in Table 1.

[0033] Table 1

[0034] <![CDATA[ 0 ]]> <![CDATA[ 1 ]]> <![CDATA[ 2 ]]> <![CDATA[ 3 ]]> <![CDATA[ 4 ]]> <![CDATA[ 5 ]]> <![CDATA[ 6 ]]> <![CDATA[ 7 ]]> <![CDATA[ 8 ]]> <![CDATA[ 9 ]]> 0 1 2 3 4 5 6 7 8 9 <![CDATA[ A ]]> <![CDATA[ B ]]> <![CDATA[ C ]]> <![CDATA[ D ]]> <![CDATA[ E ]]> <![CDATA[ F ]]> <![CDATA[ G ]]> <![CDATA[ H ]]> <![CDATA[ J ]]> <![CDATA[ K ]]> <![CDATA[ L ]]> <![CDATA[ M ]]> <![CDATA[ N ]]> <![CDATA[ P ]]> <![CDATA[ R ]]> <![CDATA[ S ]]> <![CDATA[ T ]]> <![CDATA[ U ]]> <![CDATA[ V ]]> <![CDATA[ W ]]> <![CDATA[ X ]]> <![CDATA[ Y ]]> <![CDATA[ Z ]]> 1 2 3 4 5 6 7 8 1 2 3 4 5 7 9 2 3 4 5 6 7 8 9

[0035] In Table 1, the bold and underlined numbers and letters in the first and third rows are possible numbers for each digit (except the 9th digit) of the vehicle identification code, and the numbers in the second and third rows are the corresponding values ​​of each number.

[0036] Among them, the preset weighted values ​​corresponding to each bit (except the 9th bit) of the vehicle identification code are shown in Table 2.

[0037] Table 2

[0038] <![CDATA[ 1 ]]> <![CDATA[ 2 ]]> <![CDATA[ 3 ]]> <![CDATA[ 4 ]]> <![CDATA[ 5 ]]> <![CDATA[ 6 ]]> <![CDATA[ 7 ]]> <![CDATA[ 8 ]]> <![CDATA[ 9 ]]> <![CDATA[ 10 ]]> <![CDATA[ 11 ]]> <![CDATA[ 12 ]]> <![CDATA[ 13 ]]> <![CDATA[ 14 ]]> <![CDATA[ 15 ]]> <![CDATA[ 16 ]]> <![CDATA[ 17 ]]> 8 7 6 5 4 3 2 10 9 8 7 6 5 4 3 2

[0039] In Table 2, the bold and underlined numbers in the first row are used to represent the 1st to 17th digits of the vehicle identification code, and the numbers in the second row represent the preset weighted values ​​corresponding to each digit.

[0040] Each reference number sequence is the first 11 digits of a known correct vehicle identification code, and the target digit in each reference number sequence is different from the target digit in the first vehicle identification code by at least one digit, and the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit. Assuming that a known correct vehicle identification code A is: LHGGE887192689245, then its first 11 digit number sequence is: LHGGE887192. Assuming that the first vehicle identification code is: LHGGE987692014786, the target digit number sequence of vehicle identification code A is: LHGGE88792. Compared with the target digit number sequence of the first vehicle identification code: LHGGE98792, only the 6th digit is different, then the first 11 digit number sequence of vehicle identification code A can be used as a reference number sequence.

[0041] It should be noted that, when the number of reference number sequences is at least two, all reference number sequences are different from each other.

[0042] Step 102: Replace the number of the target position in the first vehicle identification code with the number of the target position in the reference number sequence to generate at least one second vehicle identification code.

[0043] like Figure 2 As shown, after obtaining at least one reference coding sequence, the number of the target position in the first vehicle identification code input by the user is replaced with the number of the target position in the reference number sequence to obtain at least one second vehicle identification code (ie, at least one new vehicle identification code).

[0044] Wherein, when the number of the reference number sequence is one, the number of the target position in the first vehicle identification code is replaced with the number of the target position in the unique reference number sequence to generate a second vehicle identification code.

[0045] Wherein, when the number of reference number sequences is at least two, the number of the target position in the first vehicle identification code is replaced by the number of the target position in the at least two reference number sequences respectively, to generate at least two second vehicle identification codes. For example, the reference number sequence includes: number sequence A and number sequence B, then the number of the target position in the first vehicle identification code can be replaced by the number of the target position in number sequence A to obtain the first second vehicle identification code, and then the number of the target position in the first vehicle identification code can be replaced by the number of the target position in number sequence B to obtain the second second vehicle identification code.

[0046] Step 103: Check whether each second vehicle identification code is correct.

[0047] like Figure 2As shown, after obtaining at least one second vehicle identification code, each second vehicle identification code may be verified to determine whether the second vehicle identification code is correct.

[0048] The verification method is the same as that described in step 101, and will not be described again here.

[0049] Step 104: When it is determined that only one second vehicle identification code is correct, output a first error correction reminder message.

[0050] The first error correction reminder information is used to remind the user whether to replace the first vehicle identification code with the error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that is uniquely verified to be correct.

[0051] like Figure 2 As shown, after completing the verification of the second vehicle identification code, it can be determined whether there is and only one second vehicle identification code that is correct. If so, it means that the only verified correct second vehicle identification code is likely to be the correct vehicle identification code that the user wants to enter, so the first error correction reminder information can be output (such as display output and / or voice output, etc.).

[0052] Below Figure 3 Taking the example of FIG. 1 as an example, the first error correction reminder information is illustrated.

[0053] like Figure 3 As shown, the user enters the VIN code (LHGGE987692014786) in the vehicle identification code query interface 300 displayed by the electronic device to query the corresponding vehicle information. The electronic device detects that the VIN code entered by the user is incorrect through the verification algorithm, and then determines the possible correct VIN code (LHGGE887692014786) through the technical solution provided by the embodiment of the present invention, and then outputs the first error correction reminder information. Figure 3 As shown in 301, the first error correction reminder information may include: the VIN code entered by the user, the possible correct VIN code (i.e., the error correction reference VIN code) and the text prompt information (i.e., "Do you want to continue querying according to the corrected VIN code"). The vehicle identification code query interface 300 also displays two virtual buttons 302 and 303. If the user recognizes the error correction reference VIN code provided by the electronic device, the virtual button 302 can be triggered; if the user does not recognize the error correction reference VIN code provided by the electronic device, the virtual button 303 can be triggered. It can be understood that Figure 3 The first error correction reminder information shown is exemplary and not limited to this.

[0054] Compared with the prior art, the technical solution provided by the embodiment of the present invention can verify whether the vehicle identification code input by the user is correct. At the same time, when the verification result shows that the vehicle identification code input by the user is incorrect, a possible correct vehicle identification code (i.e., a correction reference vehicle identification code) can be provided for the user's reference and selection. This can realize error correction of the vehicle identification code to a certain extent, and is also conducive to improving the convenience of users in modifying the vehicle identification code.

[0055] As an optional embodiment, step 104: when it is determined that only one of the second vehicle identification codes is correct, outputting the first error correction reminder information may include:

[0056] Step A1: when it is determined that only one second vehicle identification code is correct, the only verified correct second vehicle identification code is determined as a reference vehicle identification code for error correction.

[0057] Step A2: Determine the difference number between the first vehicle identification code and the error correction reference vehicle identification code.

[0058] Step A3: Generate first prompt information according to the different numbers between the first vehicle identification code and the error correction reference vehicle identification code.

[0059] Step A3: outputting first error correction reminder information including first prompt information.

[0060] The first prompt information is used to prompt the user of the difference between the first vehicle identification code and the error correction reference vehicle identification code.

[0061] In an embodiment of the present invention, after verifying the second vehicle identification code, if it is found that only one second vehicle identification code is correct, the only correctly verified second vehicle identification code can be determined as the error correction reference vehicle identification code, and then the different numbers between the first vehicle identification code and the error correction reference vehicle identification code are determined to locate the possible erroneous number, and then a first prompt message is generated based on the different numbers between the first vehicle identification code and the error correction reference vehicle identification code, and the first prompt message is output as a part of the first error correction reminder message, which helps the user to quickly identify whether the positioning of the erroneous number is correct.

[0062] Optionally, the first prompt information may be information for highlighting different numbers from the same number. Figure 3 As shown in 301, the sixth digit number "9" of the VIN code input by the user and the sixth digit number "8" of the reference vehicle identification code for error correction are highlighted in bold, italic and underlined, and the highlighted information is bold, italic and underlined. Of course, the highlighting method is not limited to Figure 3As shown, any processing means that can highlight different numbers can be used. It is understandable that a prompt can also be directly provided in text form, such as "The sixth digit "9" of the VIN code you entered may be incorrect, and the correct number may be "8"".

[0063] As an optional embodiment, the first error correction reminder information may also include: vehicle information corresponding to the error correction reference vehicle identification code.

[0064] In the embodiment of the present invention, in addition to providing the error correction reference vehicle identification code, the vehicle information corresponding to the error correction reference vehicle identification code can also be provided. Sometimes, when the user inputs the vehicle identification code, such as using the vehicle identification code to query vehicle information, or entering the vehicle identification code into the system, some basic information of the vehicle may have been obtained. Therefore, based on the vehicle information corresponding to the error correction reference vehicle identification code, the user can also, to a certain extent, determine whether the error correction reference vehicle identification code is a correct vehicle identification code, thereby determining whether to use the error correction reference vehicle identification code.

[0065] As an optional embodiment, after step 103: verifying whether each second vehicle identification code is correct, the vehicle identification code error correction reminder method may further include:

[0066] If it is determined that at least two second vehicle identification codes are correct, a second error correction reminder message is output, wherein the second error correction reminder message is used to remind the user to check whether the last 6 digits and / or the 9th digit of the first vehicle identification code are correct.

[0067] After verifying the second vehicle identification code, if it is found that at least two second vehicle identification codes are correct, it means that the target number of the first vehicle identification code may be correct, and the incorrect number may be the 9th digit and / or the last 6 digits. At this time, a second error correction reminder message can be output to remind the user to focus on checking whether the last 6 digits and / or the 9th digit of the input vehicle identification code are correct, so as to help the user locate the incorrect number as soon as possible.

[0068] As an optional embodiment, step 101: obtaining at least one reference number sequence when detecting that the first vehicle identification code input by the user is incorrect may include:

[0069] Step B1: when it is detected that the first vehicle identification code input by the user is wrong, obtaining at least one first number sequence in a preset database which is different from the number of the target digit in the first vehicle identification code by at least one digit.

[0070] In the embodiment of the present invention, at least one first numbering sequence that is different from the numbering of the target digit in the first vehicle identification code by at least one digit can be obtained from the preset database, wherein each first numbering sequence is the first 11 digits of a known correct vehicle identification code.

[0071] Wherein, when the electronic device is a terminal device, the preset database can be stored in the terminal device or in a server. When the electronic device is a server, the preset database can be stored in the server or in another server.

[0072] Step B2: respectively determining the number of vehicle identification codes in the preset database that include different first numbering sequences.

[0073] A large number of known correct vehicle identification codes are pre-stored in the preset database, so that after the electronic device obtains the first number sequence, it can respectively determine the number of vehicle identification codes including different first number sequences in the preset database, that is, respectively determine the number of occurrences of each first number sequence in the preset database. For example, the first number sequence includes: number sequence a and number sequence b, then respectively determining the number of vehicle identification codes including different first number sequences means: respectively determining the number of vehicle identification codes including number sequence a and the number of vehicle identification codes including number sequence b.

[0074] The known correct vehicle identification code stored in the preset database may be obtained by statistics of historical vehicle data in advance.

[0075] Step B3: Filtering out a reference number sequence from the first number sequence according to the number of vehicle identification codes including different first number sequences.

[0076] When the country of production, manufacturer, vehicle type, vehicle features, model year, etc. of two vehicles are the same, the first 11 digits (except the 9th digit) of the vehicle identification codes of the two vehicles are also the same. The more vehicle identification codes that include a certain first number sequence, the higher the reliability and authenticity of the first number sequence. Conversely, the lower the reliability and authenticity of the first number sequence. Therefore, in order to improve the reliability and authenticity of the reference number sequence, the embodiment of the present invention can filter out the reference number sequence in the first number sequence according to the number of vehicle identification codes that include different first number sequences. Among them, the more the number of known correct vehicle identification codes in the preset database, the more comprehensive the vehicle identification codes covered, and the higher the reliability and authenticity of the reference number sequence finally filtered out.

[0077] Optionally, in the process of selecting the reference number sequence from the first number sequence according to the number of vehicle identification codes including different first number sequences, the first number sequences included in the vehicle identification codes with the first M numbers can be sorted in descending order, and the first number sequences included in the vehicle identification codes with the first M numbers can be determined as the reference number sequence, where M is an integer greater than or equal to 1, and the specific value can be set according to actual needs.

[0078] Optionally, in the process of selecting the reference number sequence from the first number sequence according to the number of vehicle identification codes including different first number sequences, the first number sequences included in the vehicle identification codes whose number is greater than or equal to a preset value (also referred to as a first preset value) may be determined as the reference number sequence. The first preset value is an integer greater than or equal to 1, and the specific value may be set according to actual needs.

[0079] Optionally, in addition to filtering the reference number sequence according to the number of occurrences of the first number sequence, filtering can also be performed according to the probability of occurrence of the first number sequence, where the probability of occurrence of the first number sequence = the number of occurrences of the first number sequence / the total number of vehicle identification codes in the preset database.

[0080] Among them, the reference number sequence is screened according to the probability of occurrence of the first number sequence, which is similar to the principle of screening the reference number sequence according to the number of occurrences of the first number sequence. For example, the first number sequence included in the vehicle identification code with the first M digits of the probability of occurrence can be sorted in descending order, and the first number sequence included in the vehicle identification code with the probability of occurrence greater than or equal to the second preset value can be determined as the reference number sequence.

[0081] Optionally, the preset database may include: a preset table, which records different first 11-digit number sequences of known correct vehicle identification codes obtained in advance, and the number of vehicle identification codes including different first 11-digit number sequences in the preset database obtained in advance (i.e., the number of occurrences of each first 11-digit number sequence in the preset database), as shown in Table 3.

[0082] Table 3

[0083] First 11 digits sequence Occurrence LVSKKKD4*DD 1111 LVSKABD4*D8 1000 LHGGE887*9A 900 LJFDDH65*9B 800

[0084] The aforementioned step B1: when it is detected that the first vehicle identification code input by the user is wrong, obtaining at least one first number sequence in a preset database that is different from the number of the target digit in the first vehicle identification code by at least one digit, may include:

[0085] When it is detected that the first vehicle identification code input by the user is wrong, at least one first number sequence is obtained from a preset table, which has at least one digit different from the number of the target digit in the first vehicle identification code.

[0086] Optionally, in order to facilitate the comparison between the first 11-digit number sequence recorded in the preset table and the target number in the first vehicle identification code, the embodiment of the present invention can replace the 9th digit in the first 11-digit number sequence in the preset table and the 9th digit in the first vehicle identification code with the same character, such as the special character "*" (as shown in Table 3), "#", etc., so that even if the 9th digit is involved in the comparison process, it will not affect the comparison result. For example, the first 11-digit number sequence of the first vehicle identification code is: LHGGE987692, and the 9th digit "6" can be replaced by "*" to obtain: LHGGE987*92, which is then compared with the first 11-digit number sequence in the preset table as shown in Table 3 to filter out the first number sequence.

[0087] Of course, there are other optional methods. For example, only the 9th number in the first 11-digit number sequence in the preset table can be replaced with the same special character. When comparing the first 11-digit number sequence recorded in the preset table with the target number in the first vehicle identification code, if the special character in the first 11-digit number sequence in the preset table is detected, the comparison of the position number is skipped and the comparison of other position numbers is continued. For example, the first 11-digit number sequence of the first vehicle identification code: LHGGE987692 can be taken and compared with the first 11-digit number sequence in the preset table as shown in Table 3. When the special character "*" is detected in the first 11-digit number sequence in the preset table, the comparison of the position number is skipped and the comparison of the next number is continued. Alternatively, the target digit number sequence of the first vehicle identification code: LHGGE98792 can be taken and compared with the first 11 digit number sequence in the preset table as shown in Table 3. When the special character "*" is detected in the first 11 digit number sequence in the preset table, the position number is skipped and ignored, and the next digit of the first 11 digit number sequence in the preset table is compared with the 9th digit of the target digit number sequence of the first vehicle identification code (i.e., the original 10th digit of the first vehicle identification code).

[0088] It should be noted that the special characters mentioned here refer to characters that will not appear in the vehicle identification code, so as to facilitate distinction from the characters in the vehicle identification code.

[0089] Accordingly, the aforementioned step B2: respectively determining the number of vehicle identification codes in the preset database including different first numbering sequences may include:

[0090] Based on the preset table, the number of vehicle identification codes including different first numbering sequences in the preset database is determined respectively.

[0091] In the embodiment of the present invention, by pre-counting different first 11-digit numbering sequences and the number of vehicle identification codes including different first 11-digit numbering sequences in a preset database and storing them in a table form, subsequent information query and use can be facilitated.

[0092] As an optional embodiment, the number of the target digit in each reference number sequence is different from the number of the target digit in the first vehicle identification code by one digit.

[0093] In the process of realizing the present invention, the inventors found based on historical data statistics, actual investigations, etc. that in the case of errors in manually inputting vehicle identification codes, most of the time, one number is entered incorrectly, and it is very rare that two or even more numbers are entered incorrectly. Therefore, in order to minimize the data processing volume of the electronic device, error correction reminders can be mainly performed on input errors with high user demand and high probability (i.e., one number is entered incorrectly). In this way, when it is detected that the first vehicle identification code input by the user is incorrect, only a reference number sequence that is different from the target number in the first vehicle identification code by one position can be obtained, reducing the information to be obtained, and when the target number is replaced subsequently, the replacement processing operation can also be reduced. In this way, the second vehicle identification code to be checked by the electronic device will also be reduced accordingly, thereby further reducing the data processing volume of the electronic device, reducing the processing pressure of the electronic device, and improving the processing efficiency of the electronic device.

[0094] The above is a description of the vehicle identification code error correction reminder method provided by an embodiment of the present invention.

[0095] To sum up, the vehicle identification code error correction reminder method provided by the embodiment of the present invention, when it is detected that the vehicle identification code input by the user is incorrect, determines the possible correct vehicle identification code by replacing the number of the target position of the vehicle identification code with the number of the target position of the known correct vehicle identification code, and provides the possible correct vehicle identification code as error correction reference information to the user for reference and selection, which can realize the error correction of the vehicle identification code to a certain extent, and is also conducive to improving the convenience of users in modifying the vehicle identification code.

[0096] The vehicle identification code error correction reminder method provided by the embodiment of the present invention is described in detail above. The vehicle identification code error correction reminder device provided by the embodiment of the present invention will be described below.

[0097] According to another aspect of an embodiment of the present invention, a vehicle identification code error correction reminder device is provided, which is applied to electronic equipment, such as a terminal device or a server, etc. The vehicle identification code error correction reminder device can implement the specific details of the above-mentioned vehicle identification code error correction reminder method embodiment and can achieve the same technical effect.

[0098] like Figure 4 As shown, the vehicle identification code error correction reminder device may include:

[0099] The acquisition module 401 is used to acquire at least one reference number sequence when it is detected that the first vehicle identification code input by the user is wrong.

[0100] Among them, each of the reference number sequences is the first 11 digits of a known correct vehicle identification code, and the number of the target digit in each of the reference number sequences is different from the number of the target digit in the first vehicle identification code by at least one digit, and the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit.

[0101] The generating module 402 is used to replace the number of the target position in the first vehicle identification code with the number of the target position in the reference number sequence to generate at least one second vehicle identification code.

[0102] The verification module 403 is used to verify whether each of the second vehicle identification codes is correct.

[0103] The first output module 404 is configured to output first error correction reminder information when it is determined that only one of the second vehicle identification codes is correct.

[0104] The first error correction reminder information is used to remind the user whether to replace the first vehicle identification code with an error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that is uniquely verified to be correct.

[0105] Optionally, the acquisition module 401 may include:

[0106] The acquisition unit is used to acquire at least one first number sequence from a preset database that is different from the number of the target digit in the first vehicle identification code by at least one digit when detecting that the first vehicle identification code input by the user is wrong.

[0107] Each of the first number sequences is the first 11 digits of a known correct vehicle identification code.

[0108] The first determining unit is used to respectively determine the number of vehicle identification codes in the preset database that include different first numbering sequences.

[0109] A screening unit is used to screen out the reference number sequence from the first number sequence according to the number of vehicle identification codes that include different first number sequences.

[0110] Optionally, the screening unit can be specifically used to: sort in descending order of quantity, and determine the first number sequence included in the vehicle identification codes with the first M digits as the reference number sequence; or determine the first number sequence included in the vehicle identification codes with a quantity greater than or equal to a preset value as the reference number sequence.

[0111] Wherein, M is an integer greater than or equal to 1.

[0112] Optionally, the preset database may include: a preset table, which records different first 11-digit number sequences of known correct vehicle identification codes obtained in advance, and the number of vehicle identification codes in the preset database that include different first 11-digit number sequences obtained in advance.

[0113] The acquisition unit may be specifically configured to: when it is detected that the first vehicle identification code input by the user is incorrect, acquire at least one first numbering sequence in the preset table that is different from the numbering of the target digit in the first vehicle identification code by at least one digit.

[0114] The first determination unit may be specifically configured to: determine, based on the preset table, the number of vehicle identification codes in the preset database that include different first numbering sequences.

[0115] Optionally, the first output module 404 may include:

[0116] The second determining unit is used to determine the only verified correct second vehicle identification code as the error correction reference vehicle identification code when it is determined that only one of the second vehicle identification codes is correct.

[0117] The third determining unit is used to determine the different numbers between the first vehicle identification code and the error correction reference vehicle identification code.

[0118] The fourth determining unit is used to generate first prompt information according to the different numbers between the first vehicle identification code and the error correction reference vehicle identification code.

[0119] The first prompt information is used to prompt the user of the difference between the first vehicle identification code and the error correction reference vehicle identification code.

[0120] An output unit is used to output the first error correction reminder information including the first prompt information.

[0121] Optionally, the device may further include:

[0122] The second output module is used to output second error correction reminder information when it is determined that at least two of the second vehicle identification codes are correct.

[0123] The second error correction reminder information is used to remind the user to check whether the last 6 digits and / or the 9th digit of the first vehicle identification code are correct.

[0124] Optionally, the number of the target digit in each of the reference number sequences is different from the number of the target digit in the first vehicle identification code by one digit.

[0125] As for the above-mentioned vehicle identification code error correction reminder device embodiment, since it is basically similar to the vehicle identification code error correction reminder method embodiment, the relevant parts can be referred to the partial description of the method embodiment. To avoid repetition, it will not be described here.

[0126] The vehicle identification code error correction reminder device provided by the embodiment of the present invention, when it detects that the vehicle identification code input by the user is incorrect, determines the possible correct vehicle identification code by replacing the number of the target position of the vehicle identification code with the number of the target position of the known correct vehicle identification code, and provides the possible correct vehicle identification code as error correction reference information to the user for reference and selection, which can realize the error correction of the vehicle identification code to a certain extent, and is also conducive to improving the convenience of users in modifying the vehicle identification code.

[0127] According to another aspect of an embodiment of the present invention, an electronic device is provided, which includes: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps in the vehicle identification code error correction reminder method as described above are implemented.

[0128] Here is an example: Figure 5 A schematic diagram of the physical structure of an electronic device is shown.

[0129] like Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the following method:

[0130] When it is detected that the first vehicle identification code input by the user is wrong, at least one reference number sequence is obtained; the number of the target position in the first vehicle identification code is replaced with the number of the target position in the reference number sequence to generate at least one second vehicle identification code; each of the second vehicle identification codes is verified to be correct; and when it is determined that only one of the second vehicle identification codes is correct, a first error correction reminder message is output.

[0131] Among them, each of the reference number sequences is the first 11 digits of a known correct vehicle identification code, and the number of the target digit in each of the reference number sequences is different from the number of the target digit in the first vehicle identification code by at least one digit, and the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit; the first error correction reminder information is used to remind the user whether to replace the first vehicle identification code with an error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that has been uniquely verified to be correct.

[0132] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0133] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the above-mentioned vehicle identification code error correction reminder method are implemented, for example:

[0134] When it is detected that the first vehicle identification code input by the user is wrong, at least one reference number sequence is obtained; the number of the target position in the first vehicle identification code is replaced with the number of the target position in the reference number sequence to generate at least one second vehicle identification code; each of the second vehicle identification codes is verified to be correct; and when it is determined that only one of the second vehicle identification codes is correct, a first error correction reminder message is output.

[0135] Among them, each of the reference number sequences is the first 11 digits of a known correct vehicle identification code, and the number of the target digit in each of the reference number sequences is different from the number of the target digit in the first vehicle identification code by at least one digit, and the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit; the first error correction reminder information is used to remind the user whether to replace the first vehicle identification code with an error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that has been uniquely verified to be correct.

[0136] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM, RAM, disk, CD, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A vehicle identification code error correction reminder method, characterized in that: include: In the case where it is detected that the first vehicle identification code input by the user is incorrect, at least one reference number sequence is obtained, including: in the case where it is detected that the first vehicle identification code input by the user is incorrect, at least one first number sequence is obtained from a preset database, which is different from the number of the target digit in the first vehicle identification code by at least one digit; wherein each of the first number sequences is the first 11 digits of a known correct vehicle identification code; the number of vehicle identification codes including different first number sequences in the preset database is determined respectively; according to the number of vehicle identification codes including different first number sequences, the reference number sequence is screened out from the first number sequence; the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit; the number of the target digit in the first vehicle identification code is replaced by the number of the target digit in the reference number sequence , generate at least one second vehicle identification code; verify whether each of the second vehicle identification codes is correct; when it is determined that only one of the second vehicle identification codes is correct, output a first error correction reminder message, including: when it is determined that only one of the second vehicle identification codes is correct, determine the second vehicle identification code that is uniquely verified to be correct as the error correction reference vehicle identification code; determine the different numbers between the first vehicle identification code and the error correction reference vehicle identification code; generate a first prompt message according to the different numbers between the first vehicle identification code and the error correction reference vehicle identification code, and output the first error correction reminder message including the first prompt message; wherein the first error correction reminder message is used to remind the user whether to replace the first vehicle identification code with the error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that is uniquely verified to be correct.

2. The vehicle identification code error correction reminder method according to claim 1, characterized in that: The step of selecting the reference number sequence from the first number sequence according to the number of vehicle identification codes including different first number sequences includes: sorting the first number sequences in descending order, and determining the first number sequences included in the vehicle identification codes with the first M numbers as the reference number sequence; or determining the first number sequences included in the vehicle identification codes with a number greater than or equal to a preset value as the reference number sequence; wherein M is an integer greater than or equal to 1.

3. The vehicle identification code error correction reminder method according to claim 1, characterized in that: The preset database includes: a preset table, in which different first 11-digit numbering sequences of known correct vehicle identification codes obtained by pre-statistics are recorded, and the number of vehicle identification codes including different first 11-digit numbering sequences in the preset database obtained by pre-statistics; wherein, in the case where it is detected that the first vehicle identification code input by the user is incorrect, at least one first numbering sequence that is different from the number of the target digit in the first vehicle identification code is obtained from the preset database, including: in the case where it is detected that the first vehicle identification code input by the user is incorrect, at least one first numbering sequence that is different from the number of the target digit in the first vehicle identification code is obtained from the preset table; wherein, respectively determining the number of vehicle identification codes including different first numbering sequences in the preset database includes: based on the preset table, respectively determining the number of vehicle identification codes including different first numbering sequences in the preset database.

4. The vehicle identification code error correction reminder method according to claim 1, characterized in that: The method of outputting the first error correction reminder information when it is determined that only one of the second vehicle identification codes is correct includes: when it is determined that only one of the second vehicle identification codes is correct, determining the second vehicle identification code that is uniquely verified to be correct as the error correction reference vehicle identification code; determining the different numbers between the first vehicle identification code and the error correction reference vehicle identification code; generating the first prompt information according to the different numbers between the first vehicle identification code and the error correction reference vehicle identification code; wherein the first prompt information is used to prompt a user of the difference between the first vehicle identification code and the error correction reference vehicle identification code; and outputting the first error correction reminder information including the first prompt information.

5. The vehicle identification code error correction reminder method according to claim 1, characterized in that: After verifying whether each of the second vehicle identification codes is correct, the method further includes: when it is determined that at least two of the second vehicle identification codes are correct, outputting second error correction reminder information; wherein the second error correction reminder information is used to remind the user to check whether the last 6 digits and / or the 9th digit of the first vehicle identification code are correct.

6. The vehicle identification code error correction reminder method according to claim 1, characterized in that: The number of the target digit in each of the reference number sequences is different from the number of the target digit in the first vehicle identification code by one digit.

7. A vehicle identification code error correction reminder device, characterized in that: include: An acquisition module is used to acquire at least one first number sequence in a preset database that is different from the number of a target digit in the first vehicle identification code by at least one digit when detecting that the first vehicle identification code input by the user is wrong; wherein each of the first number sequences is the first 11 digits of a known correct vehicle identification code; the number of vehicle identification codes including different first number sequences in the preset database is determined respectively; a reference number sequence is screened out from the first number sequence according to the number of vehicle identification codes including different first number sequences; the target digit refers to the remaining 10 digits of the first 11 digits of the vehicle identification code except the 9th check digit; a generation module is used to replace the number of the target digit in the first vehicle identification code with the number of the target digit in the reference number sequence to generate at least one second vehicle identification code; a verification module is used to verify that each of the second vehicle identification codes is is correct; a first output module, used to output a first error correction reminder message when it is determined that only one of the second vehicle identification codes is correct, including: a second determination unit, used to determine the second vehicle identification code that is uniquely verified to be correct as the error correction reference vehicle identification code when it is determined that only one of the second vehicle identification codes is correct; a third determination unit, used to determine the different numbers between the first vehicle identification code and the error correction reference vehicle identification code; a fourth determination unit, used to generate a first prompt message according to the different numbers between the first vehicle identification code and the error correction reference vehicle identification code, and output the first error correction reminder message including the first prompt message; wherein, the first error correction reminder message is used to remind the user whether to replace the first vehicle identification code with the error correction reference vehicle identification code, and the error correction reference vehicle identification code is the second vehicle identification code that is uniquely verified to be correct.

8. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps in the vehicle identification code error correction reminder method as described in any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps in the vehicle identification code error correction reminder method as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and device for verifying data recovered by forward error correction

    CN101662339A

  • Vehicle attribute error correction method and device, storage medium and terminal

    CN111651979A