CN105681344A - Verification code recognition system and method - Google Patents

Verification code recognition system and method Download PDF

Info

Publication number
CN105681344A
CN105681344A CN201610137671.1A CN201610137671A CN105681344A CN 105681344 A CN105681344 A CN 105681344A CN 201610137671 A CN201610137671 A CN 201610137671A CN 105681344 A CN105681344 A CN 105681344A
Authority
CN
China
Prior art keywords
identifying code
code
module
identifying
identified
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.)
Pending
Application number
CN201610137671.1A
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.)
Guangdong Eshore Technology Co Ltd
Original Assignee
Guangdong Eshore 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 Guangdong Eshore Technology Co Ltd filed Critical Guangdong Eshore Technology Co Ltd
Priority to CN201610137671.1A priority Critical patent/CN105681344A/en
Publication of CN105681344A publication Critical patent/CN105681344A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2133Verifying human interaction, e.g., Captcha

Abstract

The invention discloses a verification code recognition system, which comprises a third party verification code module, a verification code adapter module, an OCR automatic recognition engine module and a manual assistant recognition subsystem module. In addition, the invention further discloses a verification code recognition method. According to the verification code recognition system and the verification code recognition method, OCR automatic verification code recognition is provided, and a subsystem for manual assistant recognition is provided, the recognition rate of verification codes is greatly increased, and the problem that the automatic test process cannot be proceeded due to the existence of the verification codes is solved.

Description

