CN116541821A - Verification code verification method based on scene - Google Patents

Verification code verification method based on scene Download PDF

Info

Publication number
CN116541821A
CN116541821A CN202310505210.5A CN202310505210A CN116541821A CN 116541821 A CN116541821 A CN 116541821A CN 202310505210 A CN202310505210 A CN 202310505210A CN 116541821 A CN116541821 A CN 116541821A
Authority
CN
China
Prior art keywords
module
verification
scene
picture
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.)
Pending
Application number
CN202310505210.5A
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.)
Wuhan Jiyi Network Technology Co ltd
Original Assignee
Wuhan Jiyi Network 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 Wuhan Jiyi Network Technology Co ltd filed Critical Wuhan Jiyi Network Technology Co ltd
Priority to CN202310505210.5A priority Critical patent/CN116541821A/en
Publication of CN116541821A publication Critical patent/CN116541821A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a verification code verification method based on a scene, which specifically comprises the following steps: s1, a verification request module is used for receiving a verification request of a user, and a scene judgment module is used for judging an application scene according to the verification request; s2, after the central processing system receives the request in the step S1, the verification code is extracted from the storage module of the database through the extraction module. According to the verification code verification method based on the scene, the input end of the scene judgment module is electrically connected with the output end of the verification request module, after the verification request is received, the application scene of the request is judged, in the scene with higher safety requirements, the picture enhancement module is used for enhancing the recognition difficulty in the mode of adding interference lines, adhering characters, partially overlapping and distorting the characters to the picture verification code, the safety level of the verification code is improved, verification codes with different levels are generated in different scenes, and the use is more intelligent and safe.

Description

