CN105824486B - A kind of method and device showing check code - Google Patents

A kind of method and device showing check code Download PDF

Info

Publication number
CN105824486B
CN105824486B CN201510008078.2A CN201510008078A CN105824486B CN 105824486 B CN105824486 B CN 105824486B CN 201510008078 A CN201510008078 A CN 201510008078A CN 105824486 B CN105824486 B CN 105824486B
Authority
CN
China
Prior art keywords
check code
user
current
server
request
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
CN201510008078.2A
Other languages
Chinese (zh)
Other versions
CN105824486A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510008078.2A priority Critical patent/CN105824486B/en
Publication of CN105824486A publication Critical patent/CN105824486A/en
Application granted granted Critical
Publication of CN105824486B publication Critical patent/CN105824486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This application provides a kind of method and devices for showing check code, including detect that input cursor when entering check code input frame, determines whether current check code fails;In current check code failure, the current check code of user is prompted to fail;Request server provides new check code;Receive the new check code that server is sent;Show the new check code.Using technical solution provided by the embodiments of the present application, when detecting that input cursor enters check code input frame and do not input also, it carries out judging whether current check code fails, it is prompted if failure, effectively user's operation can be prompted, repeatedly inputting for user is avoided, user experience is improved.

Description

A kind of method and device showing check code
Technical field
This application involves data processing field, in particular to a kind of method and device for showing check code.
Background technique
Specific program Brute Force logs in order to prevent or safety verification, common check code are tested by present website or APP Card, i.e., when logging in or while input validation subscriber identity information, need user's input validation code.Check code is usually one String number, letter or Chinese.
Each check code has certain effective time, after we open webpage or APP, if not in validity period Interior input validation code, when inputting check code verifying, due to not knowing that this check code is no longer valid, so after submitting It will lead to authentication failed.
There are two types of solutions in the prior art, and one is that can directly prompt when user inputs expired check code User's check code is incorrect or check code is expired, and refreshes check code automatically;Secondly for when user inputs expired check code, Not directly prompt user's check code failure, but user's mistake is directly prompted, allow user to input again.
The first solution is confused most likely with family, and the check code obviously inputted is correctly, but to prompt check code It is incorrect;Or prompt check code failure, it is just to be prompted after user's input finishes, user is made to carry out duplicate behaviour Make, also, increase the check code request to server end, wastes resource.
Second of solution directly prompts user's mistake, it is likely that so that certain customers is abandoned current operation, reduces the net It stands or the service efficiency of APP.
The deficiencies in the prior art are:
The repetitive operation for increasing user to the processing scheme of check code failure in the prior art, reduces user experience.
Summary of the invention
A kind of method and device for showing check code is provided in the embodiment of the present application, repeatedly inputs school to solve user Test the lower problem of user experience caused by code.
A kind of method for showing check code is provided in the embodiment of the present application, comprising steps of
When detecting that input cursor enters check code input frame, determine whether current check code fails;
In current check code failure, the current check code of user is prompted to fail;
Request server provides new check code;
Receive the new check code that server is sent;
Show the new check code.
A kind of device for showing check code is provided in the embodiment of the present application, comprising:
Determining module determines whether current check code loses when for detecting that input cursor enters check code input frame Effect;
Cue module, for prompting the current check code of user to fail in current check code failure;
Request module provides new check code for request server;
Receiving module, for receiving the new check code of server transmission;
Display module, for showing the new check code.
The beneficial effect of the application is:
In technical solution provided by the embodiments of the present application, detecting that input cursor enters check code input frame and do not input also When, that is, it carries out judging whether current check code fails, is prompted, effectively user's operation can be prompted if failure, Repeatedly inputting for user is avoided, user experience is improved.
Detailed description of the invention
The specific embodiment of the application is described below with reference to accompanying drawings, in which:
Fig. 1 is the flow diagram that the method for check code is shown in the embodiment of the present application;
Fig. 2 is the flow diagram interacted in the embodiment of the present application with client and server;
Fig. 3 is the structural schematic diagram that the device of check code is shown in the embodiment of the present application;
Specific embodiment
In order to which technical solution in the embodiment of the present application and advantage is more clearly understood, below in conjunction with attached drawing to the application Exemplary embodiment be described in more detail, it is clear that described embodiment be only the application a part implement Example, rather than the exhaustion of all embodiments.
In view of the deficiencies of the prior art, a kind of method and device for showing check code is provided in the embodiment of the present application, is come Accurate prompt when realizing check code failure to user's operation.It is illustrated below.
Fig. 1 is the flow diagram that the method for check code is shown in the embodiment of the present application, as shown, may include step It is rapid:
Step 101 detects that input cursor when entering check code input frame, determines whether current check code fails;
Step 102, in current check code failure, prompt the current check code of user to fail;
Step 103, request server provide new check code;
Step 104 receives the new check code that server is sent;
Step 105, the display new check code.
In technical solution provided by the embodiments of the present application, detecting that input cursor enters check code input frame and do not input also When, that is, it carries out judging whether current check code fails, is prompted, effectively user's operation can be prompted if failure, Repeatedly inputting for user is avoided, user experience is improved.
It,, can before request server provides new check code after the prompt current check code of user has failed in implementation To further comprise:
Prompt user refreshes;
Whether monitoring user executes refresh operation;
If detecting, user performs refresh operation, provides new check code to server request.
In specific implementation, check code can be to be refreshed automatically, is also possible to actively to be clicked by user and be refreshed.If from Dynamic to refresh, then after judging that current check code has failed and prompted user, the check code that please look for novelty to server simultaneously should New check code is shown;If desired user's manual refreshing then prompts user to refresh, and monitors whether user clicks refreshing Button, after user clicks refresh button, the check code that please look for novelty to server simultaneously shows the new check code.
Whether active refreshes or passively refreshes, and can guarantee that the check code of user's input is effectively, to reduce The repetitive operation probability of user, improves user experience.
May include step when whether the current check code of determination fails in implementation:
Record display check code and input cursor enter the time interval of check code input frame;
When the time interval is more than preset time value, current check code failure is determined.
In specific implementation, time interval is recorded, when time interval is more than preset time value, judges that current check code loses Effect.The judgment method provided in the embodiment of the present application is preferred embodiment, only for it is convenient those skilled in the art understand that and It uses, the embodiment of the present application does not limit using other judgment methods, as long as may determine that whether check code fails.
In implementation, check code mentioned above can be number or English alphabet or Chinese or combinations thereof.
In specific implementation, check code is usually combination or the Chinese of number and English alphabet, is gone back in the embodiment of the present application It can be the combination thirdly person, in the embodiment of the present application with no restriction to this.
Since the check code of simple digital (0~9) or simple alphabetical (A~Z) is easier to be cracked, do not have very well Verification effect, and use Chinese library or use combined mode, the probability being cracked will be greatly reduced.
The use for the method that embodiment provides is illustrated with example again below.
Fig. 2 is the flow diagram interacted in the embodiment of the present application with client and server, it is assumed that current check code is It is expired, as shown, judge whether current check code fails when cursor is placed in check code input frame by user first, if Failure then prompts the current effect code failure of user, and user is prompted to refresh;After user receives the failed prompt of check code, brush New current check code, provides new check code to server request at this time, and server end generates check code and is sent to the application The device of display check code in embodiment, the device show the new check code on user terminal interface.
Based on the same inventive concept, a kind of device for showing check code is additionally provided in the embodiment of the present application, due to device The principle solved the problems, such as is similar with a kind of display method of check code, therefore the implementation of device may refer to the implementation of method, weight Multiple place repeats no more.
Fig. 3 is the structural schematic diagram that the device of check code is shown in the embodiment of the present application, as shown, may include:
Whether determining module 301 determines current check code when for detecting that input cursor enters check code input frame Failure;
Cue module 302, for prompting the current check code of user to fail in current check code failure;
Request module 303 provides new check code for request server;
Receiving module 304, for receiving the new check code of server transmission;
Display module 305, for showing the new check code.
In implementation, cue module 302 can be further used for after the prompt current check code of user has failed, request clothes Before business device provides new check code, user is prompted to refresh;
Described device can further include:
Monitoring module 306, for monitoring whether user executes refresh operation;If detecting, user performs refresh operation, Request module 303 is then notified to provide new check code to server request.
In implementation, determining module 301 may include:
Recording unit 3011 enters the time interval of check code input frame for recording display check code and input cursor;
Check code fail determination unit 3012, for when the time interval be more than preset time value when, determine currently to Check code failure in input validation code input frame.
In implementation, check code can be number or English alphabet or Chinese or combinations thereof.
For convenience of description, each section of apparatus described above is divided into various parts with function or unit describes respectively. Certainly, the function of each component or unit can be realized in same or multiple softwares or hardware when implementing the application.
The synchronous method and device of terminal provided by the embodiments of the present application, server file, can use band according to current network Wide and terminal redundancy Scavenging activity and processing expense choose stripping and slicing scheme from the stripping and slicing scheme list of terminal;According to stripping and slicing File to be synchronized is cut into multiple data blocks by scheme;Identifier is created to each data block, and the identifier is sent to Server;Server receives the identifier, its identifier corresponding with each data block thereon is compared, determines the identifier Corresponding data block whether there is in server, and definitive result is fed back to terminal;Terminal is according to feedback by file to be synchronized It is synchronized to server.Using technical solution provided by the embodiments of the present application, it can dynamically select stripping and slicing scheme to text to be synchronized Part cutting, it is ensured that data are most short synchronization time, improve synchronous efficiency, meanwhile, it will only not be stored in the data block of server It uploads, greatly reduced the data volume transmitted in transmission process, to reduce network overhead.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (8)

