CN113505360A - Verification code request processing method and related equipment - Google Patents

Verification code request processing method and related equipment Download PDF

Info

Publication number
CN113505360A
CN113505360A CN202110806498.0A CN202110806498A CN113505360A CN 113505360 A CN113505360 A CN 113505360A CN 202110806498 A CN202110806498 A CN 202110806498A CN 113505360 A CN113505360 A CN 113505360A
Authority
CN
China
Prior art keywords
verification code
click
character
picture
original
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
CN202110806498.0A
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.)
Hunan MgtvCom Interactive Entertainment Media Co Ltd
Original Assignee
Hunan MgtvCom Interactive Entertainment Media 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 Hunan MgtvCom Interactive Entertainment Media Co Ltd filed Critical Hunan MgtvCom Interactive Entertainment Media Co Ltd
Priority to CN202110806498.0A priority Critical patent/CN113505360A/en
Publication of CN113505360A publication Critical patent/CN113505360A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The verification code request processing method and the related device provided by the disclosure can send the click picture link and the determined at least one click character in the original verification code record to the user side, so that the user side can directly obtain the click verification code picture according to the click picture link, generate click prompt information according to the at least one click character, and display the click verification code picture and the click prompt information. According to the technical means, the click picture link is sent to the user side, and the user side directly obtains the click verification code picture through the click picture link, so that the bandwidth resource of the verification code request processing process is saved, the processing pressure of the back-end equipment is effectively reduced, and the verification code request processing efficiency of the back-end equipment is improved.

Description

