CN108287612A - A kind of input control method and its device - Google Patents

A kind of input control method and its device Download PDF

Info

Publication number
CN108287612A
CN108287612A CN201711485529.7A CN201711485529A CN108287612A CN 108287612 A CN108287612 A CN 108287612A CN 201711485529 A CN201711485529 A CN 201711485529A CN 108287612 A CN108287612 A CN 108287612A
Authority
CN
China
Prior art keywords
character
current
coding rule
character set
key entry
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.)
Granted
Application number
CN201711485529.7A
Other languages
Chinese (zh)
Other versions
CN108287612B (en
Inventor
刘均
邓春武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201711485529.7A priority Critical patent/CN108287612B/en
Publication of CN108287612A publication Critical patent/CN108287612A/en
Application granted granted Critical
Publication of CN108287612B publication Critical patent/CN108287612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device
    • G06F3/0219Special purpose keyboards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • G06F3/04897Special input arrangements or commands for improving display capability

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of input control method and its device, wherein method includes:Instruction, which is keyed in, according to vehicle identification code determines current key entry position and typing character;If the current digit for keying in position is less than the specified digit of vehicle identification code, the corresponding character set to be selected in the current key entry position is determined according to the current corresponding coding rule in key entry position and the typing character;According to the corresponding character set adjustment input keyboard to be selected in the current key entry position.Using the present invention, the accuracy and convenience of vehicle identification code input can be improved.

Description

A kind of input control method and its device
Technical field
The present invention relates to technical field of automotive electronics more particularly to a kind of input control methods and its device.
Background technology
Become people in automobile to go on a journey indispensable today, realizes the diagnosis to automobile to car owner or dimension by diagnostic device It is vital link to repair personnel all.And vehicle diagnosis process is realized by diagnostic device, it may be necessary to car owner or repair people The vehicle identification code (Vehicle Identification Number, VIN) of member's input automobile.The VIN codes of automobile contain The information such as manufacturer, age, body model and the code of vehicle, engine code and assembling place, therefore, automobile VIN codes It is of great significance to helping car owner or maintenance personal to carry out correctly diagnosis and repair to vehicle.
Automobile VIN codes be by the U.S. automotive engineer association (Society of Automotive Engineers, SAE it) as defined in standard, is made of 17 characters, be otherwise known as 17 codes.1~3 in automobile VIN codes is world's manufacture The cognizance code of quotient, the uniqueness for identifying Railway Car Plant;4~9 are vehicle characteristics declaratives, illustrate vehicle General characteristic, including situations such as kinds of automobile, body style;10~17 are vehicle indicating sections, and manufactory is in order to distinguish not The one group character specified with vehicle.
As can be seen that since the length of automobile VIN codes is longer and is existed by number and monogram, car owner or maintenance personal When inputting automobile VIN codes, the probability of input error is high.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of input control method.According to automobile VIN The coding rule of code and the character set to be selected for having inputted the current input bit of character definition, and on input keyboard described in display The accuracy and convenience of the input of automobile VIN codes can be improved in character in character set to be selected.
First aspect of the embodiment of the present invention provides a kind of input control method, including:
Instruction, which is keyed in, according to vehicle identification code determines current key entry position and typing character;
If the digit for currently keying in position is less than the specified digit of vehicle identification code, the corresponding volume in position is keyed according to current Code rule character set to be selected corresponding with the current key entry position of the determination of typing character;
The corresponding character set adjustment input keyboard to be selected in position is keyed according to current.
As a kind of possible embodiment, if the digit for currently keying in position is 1, typing character is sky;It is current to key in The corresponding coding rule in position is the coding rule of Railway Car Plant's affiliated area;Then the corresponding coding rule in position are keyed according to current Then the specific implementation mode of character set to be selected corresponding with the current key entry position of the determination of typing character is:According to Railway Car Plant The coding rule of affiliated area character set to be selected corresponding with the current key entry position of the determination of typing character for sky.
As a kind of possible embodiment, current to key in the corresponding coding rule in position if the digit for currently keying in position is 9 It is then the verification rule of vehicle identification code;Then the corresponding coding rule in position and typing character determination are keyed according to current currently The specific implementation mode for keying in the corresponding character set to be selected in position is:According to the verification rule of vehicle identification code and typing character Determine the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, current to key in the corresponding coding rule in position if the digit for currently keying in position is 10 It is then the coding rule in vehicle production time;Then worked as according to the corresponding coding rule in current key entry position and typing character determination The preceding specific implementation mode for keying in the corresponding character set to be selected in position is:According to the coding rule in vehicle production time and key in Character determines the corresponding character set to be selected of current input bit.
As a kind of possible embodiment, current to key in the corresponding volume in position if the current digit for keying in position is 11 Code rule is the coding rule of vehicle assembling factory;Then the corresponding coding rule in position and typing character determination are keyed according to current Currently the specific implementation mode of the corresponding character set to be selected in key entry position is:According to the positions the 1-3 of vehicle identification code, typing character is true The coding rule of the positions 4-8 of fixed automobile factory, vehicle identification code typing character has determined vehicle and vehicle assembling factory is true The corresponding character set to be selected in position is keyed in before settled.
As a kind of possible embodiment, current to key in the corresponding volume in position if the digit for currently keying in position is 12-17 Code rule is the coding rule of vehicle release serial number;Then the corresponding coding rule in position and typing character are keyed according to current Determine that the current specific implementation mode for keying in the corresponding character set to be selected in position is:According to the coding rule of vehicle release serial number Typing character determines the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, according to the current tool for keying in the corresponding character set adjustment input keyboard to be selected in position Body embodiment is:Obtain the character set that input keyboard is included;By the character deletion in character set in addition to character set to be selected.
Second aspect of the embodiment of the present invention provides a kind of input control device, including:
Determination unit, for being keyed according to vehicle identification code, instruction is determining currently to key in position and typing character;
The determination unit, if being additionally operable to currently key in specified digit of the digit less than vehicle identification code of position, basis It is current to key in the corresponding character set to be selected of the corresponding coding rule in position and the current key entry position of typing character determination;
Adjustment unit, for keying in the corresponding character set adjustment input keyboard to be selected in position according to current.
As a kind of possible embodiment, if the digit for currently keying in position is 1, typing character is sky;It is current to key in The corresponding coding rule in position is the coding rule of Railway Car Plant's affiliated area;Then the determination unit is specifically used for:According to vehicle The coding rule of manufactory's affiliated area current keys in the corresponding character set to be selected in position with being determined for empty typing character.
As a kind of possible embodiment, current to key in the corresponding coding rule in position if the digit for currently keying in position is 9 It is then the verification rule of vehicle identification code;Then the determination unit is specifically used for:According to the verification rule of vehicle identification code and Typing character determines the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, current to key in the corresponding coding rule in position if the digit for currently keying in position is 10 It is then the coding rule in vehicle production time;The determination unit is specifically used for:According to the coding rule in vehicle production time and Typing character determines the corresponding character set to be selected of current input bit.
As a kind of possible embodiment, current to key in the corresponding volume in position if the current digit for keying in position is 11 Code rule is the coding rule of vehicle assembling factory;Then the determination unit is specifically used for:According to the positions the 1-3 of vehicle identification code The vehicle of the 4-8 positions of automobile factory, vehicle identification code that typing character determines typing character determination and vehicle assembling factory Coding rule determines the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, current to key in the corresponding volume in position if the digit for currently keying in position is 12-17 Code rule is the coding rule of vehicle release serial number;Then the determination unit is specifically used for:According to vehicle release serial number Coding rule and typing character determine the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, the adjustment unit is specifically used for:Obtain the character that input keyboard is included Collection;By the character deletion in character set in addition to character set to be selected.
The third aspect of the embodiment of the present invention provides another input control device, the input control device include processor, Input equipment, output equipment and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein The memory is for storing computer program, and the computer program includes program instruction, and the processor is configured for Described program instruction is called, the method that first aspect of the embodiment of the present invention provides is executed.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, and the computer storage media is deposited Computer program is contained, the computer program includes program instruction, and described program instruction makes described when being executed by a processor Processor executes the method that first aspect of the embodiment of the present invention provides.
Implement the embodiment of the present invention, has the advantages that:By the current key entry position of vehicle identification code and key in Character, and the current corresponding coding rule in position of keying in are determined currently to key in the corresponding character set to be selected in position;And it is waited for according to this Select the input keyboard of character set adjustment vehicle identification code.To when auto repair personnel or car owner key in vehicle identification code into Row directiveness input, reduces error probability when keying in vehicle identification code.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only Some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts, also It can be obtain other attached drawings according to these attached drawings.
Fig. 1 is that each character bit of the vehicle identification code in the embodiment of the present invention represents the schematic diagram of meaning;
Fig. 2 is the interface schematic diagram of the universal input keyboard involved in the present invention;
Fig. 3 is a kind of schematic flow diagram of input control method provided in an embodiment of the present invention;
Fig. 4 is the schematic flow diagram of another input control method provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of the exemplary input keyboard provided in the embodiment of the present invention;
Fig. 6 is the schematic diagram of another exemplary input keyboard provided in the embodiment of the present invention;
Fig. 7 is a kind of schematic block diagram of input control device provided in an embodiment of the present invention;
Fig. 8 is the schematic block diagram of another input control device provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
Embodiment for a better understanding of the present invention, below to vehicle identification code involved in the embodiment of the present invention and defeated Enter keyboard to illustrate.
Vehicle identification code (Vehicle Identification Number, VIN) is also known as ID code of vehicle and vehicle Identifier, is used to indicate that the code of vehicle identification.The VIN codes of automobile are whole world identification vehicle uniquely accurate automobiles " identity card ", the overall process that it will be scrapped with the registration of automobile, insurance, annual test, maintenance, repairing up to recycling.Automobile VIN History can trace back to 1949, but before 1981, standard is constantly in transformation.Such as the vapour of 1965-1969 Vehicle VIN codes have 9, and annual yield is more than 1,000,000 later using 10;The automobile VIN codes of 1970-1980 are fixed as 10 Position;Existing automobile VIN codes start from 1981.
17 existing automobile VIN codes are to learn (Society of Automotive by U.S. automotive engineer Engineers, SAE) as defined in, as shown in Figure 1.Automobile VIN codes can be divided into 3 parts, 1-3 are manufactory of the world Identify code name (World Manufacture Identifier, WMI);4-9 are vehicle declaratives (Vehicle Description Section, VDS);10-17 are vehicle indicating section (Vehicle Indicator Section, VIS).
Specifically, first in WMI can be used to indicate that production country code (geographic area), such as A-H represent it is non- Continent, J-R represent Asia, and S-Z represents Europe, and 6-7 represents Oceania, and the North America 1-5,8,9 and 0 represents South America, specifically, As shown in table 1, every country is indicated with corresponding character code.
Table 1
Character code Country Character code Country Character code Country
1 The U.S. J Japan S Britain
2 Canada K South Korea T Switzerland
3 Mexico L China V France
4 The U.S. W Germany
6 Australia Y Sweden
9 Brazil Z Italy
For indicating automaker's code, wherein G is used to indicate all General Motors that belong to for second in WMI Brand:Buick,Cadillac,Chevrolet,Oldsmobile,Pontiac,Saturn.As shown in table 2, with different words Symbol code indicates different automakers.
Table 2
The 3rd in WMI is used to indicate car category code, but there is different explanations in different manufacturers, some manufacturers can Preceding 3 combined codes of automobile VIN codes can be used to indicate specific brand.
Specifically, the positions 4-8 in the parts VDS of automobile VIN codes are for indicating vehicle characteristics.Wherein, 4-5 are used for table Show vehicle brand and series code;6th expression body style code;7th for indicating that passenger safety protective device is compiled Code;8th for indicating engine model code.The 9th in VDS is check bit, for verifying automobile according to checking algorithm VIN codes, any number or alphabetical " X " in check bit available digital 0-9 indicate.
Specifically, the 10th expression type year in VIS in automobile VIN codes, i.e. model year, time are not necessarily The time of automobile actual production, but be generally no more than 1 year with the difference in the time of actual production.The 11st in VIS indicates assembly Factory, i.e., different assembling factories are indicated by different codes.The manufacture serial number of 12-17 position expression automobiles in VIS, by automobile Manufacturer writes.Wherein last four must be number.
It should be noted that the character in automobile VIN codes is unlikely to be I, O or Q, (alphabetical I, O and Q are close with 1 and 0, abandon Do not have to), and by the above-mentioned explanation to automobile VIN codes it is found that everybody in VIN codes has specific meaning.
As shown in Fig. 2, being a kind of general input keyboard, the whole needed for common input is included on the input keyboard Character.It, can not possibly in VIN codes due to containing on the input keyboard if the input keyboard for calling this general when inputting VIN codes Including character then may result in input error such as character I, O and Q.
To solve the above-mentioned problems, an embodiment of the present invention provides a kind of input control modes, can be according to VIN codes Coding rule determines the possible character of current input bit, and input keyboard is adjusted according to the character set, can be to maintenance personal or vehicle Guiding input is carried out when primary input VIN, reduces error probability when input VIN codes.
It is provided for the embodiments of the invention a kind of input control method, device further below and computer-readable deposits Storage media is introduced.
Fig. 3 is referred to, Fig. 3 is a kind of schematic flow diagram of input control method provided in an embodiment of the present invention.Such as Fig. 3 Shown, which includes the part of step 301~303, wherein:
301, instruction is keyed according to vehicle identification code and determines current key entry position and typing character.
Input control device keys in instruction according to vehicle identification code and determines current key entry position and typing character.
It should be noted that it includes that the startup input to vehicle identification code instructs, is right that the vehicle identification code, which keys in instruction, The wake-up of vehicle identification code input interface instructs or is currently keyed in vehicle identification code the key entry instruction of the previous key entry position of position.
Wherein, currently key in position refer to vehicle identification code input keyboard be taken in before position to be keyed in;Vehicle identification code Typing character refers to the character inputted on the input keyboard of vehicle identification code, it should be noted that vehicle identification code Typing character can be sky, or it is one or more;It is understood that the typing character of vehicle identification code Digit be up to 17.
Further, the current digit for keying in position of vehicle identification code can be determined according to the number of characters of typing character, Specifically, the number of characters that the digit for currently keying in position is typing character adds 1.For example, if VIN codes to be entered are LSVHJ133422218720, if the typing character that input control device determines is LSVH;Wherein, LSVH is to have keyed in word Symbol, typing character number is 4, then can show that the current digit for keying in position is 4+1, i.e., the 5th.
It should be noted that by the coding rule of vehicle identification code it is found that vehicle identification code is by digital 0-9 and to remove I, O Or the capitalization composition other than Q, therefore, the typing character of vehicle identification code does not include I, O, Q or English lower case yet Equal characters.
If the digit for 302, currently keying in position is less than the specified digit of vehicle identification code, corresponded to according to current position of keying in Coding rule and typing character determines and current keys in the corresponding character set to be selected in position.
If the digit for currently keying in position is less than the specified digit of vehicle identification code, input control device is according to current key Enter the corresponding coding rule in position and typing character determines the corresponding character set to be selected in current key entry position.
Wherein, the existing VIN codes used are 17, as long as then the current digit for keying in position of vehicle identification code is less than 17 Position, then basis is current keys in the corresponding character set to be selected of the corresponding coding rule in position and the current key entry position of typing character determination.
Wherein, the set that the corresponding character set to be selected in position is the current possibility character for keying in position is currently keyed in.Citing comes It says, if currently keying in the 1st that position is vehicle identification code, it is sky to have inputted character, then according to the coding rule of vehicle identification code Known to:The 1st of vehicle identification code is for indicating region described in Railway Car Plant, specifically, A-H represents Africa, J-R (is removed O and Q) Asia is represented, S-Z represents Europe, and 6-7 represents Oceania, and the North America 1-5,8,9 and 0 represents South America.It thus can be true It is { A-H, J-N, P, R-Z, 0-9 } to make the current character set to be selected for keying in position.
It should be noted that the digit that vehicle identification code currently keys in position is different, current position of keying in is in vehicle identification code Meaning differ, corresponding coding rule is also different.Further, the typing character of vehicle identification code may shadow Ring the current character set to be selected for keying in position.For example, if the digit of current input bit is 2, it is L to have inputted character, by VIN The coding rule of code is it is found that first L represents China;According to the 2nd coding rule by the identification generation of Chinese automobile manufacturer To be selected character set of the code as current input bit.
303, the corresponding character set adjustment input keyboard to be selected in position is keyed according to current.
Input control device keys in the corresponding character set adjustment input keyboard to be selected in position according to current.
It should be noted that VIN codes are inputted for the ease of auto repair personnel or car owner, it can be according to vehicle identification code The corresponding character set to be selected adjustment input keyboard in current key entry position.Wherein, tool of the embodiment of the present invention to adjustment enter key disk Body embodiment is not construed as limiting.
Through the embodiment of the present invention, it can determine to work as according to the typing character and current input bit of vehicle identification code The preceding character set to be selected for keying in position, and according to the current character set to be selected adjustment input keyboard for keying in position;To in auto repair When personnel or car owner input VIN codes, guiding input is carried out, the character that can not possibly include in input VIN codes is avoided, can drop The error probability of low VIN codes input.
Fig. 4 is referred to, Fig. 4 is the schematic flow diagram of another input control method provided in an embodiment of the present invention, is such as schemed Shown in 4, which includes the content of step 401~407, wherein:
401, instruction is keyed according to vehicle identification code and determines current key entry position and typing character.
Input control device keys in instruction according to vehicle identification code and determines current key entry position and typing character.
Wherein, it includes that the startup input to vehicle identification code instructs, is defeated to vehicle identification code that vehicle identification code, which keys in instruction, Enter the wake-up instruction at interface or currently keys in the key entry instruction of the previous key entry position of position to vehicle identification code.
Wherein, the current position of keying in of vehicle identification code is the current position to be keyed in inputted on keyboard, and typing character is vehicle The character inputted on the input keyboard of identification code, it is to be understood that typing character can be sky, or One character or multiple characters.
It is understood that if the digit for currently keying in position is 1, typing character is sky, then it is corresponding currently to key in position Coding rule is the coding rule of Railway Car Plant's affiliated area, and executes step 402.
402, current key entry position is determined according to the coding rule of Railway Car Plant's affiliated area and for empty typing character Corresponding character set to be selected.
Input control device is worked as according to the coding rule of Railway Car Plant's affiliated area and for the empty determination of typing character The corresponding character set to be selected in preceding key entry position.
It should be noted that in the coding rule of vehicle identification code, different countries or car manufacturer are to VIN The explanation of WMI in code has fine distinction.As described in the step 301 in embodiment corresponding to Fig. 3, vehicle identification code 1st automaker for indicating region described in Railway Car Plant, but also having needs the 1st country code of VIN codes It is combined and can be distinguished with the 2nd manufacturer code.Similar, some manufacturers use first 3 combined code tables of VIN codes Show specific brand, as shown in table 3, different automobile brands is indicated with the combination of the positions the 1-3 character code of VIN codes.
Table 3
It should be noted that if the digit for currently keying in position is 1, typing character is sky, then can be according to vehicle identification The coding rule of code determines that the character set to be selected for currently keying in position is:{ A-H, J-R, S-Z, 0-9 }.
It is understood that if the digit for currently keying in position is 9, the current corresponding coding rule in position of keying in is known for vehicle The verification rule of other code, thens follow the steps 403.
403, according to the verification of vehicle identification code rule character to be selected corresponding with the current key entry position of the determination of typing character Collection.
Input control device is corresponding according to the verification rule of vehicle identification code and the current key entry position of typing character determination Character set to be selected.
It should be noted that the 9th of the vehicle identification code check bit for vehicle identification code, for preventing vehicle identification The input error of code.Specifically, each character { 0-9, A-H, J-N, P, R-Z } in VIN codes is corresponded to a number;By VIN codes In the positions 1-17 be arranged a weighted value;Since first of VIN codes, the corresponding number of character is multiplied by adding for the character Weights calculate the 1-8 and 10-17 sum of products;By the sum of products divided by 11, gained remainder is the value of check bit.If remaining Number is 10, then the value of check bit is X.
As can be seen that the concrete numerical value of check bit is known in the positions 10-17 of VIN codes, can calculate Come.But according to the coding rule of the check bit of vehicle identification code it is found that the 9th character set to be selected of vehicle identification code is { 0- 9, X }.
It should be noted that if the digit for currently keying in position is 10, the current corresponding coding rule in position of keying in is given birth to for vehicle The coding rule for producing the time, thens follow the steps 404.
404, it determines that current input bit is corresponding according to the coding rule in vehicle production time and typing character and waits for word selection Symbol collection.
Input control device determines that current input bit is corresponding according to the coding rule in vehicle production time with typing character Character set to be selected.
Wherein, the 10th of vehicle identification code is the type year of vehicle, i.e. model year.10th word of vehicle identification code The symbol code corresponding time is as shown in table 4, and different character codes represents the different times.
Table 4
Character code Time Character code Time Character code Time Character code Time
B 1981 K 1989 V 1997 5 2005
C 1982 L 1990 W 1998 6 2006
D 1983 M 1991 X 1999 7 2007
E 1984 N 1992 Y 2000 8 2008
F 1985 P 1993 1 2001 9 2009
G 1986 R 1994 2 2002
H 1987 S 1995 3 2003
J 1988 T 1996 4 2004
It should be further noted that be not necessarily the actual production time of automobile type year as defined in producer, but generally with The difference in actual production time is no more than 1 year.It is each time of 1981-2009 and character code in vehicle identification code in table 4 Corresponding table.In embodiments of the present invention, the current character set to be selected for keying in position can be determined according to the time limit of scrapping of vehicle.It lifts For example, if scrapping for China is limited to 10 years in year, current time is 2009, and typing character is:LSVHJ1330, current key The digit for entering position is 9;Then according to table 4 and vehicle scrap the time limit can determine the current character set to be selected for keying in position be X-Y, 1-9}。
It should be noted that if the digit for currently keying in position is 11, the current corresponding coding rule in position of keying in fills for vehicle Coding rule with factory, thens follow the steps 405.
405, according to the positions the 1-3 of the vehicle identification code automobile factory that typing character has determined, the 4-8 of vehicle identification code The coding rule of position typing character has determined vehicle and vehicle assembling factory determines the corresponding character set to be selected in current key entry position.
Input control device is according to the positions the 1-3 automobile factory that typing character has determined of vehicle identification code, vehicle identification The coding rule of the positions 4-8 of code typing character has determined vehicle and vehicle assembling factory determines that current key entry position is corresponding to be selected Character set.
Wherein, the 11st of vehicle identification code is the character for indicating vehicle assembling factory.It should be noted that if current key The digit for entering position is 11, then illustrates that first 10 of vehicle identification code are known.According to the coding rule of vehicle identification code, The manufacturer of automobile can be determined according to the positions 1-3 of VIN codes;And the vehicle of vehicle can be determined according to the positions 4-8 of VIN codes Type.Thus, it is possible to determine the corresponding character in vehicle assembling factory under corresponding vehicle according to the vehicle of automobile factory and vehicle Collection.
It should be noted that if the digit for currently keying in position is 12-17, the current corresponding coding rule in position of keying in is vehicle Manufacture serial number coding rule, then follow the steps 406.
406, determine that current key entry position is corresponding to be selected according to the coding rule of vehicle release serial number and typing character Character set.
Input control device is right according to the coding rule of vehicle release serial number and the current key entry position of typing character determination The character set to be selected answered.
Wherein, the positions 12-17 of vehicle identification code are the manufacture serial number of vehicle, and by automobile production, manufacturer formulates.
407, the corresponding character set adjustment input keyboard to be selected in position is keyed according to current.
Input control device keys in the corresponding character set adjustment input keyboard to be selected in position according to current.
It should be noted that the input keyboard in the embodiment of the present invention can be that system on input control device is defeated Enter and adjust on keyboard, can also be according to current key in that the corresponding character set to be selected in position determines one dedicated for VIN codes The input keyboard of input.
As a kind of possible embodiment, input keyboard is adjusted according to the current corresponding character set to be selected in position of keying in Specific implementation mode is:Obtain the character set that input keyboard is included;Character in character set in addition to character set to be selected is deleted It removes;Character in showing character set to be selected on input keyboard.
For example, if the current digit for keying in position of vehicle identification code is 1, typing character is sky.Known according to vehicle The coding rule of other code can show that the 1st character set to be selected of vehicle identification code is { A-H, J-N, P, R-Z, 0-9 }.Then The input keyboard for currently keying in position can be adjusted in the way of above-mentioned deletion character, the input keyboard after adjustment is such as Shown in Fig. 5.
For example, if the current digit for keying in position of vehicle identification code is 9, the typing character of vehicle identification code is: " LSVHJ133_ ", wherein underscore " _ " indicate current and key in position.According to the coding rule of vehicle identification code it is found that vehicle is known 9th character set to be selected of other code is { 0-9, X }, then can be in the way of above-mentioned deletion character to currently keying in position Input keyboard is adjusted, and the input keyboard after adjustment is as shown in Figure 6.
It should be noted that the above embodiment is only to show current key entry position on the basis of system inputs keyboard Character in optional character set.
Optionally, it is also wrapped according to the current specific implementation mode for keying in the corresponding character set adjustment input keyboard to be selected in position It includes:Obtain the character set that input keyboard is included;The word in the character set that keyboard is included in addition to character set to be selected will be inputted Symbol is set as non-enabled state, and sets the character in character set to be selected to enabled state.In other words:It can be general System input keyboard on the character currently keyed in vehicle identification code in the character set to be selected of position be set as enabled state, and Character of the character set that input keyboard is included in addition to character set to be selected is set as non-enabled state.So that vehicle is tieed up Personnel or car owner are repaiied when inputting VIN codes, the character other than character set to be selected cannot be selected, reduces vehicle identification code input The probability of error.
It through the embodiment of the present invention, can be according to the current key entry position of vehicle identification code and typing character has been determined to work as The preceding character set to be selected for keying in position;And according to the current character set to be selected adjustment input keyboard for keying in position;To in auto repair It, can be according to the current word keyed in and shown on position and the input keyboard of typing character adjustment when personnel or car owner input VIN codes Symbol reduces the probability of VIN input errors to avoid the character that can not possibly occur in input VIN codes.
Fig. 7 is referred to, Fig. 7 is a kind of schematic block diagram of input control device provided in an embodiment of the present invention, the input Control device includes such as lower unit:
Determination unit 701, for being keyed according to vehicle identification code, instruction is determining currently to key in position and typing character.
The determination unit 701, if being additionally operable to currently key in specified digit of the digit less than vehicle identification code of position, The corresponding character set to be selected of the corresponding coding rule in position and the current key entry position of typing character determination is keyed according to current.
Adjustment unit 702, for keying in the corresponding character set adjustment input keyboard to be selected in position according to current.
As a kind of possible embodiment, if the digit for currently keying in position is 1, typing character is sky;It is current to key in The corresponding coding rule in position is the coding rule of Railway Car Plant's affiliated area;Then the determination unit 701 is specifically used for:
Determine that current position of keying in is corresponded to according to the coding rule of Railway Car Plant's affiliated area and for empty typing character Character set to be selected.
As a kind of possible embodiment, if the digit for currently keying in position is 9;It is current to key in the corresponding coding rule in position It is then the verification rule of vehicle identification code;Then the determination unit 701 is specifically used for:
The corresponding character set to be selected in current key entry position is determined according to the verification rule of vehicle identification code and typing character.
As a kind of possible embodiment, current to key in the corresponding coding rule in position if the digit for currently keying in position is 10 It is then the coding rule in vehicle production time;The determination unit 701 is specifically used for:
The corresponding character to be selected of current input bit is determined according to the coding rule in vehicle production time and typing character Collection.
As a kind of possible embodiment, current to key in the corresponding volume in position if the current digit for keying in position is 11 Code rule is the coding rule of vehicle assembling factory;Then the determination unit 701 is specifically used for:
According to the positions the 1-3 of vehicle identification code typing character determine automobile factory, vehicle identification code the positions 4-8 The coding rule of vehicle and vehicle assembling factory that typing character determines determines the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, current to key in the corresponding volume in position if the digit for currently keying in position is 12-17 Code rule is the coding rule of vehicle release serial number;Then the determination unit 701 is specifically used for:
The corresponding character to be selected in current key entry position is determined according to the coding rule of vehicle release serial number and typing character Collection.
As a kind of possible embodiment, the adjustment unit 702 is specifically used for:
Obtain the character set that input keyboard is included;By the character deletion in character set in addition to character set to be selected.
As an alternative embodiment, the adjustment unit 702 also particularly useful for:
Obtain the input keyboard character set that is included, will input in the character set that keyboard is included except character set to be selected it Outer character is set as non-enabled state, and sets the character in character set to be selected to enabled state.It is understood that It is that the character of enabled state is in editing mode on input keyboard, so as to avoid vehicle maintenance personnel or car owner The character other than character set to be selected is chosen when inputting VIN codes, reduces the probability of VIN codes input error.
It is a kind of schematic block diagram for input control device that another embodiment of the present invention provides referring to Fig. 8.This implementation Example in device may include:One or more processors 801, one or more input equipments 802, one or more output Equipment 803 and memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 and memory 804 pass through bus 805 connections.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or should Processor can also be any conventional processor etc..
Input equipment 802 may include that Trackpad, fingerprint adopt sensor (finger print information and fingerprint for acquiring user Directional information), microphone etc., output equipment 803 may include display (LCD etc.), loud speaker etc..
The memory 804 may include read-only memory and random access memory, and provide instruction to processor 801 And data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 may be used also With the information of storage device type.
In embodiments of the present invention, it is loaded by processor 801 and executes one or one stored in computer storage media Above instructions, to realize the corresponding steps of method flow shown in above-mentioned Fig. 3 or Fig. 4;In the specific implementation, computer storage is situated between One in matter or one or more instruction are loaded by processor 801 and execute following steps:
Instruction, which is keyed in, according to vehicle identification code determines current key entry position and typing character;If currently keying in the digit of position Less than the specified digit of vehicle identification code, then the corresponding coding rule in position and typing character determination are keyed in currently according to current Key in the corresponding character set to be selected in position;The corresponding character set adjustment input keyboard to be selected in position is keyed according to current.
As a kind of possible embodiment, if the digit for currently keying in position is 1, typing character is sky;It is current to key in The corresponding coding rule in position is the coding rule of Railway Car Plant's affiliated area;Then the corresponding coding rule in position are keyed according to current Then the specific implementation mode of character set to be selected corresponding with the current key entry position of the determination of typing character is:According to Railway Car Plant The coding rule of affiliated area character set to be selected corresponding with the current key entry position of the determination of typing character for sky.
As a kind of possible embodiment, current to key in the corresponding coding rule in position if the digit for currently keying in position is 9 It is then the verification rule of vehicle identification code;Then the corresponding coding rule in position and typing character determination are keyed according to current currently The specific implementation mode for keying in the corresponding character set to be selected in position is:According to the verification rule of vehicle identification code and typing character Determine the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, current to key in the corresponding coding rule in position if the digit for currently keying in position is 10 It is then the coding rule in vehicle production time;Then worked as according to the corresponding coding rule in current key entry position and typing character determination The preceding specific implementation mode for keying in the corresponding character set to be selected in position is:According to the coding rule in vehicle production time and key in Character determines the corresponding character set to be selected of current input bit.
As a kind of possible embodiment, current to key in the corresponding volume in position if the current digit for keying in position is 11 Code rule is the coding rule of vehicle assembling factory;Then the corresponding coding rule in position and typing character determination are keyed according to current Currently the specific implementation mode of the corresponding character set to be selected in key entry position is:According to the positions the 1-3 of vehicle identification code, typing character is true The coding rule of the positions 4-8 of fixed automobile factory, vehicle identification code typing character has determined vehicle and vehicle assembling factory is true The corresponding character set to be selected in position is keyed in before settled.
As a kind of possible embodiment, current to key in the corresponding volume in position if the digit for currently keying in position is 12-17 Code rule is the coding rule of vehicle release serial number;Then the corresponding coding rule in position and typing character are keyed according to current Determine that the current specific implementation mode for keying in the corresponding character set to be selected in position is:According to the coding rule of vehicle release serial number Typing character determines the corresponding character set to be selected in current key entry position.
As a kind of possible embodiment, input keyboard is adjusted according to the current corresponding character set to be selected in position of keying in Specific implementation mode is:Obtain the character set that input keyboard is included;Character in character set in addition to character set to be selected is deleted It removes.
As an alternative embodiment, processor 801 also executes the following steps:
Obtain the input keyboard character set that is included, will input in the character set that keyboard is included except character set to be selected it Outer character is set as non-enabled state, and sets the character in character set to be selected to enabled state.It is understood that It is that the character of enabled state is in editing mode on input keyboard, so as to avoid vehicle maintenance personnel or car owner The character other than character set to be selected is chosen when inputting VIN codes, reduces the probability of VIN codes input error.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can It is completed with instructing relevant hardware by computer program, the program can be stored in a computer-readable storage In medium, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can For magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only the section Example of the present invention, cannot limit the power of the present invention with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and is weighed according to the present invention Equivalent variations made by profit requirement, still belong to the scope covered by the invention.

