Summary of the invention
The present invention provides the input method of the different wireless device personal identity number of the input mode of a kind of and existing wireless device personal identity number, wireless matching method, wireless device and wireless pair system.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of input method of wireless device personal identity number comprises:
The characteristic information of wireless device response user input, said characteristic information comprise one or more in a plurality of preset icon of figure, literal, preset icon, order series connection;
Convert the characteristic information of user input to the sequence string according to preset rules, and with said sequence string as personal identity number.
According to preset rules the process that the characteristic information of user input converts the sequence string to is comprised:
Initialized data base, the corresponding relation of each characteristic information of preservation and corresponding sequence string in the said database;
Characteristic information according to user's input is inquired about corresponding sequence string from said database.
If characteristic information is a plurality of preset icon of order series connection, the process that the characteristic information of then according to preset rules the user being imported converts the sequence string to comprises:
Set unique numbering for each preset icon;
According to the series sequence of a plurality of preset icon of said order series connection, the numbering of said a plurality of preset icon is connected, form said sequence string.
The process of the characteristic information of wireless device response user input comprises: the inputting interface at wireless device is provided with n site as the characteristic information input area, and wireless device responds the characteristic information of user's input in the said zone; According to preset rules the process that the characteristic information of user input converts the sequence string to is comprised: the site that characteristic information covered by user's input is set to non-initialization value, is not set to initialization value by the site that characteristic information covered of user's input; Connecting, the value in each site forms said sequence string in the said zone.
N equals 128.
A kind of wireless matching method comprises:
First wireless device sends pairing request to second wireless device;
Second wireless device sends to first wireless device with the personal identity number that the user imports according to above-mentioned each said method;
First characteristic information of first wireless device response user input;
Second characteristic information that first wireless device is imported according to user on personal identity number reconstruct second wireless device of said second wireless device transmission, and judge whether said first characteristic information is consistent with said second characteristic information;
If consistent, then with the second wireless device successful matching.
A kind of wireless device comprises input module and modular converter, wherein,
Said input module is used to respond the characteristic information of user's input, and said characteristic information comprises one or more in a plurality of preset icon of figure, literal, preset icon, order series connection;
Said modular converter is used for converting the characteristic information of user input to the sequence string according to preset rules, and with said sequence string as personal identity number.
Also comprise database, preserve the corresponding relation of each characteristic information and corresponding sequence string in the said database; Said modular converter is used for inquiring about corresponding sequence string according to the characteristic information of user's input from said database.
If characteristic information is a plurality of preset icon of order series connection, said modular converter is used for setting unique numbering to each preset icon; According to the series sequence of a plurality of preset icon of said order series connection, the numbering of said a plurality of preset icon is connected, form said sequence string.
Said input module is used for n site being set as the characteristic information input area at the inputting interface of wireless device, responds the characteristic information of user's input in the said zone; Said modular converter is used for being set to non-initialization value by the site that characteristic information covered of user's input, is not set to initialization value by the site that characteristic information covered of user's input; Connecting, the value in each site forms said sequence string in the said zone.
A kind of wireless pair system comprises first wireless device and second wireless device, wherein,
Said second wireless device is used for the personal identity number that the user imports according to above-mentioned each said method is sent to said first wireless device;
Said first wireless device is used for sending pairing request to said second wireless device; First characteristic information of response user input; According to second characteristic information of user's input on personal identity number reconstruct second wireless device of said second wireless device transmission, and judge whether said first characteristic information is consistent with said second characteristic information; If consistent, then with the second wireless device successful matching.
The present invention provides a kind of input method of wireless device personal identity number, wireless matching method, wireless device and wireless pair system; In the input method of wireless device personal identity number; Convert one or more characteristic informations in a plurality of preset icon of the figure of user input, literal, preset icon, order series connection to the sequence string according to preset rules; And with this sequence string as personal identity number; Different with 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, characteristic informations such as figure, literal, preset icon, order series connection are compared the sequence string and more can be let the user learn off simultaneously; Avoid the user to forget the sequence string, cause to carry 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 invention, please refer to Fig. 1:
The characteristic information of S11, wireless device response user input, said characteristic information comprise one or more in a plurality of preset icon of figure, literal, preset icon, order series connection;
S12, convert the characteristic information of user input to the sequence string according to preset rules, and with said sequence string as personal identity number.
Combine accompanying drawing that the present invention is done further explain through embodiment below.
Embodiment one
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, preserve the corresponding relation of each characteristic information and corresponding sequence string in the said database;
Can preserve the corresponding relation of each characteristic information and corresponding sequence string in the database with the mode of tabulation; Like table 1, the sequence string that triangle (△) is corresponding is abc, and the sequence string that rectangle () is corresponding is def; Circular (zero) corresponding sequence string is ghi; The sequence string that pentalpha (☆) is corresponding is jkl, and the sequence string that the arrow (←) that a left side is pointed to is corresponding is mno, and the corresponding sequence string of the right arrow (→) that points to is pqr; The sequence string that the arrow (↑) of last sensing is corresponding is stu, and the sequence string that the arrow (↓) of following sensing is corresponding is vws etc.The number of characters of sequence string can be between 1 to 16.
Table 1
Characteristic information |
The sequence string |
△ |
abc |
□ |
def |
○ |
ghi |
☆ |
jkl |
← |
mno |
→ |
pqr |
↑ |
stu |
↓ |
vws |
S22, from said database, inquire about corresponding sequence string according to the characteristic information of user input, and with said sequence string as personal identity number.
Embodiment two
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, is that a plurality of preset icon that order is connected are example with characteristic information, please refer to Fig. 3:
S31, set unique numbering for each preset icon, numbering can be character, the character between a to z or the character between the A to Z etc. between 0 to 9.
S32, user select a plurality of preset icon are connected in proper order at the inputting interface of wireless device;
S33, wireless device read the numbering of each preset icon of user's series connection, and should corresponding numbering connect according to user's series sequence, form the sequence string, as personal identity number.
Fig. 4 is the sketch map of the characteristic information of user's input among Fig. 3 of the present invention, please please refer to Fig. 4:
Set unique numbering for each preset icon; Be respectively 0,1,2,3,4,5,6,7,8; The user selects to carry out the order series connection with 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, forms sequence string 0148, as personal identity number.
Embodiment three
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, n site is set as the characteristic information input area at the inputting interface of wireless device; N can equal 32,64,128 or other numerical value; Be example in addition with the mobile phone; Mobile phone screen is made up of a lot of pixels usually, such as the pixel of 240*480, can constitute a site by a plurality of pixels);
S52, user input feature vector information in this zone, the characteristic information of user's input in this zone of wireless device response;
S53, the site of being imported by the user that characteristic information covered are set to non-initialization value, are not set to initialization value by the site that characteristic information covered of user's input, and the value in each site forms the sequence string in this zone of connecting, as personal identity number.
Fig. 6 is the sketch map of the characteristic information of user's input among Fig. 5 of the present invention, please refer to Fig. 6:
Can import 16 characters at most with personal identity number is example, and n=128bit then is provided with rectangular area that 128 sites form as characteristic information input area 62 in the inputting interface 61 of wireless device, 62 long big 16 sites, zone, and wide is 8 sites.The initialization value of setting the site is 0, and non-initialization value is 1, at the drawing interface; Have the site of person's handwriting to be set to 1, the site of no person's handwriting is set to 0, and the site that " √ " that is drawn by the user covered is 1; Unlapped site is 0, forms one group by the 0 and 1 sequence string formed.Any drawing of present embodiment user in the rectangular area that these 128 sites are formed, can<=the sequence string of 128bit representes.
The input mode of the personal identity number that provides according to above each embodiment (embodiment one, two and three); Can also carry out the process of wireless pairing; Be paired into example with first wireless device to the second wireless device request blue teeth wireless; On first wireless device; The input mode input personal identity number of the personal identity number that the user provides according to above each embodiment (embodiment one, two and three), the personal identity number on second wireless device can preset, the input mode input of the personal identity number that also can be the user provide according to above each embodiment (embodiment one, two and three).
Step 1, generation initial key; First wireless device uses identical E22 algorithm with second wireless device; Calculate Kinit (initialization key) separately according to separately personal identity number, DB_ADDRB (bluetooth device address of second wireless device), one 128 random number (IN_RAND) etc. respectively; Be respectively KinitA and KinitB, in this process, first wireless device obtains the DB_ADDRB of second wireless device through the mode of inquiry; Random number (IN_RAND) is produced by first wireless device, and sends second wireless device to clear-text way;
Step 2, generation link authentication key, first wireless device produces 128 random number LK_RANDA, and second wireless device also produces 128 random number LK_RANDB; In first wireless device; KinitA and LK_RANDA carry out a bit logical difference exclusive disjunction, and the XOR result sends to second wireless device, and be same; In second wireless device; KinitB and LK_RANDB carry out a bit logical difference exclusive disjunction, and the result sends to main first wireless device, after this exchange; First wireless device and second wireless device use the E21 algorithm with encryptions such as LK_RANDA, DB_ADDRA (bluetooth device address of first wireless device), LK_RANDB, DB_ADDRB respectively, and the result is carried out XOR obtain Kab (authenticate key).
Step 3, two-way authentication can be adopted challenge-response (challenge-response) mode, and answer party produces one 128 random number AU_RANDA; And being sent to the requesting party with clear-text way, both sides use identical E1 algorithm that AU_RANDA, Kab of obtaining separately etc. are carried out cryptographic calculation, generate 32 number of responses SRESA and SRESB respectively; Second wireless device sends SRESB as a result to first wireless device; First wireless device is SRESA and SRESB relatively, if the personal identity number of user's input is identical on two equipment, then SRESA is consistent with SRESB; Then successful matching this time; If the personal identity number of user's input is different on two equipment, then cause SRESA different, then pairing failure this time with SRESB.
With embodiment one is example; Characteristic information like user's input on first wireless device is a triangle; The sequence string that forms is that personal identity number is abc, and the characteristic information of user's input is a rectangle on second wireless device, and the sequence string of formation is that personal identity number is def; Then cause SRESA and SRESB inconsistent, the pairing failure; If the characteristic information of user's input is similarly triangle, then successful matching on second wireless device.
Embodiment four
The input mode of the personal identity number that provides according to above each embodiment (embodiment one, two and three); Can also carry out the process of another kind of wireless pairing; Be paired into example with first wireless device to the second wireless device request blue teeth wireless, on first wireless device, the user imports first characteristic information according to the mode that above each embodiment (embodiment one, two and three) provides; Personal identity number on second wireless device can preset; The input mode input of the personal identity number that also can be the user provide according to above each embodiment (embodiment one, two and three), Fig. 7 is the flow chart of a kind of wireless matching method of another embodiment of the present invention, please refer to Fig. 7:
S71, first wireless device send pairing request to second wireless device;
Second characteristic information of S72, second wireless device response user input, second characteristic information comprise one or more in a plurality of preset icon of figure, literal, preset icon, order series connection;
S73, second wireless device convert second characteristic information that the user imports to the sequence string according to preset rules, and with the personal identity number of this sequence string as second wireless device;
S74, second wireless device send to first wireless device with personal identity number;
First characteristic information of S75, first wireless device response user input, first characteristic information comprise one or more in a plurality of preset icon of figure, literal, preset icon, order series connection;
Second characteristic information that S76, first wireless device are imported according to user on personal identity number reconstruct second wireless device of second wireless device transmission;
S77, first wireless device judge whether first characteristic information is consistent with second characteristic information, if consistent, get into step S78, if inconsistent, get into step S79;
S78, with the second wireless device successful matching.
S79, with the pairing failure of second wireless device.
With respect to last a kind of matching method, the matching method of present embodiment is easier.
Embodiment five
Present embodiment comprises a kind of wireless device, and Fig. 8 is the sketch map of a kind of wireless device of the embodiment of the invention, please refer to Fig. 8:
A kind of wireless device comprises input module 81 and modular converter 82, and wherein, input module 81 is used to respond the characteristic information of user's input, and this characteristic information comprises one or more in a plurality of preset icon of figure, literal, preset icon, order series connection; Modular converter 82 is used for converting the characteristic information of user input to the sequence string according to preset rules, and with this sequence string as personal identity number.
Further, can also comprise database in the wireless device, preserve the corresponding relation of each characteristic information and corresponding sequence string in this database; Modular converter 82 is used 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 used for setting unique numbering to each preset icon; According to the series sequence of these a plurality of preset icon of connecting in proper order, the numbering of these a plurality of preset icon is connected, form this sequence string, as personal identity number.
Further, input module 81 is used for n site being set as the characteristic information input area at the inputting interface of wireless device, responds the characteristic information of user's input in this zone; Modular converter 82 is used for being set to non-initialization value by the site that characteristic information covered of user's input, is not set to initialization value by the site that characteristic information covered of user's input; Connecting, the value in each site forms this sequence string in this zone, as personal identity number.
Present embodiment can also comprise a kind of wireless pair system, comprises first wireless device and second wireless device, and wherein, second wireless device is used for the personal identity number that the user imports according to the method for the invention is sent to first wireless device; First wireless device is used for sending pairing request to second wireless device; First characteristic information of response user input; According to second characteristic information of user's input on personal identity number reconstruct second wireless device of second wireless device transmission, and judge whether first characteristic information is consistent with second characteristic information; If consistent, then with the second wireless device successful matching, otherwise, with second wireless device pairing failure.
In existing wireless device; Touch-screen applications more and more widely; And,, enrich the input and the matching method of personal identity number if can make full use of the advantage of touch-screen corresponding to the also very variation of input mode of touch-screen; Increase the interest of wireless pairing, with the user experience that improves touch screen terminal greatly.
Above content is to combine concrete execution mode to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.