Verification code request processing method and related equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method for processing an authentication code request and a related device.
Background
With the development of computer technology, more and more websites and applications provide the function of verifying the verification code, so as to improve the security of the websites and applications in the using process.
Currently, the click of the verification code belongs to a verification code generation scheme with high implementation difficulty. Because the generation of the click verification code requires complex processing on characters and pictures, more computer resources are occupied. If the click verification code is generated in real time, the processing pressure and bandwidth pressure of the back-end equipment are easily overlarge in the peak period of the flow, so that the processing performance of the back-end equipment is influenced, and the user experience is reduced.
Disclosure of Invention
In view of the foregoing, the present disclosure provides an authentication code request processing method and related device for overcoming the foregoing problems or at least partially solving the foregoing problems, and the technical solutions are as follows:
a method for processing an authentication code request comprises the following steps:
acquiring a verification code acquisition request sent by a user side;
acquiring an original verification code record according to the verification code acquisition request, wherein the original verification code record comprises a click picture link and original character information, the click picture link points to a storage position of a click verification code picture, and the original character information comprises at least one original character;
determining at least one click character in the at least one original character;
and sending the clicking picture link and the at least one clicking character to the user side, so that the user side obtains the clicking verification code picture according to the clicking picture link, generates clicking prompt information according to the at least one clicking character, and displays the clicking prompt information and the clicking verification code picture.
Optionally, the determining at least one click character in the at least one original character includes:
and randomly selecting at least one original character, and determining at least one click character.
Optionally, the verification code obtaining request includes a request user identifier corresponding to the user side, the original character information further includes character coordinates of each original character on the click verification code picture, and the method further includes:
determining the character coordinates of each selected character on the selected verification code picture according to the character coordinates of each original character on the selected verification code picture;
and correspondingly storing the character coordinates of each clicking character on the clicking verification code picture and the request user identification.
Optionally, after the sending the click picture link and the at least one click character to the user side, the method further includes:
acquiring a verification code comparison request sent by the user side, wherein the verification code comparison request comprises the request user identifier and a click coordinate, and the click coordinate corresponds to a click position of a user on the click verification code image displayed by the user side;
and comparing and verifying the clicking coordinates and the character coordinates of the clicked characters on the clicking verification code picture based on the request user identification to obtain a verification result.
Optionally, before obtaining the verification code obtaining request sent by the user side, the method further includes:
obtaining a bottom layer picture and a character material, wherein the character material comprises the at least one original character;
generating click picture information according to the bottom picture and the character material, wherein the click picture information comprises the click verification code picture and the original character information;
storing the click verification code picture into a cloud server to obtain a click picture link;
and correspondingly storing the clicked picture link and the original character information in a preset database as the original verification code record.
Optionally, after the clicked picture link and the original character information are correspondingly stored in a preset database as the original verification code record, the method further includes:
and storing the original verification code records stored in the preset database into a preset cache according to a preset updating time interval.
Optionally, the verification code obtaining request further includes a request source type, and obtaining an original verification code record according to the verification code obtaining request includes:
and searching an original verification code record in the preset cache according to the request source type, and if the original verification code record is not searched, searching the original verification code record in the preset database.
An authentication code request processing apparatus comprising: a first request obtaining unit, an original verification code record obtaining unit, a click character determining unit and a link character transmitting unit,
the first request obtaining unit is used for obtaining a verification code obtaining request sent by a user side;
the original verification code record obtaining unit is used for obtaining an original verification code record according to the verification code obtaining request, wherein the original verification code record comprises a click picture link and original character information, the click picture link points to a storage position of a click verification code picture, and the original character information comprises at least one original character;
the click character determination unit is used for determining at least one click character in the at least one original character;
the link character sending unit is used for sending the click picture link and the at least one click character to the user side, so that the user side can obtain the click verification code picture according to the click picture link, generate click prompt information according to the at least one click character, and display the click prompt information and the click verification code picture.
A computer-readable storage medium on which a program is stored, the program, when executed by a processor, implementing the authentication code request processing method according to any one of the above.
An electronic device comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the captcha request processing method as described in any one of the above.
By means of the technical scheme, the verification code request processing method and the related equipment provided by the disclosure can send the click picture link in the original verification code record and the determined at least one click character to the user side, so that the user side can directly obtain the click verification code picture according to the click picture link, generate click prompt information according to the at least one click character, and display the click verification code picture and the click prompt information. According to the technical means, the click picture link is sent to the user side, and the user side directly obtains the click verification code picture through the click picture link, so that the bandwidth resource of the verification code request processing process is saved, the processing pressure of the back-end equipment is effectively reduced, and the efficiency of the back-end equipment for processing the verification code request is improved.
The foregoing description is only an overview of the technical solutions of the present disclosure, and the embodiments of the present disclosure are described below in order to make the technical means of the present disclosure more clearly understood and to make the above and other objects, features, and advantages of the present disclosure more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the disclosure. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic diagram illustrating an implementation manner of a method for processing an authentication code request according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a click verification code picture provided by an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating another implementation manner of a verification code request processing method provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating another implementation manner of a verification code request processing method provided by an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating another implementation manner of a verification code request processing method according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating another implementation manner of a verification code request processing method according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating a display interface of a user end for clicking prompt information and clicking a verification code picture according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram illustrating another implementation manner of a verification code request processing method according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating another implementation manner of a verification code request processing method according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram illustrating an authentication code request processing apparatus according to an embodiment of the present disclosure;
fig. 11 shows a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, an implementation manner diagram of a verification code request processing method provided in an embodiment of the present disclosure is shown, where the verification code request processing method may include:
s100, acquiring a verification code acquisition request sent by a user side.
The client is a foreground portion of the website applying the front-end framework, and may also be referred to as a front end. The front end may run on a browser to present the browsed web pages to the user. The verification code request processing method provided by the disclosure can be applied to back-end equipment. The backend device may be a server.
Optionally, the user may trigger an authentication code obtaining button preset on the user side, and the user side sends an authentication code obtaining request in response to the user triggering operation. The embodiment of the disclosure can obtain the verification code obtaining request sent by the user side responding to the triggering operation of the user.
Optionally, the user side may automatically send the verification code acquisition request in the process of jumping to the webpage requiring the verification code service. The embodiment of the disclosure can obtain the verification code acquisition request automatically sent by the user side.
The verification code obtaining request may include a request user identifier and a request source type corresponding to the user side. Optionally, the requesting user Identifier may be a Universal Unique Identifier (UUID) or a Global Unique Identifier (GUID). The request source type is the type of the source access party corresponding to the user terminal. The embodiment of the disclosure can divide types in advance according to the source access party corresponding to the user side. For example: the source access party can be a comprehensive program or a financial program. The embodiment of the disclosure can provide different styles of verification code services for different types of source access parties by dividing the types of the source access parties, thereby realizing differentiated processing.
S200, obtaining an original verification code record according to the verification code obtaining request, wherein the original verification code record comprises a click picture link and original character information, the click picture link points to the storage position of the click verification code picture, and the original character information comprises at least one original character.
Wherein, characters are the general names of characters and symbols. For example: the characters may include simplified Chinese characters, traditional Chinese characters, English letters, punctuation marks and operation symbols. The click picture link may be a hyperlink pointing from a web page to the storage location of the click captcha picture. For example: the clicked picture link may be "https:// _ x. t.v.com/15/2105261618159748/95760. png". The click verification code picture is formed by rendering and splicing a bottom picture and character materials. The character material can be obtained by performing material processing on the original characters. For example: material processing may include font style adjustment, font size adjustment, and font color adjustment. As shown in fig. 2, the click verification code picture may be formed by rendering and splicing the character materials "beautiful", "good", "raw", and "live" and the bottom picture "blue sky and white cloud". It is understood that in practical use cases, the click verification code picture may be a color picture.
Optionally, the original character information may include at least one of simplified chinese characters, traditional chinese characters, english letters, punctuation marks, and operation marks.
The click verification code picture can be generated in advance, the generated click verification code picture can be directly fed back to the user side for displaying after the verification code acquisition request is obtained, and the response time from the verification code acquisition request to the display of the click verification code picture is shortened.
The method and the device for storing the clicking verification code picture can pre-store the clicking verification code picture generated by the bottom picture and the character material, acquire the clicking picture link pointing to the storage address of the clicking verification code picture, and correspondingly store the clicking picture link and the original character information.
Optionally, based on the method shown in fig. 1, as shown in fig. 3, in another implementation schematic diagram of the verification code request processing method provided in the embodiment of the present disclosure, before step S100, the verification code request processing method may further include:
and S01, obtaining a bottom picture and character materials, wherein the character materials comprise at least one original character.
And the bottom layer picture and the character material are both approved through information security. The information security auditing system can be accessed to audit information of the bottom pictures and the character materials. The information security auditing system and the information auditing process are not limited in the embodiment of the disclosure. According to the method and the device, the information security auditing system is used for auditing the information of the bottom layer picture and the character material, so that the condition that the selected verification code picture contains illegal information can be avoided, and the legality of the selected verification code picture is ensured.
And S02, generating click picture information according to the bottom picture and the character material, wherein the click picture information comprises click verification code pictures and original character information.
The embodiment of the disclosure can be used for rendering and splicing the bottom pictures and the character materials to generate the click verification code pictures. The embodiment of the present disclosure does not limit the process of rendering and splicing.
And S03, storing the click verification code picture into the cloud server to obtain a click picture link.
The click picture link is a hyperlink pointing to the storage position of the click verification code picture in the cloud server.
And S04, correspondingly storing the clicked picture link and the original character information as an original verification code record in a preset database.
The embodiment of the disclosure can manage the original verification code records stored in the preset database. Specifically, the embodiment of the present disclosure may perform online processing or offline processing on the original verification code record stored in the preset database. The method and the device for partitioning the original verification code records in the preset database can perform source type partitioning on the original verification code records in the preset database, and partition each original verification code record into one or more types.
According to the embodiment of the disclosure, the generated click verification code picture and the original character information are correspondingly stored in the preset database as the original verification code record, so that the original verification code record is conveniently managed in the preset database in a centralized manner, and timely response and differentiation processing on the verification code acquisition request are facilitated.
Optionally, based on the method shown in fig. 3, as shown in fig. 4, in another implementation schematic diagram of the verification code request processing method provided in the embodiment of the present disclosure, after step S04, the verification code request processing method further includes:
and S05, storing the original verification code records stored in the preset database into a preset cache according to the preset updating time interval.
The preset cache is a memory capable of high-speed data exchange. The embodiment of the disclosure can perform asynchronous update on the preset cache based on the preset database. The upper and lower line states and the types of the original verification code records in the preset database can be updated to the preset cache. According to the embodiment of the disclosure, the original verification code record stored in the preset database is stored in the preset cache, so that the original verification code record can be quickly read from the preset cache, the request response efficiency is improved, and the request response time is shortened.
Optionally, in the embodiment of the present disclosure, the original verification code record may be searched in the preset cache according to the verification code obtaining request, and if the original verification code record is not found, the original verification code record is searched in the preset database.
Because the original verification code record is classified in advance, the embodiment of the disclosure can search the original verification code record according to the request source type in the verification code acquisition request.
Optionally, based on the method shown in fig. 4, as shown in fig. 5, a schematic diagram of another implementation manner of the verification code request processing method provided in the embodiment of the present disclosure, step S200 may include:
s210, according to the request source type, searching the original verification code record in a preset cache, if the original verification code record is not searched, executing the step S220, and if the original verification code record is searched, executing the step S300.
S220, searching the original verification code record in a preset database.
According to the request source type, one or more original verification code records corresponding to the request source type can be searched in the preset cache or the preset database. If the request source type corresponds to a plurality of original verification code records, an original verification code record can be determined as a target original verification code record according to a preset record selection mode. Optionally, the preset recording selection mode may be a random selection.
According to the embodiment of the disclosure, the original verification code records are searched in the preset cache and the preset database in sequence, so that the effective response rate of the request can be improved, and the target original verification code record is randomly selected under the condition that a plurality of original verification code records are searched, so that the safety of verification code request processing is improved.
S300, determining at least one click character in at least one original character.
The embodiment of the disclosure can determine at least one click character in at least one original character according to a preset click character determination mode. For example: the preset click character determination method may be to determine a character, in the at least one original character, of which the first pinyin letter is in front of the alphabet as a click character, or may be to determine two characters, in which the number of strokes is smaller than that of other original characters in the at least one original character, as click characters. For example: assuming that the original characters are "beautiful", "good", "raw", and "alive", the predetermined click character determination manner is to determine two characters having the same pinyin initial in the original character as click characters, and then the determined click characters are "good" and "alive".
Of course, the predetermined click character determination manner may also be to randomly select a predetermined number of characters from the at least one original character as click characters.
Optionally, based on the method shown in fig. 1, as shown in fig. 6, a schematic diagram of another implementation manner of the verification code request processing method provided in the embodiment of the present disclosure, step S300 may include:
s310, randomly selecting at least one original character, and determining at least one click character.
The embodiment of the disclosure can prevent cracking and improve the safety of processing the request of the verification code by randomly selecting the click character in at least one original character.
S400, sending the click picture link and the at least one click character to the user side so that the user side can obtain a click verification code picture according to the click picture link, generate click prompt information according to the at least one click character, and display the click prompt information and the click verification code picture.
The user side can directly read the click verification code picture from the cloud server through the click picture link and display the click verification code picture. The user end can input the at least one click character into a preset prompt message template to generate click prompt messages. For example: the interface displayed by the user end for clicking prompt information and clicking verification code picture can be as shown in fig. 7, the clicking prompt information can be "please select ' good ' live ' in the next picture", and the clicking verification code picture is below the clicking prompt information.
The method and the device for processing the clicking image link send the clicking image link to the user side, the user side obtains the clicking verification code image directly through the clicking image link, the clicking verification code does not need to be generated in real time, and the bandwidth resources occupied by sending the clicking image link and the clicking character to the user side are small, so that the request response time can be shortened, the processing pressure of the back-end equipment is effectively reduced, and the normal operation of the back-end equipment is guaranteed.
The verification code request processing method provided by the disclosure can send the click picture link in the original verification code record and the determined at least one click character to the user side, so that the user side can directly obtain the click verification code picture according to the click picture link, generate click prompt information according to the at least one click character, and display the click verification code picture and the click prompt information. According to the technical means, the click picture link is sent to the user side, and the user side directly obtains the click verification code picture through the click picture link, so that the bandwidth resource of the verification code request processing process is saved, the processing pressure of the back-end equipment is effectively reduced, and the verification code request processing efficiency of the back-end equipment is improved.
Optionally, the verification code obtaining request may include a request user identifier corresponding to the user side, and the original character information may further include character coordinates of each original character on the clicked verification code picture.
Optionally, based on the method shown in fig. 1, as shown in fig. 8, a schematic diagram of another implementation manner of the verification code request processing method provided in the embodiment of the present disclosure is shown, where the verification code request processing method may further include:
s500, determining the character coordinates of each point selection character on the click verification code picture according to the character coordinates of each original character on the click verification code picture.
It is understood that after the click character is determined in step S300, the embodiment of the present disclosure may simultaneously determine the character coordinates of the click character on the click captcha image.
S600, correspondingly storing the character coordinates of each click character on the click verification code picture and the request user identification.
Specifically, the embodiment of the present disclosure may store the character coordinates of each click character on the click verification code picture and the request user identifier in a preset cache, and set the expiration time. It can be understood that after the expiration time is reached, the character coordinates of each click character stored in the preset cache on the click verification code picture and the relevant data stored corresponding to the request user identification are cleared.
The character coordinates of each click character on the click verification code picture and the request user identification are correspondingly stored, so that the character coordinates and the request user identification can be conveniently compared and verified with the characters clicked by the user.
Optionally, based on the method shown in fig. 8, as shown in fig. 9, in another implementation schematic diagram of the verification code request processing method provided in the embodiment of the present disclosure, after step S400, the verification code request processing method may further include:
s700, obtaining a verification code comparison request sent by a user side, wherein the verification code comparison request comprises a request user identifier and a click coordinate, and the click coordinate corresponds to a click position of a user on a click verification code image displayed by the user side.
S800, comparing and verifying the clicking coordinates and the character coordinates of the clicking characters on the clicking verification code picture based on the request user identification to obtain a verification result.
The embodiment of the disclosure can determine that the verification result is passed under the condition that the click coordinates are consistent with the character coordinates of the click characters on the click verification code picture, and determine that the verification result is failed under the condition that the click coordinates are inconsistent with the character coordinates of the click characters on the click verification code picture.
The method and the device for verifying the click verification code are based on the request user identification, the click coordinates and the character coordinates of the click characters on the click verification code picture are compared and verified, real user operation or malicious attack behaviors can be accurately and effectively distinguished, and the safety of a website and application in the using process is improved.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the foregoing method embodiment, an embodiment of the present disclosure further provides an apparatus for processing an authentication code request, where the structure of the apparatus is shown in fig. 10, and the apparatus may include: a first request obtaining unit 100, an original authentication code record obtaining unit 200, a click character determining unit 300, and a link character transmitting unit 400.
The first request obtaining unit 100 is configured to obtain an authentication code obtaining request sent by a user side.
An original verification code record obtaining unit 200, configured to obtain an original verification code record according to the verification code obtaining request, where the original verification code record includes a clicked picture link and original character information, the clicked picture link points to a storage location of the clicked verification code picture, and the original character information includes at least one original character.
Optionally, the verification code request processing apparatus may further include: the device comprises an original material obtaining unit, a click picture information generating unit, a first storage unit and a second storage unit.
An original material obtaining unit, configured to obtain a bottom layer picture and a character material before the first request obtaining unit 100 obtains the verification code obtaining request sent by the user side, where the character material includes at least one original character;
the system comprises a click picture information generating unit, a click verification code generating unit and a click verification processing unit, wherein the click picture information generating unit is used for generating click picture information according to a bottom picture and character materials, and the click picture information comprises a click verification code picture and original character information;
the first storage unit is used for storing the click verification code picture into the cloud server to obtain a click picture link;
and the second storage unit is used for correspondingly storing the clicked picture link and the original character information as an original verification code record in a preset database.
Optionally, the verification code request processing apparatus may further include: and a third storage unit.
And the third storage unit is used for storing the original verification code record stored in the preset database into a preset cache according to a preset updating time interval after the second storage unit correspondingly stores the click picture link and the original character information as the original verification code record in the preset database.
Optionally, the request for obtaining the verification code further includes a request source type. The original verification code record obtaining unit 200 is specifically configured to search the original verification code record in the preset cache according to the request source type, and if the original verification code record is not found, search the original verification code record in the preset database.
A click character determination unit 300 for determining at least one click character among the at least one original character.
Optionally, the click character determination unit 300 is specifically configured to randomly select at least one original character and determine at least one click character.
And a link character sending unit 400, configured to send the click picture link and the at least one click character to the user side, so that the user side obtains the click verification code picture according to the click picture link, generates click prompt information according to the at least one click character, and displays the click prompt information and the click verification code picture.
The verification code request processing device provided by the disclosure can send the click picture link in the original verification code record and the determined at least one click character to the user side, so that the user side can directly obtain the click verification code picture according to the click picture link, generate click prompt information according to the at least one click character, and display the click verification code picture and the click prompt information. According to the technical means, the click picture link is sent to the user side, and the user side directly obtains the click verification code picture through the click picture link, so that the bandwidth resource of the verification code request processing process is saved, the processing pressure of the back-end equipment is effectively reduced, and the verification code request processing efficiency of the back-end equipment is improved.
Optionally, the request for obtaining the verification code includes a request user identifier corresponding to the user side, the original character information further includes character coordinates of each original character on the clicked verification code image, and the device for processing the verification code request may further include: the character coordinate determining unit and the coordinate identification corresponding storage unit.
The character coordinate determining unit is used for determining the character coordinates of each selected character on the click verification code picture according to the character coordinates of each original character on the click verification code picture;
and the coordinate identification corresponding storage unit is used for correspondingly storing the character coordinates of each selection character on the selection verification code picture and the request user identification.
Optionally, the verification code request processing apparatus may further include: a second request obtaining unit and a comparison and verification unit.
And a second request obtaining unit, configured to obtain, after the link character sending unit 400 sends the click image link and the at least one click character to the user side, an authentication code comparison request sent by the user side, where the authentication code comparison request includes a request user identifier and a click coordinate, and the click coordinate corresponds to a position where the user clicks on a click authentication code image displayed on the user side.
And the comparison verification unit is used for comparing and verifying the clicking coordinates and the character coordinates of the clicking characters on the clicking verification code picture based on the request user identification to obtain a verification result.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The verification code request processing device comprises a processor and a memory, wherein the first request obtaining unit 100, the original verification code record obtaining unit 200, the click character determining unit 300, the link character sending unit 400 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, the parameter of the kernel is adjusted to send the clicking picture link to the user side, and the technical means that the user side directly obtains the clicking verification code picture through the clicking picture link saves bandwidth resources in the verification code request processing process, effectively reduces the processing pressure of the back-end equipment and improves the verification code request processing efficiency of the back-end equipment.
The disclosed embodiments provide a computer-readable storage medium on which a program is stored, which, when executed by a processor, implements the authentication code request processing method.
The embodiment of the disclosure provides a processor, which is used for running a program, wherein the program executes the verification code request processing method during running.
As shown in fig. 11, an embodiment of the present disclosure provides an electronic device 500, where the electronic device 500 includes at least one processor 501, and at least one memory 502 and a bus 503 connected to the processor 501; the processor 501 and the memory 502 complete communication with each other through the bus 503; the processor 501 is used for calling the program instructions in the memory 502 to execute the above-mentioned authentication code request processing method. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present disclosure also provides a computer program product adapted to execute a program initialized with the steps of the above-mentioned authentication code request processing method when executed on an electronic device.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
In the description of the present disclosure, it is to be understood that the directions or positional relationships indicated as referring to the terms "upper", "lower", "front", "rear", "left" and "right", etc., are based on the directions or positional relationships shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the positions or elements referred to must have specific directions, be constituted and operated in specific directions, and thus, are not to be construed as limitations of the present disclosure.
It is noted that, herein, relational terms such as first and second, and the like may be 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. It should also be noted that 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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The above are merely examples of the present disclosure, and are not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A method for processing an authentication code request, comprising:
acquiring a verification code acquisition request sent by a user side;
acquiring an original verification code record according to the verification code acquisition request, wherein the original verification code record comprises a click picture link and original character information, the click picture link points to a storage position of a click verification code picture, and the original character information comprises at least one original character;
determining at least one click character in the at least one original character;
and sending the clicking picture link and the at least one clicking character to the user side, so that the user side obtains the clicking verification code picture according to the clicking picture link, generates clicking prompt information according to the at least one clicking character, and displays the clicking prompt information and the clicking verification code picture.
2. The method of claim 1, wherein determining at least one click character in the at least one original character comprises:
and randomly selecting at least one original character, and determining at least one click character.
3. The method of claim 1, wherein the request for obtaining the verification code includes a request user identifier corresponding to the user side, wherein the original character information further includes character coordinates of each original character on the clicked verification code picture, and wherein the method further includes:
determining the character coordinates of each selected character on the selected verification code picture according to the character coordinates of each original character on the selected verification code picture;
and correspondingly storing the character coordinates of each clicking character on the clicking verification code picture and the request user identification.
4. The method of claim 3, wherein after sending the click picture link and the at least one click character to the user side, the method further comprises:
acquiring a verification code comparison request sent by the user side, wherein the verification code comparison request comprises the request user identifier and a click coordinate, and the click coordinate corresponds to a click position of a user on the click verification code image displayed by the user side;
and comparing and verifying the clicking coordinates and the character coordinates of the clicked characters on the clicking verification code picture based on the request user identification to obtain a verification result.
5. The method of claim 3, wherein before obtaining the request for obtaining the authentication code sent by the user terminal, the method further comprises:
obtaining a bottom layer picture and a character material, wherein the character material comprises the at least one original character;
generating click picture information according to the bottom picture and the character material, wherein the click picture information comprises the click verification code picture and the original character information;
storing the click verification code picture into a cloud server to obtain a click picture link;
and correspondingly storing the clicked picture link and the original character information in a preset database as the original verification code record.
6. The method according to claim 5, wherein after the corresponding storing of the clicked picture link and the original character information as the original verification code record in a preset database, the method further comprises:
and storing the original verification code records stored in the preset database into a preset cache according to a preset updating time interval.
7. The method of claim 6, wherein the request for obtaining the verification code further comprises a request source type, and wherein obtaining the original verification code record according to the request for obtaining the verification code comprises:
and searching an original verification code record in the preset cache according to the request source type, and if the original verification code record is not searched, searching the original verification code record in the preset database.
8. An authentication code request processing apparatus, comprising: a first request obtaining unit, an original verification code record obtaining unit, a click character determining unit and a link character transmitting unit,
the first request obtaining unit is used for obtaining a verification code obtaining request sent by a user side;
the original verification code record obtaining unit is used for obtaining an original verification code record according to the verification code obtaining request, wherein the original verification code record comprises a click picture link and original character information, the click picture link points to a storage position of a click verification code picture, and the original character information comprises at least one original character;
the click character determination unit is used for determining at least one click character in the at least one original character;
the link character sending unit is used for sending the click picture link and the at least one click character to the user side, so that the user side can obtain the click verification code picture according to the click picture link, generate click prompt information according to the at least one click character, and display the click prompt information and the click verification code picture.
9. A computer-readable storage medium on which a program is stored, the program implementing the authentication code request processing method according to any one of claims 1 to 7 when executed by a processor.
10. An electronic device comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the captcha request processing method of any of claims 1 to 7.
CN202110806498.0A 2021-07-16 2021-07-16 Verification code request processing method and related equipment Pending CN113505360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110806498.0A CN113505360A (en) 2021-07-16 2021-07-16 Verification code request processing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110806498.0A CN113505360A (en) 2021-07-16 2021-07-16 Verification code request processing method and related equipment