1. a kind of method for showing check code, which comprises the steps of:
When detecting that input cursor enters check code input frame, determine whether current check code fails;
In current check code failure, the current check code of user is prompted to fail;
Request server provides new check code;
Receive the new check code that server is sent;
Show the new check code.
2. the method as described in claim 1, which is characterized in that after the current check code of the prompt user has failed, request Before server provides new check code, further comprise:
Prompt user refreshes;
Whether monitoring user executes refresh operation;
If detecting, user performs refresh operation, provides new check code to server request.
3. the method as described in claim 1, which is characterized in that when whether the current check code of determination fails, comprising steps of
Record display check code and input cursor enter the time interval of check code input frame;
When the time interval is more than preset time value, current check code failure is determined.
4. the method as described in claims 1 to 3 is any, which is characterized in that the check code be number English alphabet or in Text or combinations thereof.
5. a kind of device for showing check code characterized by comprising
Determining module determines whether current check code fails when for detecting that input cursor enters check code input frame;
Cue module, for prompting the current check code of user to fail in current check code failure;
Request module provides new check code for request server;
Receiving module, for receiving the new check code of server transmission;
Display module, for showing the new check code.
6. device as claimed in claim 5, which is characterized in that cue module is further used in the prompt current check code of user After having failed, before request server provides new check code, user is prompted to refresh;
Described device further comprises:
Monitoring module, for monitoring whether user executes refresh operation;If detecting, user performs refresh operation, and notice is asked Modulus block provides new check code to server request.
7. device as claimed in claim 5, which is characterized in that determining module includes:
Recording unit enters the time interval of check code input frame for recording display check code and input cursor;
Check code failure determination unit, for determining that current check code loses when the time interval is more than preset time value Effect.
8. the device as described in claim 5 to 7 is any, which is characterized in that the check code be number English alphabet or in Text or combinations thereof.
CN201510008078.2A 2015-01-07 2015-01-07 A kind of method and device showing check code Active CN105824486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510008078.2A CN105824486B (en) 2015-01-07 2015-01-07 A kind of method and device showing check code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510008078.2A CN105824486B (en) 2015-01-07 2015-01-07 A kind of method and device showing check code

