CN107454118A - Identifying code acquisition methods and device, login method and system - Google Patents
Identifying code acquisition methods and device, login method and system Download PDFInfo
- Publication number
- CN107454118A CN107454118A CN201710940052.0A CN201710940052A CN107454118A CN 107454118 A CN107454118 A CN 107454118A CN 201710940052 A CN201710940052 A CN 201710940052A CN 107454118 A CN107454118 A CN 107454118A
- Authority
- CN
- China
- Prior art keywords
- identifying code
- picture
- login
- module
- acquisition
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000006243 chemical reaction Methods 0.000 claims abstract description 12
- 238000000605 extraction Methods 0.000 claims abstract description 8
- 238000004380 ashing Methods 0.000 claims description 16
- 238000011946 reduction process Methods 0.000 claims description 6
- 238000011990 functional testing Methods 0.000 abstract description 9
- 238000012360 testing method Methods 0.000 description 11
- 238000010200 validation analysis Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 241000282485 Vulpes vulpes Species 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 235000008954 quail grass Nutrition 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
-
- 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/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- 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/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing 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/2133—Verifying human interaction, e.g., Captcha
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiments of the invention provide a kind of identifying code acquisition methods and device, login method and system.Embodiments of the invention, identifying code picture is obtained first, identifying code code picture is carried out being ashed processing and binary conversion treatment afterwards, effectively filter out the interference pixel in identifying code image, improve the degree of accuracy of identifying code realization.Finally utilize the text message in the identifying code picture after image recognition technology extraction binary conversion treatment, it is verified character string corresponding to code, it is achieved thereby that it is automatic, identify identifying code exactly, avoid manual identified identifying code, the efficiency of the functional test for the application software for needing identifying code to log in largely is improved, saves manpower and cost.
Description
Technical field
The present embodiments relate to technical field of image processing, and more particularly, to a kind of identifying code acquisition methods
And device, login method and system.
Background technology
At present the web terminal of many management softwares or equipment when logging in except need to input username and password with
Outside, it is also necessary to be manually entered identifying code.The English full name of identifying code is Completely Automated Public Turing
Test to tell Computers and Humans Apart, it is a kind of to be used for that to distinguish user to be computer or people
Public full auto-programs.Identifying code can effectively prevent hacker from being poured water using computer program Brute Force password, brush ticket, forum
Deng illegal operation, therefore identifying code is that many application software use a kind of mode to guarantee safety in ground at present.
Although during the operation of reality, the application for needing identifying code to log in can be effectively protected using identifying code
Software is not by rogue attacks, but when carrying out functional test, needing also exist for being manually entered identifying code can just login successfully, afterwards
The test operation of correlation could be carried out.So, if needing during functional test the number of users that logs in big, it is necessary to artificially defeated
Enter multiple authentication code, for example, the functional test of certain management software needs to test the function of 10,000 newly-built users respectively, now
Artificial 10,000 identifying codes of input just are needed, not only cause the serious waste of manpower, the very big reduction of efficiency, it is often more important that
The artificial input validation code of big data quantity number is likely to complete, so as to cause functional test not complete.Therefore, if
Can be automatic, and identifying code is obtained exactly, it will the efficiency of above-mentioned application software functional test is largely improved, is saved
Human-saving and cost.
The content of the invention
The embodiment of the present invention provides a kind of identifying code acquisition methods and device, login method and system, its can automatically, standard
Identifying code really is obtained, largely improves the effect of the functional test for the application software for needing identifying code to log in
Rate, save manpower and cost.
First aspect, there is provided a kind of method for obtaining identifying code, methods described comprise the following steps:
Obtain identifying code picture;
Ashing processing is carried out to the identifying code picture;
According to reservation threshold, the identifying code picture after handling ashing carries out binary conversion treatment, obtains binaryzation picture;
The text message in the binaryzation picture is extracted, is verified character string corresponding to code.
With reference in a first aspect, in the first possible implementation, the reservation threshold the pixel of 120 pixel -150 it
Between.
With reference in a first aspect, in second of possible implementation, methods described is gone back before identifying code picture is obtained
Comprise the following steps:
Web page picture is obtained, wherein the Web page picture is the picture of the webpage comprising identifying code;
Obtain the positional information of identifying code picture;
According to the positional information, the identifying code picture is extracted in the Web page picture.
With reference in a first aspect, or first aspect the first possible implementation, in the third possible implementation
In, the text message in the extraction binaryzation picture is specially:The binary picture is extracted using pytesseract storehouses
Text message in piece.
Second aspect, there is provided a kind of login method, methods described are included described in any one of the claims 1 to 4
The method for obtaining identifying code.
With reference to second aspect, in a kind of possible implementation, methods described also comprises the following steps:
Enter access customer login interface;
Obtain the account and password of user;
On the login interface, the account, password and character string corresponding to identifying code are inputted.
The third aspect, there is provided a kind of identifying code acquisition device, the identifying code acquisition device include:
First picture acquisition module, for obtaining identifying code picture;
Processing module is ashed, for carrying out ashing processing to the identifying code picture;
Noise reduction process module, for according to reservation threshold, the identifying code picture after handling ashing to carry out binary conversion treatment,
Obtain binaryzation picture;
Text string extracting module, for extracting the text message in the binaryzation picture, it is verified word corresponding to code
Symbol string.
With reference to the third aspect, in a kind of possible implementation, the identifying code acquisition device also includes:
Second picture acquisition module, for obtaining Web page picture, wherein the Web page picture is the webpage for including identifying code
Picture;
Position acquisition module, for obtaining the positional information of identifying code picture;
Picture extraction module, for according to the positional information, the identifying code picture to be extracted in the Web page picture.
Fourth aspect, there is provided a kind of login system, the login system include testing described in the claims 7 or 8
Demonstrate,prove code acquisition device.
With reference to fourth aspect, in a kind of possible implementation, the login system also includes:
Login module, it is used for into access customer login interface;
Account acquisition module, for obtaining the account and password of user;
Input module, in the login interface, inputting the account, password and character corresponding to identifying code
String.
In the above-mentioned technical proposal of the embodiment of the present invention, identifying code picture is obtained first, afterwards to identifying code code picture
Carry out being ashed processing and binary conversion treatment, effectively filter out the interference pixel in identifying code image, improve identifying code realization
The degree of accuracy.Finally using the text message in the identifying code picture after image recognition technology extraction binary conversion treatment, it is verified
Code corresponding to character string, it is achieved thereby that automatically, accurately identify identifying code, avoid manual identified identifying code, largely
The efficiency of the functional test for the application software for needing identifying code to log in is improved, saves manpower and cost.
Brief description of the drawings
, below will be in embodiment or description of the prior art for the technical scheme of the clearer explanation embodiment of the present invention
The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention
Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 schematically illustrates the flow chart of identifying code acquisition methods according to an embodiment of the invention.
Fig. 2 schematically illustrates the flow chart of identifying code acquisition methods according to yet another embodiment of the invention.
Fig. 3 schematically illustrates the flow chart of login method according to an embodiment of the invention.
Fig. 4 schematically illustrates the flow chart of login method according to yet another embodiment of the invention.
Fig. 5 schematically illustrates the block diagram of identifying code acquisition device according to an embodiment of the invention.
Fig. 6 schematically illustrates the block diagram of identifying code acquisition device according to yet another embodiment of the invention.
Fig. 7 schematically illustrates the block diagram of login system according to an embodiment of the 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 the part of the embodiment of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, belongs to the scope of protection of the invention.
The application software such as the web terminal of management software or equipment need input validation code when logging in, and identifying code is to scheme
The form of piece is presented to user, and current computer program can not accurately identify the identifying code in picture, therefore need
Need to be manually entered identifying code in the scene that could be logged in using identifying code, so as to the scene band for needing a large amount of input validation codes
Very big labor workload is carried out, efficiency is low, and cost of labor is big.
For above-mentioned technical problem, the embodiments of the invention provide a kind of identifying code acquisition methods, as shown in figure 1, the party
Method comprises the following steps:
110th, identifying code picture is obtained;Here identifying code picture is the picture for including identifying code for being available to user;
120th, ashing processing is carried out to identifying code picture;
Identifying code picture is become gray-scale map by this step, eliminates color in original identifying code picture and identifying code is identified
Influence, while the small pixel of gray value or figure can be filtered out, the relatively low to a certain extent shallow figure of color is known to identifying code
Other influence.
130th, according to reservation threshold, the identifying code picture after handling ashing carries out binary conversion treatment, obtains binary picture
Piece;
This step is to carry out noise reduction process to the identifying code picture after ashing, it is therefore an objective to filters out gray value in identifying code picture
Higher jamming pattern or pixel.In order to filter out the jamming pattern or pixel that gray value is higher in identifying code picture, the present embodiment
Specifically used binaryzation mode is handled picture, and processing step specifically is to set reservation threshold first, afterwards by ash
In identifying code picture after change processing, the gray value that gray value is less than the pixel of reservation threshold is arranged to 0, gray value is more than pre-
The gray value for determining the pixel of threshold values is arranged to 255.By above-mentioned processing, relative to identifying code, in identifying code picture gray value compared with
Low jamming pattern or pixel is filtered out, and comparatively the high identifying code of gray value highlights, so that subsequent step energy
Enough identifying codes more accurately identified in identifying code picture.
Pass through the introduction to binary conversion treatment step, it may be determined that for filtering out for jamming pattern or pixel, reservation threshold
A vital factor, reservation threshold set it is too small can interfere figure or pixel filters out unclean, and make a reservation for
Excessive, the then faulty operation that identifying code figure can be caused to be filtered out that threshold values is set.One suitable reservation threshold is only set
Jamming pattern or pixel can be just effectively filtered out, while retains the identifying code figure of completion, just can guarantee that the accurate of identifying code identification
Degree.In the present embodiment, between reservation threshold could be arranged to 120 to 150, preferably reservation threshold is arranged to 140, through testing
Card, reservation threshold is arranged on 120 to 150 between when, the technical scheme of relatively existing automatic identification identifying code, the present embodiment
The degree of accuracy of identifying code identification greatly improves.
It should be noted that reservation threshold here can flexibly be set according to the scene demand of reality, the present invention is implemented
Example is not defined to this.
140th, the text message in binaryzation picture is extracted, is verified character string corresponding to code;
The text message being preferably by this step in pytesseract storehouses extraction binaryzation picture, that is, utilize
Text conversion in picture is text by python pytesser modules.Certainly can also be entered using other image identification methods
The identification of word, the embodiment of the present invention are not defined to this in row picture.
The identifying code acquisition methods of the present embodiment have carried out ashing and noise reduction process to identifying code picture first, ensure that and test
The degree of accuracy of code identification is demonstrate,proved, afterwards using the identifying code in the picture after the instrument identifying processing of image recognition, obtains identifying code
Corresponding character string.The present embodiment improves the degree of accuracy of identifying code identification, in very great Cheng while identifying code is obtained automatically
The efficiency of the functional test for the application software for needing identifying code to log in is improved on degree, saves manpower and cost.
In one embodiment, as shown in Fig. 2 identifying code acquisition methods before identifying code picture is obtained also include it is as follows
Step:
210th, Web page picture is obtained, wherein Web page picture is the picture of the webpage comprising identifying code;
Identifying code picture is included in the picture of the webpage where it, therefore, obtain before identifying code picture firstly the need of
Obtain the picture of whole webpage.
220th, the positional information of identifying code picture is obtained;
Identifying code picture is preferably rectangle, and positional information includes four summits of identifying code picture in whole webpage
The length of side of coordinate and identifying code picture.
The position that identifying code picture occurs in one login page is set in advance, can not be changed at random.Acquisition is tested
Code picture is demonstrate,proved firstly the need of the positional information for being verified yard picture, identifying code picture could be obtained according to the positional information.
Here positional information can be stored in advance in internal memory or disk, when needing to extract checking picture, from interior
Deposit or disk in read the positional information.
230th, according to positional information, identifying code picture is extracted in Web page picture.
In the method for the present embodiment, the picture of whole webpage is obtained first, then identifying code figure is extracted in Web page picture
Piece, naturally it is also possible to the picture of whole webpage is not obtained, but directly according to the positional information of identifying code picture, it is straight on webpage
Obtain and take identifying code picture, the embodiment of the present invention is not defined to the mode for obtaining identifying code picture.
The embodiment of the present invention has been also provided to a kind of login method, and the login method includes the acquisition of any of the above-described embodiment
The method of identifying code.Using the login method, character string corresponding to identifying code can be obtained automatically, so as to need to input largely
It can avoid being manually entered identifying code in the situation of identifying code, improve login efficiency, and save manpower and cost.
In one embodiment, as shown in figure 3, login method also comprises the following steps:
310th, access customer login interface is entered;
During automatic test, this step performs automatically, that is, after running relative program, it is automatic obtain and
The address of login interface is inputted, so that webpage switches into user's login interface;Automatically enter login interface address it
Before, the browser that will be used can also be automatically opened up by the execution of program;
320th, the account and password of user is obtained;
Here the account of user and password are stored in advance in in database, are performed by program, can automatically from
The account and password of user is obtained in database;
330th, on login interface, input account, password and character string corresponding to identifying code;
After account, password and the identifying code of user is obtained, performed by program, can by the account of user, password with
And opening position corresponding to identifying code input login interface, then performed by program and realize that automated log on is verified, so as to realize user
Full-automatic login, so as to improve login efficiency.
The login method of the present embodiment, before identifying code is obtained automatically, the step of can also including updating identifying code, with
Ensure after obtaining identifying code, identifying code picture no longer changes, and avoids repeating the step of obtaining identifying code.
Fig. 4 schematically illustrates the flow chart of login method according to yet another embodiment of the invention, and this method is also logical
Cross what the execution of program was automatically performed.Specifically, the method for the present embodiment comprises the following steps:
Step 1: automatically open up the browser needed to use;
Step 2: automatically entering the address for the page for needing to access, that is, automatically enter the address of login interface;
Step 3: in opening position corresponding to login interface, account and password are automatically entered;It should be noted that automatic
Input before account and password, include automatic the step of obtaining account and password certainly;
Step 4: identifying code picture is obtained automatically;
Step 5: identifying code picture is handled;Processing in this step to identifying code picture includes ashing and noise reduction
Processing;
Step 6: extracting text message from the identifying code picture after processing, character string corresponding to code is verified;
Step 4-step 6 uses the method for obtaining identifying code in above-mentioned any embodiment to realize;
Step 7: in opening position corresponding to login interface, character string corresponding to identifying code is automatically entered;
Step 8: register is performed automatically;
Step 9: being automatically brought into operation the software systems after logging in, the function of the software is realized.
The method of the present embodiment all automatically completes, and avoids manual operation, improves the efficiency of user's login, saves people
Power and cost.
The specific procedure that part steps are realized in the present embodiment is as follows:
Step 1 realizes that program is as follows:
Driver=webdriver.Firefox () # prepares to obtain red fox browser
Driver.maximize_window () # allows window maximized
driver.get("http:// 192.168.2.155 ") # uses red fox browser server address webpage
Step 3 realizes that program is as follows:
Driver.find_element_by_name (" usr ") .send_keys (" admin ") # automatically enters account
Driver.find_element_by_name (" pwd ") .send_keys (" admin ") # automatically enters password
Step 4-step 9 realizes that program is as follows:
The present embodiment can realize that user accesses login interface automatically, automatically enter account, password, automatic capture identifying code
Picture, is identified to identifying code and is converted into character string and input, and completes register, can be to software after login system
All page elements are operated.The essence that the method for the present embodiment can effectively reduce the operating time of operating personnel and spend
Power, so as to complete the test item that some can not artificially be completed, improve testing efficiency and improve test function.While the present embodiment
Method is applied to all systems that can be logged in web, and adaptability is extremely strong.
The method of above example is all based on python language and carries out programming, but the embodiment of the present invention is to tool
Body is not defined using method corresponding to which kind of programming language realization.
Corresponding to above-mentioned identifying code acquisition methods, the embodiment of the present invention additionally provides a kind of identifying code acquisition device, such as Fig. 5
Shown, the identifying code acquisition device includes:
First picture acquisition module, for obtaining identifying code picture;
Processing module is ashed, for carrying out ashing processing to identifying code picture;
Noise reduction process module, for according to reservation threshold, the identifying code picture after handling ashing to carry out binary conversion treatment,
Obtain binaryzation picture;
Text string extracting module, for extracting the text message in binaryzation picture, it is verified character string corresponding to code.
The identifying code acquisition device of the present embodiment has carried out ashing and noise reduction process to identifying code picture first, ensure that and tests
The degree of accuracy of code identification is demonstrate,proved, afterwards using the identifying code in the picture after the instrument identifying processing of image recognition, obtains identifying code
Corresponding character string.The present embodiment improves the degree of accuracy of identifying code identification, in very great Cheng while identifying code is obtained automatically
The efficiency of the functional test for the application software for needing identifying code to log in is improved on degree, saves manpower and cost.
In one embodiment, as shown in fig. 6, identifying code acquisition device also includes:
Second picture acquisition module, for obtaining Web page picture, wherein Web page picture is the figure of the webpage comprising identifying code
Piece;
Position acquisition module, for obtaining the positional information of identifying code picture;
Picture extraction module, for according to positional information, identifying code picture to be extracted in Web page picture.
Identifying code acquisition device in the present embodiment is production corresponding with the identifying code acquisition methods in the embodiment of the present invention
Product, each step of the identifying code acquisition methods in the embodiment of the present invention is by the identifying code acquisition device in the present embodiment
Part is completed, therefore is no longer repeated for identical part.
The embodiment of the present invention additionally provides a kind of login system, and the identifying code that the login system is included in above-described embodiment obtains
Take device.As shown in fig. 7, the login system also includes:
Login module, it is used for into access customer login interface;
Account acquisition module, for obtaining the account and password of user;
Input module, in login interface, input account, password and character string corresponding to identifying code
The login system, character string corresponding to identifying code can be obtained automatically, so as to largely need input validation code
It can avoid being manually entered identifying code in situation, improve login efficiency, and save any and cost
Login system in the present embodiment is product corresponding with the login method in the embodiment of the present invention, and the present invention is implemented
Each step of login method in example is completed by the part of the login system in the present embodiment, therefore for identical portion
Divide and no longer repeated.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered
Within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of identifying code acquisition methods, it is characterised in that the identifying code acquisition methods comprise the following steps:
Obtain identifying code picture;
Ashing processing is carried out to the identifying code picture;
According to reservation threshold, the identifying code picture after handling ashing carries out binary conversion treatment, obtains binaryzation picture;
The text message in the binaryzation picture is extracted, is verified character string corresponding to code.
2. identifying code acquisition methods according to claim 1, it is characterised in that the reservation threshold is in 120 pixels -150
Between pixel.
3. identifying code acquisition methods according to claim 1, it is characterised in that the identifying code acquisition methods are tested in acquisition
Before demonstrate,proving code picture, also comprise the following steps:
Web page picture is obtained, wherein the Web page picture is the picture of the webpage comprising identifying code;
Obtain the positional information of identifying code picture;
According to the positional information, the identifying code picture is extracted in the Web page picture.
4. identifying code acquisition methods according to claim 1 or 2, it is characterised in that the extraction binaryzation picture
In text message be specially:The text message in the binaryzation picture is extracted using pytesseract storehouses.
5. a kind of login method, it is characterised in that methods described includes the identifying code described in any one of the claims 1 to 4
Acquisition methods.
6. login method according to claim 5, it is characterised in that the login method also comprises the following steps:
Enter access customer login interface;
Obtain the account and password of user;
On the login interface, the account, password and character string corresponding to identifying code are inputted.
7. a kind of identifying code acquisition device, it is characterised in that the identifying code acquisition device includes:
First picture acquisition module, for obtaining identifying code picture;
Processing module is ashed, for carrying out ashing processing to the identifying code picture;
Noise reduction process module, for according to reservation threshold, the identifying code picture after handling ashing to carry out binary conversion treatment, obtained
Binaryzation picture;
Text string extracting module, for extracting the text message in the binaryzation picture, it is verified character string corresponding to code.
8. identifying code acquisition device according to claim 7, it is characterised in that the identifying code acquisition device also includes:
Second picture acquisition module, for obtaining Web page picture, wherein the Web page picture is the figure of the webpage comprising identifying code
Piece;
Position acquisition module, for obtaining the positional information of identifying code picture;
Picture extraction module, for according to the positional information, the identifying code picture to be extracted in the Web page picture.
9. a kind of login system, it is characterised in that the identifying code that the login system includes described in the claims 7 or 8 obtains
Take device.
10. login system according to claim 9, it is characterised in that the login system also includes:
Login module, it is used for into access customer login interface;
Account acquisition module, for obtaining the account and password of user;
Input module, in the login interface, inputting the account, password and character string corresponding to identifying code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710940052.0A CN107454118A (en) | 2017-10-11 | 2017-10-11 | Identifying code acquisition methods and device, login method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710940052.0A CN107454118A (en) | 2017-10-11 | 2017-10-11 | Identifying code acquisition methods and device, login method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107454118A true CN107454118A (en) | 2017-12-08 |
Family
ID=60497735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710940052.0A Pending CN107454118A (en) | 2017-10-11 | 2017-10-11 | Identifying code acquisition methods and device, login method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107454118A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108270796A (en) * | 2018-02-28 | 2018-07-10 | 北京奇艺世纪科技有限公司 | A kind of verification method of image authentication code, apparatus and system |
CN108563559A (en) * | 2018-03-12 | 2018-09-21 | 平安普惠企业管理有限公司 | A kind of test method of identifying code, device, terminal device and storage medium |
CN109189683A (en) * | 2018-08-28 | 2019-01-11 | 中金金融认证中心有限公司 | A kind of method and system automatically entered for identifying code in APP test |
CN109284600A (en) * | 2018-08-08 | 2019-01-29 | 贵阳朗玛信息技术股份有限公司 | A kind of method and device of identifying code for identification |
CN109740040A (en) * | 2018-10-26 | 2019-05-10 | 深圳壹账通智能科技有限公司 | Method for recognizing verification code, device, storage medium and computer equipment |
CN110888709A (en) * | 2019-12-04 | 2020-03-17 | 中山市凯能集团有限公司 | Intelligent operation method and device of monitoring screen, computer equipment and storage medium |
CN111143213A (en) * | 2019-12-24 | 2020-05-12 | 北京数衍科技有限公司 | Software automation test method and device and electronic equipment |
CN111352827A (en) * | 2018-12-24 | 2020-06-30 | 中移信息技术有限公司 | Automatic testing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101149716B1 (en) * | 2011-05-13 | 2012-06-08 | 주식회사 아이티아이앤티 | An identification code conversion method and the apparatus |
CN105844140A (en) * | 2016-03-21 | 2016-08-10 | 国家电网公司 | Website login brute force crack method and system capable of identifying verification code |
CN106355205A (en) * | 2016-08-31 | 2017-01-25 | 西安西拓电气股份有限公司 | Recognition method and device for figures in ultraviolet image |
CN106960306A (en) * | 2017-02-23 | 2017-07-18 | 杭州仟金顶卓筑信息科技有限公司 | Architectural engineering material management system remote acknowledgement signature data entry method |
-
2017
- 2017-10-11 CN CN201710940052.0A patent/CN107454118A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101149716B1 (en) * | 2011-05-13 | 2012-06-08 | 주식회사 아이티아이앤티 | An identification code conversion method and the apparatus |
CN105844140A (en) * | 2016-03-21 | 2016-08-10 | 国家电网公司 | Website login brute force crack method and system capable of identifying verification code |
CN106355205A (en) * | 2016-08-31 | 2017-01-25 | 西安西拓电气股份有限公司 | Recognition method and device for figures in ultraviolet image |
CN106960306A (en) * | 2017-02-23 | 2017-07-18 | 杭州仟金顶卓筑信息科技有限公司 | Architectural engineering material management system remote acknowledgement signature data entry method |
Non-Patent Citations (1)
Title |
---|
黑面狐: "对验证码进行灰度,二值化样本采集", 《HTTPS://BLOG.CSDN.NET/QQ1124794084/ARTICLE/DETAILS/52759517》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108270796A (en) * | 2018-02-28 | 2018-07-10 | 北京奇艺世纪科技有限公司 | A kind of verification method of image authentication code, apparatus and system |
CN108270796B (en) * | 2018-02-28 | 2020-11-03 | 北京奇艺世纪科技有限公司 | Method, device and system for verifying image verification code |
CN108563559A (en) * | 2018-03-12 | 2018-09-21 | 平安普惠企业管理有限公司 | A kind of test method of identifying code, device, terminal device and storage medium |
CN109284600A (en) * | 2018-08-08 | 2019-01-29 | 贵阳朗玛信息技术股份有限公司 | A kind of method and device of identifying code for identification |
CN109189683A (en) * | 2018-08-28 | 2019-01-11 | 中金金融认证中心有限公司 | A kind of method and system automatically entered for identifying code in APP test |
CN109740040A (en) * | 2018-10-26 | 2019-05-10 | 深圳壹账通智能科技有限公司 | Method for recognizing verification code, device, storage medium and computer equipment |
CN109740040B (en) * | 2018-10-26 | 2023-06-06 | 深圳壹账通智能科技有限公司 | Verification code identification method, device, storage medium and computer equipment |
CN111352827A (en) * | 2018-12-24 | 2020-06-30 | 中移信息技术有限公司 | Automatic testing method and device |
CN110888709A (en) * | 2019-12-04 | 2020-03-17 | 中山市凯能集团有限公司 | Intelligent operation method and device of monitoring screen, computer equipment and storage medium |
CN111143213A (en) * | 2019-12-24 | 2020-05-12 | 北京数衍科技有限公司 | Software automation test method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107454118A (en) | Identifying code acquisition methods and device, login method and system | |
CN110851835B (en) | Image model detection method and device, electronic equipment and storage medium | |
CN106572117B (en) | A kind of detection method and device of WebShell file | |
US20180309772A1 (en) | Method and device for automatically verifying security event | |
CN105681351B (en) | Verification method and system based on interactive operation, user equipment and server | |
CN107360145B (en) | Multi-node honeypot system and data analysis method thereof | |
CN112565250B (en) | Website identification method, device, equipment and storage medium | |
CN103166966B (en) | Identify the method to the unauthorized access request of website and device | |
CN103118035B (en) | Method and the device of analyzing web site access request parameters legal range | |
CN105844140A (en) | Website login brute force crack method and system capable of identifying verification code | |
CN108241580B (en) | Client program testing method and terminal | |
CN110933103A (en) | Anti-crawler method, device, equipment and medium | |
CN104980421A (en) | Method and system for processing batch requests | |
CN104852916A (en) | Social engineering-based webpage verification code recognition method and system | |
CN113572757B (en) | Server access risk monitoring method and device | |
CN110493142B (en) | Mobile application program behavior identification method based on spectral clustering and random forest algorithm | |
CN109727027A (en) | Account recognition methods, device, equipment and storage medium | |
CN109977641A (en) | A kind of authentication processing method and system of Behavior-based control analysis | |
CN107437088A (en) | File identification method and device | |
CN106097403B (en) | Method for acquiring network protected index data based on image curve calculation | |
CN109981804A (en) | Generation, recognition methods, system, equipment and the medium of terminal device identification id | |
CN110278197A (en) | A kind of management system and its management method of Internet of Things | |
CN116015800A (en) | Scanner identification method and device, electronic equipment and storage medium | |
CN109271781B (en) | Method and system for detecting super authority obtaining behavior of application program based on kernel | |
CN114756850A (en) | Data acquisition method, device, equipment and 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171208 |