Claims (10)

1. a kind of input control method, which is characterized in that the method includes:
Instruction, which is keyed in, according to vehicle identification code determines current key entry position and typing character;
If the current digit for keying in position is less than the specified digit of vehicle identification code, corresponding according to the current key entry position Coding rule and the typing character determine the corresponding character set to be selected in the current key entry position;
According to the corresponding character set adjustment input keyboard to be selected in the current key entry position.
2. according to the method described in claim 1, it is characterized in that, it is described it is current key in position digit be 1, it is described to have keyed in word Symbol is sky;The current corresponding coding rule in position of keying in is the coding rule of Railway Car Plant's affiliated area;
It is described to determine that the current key entry position is right according to the current corresponding coding rule in key entry position and the typing character The character set to be selected answered, including:
According to the coding rule of Railway Car Plant's affiliated area and for typing character determines the current key described in sky Enter the corresponding character set to be selected in position.
3. according to the method described in claim 1, it is characterized in that, it is described it is current key in position digit be 9, the current key entry The corresponding coding rule in position is the verification rule of the vehicle identification code;
It is described to determine that the current key entry position is right according to the current corresponding coding rule in key entry position and the typing character The character set to be selected answered, including:
Determine that the current key entry position is corresponding to be selected according to the verification rule of the vehicle identification code and the typing character Character set.
4. according to the method described in claim 1, it is characterized in that, it is described it is current key in position digit be 10, the current key Enter the coding rule that the corresponding coding rule in position is the vehicle production time;
It is described to determine that the current key entry position is right according to the current corresponding coding rule in key entry position and the typing character The character set to be selected answered, including:
It determines that the current input bit is corresponding according to the coding rule in the vehicle production time and the typing character to wait for Select character set.
5. according to the method described in claim 1, it is characterized in that, it is described it is current key in position digit be 11, the current key Enter the coding rule that the corresponding coding rule in position is vehicle assembling factory;
It is described to determine that the current key entry position is right according to the current corresponding coding rule in key entry position and the typing character The character set to be selected answered, including:
According to the positions the 1-3 of the vehicle identification code automobile factory that typing character has determined, the positions 4-8 of the vehicle identification code The coding rule for the vehicle and the vehicle assembling factory that typing character has determined determines that the current key entry position is corresponding and waits for word selection Symbol collection.
6. described current according to the method described in claim 1, it is characterized in that, the current digit for keying in position is 12-17 Key in the coding rule that the corresponding coding rule in position is vehicle release serial number;
It is described to determine that the current key entry position is right according to the current corresponding coding rule in key entry position and the typing character The character set to be selected answered, including:
Determine that the current key entry position is corresponding according to the coding rule of the vehicle release serial number and the typing character Character set to be selected.
7. according to the method described in claim 1-6 any one, which is characterized in that described to be corresponded to according to the current key entry position Character set to be selected adjustment input keyboard include:
Obtain the character set that the input keyboard is included;
By the character deletion in the character set in addition to the character set to be selected.
8. a kind of input control device, which is characterized in that include for executing as described in claim 1-7 any claims The unit of method.
9. a kind of input control device, which is characterized in that including processor, input equipment, output equipment and memory, the place It manages device, input equipment, output equipment and memory to be connected with each other, wherein the memory is described for storing computer program Computer program includes program instruction, and the processor is configured for calling described program instruction, executes such as claim 1-7 Any one of them method.
10. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor It is required that 1-7 any one of them methods.
CN201711485529.7A 2017-12-29 2017-12-29 Input control method and device Active CN108287612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711485529.7A CN108287612B (en) 2017-12-29 2017-12-29 Input control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711485529.7A CN108287612B (en) 2017-12-29 2017-12-29 Input control method and device