A kind of identifying code identification system and method
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of identifying code identification system and method.
Background technology
Identifying code (CAPTCHA) is the abbreviation of " CompletelyAutomatedPublicTuringtesttotellComputersandHum ansApart " (the full-automatic turing tests distinguishing computer and the mankind), the public full auto-programs of to be a kind of user of differentiation be computer or people. It is possible to prevent: malice decryption, brush ticket, forum pour water, effectively prevent certain hacker from some particular registered user specific program Brute Force mode is carried out continuous login attempt, it is actually the mode that now a lot of websites are current with identifying code, utilizes more easy mode to achieve this function. This problem can be generated by computer and pass judgment on, but the mankind must be only had to answer. Owing to computer cannot answer the problem of CAPTCHA, so answering the user gone wrong just be considered the mankind.
Current identifying code is from simply generating random number picture, to increasing deformation, then to increasing interference, and more complicated problem, even arrive the evolution of figure. In order to better identify identifying code, the way having at present be modified server-side code shielding identifying code, however it is necessary that the amendment authority having server-side code, and if in production system shield identifying code can bring security risk. Also have way be modified server-side code increase omnipotent identifying code, be so also required to have the amendment authority of server-side code, and if the person of being hacked detection obtain omnipotent identifying code, then identifying code can be ineffective. Therefore, in the face of various complicated identifying code, in automatic test, how a key point is also just become by identifying code.
Summary of the invention
The invention aims to overcome the defect of prior art, it is provided that a kind of identifying code identification system and method, solve automatic test or other needs automatic flow in the occasion to identifying code identification can not automatically identify the problems such as identifying code.
For achieving the above object, the invention provides a kind of identifying code identification system, this system includes third-party authentication code module, identifying code adaptor module, OCR identify engine modules and human assistance recognition subsystem module automatically; Wherein, third-party authentication code module, refer to the identifying code that third party is to be identified; Identifying code adaptor module, including verification code information data base, obtains adapter, calibration adapter; OCR identifies engine modules automatically, pretreated picture is identified and returns recognition result;Human assistance recognition subsystem module, including identifying code displaying, identifying code input and check results display module.
Further, third-party authentication code includes number of different types, for instance character picture, algorithm calculations, question and answer, according to prompting click, according to prompting drag.
Further, different identifying codes are changed into unified interface and are supplied to rear equation by acquisition adapter, and rear equation is further processed after obtaining identifying code; To identify that the identifying code obtained is submitted to verification in third party website or application the result of back-checking by calibration adapter with unified interface.
Further, human assistance recognition subsystem can be a private client, or a web application, or is embedded in other application needing identifying code, or is a trivial games based on identifying code identification.
Additionally, present invention also offers a kind of method for recognizing verification code, the flow process of the method is:
S1. analyze third-party authentication code, identify the position of position that identifying code show, the position of identifying code input, submission button, and be saved in data base;
S2. the identifying code to verify is intercepted, it is determined whether existing in data base, if do not existed, returning s1; If in data base, then call OCR and automatically identify that identifying code is identified by engine;
If s3. OCR cannot identify automatically, then call human assistance recognition subsystem and the identifying code in data base is identified;
S4. the identifying code result after identifying backfills and shows third party website or application.
Further, call human assistance recognition subsystem the identifying code in data base is identified, it is by substantial amounts of specialty identification personnel, domestic consumer or game player, identifying code is identified, and recognition result is backfilling in identifying code input frame or user operation behavior is converted into action command operation interface, and submit verification to.
The beneficial effect that technical solution of the present invention is brought:
While providing OCR automatically to identify identifying code by the present invention, reoffer the subsystem of human assistance identification, substantially increase the discrimination of identifying code, make automatic testing process no longer and cannot be carried out because of the existence of identifying code.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the system architecture diagram of the embodiment of the present invention;
Fig. 2 is the method flow diagram of the embodiment of the present invention.
Detailed description of the invention
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 clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
At present, many websites log in user's login, user's submission information etc. and employ verification code technology on the page of input. Verification code technology can effectively prevent the malicious user abuse to website so that website can be prevented effectively from the problems such as stolen, the advertisement SPAM of user profile.But meanwhile, the use of verification code technology but makes automatic test be encountered by bigger difficulty due to the existence of identifying code, and traditional " recording "-" playback " instrument not can recognise that identifying code lost efficacy. The present invention adopts full-automatic and in conjunction with human assistance mode identifying code is identified and returns to the flow process of automatic test, makes flow process no longer be verified code and interrupts continuing executing with.
A kind of identifying code identification system provided by the invention, solves automatic test or other needs automatic flow in the occasion to identifying code identification can not automatically identify the problems such as identifying code. Its system architecture is as shown in Figure 1. Native system includes third-party authentication code module, identifying code adaptor module, OCR identify engine modules and human assistance recognition subsystem module automatically.
1) third-party authentication code module
This module is the identifying code that third party is to be identified, and this identifying code can be number of different types, character picture, algorithm calculations, question and answer, click according to prompting, according to prompting dragging etc.
2) identifying code adaptor module
This module includes verification code information data base, obtains adapter, calibration adapter etc. By acquisition adapter, different identifying codes being changed into unified interface and be supplied to rear equation, rear equation is further processed after obtaining identifying code; To identify that the identifying code obtained is submitted to verification in third party website or application the result of back-checking by calibration adapter with unified interface.
3) OCR identifies engine modules automatically
After the simple identifying code such as simple characters picture, simple algorithm calculations is removed the pretreatment such as interference, separating character, rotation, OCR technique is used pretreated picture to be identified and returns recognition result.
4) human assistance recognition subsystem module
This subsystem includes identifying code displaying, identifying code input and check results display module, this system can be a private client, or a web application, or be embedded in other application needing identifying code, or be a trivial games based on identifying code identification. After user's artificial cognition identifying code, the type according to identifying code, then insert content of text such as text-type; Calculation type then insert result of calculation; Then the clicking interface and record the coordinate of click of click type; Then the dragging interface assembly and record the origin coordinates of dragging of dragging type; Finally the behavior of user is passed back to calibration adapter.
Being illustrated in figure 2 the method flow diagram of the embodiment of the present invention, idiographic flow is as follows:
1) manual analysis third party website, verification code information to be identified in application, including identifying code type, whether can adopt OCR identifies automatically, identifying code shows position, identifying code input position, submit the position etc. of button to, and be saved in data base.
2), when starting automatic test, first from data base, obtain the verification code information through manual analysis according to website, application message, and from webpage, application interface, intercept identifying code according to these information.
3) if being suitable for what OCR identified automatically, then call OCR and automatically identify that identifying code is identified by engine, and recognition result is backfilling in identifying code input frame, and submit verification to.
4) if what inapplicable OCR identified automatically, then identifying code is published to distributed human assistance recognition subsystem, by substantial amounts of specialty identification personnel, domestic consumer or game player, identifying code is identified, and recognition result is backfilling in identifying code input frame or user operation behavior is converted into action command operation interface, and submit verification to.
5) if verification has been passed through, return to automatic test and continue following flow process.
6) if verification is not passed through, above-mentioned second step is repeated.
Additionally, in automatic test script the reserved time waiting that tester manually enters identifying code, if need to test in a large number, this identification that completed by tester oneself, input action have just become not achievable task.
Above the embodiment of the present invention being described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (6)

