CN110110162A - A method of VIN code is verified by VIN code check position standard weighting algorithm - Google Patents
A method of VIN code is verified by VIN code check position standard weighting algorithm Download PDFInfo
- Publication number
- CN110110162A CN110110162A CN201810090127.5A CN201810090127A CN110110162A CN 110110162 A CN110110162 A CN 110110162A CN 201810090127 A CN201810090127 A CN 201810090127A CN 110110162 A CN110110162 A CN 110110162A
- Authority
- CN
- China
- Prior art keywords
- vin code
- vin
- code
- rule base
- check
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000004364 calculation method Methods 0.000 claims abstract description 11
- 238000005457 optimization Methods 0.000 abstract 1
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1012—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
- G06F11/104—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error using arithmetic codes, i.e. codes which are preserved during operation, e.g. modulo 9 or 11 check
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90344—Query processing by using string matching techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Error Detection And Correction (AREA)
Abstract
The present invention discloses a kind of method by VIN code check position standard weighting algorithm verifying VIN code, it includes: to create VIN code check rule base in the database;VIN code character is demarcated at only being combined by 17 letters with number in VIN code check rule base, I/O/Q is classified as forbidden character;In VIN code check rule base, according to the check bit calculation method of VIN code, the 9th of VIN code is calculated;After client inputs 17 VIN codes at the end APP or WEB terminal, VIN code check rule base is called, identifies whether the VIN code is legitimate characters;It if legitimate characters, is then calculated by above-mentioned check bit calculation method, if the 9th of calculated VIN code consistent with the 9th of the VIN code, VIN code is correct;Otherwise mistake is prompted, is re-entered.The present invention solves the problems, such as that the long-standing VIN code that is manually entered is error-prone, and optimization customer's vehicle binds process, and customer experience is substantially improved.
Description
Technical field
The invention belongs to computer software fields, especially a kind of to verify VIN code by VIN code check position standard weighting algorithm
Method.
Background technique
Vehicle Identification Number (VIN) is to identify a certain vehicle, is one group of character code that the vehicle is specified by Railway Car Plant.
VIN is consisted of three parts, respectively manufactory, world identification code name (WMI), vehicle declaratives (VDS) and vehicle
Indicating section (VIS), as shown in Figure 1.
Manufactory, world identification code name (WMI) is the first part of Vehicle Identification Number (VIN), to indicate the system of vehicle
Make factory.When this code name is assigned to some Railway Car Plant, generation can be identified as the distinguishing mark of the factory, manufactory, the world
Number when second, third part with Vehicle Identification Number is used together, it is sufficient to guarantee worldwide to manufacture within 30 years
All vehicles Vehicle Identification Number have uniqueness.
Vehicle declaratives (VDS) are the second parts of Vehicle Identification Number (VIN), to illustrate the general features of vehicle
Information.
Vehicle indicating section (VIS) is the Part III of Vehicle Identification Number (VIN), is that Railway Car Plant is different for difference
Vehicle and one group of specified character code.When this group of character code is used together with VDS, it is sufficient to guarantee each Railway Car Plant within 30 years
The Vehicle Identification Number of all vehicles of production has uniqueness.
It is only capable of in Vehicle Identification Number (VIN) using Arabic numerals 1234567890 and uppercase Roman word
Female A B C D E F G H J K L M N P R S T U V W X Y Z.
The 9th character code (i.e. the 6th character code of VDS) of Vehicle Identification Number (VIN) is check bit.Check bit can be 0-
Any number or alphabetical " X " in 9, effect are to check the accuracy of VIN.
Due to vehicle VIN code length up to 17 and be letter and number combination, many clients register vehicle in the end APP or WEB terminal
When information, it is easy for number 1 in VIN code to be entered as alphabetical I, number 0 is entered as alphabetical O, and alphabetical Q is entered as alphabetical 0 etc., from
And leading to inputted VIN code mistake, platform can not identify correct vehicle vehicle money.
Summary of the invention
It being easy error when to solve to be manually entered vehicle VIN code, causing platform that can not identify correct vehicle vehicle money
Defect, the present invention provide a kind of method by VIN code check position standard weighting algorithm verifying VIN code.
To achieve the above object, the present invention adopts the following technical solutions:
A method of by VIN code check position standard weighting algorithm verify VIN code, it the following steps are included:
Step 1 creates VIN code check rule base in the database;
Step 2, in VIN code check rule base, by the calibration of VIN code character at only being combined by 17 letters with digital, and
Alphabetical I/O/Q is classified as forbidden character;
Step 3, according to the check bit calculation method of VIN code, calculates the of VIN code in VIN code check rule base
Nine character codes;
Step 4 calls VIN code check rule base after client inputs 17 VIN codes at the end APP or WEB terminal, identifies client
Whether the VIN code of input is legitimate characters;
Step 5 is counted if the VIN code of client's input is legitimate characters according to the check bit calculation method of step 3
It calculates, if the 9th character code of calculated VIN code is consistent with the 9th character code of VIN code that client inputs, VIN code is correct;
Otherwise VIN code mistake is prompted, need to be re-entered.
Further, the check bit calculation method of VIN code is as follows in step 3:
Number in the VIN code of client's input is respectively corresponded a value with letter by step 6, will be each in VIN code
Specify a weighting coefficient in position;
Step 7, by other 16 in VIN code in addition to the 9th bit trial position, the weighting coefficient of each is multiplied by this position
The respective value of number or letter, then by each product addition, the sum acquired is removed by 11;
Step 8, except remainder be check bit, if remainder is 10, check bit be letter X.
Further, if VIN code check rule base recognizes in the VIN code of client's input containing illegal letter in step 4
I/O/Q, then the VIN code is forbidden character, prompts VIN code mistake, need to re-enter;If VIN code check rule base recognizes visitor
VIN code non-17 of family input, then the VIN code is forbidden character, prompts VIN code mistake, need to re-enter;If VIN code check
Rule base recognizes the VIN code of client's input for 17 and without illegal letter I/Q/O, then the VIN code is legitimate characters, continues to walk
Rapid five.
The utility model has the advantages that
The present invention solves the problems, such as that long-standing client is manually entered VIN code and is easy error, meanwhile, optimize client's vehicle
Binding process, customer experience is substantially improved.
Detailed description of the invention
Fig. 1 is the coding schematic diagram of Vehicle Identification Number (VIN) of the invention.
Specific embodiment
Present invention will be further explained below with reference to the attached drawings and examples.
The present invention proposes a kind of method by VIN code check position standard weighting algorithm verifying VIN code, it includes following step
It is rapid:
Step 1 creates VIN code check rule base in the database;
Step 2, in VIN code check rule base, by the calibration of VIN code character at only being combined by 17 letters with digital, and
Alphabetical I/O/Q is classified as forbidden character;
Step 3, according to the check bit calculation method of VIN code, calculates the of VIN code in VIN code check rule base
Nine character codes, i.e. check bit, the specific method is as follows:
(a) number in the VIN code of client's input is respectively corresponded into a value with letter, shown in following Tables 1 and 2:
Digital respective value in 1 VIN of table
Number in VIN | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Respective value | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Alphabetical respective value in 2 VIN of table
Each in VIN code is specified into a weighting coefficient, as shown in table 3 below:
3 position VIN of table corresponds to weighting coefficient
(b) by other 16 in VIN code in addition to the 9th bit trial position, the weighting coefficient of each is multiplied by this bit digital
Or the respective value of letter, then by each product addition, the sum acquired is removed by 11;
(c) remainder removed is check bit, if remainder is 10, check bit is letter X;
Step 4 calls VIN code check rule base after client inputs 17 VIN codes at the end APP or WEB terminal;
Step 5 mentions if VIN code check rule base recognizes in the VIN code of client's input containing illegal letter I/O/Q
Show VIN code mistake, need to re-enter;
Step 6 prompts VIN code mistake if VIN code check rule base recognizes VIN code non-17 of client's input,
It need to re-enter;
Step 7, if VIN code check rule base recognizes the VIN code of client's input for 17 and without illegal letter I/Q/O,
Then calculated according to the check bit calculation method of step 3, if what the 9th character code of calculated VIN code and client inputted
9th character code of VIN code is consistent, then VIN code is correct;Otherwise VIN code mistake is prompted, need to be re-entered.
Embodiment 1
VIN code check rule base verifies the calculating and determination process of the check bit of a certain automobile VIN code, such as the following table 4 institute
Show:
The check bit calculation method of 4 VIN code of table
Through above-mentioned calculating, determine that check bit character code is 7 in this VIN code.
Limiting the scope of the invention, those skilled in the art should understand that, in technical solution of the present invention
On the basis of, the various modifications or variations that can be made by those skilled in the art with little creative work still of the invention
Within protection scope.
Claims (3)
1. it is a kind of by VIN code check position standard weighting algorithm verifying VIN code method, which is characterized in that it the following steps are included:
Step 1 creates VIN code check rule base in the database;
Step 2, in VIN code check rule base, by the calibration of VIN code character at only being combined by 17 letters with digital, and by word
Female I/O/Q is classified as forbidden character;
Step 3, according to the check bit calculation method of VIN code, calculates the 9th of VIN code in VIN code check rule base
Character code;
Step 4 after client inputs 17 VIN codes at the end APP or WEB terminal, calls VIN code check rule base, identification client's input
VIN code whether be legitimate characters;
Step 5 is calculated if the VIN code of client's input is legitimate characters according to the check bit calculation method of step 3,
If the 9th character code of calculated VIN code is consistent with the 9th character code of VIN code that client inputs, VIN code is correct;Otherwise
VIN code mistake is prompted, need to be re-entered.
2. the method according to claim 1 by VIN code check position standard weighting algorithm verifying VIN code, which is characterized in that
The check bit calculation method of VIN code is as follows in the step 3:
Number in the VIN code of client's input is respectively corresponded a value with letter, each in VIN code is referred to by step 6
A fixed weighting coefficient;
Step 7, by other 16 in VIN code in addition to the 9th bit trial position, the weighting coefficient of each is multiplied by this bit digital
Or the respective value of letter, then by each product addition, the sum acquired is removed by 11;
Step 8, except remainder be check bit, if remainder is 10, check bit be letter X.
3. the method according to claim 1 or 2 by VIN code check position standard weighting algorithm verifying VIN code, feature exist
In, if VIN code check rule base recognizes in the VIN code of client's input containing illegal letter I/O/Q in the step 4, this
VIN code is forbidden character, prompts VIN code mistake, need to re-enter;If VIN code check rule base recognizes the VIN of client's input
Code non-17, then the VIN code is forbidden character, prompts VIN code mistake, need to re-enter;If VIN code check rule base recognizes
The VIN code of client's input is for 17 and without illegal letter I/Q/O, then the VIN code is legitimate characters, continues step 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810090127.5A CN110110162A (en) | 2018-01-30 | 2018-01-30 | A method of VIN code is verified by VIN code check position standard weighting algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810090127.5A CN110110162A (en) | 2018-01-30 | 2018-01-30 | A method of VIN code is verified by VIN code check position standard weighting algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110110162A true CN110110162A (en) | 2019-08-09 |
Family
ID=67483524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810090127.5A Pending CN110110162A (en) | 2018-01-30 | 2018-01-30 | A method of VIN code is verified by VIN code check position standard weighting algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110110162A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826551A (en) * | 2019-11-04 | 2020-02-21 | 大连交通大学 | Intelligent discrimination method for VIN code rubbing die image of motor vehicle |
CN111126042A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN (vehicle identification number) code verification method by using confidence coefficient, and VIN code identification method and device |
CN111126041A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN code dictionary base checking method, VIN code identification method and device |
CN111126043A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN code multiple checking method, VIN code identification method and device |
CN111126044A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN code multiple checking method using confidence coefficient, VIN code identification method and device |
CN113806385A (en) * | 2021-08-30 | 2021-12-17 | 东风柳州汽车有限公司 | Vehicle identification code flashing method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130013343A1 (en) * | 2011-07-08 | 2013-01-10 | Christie-Sorensen Amanda B | System and method for risk validation |
CN104537367A (en) * | 2014-11-18 | 2015-04-22 | 西安铂锐智能科技有限公司 | VIN code checking method |
CN105183178A (en) * | 2015-09-06 | 2015-12-23 | 广州南馨网络科技有限公司 | Virtual VIN input keyboard and operation method thereof |
-
2018
- 2018-01-30 CN CN201810090127.5A patent/CN110110162A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130013343A1 (en) * | 2011-07-08 | 2013-01-10 | Christie-Sorensen Amanda B | System and method for risk validation |
CN104537367A (en) * | 2014-11-18 | 2015-04-22 | 西安铂锐智能科技有限公司 | VIN code checking method |
CN105183178A (en) * | 2015-09-06 | 2015-12-23 | 广州南馨网络科技有限公司 | Virtual VIN input keyboard and operation method thereof |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826551A (en) * | 2019-11-04 | 2020-02-21 | 大连交通大学 | Intelligent discrimination method for VIN code rubbing die image of motor vehicle |
CN110826551B (en) * | 2019-11-04 | 2023-04-28 | 大连交通大学 | Intelligent screening method for VIN code topology printing mode image of motor vehicle |
CN111126042A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN (vehicle identification number) code verification method by using confidence coefficient, and VIN code identification method and device |
CN111126041A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN code dictionary base checking method, VIN code identification method and device |
CN111126043A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN code multiple checking method, VIN code identification method and device |
CN111126044A (en) * | 2019-12-24 | 2020-05-08 | 北京中安未来科技有限公司 | VIN code multiple checking method using confidence coefficient, VIN code identification method and device |
CN111126041B (en) * | 2019-12-24 | 2023-04-11 | 北京中安未来科技有限公司 | VIN code dictionary base checking method, VIN code identification method and device |
CN111126043B (en) * | 2019-12-24 | 2023-04-11 | 北京中安未来科技有限公司 | VIN code multiple checking method, VIN code identification method and device |
CN113806385A (en) * | 2021-08-30 | 2021-12-17 | 东风柳州汽车有限公司 | Vehicle identification code flashing method, device, equipment and storage medium |
CN113806385B (en) * | 2021-08-30 | 2023-11-24 | 东风柳州汽车有限公司 | Vehicle identification code refreshing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110110162A (en) | A method of VIN code is verified by VIN code check position standard weighting algorithm | |
CN108197087B (en) | Character code recognition method and device | |
JPH10105655A (en) | Method and system for verification and correction for optical character recognition | |
CN110633289A (en) | License plate number determining method, server and parking management system | |
CN111680480A (en) | Template-based job approval method and device, computer equipment and storage medium | |
CN113841156B (en) | Control method and device based on image recognition | |
CN114328656A (en) | Method, device and equipment for verifying real store and storage medium | |
CN106681850B (en) | A kind of vehicle model method of calibration and device | |
CN116151160B (en) | Method and system for extracting pins in gds file | |
CN111696682A (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN109388999B (en) | Bar code identification method and device | |
CN111414701B (en) | Method for extracting CAD file elements and converting relative coordinates | |
CN106934409B (en) | Data matching method and device | |
JP6925665B1 (en) | Information processing equipment, information processing methods and information processing programs | |
CN111126042B (en) | VIN code verification method and VIN code identification method and device using confidence | |
CN107609592A (en) | A kind of figure edit distance approach towards Letter identification | |
CN111291019B (en) | Similarity discrimination method and device for data model | |
CN108287612B (en) | Input control method and device | |
CN104503970B (en) | The method and system that a kind of number is matched with self-defined matching formula | |
CN111126041B (en) | VIN code dictionary base checking method, VIN code identification method and device | |
CN107765885B (en) | Input verification method and system for intelligent monitoring management | |
CN111144338A (en) | Feature matching algorithm based on feature point topological structure | |
CN111090746B (en) | Method for determining optimal topic quantity, training method and device for emotion classifier | |
CN116975259A (en) | Method, device and equipment for generating complaint work order text and computer storage medium | |
CN112968705B (en) | Number classification method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |
|
RJ01 | Rejection of invention patent application after publication |