Verification code verification method based on scene
Technical Field
The invention relates to the technical field of information security, in particular to a verification code verification method based on a scene.
Background
Information security refers to the technical and administrative security protection established and adopted for data processing systems, in order to protect computer hardware, software and data from being destroyed, altered and revealed by accidental and malicious reasons, and verification codes are public full-automatic programs for distinguishing whether users are computers or people, and can prevent: the password is broken maliciously, the ticket is brushed, forum is filled, continuous login attempts of a certain hacker on a certain specific registered user in a specific program violent breaking mode are effectively prevented, the verification code is actually used as a mode that a plurality of websites pass now, the function is achieved in a relatively simple mode, the problem can be generated and judged by a computer, but only a human is required to answer, and the computer cannot answer the verification code, so that a user answering the problem can be considered as a human.
At present, when verifying the identity of a user, a mode of a picture verification code is often used for verification, but in some scenes with higher safety, pictures which are easy to identify by the user are also easy to identify by other identification tools, the difficulty of the picture verification code is difficult to set according to different scenes, and verification safety is influenced.
Disclosure of Invention
(one) solving the technical problems
Aiming at the defects of the prior art, the invention provides a verification code verification method based on scenes, which solves the problems that pictures which are easy to be identified by users are easy to be identified by other identification tools, the difficulty of the picture verification code is difficult to set according to different scenes, and verification safety is influenced.
(II) technical scheme
In order to achieve the above purpose, the invention is realized by the following technical scheme: a verification code verification method based on a scene specifically comprises the following steps:
s1, a verification request module is used for receiving a verification request of a user, and a scene judgment module is used for judging an application scene according to the verification request;
s2, after the central processing system receives the request in the step S1, the verification code is extracted from the storage module of the database through the extraction module, the information receiving module is used for receiving the picture verification code, the picture reinforcing module is used for reinforcing the recognition difficulty of the picture verification code in a mode of adding interference lines, adhering characters, partially overlapping and twisting the characters in a scene with higher safety requirements, the picture processing module is used for carrying out clear processing on the digital blurred picture, and the picture generating module is used for generating a final picture verification code according to the processed picture;
s3, a display module is used for displaying the generated picture verification code, a user inputs the displayed verification code through a manual input module, a frequency limiting module is used for limiting the frequency of verification input, and a login module is used for entering a scene application after verification is successful;
s4, after the verification code is manually input in the step S3, the comparison module is used for comparing the input verification code with the verification code displayed in the display module, the judgment module is used for judging whether the verification code is correct, and the man-machine interaction unit receives the result uploaded by the judgment module;
s5, the storage module of the database stores picture verification codes, the updating module is used for updating the verification codes regularly, the protection module is used for carrying out safety protection on the storage module, and the classification module is used for classifying the verification codes in the storage module according to difficulty.
Preferably, in the step S3, after the verification code is correctly input in three times, verification is successfully performed, otherwise, verification needs to be requested again.
The invention also discloses a verification code verification system based on the scene, which comprises a central processing system, wherein the input end of the central processing system is electrically connected with the output end of the scene judging module, the input end of the scene judging module is electrically connected with the output end of the verification request module, the central processing system is in bidirectional connection with an information processing unit through wireless, the output end of the information processing unit is electrically connected with the input end of the picture generating module, the central processing system is in bidirectional connection with a man-machine interaction unit through wireless, the central processing system is in bidirectional connection with a database through wireless, the central processing system is in bidirectional connection with a comparison module through wireless, and the output end of the comparison module is electrically connected with the input end of the judging module.
Preferably, the picture generation module is in bidirectional connection with the central processing system through wireless, and the output end of the judging module is electrically connected with the input end of the central processing system.
Preferably, the information processing unit comprises an information receiving module, a picture enhancing module and a picture processing module.
Preferably, the man-machine interaction unit comprises a display module, a manual input module, a frequency limiting module and a login module.
Preferably, the database comprises a storage module, the storage module is in bidirectional connection with the updating module through wireless, and the storage module is in bidirectional connection with the classifying module through wireless.
Preferably, the storage module is in bidirectional connection with the extraction module through wireless, and the storage module is in bidirectional connection with the protection module through wireless.
(III) beneficial effects
The invention provides a verification code verification method based on a scene. The beneficial effects are as follows:
(1) According to the verification code verification method based on the scene, after the verification request is received, the application scene of the request is judged, and in the scene with higher safety requirements, the picture enhancement module is used for enhancing the recognition difficulty in the mode of adding interference lines, adhering characters, partially overlapping and distorting the characters to the picture verification code, so that the safety level of the verification code is improved, verification codes with different levels are generated in different scenes, and intelligent and safe use is achieved.
(2) According to the verification code verification method based on the scene, the picture verification code is stored in the database, the verification code is updated regularly through the updating module, and the picture verification code is matched with the protection module, so that an attacker is prevented from attacking the database by utilizing a vulnerability, and the safety of the database is improved.
(3) According to the verification code verification method based on the scene, the man-machine interaction unit comprises a display module, a manual input module, a frequency limiting module and a login module, when the verification code is manually input, verification is successful after the verification code is input correctly in three times, otherwise, verification is required to be requested again, the frequency of verification is limited, and the verification difficulty is improved.
Drawings
FIG. 1 is a flow chart of the system of the present invention;
FIG. 2 is a schematic block diagram of the system of the present invention;
FIG. 3 is a schematic block diagram of the information processing unit of the present invention;
FIG. 4 is a schematic block diagram of a man-machine interaction unit according to the present invention;
fig. 5 is a schematic block diagram of the structure of the database of the present invention.
In the figure: the system comprises a central processing system (CPU), a scene judging module (2), a verification request module (3), an information processing unit (4), an information receiving module (41), a picture reinforcing module (42), a picture processing module (43), a picture generating module (5), a man-machine interaction unit (6), a display module (61), a manual input module (62), a frequency limiting module (63), a login module (64), a database (7), a storage module (71), an updating module (72), a classification module (73), an extraction module (74), a protection module (75), a comparison module (8) and a judgment module (9).
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1-5, the embodiment of the present invention provides a technical solution: a verification code verification method based on a scene specifically comprises the following steps:
s1, a verification request module 3 is used for receiving a verification request of a user, a scene judging module 2 is used for judging an application scene according to the verification request, the scene specifically comprises a website login, a data protection, a payment platform and the like, and the scene which relates to privacy and funds is set as a scene with higher safety requirements;
s2, after the central processing system 1 receives the request in the step S1, the verification code is extracted from the storage module 71 of the database 7 through the extraction module 74, the information receiving module 41 is used for receiving the picture verification code, in a scene with higher safety requirements, the picture reinforcing module 42 is used for reinforcing the recognition difficulty in a mode of adding interference lines, adhering characters, partially overlapping and twisting the characters to the picture verification code, the scene with lower safety requirements does not need to be subjected to reinforcing processing, verification codes with different grades are generated in different scenes, more intelligent and safe are used, the picture processing module 43 is used for carrying out clear processing on the digitally blurred picture, data blurring is avoided, a user cannot see the picture clearly, and the picture generating module 5 is used for generating a final picture verification code according to the processed picture;
s3, a display module 61 is used for displaying the generated picture verification code, a user inputs the displayed verification code through a manual input module 62, a frequency limiting module 63 is used for limiting the frequency of verification input, and a login module 64 is used for entering a scene application after verification is successful;
s4, after the verification code is manually input in the step S3, the comparison module 8 is used for comparing the input verification code with the verification code displayed in the display module 61, the judgment module 9 is used for judging whether the verification code is correct, and the man-machine interaction unit 6 receives the result uploaded by the judgment module 9;
s5, a picture verification code is stored in a storage module 71 of the database 7, an updating module 72 is used for updating the verification code periodically, a protection module 75 is used for carrying out safety protection on the storage module 71, an attacker is prevented from attacking the database 7 by utilizing a vulnerability, the safety of the database 7 is improved, and a classification module 73 is used for classifying the verification code in the storage module 71 according to difficulty.
In the embodiment of the invention, after the verification code is correctly input in three times in the step S3, the verification is successful, otherwise, the verification is required to be requested again, and the security of the verification system is improved.
The invention also discloses a verification code verification system based on the scene, which comprises a central processing system 1, wherein the input end of the central processing system 1 is electrically connected with the output end of the scene judging module 2, the input end of the scene judging module 2 is electrically connected with the output end of the verification request module 3, the central processing system 1 is in bidirectional connection with the information processing unit 4 through wireless, the output end of the information processing unit 4 is electrically connected with the input end of the picture generating module 5, the central processing system 1 is in bidirectional connection with the man-machine interaction unit 6 through wireless, the central processing system 1 is in bidirectional connection with the database 7 through wireless, the central processing system 1 is in bidirectional connection with the comparison module 8 through wireless, and the output end of the comparison module 8 is electrically connected with the input end of the judging module 9.
In the embodiment of the invention, the picture generation module 5 is in bidirectional connection with the central processing system 1 through wireless, and the output end of the judgment module 9 is electrically connected with the input end of the central processing system 1.
In the embodiment of the present invention, the information processing unit 4 includes an information receiving module 41, a picture enhancing module 42, and a picture processing module 43.
In the embodiment of the present invention, the man-machine interaction unit 6 includes a display module 61, a manual input module 62, a number limiting module 63, and a login module 64.
In the embodiment of the present invention, the database 7 includes a storage module 71, the storage module 71 is connected with the update module 72 in a bidirectional manner, and the storage module 71 is connected with the classification module 73 in a bidirectional manner.
In the embodiment of the present invention, the storage module 71 is connected in two directions through the wireless and extraction module 74, and the storage module 71 is connected in two directions through the wireless and protection module 75.
And all that is not described in detail in this specification is well known to those skilled in the art.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. A verification code verification method based on a scene is characterized by comprising the following steps of: the method specifically comprises the following steps:
s1, a verification request module is used for receiving a verification request of a user, and a scene judgment module is used for judging an application scene according to the verification request;
s2, after the central processing system receives the request in the step S1, the verification code is extracted from the storage module of the database through the extraction module, the information receiving module is used for receiving the picture verification code, the picture reinforcing module is used for reinforcing the recognition difficulty of the picture verification code in a mode of adding interference lines, adhering characters, partially overlapping and twisting the characters in a scene with higher safety requirements, the picture processing module is used for carrying out clear processing on the digital blurred picture, and the picture generating module is used for generating a final picture verification code according to the processed picture;
s3, a display module is used for displaying the generated picture verification code, a user inputs the displayed verification code through a manual input module, a frequency limiting module is used for limiting the frequency of verification input, and a login module is used for entering a scene application after verification is successful;
s4, after the verification code is manually input in the step S3, the comparison module is used for comparing the input verification code with the verification code displayed in the display module, the judgment module is used for judging whether the verification code is correct, and the man-machine interaction unit receives the result uploaded by the judgment module;
s5, the storage module of the database stores picture verification codes, the updating module is used for updating the verification codes regularly, the protection module is used for carrying out safety protection on the storage module, and the classification module is used for classifying the verification codes in the storage module according to difficulty.
2. The scene-based captcha verification method of claim 1, wherein: and step S3, after the verification code is correctly input in three times, successful verification is performed, and if not, verification is required to be requested again.
3. A scene-based captcha verification system according to any one of claims 1-2, comprising a central processing system, wherein: the input end of the central processing system is electrically connected with the output end of the scene judging module, the input end of the scene judging module is electrically connected with the output end of the verification request module, the central processing system is in bidirectional connection with the information processing unit through a wireless mode, the output end of the information processing unit is electrically connected with the input end of the picture generating module, the central processing system is in bidirectional connection with the man-machine interaction unit through a wireless mode, the central processing system is in bidirectional connection with the database through a wireless mode, the central processing system is in bidirectional connection with the comparison module through a wireless mode, and the output end of the comparison module is electrically connected with the input end of the judging module.
4. A scene based captcha verification system as recited in claim 3, wherein: the picture generation module is in bidirectional connection with the central processing system through wireless, and the output end of the judging module is electrically connected with the input end of the central processing system.
5. A scene based captcha verification system as recited in claim 3, wherein: the information processing unit comprises an information receiving module, a picture reinforcing module and a picture processing module.
6. A scene based captcha verification system as recited in claim 3, wherein: the man-machine interaction unit comprises a display module, a manual input module, a frequency limiting module and a login module.
7. A scene based captcha verification system as recited in claim 3, wherein: the database comprises a storage module, the storage module is in bidirectional connection with the updating module through wireless, and the storage module is in bidirectional connection with the classifying module through wireless.
8. The scene based captcha verification system of claim 7, wherein: the storage module is in bidirectional connection with the extraction module through wireless, and the storage module is in bidirectional connection with the protection module through wireless.
CN202310505210.5A 2023-05-08 2023-05-08 Verification code verification method based on scene Pending CN116541821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310505210.5A CN116541821A (en) 2023-05-08 2023-05-08 Verification code verification method based on scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310505210.5A CN116541821A (en) 2023-05-08 2023-05-08 Verification code verification method based on scene