1. an identifying code identification system, it is characterised in that native system includes third-party authentication code module, identifying code adaptor module, OCR identify engine modules and human assistance recognition subsystem module automatically; Wherein,
Third-party authentication code module, refers to the identifying code that third party is to be identified;
Identifying code adaptor module, including verification code information data base, obtains adapter, calibration adapter;
OCR identifies engine modules automatically, pretreated picture is identified and returns recognition result;
Human assistance recognition subsystem module, including identifying code displaying, identifying code input and check results display module.
2. system according to claim 1, it is characterised in that third-party authentication code includes number of different types, for instance character picture, algorithm calculations, question and answer, according to prompting click, according to prompting drag.
3. system according to claim 1, it is characterised in that different identifying codes are changed into unified interface and are supplied to rear equation by acquisition adapter, and rear equation is further processed after obtaining identifying code; To identify that the identifying code obtained is submitted to verification in third party website or application the result of back-checking by calibration adapter with unified interface.
4. system according to claim 1, it is characterized in that, human assistance recognition subsystem can be a private client, or a web application, or it is embedded in other application needing identifying code, or is a trivial games based on identifying code identification.
5. a method for recognizing verification code, it is characterised in that the flow process of the method is:
S1. analyze third-party authentication code, identify the position of position that identifying code show, the position of identifying code input, submission button, and be saved in data base;
S2. the identifying code to verify is intercepted, it is determined whether existing in data base, if do not existed, returning s1; If in data base, then call OCR and automatically identify that identifying code is identified by engine;
If s3. OCR cannot identify automatically, then call human assistance recognition subsystem and the identifying code in data base is identified;
S4. the identifying code result after identifying backfills and shows third party website or application.
6. method according to claim 5, it is characterized in that, call human assistance recognition subsystem the identifying code in data base is identified, it is by substantial amounts of specialty identification personnel, domestic consumer or game player, identifying code is identified, and recognition result is backfilling in identifying code input frame or user operation behavior is converted into action command operation interface, and submit verification to.
CN201610137671.1A 2016-03-11 2016-03-11 Verification code recognition system and method Pending CN105681344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610137671.1A CN105681344A (en) 2016-03-11 2016-03-11 Verification code recognition system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610137671.1A CN105681344A (en) 2016-03-11 2016-03-11 Verification code recognition system and method

Publications (1)

Publication Number Publication Date
CN105681344A true CN105681344A (en) 2016-06-15

Family

ID=56308137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610137671.1A Pending CN105681344A (en) 2016-03-11 2016-03-11 Verification code recognition system and method

Country Status (1)

