CN105488439B - The input method and device of enhanced trading password - Google Patents

The input method and device of enhanced trading password Download PDF

Info

Publication number
CN105488439B
CN105488439B CN201510853078.2A CN201510853078A CN105488439B CN 105488439 B CN105488439 B CN 105488439B CN 201510853078 A CN201510853078 A CN 201510853078A CN 105488439 B CN105488439 B CN 105488439B
Authority
CN
China
Prior art keywords
camera
trading password
input
shielded
password
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.)
Active
Application number
CN201510853078.2A
Other languages
Chinese (zh)
Other versions
CN105488439A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510853078.2A priority Critical patent/CN105488439B/en
Publication of CN105488439A publication Critical patent/CN105488439A/en
Application granted granted Critical
Publication of CN105488439B publication Critical patent/CN105488439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of input method and device of enhanced trading password, and the signal that camera whether is covered when can user be inputted trading password is converted into specific character and is superimposed upon on trading password, so as to enhance trading password;And the process that trading password is inputted by such mode is not easy to be peeped by people, and then enhance the safety of transaction.This method includes:Whether camera is covered when inputting trading password according to user, generate corresponding signal;Convert the signals to character;By the character adding on the trading password of input;It repeats the above steps, to input enhanced trading password.

Description

The input method and device of enhanced trading password
Technical field
The present invention relates to field of computer technology more particularly to a kind of input methods and device of enhanced trading password.
Background technology
Trading password is that bank handles remittance of externally transferring accounts, the password that payment is paid the bill, consumer sale is used when business.
User inputs trading password on the mobile device in the prior art, is substantially with number, letter and special letter Based on.Based on convenience consider, trading password generally will not too long (usually based on 6 bit lengths), this is just objectively being reduced The safety of transaction;In addition, user directly inputs number or letter from mobile device screen, it is easier to be pried through by other people, Also the risk of transaction is further improved.
Invention content
In view of this, the present invention provides a kind of input method and device of enhanced trading password, can input user The signal that camera whether is covered during trading password is converted into specific character and is superimposed upon on trading password, close so as to enhance transaction Code;And the process that trading password is inputted by such mode is not easy to be peeped by people, and then enhance the safety of transaction.
To achieve the above object, according to an aspect of the invention, there is provided a kind of input side of enhanced trading password Method.
The input method of the enhanced trading password of the present invention includes:Whether cover and take the photograph when inputting trading password according to user As head, corresponding signal is generated;Convert the signals to character;By the character adding on the trading password of input;Weight Multiple above-mentioned steps, to input enhanced trading password.
Optionally, judge camera it is whether shielded including:If user is inputted in image acquired during trading password The ratio that black pixel point accounts for whole pixels is more than or equal to threshold value, then judges that the camera is shielded;Otherwise described in judging Camera is not shielded.
Optionally, according to the whether shielded judgement of the camera, by the signal be divided into the camera it is shielded, The camera is not shielded.
Optionally, the character adding is included on the trading password of input:By the trading password of input and the word Symbol is combined, and obtains two trading passwords.
Optionally, the input method of enhanced trading password of the invention further includes:In the movement for not having camera function When inputting trading password on device or the selection according to user, screening to the camera is replaced at user option button It covers, so as to generate corresponding signal.
To achieve the above object, according to another aspect of the present invention, a kind of input of enhanced trading password is provided Device.
The input unit of the enhanced trading password of the present invention includes:Signal generation module is handed over for being inputted according to user Whether camera is covered during easy password, generate corresponding signal;Modular converter, for converting the signals to character;Superposition Module, for by the character adding input trading password, to input enhanced trading password.
Optionally, the signal generation module is additionally operable to:If user inputs black in image acquired during trading password The ratio that colour vegetarian refreshments accounts for whole pixels is more than or equal to threshold value, then judges that the camera is shielded;Otherwise it is taken the photograph described in judging As head is not shielded.
Optionally, the signal generation module is additionally operable to:According to the whether shielded judgement of the camera, by the letter Number it is divided into that the camera is shielded, the camera is not shielded.
Optionally, the laminating module is additionally operable to:The trading password of input and the character are combined, obtain two Trading password.
Optionally, the signal generation module is additionally operable to:Input transaction is close in the mobile device for not having camera function During code or the selection according to user, masking to the camera is replaced at user option button, it is corresponding so as to generate Signal.
According to the technique and scheme of the present invention, by the way that camera will be covered corresponding signal is converted into specific character superposition whether On the trading password of input, so as to achieve the purpose that enhance trading password, and the process for inputting password is not easy to be peeped, and makes The safety that must be merchandised is further enhanced;Black pixel point accounts in the image obtained by using camera work analysis Than whether masking so as to accurately distinguish;By using a variety of overlaying schemes by character adding on trading password, so as to The enhancement method of a variety of enhanced trading passwords can be used so that trading password is not easy to be identified;By not having photography In the mobile device of function input trading password when or the selection according to user, with selectable button replace different screenings Cover action, so as to support camera function mobile device lose or cannot be in use, not supporting camera function at other Mobile device on can input above-mentioned enhanced trading password.
Description of the drawings
Attached drawing does not form inappropriate limitation of the present invention for more fully understanding the present invention.Wherein:
Fig. 1 is the schematic diagram of the key step of the input method of enhanced trading password according to embodiments of the present invention;
Fig. 2 is the schematic diagram of the main flow of the input method of enhanced trading password according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the main modular of the input unit of enhanced trading password according to embodiments of the present invention.
Specific embodiment
It explains below in conjunction with attached drawing to the exemplary embodiment of the present invention, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together For clarity and conciseness, the description to known function and structure is omitted in sample in following description.
Fig. 1 is the schematic diagram of the key step of the input method of enhanced trading password according to embodiments of the present invention.
As shown in Figure 1, the main of the input method of the enhanced trading password of the embodiment of the present invention includes the following steps:
Step S11:Whether camera is covered when inputting trading password according to user, generate corresponding signal.This step master Will be in order to whether cover camera when realizing that identification user inputs trading password, and believe according to corresponding pressure is generated whether masking Number.
When user uses the input method of enhanced trading password of the embodiment of the present invention for the first time, initialization is needed to use Cover the threshold value of camera in family.A threshold value is set, black in acquired image when inputting trading password by comparing user Pixel accounts for the ratio of whole pixels and the size of threshold value, judges whether to be blinded by camera.
The setting of threshold value can be as described below:In a specific embodiment of the present invention, can be exploitation one transaction it is close It is realized in code enhancing application system (hereinafter referred to as " application system "), which includes the application of installation on the mobile device Program and server background two parts.Specific threshold value setting can be as described below:Finger is moved to by application system prompting user Camera is covered at rear camera, the image obtained at this time is carried out image analysis, judges black picture element in image by camera Point accounts for the accounting of whole pixels, and this accounting is known as N.N is the threshold of black pixel point when user covers camera action Value.
When user's selection is using enhanced trading password application system input trading password, trading password input frame with Traditional form remains unchanged, and application system prompts user to can choose whether to cover while one trading password of every input Camera.When user makes masking camera action, the camera of mobile device will be by analyzing black picture in image at this time Vegetarian refreshments accounts for the ratio of whole pixels, is set as M, the size of the threshold value N of camera is covered by comparing M and user, to judge to use Whether family is blinded by camera.When user is blinded by camera, i.e. M>During=N, the shielded signal of camera is generated, and will production This raw signal is transmitted to application system;Otherwise work as M<During N, the not shielded signal of camera is generated, and this signal will be generated and be transmitted to Application system.According to above-mentioned judgement, application system can get above-mentioned two classes signal altogether.
After this step generates signal, from step S12 start to process.
Step S12:Convert the signals to character.Application system converts signal according to the two class signals got For specific character, such as the shielded corresponding character 0 of camera, the not shielded corresponding character 1 of camera;Either camera quilt The corresponding character A, the not shielded corresponding character B of camera of masking.Such correspondence can be other combinations, as long as doing every time Specific character is all corresponded to when going out corresponding masking camera action.
Step S13:By the character adding on the trading password of input.After being converted into specific character, it is traded Specific character, i.e., be superimposed upon on the trading password of input by the enhancing of password.By the character adding input trading password On stacked system can include:The trading password of input and the character are combined, obtain two trading passwords.
For example, in one embodiment, when user inputs a trading password by trading password input frame, application Automatic superposition user is covered signal whether camera by system, can obtain two passwords altogether, and so on.When user is led to After crossing trading password frame input several (being traditionally arranged to be 6) positions password, corresponding above-mentioned signal is superimposed, application system obtains altogether 12 passwords.If user is by password box input 1, and covers camera simultaneously, application system obtains password 10;User passes through Password box input 2, and do not cover camera simultaneously, application system obtains password 21.After either user inputs several passwords, The corresponding character adding of signal whether the masking camera that several trading passwords will be inputted is behind several trading passwords.
By above-mentioned a variety of stacked systems, it is close that trading password is just generated to enhanced transaction by way of enhancing and inputting Code.
Step S14:It repeats the above steps, to input enhanced trading password.
If user's (illumination is less than certain brightness) in darker environment uses the mobile equipment for supporting camera work It carries out the input of enhanced trading password, under this situation, can be opened when image is obtained built in camera or outer It puts flash lamp and carries out light compensation.Flash lamp compensation can adaptively be opened according to the external environment brightness of sensor sensing.
Assuming that under exceptional circumstances, user is not having photography work(after application system enhancing trading password is enabled (it is close that transaction is e.g. inputted in the state of dark when trading password is inputted in the mobile device of energy or according to the selection of user During code, if the compensation of no light or light compensation are unable to reach compensation effect, whether masking camera is analyzed and obtained to camera at this time Function cannot use), replace whether covering the action of camera at user option button, so as to generate corresponding letter Number.It is specifically described as follows:It cannot be analysed whether using the mobile device for not supporting camera function or normally masking camera shooting In the case of head, when inputting trading password, it (is, for example, the figure that can be prompted that application system, which can provide selectable button, Button control) it prompts the user to input whether to cover the action of camera.After bits per inch word being inputted such as user, application system prompting 2 A button is that camera is shielded, camera is not shielded respectively, is acted with this to correspond to corresponding masking.Such design It is the supplementary form above by the action of masking camera during input trading password, in order to prevent from supporting camera function Mobile device failure or lose after can continue to input the above-mentioned type enhanced trading password.
When the input method of the enhanced trading password with the embodiment of the present invention carries out practical trading password verification, Commonly used system can first set the enhanced trading password of initialization, and then user is merchandised again with centainly covering action input The enhanced trading password inputted during password is compared with initializing enhanced trading password, to judge enhanced trading password Input is corrected errors, and trading password corrects errors during so as to verify that user is traded.Detailed process can be as described below.
Setting initializes enhanced trading password first.Application system in the present invention is enabled inputs the first of trading password Stage beginning using the method described in step S11, step S12, step S 13, is traded the input of password, to generate a string (foregoing 12) trading password character string.For the sake of stability, it will usually it is required that user is more to trading password progress Secondary input, when repeatedly the trading password of (such as 2 times or 2 times or more) inputs and masking camera act consistent, by generation Trading password character string is preserved, as the enhanced trading password of initialization.
In addition, after initializing enhanced trading password generation, the enhanced trading password of the initialization can generally be added It is close, and store in the database.Usually encryption using Message-Digest Algorithm 5 (Message-Digest Algorithm 5, i.e., MD5 it) carries out.Such as trading password input by user is respectively quilt for the whether shielded action of 123456,6 corresponding cameras It is masking, shielded, shielded, not shielded, not shielded, not shielded, then the password that application system actually gets is 102030415161, then this password string is encrypted and is saved in database.
When user needs to carry out relationship trading, whether application system prompting user needs to input with covering camera and move The trading password of work.While user inputs trading password by input frame, application system obtains whether covering for user Corresponding signal is acted, and corresponding action is converted into specific character, such as can be 0,1 two kind of character, when entire input After action completion, application system will obtain the enhanced trading password of 12 bit lengths, and application system will pass through the encryption of MD5 Enhanced trading password character string is compared with the enhanced trading password character string of the initialization in database afterwards, if identical, Then trading password is verified.User has (general be up to 5 times) verification machine meeting several times under normal conditions, beyond verification number Account is frozen.The main flow that the above-mentioned input method according to the enhanced trading password of the present invention is traded password authentification can Refering to Fig. 2.
The input method of enhanced trading password according to the present invention corresponds to whether can be seen that by that will cover camera Signal be converted into specific character and be superimposed upon on the trading password of input, so as to achieve the purpose that enhance trading password, and defeated The process for entering password is not easy to be peeped so that the safety of transaction is further enhanced;It is obtained by using camera work analysis The accounting of black pixel point in the image taken, whether masking so as to accurately distinguish;It will by using a variety of overlaying schemes Character adding is on trading password, so as to the enhancement method of a variety of enhanced trading passwords so that trading password is not It is easily identified;By do not have input trading password in the mobile device of camera function when or selection according to user, with Selectable button replaces different maskings to act, so as to lose or cannot use in the mobile device for supporting camera function When, it does not support that above-mentioned enhanced trading password can be inputted in the mobile device of camera function at other.
Fig. 3 is the schematic diagram of the main modular of the input unit of enhanced trading password according to embodiments of the present invention.
As shown in figure 3, the enhanced trading password input unit 30 of the embodiment of the present invention mainly includes following module:Signal Generation module 301, modular converter 302 and laminating module 303.
Signal generation module 301 is used to whether cover camera when inputting trading password according to user, generates corresponding letter Number;Modular converter 302 is used to convert the signals to character;Laminating module 303, for by the character adding in input On trading password, to input enhanced trading password.
Signal generation module 301 is additionally operable to:If user inputs black pixel point in image acquired during trading password The ratio for accounting for whole pixels is more than or equal to threshold value, then judges that the camera is shielded;Otherwise judge the camera not by Masking.
Signal generation module 301 is additionally operable to:According to the whether shielded judgement of the camera, the signal is divided into institute State that camera is shielded, the camera is not shielded.
Laminating module 303 is additionally operable to:The trading password of input and the character are combined, it is close to obtain two transaction Code.
Signal generation module 301 is additionally operable to:Do not have in the mobile device of camera function input trading password when or root According to the selection of user, replace whether covering the action of camera at user option button, so as to generate corresponding signal.
From the above, it can be seen that corresponding signal is converted into specific character and is superimposed upon whether by that will cover camera On the trading password of input, so as to achieve the purpose that enhance trading password, and the process for inputting password is not easy to be peeped so that The safety of transaction is further enhanced;The accounting of black pixel point in the image obtained by using camera work analysis, Whether so as to accurately distinguish masking;By using a variety of overlaying schemes by character adding on trading password, so as to Enough use the enhancement method of a variety of enhanced trading passwords so that trading password is not easy to be identified;By not having photography work( Can mobile device on input trading password when or the selection according to user, with selectable button replace different maskings Action, so as to support camera function mobile device lose or cannot be in use, not supporting camera function at other Above-mentioned enhanced trading password can be inputted in mobile device.
Above-mentioned specific embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (10)

1. a kind of input method of enhanced trading password, which is characterized in that including:
Whether camera is covered when inputting each trading password according to user, generate corresponding signal;
Convert the signals to character;
By the character adding on the trading password of input;
It steps be repeated alternatively until that user inputs trading password and terminates, to obtain enhanced trading password.
2. according to the method described in claim 1, it is characterized in that, judge camera it is whether shielded including:
Black pixel point accounts for the ratio of whole pixels and is more than or equal in acquired image when if user inputs trading password Threshold value then judges that the camera is shielded;Otherwise judge that the camera is not shielded.
3. according to the method described in claim 2, it is characterized in that, according to the whether shielded judgement of the camera, by institute It states signal and is divided into that the camera is shielded, the camera is not shielded.
4. according to the method described in claim 1, it is characterized in that, the character adding is wrapped on the trading password of input It includes:
The trading password of input and the character are combined, obtain two trading passwords.
5. according to claim 1-4 any one of them methods, which is characterized in that the method further includes:
Do not have input trading password in the mobile device of camera function when or selection according to user, may be selected with user Button replace masking to the camera, so as to generate corresponding signal.
6. a kind of input unit of enhanced trading password, which is characterized in that including:
Whether signal generation module, for inputting each trading password according to user when cover camera, generate corresponding letter Number;
Modular converter, for converting the signals to character;
Laminating module, for by the character adding input trading password, to input enhanced trading password.
7. device according to claim 6, which is characterized in that the signal generation module is additionally operable to:
Black pixel point accounts for the ratio of whole pixels and is more than or equal in acquired image when if user inputs trading password Threshold value then judges that the camera is shielded;Otherwise judge that the camera is not shielded.
8. device according to claim 7, which is characterized in that the signal generation module is additionally operable to:According to the camera shooting Head whether shielded judgement, the signal is divided into the camera is shielded, the camera is not shielded.
9. device according to claim 6, which is characterized in that the laminating module is additionally operable to:By the trading password of input It is combined with the character, obtains two trading passwords.
10. according to claim 6-9 any one of them devices, which is characterized in that the signal generation module is additionally operable to:
Do not have input trading password in the mobile device of camera function when or selection according to user, may be selected with user Button replace masking to the camera, so as to generate corresponding signal.
CN201510853078.2A 2015-11-27 2015-11-27 The input method and device of enhanced trading password Active CN105488439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510853078.2A CN105488439B (en) 2015-11-27 2015-11-27 The input method and device of enhanced trading password

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510853078.2A CN105488439B (en) 2015-11-27 2015-11-27 The input method and device of enhanced trading password

Publications (2)

Publication Number Publication Date
CN105488439A CN105488439A (en) 2016-04-13
CN105488439B true CN105488439B (en) 2018-07-06

Family

ID=55675411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510853078.2A Active CN105488439B (en) 2015-11-27 2015-11-27 The input method and device of enhanced trading password

Country Status (1)

Country Link
CN (1) CN105488439B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532675A (en) * 2003-03-21 2004-09-29 李布尔 Cipher keyboard
CN103455913A (en) * 2013-08-26 2013-12-18 天地融科技股份有限公司 NFC payment method, device, system and mobile terminal
CN104537300A (en) * 2014-12-25 2015-04-22 绵阳艾佳科技有限公司 Safe password setting and verifying mode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7793108B2 (en) * 2007-02-27 2010-09-07 International Business Machines Corporation Method of creating password schemes for devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532675A (en) * 2003-03-21 2004-09-29 李布尔 Cipher keyboard
CN103455913A (en) * 2013-08-26 2013-12-18 天地融科技股份有限公司 NFC payment method, device, system and mobile terminal
CN104537300A (en) * 2014-12-25 2015-04-22 绵阳艾佳科技有限公司 Safe password setting and verifying mode

Also Published As

Publication number Publication date
CN105488439A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
EP3526781B1 (en) Tamper detection for identification documents
US10614635B1 (en) Augmented reality system with color-based fiducial marker
US20070143628A1 (en) User authentication method, system provided with user authentication function, and, apparatus and computer software provided with user authentication function
EP3545462A1 (en) Analysis of reflections of projected light in varying colors, brightness, patterns, and sequences for liveness detection in biometric systems
CN108664879A (en) Face authentication method and apparatus
CN102377784B (en) Dynamic password identification method and system
KR101444063B1 (en) Method and apparatus for fingerprint recognition by using multi exposure
CN110245482A (en) Authentication method and system
CN107438854A (en) The system and method that the image captured using mobile device performs the user authentication based on fingerprint
CA2735600A1 (en) System and method for detection of malware
US8601552B1 (en) Personal identification pairs
CN106710032B (en) Entrance guard opening method and device
CN105900103B (en) It touches terminating machine and touches the method for generating cipher code of terminating machine
CN110728290A (en) Method and device for detecting security of data model
CN106228133A (en) User authentication method and device
US9672581B2 (en) Multimodal biometric profiling
CN106529961A (en) Bank fingerprint payment processing method
CN105488439B (en) The input method and device of enhanced trading password
CN109891426A (en) Identifiable digital code and associated system and method
CN104680376A (en) Transaction information verification method and device
Khetani et al. Securing web accounts using graphical password authentication through watermarking
CN1987926A (en) Method and system for realizing trade parameter control
CN102238171B (en) Intelligent key device, and system and method for improving security of online transaction and authentication
CN106710033A (en) Door control opening method and device
US20230362012A1 (en) Systems and methods for token authentication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant