Login verification method, device, equipment, medium and product
By monitoring and comparing the character information entered by the user, the problem of insecure and effectiveness of user identity verification in the prior art is solved, and more efficient and accurate identity verification is achieved.
Patent Information
- Application Number
- CN202411924156.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-03-28
AI Technical Summary
The prior art is difficult to accurately monitor and verify the character information entered by users, resulting in insecure and effective user identity verification.
By responding to the user's login request, the user is instructed to input characters through the preset input device, and monitor the input process to generate input character information. Then, the historical structure corresponding to the user's historical input characters is determined from the preset font library, and the target structure corresponding to the input character information is compared to the target structure corresponding to the input character information to determine whether the authentication is passed.
It realizes accurate monitoring and verification of character information entered by users, improving the security and effectiveness of user identity verification.
Smart Images

Figure CN119720155A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology and can be applicable to the field of financial technology, and in particular to a login verification method, device, equipment, medium and product. Background Art
[0002] With the continuous development of computer technology, the ways of verifying identities between business systems and users are gradually increasing. Especially for banking business systems, verifying user identities by verifying user handwritten text can ensure the security of the interaction process to a high degree.
[0003] Therefore, how to accurately monitor and verify the character information input by the user, thereby accurately verifying the user's identity and improving the security and effectiveness of the interaction process is a problem that needs to be solved urgently. Summary of the invention
[0004] The present invention provides a login verification method, device, equipment, medium and product to accurately monitor and verify character information input by a user, thereby accurately verifying the user's identity and improving the security and effectiveness of the interaction process.
[0005] According to one aspect of the present invention, there is provided a login verification method, comprising:
[0006] In response to a login request from a target user, instruct the target user to start inputting characters through a preset input device, and monitor the input process to obtain input character information;
[0007] Determine a history structure corresponding to the target user's historical input characters from a preset font library, and determine a target structure corresponding to the input character information;
[0008] The historical structure is compared with the target structure, and based on the comparison result, it is determined whether the identity authentication of the target user is passed, so as to respond to the login request.
[0009] According to another aspect of the present invention, there is provided a login verification device, comprising:
[0010] An input module, for responding to a login request of a target user, instructing the target user to start inputting characters through a preset input device, and monitoring the input process to obtain input character information;
[0011] A determination module, used to determine the history structure corresponding to the historical input characters of the target user from a preset font library, and determine the target structure corresponding to the input character information;
[0012] The verification module is used to compare the historical structure with the target structure, and determine whether the identity authentication of the target user is passed based on the comparison result, so as to respond to the login request.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the login verification method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the login verification method described in any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the login verification method of any embodiment of the present invention is implemented.
[0019] The technical solution of the embodiment of the present invention, in response to the login request of the target user, instructs the target user to start inputting characters through a preset input device, and monitors the input process to obtain input character information; determines the historical structure corresponding to the historical input characters of the target user from the preset font library, and determines the target structure corresponding to the input character information; compares the historical structure and the target structure, and determines whether the identity authentication of the target user is passed according to the comparison result, so as to respond to the login request. By accurately monitoring and verifying the character information input by the user, the user identity can be accurately verified, and the security and effectiveness of the interaction process can be improved.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of a login verification method provided by Embodiment 1 of the present invention;
[0023] Figure 2 is a flow chart of a login verification method provided by Embodiment 2 of the present invention;
[0024] Figure 3 is a structural block diagram of a login verification device provided by Embodiment 3 of the present invention;
[0025] Figure 4 It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", "target", "candidate", "alternative", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0028] It should be noted that the user information collected in the present invention is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or reject automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0029] Embodiment 1
[0030] Figure 1 1 is a flowchart of a login verification method provided by the first embodiment of the present invention; this embodiment can be applied to the situation where the business system of a bank authenticates the target user according to the character information input by the user in combination with the historical structure, and is specifically applicable to the situation where the user logs in to the mobile banking or the bank staff logs in to the work system and needs to perform login verification. The method can be executed by a login verification device, which can be implemented in the form of hardware and / or software, and the login verification device can be configured in an electronic device, such as a business system of a bank, such as Figure 1 As shown, the login verification method includes:
[0031] S101 . In response to a login request of a target user, instruct the target user to start inputting characters through a preset input device, and monitor the input process to obtain input character information.
[0032] The target user refers to a user who sends a login request to the business system. The target user can be a customer who handles business through the business system, or a bank staff member who logs into the work system. The login request can be a login request sent by the target user to the business system through the mobile banking client, or a login request sent by a bank staff member to the work system. The preset input device can be at least one of the following: a mouse, an electronic pen, and a screen sensor.
[0033] The input process may be a process in which the target user inputs characters through a mouse, or a process in which the target user inputs characters on a screen sensor through an electronic pen and a finger. The input character information may represent attribute information of the input character, such as the total number of strokes of the input character, stroke feature points, global position features, relative front point features, and transition zone features. It should be noted that one input process in the present invention may correspond to one character input by the target user.
[0034] Optionally, instructing the target user to start inputting characters through a preset input device, including: if the preset input device is a mouse, instructing the target user to input characters by pressing the left mouse button, sliding the mouse, and lifting the left mouse button; if the preset input device is an electronic pen and a screen sensor, instructing the target user to input characters by controlling the electronic pen to touch the screen and slide on the screen sensor.
[0035] The screen sensor may be, for example, an interface screen of a business system client, and may sense the sliding track of an electronic pen or a finger on the screen.
[0036] Optionally, if the preset input device is a mouse, the target user can be instructed to start by pressing the left mouse button, writing by sliding the mouse, and finally completing the input of one stroke of the character by lifting the left mouse button. Until it is detected that the typing completion condition is met, the target user is considered to have completed the character input, and the input character information corresponding to the input process can be confirmed, where the typing completion condition can be that the number of input strokes reaches a preset stroke threshold or the pressing operation is not performed within a preset time after the left mouse button is lifted.
[0037] It should be noted that the above embodiments of the present invention can enrich the target user's character inputting methods and accordingly accurately identify the character information inputted by the user by instructing the user to input characters through different operations when the input devices are of different types.
[0038] Optionally, the input process is monitored to obtain input character information, including: determining the sub-input process of each character stroke in the input process according to the device type of a preset input device, and determining the stroke feature points corresponding to each character stroke according to the sub-input process; determining the target feature points from the stroke feature points, and determining the global position feature, relative front point feature and transition zone feature corresponding to the target feature points; determining the input character information according to the total number of strokes, stroke feature points, global position feature, relative front point feature and transition zone feature.
[0039] Among them, one input process corresponds to the input process of one character, and one sub-input process corresponds to the input process corresponding to one character stroke contained in the character. The total number of strokes corresponds to the number of strokes contained in the input character of one input process, and the total number of strokes is the same as the number of sub-input processes. The stroke feature point refers to the feature point position recorded in the process of inputting the stroke.
[0040] The stroke feature points represent the positions of the mouse or electronic pen at different recording times in each sub-input process. The target feature points refer to a preset number of feature points extracted from the stroke feature points. The global position feature represents the position information of the target feature points on the input screen. The relative previous point feature represents the relative position of each target feature point relative to the previously recorded target feature point. The transition zone feature refers to the feature of deviating the target feature points in groups of three.
[0041] Optionally, the stroke feature points corresponding to each character stroke can be determined based on the position information of the mouse or electronic pen recorded during the sub-input process. Furthermore, the total number of strokes, stroke feature points, global position features, relative previous point features and transition zone features corresponding to each input process can be combined to generate input character information corresponding to the input character of the input process.
[0042] It should be noted that the above-mentioned embodiment of the present invention monitors the sub-input process of each character stroke, determines the stroke feature points, and determines the input character information in combination with the total number of strokes, global position features, relative previous point features and transition zone features. It can refine the input process of the target user, thereby determining accurate and comprehensive input character information, which helps to ensure the effectiveness of subsequent identity verification.
[0043] Optionally, target feature points are determined from the stroke feature points, and the global position features, relative front point features and transition zone features corresponding to the target feature points are determined, including: determining a preset number of target feature points from the stroke feature points based on the recording time of the stroke feature points, and determining the global position features and relative front point features of the target feature points; determining the transition zone features based on the global position features of the target feature points and based on preset calculation rules.
[0044] The preset number may be, for example, 8. The recording time refers to the time for recording each stroke feature point in the sub-input process of the corresponding stroke.
[0045] Optionally, the writing order of each stroke feature point can be determined according to the recording time of the stroke feature points, and a preset number of stroke feature points can be divided into equal parts according to the writing order, such as 8 equal parts, and one of the stroke feature points in each equal part can be determined as the target feature point, so as to determine a preset number of target feature points from the stroke feature points.
[0046] Optionally, the position information of the target feature point can be determined as a global position feature, and the relative position between each target feature point and the previously recorded target feature point can be determined as a relative front point feature. For example, if the global coordinates of point A are (1,1) and B (2,3), the relative front point feature of B relative to A can be represented by the coordinates (1,2).
[0047] Optionally, after determining the target feature points, a transition zone feature can be calculated for every three target feature points as a group. For example, if the number of target feature points is 5, three transition zone features can be determined. Recording the transition zone features can help reduce recognition bias during subsequent verification.
[0048] For example, if the global position features of the three target feature points are (x1, y1), (x2, y2) and (x3, y3), the transition zone feature s can be determined by the following calculation rule:
[0049] s=(x1*y2+x2*y3+x3*y1-x1*y3-x2*y1-x3*y2) / are
[0050] Among them, are=abs(x1-x3), abs() represents the absolute value function.
[0051] It should be noted that the above-mentioned embodiment of the present invention obtains target feature points by screening stroke feature points according to the recording time to calculate global position features, relative front point features and transition zone features. Representative target feature points can be screened out from the stroke feature points, thereby obtaining global position features, relative front point features and transition zone features that can accurately express the stroke features.
[0052] Optionally, based on the device type of a preset input device, the sub-input process of each character stroke in the input process is determined, including: if the device type of the preset input device is a mouse, the input process corresponding to the pressing of the left mouse button and the lifting of the left button is determined as the sub-input process of each character stroke; when it is detected that the number of input strokes reaches a preset stroke number threshold or no pressing operation is performed within a preset time after the left mouse button is lifted, the input process is determined to be ended.
[0053] The preset stroke number threshold may be, for example, 15 strokes, and the input process may include at least one sub-input process.
[0054] Exemplarily, timing starts when it is detected that the target user presses the left mouse button, and recording can be performed at fixed time intervals. Specifically, when the recording time point is reached, a point can be randomly selected within a certain range around the current mouse coordinates and the coordinates of the point can be recorded as a stroke feature point. When it is detected that the target user lifts the left mouse button, the timing ends, and this process is regarded as a sub-input process of a stroke.
[0055] Optionally, during a stroke sub-input process, if it is detected that the number of recorded stroke feature points exceeds a preset maximum number, the feature point recording of the sub-process may be terminated, wherein the preset maximum number may be, for example, 300 points.
[0056] It should be noted that the above-mentioned embodiment of the present invention obtains the sub-input process by monitoring the pressing, sliding and lifting states of the left mouse button when the input device is a mouse, and detects whether the input is completed based on the monitoring of the number of strokes and the length of time after lifting. It can accurately identify the sub-input process of each stroke and promptly detect the end of the input process, thereby improving the efficiency of the entire identity authentication process.
[0057] S102: Determine a history structure corresponding to the target user's historical input characters from a preset font library, and determine a target structure corresponding to the input character information.
[0058] Among them, the preset font library can store historical structures corresponding to historical input character information of different management customers, and can also store historical characters corresponding to each historical structure. Each management user can store at least one corresponding historical structure, and the historical structure is a structural storage form obtained by combining and splicing historical character information. Management customers include target customers. The target structure is a structure obtained by combining and splicing input character information. The target structure can record the total number of strokes, stroke feature points, global position features, relative front point features, and transition zone features.
[0059] Optionally, a match may be performed in a preset font library according to the identity of the target user to determine a history structure corresponding to the historical input characters of the target user.
[0060] Optionally, the total number of strokes, stroke feature points, global position features, relative front point features and transition zone features may be combined according to a preset sequence and structure format to determine a target structure of input character information corresponding to each input character.
[0061] S103: Compare the history structure with the target structure, and determine whether the identity authentication of the target user is passed according to the comparison result, so as to respond to the login request.
[0062] The comparison result may be a consistency comparison result of each input character information in the history structure and the target structure.
[0063] Optionally, if the identity authentication of the target user is passed, the target user may be allowed to log into the system; if not, the target user may be denied to log into the system, thereby implementing a response to the login request.
[0064] Optionally, the target structure may be compared with each historical structure respectively. If the comparison result between any historical structure and the target structure is passed, it can be determined that the identity authentication of the target user is passed.
[0065] Optionally, the historical structure and the target structure are compared, and based on the comparison result, it is determined whether the identity authentication of the target user is passed, including: determining the final comparison result based on the comparison result of at least one of the information including the total number of strokes, stroke feature points, global position features, relative previous point features and transition zone features recorded in the historical structure and the target structure; and determining whether the identity authentication of the target user is passed based on the final comparison result.
[0066] Optionally, it can be determined whether the deviation between the total number of strokes recorded in the historical structure and the target structure is greater than or equal to a deviation threshold. If so, the comparison result for the total number of strokes is determined to be failed. Similarly, it can be determined whether the deviation of the stroke feature points, global position features, relative previous point features and transition zone features between the two is greater than or equal to a preset threshold, so as to determine the comparison results for the stroke feature points, global position features, relative previous point features and transition zone features, respectively, to obtain the final comparison result.
[0067] Exemplarily, it is possible to first determine whether the total number of strokes recorded in the historical structure and the target structure are equal. If they are not equal, the comparison result can be directly determined as failed. Further, if they are equal, it is possible to determine whether the stroke feature points between the two are greater than or equal to a preset first threshold. If not, it is possible to determine whether the deviation of the global position feature, relative previous point feature and transition zone feature between the two is greater than or equal to a preset second threshold.
[0068] Optionally, after determining that the total number of strokes meets the threshold condition, if one of the stroke feature points, global position features, relative front point features, and transition zone features meets the threshold condition, the final comparison result can be determined to be passed. The second threshold can be set to a value where the difference between x and y does not exceed three units.
[0069] Optionally, after determining that the total number of strokes meets the threshold condition, the identity authentication is considered to have passed when each of the stroke feature points, global position features, relative previous point features and transition zone features meets the corresponding threshold condition. The present invention does not impose any restrictions on this.
[0070] It should be noted that the above-mentioned embodiment of the present invention performs identity authentication by comparing the total number of strokes, stroke feature points, global position features, relative previous point features and transition zone features recorded in the historical structure and the target structure respectively, so as to more comprehensively compare the character information input by the target user and improve the accuracy of the target user's identity authentication.
[0071] The technical solution of the embodiment of the present invention, in response to the login request of the target user, instructs the target user to start inputting characters through a preset input device, and monitors the input process to obtain input character information; determines the historical structure corresponding to the historical input characters of the target user from the preset font library, and determines the target structure corresponding to the input character information; compares the historical structure and the target structure, and determines whether the identity authentication of the target user is passed according to the comparison result, so as to respond to the login request. By accurately monitoring and verifying the character information input by the user, the user identity can be accurately verified, and the security and effectiveness of the interaction process can be improved.
[0072] Embodiment 2
[0073] Figure 2 is a flowchart of a login verification method provided by Embodiment 2 of the present invention; based on the above embodiment, this embodiment provides a preferred example of performing login verification on a target user according to a target structure and a history structure, specifically, Figure 2 As shown, the method includes:
[0074] S201. In response to a login request from a target user, if the preset input device is a mouse, instruct the target user to input characters by pressing the left button of the mouse, sliding the mouse, and lifting the left button of the mouse.
[0075] S202: If the preset input device is an electronic pen and a screen sensor, instruct the target user to input characters by controlling the electronic pen to touch and slide on the screen sensor.
[0076] S203: Determine the sub-input process of each character stroke in the input process according to the device type of the preset input device, and determine the stroke feature points corresponding to each character stroke according to the sub-input process.
[0077] S204: Determine a target feature point from the stroke feature points, and determine a global position feature, a relative previous point feature, and a transition zone feature corresponding to the target feature point.
[0078] S205: Determine input character information according to the total number of strokes, stroke feature points, global position features, relative previous point features, and transition zone features.
[0079] S206: Determine a history structure corresponding to the target user's historical input characters from a preset font library, and determine a target structure corresponding to the input character information.
[0080] S207, respectively determining whether the total number of strokes, stroke feature points, global position features, relative previous point features, and transition zone features recorded in the history structure and the target structure meet corresponding threshold conditions.
[0081] S208: If the total number of strokes, stroke feature points, global position features, relative front point features, and transition zone features all meet corresponding threshold conditions, it is determined that the identity authentication of the target user is passed.
[0082] The technical solution of the present invention proposes a login verification method that is more in line with the user's personal habits. By storing the characters written by the user in a preset character library in advance, the user only needs to write the characters once according to some previous characteristics to complete the verification during the login verification, thereby ensuring the security of the verification process while improving the verification efficiency and accuracy.
[0083] Embodiment 3
[0084] Figure 3 : is a structural block diagram of a login verification device provided in the third embodiment of the present invention; this embodiment can be applicable to the situation where the bank's business system authenticates the target user according to the character information input by the user in combination with the historical structure, and is specifically applicable to the situation where the user logs in to the mobile banking or the bank staff logs in to the work system and needs to perform login verification. The login verification device provided in the embodiment of the present invention can execute the login verification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method; the login verification device can be implemented in the form of hardware and / or software, and configured in an electronic device with a login verification function, such as a bank's business system, such as Figure 3 As shown, the login verification device specifically includes:
[0085] The input module 301 is used to respond to the login request of the target user, instruct the target user to start inputting characters through a preset input device, and monitor the input process to obtain input character information;
[0086] A determination module 302 is used to determine a history structure corresponding to the target user's historical input characters from a preset font library, and determine a target structure corresponding to the input character information;
[0087] The verification module 303 is used to compare the historical structure with the target structure, and determine whether the identity authentication of the target user is passed according to the comparison result, so as to respond to the login request.
[0088] The technical solution of the embodiment of the present invention, in response to the login request of the target user, instructs the target user to start inputting characters through a preset input device, and monitors the input process to obtain input character information; determines the historical structure corresponding to the historical input characters of the target user from the preset font library, and determines the target structure corresponding to the input character information; compares the historical structure and the target structure, and determines whether the identity authentication of the target user is passed according to the comparison result, so as to respond to the login request. By accurately monitoring and verifying the character information input by the user, the user identity can be accurately verified, and the security and effectiveness of the interaction process can be improved.
[0089] Furthermore, the input module 301 may include:
[0090] An input unit, used to determine a sub-input process of each character stroke in an input process according to a device type of a preset input device, and determine a stroke feature point corresponding to each character stroke according to the sub-input process;
[0091] A feature determination unit, used to determine a target feature point from the stroke feature points, and determine a global position feature, a relative front point feature, and a transition zone feature corresponding to the target feature point;
[0092] The information determination unit is used to determine the input character information according to the total number of strokes, stroke feature points, global position features, relative front point features and transition zone features.
[0093] Furthermore, the feature determination unit is specifically used for:
[0094] According to the recording time of the stroke feature points, a preset number of target feature points are determined from the stroke feature points, and global position features and relative front point features of the target feature points are determined;
[0095] According to the global position characteristics of the target feature points and based on preset calculation rules, the transition zone characteristics are determined.
[0096] Furthermore, the input unit is specifically used for:
[0097] If the device type of the preset input device is a mouse, the input process corresponding to the pressing of the left button of the mouse and the lifting of the left button is determined as the sub-input process of each character stroke;
[0098] When it is detected that the number of input strokes reaches a preset stroke number threshold or the left mouse button is not pressed for a preset time after being lifted, it is determined that the input process is ended; the input process includes at least one sub-input process.
[0099] Furthermore, the verification module 303 is specifically used for:
[0100] Determine a final comparison result according to a comparison result of at least one of the total number of strokes, stroke feature points, global position features, relative previous point features, and transition zone features recorded in the historical structure and the target structure;
[0101] Based on the final comparison result, determine whether the identity authentication of the target user is passed.
[0102] Furthermore, the input module 301 is specifically used for:
[0103] If the preset input device is a mouse, instruct the target user to input characters by pressing the left button of the mouse, sliding the mouse, and lifting the left button of the mouse;
[0104] If the preset input device is an electronic pen and a screen sensor, the target user is instructed to input characters by controlling the electronic pen to touch and slide on the screen sensor.
[0105] Embodiment 4
[0106] Figure 4 It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0107] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0108] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0109] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a login verification method.
[0110] In some embodiments, the login verification method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the login verification method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the login verification method in any other appropriate manner (e.g., by means of firmware).
[0111] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0112] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0113] In the context of the present invention, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0114] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0115] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0116] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0117] In one embodiment, the embodiment of the present invention further includes a computer program product, the computer program product includes a computer program, and the computer program implements the login verification method of any embodiment of the present invention when executed by a processor.
[0118] The computer program product may be implemented in a computer program code for performing the operation of the present invention written in one or more programming languages or a combination thereof, including object-oriented programming languages and conventional procedural programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0119] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0120] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A login verification method, characterized in that: include: In response to a login request from a target user, instruct the target user to start inputting characters through a preset input device, and monitor the input process to obtain input character information; Determine a history structure corresponding to the target user's historical input characters from a preset font library, and determine a target structure corresponding to the input character information; The historical structure is compared with the target structure, and based on the comparison result, it is determined whether the identity authentication of the target user is passed, so as to respond to the login request.
2. The method according to claim 1, characterized in that Monitor the input process to obtain input character information, including: Determine, according to the device type of the preset input device, a sub-input process of each character stroke in the input process, and determine, according to the sub-input process, a stroke feature point corresponding to each character stroke; Determine a target feature point from the stroke feature points, and determine a global position feature, a relative front point feature, and a transition zone feature corresponding to the target feature point; The input character information is determined according to the total number of strokes, stroke feature points, global position features, relative front point features and transition zone features.
3. The method according to claim 2, characterized in that Determine the target feature point from the stroke feature points, and determine the global position feature, relative front point feature and transition zone feature corresponding to the target feature point, including: According to the recording time of the stroke feature points, a preset number of target feature points are determined from the stroke feature points, and global position features and relative front point features of the target feature points are determined; According to the global position characteristics of the target feature points and based on preset calculation rules, the transition zone characteristics are determined.
4. The method according to claim 2, characterized in that: Determining the sub-input process of each character stroke in the input process according to the device type of the preset input device, including: If the device type of the preset input device is a mouse, the input process corresponding to the pressing of the left button of the mouse and the lifting of the left button is determined as the sub-input process of each character stroke; When it is detected that the number of input strokes reaches a preset stroke number threshold or the left mouse button is not pressed for a preset time after being lifted, it is determined that the input process is ended; the input process includes at least one sub-input process.
5. The method according to claim 1, characterized in that Compare the historical structure with the target structure, and determine whether the identity authentication of the target user is passed based on the comparison results, including: Determine a final comparison result according to a comparison result of at least one of the total number of strokes, stroke feature points, global position features, relative previous point features, and transition zone features recorded in the historical structure and the target structure; Based on the final comparison result, determine whether the identity authentication of the target user is passed.
6. The method according to claim 1, characterized in that Instruct the target user to start inputting characters through the preset input device, including: If the preset input device is a mouse, instruct the target user to input characters by pressing the left button of the mouse, sliding the mouse, and lifting the left button of the mouse; If the preset input device is an electronic pen and a screen sensor, the target user is instructed to input characters by controlling the electronic pen to touch and slide on the screen sensor.
7. A login verification device, characterized in that: include: An input module, for responding to a login request of a target user, instructing the target user to start inputting characters through a preset input device, and monitoring the input process to obtain input character information; A determination module, used to determine the history structure corresponding to the historical input characters of the target user from a preset font library, and determine the target structure corresponding to the input character information; The verification module is used to compare the historical structure with the target structure, and determine whether the identity authentication of the target user is passed based on the comparison result, so as to respond to the login request.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the login verification method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the login verification method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the login verification method according to any one of claims 1 to 6.