Country Link
CN (1) CN105681344A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032955A (en) * 2018-09-07 2018-12-18 郑州云海信息技术有限公司 A kind of UI automated testing method, device, equipment and readable storage medium storing program for executing
CN109086591A (en) * 2018-06-11 2018-12-25 平安科技(深圳)有限公司 Method for recognizing verification code, device, computer equipment and storage medium
CN109376524A (en) * 2018-09-29 2019-02-22 浙江万朋教育科技股份有限公司 The method of picture validation code on automatic identification remote machine
CN109635549A (en) * 2018-12-13 2019-04-16 郑州云海信息技术有限公司 A kind of method and device verified in automatic test

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807192A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Webpage optical character recognition processing method used for mobile communication equipment terminal
CN101944177A (en) * 2010-08-30 2011-01-12 深圳市多赢软件技术有限公司 Method for recognizing verification code
CN102143016A (en) * 2010-11-25 2011-08-03 中国移动(深圳)有限公司 Website automation test method and system
US20130259314A1 (en) * 2012-03-30 2013-10-03 Xerox Corporation Methods and systems for enhancing the performance of automated license plate recognition applications utilizing multiple results
CN105260318A (en) * 2015-11-25 2016-01-20 飞天诚信科技股份有限公司 Automatic testing method and device based on web pages
KR101683574B1 (en) * 2015-11-23 2016-12-07 연세대학교 산학협력단 Captcha System using Motion Sensor and Method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807192A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Webpage optical character recognition processing method used for mobile communication equipment terminal
CN101944177A (en) * 2010-08-30 2011-01-12 深圳市多赢软件技术有限公司 Method for recognizing verification code
CN102143016A (en) * 2010-11-25 2011-08-03 中国移动(深圳)有限公司 Website automation test method and system
US20130259314A1 (en) * 2012-03-30 2013-10-03 Xerox Corporation Methods and systems for enhancing the performance of automated license plate recognition applications utilizing multiple results
KR101683574B1 (en) * 2015-11-23 2016-12-07 연세대학교 산학협력단 Captcha System using Motion Sensor and Method thereof
CN105260318A (en) * 2015-11-25 2016-01-20 飞天诚信科技股份有限公司 Automatic testing method and device based on web pages

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086591A (en) * 2018-06-11 2018-12-25 平安科技(深圳)有限公司 Method for recognizing verification code, device, computer equipment and storage medium
WO2019237549A1 (en) * 2018-06-11 2019-12-19 平安科技(深圳)有限公司 Verification code recognition method and apparatus, computer device, and storage medium
CN109032955A (en) * 2018-09-07 2018-12-18 郑州云海信息技术有限公司 A kind of UI automated testing method, device, equipment and readable storage medium storing program for executing
CN109376524A (en) * 2018-09-29 2019-02-22 浙江万朋教育科技股份有限公司 The method of picture validation code on automatic identification remote machine
CN109635549A (en) * 2018-12-13 2019-04-16 郑州云海信息技术有限公司 A kind of method and device verified in automatic test

Similar Documents

Publication Publication Date Title
US10635809B2 (en) Authenticating application legitimacy
CN105227316A (en) Based on mobile Internet account login system and the method for facial image authentication
CN104954131B (en) The verification method and system of identifying code
CN103065077A (en) Real user authentication method and real user authentication device
CN105681344A (en) Verification code recognition system and method
US9563763B1 (en) Enhanced captchas
US9202035B1 (en) User authentication based on biometric handwriting aspects of a handwritten code
CN103607387A (en) A network login authentication cloud service system based on face identification and a method
CN101261669A (en) A method for visual validation system based on mouse operation
CN109547426B (en) Service response method and server
CN102456102A (en) Method for carrying out identity recertification on particular operation of information system by using Usb key technology
CN104852916A (en) Social engineering-based webpage verification code recognition method and system
CN105337739B (en) Safe login method, device, server and terminal
US11899770B2 (en) Verification method and apparatus, and computer readable storage medium
CN106250755B (en) Method and device for generating verification code
US20140059659A1 (en) System and method for authenticating manual interaction in a computing environment
CN111600701B (en) Private key storage method, device and storage medium based on blockchain
CN111353140A (en) Verification code generation and display method, device and system
CN104935436A (en) User verification method and user verification system
CN109088872A (en) Application method, device, electronic equipment and the medium of cloud platform with service life
CN111949952B (en) Method for processing verification code request and computer-readable storage medium
US10015181B2 (en) Using natural language processing for detection of intended or unexpected application behavior
US10652276B1 (en) System and method for distinguishing authentic and malicious electronic messages
CN112257053B (en) Image verification code generation method and system based on general disturbance countermeasure
CN111882425B (en) Service data processing method, device and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160615

WD01 Invention patent application deemed withdrawn after publication