Publications (1)

Publication Number Publication Date
CN113505360A true CN113505360A (en) 2021-10-15

Family

ID=78013623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110806498.0A Pending CN113505360A (en) 2021-07-16 2021-07-16 Verification code request processing method and related equipment

Country Status (1)

Country Link
CN (1) CN113505360A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891828A (en) * 2011-07-18 2013-01-23 华为软件技术有限公司 IMS user authentication method, equipment and system
CN103428163A (en) * 2012-05-15 2013-12-04 上海博路信息技术有限公司 Verification code based on image content
CN104125234A (en) * 2014-08-06 2014-10-29 沈文策 Method and system for dynamic image security verification
CN104298912A (en) * 2013-07-15 2015-01-21 深圳市腾讯计算机系统有限公司 Methods and devices of implementing and generating crack-resistant identifying code
CN104580109A (en) * 2013-10-24 2015-04-29 深圳市腾讯计算机系统有限公司 Method and device for generating click verification code
CN107563181A (en) * 2017-10-24 2018-01-09 百望电子发票数据服务有限公司 A kind of verification method and system for clicking graphical verification code
CN107846412A (en) * 2017-11-28 2018-03-27 五八有限公司 Identifying code request processing method, device and identifying code processing system
CN108989269A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 Obtain the methods, devices and systems of identifying code
CN111078437A (en) * 2019-12-24 2020-04-28 五八有限公司 Remote calling method and device of verification code, electronic equipment and readable storage medium
WO2020251380A1 (en) * 2019-06-08 2020-12-17 Imprensa Nacional-Casa Da Moeda, Sa Method for validation of authenticity of an image present in an object, object with increased security level and method for preparation thereof, computer equipment, computer program and appropriate reading means
CN112836185A (en) * 2019-11-22 2021-05-25 上海哔哩哔哩科技有限公司 User authentication method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891828A (en) * 2011-07-18 2013-01-23 华为软件技术有限公司 IMS user authentication method, equipment and system
CN103428163A (en) * 2012-05-15 2013-12-04 上海博路信息技术有限公司 Verification code based on image content
CN104298912A (en) * 2013-07-15 2015-01-21 深圳市腾讯计算机系统有限公司 Methods and devices of implementing and generating crack-resistant identifying code
CN104580109A (en) * 2013-10-24 2015-04-29 深圳市腾讯计算机系统有限公司 Method and device for generating click verification code
CN104125234A (en) * 2014-08-06 2014-10-29 沈文策 Method and system for dynamic image security verification
CN108989269A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 Obtain the methods, devices and systems of identifying code
CN107563181A (en) * 2017-10-24 2018-01-09 百望电子发票数据服务有限公司 A kind of verification method and system for clicking graphical verification code
CN107846412A (en) * 2017-11-28 2018-03-27 五八有限公司 Identifying code request processing method, device and identifying code processing system
WO2020251380A1 (en) * 2019-06-08 2020-12-17 Imprensa Nacional-Casa Da Moeda, Sa Method for validation of authenticity of an image present in an object, object with increased security level and method for preparation thereof, computer equipment, computer program and appropriate reading means
CN112836185A (en) * 2019-11-22 2021-05-25 上海哔哩哔哩科技有限公司 User authentication method and system
CN111078437A (en) * 2019-12-24 2020-04-28 五八有限公司 Remote calling method and device of verification code, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN111462281B (en) Poster generation method, device, equipment and storage medium
CN107622135B (en) Method and apparatus for displaying information
CN111191221B (en) Configuration method and device of authority resources and computer readable storage medium
CN112671769A (en) Electronic contract signing method, device and equipment
WO2020211501A1 (en) Data sharing method and device, and computer readable medium
CN113535267A (en) Applet page configuration method and device, electronic equipment and storage medium
US20210089737A1 (en) Service process starting method and apparatus
US10917399B2 (en) Method and device for distributing service objects
CN108449187B (en) Token refreshing method and device
CN110177039B (en) Message sharing method and device, computer equipment and storage medium
CN111290931B (en) Method and device for visually displaying buried point data
US11405403B2 (en) Method and device, and server and terminal for processing network resource access
CN111246272A (en) Method and device for displaying video cover picture
CN110519155B (en) Information processing method and system
CN115761086A (en) Asset model three-dimensional display method and device, storage medium and intelligent terminal
CN114385382A (en) Light application access method and device, computer equipment and storage medium
CN112242930A (en) Conversation processing method, device, server and storage medium
CN109525485B (en) Message leaving method and terminal equipment
CN113505360A (en) Verification code request processing method and related equipment
CN112100534B (en) Information processing method, device, medium and electronic equipment in page sharing
CN114860238A (en) Page generation method and device and electronic equipment
CN113254108A (en) Store operation method and device based on small program, electronic equipment and storage medium
CN113836331A (en) Image query method, device and storage medium
CN113901377B (en) Service calling method, device, storage medium and equipment of legacy system
CN113824644B (en) HTTPS service content identification method, device and equipment

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

Application publication date: 20211015

RJ01 Rejection of invention patent application after publication