CN110868327A - Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium - Google Patents

Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium Download PDF

Info

Publication number
CN110868327A
CN110868327A CN201911218597.6A CN201911218597A CN110868327A CN 110868327 A CN110868327 A CN 110868327A CN 201911218597 A CN201911218597 A CN 201911218597A CN 110868327 A CN110868327 A CN 110868327A
Authority
CN
China
Prior art keywords
behavior
server
verification
servers
verification control
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
CN201911218597.6A
Other languages
Chinese (zh)
Inventor
陈国庆
汪智勇
陈晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Summit Network Technology Co Ltd
Original Assignee
Wuhan Summit Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Summit Network Technology Co Ltd filed Critical Wuhan Summit Network Technology Co Ltd
Priority to CN201911218597.6A priority Critical patent/CN110868327A/en
Publication of CN110868327A publication Critical patent/CN110868327A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Abstract

The invention belongs to the technical field of information security, and discloses a behavior verification control method, a behavior verification control device, behavior verification control equipment and a storage medium. The method comprises the following steps: receiving behavior data input by a user, and extracting behavior characteristics of the user according to the behavior data; acquiring operation parameters of each server, selecting a first target server from each server as a main server according to the operation parameters, and using other servers as standby servers; the behavior characteristics are sent to a main server for verification of the behavior characteristics; when the verification fails, a second target server is selected from the standby servers, the second target server is switched to the main server, the behavior characteristics are verified again through the switched main server, and when the server fails, the behavior characteristics are verified in a mode of switching the main server and the standby server, so that the condition that the behavior verification cannot be performed when the server fails is avoided.