Publications (2)

Publication Number Publication Date
CN108287612A true CN108287612A (en) 2018-07-17
CN108287612B CN108287612B (en) 2021-09-07

Family

ID=62831945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711485529.7A Active CN108287612B (en) 2017-12-29 2017-12-29 Input control method and device

Country Status (1)

Country Link
CN (1) CN108287612B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120086343A1 (en) * 2009-06-17 2012-04-12 Tsann Kuen (Zhangzhou) Enterprise Co., Ltd. LIGHT ADJUSTABLE LAMP (Amended)
CN102968602A (en) * 2012-10-31 2013-03-13 北京奇虎科技有限公司 Setting method and device for keyboard
CN103076889A (en) * 2012-03-14 2013-05-01 林天淼 System input method based on position sensing
CN103813019A (en) * 2014-03-03 2014-05-21 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting input interface
US20140176352A1 (en) * 2012-12-21 2014-06-26 Apple Inc. Computer keyboard key scan shared matrix with an individual led per key
CN104020851A (en) * 2014-06-17 2014-09-03 安徽猎豹汽车有限公司 Input device and method for vehicle information codes
CN105183178A (en) * 2015-09-06 2015-12-23 广州南馨网络科技有限公司 Virtual VIN input keyboard and operation method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120086343A1 (en) * 2009-06-17 2012-04-12 Tsann Kuen (Zhangzhou) Enterprise Co., Ltd. LIGHT ADJUSTABLE LAMP (Amended)
CN103076889A (en) * 2012-03-14 2013-05-01 林天淼 System input method based on position sensing
CN102968602A (en) * 2012-10-31 2013-03-13 北京奇虎科技有限公司 Setting method and device for keyboard
US20140176352A1 (en) * 2012-12-21 2014-06-26 Apple Inc. Computer keyboard key scan shared matrix with an individual led per key
CN103813019A (en) * 2014-03-03 2014-05-21 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting input interface
CN104020851A (en) * 2014-06-17 2014-09-03 安徽猎豹汽车有限公司 Input device and method for vehicle information codes
CN105183178A (en) * 2015-09-06 2015-12-23 广州南馨网络科技有限公司 Virtual VIN input keyboard and operation method thereof

