CN108011711A - 一种随机验证码 - Google Patents
一种随机验证码 Download PDFInfo
- Publication number
- CN108011711A CN108011711A CN201610930076.3A CN201610930076A CN108011711A CN 108011711 A CN108011711 A CN 108011711A CN 201610930076 A CN201610930076 A CN 201610930076A CN 108011711 A CN108011711 A CN 108011711A
- Authority
- CN
- China
- Prior art keywords
- code
- database
- numerals
- authentication code
- verification 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Storage Device Security (AREA)
Abstract
本发明提供一种随机验证码,通过系统获取用户访问信息,所述访问信息包括访问时间参数,系统获取访问时间参数的秒数,将构成秒数的两个数字带入公式,所述公式为A+B=C,获取两个数字之和C,使得C介于0‑14;所述验证码容器内设置15组验证码数据库,每个和数分别对应一组验证码数据库,系统获取两个数字之和后调用对应的验证码数据库,并从所述验证码数据库内随机抽取验证码字符,用户输入对应的验证码即可完成验证。由于时间是持续变化的,而秒数更易体现出时间的性质,这就导致在短时间内,验证码类型会不停发生变化,防止恶意软件通过单一数据库进行破解,增加破解成本。
Description
技术领域
本发明涉及一种验证码,具体的说,涉及了一种随机验证码。
背景技术
验证码发展逐渐完善,从最初的单纯数字的验证码到现在的图形验证码,验证难度越来越高,但是,破解技术也在提高,只要识别出数据库内的全部要素,就可以简单的进行逐一尝试的方法进行破解验证,安全性大打折扣,这些验证码系统的共同点都是数据库类型单一。
为了解决以上存在的问题,人们一直在寻求一种理想的技术解决方案。
发明内容
本发明的目的是针对现有技术的不足,从而提供一种设计科学、提升验证复杂程度、验证码数据库随时改变、安全性提高的一种随机验证码。
为了实现上述目的,本发明所采用的技术方案是:一种随机验证码,通过系统获取用户访问信息,所述访问信息包括访问时间参数,系统获取访问时间参数的秒数,将构成秒数的两个数字带入公式,所述公式为A+B=C,获取两个数字之和C,使得C介于0-14;所述验证码容器内设置15组验证码数据库,每个和数分别对应一组验证码数据库,系统获取两个数字之和后调用对应的验证码数据库,并从所述验证码数据库内随机抽取验证码字符,用户输入对应的验证码即可完成验证。
基上所述,所述验证码容器不包括若干数字验证码数据库、若干图片验证码数据库、若干字母验证码数据库和若干混合验证码数据库。
基上所述,所述数字验证码数据库和所述字母验证码数据库内的数字和字母呈现方式为图片形式,各图片在数据库内具有相应的标记以便调用正确。
本发明相对现有技术具有突出的实质性特点和显著的进步,具体的说,本发明通过获取登录时间的秒数数字,将两个数字相加,获取0-14,共15组数据,然后在验证码容器内设置15组各不相同的数据库,每个数据库分别对应一组计算数据,短时间内数据库不停切换,使得破解验证码的难度提升,大大提高了验证码的验证复杂性,提高破解成本。
具体实施方式
下面通过具体实施方式,对本发明的技术方案做进一步的详细描述。
一种随机验证码,通过系统获取用户访问信息,所述访问信息包括访问时间参数,系统获取访问时间参数的秒数,将构成秒数的两个数字带入公式,所述公式为A+B=C,A和B分别输入两个数字,获取两个数字之和C,使得C介于0-14;
所述验证码容器内设置15组验证码数据库,每个和数分别对应一组验证码数据库,系统获取两个数字之和后调用对应的验证码数据库,并从所述验证码数据库内随机抽取验证码字符,用户输入对应的验证码即可完成验证。
验证数据的构成主要有三步,第一步,用户访问信息的采集,第二步,将用户信息采集后,提取需要数据,进行运算,获取C,第三步,通过C查找对应的数据库,作为验证码数据库,然后抽取验证码字符,进行验证。
所述验证码容器不包括若干数字验证码数据库、若干图片验证码数据库、若干字母验证码数据库和若干混合验证码数据库,提升验证码的复杂性,避免验证码数据库过于单一,输入过于简单,数字数据输入可以有两位数、多位数等,字母数据库可以有单词、拼音等。
所述数字验证码数据库和所述字母验证码数据库内的数字和字母呈现方式为图片形式,各图片在数据库内具有相应的标记以便调用正确,为了防止程序直接从数据层进行查找,图片形式还需要识别步骤进行识别,增加查找难度。
最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制;尽管参照较佳实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者对部分技术特征进行等同替换;而不脱离本发明技术方案的精神,其均应涵盖在本发明请求保护的技术方案范围当中。
Claims (3)
1.一种随机验证码,其特征在于:通过系统获取用户访问信息,所述访问信息包括访问时间参数,系统获取访问时间参数的秒数,将构成秒数的两个数字带入公式,所述公式为A+B=C,获取两个数字之和C,使得C介于0-14;所述验证码容器内设置15组验证码数据库,每个和数分别对应一组验证码数据库,系统获取两个数字之和后调用对应的验证码数据库,并从所述验证码数据库内随机抽取验证码字符,用户输入对应的验证码即可完成验证。
2.根据权利要求1所述的随机验证码,其特征在于:所述验证码容器不包括若干数字验证码数据库、若干图片验证码数据库、若干字母验证码数据库和若干混合验证码数据库。
3.根据权利要求1所述的随机验证码,其特征在于:所述数字验证码数据库和所述字母验证码数据库内的数字和字母呈现方式为图片形式,各图片在数据库内具有相应的标记以便调用正确。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930076.3A CN108011711A (zh) | 2016-10-31 | 2016-10-31 | 一种随机验证码 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930076.3A CN108011711A (zh) | 2016-10-31 | 2016-10-31 | 一种随机验证码 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108011711A true CN108011711A (zh) | 2018-05-08 |
Family
ID=62047704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610930076.3A Withdrawn CN108011711A (zh) | 2016-10-31 | 2016-10-31 | 一种随机验证码 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108011711A (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362985A (zh) * | 2019-07-16 | 2019-10-22 | 北京天融信网络安全技术有限公司 | 一种验证方法及装置 |
CN110691086A (zh) * | 2019-09-29 | 2020-01-14 | 深圳供电局有限公司 | 一种跨平台的验证解锁方法 |
-
2016
- 2016-10-31 CN CN201610930076.3A patent/CN108011711A/zh not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362985A (zh) * | 2019-07-16 | 2019-10-22 | 北京天融信网络安全技术有限公司 | 一种验证方法及装置 |
CN110691086A (zh) * | 2019-09-29 | 2020-01-14 | 深圳供电局有限公司 | 一种跨平台的验证解锁方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Do et al. | One mandarin benefits the whole clan: hometown favoritism in an authoritarian regime | |
CN104598796B (zh) | 身份识别方法及系统 | |
Pak et al. | Asian Americans in higher education: Charting new realities: AEHE Volume 40, Number 1 | |
CN101702191A (zh) | 一种密码验证装置以及密码验证方法 | |
CN108510290B (zh) | 通话中客户信息修改方法、装置、计算机设备及存储介质 | |
CN102413100A (zh) | 声纹密码图片提示的声纹认证系统及其实现方法 | |
CN107194216A (zh) | 一种基于用户划屏习惯的移动身份认证方法及系统 | |
CN104407803B (zh) | 基于笔迹识别的屏幕解锁方法、装置和电子设备 | |
Lien | Pre-emigration socialization, transnational ties, and political participation across the pacific: A comparison among immigrants from China, Taiwan, and Hong Kong | |
CN104537290A (zh) | 基于多重指纹识别的密码系统及其实现方法 | |
CN108011711A (zh) | 一种随机验证码 | |
Schakel | Rethinking European elections: The importance of regional spillover into the European electoral arena | |
CN103455741A (zh) | 一种基于字符的在线笔迹认证的模板扩充方法 | |
CN110990811A (zh) | 一种身份认证方法及装置 | |
CN101833652A (zh) | 基于指纹识别的身份证核实系统 | |
CN102750464A (zh) | 一种基于用户标识的验证码方法 | |
Omotola et al. | Political participation and voter turnout in Nigeria's 2011 elections | |
CN201654806U (zh) | 基于指纹识别的身份证核实系统 | |
CN110246207A (zh) | 基于多图层的图形验证码生成方法 | |
CN102306339A (zh) | 一种远程教育、考试中采用指纹采集识别技术防止作弊的方法 | |
CN107665298A (zh) | 基于图形的密码生成系统及方法 | |
CN103473493B (zh) | 一种基于字符字根的在线笔迹认证及模板扩充方法 | |
Wright | University Missions and Legal Limitations on Campus Speech | |
Bajpai | Pluralizing pluralism: Lessons from, and for, India | |
Ghai | Territorial options |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180508 |
|
WW01 | Invention patent application withdrawn after publication |