CN105187443B - A kind of system and method for test WEB identifying codes - Google Patents
A kind of system and method for test WEB identifying codes Download PDFInfo
- Publication number
- CN105187443B CN105187443B CN201510628419.6A CN201510628419A CN105187443B CN 105187443 B CN105187443 B CN 105187443B CN 201510628419 A CN201510628419 A CN 201510628419A CN 105187443 B CN105187443 B CN 105187443B
- Authority
- CN
- China
- Prior art keywords
- character
- code
- text
- matching
- identifying code
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 23
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000012795 verification Methods 0.000 claims abstract description 42
- 230000011218 segmentation Effects 0.000 claims description 16
- 238000001914 filtration Methods 0.000 claims description 7
- 229910002056 binary alloy Inorganic materials 0.000 claims description 5
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000013095 identification testing Methods 0.000 description 2
- 238000004064 recycling Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
- H04L63/0838—Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Character Input (AREA)
Abstract
Description
Claims (7)
- A kind of 1. system of test WEB identifying codes, applied in HTTP, it is characterised in that including:One checking generation unit, to generate identifying code in WEB;One acquiring unit, the checking generation unit is connected, to obtain the identifying code;One recognition unit, the acquiring unit is connected, to identify the type of the identifying code, the type of the identifying code includes Text authentication code and/or graphical verification code;One first processing units, connect the recognition unit and the checking generation unit respectively, and the first processing units carry For an exam pool for storing default text question and corresponding text answers, to by the text authentication code in the exam pool The text question is matched to obtain the corresponding text answers, carries out matching checking with the identifying code, generation is tested Result is demonstrate,proved, and controls the checking generation unit to regenerate identifying code;One second processing unit, connects the recognition unit and the checking generation unit respectively, and the second processing unit carries For a character repertoire, the second processing unit obtains corresponding independent word to the pixel in the graphical verification code Symbol, and the standard character in the respective character and the character repertoire is subjected to circulation matching, to obtain and the respective character The standard character of matching, matching checking is carried out with the identifying code, generates the result;Wherein, the second processing unit includes:One memory module, to store the character repertoire;One scan module, the memory module is connected, to travel through all pixels in the graphical verification code;One processing module, the scan module is connected, it is every to obtain to be handled according to preset rules the pixel The rgb value of the individual pixel, and the rgb value of all pixels is converted to the two of the corresponding graphical verification code System, to obtain the two-dimensional array of each pixel in the corresponding graphical verification code;The preset rules are using acquisition pixel The method of the color index value circular treatment of point;One filtering module, the processing module is connected, to filter out RGB differences adjacent in the graphical verification code more than default The discontinuous pixel of difference;One segmentation module, connects the filtering module, to be a plurality of institutes by continuous Character segmentation in the two-dimensional array State respective character;One matching module, the segmentation module and the memory module is connected respectively, to one by one by a plurality of independent words Symbol is matched with the standard character in the character repertoire, to obtain a plurality of marks matched with the respective character Quasi- character, and export;One authentication module, the matching module is connected, it is raw the standard character and the identifying code are carried out into matching checking Into the result.
- 2. the system as claimed in claim 1, it is characterised in that also include:One first memory cell, connects the first processing units, to store the text matched with the text authentication code The text answers corresponding to this problem.
- 3. the system as claimed in claim 1, it is characterised in that also include:One second memory cell, the second processing unit is connected, to store the standard matched with the respective character Character.
- 4. the system as claimed in claim 1, it is characterised in that the second processing unit also includes:Segmentation module is also to judge whether the axis of the respective character and vertical direction have angle, when the respective character Axis and vertical direction when having angle, then the respective character is rotated to the axis of the respective character and Vertical Square To there is the state that angle is zero.
- 5. a kind of method of test WEB identifying codes, applied in HTTP, it is characterised in that it is single to provide a storage Member comprises the steps to store the exam pool and character repertoire of default text question and corresponding text answers:S1. identifying code is generated in WEB;S2. the identifying code is obtained;S3. judge whether the identifying code is text authentication code, if so, performing step S4;If it is not, then the identifying code is figure Identifying code;Perform step S6;S4. the text authentication code and the text question in the exam pool are matched with the corresponding text of acquisition Answer, and store;S5. the text answers and the identifying code are subjected to matching checking, to generate the result, return and perform step S1;S6. pixel in the graphical verification code obtains corresponding respective character, and by the respective character with it is described Standard character in character repertoire carries out circulation matching, to obtain the standard character matched with the respective character, and stores;Step S6 comprises the steps:S61. all pixels in the graphical verification code are traveled through;S62. the pixel is handled according to preset rules to obtain the rgb value of each pixel, and will be all The rgb value of the pixel is converted to the binary system of the corresponding graphical verification code, to obtain the corresponding graphic verification The two-dimensional array of each pixel in code;The preset rules use the side for the color index value circular treatment for obtaining pixel Method;S63. the discontinuous pixel that RGB differences adjacent in the graphical verification code exceed preset difference value is filtered out;S64. it is a plurality of respective characters by continuous Character segmentation in the two-dimensional array;S65. the standard character in a plurality of respective characters and the character repertoire is subjected to circulation matching one by one, to obtain Take a plurality of standard characters matched with the respective character;S7. the standard character and the identifying code are subjected to matching checking, to generate the result.
- 6. the method for test WEB identifying codes as claimed in claim 5, it is characterised in that the circulation matching is will be described only Symbol of signing an agreement, a contract, a receipt, etc. carries out similarity mode with the standard character in the character repertoire, when the similarity of matching reaches predetermined threshold value When, the standard character that is matched with the respective character is obtained, when the similarity of matching is not up to the predetermined threshold value, is then weighed The multiple standard character by the respective character and the character repertoire carries out similarity mode, and similarity reaches described default Untill threshold value.
- 7. the method for test WEB identifying codes as claimed in claim 5, it is characterised in that after execution of step S64, also wrap Include:Whether the axis and vertical direction for judging the respective character have angle, if it is not, performing step S65;If so, then by institute Stating respective character and rotating to the axis of the respective character and vertical direction has the state that angle is zero, performs step S65.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510628419.6A CN105187443B (en) | 2015-09-28 | 2015-09-28 | A kind of system and method for test WEB identifying codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510628419.6A CN105187443B (en) | 2015-09-28 | 2015-09-28 | A kind of system and method for test WEB identifying codes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105187443A CN105187443A (en) | 2015-12-23 |
CN105187443B true CN105187443B (en) | 2018-03-06 |
Family
ID=54909287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510628419.6A Active CN105187443B (en) | 2015-09-28 | 2015-09-28 | A kind of system and method for test WEB identifying codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105187443B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189683A (en) * | 2018-08-28 | 2019-01-11 | 中金金融认证中心有限公司 | A kind of method and system automatically entered for identifying code in APP test |
CN109740040B (en) * | 2018-10-26 | 2023-06-06 | 深圳壹账通智能科技有限公司 | Verification code identification method, device, storage medium and computer equipment |
CN114860604B (en) * | 2022-05-24 | 2023-04-21 | 广州掌动智能科技有限公司 | Automatic test method, system and storage medium for automatically identifying dynamic verification code |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1791037A (en) * | 2005-12-26 | 2006-06-21 | 北京航空航天大学 | Method for realizing Web service automatic test |
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 |
CN102724191A (en) * | 2012-06-11 | 2012-10-10 | 华南理工大学 | Safe protecting method and device for Web verification code with combined picture and characters |
CN102930277A (en) * | 2012-09-19 | 2013-02-13 | 上海珍岛信息技术有限公司 | Character picture verification code identifying method based on identification feedback |
CN103020634A (en) * | 2011-09-26 | 2013-04-03 | 北京大学 | Segmentation method and device for recognizing identifying codes |
CN103716279A (en) * | 2012-09-28 | 2014-04-09 | 张仁平 | Method and system for realizing network authentication in question-and-answer manner |
CN103873432A (en) * | 2012-12-10 | 2014-06-18 | 深圳市腾讯计算机系统有限公司 | Verification code implementation method and system thereof and verification code server end |
CN104021376A (en) * | 2014-06-05 | 2014-09-03 | 北京乐动卓越科技有限公司 | Verification code identifying method and device |
CN104252620A (en) * | 2014-09-25 | 2014-12-31 | 同程网络科技股份有限公司 | Character-touching graph verification code recognition method |
CN104852916A (en) * | 2015-05-08 | 2015-08-19 | 西安石油大学 | Social engineering-based webpage verification code recognition method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2964814B1 (en) * | 2010-09-15 | 2012-09-28 | Alcatel Lucent | SECURE REGISTRATION TO A SERVICE PROVIDED BY A WEB SERVER |
KR101859942B1 (en) * | 2012-01-06 | 2018-05-21 | 캬피 인크 | Captcha provision method and computer readable medium on which captcha provision computer program is recorded |
-
2015
- 2015-09-28 CN CN201510628419.6A patent/CN105187443B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1791037A (en) * | 2005-12-26 | 2006-06-21 | 北京航空航天大学 | Method for realizing Web service automatic test |
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 |
CN103020634A (en) * | 2011-09-26 | 2013-04-03 | 北京大学 | Segmentation method and device for recognizing identifying codes |
CN102724191A (en) * | 2012-06-11 | 2012-10-10 | 华南理工大学 | Safe protecting method and device for Web verification code with combined picture and characters |
CN102930277A (en) * | 2012-09-19 | 2013-02-13 | 上海珍岛信息技术有限公司 | Character picture verification code identifying method based on identification feedback |
CN103716279A (en) * | 2012-09-28 | 2014-04-09 | 张仁平 | Method and system for realizing network authentication in question-and-answer manner |
CN103873432A (en) * | 2012-12-10 | 2014-06-18 | 深圳市腾讯计算机系统有限公司 | Verification code implementation method and system thereof and verification code server end |
CN104021376A (en) * | 2014-06-05 | 2014-09-03 | 北京乐动卓越科技有限公司 | Verification code identifying method and device |
CN104252620A (en) * | 2014-09-25 | 2014-12-31 | 同程网络科技股份有限公司 | Character-touching graph verification code recognition method |
CN104852916A (en) * | 2015-05-08 | 2015-08-19 | 西安石油大学 | Social engineering-based webpage verification code recognition method and system |
Non-Patent Citations (2)
Title |
---|
《Web自动化测试中针对验证码的解决方案》;段念;《程序员》;20061130(第11期);第111-114页 * |
《高效的验证码识别技术与验证码分类思想》;高能等;《计算机工程》;20090430;第35卷(第8期);第186-188页,第191页 * |
Also Published As
Publication number | Publication date |
---|---|
CN105187443A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107798321A (en) | A kind of examination paper analysis method and computing device | |
CN109086591A (en) | Method for recognizing verification code, device, computer equipment and storage medium | |
CN105187443B (en) | A kind of system and method for test WEB identifying codes | |
Li et al. | A data-driven metric for comprehensive evaluation of saliency models | |
CN106127505A (en) | The single recognition methods of a kind of brush and device | |
CN105989268A (en) | Safety access method and system for human-computer identification | |
CN102955912B (en) | Method and server for identifying application malicious attribute | |
CN107491536B (en) | Test question checking method, test question checking device and electronic equipment | |
CN112434742A (en) | Method, system and equipment for identifying Pompe frauds on Ether house | |
CN106844685A (en) | Method, device and server for recognizing website | |
CN107563360A (en) | Information acquisition method and device | |
CN107563386A (en) | Component verification method, device, equipment and computer-readable recording medium | |
CN107786867A (en) | Image identification method and system based on deep learning architecture | |
CN112989826A (en) | Test question score determining method, device, equipment and medium based on artificial intelligence | |
CN109582970A (en) | A kind of semantic measurement method, apparatus, equipment and readable storage medium storing program for executing | |
CN110223202A (en) | A kind of method and system of teaching stage property identification and scoring | |
CN108171229B (en) | Method and system for identifying hollow adhesion verification code | |
CN114881698A (en) | Advertisement compliance auditing method and device, electronic equipment and storage medium | |
CN107590236A (en) | A kind of big data acquisition method and system towards enterprise in charge of construction | |
CN108182356A (en) | The generation system of question-type picture validation code | |
CN104077524B (en) | Training method and viruses indentification method and device for viruses indentification | |
CN108199846A (en) | Question-type picture authentication server | |
CN110321883A (en) | Method for recognizing verification code and device, readable storage medium storing program for executing | |
CN106708851A (en) | Information processing method and device | |
CN112084103A (en) | Interface test method, device, equipment and medium |
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: 20201126 Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd. Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666 Patentee before: Phicomm (Shanghai) Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201216 Address after: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province Patentee after: Bengbu 309 Technology Consulting Co.,Ltd. Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd. |
|
TR01 | Transfer of patent right |
Effective date of registration: 20210201 Address after: 313001 room 1019, Xintiandi office building, Yishan street, Wuxing District, Huzhou, Zhejiang, China Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd. Address before: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province Patentee before: Bengbu 309 Technology Consulting Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A system and method for testing WEB verification code Effective date of registration: 20230111 Granted publication date: 20180306 Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd. Registration number: Y2023330000072 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20231205 Granted publication date: 20180306 Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd. Registration number: Y2023330000072 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240110 Address after: Room 701, No. 11 Xiangyang Road, Lufeng Street, Guiyang County, Chenzhou City, Hunan Province, 424400 Patentee after: Chenzhou Ruiyao Information Technology Co.,Ltd. Address before: 313001 room 1019, Xintiandi office building, Yishan street, Wuxing District, Huzhou, Zhejiang, China Patentee before: Huzhou YingLie Intellectual Property Operation Co.,Ltd. |
|
TR01 | Transfer of patent right |