CN107609868A - A kind of cipher processing method, terminal and computer-readable medium - Google Patents

A kind of cipher processing method, terminal and computer-readable medium Download PDF

Info

Publication number
CN107609868A
CN107609868A CN201710762585.4A CN201710762585A CN107609868A CN 107609868 A CN107609868 A CN 107609868A CN 201710762585 A CN201710762585 A CN 201710762585A CN 107609868 A CN107609868 A CN 107609868A
Authority
CN
China
Prior art keywords
password
cipher
payment
input event
password input
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.)
Withdrawn
Application number
CN201710762585.4A
Other languages
Chinese (zh)
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 Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710762585.4A priority Critical patent/CN107609868A/en
Publication of CN107609868A publication Critical patent/CN107609868A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of cipher processing method, terminal and computer-readable medium, wherein method includes:When detecting in the payment upper Password Input event of application, random cipher is generated according to the Password Input event;Show the random cipher;If detecting, the password inputted for the Password Input event is the random cipher, then according to the payment cipher of the payment application prestored, payment processes corresponding to performing the Password Input event, the memory burden of user can be mitigated, reduce the risk that payment cipher is peeped.

Description

A kind of cipher processing method, terminal and computer-readable medium
Technical field
The present invention relates to electronic technology field, more particularly to a kind of cipher processing method, terminal and computer-readable medium.
Background technology
With the continuous development of electronic technology, terminal (such as smart mobile phone, tablet personal computer, wearable device etc.) is also increasingly As the important tool in people's daily life.
With the popularization that all kinds of payments are applied, all kinds of payment applications that people in daily life usually can be in using terminal Paid so that the payment frequency of terminal improves constantly.Wherein, paying application can usually be required to set payment cipher, and With increasing for application is paid, user needs to remember the payment cipher of all kinds of payments application, and defeated in public When entering payment cipher, user needs highly vigilant of surrounding environment, in case the leakage of payment cipher causes wealth to lose.
However, the memory to the payment cipher of all kinds of payments application obviously can aggravate memory burden, and the strick precaution ten of user Divide passive and inconvenience, careless and inadvertent possibility again be present, when payment cipher is once peeped in public, it is unnecessary to cause Wealth loss.
The content of the invention
The embodiment of the present invention provides a kind of cipher processing method, terminal and computer-readable medium, can mitigate user's Memory burden, reduce the risk that payment cipher is peeped.
In a first aspect, the embodiments of the invention provide a kind of cipher processing method, this method includes:
When detecting in the payment upper Password Input event of application, generated according to the Password Input event with secret Code;
Show the random cipher;
If detecting, the password inputted for the Password Input event is the random cipher, according to what is prestored The payment cipher for paying application, performs payment processes corresponding to the Password Input event.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes being used to perform above-mentioned first aspect The unit of method.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
The embodiment of the present invention is given birth to when detecting in the payment upper Password Input event of application according to the Password Input event Into random cipher, if the password of input is the random cipher, it is possible to close according to the payment that the payment prestored is applied Code performs payment processes, can mitigate the memory burden of user by way of random cipher, and the random cipher is random The password of generation, not real payment cipher, also reduce the risk that payment cipher is peeped.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of cipher processing method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow diagram of another cipher processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another terminal provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It should be noted that the executive agent of the embodiment of the present invention can be various types of terminals, such as can be intelligence Can mobile phone, tablet personal computer, wearable device, computer, personal digital assistant (English:Personal Digital Assistant, abbreviation:PDA), mobile internet device (English:Mobile Internet Device, abbreviation:) etc. MID can Carry out the terminal of payment processes.
Fig. 1 is referred to, is that the embodiment of the present invention provides a kind of schematic flow diagram of cipher processing method, as shown in Figure 1 Cipher processing method may include:
S101, when detect pay application upper Password Input event when, according to the Password Input event generation with Secret code.
It should be noted that the payment application can refer to can be used for payment transaction on line (such as net purchase, barcode scanning branch Pay, transfer accounts on the net, on the net remittance etc.) application.
It should also be noted that, the Password Input event can refer to the payment apply on show for user input it is close The event of the input frame of code, for prompting user to need input password just to complete to pay.Or the Password Input event also may be used To be the event for being used for user and inputting password of other forms, the embodiment of the present invention is not intended to be limited in any to this.
In some feasible embodiments, terminal can detect in the payment using upper defeated with the presence or absence of the password in real time Incoming event, or.The terminal can detect payment application according to default time cycle (such as 1 second, 2 seconds, 5 seconds etc.) It is no the Password Input event to be present.If the terminal detects that upper Password Input event is applied in the payment, can be somebody's turn to do with basis Password Input event generates random cipher.
Optionally, this generates random cipher according to the Password Input event, can include:Obtain default random cipher Fixation digit;If the Password Input event needs the fixation digit of the password digit and default random cipher inputted Matching, then generate the password digit random cipher consistent with the fixation digit of the default random cipher.
For example, the terminal can pre-set the fixation digit (being, for example, 6 digits) of the random cipher, if this is close The Password Input frame that shows also be 6 digits in code incoming event, then the Password Input event need the password digit inputted and The fixation digit matching of the default random cipher, the terminal can have the random cipher of 6 digits with generation one.
Again for example, the terminal can pre-set the fixation digit (being, for example, 6 digits) of the random cipher, if should The Password Input frame shown in Password Input event is not limited the digit of Password Input, and (i.e. the Password Input frame can be with Input the password of any digit), then the terminal is it is also assumed that the Password Input event needs the password digit inputted and should The fixation digit matching of default random cipher, can be with the random cipher of one 6 digits of generation.
Optionally, if the Password Input event needs the fixation of the password digit and default random cipher inputted Digit mismatches, then generates random cipher according to the password digit for needing to input;The password digit of the random cipher with Need the password digit that inputs consistent.
In some feasible embodiments, if the Password Input frame shown in the Password Input event limits input The digit of password, and the digit is not the fixation digit of the random cipher, then the Password Input event needs the password inputted Digit and the fixation digit of the default random cipher mismatch.
For example, if the Password Input frame that the Password Input event is shown is 4 input frames, default random cipher Fixation digit be 6, then the terminal may determine that the Password Input event needs the password digit that inputs default with this The fixation digit of random cipher is mismatched, and the password digit of the random cipher is arranged to the digit of the Password Input frame, i.e., and 4 Digit.
It should also be noted that, the random cipher can be the combination of Arbitrary Digit combinatorics on words or any letter, Any letter and number combinatorics on words, the combination of other acceptable any characters are can also be, the embodiment of the present invention is not appointed to this What is limited.
S102, the display random cipher.
In some feasible embodiments, the random cipher can be carried out in a manner of message in the informing of terminal Push, in order to show in the terminal.
In some feasible embodiments, the random cipher can also be sent in the form of short message corresponding to the terminal Account (such as device id of the phone number of the terminal, the terminal etc.), when the terminal receives the random cipher, Ke Yixian Show in the terminal.
If S103, detect that the password inputted for the Password Input event is the random cipher, according in advance The payment cipher of the payment application of storage, performs payment processes corresponding to the Password Input event.
In some feasible embodiments, the random cipher can be input to by user according to the random cipher of display Password Input position corresponding to the Password Input event.
Wherein, if Password Input position corresponding to the Password Input event can provide paste functionality, then the terminal The random cipher can be replicated automatically after the random cipher is shown, user is defeated in password corresponding to the Password Input event After entering position selection paste functionality, the random cipher can be to be input to the Password Input position.Aforesaid way can avoid The manually input of user, further reduces the memory burden of user, and saves the time that user inputs random cipher.
If it should also be noted that, Password Input position corresponding to the Password Input event does not provide paste functionality, So when the terminal shows the random cipher, can not provide the function of duplication, with avoid misguide user operation, Unnecessary trouble is brought to user.
In some feasible embodiments, the terminal is detecting that the password for Password Input event input is to be somebody's turn to do During random cipher, the random cipher of user input can be read, if random cipher and the terminal generation of input with secret Code is same password, and the terminal can calls the payment cipher of the payment application prestored, and payment cipher is real It is submitted to the Password Input position of payment application.That is, user's input can be the random cipher, but the terminal can Be submitted to the Password Input position of payment application with the real payment cipher for the payment being applied on backstage.
In some feasible embodiments, it is corresponding that the payment cipher can be submitted to payment application by the payment application Server verified, if be proved to be successful, payment processes corresponding to the Password Input event can be performed.
It can be seen that in embodiments of the present invention, the terminal can detect paying application upper Password Input event when, Random cipher is generated according to the Password Input event, if the password of input is the random cipher, it is possible to according to prestoring The payment cipher of payment application perform payment processes, the memory burden of user can be mitigated by way of random cipher, And the random cipher is the password generated at random, not real payment cipher, also reduces the wind that payment cipher is peeped Danger.
Fig. 2 is referred to, is the schematic flow diagram that the embodiment of the present invention provides another cipher processing method, as shown in Figure 1 Cipher processing method may include:
S201, the application message for paying application and the payment cipher for paying application are obtained in advance.
It should be noted that the application message of the payment application function can be Apply Names, application type, application size Etc. information, the embodiment of the present invention is not intended to be limited in any to this.
It should also be noted that, the payment cipher of payment application can be close for being paid in the payment application Code.
In some feasible embodiments, the password that the terminal can be according to user for the first time in payment application is defeated When entering frame progress Password Input, if it is determined that the action for inputting password is that I operates, then the terminal can record the payment The application message of application, the payment cipher of user's input, and determine the password digit of the payment cipher.
S202, the application message that the payment is applied and the payment cipher for paying application are stored in the peace of terminal In full chip.
It should be noted that the safety chip can be integrated with terminal mainboard, can effectively prevent from tearing open from hardware Unload, and key storage and crypto-operation can be realized.Specifically, the safety chip can support the passwords such as SM2, SM3, SM4 to calculate Method, the embodiment of the present invention are not intended to be limited in any to this.
It should also be noted that, application message and the payment cipher of payment application that the terminal applies the payment are deposited Storage can prevent that the payment cipher from illegally being cracked in the safety chip of the terminal, improve the safety of payment cipher storage Property.
S203, when detect pay application upper Password Input event when, obtain current user information.
Wherein, the current user information includes one in user's face information, user fingerprints information, client iris information Kind is a variety of.
It should be noted that the user's face information can refer to that the face for the user that terminal calls camera to absorb is special Sign, the facial characteristics can be dynamic feature, or static feature, the embodiment of the present invention do not make any limit to this System.
It should also be noted that, the user fingerprints information can be the fingerprint for the user that terminal calling fingerprint module collects Feature.
It should also be noted that, the client iris information can be the eyes for the user that terminal calling camera absorbs Iris feature.Certainly, in addition to above- mentioned information, the user profile can also include information, this hair such as user's pupil information Bright embodiment is not intended to be limited in any to this.
For example, the Password Input event can be to show Password Input frame in payment application, when the terminal is examined Measure in the payment application when showing the Password Input frame, the user's face that user can be obtained with Background scheduling camera is believed The current user informations such as breath, user fingerprints information, client iris information.
If S204, the current user information certification being passed through, it is determined that the Password Input event is security incident, and Random cipher is generated according to the Password Input event.
It should be noted that the terminal can prestore reliable user list, can include in the user list Multiple users identify (such as user's name, ID, user's head portrait etc.), and each user mark correspond to user's letter Breath, the user profile can include facial information, finger print information, iris information etc..
When the terminal is being authenticated to the current user information, the current user information can be prestored with this User profile be compared, if comparison result represents that current user is the user in the user list, it is possible to think Current user information certification is by and determining that the Password Input event is security incident.
Optionally, it is described that random cipher is generated according to the Password Input event, including:According to the Password Input event Corresponding pay is applied, and calls the safety chip to obtain the payment cipher for paying and applying, and determines that described pay is applied Payment cipher password digit;Generate password digit and consistent random of password digit for paying the payment cipher applied Password.
It should be noted that the password digit of random cipher can be consistent with the password digit of payment cipher.The terminal can The payment cipher that the payment being stored in calling in the safety chip is applied, determines the payment cipher of the payment application function Password digit, and generate the password digit random cipher consistent with the password position of the payment cipher.
For example, if the payment cipher that the terminal is applied by the payment being stored in the safety chip, it is determined that should The password digit of payment cipher is 6, then the terminal can generate the random cipher that password digit is also 6.
S205, the display random cipher.
If S206, detect that the password inputted for the Password Input event is the random cipher, according in advance The payment cipher of the payment application of storage, performs payment processes corresponding to the Password Input event.
It should be noted that S205 shown in the embodiment of the present invention is referred to figure to the specific implementation process of S206 steps S102 shown in 1 is to S103 steps, and therefore not to repeat here.
In a feasible embodiment, when detecting in the payment upper Password Input event of application, according to described After Password Input event generation random cipher, in addition to:The random cipher is sent to certification terminal, the certification terminal For the reliable terminal pre-set, and the certification terminal is not the machine.
If detecting, the password inputted for the Password Input event is the random cipher, according to what is prestored The payment cipher for paying application, performs payment processes corresponding to the Password Input event, including:If detect for institute The password for stating the input of Password Input event is the random cipher, and receives the user of the certification terminal transmission described The random cipher of certification terminal input, then according to the payment cipher of the payment application prestored, perform described close Payment processes corresponding to code incoming event.
In some feasible embodiments, the terminal can prestore reliable user list, the user list In can include multiple users identify (such as user's name, user's head portrait etc.), each user mark correspond to a use Family account (such as phone number etc.).
Wherein, the terminal can be when detecting in the payment upper Password Input event of application, according to the Password Input thing After part generation random cipher, the user list can be shown in the display interface of the terminal, so that active user's selection should Random cipher is sent to which of user list user account.
Wherein, after active user selects from the user list and determines one of user account, the terminal Can be so that the random cipher be sent into certification terminal corresponding to the user account determined to this, the certification terminal is not the machine.
Further, the certification terminal can be incited somebody to action after the random cipher is received using the user of the certification terminal The random cipher be input to specified location (such as provide one of payment application is used to input the position of the random cipher, or In the short message column of person's certification terminal etc.), then, the random cipher can be passed through the side such as wireless network by the certification terminal Formula is sent to the terminal.
, can be with phone using the user of the certification terminal or the certification terminal is after the random cipher is received Form notify user corresponding to the terminal.
In some feasible embodiments, if the terminal detects the password for Password Input event input For the random cipher, and the terminal receives the random cipher of certification terminal transmission, it is possible to according to the institute prestored The payment cipher for paying application is stated, performs payment processes corresponding to the Password Input event.
As can be seen that in embodiments of the present invention, terminal is first in advance by the application message for paying application and the branch The payment cipher for paying application is stored in the safety chip of terminal, when detecting in the payment upper Password Input event of application, Can be so that after user identity is confirmed, random cipher be generated according to the Password Input event, and the random cipher is shown, if Detect that the password inputted for the Password Input event is the random cipher, then can be answered according to the payment prestored Payment cipher, perform the Password Input event corresponding to payment processes, user can be mitigated by way of random cipher Memory burden, and the random cipher is the password that generates at random, not real payment cipher, also reduces payment cipher The risk peeped, meanwhile, the terminal needs, to after user's checking, just generating the random cipher, also to have ensured the branch of terminal Pay safety.
The embodiment of the present invention also provides a kind of terminal, and the terminal is used for the unit for performing the method described in foregoing any one. Specifically, Fig. 3 is referred to, is a kind of structural representation of terminal provided in an embodiment of the present invention.The terminal of the present embodiment includes:
Generation unit 301, for when detect pay application upper Password Input event when, according to the Password Input Event generates random cipher.
Optionally, the generation unit 301, the fixation digit specifically for obtaining default random cipher, if described close The password digit that code incoming event needs to input matches with the fixation digit of the default random cipher, then generates password digit The random cipher consistent with the fixation digit of the default random cipher.
Optionally, the generation unit 301, if being additionally operable to password digit and institute that the Password Input event needs to input The fixation digit for stating default random cipher mismatches, then generates random cipher, institute according to the password digit for needing to input The password digit for stating random cipher is consistent with the password digit for needing to input.
Display unit 302, for showing the random cipher.
Processing unit 303, if for detecting that the password for Password Input event input is the random cipher, Then according to the payment cipher of the payment application prestored, payment processes corresponding to the Password Input event are performed.
It can be seen that in embodiments of the present invention, can be when detecting in the payment upper Password Input event of application, according to this Password Input event generates random cipher, if the password of input is the random cipher, it is possible to according to the branch prestored The payment cipher for paying application performs payment processes, can mitigate the memory burden of user by way of random cipher, and should Random cipher is the password generated at random, not real payment cipher, also reduces the risk that payment cipher is peeped.
Fig. 4 is referred to, is the structural representation of another terminal provided in an embodiment of the present invention.The terminal bag of the present embodiment Include:
Generation unit 401, for when detect pay application upper Password Input event when, according to the Password Input Event generates random cipher.
Optionally, the generation unit 401, specifically for when detect pay application upper Password Input event when, Current user information is obtained, the current user information is included in user's face information, user fingerprints information, client iris information One or more;If the current user information certification being passed through, it is determined that the Password Input event is security incident, and Random cipher is generated according to the Password Input event.
Optionally, the generation unit 401, apply, adjust specifically for being paid according to corresponding to the Password Input event The password position for paying the payment cipher of application, and determining the payment cipher for paying application is obtained with the safety chip Number, the generation password digit random cipher consistent with the password digit of the payment cipher for paying application.
Display unit 402, for showing the random cipher.
Processing unit 403, if for detecting that the password for Password Input event input is the random cipher, Then according to the payment cipher of the payment application prestored, payment processes corresponding to the Password Input event are performed.
Optionally, the terminal also includes:Acquiring unit 405, for obtaining the application message for paying application in advance And the payment cipher for paying application.
Memory cell 404, for the application message for paying application and the payment cipher for paying application to be deposited Storage is in the safety chip of terminal.
Optionally, the terminal also includes:Transmitting element 406, for the random cipher to be sent to certification terminal, institute It is the reliable terminal pre-set to state certification terminal, and the certification terminal is not the machine.
Optionally, the processing unit 403, if specifically for detecting the password for Password Input event input For the random cipher, and receive user that the certification terminal sends described in certification terminal input with secret Code, then according to the payment cipher of the payment application prestored, perform payment processes corresponding to the Password Input event.
As can be seen that in embodiments of the present invention, by first in advance by the application message for paying application and the branch The payment cipher for paying application is stored in the safety chip of terminal, when detecting in the payment upper Password Input event of application, Can be so that after user identity is confirmed, random cipher be generated according to the Password Input event, and the random cipher is shown, if Detect that the password inputted for the Password Input event is the random cipher, then can be answered according to the payment prestored Payment cipher, perform the Password Input event corresponding to payment processes, user can be mitigated by way of random cipher Memory burden, and the random cipher is the password that generates at random, not real payment cipher, also reduces payment cipher The risk peeped, meanwhile, after needing to user's checking, the random cipher is just generated, has also ensured the payment peace of terminal Entirely.
Fig. 5 is referred to, is the schematic block diagram of another terminal provided in an embodiment of the present invention.Described by the present embodiment Terminal, including:At least one input equipment 1000;At least one processor 2000, such as CPU;At least one memory 3000; At least one output equipment 4000, above-mentioned input equipment 1000, processor 2000, memory 3000 and output equipment 4000 pass through Bus connects.
It should be appreciated that in embodiments of the present invention, alleged processor 2000 can be CPU (Central Processing Unit, CPU), the processor 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 FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 1000 can include Trackpad, fingerprint adopts sensor and (is used for the finger print information and fingerprint for gathering user Directional information), microphone etc., output equipment 4000 can include display (LCD etc.), loudspeaker etc..
The memory 3000 can include read-only storage and random access memory, and provide instruction to processor 801 And data.The a part of of memory 3000 can also include nonvolatile RAM.For example, memory 3000 may be used also With the information of storage device type.
Specifically, above-mentioned processor 2000, which calls, is stored in the following step of programmed instruction execution that above-mentioned memory 3000 stores Suddenly:
When detecting in the payment upper Password Input event of application, generated according to the Password Input event with secret Code;
Show the random cipher;
If detecting, the password inputted for the Password Input event is the random cipher, according to what is prestored The payment cipher for paying application, performs payment processes corresponding to the Password Input event.
The method of computing device describes from the angle of processor in the embodiment of the present invention, it is to be understood that this Processor, which will perform the above method, in inventive embodiments needs the cooperation of other hardware configurations.For example, detection is paid using upper Password Input event, above-mentioned output equipment 4000 is controlled to transmit related data by above-mentioned processor 2000;According to Password Input Event generates random cipher, by above-mentioned processor 2000 storage program in above-mentioned memory 3000 can be controlled to be realized; The random cipher is shown, above-mentioned output equipment 4000 can be controlled by above-mentioned processor 2000, realize etc., the present invention is real Apply example concrete implementation process is not described in detail and limited.
In the specific implementation, processor 2000, input equipment 1000, output equipment 4000 described in the embodiment of the present invention It can perform the realization side described in the first embodiment and second embodiment of cipher processing method provided in an embodiment of the present invention Formula, the implementation of the terminal described by the embodiment of the present invention is also can perform, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor: When detecting in the payment upper Password Input event of application, random cipher is generated according to the Password Input event;Display institute State random cipher;If detecting, the password inputted for the Password Input event is the random cipher, and basis is deposited in advance The payment cipher of the payment application of storage, performs payment processes corresponding to the Password Input event.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

  1. A kind of 1. cipher processing method, it is characterised in that including:
    When detecting in the payment upper Password Input event of application, random cipher is generated according to the Password Input event;
    Show the random cipher;
    If detecting, the password inputted for the Password Input event is the random cipher, according to prestoring The payment cipher of application is paid, performs payment processes corresponding to the Password Input event.
  2. 2. according to the method for claim 1, it is characterised in that described ought detect is being paid using upper Password Input thing During part, before generating random cipher according to the Password Input event, methods described also includes:
    The application message for paying application and the payment cipher for paying application are obtained in advance;
    The application message for paying application and the payment cipher for paying application are stored in the safety chip of terminal.
  3. 3. method according to claim 1 or 2, it is characterised in that described defeated in the upper password of payment application when detecting During incoming event, random cipher is generated according to the Password Input event, including:
    When detecting in the payment upper Password Input event of application, current user information, the current user information bag are obtained Include the one or more in user's face information, user fingerprints information, client iris information;
    If the current user information certification being passed through, it is determined that the Password Input event is security incident, and according to described Password Input event generates random cipher.
  4. 4. method according to claim 1 or 2, it is characterised in that described defeated in the upper password of payment application when detecting During incoming event, after generating random cipher according to the Password Input event, in addition to:
    It is the reliable terminal pre-set that the random cipher, which is sent to certification terminal, the certification terminal, and described Certification terminal is not the machine;
    If detecting, the password inputted for the Password Input event is the random cipher, according to prestoring The payment cipher of application is paid, performs payment processes corresponding to the Password Input event, including:
    If detecting, the password inputted for the Password Input event is the random cipher, and it is whole to receive the certification The random cipher that the user that end is sent inputs in the certification terminal, then according to the branch of the payment application prestored Password is paid, performs payment processes corresponding to the Password Input event.
  5. 5. method according to claim 1 or 2, it is characterised in that described to be generated at random according to the Password Input event Password, including:
    Application is paid according to corresponding to the Password Input event, calls the safety chip to obtain the payment for paying application Password, and determine the password digit of the payment cipher for paying application;
    Generate the password digit random cipher consistent with the password digit of the payment cipher for paying application.
  6. 6. method according to claim 1 or 2, described to generate random cipher according to the Password Input event, including:
    Obtain the fixation digit of default random cipher;
    If the password digit that the Password Input event needs to input matches with the fixation digit of the default random cipher, Generate the password digit random cipher consistent with the fixation digit of the default random cipher.
  7. 7. according to the method for claim 6, it is characterised in that methods described also includes:
    If the Password Input event needs the fixation digit of the password digit and default random cipher inputted to mismatch, Random cipher is then generated according to the password digit for needing to input;
    The password digit of the random cipher is consistent with the password digit for needing to input.
  8. 8. a kind of terminal, it is characterised in that including the list for performing the method as described in claim 1-7 any claims Member.
  9. 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performed such as any one of claim 1-7 Described method.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-7.
CN201710762585.4A 2017-08-28 2017-08-28 A kind of cipher processing method, terminal and computer-readable medium Withdrawn CN107609868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710762585.4A CN107609868A (en) 2017-08-28 2017-08-28 A kind of cipher processing method, terminal and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710762585.4A CN107609868A (en) 2017-08-28 2017-08-28 A kind of cipher processing method, terminal and computer-readable medium

Publications (1)

Publication Number Publication Date
CN107609868A true CN107609868A (en) 2018-01-19

Family

ID=61056224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710762585.4A Withdrawn CN107609868A (en) 2017-08-28 2017-08-28 A kind of cipher processing method, terminal and computer-readable medium

Country Status (1)

Country Link
CN (1) CN107609868A (en)

Similar Documents

Publication Publication Date Title
CN106534572B (en) Information display method, device and terminal
CN107704765A (en) A kind of interface access method, server and computer-readable recording medium
CN106357672B (en) A kind of login method and terminal
US9799029B2 (en) Securely receiving data input at a computing device without storing the data locally
EP2650808A1 (en) Method for integrating account management function in input method software
CN105874494A (en) Disabling mobile payments for lost electronic devices
CN107609508A (en) A kind of face identification method, terminal and computer-readable recording medium
CN107491732A (en) A kind of identity authentication method and terminal
CN205725829U (en) Cloud key authentication device
CN106503996A (en) Payment transaction based on web provides equipment, method and system
CN107733973A (en) Method of controlling security, terminal, server and computer-readable medium
CN107358114A (en) A kind of method and terminal for preventing user data loss
CN107085791A (en) A kind of electric paying method and terminal
CN108400868A (en) Storage method, device and the mobile terminal of seed key
CN107466031A (en) A kind of method and terminal for protecting data
CN107395589A (en) Finger print information acquisition methods and terminal
CN107769928A (en) A kind of terminal and computer-readable recording medium
CN104346550A (en) Information processing method and electronic equipment
CN107770155A (en) A kind of short-message verification method and mobile terminal
CN106851613A (en) Service request method, the verification method of business handling number and its terminal
CN108289028A (en) A kind of signature authentication method, relevant device and computer readable storage medium
CN108174018A (en) A kind of information processing method and terminal
CN107368735A (en) One kind applies installation method, mobile terminal and computer-readable recording medium
Avdić Use of biometrics in mobile banking security: case study of Croatian banks
CN108520186A (en) Record screen method, mobile terminal and computer readable storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180119