Publications (1)

Publication Number Publication Date
CN116541821A true CN116541821A (en) 2023-08-04

Family

ID=87457238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310505210.5A Pending CN116541821A (en) 2023-05-08 2023-05-08 Verification code verification method based on scene

Country Status (1)

Country Link
CN (1) CN116541821A (en)

Similar Documents

Publication Publication Date Title
US11546756B2 (en) System and method for dynamic multifactor authentication
CA2649015C (en) Graphical image authentication and security system
US8117458B2 (en) Methods and systems for graphical image authentication
US9800574B2 (en) Method and apparatus for providing client-side score-based authentication
CN109523611B (en) Verification code picture generation method and device
CN1998174A (en) Method and system to generate an image for monitoring user interaction with a computer
CA2789602A1 (en) Biometric sensor for human presence detection and associated methods
JP2018502410A (en) Common identification data replacement system and method
US10972465B1 (en) Secure authentication through visual codes containing unique metadata
CN109245902A (en) Protection method and device for instant messaging information verification code
CN111651749A (en) Method and device for finding account based on password, computer equipment and storage medium
WO2015062441A1 (en) Cgi web interface multi-session verification code generation and verification method
KR101392537B1 (en) User memory method using plural one time password
CN111949952B (en) Method for processing verification code request and computer-readable storage medium
CN1643551A (en) Method and system for user authentication in a digital communication system
CN116541821A (en) Verification code verification method based on scene
CN114727276A (en) Method and system for determining account information in user non-login state
CN111859362A (en) Multi-stage identity authentication method in mobile environment and electronic device
CN111709013A (en) Identity authentication method, device, storage medium and equipment based on image password
CN112054997B (en) Voiceprint login authentication method and related product thereof
CN111460422B (en) Method and device for generating verification code
CN115391762A (en) User identity authentication method and device, electronic equipment and computer storage medium
CN118279053A (en) Security verification method and system based on transaction permission and electronic equipment
KR101170822B1 (en) Confirmation method using variable secret puzzle
CN117290832A (en) Verification code generation method based on user input information

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