Description

Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium
Technical Field
The present invention relates to the field of information security technologies, and in particular, to a behavior verification control method, apparatus, device, and storage medium.
Background
With the advancement of internet technology, many service providers provide behavior verification login for users in order to protect the information security of the users. At present, a behavior verification service system is composed of a plurality of user terminal devices, a plurality of login servers and a plurality of verification login terminals, wherein a user performs behavior verification to the verification login terminals through the user terminal devices, a generated verification login request is sent to the servers connected with the user terminal devices, then whether login confirmation information is fed back by the servers is received, after the user terminal devices confirm the information, the servers send login instructions to the verified login terminals, and then account numbers logged in on the user devices can log in on the verification login terminals.
However, in the system structure of the prior art, if the central computer room is powered off or the server fails, the function of the behavior verification login cannot be used.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a behavior verification control method, a behavior verification control device, behavior verification equipment and a storage medium, and aims to solve the technical problem that behavior verification cannot be performed when a server fails in the prior art.
In order to achieve the above object, the present invention provides a behavior verification method, including the steps of:
acquiring operation parameters of each server, selecting a first target server from each server as a main server according to the operation parameters, and using other servers as standby servers;
receiving behavior data input by a user, and extracting behavior characteristics of the user according to the behavior data;
sending the behavior characteristics to the main server for verification of the behavior characteristics;
and when the verification fails, selecting a second target server from the standby servers, switching the second target server to the main server, and verifying the behavior characteristics again through the switched main server.
Preferably, the step of acquiring the operation parameters of each server, selecting a first target server from the servers as a main server according to the operation parameters, and using other servers as standby servers includes:
acquiring the operation parameters of each server, and acquiring the weight coefficient of each server according to the weight coefficient and the operation parameter mapping table;
calculating the performance score corresponding to each server according to the weight coefficient;
and according to the performance scores, selecting a server with the largest performance score from the servers as a first target server, taking the first target server as a main server, and taking other servers as standby servers.
Preferably, the step of receiving behavior data input by a user and extracting behavior features of the user according to the behavior data specifically includes:
establishing a behavior characteristic coordinate system, acquiring behavior data input by a user, and generating corresponding behavior characteristic coordinate points in the behavior characteristic coordinate system according to the behavior data;
and sequentially connecting all the behavior characteristic coordinate points to obtain a current behavior characteristic curve, and taking the current behavior characteristic curve as the behavior characteristic of the user.
Preferably, the step of sending the behavior feature to the master server for verification of the behavior feature specifically includes:
acquiring a preset behavior characteristic curve stored in the main server, and respectively acquiring a current behavior characteristic curve and a behavior characteristic coordinate point on the preset behavior characteristic curve;
determining a first maximum value and a first minimum value on the current behavior characteristic curve according to the behavior characteristic coordinate points on the current behavior characteristic curve, and determining a second maximum value and a second minimum value on a preset behavior characteristic curve according to the behavior characteristic coordinate points on the preset behavior characteristic curve;
calculating a first Freund's distance from the first maximum value and the second maximum value, and calculating a second Freund's distance from the first minimum value and the second minimum value;
and calculating a distance difference between the first Fourier pause distance and the second Fourier pause distance, and when the distance difference is smaller than or equal to a preset threshold value, determining that the behavior characteristic verification is successful.
Preferably, after the step of selecting a second target server from the standby servers, switching the second target server to the main server, and performing the verification of the behavior feature again through the switched main server when the verification fails, the method further includes:
and sending the preset characteristic curve in the main server to each standby server so that each standby server updates the stored preset characteristic curve.
Preferably, before the step of sending the behavior feature to the master server for verification of the behavior feature, the method further includes:
detecting the working state of the main server in real time;
and when the working state of the main service is an online running state, the behavior characteristics are sent to the main server for verification of the behavior characteristics.
Preferably, after the step of selecting a second target server from the standby servers, switching the second target server to the main server, and performing the verification of the behavior feature again through the switched main server when the verification fails, the method further includes:
detecting the working states of the first target server and the second target server in real time;
when the working state of the first target server is an online running state, switching the first target server into a main server to verify the behavior characteristics;
and when the working state of the first target server is an off-line state, switching the second target server to a main server for verifying the behavior characteristics.
In addition, to achieve the above object, the present invention also provides a behavior verification control apparatus, including:
the reading module is used for acquiring the operation parameters of each server, selecting one server from each server as a main server according to the operation parameters, and taking other servers as standby servers;
the receiving module is used for receiving behavior data input by a user and extracting behavior characteristics of the user according to the behavior data;
the verification module is used for sending the behavior characteristics to the main server for verification of the behavior characteristics;
and the switching module is used for selecting one server from the standby servers and switching the selected server into the main server to verify the behavior characteristics when the working state of the main server is detected not to meet the preset condition.
Further, to achieve the above object, the present invention also provides a behavior verification control apparatus, including: a memory, a processor and a behaviour verification control program stored on the memory and executable on the processor, the behaviour verification control program being configured to implement the steps of the behaviour verification control method according to any one of claims 1 to 7.
Further, to achieve the above object, the present invention also proposes a storage medium having a behavior verification control program stored thereon, which when executed by a processor, implements the steps of the behavior verification control method according to any one of claims 1 to 7.
The behavior verification control method provided by the invention comprises the steps of receiving behavior data input by a user, and extracting behavior characteristics of the user according to the behavior data; acquiring operation parameters of each server, selecting a first target server from each server as a main server according to the operation parameters, and using other servers as standby servers; the behavior characteristics are sent to a main server for verification of the behavior characteristics; when the verification fails, a second target server is selected from the standby servers, the second target server is switched to the main server, the behavior characteristics are verified again through the switched main server, and when the server fails, the behavior characteristics are verified in a mode of switching the main server and the standby server, so that the condition that the behavior verification cannot be performed when the server fails is avoided.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a behavior verification control method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a behavior verification control method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a behavior verification control method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a behavior verification control method according to a fourth embodiment of the present invention;
fig. 6 is a block diagram showing the configuration of the behavior verification control apparatus according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a behavior verification control device of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the electronic device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a behavior verification control program.
In the electronic apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device according to the present invention may be provided in a behavior verification control device, and the electronic device calls the behavior verification control program stored in the memory 1005 through the processor 1001 and executes the behavior verification control method provided by the embodiment of the present invention.
An embodiment of the present invention provides a behavior verification control method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of a behavior verification control method according to the present invention.
In this embodiment, the behavior verification control method includes the following steps:
step S10: acquiring operation parameters of each server, selecting a first target server from each server as a main server according to the operation parameters, and using other servers as standby servers;
it should be noted that, because there are a plurality of user terminal devices for login authentication, in order to ensure efficient behavior authentication, a plurality of servers are needed to be used in cooperation, in this embodiment, the servers are further divided into main servers and standby servers, user terminal device authentication is mainly centralized in the main server, when the main server fails, the main server is switched to another standby server for authentication, thereby avoiding that the user terminal devices cannot be authenticated due to failure of the main server, in this embodiment, the number of the main servers may be one or more, and the main servers are set by themselves according to actual conditions.
In specific implementation, the operation parameters of the server determine the performance of the server, the better the performance is, the stronger the capability of performing behavior verification is, the operation parameters of the server include CPU frequency, memory capacity, network card transmission speed, reliability, chip and motherboard compatibility, and the like, and the operation parameters may reflect the operation performance of the server, which is not limited in this embodiment.
It is easy to understand that the performance of the main server is considered as the optimal server relative to the performance of the other standby servers, and the optimal server is obtained as the main server according to the comprehensive analysis of the operation parameters, for example, for convenience of understanding, for example, the existing A, B, C three servers now obtain A, B, C three servers with CPU frequencies of 3.5HZ, 3.0HZ, and 2.8HZ, and memory contents of 2TB, 1TB, and 500GB, and according to the obtained CPU frequencies and memory capacities, the comprehensive performance of the a server is better than that of the B, C server, so the a server is used as the main server, and the B, C server is used as the standby server.
Step S20: receiving behavior data input by a user, and extracting behavior characteristics of the user according to the behavior data;
step S30: sending the behavior characteristics to the main server for verification of the behavior characteristics;
in this embodiment, the execution main body is a behavior verification login end, and is configured to receive login information of the user terminal device, and perform primary/secondary selection and feedback verification information on the server, where the behavior verification terminal receives behavior data input by the user terminal device, and the behavior verification login end receives the behavior data input by the user terminal device and extracts behavior characteristics of the user from the behavior data.
It should be noted that the behavior data including the behavior data includes: sliding track, click event, touch area, time stamp and touch pressure, extracting behavior characteristics according to the behavior data, verifying the behavior characteristics in the main server, for example, for facilitating understanding, when the existing user terminal device performs behavior verification, the behavior data obtained for the user a is that the sliding track is a curve, the touch area is 2 square centimeters, the behavior characteristics of the user A can be extracted according to the behavior data of the user A, sliding verification is carried out rightwards, the behavior data of the user B is that the sliding track is a circular track, the sliding time is 1S, the touch area is 5N, the pressing verification of 1S can be extracted according to the behavior data of the user B and the behavior characteristics of the user, and if the preset behavior characteristic is right sliding verification, the first user terminal equipment passes the behavior verification, and the second user terminal equipment cannot pass the behavior verification.
Step S40: and when the verification fails, selecting a second target server from the standby servers, switching the second target server to the main server, and verifying the behavior characteristics again through the switched main server.
It should be noted that the authentication failure described herein is not authentication failure caused by user operation error, but authentication failure caused by failure of the main server, where the failure of the main server includes operating system failure, damage to hardware inside the main server, and the like, when the main server fails to authenticate, a second target server is selected from the standby servers, where the second target server is a server with the best performance in the standby servers, but the second target server is poorer in performance than the first target server, and the process of switching the second target server to the main server for re-authentication is a short process, and the user does not receive feedback of authentication failure caused by switching of the main server, and only receives the final behavior authentication result.
The embodiment extracts the behavior characteristics of the user according to the behavior data by receiving the behavior data input by the user; acquiring operation parameters of each server, selecting a first target server from each server as a main server according to the operation parameters, and using other servers as standby servers; the behavior characteristics are sent to a main server for verification of the behavior characteristics; when the verification fails, a second target server is selected from the standby servers, the second target server is switched to the main server, the behavior characteristics are verified again through the switched main server, and when the server fails, the behavior characteristics are verified in a mode of switching the main server and the standby server, so that the condition that the behavior characteristics cannot be verified when the server fails is avoided.
Referring to fig. 3, fig. 3 is a flowchart illustrating a behavior verification control method according to a second embodiment of the present invention.
Based on the first embodiment, the step S10 specifically includes:
step S101: acquiring the operation parameters of each server, and acquiring the weight coefficient of each server according to the weight coefficient and the operation parameter mapping table;
step S102: calculating the performance score corresponding to each server according to the weight coefficient;
step S103: and according to the performance scores, selecting a server with the largest performance score from the servers as a first target server, taking the first target server as a main server, and taking other servers as standby servers.
It should be noted that, in an actual situation, the server operation parameters have different influences on the performance of the server, so that a mapping relationship exists between the server operation parameters and the server weight coefficients, the weight coefficients corresponding to the server operation parameters are obtained according to the mapping relationship, the performance scores of the servers are calculated according to the weight coefficients, the performance scores are convenient for more intuitively comparing the performance of the servers, the performance of the server corresponding to the server with the largest performance score is optimal, the first target server is the server with the largest performance score, and the first target server is used as a main server, and the other servers are used as standby servers.
In a specific implementation, for example, for convenience of understanding, for example, three existing A, B, C servers are illustrated, the CPU frequencies of A, B, C three servers are respectively 3.5HZ, 3.0HZ, and 2.8HZ, the memory capacities of the three servers are respectively 1TB, 2TB, and 500GB, the network card transmission speeds are respectively 20M, 100M, and 200M, and according to the obtained operating parameters of A, B, C three servers, it is known that the CPU frequency of the a server is the highest, the memory capacity of the B server is the largest, and the network card transmission speed of the C server is the fastest, assuming that the weighting coefficients corresponding to the CPU frequency, the memory capacity, and the network card transmission are respectively 3, 2, and 1, and the full score is 100, the performance score of the a server is 50.0, the performance score of the B server is 33.3, and the performance score of the C server is 16.7, so that the performance score of the a server is the highest, and the a server is taken as a first target server, and switching the first target server to the main server for verifying the behavior characteristics.
In the embodiment, the operation parameters of each server are obtained, the weight coefficients corresponding to the operation parameters are obtained from the mapping table, the performance scores of the servers are calculated according to the weight coefficients, the server with the largest performance score is used as the first target server, and the first target server is switched to the main server for behavior feature verification, so that the stability of behavior verification is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a behavior verification control method according to a third embodiment of the present invention.
Based on the first embodiment, the step S20 specifically includes:
step S201: establishing a behavior characteristic coordinate system, acquiring behavior data input by a user, and generating corresponding behavior characteristic coordinate points in the behavior characteristic coordinate system according to the behavior data;
step S202: and sequentially connecting all the behavior characteristic coordinate points to obtain a current behavior characteristic curve, and taking the current behavior characteristic curve as the behavior characteristic of the user.
In this embodiment, a behavior feature coordinate system is established, where the coordinate system may be two-dimensional or three-dimensional, and this embodiment is not limited to this, and a corresponding behavior feature coordinate point is generated in the feature coordinate system according to the acquired behavior data input by the user, and the sliding trajectory may be taken as a horizontal axis and the timestamp as a vertical axis, and may be set by the user according to an actual situation.
It should be noted that after the corresponding behavior feature coordinate points are generated, the behavior feature coordinate points are sequentially connected, the connected curve is a behavior feature curve formed according to the user behavior data, and the user behavior data is imaged according to the behavior feature curve, so that the method is more intuitive.
Further, the step S30 specifically includes:
step S301: acquiring a preset behavior characteristic curve stored in the main server, and respectively acquiring a current behavior characteristic curve and a behavior characteristic coordinate point on the preset behavior characteristic curve;
step S302: determining a first maximum value and a first minimum value on the current behavior characteristic curve according to the behavior characteristic coordinate points on the current behavior characteristic curve, and determining a second maximum value and a second minimum value on a preset behavior characteristic curve according to the behavior characteristic coordinate points on the preset behavior characteristic curve;
step S303: calculating a first Freund's distance from the first maximum value and the second maximum value, and calculating a second Freund's distance from the first minimum value and the second minimum value;
step S304: and calculating a distance difference between the first Fourier pause distance and the second Fourier pause distance, and when the distance difference is smaller than or equal to a preset threshold value, determining that the behavior characteristic verification is successful.
In a specific implementation, behavior feature coordinate points on the current behavior feature curve and the preset behavior feature curve are respectively obtained, and the distance between the two points is calculated according to the obtained behavior feature points, it is understood that a first maximum value and a second maximum value are respectively highest points on the current behavior feature curve and the preset behavior feature curve, a first minimum value and a second minimum value are respectively lowest points on the current behavior feature curve and the preset behavior feature curve, a first frap distance is a distance between the first maximum value and the second maximum value, i.e. a distance between the highest points of the two curves, a second frap distance is a distance between the first minimum value and the second minimum value, i.e. a distance between the lowest points of the two curves, after the frap distance is calculated, an absolute value of a difference between the first frap distance and the second frap distance is calculated, and the absolute value of the difference is compared with a preset threshold value, when the absolute value of the difference is smaller than or equal to the preset threshold, the two curves are determined to be similar, the preset threshold can be 0, or can be a number approaching 0, and the preset threshold is changed according to the situation.
For convenience of understanding, for example, the behavior characteristic curve a of the existing first user and the preset behavior characteristic curve B are obtained, the highest point of the curve a is X, the lowest point is Y, the highest point of the curve B is C, the lowest point is D, the first freaker distance is calculated to be X-C, the second freaker distance is Y-D, the absolute value of the distance difference between the first freaker distance and the second freaker distance is D | (X-C) - (Y-D) | is 0.5, and assuming that the preset threshold value is 1, it is known that the absolute value of the distance difference is smaller than the preset threshold value, and therefore, the curve a is similar to the curve B, and the first user passes the behavior characteristic verification.
According to the implementation, the highest point and the lowest point are obtained from the behavior characteristic curve of the user and the preset behavior characteristic curve respectively, the first Frechst distance and the second Frechst distance of the highest point and the lowest point are calculated, the difference absolute value of the first Frechst distance and the second Frechst distance is calculated, the difference absolute value is compared with the preset threshold value, whether the behavior characteristic curve of the user is similar to the preset behavior characteristic curve or not is judged according to the comparison result, and therefore verification of behavior characteristics is accurate.
Referring to fig. 5, fig. 5 is a flowchart illustrating a behavior verification control method according to a fourth embodiment of the present invention.
Based on the first embodiment, before the step S30, the method further includes:
step S3011: detecting the working state of the main server in real time;
step S3012: and when the working state of the main service is an online running state, the behavior characteristics are sent to the main server for verification of the behavior characteristics.
It should be noted that the first target server with the best performance is obtained through the server operation parameter and is used as the main server to perform the verification of the behavior feature, and only the server with the best performance is obtained, but in an actual situation, a specific working state of the server needs to be detected, where the working state includes an online running state and an offline state, when the server is in the online running state, it indicates that the server is running normally online, and when the server is offline, it indicates that the server is not accessing the internet, and the verification of the behavior feature cannot be performed.
Further, after the step S40, the method further includes:
step S401: detecting the working states of the first target server and the second target server in real time;
step S402: when the working state of the first target server is an online running state, switching the first target server into a main server to verify the behavior characteristics;
step S403: and when the working state of the first target server is an off-line state, switching the second target server to a main server for verifying the behavior characteristics.
It should be noted that the first target server is a server with optimal performance, and the first target server is an optimal choice as the main service, but in practical situations, because long-time operation cannot ensure that the first target service is always in a good state, therefore, it is necessary to perform simultaneous detection on the first target server and the second target server, when the first target server is in an offline state, the second target server is switched to the main service to perform behavior characteristic verification, when it is detected that the first target server returns to normal, that is, the operating state of the first target server returns to an online operating state, no matter what operating state the second target server is in, the first target server is switched to the main server to perform behavior characteristic verification, for example, the existing first target server a and the second target server B detect the operating states of the two servers respectively, when the first detection is carried out, the first target server A is in an off-line state, the second target server is in an online running state, the second target server B is switched to the main server to carry out verification operation, the states of the two servers are continuously detected, and the first target server A is switched to the main server to carry out verification operation until the working state of the first target server A is restored to the online running state.
Step S404: and sending the preset behavior characteristic curve in the main server to each standby server so that each standby server updates the stored preset behavior characteristic curve.
In the specific implementation, when the main server fails, the main server and the standby server are disconnected from each other, data interaction cannot be performed, and accurate verification can be continuously performed when the original main server is switched to the standby server, so that the preset behavior characteristic curve in the original main server is issued to other standby servers and is synchronously updated, and the preset behavior characteristic curves in the servers are ensured to be consistent.
In the embodiment, the working states of the first target server and the second target server are detected simultaneously, when the first target server is in an online running state, the first target server is switched to the main server to verify the behavior characteristics, and meanwhile, the preset behavior characteristic curves in the main server and the standby server are updated synchronously, so that the situation that the behavior verification cannot be performed due to the failure of the main server is avoided, and meanwhile, the accuracy and the efficiency of the behavior verification are improved.
The invention further provides a behavior verification control device.
Referring to fig. 6, fig. 6 is a block diagram illustrating a first embodiment of a behavior verification control apparatus according to the present invention.
As shown in fig. 6, the behavior verification control apparatus according to the embodiment of the present invention includes:
the reading module 10 is configured to obtain an operation parameter of each server, select one server from the servers as a main server according to the operation parameter, and use the other servers as standby servers;
it should be noted that, because there are a plurality of user terminal devices for login authentication, in order to ensure efficient behavior authentication, a plurality of servers are needed to be used in cooperation, in this embodiment, the servers are further divided into main servers and standby servers, user terminal device authentication is mainly centralized in the main server, when the main server fails, the main server is switched to another standby server for authentication, thereby avoiding that the user terminal devices cannot be authenticated due to failure of the main server, in this embodiment, the number of the main servers may be one or more, and the main servers are set by themselves according to actual conditions.
In specific implementation, the operation parameters of the server determine the performance of the server, the better the performance is, the stronger the capability of performing behavior verification is, the operation parameters of the server include CPU frequency, memory capacity, network card transmission speed, reliability, chip and motherboard compatibility, and the like, and the operation parameters may reflect the operation performance of the server, which is not limited in this embodiment.
It is easy to understand that the performance of the main server is considered as the optimal server relative to the performance of the other standby servers, and the optimal server is obtained as the main server according to the comprehensive analysis of the operation parameters, for example, for convenience of understanding, for example, the existing A, B, C three servers now obtain A, B, C three servers with CPU frequencies of 3.5HZ, 3.0HZ, and 2.8HZ, and memory contents of 2TB, 1TB, and 500GB, and according to the obtained CPU frequencies and memory capacities, the comprehensive performance of the a server is better than that of the B, C server, so the a server is used as the main server, and the B, C server is used as the standby server.
The receiving module 20 is configured to receive behavior data input by a user, and extract behavior characteristics of the user according to the behavior data;
the verification module 30 is configured to send the behavior feature to the master server for verification of the behavior feature;
in this embodiment, the execution main body is a behavior verification login end, and is configured to receive login information of the user terminal device, and perform primary/secondary selection and feedback verification information on the server, where the behavior verification terminal receives behavior data input by the user terminal device, and the behavior verification login end receives the behavior data input by the user terminal device and extracts behavior characteristics of the user from the behavior data.
It should be noted that the behavior data including the behavior data includes: sliding track, click event, touch area, time stamp and touch pressure, extracting behavior characteristics according to the behavior data, verifying the behavior characteristics in the main server, for example, for facilitating understanding, when the existing user terminal device performs behavior verification, the behavior data obtained for the user a is that the sliding track is a curve, the touch area is 2 square centimeters, the behavior characteristics of the user A can be extracted according to the behavior data of the user A, sliding verification is carried out rightwards, the behavior data of the user B is that the sliding track is a circular track, the sliding time is 1S, the touch area is 5N, the pressing verification of 1S can be extracted according to the behavior data of the user B and the behavior characteristics of the user, and if the preset behavior characteristic is right sliding verification, the first user terminal equipment passes the behavior verification, and the second user terminal equipment cannot pass the behavior verification.
And the switching module 40 is configured to select one server from the standby servers and switch the selected server to the main server to perform behavior feature verification when it is detected that the working state of the main server does not meet a preset condition. It should be noted that the authentication failure described herein is not authentication failure caused by user operation error, but authentication failure caused by failure of the main server, where the failure of the main server includes operating system failure, damage to hardware inside the main server, and the like, when the main server fails to authenticate, a second target server is selected from the standby servers, where the second target server is a server with the best performance in the standby servers, but the second target server is poorer in performance than the first target server, and the process of switching the second target server to the main server for re-authentication is a short process, and the user does not receive feedback of authentication failure caused by switching of the main server, and only receives the final behavior authentication result.
The embodiment extracts the behavior characteristics of the user according to the behavior data by receiving the behavior data input by the user; acquiring operation parameters of each server, selecting a first target server from each server as a main server according to the operation parameters, and using other servers as standby servers; the behavior characteristics are sent to a main server for verification of the behavior characteristics; when the verification fails, a second target server is selected from the standby servers, the second target server is switched to the main server, the behavior characteristics are verified again through the switched main server, and when the server fails, the behavior characteristics are verified in a mode of switching the main server and the standby server, so that the condition that the behavior verification cannot be performed when the server fails is avoided.
Furthermore, an embodiment of the present invention further provides a storage medium, where a behavior verification control program is stored, and the behavior verification control program, when executed by a processor, implements the steps of the behavior verification control method as described above.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A behavior verification control method, characterized in that the method comprises:
acquiring operation parameters of each server, selecting a first target server from each server as a main server according to the operation parameters, and using other servers as standby servers;
receiving behavior data input by a user, and extracting behavior characteristics of the user according to the behavior data;
sending the behavior characteristics to the main server for verification of the behavior characteristics;
and when the verification fails, selecting a second target server from the standby servers, switching the second target server to the main server, and verifying the behavior characteristics again through the switched main server.
2. The behavior verification control method according to claim 1, wherein the step of obtaining the operation parameters of each server, selecting a first target server from the servers as a primary server according to the operation parameters, and using other servers as standby servers specifically comprises:
acquiring the operation parameters of each server, and acquiring the weight coefficient of each server according to the weight coefficient and the operation parameter mapping table;
calculating the performance score corresponding to each server according to the weight coefficient;
and according to the performance scores, selecting a server with the largest performance score from the servers as a first target server, taking the first target server as a main server, and taking other servers as standby servers.
3. The behavior verification control method according to claim 1, wherein the step of receiving behavior data input by a user and extracting behavior features of the user according to the behavior data specifically comprises:
establishing a behavior characteristic coordinate system, acquiring behavior data input by a user, and generating corresponding behavior characteristic coordinate points in the behavior characteristic coordinate system according to the behavior data;
and sequentially connecting all the behavior characteristic coordinate points to obtain a current behavior characteristic curve, and taking the current behavior characteristic curve as the behavior characteristic of the user.
4. A behavior verification control method according to claim 3, wherein the step of sending the behavior feature to the master server for verification of the behavior feature specifically comprises:
acquiring a preset behavior characteristic curve stored in the main server, and respectively acquiring a current behavior characteristic curve and a behavior characteristic coordinate point on the preset behavior characteristic curve;
determining a first maximum value and a first minimum value on the current behavior characteristic curve according to the behavior characteristic coordinate points on the current behavior characteristic curve, and determining a second maximum value and a second minimum value on a preset behavior characteristic curve according to the behavior characteristic coordinate points on the preset behavior characteristic curve;
calculating a first Freund's distance from the first maximum value and the second maximum value, and calculating a second Freund's distance from the first minimum value and the second minimum value;
and calculating a distance difference between the first Fourier pause distance and the second Fourier pause distance, and when the distance difference is smaller than or equal to a preset threshold value, determining that the behavior characteristic verification is successful.
5. The behavior verification control method according to claim 4, wherein after the step of selecting the second target server from the standby servers, switching the second target server to the primary server, and re-performing the verification of the behavior characteristics through the switched primary server when the verification fails, the method further comprises:
and sending the preset behavior characteristic curve in the main server to each standby server so that each standby server updates the stored preset behavior characteristic curve.
6. The behavior verification control method according to claim 1, wherein the step of sending the behavior feature to the host server for verification of the behavior feature is preceded by:
detecting the working state of the main server in real time;
and when the working state of the main service is an online running state, the behavior characteristics are sent to the main server for verification of the behavior characteristics.
7. The behavior verification control method according to claim 5, wherein after the step of selecting the second target server from the standby servers, switching the second target server to the primary server, and re-performing the verification of the behavior characteristics through the switched primary server when the verification fails, the method further comprises:
detecting the working states of the first target server and the second target server in real time;
when the working state of the first target server is an online running state, switching the first target server into a main server to verify the behavior characteristics;
and when the working state of the first target server is an off-line state, switching the second target server to a main server for verifying the behavior characteristics.
8. A behavior verification control apparatus, characterized in that the apparatus comprises:
the reading module is used for acquiring the operation parameters of each server, selecting one server from each server as a main server according to the operation parameters, and taking other servers as standby servers;
the receiving module is used for receiving behavior data input by a user and extracting behavior characteristics of the user according to the behavior data;
the verification module is used for sending the behavior characteristics to the main server for verification of the behavior characteristics;
and the switching module is used for selecting one server from the standby servers and switching the selected server into the main server to verify the behavior characteristics when the working state of the main server is detected not to meet the preset condition.
9. A behavior verification control apparatus, characterized in that the apparatus comprises: a memory, a processor and a behaviour verification control program stored on the memory and running on the processor, the behaviour verification control program being configured to implement the steps of the behaviour verification control method according to any one of claims 1 to 7.
10. A storage medium having a behavior verification control program stored thereon, the behavior verification control program implementing the steps of the behavior verification control method according to any one of claims 1 to 7 when executed by a processor.
CN201911218597.6A 2019-11-28 2019-11-28 Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium Pending CN110868327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911218597.6A CN110868327A (en) 2019-11-28 2019-11-28 Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911218597.6A CN110868327A (en) 2019-11-28 2019-11-28 Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110868327A true CN110868327A (en) 2020-03-06

