Summary of the invention
The invention provides input method, wireless pairing method, wireless device and the wireless pairing system of the wireless device personal identity number that the input mode of a kind of and existing wireless device personal identity number is different.
For solving the problems of the technologies described above, the present invention by the following technical solutions:
An input method for wireless device personal identity number, comprising:
The characteristic information of wireless device response user input, described characteristic information comprises one or more in a plurality of preset icon of figure, word, preset icon, order series connection;
According to preset rules, convert the characteristic information of user's input to sequence string, and using described sequence string as personal identity number.
The process that converts the characteristic information of user's input to sequence string according to preset rules comprises:
Initialized data base, preserves the corresponding relation of each characteristic information and corresponding sequence string in described database;
According to the characteristic information of user's input, from described database, inquire about corresponding sequence string.
If characteristic information is a plurality of preset icon of order series connection, the process that converts the characteristic information of user's input to sequence string according to preset rules comprises:
Set unique numbering to each preset icon;
According to the series sequence of a plurality of preset icon of described order series connection, the numbering of described a plurality of preset icon is connected, form described sequence string.
The process of the characteristic information of wireless device response user input comprises: the inputting interface at wireless device arranges n site as characteristic information input area, and wireless device responds the characteristic information of described district intra domain user input; The process that converts the characteristic information of user's input to sequence string according to preset rules comprises: the site that the characteristic information being input by a user covers is set to non-initialization value, and the site that the characteristic information not being input by a user covers is set to initialization value; The value in Nei Ge site, described region of connecting forms described sequence string.
N equals 128.
A wireless pairing method, comprising:
The first wireless device sends pairing request to the second wireless device;
The second wireless device sends to the first wireless device by user according to the personal identity number of method input described in above-mentioned any one;
The First Characteristic information of the first wireless device response user input;
The Second Characteristic information of user's input on personal identity number reconstruct the second wireless device that the first wireless device sends according to described the second wireless device, and judge that whether described First Characteristic information is consistent with described Second Characteristic information;
If consistent, with the second wireless device paring success.
A wireless device, comprises input module and modular converter, wherein,
Described input module is for responding the characteristic information of user input, and described characteristic information comprises one or more in a plurality of preset icon of figure, word, preset icon, order series connection;
Described modular converter converts sequence string to for the characteristic information of user being inputted according to preset rules, and using described sequence string as personal identity number.
Also comprise database, in described database, preserve the corresponding relation of each characteristic information and corresponding sequence string; Described modular converter is for inquiring about corresponding sequence string according to the characteristic information of user's input from described database.
If characteristic information is a plurality of preset icon of order series connection, described modular converter is for setting unique numbering to each preset icon; According to the series sequence of a plurality of preset icon of described order series connection, the numbering of described a plurality of preset icon is connected, form described sequence string.
Described input module arranges n site as characteristic information input area for the inputting interface at wireless device, responds the characteristic information of described district intra domain user input; The site that described modular converter covers for the characteristic information being input by a user is set to non-initialization value, and the site that the characteristic information not being input by a user covers is set to initialization value; The value in Nei Ge site, described region of connecting forms described sequence string.
A wireless pairing system, comprises the first wireless device and the second wireless device, wherein,
Described the second wireless device is for sending to described the first wireless device by user according to the personal identity number of method input described in above-mentioned any one;
Described the first wireless device is for sending pairing request to described the second wireless device; The First Characteristic information of response user input; The Second Characteristic information of user's input on personal identity number reconstruct the second wireless device sending according to described the second wireless device, and judge that whether described First Characteristic information is consistent with described Second Characteristic information; If consistent, with the second wireless device paring success.
The invention provides a kind of input method of wireless device personal identity number, wireless pairing method, wireless device and wireless pairing system, in the input method of wireless device personal identity number, the figure of user being inputted according to preset rules, word, preset icon, one or more characteristic informations in a plurality of preset icon of order series connection convert sequence string to, and using this sequence string as personal identity number, different from the mode of the direct list entries string of existing wireless device personal identity number, enriched the input mode of wireless device personal identity number, while figure, word, preset icon, the characteristic informations such as order series connection are compared sequence string more can allow user learn off, avoid user to forget sequence string, cause carrying out wireless pairing.
Embodiment
Fig. 1 is the flow chart of the input method of a kind of wireless device personal identity number of the embodiment of the present invention, please refer to Fig. 1:
The characteristic information of S11, wireless device response user input, described characteristic information comprises one or more in a plurality of preset icon of figure, word, preset icon, order series connection;
S12, the characteristic information of user being inputted according to preset rules convert sequence string to, and using described sequence string as personal identity number.
Below by embodiment, by reference to the accompanying drawings the present invention is described in further detail.
Embodiment mono-
Fig. 2 is the flow chart of the input method of a kind of wireless device personal identity number of another embodiment of the present invention, please refer to Fig. 2:
S21, on wireless device initialized data base, in described database, preserve the corresponding relation of each characteristic information and corresponding sequence string;
In database, can preserve in the mode of list the corresponding relation of each characteristic information and corresponding sequence string, as table 1, the sequence string that triangle (△) is corresponding is abc, the sequence string that rectangle () is corresponding is def, sequence string corresponding to circular (zero) is ghi, the sequence string that pentalpha (☆) is corresponding is jkl, the sequence string corresponding to arrow (←) of left sensing is mno, the sequence string corresponding to arrow (→) of right sensing is pqr, the sequence string corresponding to arrow (↑) of upper sensing is stu, and the sequence string corresponding to arrow (↓) of lower sensing is vws etc.The number of characters of sequence string can be between 1 to 16.
Table 1
Characteristic information |
Sequence string |
△ |
abc |
□ |
def |
○ |
ghi |
☆ |
jkl |
← |
mno |
→ |
pqr |
↑ |
stu |
↓ |
vws |
S22, the characteristic information of inputting according to user are inquired about corresponding sequence string from described database, and using described sequence string as personal identity number.
Embodiment bis-
Fig. 3 is the flow chart of the input method of a kind of wireless device personal identity number of another embodiment of the present invention, and the characteristic information of take is that a plurality of preset icon of order series connection are example, please refer to Fig. 3:
S31, set unique numbering to each preset icon, numbering can be character, the character between a to z or the character between A to Z etc. between 0 to 9.
S32, user select a plurality of preset icon sequentially to connect at the inputting interface of wireless device;
S33, wireless device read the numbering of each preset icon of user's series connection, and according to user's series sequence, this corresponding numbering are connected, and formation sequence string, as personal identity number.
Fig. 4 is the schematic diagram of the characteristic information of user's input in Fig. 3 of the present invention, please please refer to Fig. 4:
Set unique numbering to each preset icon, respectively 0,1,2,3,4,5,6,7,8, user selects to carry out order series connection by 0,1,4,8 at the inputting interface of wireless device, wireless device reads the numbering of each preset icon of user's series connection, formation sequence string 0148, as personal identity number.
Embodiment tri-
Fig. 5 is the flow chart of the input method of a kind of wireless device personal identity number of another embodiment of the present invention, please refer to Fig. 5:
S51, at the inputting interface of wireless device, n site is set as characteristic information input area, n can equal 32,64,128 or other numerical value, take mobile phone in addition as example, mobile phone screen consists of a lot of pixels conventionally, such as the pixel of 240*480, can form a site by a plurality of pixels);
S52, user input feature vector information in this region, wireless device responds the characteristic information of this district's intra domain user input;
The site that S53, the characteristic information being input by a user cover is set to non-initialization value, and the site that the characteristic information not being input by a user covers is set to initialization value, and the value formation sequence string in the Nei Ge site, this region of connecting, as personal identity number.
Fig. 6 is the schematic diagram of the characteristic information of user's input in Fig. 5 of the present invention, please refer to Fig. 6:
It is example that the personal identity number of take can be inputted at most 16 characters, and n=128bit arranges rectangular area that 128 sites form as characteristic information input area 62 the inputting interface 61 of wireless device is interior, long big 16 sites, region 62, and wide is 8 sites.The initialization value of setting site is 0, and non-initialization value is 1, at drawing interface, have the site of person's handwriting to be set to 1, without the site of person's handwriting, be set to 0, the site that " √ " being drawn by user covered is 1, unlapped site is 0, forms one group by the 0 and 1 sequence string forming.Any drawing in the rectangular area that the present embodiment user forms in these 128 sites, sequence string that can <=128bit represents.
According to above each embodiment, (embodiment mono-, two and three) input mode of the personal identity number providing, can also carry out the process of wireless pairing, with the first wireless device, to the second wireless device request blue teeth wireless, be paired into example, on the first wireless device, (embodiment mono-according to above each embodiment for user, two and three) the input mode input personal identity number of the personal identity number providing, personal identity number on the second wireless device can be preset, also can be that (embodiment mono-according to above each embodiment for user, two and three) the input mode input of the personal identity number providing.
Step 1, generation initial key, the first wireless device uses identical E22 algorithm with the second wireless device, according to personal identity number separately, DB_ADDRB (bluetooth device address of the second wireless device), the random number (IN_RAND) etc. of 128, calculate Kinit (initialization key) separately respectively, be respectively KinitA and KinitB, in this process, the first wireless device obtains the DB_ADDRB of the second wireless device by the mode of inquiry, random number (IN_RAND) is produced by the first wireless device, and sends the second wireless device to clear-text way;
Step 2, link generation authenticate key, the first wireless device produces the random number LK_RANDA of 128, the second wireless device also produces the random number LK_RANDB of 128, in the first wireless device, KinitA and LK_RANDA carry out a bit logic XOR, XOR result sends to the second wireless device, equally, in the second wireless device, KinitB and LK_RANDB carry out a bit logic XOR, result sends to main the first wireless device, after this exchange, the first wireless device and the second wireless device use respectively E21 algorithm by LK_RANDA, DB_ADDRA (bluetooth device address of the first wireless device), LK_RANDB, the encryptions such as DB_ADDRB, and result is carried out to XOR obtain Kab (authenticate key).
Step 3, two-way authentication, can adopt challenge-response (challenge-response) mode, answer party produces the random number AU_RANDA of 128, and be sent to requesting party with clear-text way, both sides use identical E1 algorithm by AU_RANDA, the Kab obtaining separately etc. is encrypted computing, generate respectively number of responses SRESA and the SRESB of 32, the second wireless device sends result SRESB to first wireless device, the first wireless device is SRESA and SRESB relatively, if the personal identity number of user's input is identical on two equipment, SRESA is consistent with SRESB, this time successful matching, if the personal identity number of user's input is different on two equipment, cause SRESA different with SRESB, this time match unsuccessfully.
Take embodiment mono-as example, if the characteristic information of user's input on the first wireless device is triangle, the sequence string forming is that personal identity number is abc, and the characteristic information of user's input is rectangle on the second wireless device, the sequence string forming is that personal identity number is def, cause SRESA and SRESB inconsistent, match unsuccessfully; If the characteristic information of user's input is similarly triangle, successful matching on the second wireless device.
Embodiment tetra-
According to above each embodiment, (embodiment mono-, two and three) input mode of the personal identity number providing, can also carry out the process of another kind of wireless pairing, with the first wireless device, to the second wireless device request blue teeth wireless, be paired into example, on the first wireless device, (embodiment mono-according to above each embodiment for user, two and three) mode providing is inputted First Characteristic information, personal identity number on the second wireless device can be preset, also can be that (embodiment mono-according to above each embodiment for user, two and three) the input mode input of the personal identity number providing, Fig. 7 is the flow chart of a kind of wireless pairing method of another embodiment of the present invention, please refer to Fig. 7:
S71, the first wireless device send pairing request to the second wireless device;
The Second Characteristic information of S72, the second wireless device response user input, Second Characteristic information comprises one or more in a plurality of preset icon of figure, word, preset icon, order series connection;
S73, the second wireless device convert the Second Characteristic information of user's input to sequence string according to preset rules, and the personal identity number using this sequence string as the second wireless device;
S74, the second wireless device send to the first wireless device by personal identity number;
The First Characteristic information of S75, the first wireless device response user input, First Characteristic information comprises one or more in a plurality of preset icon of figure, word, preset icon, order series connection;
The Second Characteristic information of user's input on personal identity number reconstruct the second wireless device that S76, the first wireless device send according to the second wireless device;
S77, the first wireless device judge that whether First Characteristic information is consistent with Second Characteristic information, if consistent, enter step S78, if inconsistent, enter step S79;
S78, successful with the second wireless device paring.
S79, failed with the second wireless device paring.
With respect to upper a kind of matching method, the matching method of the present embodiment is easier.
Embodiment five
The present embodiment comprises a kind of wireless device, and Fig. 8 is the schematic diagram of a kind of wireless device of the embodiment of the present invention, please refer to Fig. 8:
A wireless device, comprises input module 81 and modular converter 82, and wherein, input module 81 is for responding the characteristic information of user input, and this characteristic information comprises one or more in a plurality of preset icon of figure, word, preset icon, order series connection; Modular converter 82 converts sequence string to for the characteristic information of user being inputted according to preset rules, and using this sequence string as personal identity number.
Further, in wireless device, can also comprise database, in this database, preserve the corresponding relation of each characteristic information and corresponding sequence string; Modular converter 82 is for inquiring about corresponding sequence string according to the characteristic information of user's input from this database, as personal identity number.
Further, if characteristic information is a plurality of preset icon of order series connection, modular converter 82 is for setting unique numbering to each preset icon; The series sequence of a plurality of preset icon of sequentially connecting according to this, connects the numbering of the plurality of preset icon, forms this sequence string, as personal identity number.
Further, input module 81 arranges n site as characteristic information input area for the inputting interface at wireless device, responds the characteristic information of this district's intra domain user input; The site that modular converter 82 covers for the characteristic information being input by a user is set to non-initialization value, and the site that the characteristic information not being input by a user covers is set to initialization value; The value in Nei Ge site, this region of connecting forms this sequence string, as personal identity number.
The present embodiment can also comprise a kind of wireless pairing system, comprises the first wireless device and the second wireless device, and wherein, the second wireless device is for sending to the first wireless device by user according to the personal identity number of the method for the invention input; The first wireless device is for sending pairing request to the second wireless device; The First Characteristic information of response user input; The Second Characteristic information of user's input on personal identity number reconstruct the second wireless device sending according to the second wireless device, and judge that whether First Characteristic information is consistent with Second Characteristic information; If consistent, with the second wireless device paring success, otherwise, with the second wireless device paring failure.
In existing wireless device, touch-screen applications is more and more extensive, and the input mode corresponding to touch-screen is also very diversified, if can make full use of the advantage of touch-screen, enrich input and the matching method of personal identity number, increase the interest of wireless pairing, the user who greatly improves touch screen terminal is experienced.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.