Publications (2)

Publication Number Publication Date
CN105824486A CN105824486A (en) 2016-08-03
CN105824486B true CN105824486B (en) 2019-02-05

Family

ID=56514010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510008078.2A Active CN105824486B (en) 2015-01-07 2015-01-07 A kind of method and device showing check code

Country Status (1)

Country Link
CN (1) CN105824486B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450646B (en) * 2018-12-10 2020-03-17 珠海格力电器股份有限公司 Verification request processing method and system
CN114499951A (en) * 2021-12-23 2022-05-13 奇安盘古(上海)信息技术有限公司 Identity authentication information cracking method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095670A (en) * 2012-02-06 2013-05-08 青岛印象派信息技术有限公司 Method and system for achieving advertisement verification code
CN103514393A (en) * 2012-06-20 2014-01-15 上海市上海中学 Method for achieving three-dimensional verification code
CN103971315A (en) * 2013-01-30 2014-08-06 江苏中通洋软件服务有限公司 Method for generating image verification codes
CN104243399A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 User identifying method, client, server and system for realizing the method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254994A1 (en) * 2002-02-18 2009-10-08 David Lynch Waterson Security methods and systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095670A (en) * 2012-02-06 2013-05-08 青岛印象派信息技术有限公司 Method and system for achieving advertisement verification code
CN103514393A (en) * 2012-06-20 2014-01-15 上海市上海中学 Method for achieving three-dimensional verification code
CN103971315A (en) * 2013-01-30 2014-08-06 江苏中通洋软件服务有限公司 Method for generating image verification codes
CN104243399A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 User identifying method, client, server and system for realizing the method