Family

ID=69657169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911218597.6A Pending CN110868327A (en) 2019-11-28 2019-11-28 Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110868327A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536266A (en) * 2021-06-25 2021-10-22 北京达佳互联信息技术有限公司 Identity authentication method and device, electronic equipment and storage medium
CN114257650A (en) * 2021-10-29 2022-03-29 四川新网银行股份有限公司 Bank individual user online checking method, system and equipment
CN115134220A (en) * 2022-06-29 2022-09-30 北京飞讯数码科技有限公司 Main/standby server switching method and device, computing equipment and storage medium
CN115277377A (en) * 2022-05-19 2022-11-01 亿点云计算(珠海)有限公司 Service acquisition method, device, terminal and storage medium based on distributed cloud

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603545A (en) * 2016-12-22 2017-04-26 江苏通付盾科技有限公司 Verification method based on interaction operation, server, terminal equipment and system
CN108040108A (en) * 2017-12-11 2018-05-15 杭州电魂网络科技股份有限公司 Communication handover method, device, coordination service device and readable storage medium storing program for executing
CN109684803A (en) * 2018-12-19 2019-04-26 西安电子科技大学 Man-machine verification method based on gesture sliding
CN109726543A (en) * 2018-12-30 2019-05-07 北京城市网邻信息技术有限公司 A kind of login method of application program, device, terminal device and storage medium
CN110191234A (en) * 2019-06-21 2019-08-30 中山大学 It is a kind of based on the intelligent terminal unlocking method for watching point analysis attentively

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603545A (en) * 2016-12-22 2017-04-26 江苏通付盾科技有限公司 Verification method based on interaction operation, server, terminal equipment and system
CN108040108A (en) * 2017-12-11 2018-05-15 杭州电魂网络科技股份有限公司 Communication handover method, device, coordination service device and readable storage medium storing program for executing
CN109684803A (en) * 2018-12-19 2019-04-26 西安电子科技大学 Man-machine verification method based on gesture sliding
CN109726543A (en) * 2018-12-30 2019-05-07 北京城市网邻信息技术有限公司 A kind of login method of application program, device, terminal device and storage medium
CN110191234A (en) * 2019-06-21 2019-08-30 中山大学 It is a kind of based on the intelligent terminal unlocking method for watching point analysis attentively

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何志甘 等: "温度趋势相似性在电力设备预警中的应用", 《仪器仪表标准化与计量》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536266A (en) * 2021-06-25 2021-10-22 北京达佳互联信息技术有限公司 Identity authentication method and device, electronic equipment and storage medium
CN113536266B (en) * 2021-06-25 2024-03-01 北京达佳互联信息技术有限公司 Identity verification method, device, electronic equipment and storage medium
CN114257650A (en) * 2021-10-29 2022-03-29 四川新网银行股份有限公司 Bank individual user online checking method, system and equipment
CN114257650B (en) * 2021-10-29 2024-03-12 四川新网银行股份有限公司 Bank personal user networking checking method, system and equipment
CN115277377A (en) * 2022-05-19 2022-11-01 亿点云计算(珠海)有限公司 Service acquisition method, device, terminal and storage medium based on distributed cloud
CN115134220A (en) * 2022-06-29 2022-09-30 北京飞讯数码科技有限公司 Main/standby server switching method and device, computing equipment and storage medium
CN115134220B (en) * 2022-06-29 2023-11-10 北京飞讯数码科技有限公司 Master-slave server switching method and device, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110868327A (en) Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium
CN103368913A (en) Account login method, apparatus and system, and network server
CN103873455B (en) A kind of method and device of information checking
CN107729836A (en) Face identification method and Related product
CN107533596B (en) Fingerprint identification method and mobile terminal
CN107248995B (en) Account verification method and device
CN105550557A (en) Method for logging in different systems through fingerprint recognition and terminal device
CN106656985B (en) Backup account login method, device and system
CN105681258A (en) Session method and session device based on third-party server
CN104954343A (en) Verification information processing method, server and system
CN110120928A (en) A kind of identity authentication method, device, server and computer-readable medium
CN108762659B (en) Cloud terminal control method and device, storage medium and electronic device
CN104679239A (en) Terminal input method
CN104317473A (en) Interface display method and client
CN110415044A (en) Cheat detection method, device, equipment and storage medium
CN109885232A (en) The control method of data input device, apparatus and system
CN111541649B (en) Password resetting method and device, server and storage medium
CN105491153A (en) Sharing method and device and mobile terminal
CN103546287A (en) Password verification method and electronic equipment
CN110929238B (en) Information processing method and device
CN111859322A (en) Identity verification method and device and electronic equipment
CN105471884B (en) A kind of authentication method, server
CN102714669B (en) A method and a system for establishing a communication channel between a predetermined number of selected devices and a device and a server arranged for use in the system
US20160378329A1 (en) Server device
CN110177096A (en) Client certificate method, apparatus, medium and calculating 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200306