Also Published As

Publication number Publication date
CN108287612B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US11481737B2 (en) Systems and methods to generate repair orders using a taxonomy and an ontology
CN112147983B (en) Vehicle diagnosis method and device, electronic equipment and storage medium
CN108287612A (en) A kind of input control method and its device
CN108279784A (en) A kind of input control method and its device
JP2008071348A (en) Position selection system and method
CN111506362B (en) Processing method, device, storage medium and system for configuration form of game
CN112559373B (en) Software compatibility management method and system
CN116562227A (en) Chip signal connectivity verification method and device
CN107562808B (en) Method for verifying heterogeneous double-chain automatic data
CN108573003B (en) Integrated storage system and method for multi-source data related to automobile
US11544051B2 (en) Vehicle update system and method
US8577861B2 (en) Apparatus and method for searching information
CN112445461A (en) Business rule generation method and device, electronic equipment and readable storage medium
CN113805913A (en) Software query information management system and software query information management method
CN110069759A (en) A kind of efficient input method of form data based on note mode
CN114064449A (en) Simulation test report generation method and device, electronic equipment and storage medium
CN113590581A (en) Data transmission method, device, equipment and storage medium
CN106557569A (en) Introduction method and gatherer based on the non-structured document of meta-model
CN116542191B (en) Logic correction method, device, equipment and storage medium
Palekar et al. Leveraging automotive industry strategies to define a new paradigm for construction-to-operation information handover
JP6075172B2 (en) Software development equipment
CN117785267A (en) DBC file repairing method and device and electronic equipment
CN106709321A (en) Verification method and verification apparatus for combination key
CN111077878A (en) Method and system for simplifying test judgment table of automobile controller
JP2005536815A (en) Digital circuit equivalent comparison method and equivalent comparison device

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
GR01 Patent grant
GR01 Patent grant