Summary of the invention
The technical matters that the present invention mainly solves provides a kind of cell phone password input method and uses the mobile phone of this method, to address the above problem.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of cell phone password input method is provided, comprises: a. starts the near-field communication module according to the password input request that application module produces; B. utilize the password of near-field communication module reading tag card stored from label card; C. password is inputed to application module.
Wherein, in step a, further produce the prompting interface, to point out the user by the corresponding password numbering of load module input according to password input request.
Wherein, in step b, the near-field communication module reads multiple cipher from label card, in step c, the password corresponding with the password numbering is inputed to application module.
Wherein, in step b, the near-field communication module reads from label card and the corresponding password of password numbering.
Wherein, application module comprises any one in file encryption module, mobile phone opening module, web page browsing module, Web bank's module, the public transport payment module.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of mobile phone is provided, comprise application module, start module, near-field communication module and password load module, wherein start module and start the near-field communication module according to the password input request that application module produces, the password of near-field communication module reading tag card stored from label card, the password load module inputs to application module with password.
Wherein, mobile phone further comprises load module and output module, and output module produces the prompting interface according to password input request, to point out the user by the corresponding password numbering of load module input.
Wherein, the near-field communication module reads multiple cipher from label card, and the password load module inputs to application module with the password corresponding with the password numbering.
Wherein, the near-field communication module reads from label card and the corresponding password of password numbering.
Wherein, application module comprises any one in file encryption module, mobile phone opening module, web page browsing module, Web bank's module, the public transport payment module.
The invention has the beneficial effects as follows: be different from prior art, the password of cell phone password input method provided by the present invention and the label card stored using the mobile phone of this method to utilize the near-field communication module to read to separate with mobile phone, can guarantee the password input time be not stolen password software records or be seen, thereby prevent that effectively password from revealing, guaranteed the security of the password that on mobile phone, uses.
Embodiment
At first see also Fig. 1, Fig. 1 is the electrical block diagram according to the mobile phone of first embodiment of the invention.As shown in Figure 1, the mobile phone 100 according to the embodiment of the invention comprises application module 101, starts module 102, near-field communication module 103 and password load module 104.
Near-field communication module 103 can be utilized near-field communication (NFC, Near FieldCommunication, near-field communication) technology is communicated by letter with label card 110, wherein, the near-field communication technology is a kind of in-plant high frequency wireless communication technology of rising recently, available range is about 10 centimetres, can realize electronic identity identification or data transmission, such as functions such as credit card, gate inhibition's cards.
The user earlier with password storage in label card 110, can read password from label card 110 according to the mobile phone 100 of first embodiment of the invention.
Can start near-field communication module 103 according to the password input request that application module 101 produces and start module 102, the password of near-field communication module 103 reading tag card 110 stored from label card 110, password load module 104 inputs to application module 101 with password.
It should be noted that, in all of the embodiments of the present invention, application module can be and the corresponding various application modules of the various multimedia application of mobile phone, and it can comprise any one in file encryption module, mobile phone opening module, web page browsing module, Web bank's module, the public transport payment module.
See also Fig. 2, Fig. 2 is the process flow diagram according to the cell phone password input method of first embodiment of the invention.As shown in Figure 2, the cell phone password input method according to first embodiment of the invention comprises the steps:
Step 201, the password input request that produces according to application module starts the near-field communication module.
Step 202 is utilized the password of near-field communication module reading tag card stored from label card.
Step 203 inputs to application module with password.
In the present embodiment, in advance with application module 101 needed password storage in label card 110, when application module 101 needs the input password, start module 102 and start near-field communication module 103, near-field communication module 103 reads password from label card 110, password load module 104 obtains password from near-field communication module 103, and sends it to application module 101, thereby makes application module 101 can obtain required password.
Because label card 110 separates with mobile phone 100, therefore, when the user imports password to application module 101 at needs, do not input password by hand, only need label card 110 is got final product near mobile phone 100, can guarantee the password input time be not stolen password software records or be seen, thereby prevent that effectively password from revealing, guaranteed the security of the password that on mobile phone 100, uses.
See also Fig. 3, Fig. 3 is the electrical block diagram according to the mobile phone of second embodiment of the invention.As shown in Figure 3, mobile phone in the present embodiment further comprises load module 306, output module 307, when the password input request that application module 301 produces, start module 302 and obtain password input request to start near-field communication module 303, the multiple cipher of near-field communication module 303 reading tag card 310 stored from label card 310, and it is stored in the internal memory 307.
And, output module 305 can be according to starting the password input request generation prompting interface that module 302 is obtained, number by the corresponding password of load module 306 inputs with the prompting user, after the user imports the password numbering of correspondence to load module 306, password load module 304 is searched in the multiple cipher that internal memory 307 is stored and the corresponding password of password numbering, and it is inputed to application module 301.
For example, when application module 301 is the file encryption module, output module 305 can produce the prompting interface according to the password input request that the file encryption module is sent, in load module 306, import the pairing numbering of document clear crytpographic key with the prompting user, wherein, this numbering can for example be the numeral (or other are made up by user-defined letter or number) of arranging according to the order of sequence, as when the user inputs to label card with the document clear crytpographic key as the 3rd group of password, the pairing numbering of document clear crytpographic key should be " 3 ".Password load module 304 finds the 3rd group of corresponding password according to password numbering " 3 " in internal memory 307, and it is inputed to the file encryption module, thereby makes the file encryption module can obtain the 3rd group of password, carries out the document deciphering to utilize the 3rd group of password.
And in all of the embodiments of the present invention, output module can be preferably mobile phone display screen, and load module can be preferably cell phone keyboard or handset touch panel.
Because the multiple cipher that near-field communication module 303 reads from label card 310 is stored in the internal memory 307 of mobile phone 300, therefore, when coding, can utilize array of pointers (C language) to preserve each group password address in internal memory 307, password load module 304 can be searched corresponding memory address by the corresponding password numbering of load module 306 inputs according to the user in array of pointers, thereby in corresponding memory address, find corresponding password, input to application module 301 with password with correspondence.
Please further referring to Fig. 4, wherein Fig. 4 is the process flow diagram according to the cell phone password input method of second embodiment of the invention.As shown in Figure 4, the cell phone password input method according to second embodiment of the invention may further comprise the steps:
Step 401, application module produce password input request.
Step 402 starts the near-field communication module, utilizes the near-field communication module to read multiple cipher from label card.
Step 403 produces the prompting interface according to password input request, to point out the user by the corresponding password numbering of load module input.
Step 404 inputs to application module with the password corresponding with the password numbering.
Wherein, above step 402 and step 403 can be carried out synchronously.
It should be noted that, in the present embodiment, above-described application module 301, startup module 302, password load module 304 can utilize software module, the chip (as Single Chip Microcomputer (SCM) system) that be embedded with program code or the dedicated hardware logic circuits of framework on baseband chip to realize, the present invention does not do concrete qualification to its implementation, therefore, internal memory 307 can be used as the part (being that password load module 304 comprises internal memory 307) of password load module 304, and promptly the password that read of near-field communication module 303 can be directly inputted into password load module 304.
See also Fig. 5, Fig. 5 is the electrical block diagram according to the mobile phone of third embodiment of the invention.As shown in Figure 5, be in third embodiment of the invention and second embodiment difference, load module 506 can directly be numbered the password of user's input and is sent to near-field communication module 503, and near-field communication module 503 can read from label card 510 and the corresponding password of password numbering, and this password is sent to password load module 504, password load module 504 further is sent to application module 501 with this password.
Please further referring to Fig. 6, Fig. 6 is the process flow diagram according to the cell phone password input method of third embodiment of the invention.As shown in Figure 6, the cell phone password input method according to third embodiment of the invention may further comprise the steps:
Step 601, application module produce password input request.
Step 602 produces the prompting interface according to password input request, to point out the user by the corresponding password numbering of load module input.
Step 603 starts the near-field communication module, utilizes the near-field communication module to read from label card and the corresponding password of password numbering.
Step 604 inputs to described application module with the password corresponding with the password numbering.
In the present embodiment, the near-field communication module need not all passwords in the label card are all read in, but read and the corresponding password of password numbering according to password numbering selectivity from label card, therefore can avoid other password storage in mobile phone, can not reveal because of problems such as hacker attacks cause password.
Described identical with a last embodiment, in the present embodiment, above-described application module 401, startup module 402, password load module 404 can utilize software module, the chip (as Single Chip Microcomputer (SCM) system) that be embedded with program code or the dedicated hardware logic circuits of framework on baseband chip to realize that the present invention does not do concrete qualification to its implementation.
And, in above embodiment, when password need change, the user can upgrade the password of label card stored at any time, make mobile phone can obtain the password of renewal, therefore, disclosed cell phone password input method and use the mobile phone of this method to have more cryptography management function, effectively administrator password.
Please further referring to Fig. 7, wherein Fig. 7 has illustrated the communication process of near-field communication module and label card.As shown in Figure 7, in an embodiment of the present invention, the communication mode of near-field communication module and label card comprises the steps:
Step 701, the near-field communication module generates an electromagnetic field.
Step 702, label card is near mobile phone, and induction field produces little electric current.
Step 703, near-field communication module are sensed little electric current that label card produces, with label card pairing, the password in the reading tag card.
Step 704, the near-field communication module passes through 1 with password
2C (Inter-Integrated Circuit, built-in integrated circuit bus) interface is directed in password load module or the internal memory.
Therefore, the invention provides a kind of cell phone password input method and use the mobile phone of this method, the password of the label card stored of utilizing the near-field communication module to read to separate with mobile phone, can guarantee the password input time be not stolen password software records or be seen, thereby prevent that effectively password from revealing, guaranteed the security of the password that on mobile phone, uses.
Below only be embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.