Also Published As

Publication number Publication date
CN105824486A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105095737B (en) The method and apparatus for detecting weak password
US10372803B2 (en) System, method and computer readable medium for binding authored content to the events used to generate the content
US8875255B1 (en) Preventing user enumeration by an authentication server
US10673834B2 (en) Establishing a trusted login procedure
CN110505141B (en) Instant messaging message processing method and device, readable medium and electronic equipment
WO2016101635A1 (en) Method, apparatus and device for synchronizing login status, and computer storage medium
CN105099811A (en) Interface testing method and device
CN105760286A (en) Application database dynamic property detection method and detection device
CN107832216A (en) One kind buries a method of testing and device
CN104410674B (en) A kind of WEB session synchronization methods of single-node login system
CN105095726A (en) Method and device for generating verification code
CN105430012B (en) A kind of multi-site synchronizes the method and device of login
US20150089300A1 (en) Automated risk tracking through compliance testing
CN110445792B (en) Verification code generation method and verification code login system
US20170171188A1 (en) Non-transitory computer-readable recording medium, access monitoring method, and access monitoring apparatus
CN106572081A (en) Login authority verifying method
CN105824486B (en) A kind of method and device showing check code
CN104090896A (en) Method, device and system for importing data
CN107623664A (en) A kind of cipher-code input method and device
EA201700610A1 (en) METHOD AND SYSTEM OF IDENTIFICATION AND CLASSIFICATION OF CAUSES OF USE CLAIMS IN SELF-SERVICE DEVICES
CN109214189B (en) Method, device, storage medium and electronic equipment for identifying program bugs
US11240210B2 (en) Methods, apparatuses, and systems for acquiring local information
CN104601532A (en) Method and device for logging in account
CN108200043B (en) Picture verification code verification method and picture verification code verification device
CN106209742B (en) Security verification method and system

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
TR01 Transfer of patent right

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right