CN110737889B - Business wind control adjustment method, device, equipment and storage medium - Google Patents
Business wind control adjustment method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110737889B CN110737889B CN201911020431.3A CN201911020431A CN110737889B CN 110737889 B CN110737889 B CN 110737889B CN 201911020431 A CN201911020431 A CN 201911020431A CN 110737889 B CN110737889 B CN 110737889B
- Authority
- CN
- China
- Prior art keywords
- wind control
- control system
- service
- fault
- abnormal
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/552—Detecting local intrusion or implementing counter-measures involving long-term monitoring or reporting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
- G06F11/0757—Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention discloses a business wind control adjusting method, a device, equipment and a storage medium, which are used for receiving business data sent by a business system and generating a business request according to the business data; sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system; determining a fault wind control system according to the stability state, and stopping operating the fault wind control system; the method comprises the steps of obtaining response results fed back by wind control systems except a fault wind control system in each wind control system, and sending the response results to a service system so that the service system can perform service wind control adjustment according to the response results, the influence of the fault wind control system on the service system can be effectively isolated, the stability and accuracy of the service system are improved, the service safety capability of a client is improved, different abnormal data are accurately determined and adjusted in a targeted mode, safe and reliable verification protection is provided for the user, and the account privacy safety of the user is guaranteed.
Description
Technical Field
The present invention relates to the field of internet security, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting a service wind control.
Background
For some security mechanisms needing key security, a plurality of wind control systems are generally deployed, so that key data resources behind the business system of the wind control system are protected; when an external user accesses the data resources through the service system, the service system sends the user characteristic data to each accessed wind control system one by one, and comprehensively judges whether the access operation of the external user is safe or not according to the judgment result returned by each wind control system; in the existing scheme, when a service system processes the access of an external user each time, each accessed wind control system needs to be called one by one; and then comprehensively judging whether the access operation of the external user is safe or not according to the risk judgment value returned by each wind control system.
There are two significant drawbacks to the current solutions, namely: if a certain accessed wind control system has a fault or is down; when the business system accesses the wind control system, problems of overlong processing time, response overtime and the like can occur, and the stability of the business system is directly influenced; if an accessed wind control system has errors, the judgment result of the risk is continuously subjected to false alarm or false report, for example, the normal external access is often judged as malicious attack; the final determination result of whether the external access behavior of the service system is safe or not has a deviation, and the accuracy of the service system is directly affected.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for adjusting service wind control, and aims to solve the technical problem that in the prior art, a certain wind control system fails or crashes, so that the stability and accuracy of the service system are poor.
In order to achieve the above object, the present invention provides a method for adjusting a service wind control, which comprises the following steps:
receiving service data sent by a service system, and generating a service request according to the service data;
sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system;
determining a fault wind control system according to the stability state, and stopping operating the fault wind control system;
and obtaining a response result fed back by the wind control systems except the fault wind control system in each wind control system, and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
Preferably, the sending the service request to each wind control system, and monitoring and obtaining the stability state of each wind control system includes:
sending the service request to each wind control system;
monitoring and acquiring the reading time of each wind control system for reading the service request;
comparing the reading time with preset reading overtime time, and determining the overtime times of each wind control system according to the comparison result;
comparing the overtime times with a preset time threshold to generate a comparison result;
when the comparison result is that the overtime frequency is greater than the preset frequency threshold, determining that the stability state of the current wind control system is an unstable state;
and when the comparison result shows that the overtime frequency is smaller than or equal to the preset frequency threshold, determining that the stability state of the current wind control system is a stable state.
Preferably, the determining the fault wind control system according to the stability state and stopping the operation of the fault wind control system includes:
when the stability state is an unstable state, determining that the current wind control system is a fault wind control system;
searching the pause time corresponding to the overtime times according to a preset time pause time table;
and stopping running the fault wind control system according to the pause time.
Preferably, after the operation of the fault wind control system is stopped according to the pause time, the service wind control adjusting method further includes:
when the stop time of the fault wind control system is detected to reach the pause time, sending a test service request to the fault wind control system;
and detecting whether the test service request fails to respond, and forbidding the running of the fault wind control system when the test service request fails to respond.
Preferably, the obtaining a response result fed back by a wind control system other than the faulty wind control system in each wind control system, and sending the response result to the service system, so that the service system performs service wind control adjustment according to the response result, includes:
obtaining a plurality of risk judgment grade values fed back by target wind control systems except the fault wind control system in each wind control system;
determining a risk grade corresponding to the business data according to a preset weight coefficient and each risk judgment grade value, and taking the risk grade as a response result;
and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
Preferably, after the service request is sent to each wind control system and the stability state of each wind control system is obtained through monitoring, the service wind control adjustment method further includes:
acquiring service feedback data fed back by the target wind control system;
matching sample service feedback data in a preset database with the service feedback data to obtain the matching degree of the sample service feedback data and the service feedback data;
obtaining the service data type of the service feedback data and the sample data type of the sample service feedback data;
when the sample data type is inconsistent with the service data type and/or the matching degree is lower than a preset matching degree, judging that the current target wind control system is an abnormal wind control system;
and adjusting the target preset weight coefficient corresponding to the abnormal wind control system downwards so as to reduce the influence of the risk judgment level value of the abnormal wind control system on the corresponding result.
Preferably, the step of adjusting the target preset weight coefficient corresponding to the abnormal wind control system downward to reduce the influence of the risk judgment level value of the abnormal wind control system on the corresponding result includes:
when one abnormal wind control system is adopted, a target preset weight coefficient corresponding to the abnormal wind control system is adjusted downwards so as to reduce the influence of a risk judgment level value of the abnormal wind control system on the corresponding result;
when a plurality of abnormal wind control systems are provided, calculating the difference value between the risk judgment grade value corresponding to each abnormal wind control system and other risk judgment grade values in each wind control system, taking the abnormal wind control system corresponding to the grade value with the largest difference value as a target abnormal wind control system, and reducing the target preset weight coefficient corresponding to the target abnormal wind control system so as to reduce the influence of the risk judgment grade value of the target abnormal wind control system on the corresponding result.
Furthermore, to achieve the above object, the present invention also proposes an apparatus comprising: the device comprises a device, a memory, a processor and a service wind control adjustment program stored on the memory and executable on the processor, wherein the service wind control adjustment program is configured to implement the steps of the service wind control adjustment method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium, where a service wind control adjustment program is stored, and when the service wind control adjustment program is executed by a processor, the steps of the service wind control adjustment method are implemented.
In addition, to achieve the above object, the present invention further provides a service wind control adjusting device, where the service wind control adjusting device includes:
the request generation module is used for receiving the service data sent by the service system and generating a service request according to the service data;
the monitoring module is used for sending the service request to each wind control system and monitoring to obtain the stability state of each wind control system;
the stopping module is used for determining a fault wind control system according to the stability state and stopping running the fault wind control system;
and the adjusting module is used for obtaining a response result fed back by the wind control systems except the fault wind control system in each wind control system and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
The business wind control adjusting method provided by the invention receives the business data sent by the business system and generates the business request according to the business data; sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system; determining a fault wind control system according to the stability state, and stopping operating the fault wind control system; the method comprises the steps of obtaining response results fed back by wind control systems except a fault wind control system in each wind control system, and sending the response results to a service system, so that the service system performs service wind control adjustment according to the response results, the influence of the fault wind control system on the service system can be effectively isolated, the stability and accuracy of the service system are improved, the service safety capability of a client is improved, different abnormal data are accurately determined and adjusted in a targeted mode, safe and reliable verification protection is provided for the user, and the account privacy safety of the user is guaranteed.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a method for adjusting a service profile according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a service air control adjustment method according to the present invention;
fig. 4 is a flowchart illustrating a service wind control adjustment method according to a third embodiment of the present invention;
fig. 5 is a functional block diagram of a first embodiment of a traffic profile adjusting apparatus according to 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.
The solution of the embodiment of the invention is mainly as follows: the invention receives the service data sent by the service system and generates a service request according to the service data; sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system; determining a fault wind control system according to the stability state, and stopping operating the fault wind control system; the method comprises the steps of obtaining response results fed back by wind control systems except a fault wind control system in each wind control system, and sending the response results to the service system, so that the service system performs service wind control adjustment according to the response results, the influence of the fault wind control system on the service system can be effectively isolated, the stability and the accuracy of the service system are improved, the service safety capability of a customer is improved, different abnormal data are accurately determined and subjected to targeted adjustment, safe and reliable verification protection is provided for the user, the account privacy safety of the user is guaranteed, and the technical problem that in the prior art, the stability and the accuracy of the service system are poor due to the fact that a certain wind control system fails or crashes is solved.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the apparatus may include: a device, 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 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 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 of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus 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, the memory 1005, which is a storage medium, may include an operating system, a network communication module, a user interface module, and a service profile adjustment program.
The device calls a service wind control adjustment program stored in a memory 1005 through a processor 1001, and executes the following operations:
receiving service data sent by a service system, and generating a service request according to the service data;
sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system;
determining a fault wind control system according to the stability state, and stopping operating the fault wind control system;
and obtaining a response result fed back by the wind control systems except the fault wind control system in each wind control system, and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
Further, the processor 1001 may call the traffic profile adjustment program stored in the memory 1005, and further perform the following operations:
sending the service request to each wind control system;
monitoring and acquiring the reading time of each wind control system for reading the service request;
comparing the reading time with preset reading overtime time, and determining the overtime times of each wind control system according to the comparison result;
comparing the overtime times with a preset time threshold to generate a comparison result;
when the comparison result is that the overtime frequency is greater than the preset frequency threshold, determining that the stability state of the current wind control system is an unstable state;
and when the comparison result shows that the overtime frequency is smaller than or equal to the preset frequency threshold, determining that the stability state of the current wind control system is a stable state.
Further, the processor 1001 may call the traffic profile adjustment program stored in the memory 1005, and further perform the following operations:
when the stability state is an unstable state, determining that the current wind control system is a fault wind control system;
searching the pause time corresponding to the overtime times according to a preset time pause time table;
and stopping running the fault wind control system according to the pause time.
Further, the processor 1001 may call the traffic profile adjustment program stored in the memory 1005, and further perform the following operations:
when the stop time of the fault wind control system is detected to reach the pause time, sending a test service request to the fault wind control system;
and detecting whether the test service request fails to respond, and forbidding the running of the fault wind control system when the test service request fails to respond.
Further, the processor 1001 may call the traffic profile adjustment program stored in the memory 1005, and further perform the following operations:
obtaining a plurality of risk judgment grade values fed back by target wind control systems except the fault wind control system in each wind control system;
determining a risk grade corresponding to the business data according to a preset weight coefficient and each risk judgment grade value, and taking the risk grade as a response result;
and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
Further, the processor 1001 may call the traffic profile adjustment program stored in the memory 1005, and further perform the following operations:
acquiring service feedback data fed back by the target wind control system;
matching sample service feedback data in a preset database with the service feedback data to obtain the matching degree of the sample service feedback data and the service feedback data;
obtaining the service data type of the service feedback data and the sample data type of the sample service feedback data;
when the sample data type is inconsistent with the service data type and/or the matching degree is lower than a preset matching degree, judging that the current target wind control system is an abnormal wind control system;
and adjusting the target preset weight coefficient corresponding to the abnormal wind control system downwards so as to reduce the influence of the risk judgment level value of the abnormal wind control system on the corresponding result.
Further, the processor 1001 may call the traffic profile adjustment program stored in the memory 1005, and further perform the following operations:
when one abnormal wind control system is adopted, a target preset weight coefficient corresponding to the abnormal wind control system is adjusted downwards so as to reduce the influence of a risk judgment level value of the abnormal wind control system on the corresponding result;
when a plurality of abnormal wind control systems are provided, calculating the difference value between the risk judgment grade value corresponding to each abnormal wind control system and other risk judgment grade values in each wind control system, taking the abnormal wind control system corresponding to the grade value with the largest difference value as a target abnormal wind control system, and reducing the target preset weight coefficient corresponding to the target abnormal wind control system so as to reduce the influence of the risk judgment grade value of the target abnormal wind control system on the corresponding result.
According to the scheme, the embodiment receives the service data sent by the service system and generates the service request according to the service data; sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system; determining a fault wind control system according to the stability state, and stopping operating the fault wind control system; the method comprises the steps of obtaining response results fed back by wind control systems except a fault wind control system in each wind control system, and sending the response results to a service system, so that the service system performs service wind control adjustment according to the response results, the influence of the fault wind control system on the service system can be effectively isolated, the stability and accuracy of the service system are improved, the service safety capability of a client is improved, different abnormal data are accurately determined and adjusted in a targeted mode, safe and reliable verification protection is provided for the user, and the account privacy safety of the user is guaranteed.
Based on the hardware structure, the embodiment of the business wind control adjusting method is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a service wind control adjustment method according to the present invention.
In a first embodiment, the method for adjusting the traffic wind control includes the following steps:
and step S10, receiving the service data sent by the service system, and generating a service request according to the service data.
It should be noted that, generally, the service data sent by the service system is received through the service wind control gateway, the service wind control gateway is arranged in front of the service system and the wind control system, so that the direct contact between the service system and the wind control system can be well isolated, and a fault caused by error information fed back by the failed wind control system is avoided, and the service data is data corresponding to the service to be detected, and a corresponding service request can be generated according to the service data.
And step S20, sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system.
It can be understood that, generally, the service wind control gateway generates a corresponding service request for the received service data, and then sends the service request to each wind control system, generally, the service request may be sent to each wind control system at the same time, or the service request may be sent in a specific direction at different times, which is not limited in this embodiment; after the service request is sent to each wind control system, the response of each wind control system can be monitored, so that the stability state of each wind control system can be obtained, and the stability state can be reflected by some stability data.
Further, the step S20 specifically includes the following steps:
sending the service request to each wind control system;
monitoring and acquiring the reading time of each wind control system for reading the service request;
comparing the reading time with preset reading overtime time, and determining the overtime times of each wind control system according to the comparison result;
comparing the overtime times with a preset time threshold to generate a comparison result;
when the comparison result is that the overtime frequency is greater than the preset frequency threshold, determining that the stability state of the current wind control system is an unstable state;
and when the comparison result shows that the overtime frequency is smaller than or equal to the preset frequency threshold, determining that the stability state of the current wind control system is a stable state.
It can be understood that by comparing the reading time of the service request read by each wind control system with the preset reading timeout time, whether each wind control system reads the service request overtime can be determined, so that corresponding timeout times can be recorded after the service request is read for multiple times, and whether the wind control system is stable is determined according to the timeout times, that is, when the timeout times are greater than the preset time threshold value, the stability state of the current wind control system is determined to be an unstable state; when the overtime times are smaller than or equal to the preset time threshold, determining that the stability state of the current wind control system is a stable state; the preset reading timeout time is a preset reading timeout time threshold, and may be obtained through training of a large amount of experimental data, determined through daily operation experience of technicians, or determined in other manners, which is not limited in this embodiment; the preset time threshold is a preset overtime threshold.
In specific implementation, the reading over time of each wind control system can be monitored through stability related configuration parameters of the service wind control gateway, so that the stable state of each wind control system is determined; when a service wind control gateway sends a judgment request to a certain wind control system, if the reading time is longer than the reading overtime set by the wind control system, the request can be ended through the service wind control gateway, the judgment result of the wind control system is ignored, and meanwhile, the value of the variable of the number of times of failure of the request of the wind control system is increased by 1.
And step S30, determining a fault wind control system according to the stability state, and stopping running the fault wind control system.
It should be understood that a fault wind control system can be determined from the wind control systems through the stability state, the operation of the fault wind control system can be stopped, and the service request can also be stopped from being sent to the fault wind control system.
And step S40, obtaining response results fed back by the wind control systems except the fault wind control system in each wind control system, and sending the response results to the service system so that the service system performs service wind control adjustment according to the response results.
It can be understood that after the fault wind control system is removed from each wind control system, response results fed back by other wind control systems can be obtained, the response results are relatively accurate, and the response results are sent to the service system, so that the service system can perform service wind control adjustment according to the response results.
According to the scheme, the embodiment receives the service data sent by the service system and generates the service request according to the service data; sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system; determining a fault wind control system according to the stability state, and stopping operating the fault wind control system; the method comprises the steps of obtaining response results fed back by wind control systems except a fault wind control system in each wind control system, and sending the response results to a service system, so that the service system performs service wind control adjustment according to the response results, the influence of the fault wind control system on the service system can be effectively isolated, the stability and accuracy of the service system are improved, the service safety capability of a client is improved, different abnormal data are accurately determined and adjusted in a targeted mode, safe and reliable verification protection is provided for the user, and the account privacy safety of the user is guaranteed.
Further, fig. 3 is a schematic flow chart of a second embodiment of the service wind control adjustment method of the present invention, and as shown in fig. 3, the second embodiment of the service wind control adjustment method of the present invention is proposed based on the first embodiment, and in this embodiment, the step S30 specifically includes the following steps:
and step S31, when the stability state is an unstable state, determining that the current wind control system is a fault wind control system.
It should be understood that when the stable state is an unstable state, it may be determined that the current wind control system is a failed wind control system.
And step S32, searching the pause time corresponding to the overtime times according to a preset time pause time table.
It can be understood that the preset number of times pause time table is a mapping table in which the preset number of times of timeout corresponds to the pause time, and the pause time corresponding to the number of times of timeout can be found through the preset number of times pause time table.
And step S33, stopping running the fault wind control system according to the pause time.
In a specific implementation, the operation of the fault wind control system is stopped through the pause time, when a service wind control gateway sends a determination request to a certain wind control system, if the reading time is longer than the reading timeout time set by the wind control system, the service wind control gateway immediately ends the request and ignores the determination result of the wind control system; meanwhile, the value of the variable of the number of times of failure of the request of the wind control system is increased by 1; if the value of the variable of the number of times of failure of the request of the wind control system reaches the set maximum number of times of failure, the wind control system enters a dormant state, and the value of the variable of the number of times of failure of the request is set to be 0; the length of the sleeping time is determined by the set 'pause time', namely, the service wind control gateway does not send a judgment request to the wind control system in the 'pause time'.
Further, the step S33 specifically includes the following steps:
when the stop time of the fault wind control system is detected to reach the pause time, sending a test service request to the fault wind control system;
and detecting whether the test service request fails to respond, and forbidding the running of the fault wind control system when the test service request fails to respond.
It should be understood that, when it is detected that the stop time of the fault wind control system reaches the pause time, a test service request may be sent to the fault wind control system, and it is further detected whether the test service request fails to respond, and when the test service request fails to respond, the fault wind control system is prohibited from operating;
in a specific implementation, a certain wind control system has been dormant for a set duration of "pause time". The service wind control gateway will continue to send a determination request to the wind control system, and if the request fails again, the parameter of "whether to go offline" of the wind control system is set to "yes", that is, the connection with the wind control system is completely disconnected. Unless the user manually sets the "offline" parameter of the wind control system to "no".
According to the scheme, when the stability state is the unstable state, the current wind control system is determined to be the fault wind control system; searching the pause time corresponding to the overtime times according to a preset time pause time table; the fault wind control system is stopped running according to the pause time, the fault wind control system can be accurately determined from the wind control systems and paused, the influence of the fault wind control system on a service system can be effectively isolated, the stability and the accuracy of the service system are improved, the service safety capability of a client is improved, different abnormal data are accurately determined and adjusted in a targeted mode, safe and reliable verification protection is provided for the user, and the account privacy safety of the user is guaranteed.
Further, fig. 4 is a schematic flow chart of a third embodiment of the service wind control adjustment method of the present invention, and as shown in fig. 4, the third embodiment of the service wind control adjustment method of the present invention is proposed based on the second embodiment, and in this embodiment, the step S40 specifically includes the following steps:
and step S41, obtaining a plurality of risk judgment grade values fed back by target wind control systems except the fault wind control system in each wind control system.
It should be noted that after the faulty wind control systems are removed, the feedback of each wind control system to the same service request is different, that is, a plurality of risk judgment grade values are fed back, and the risk judgment grade values may reflect the judgment of the wind control system on the risk grade of the service request.
And step S42, determining the risk level corresponding to the business data according to the preset weight coefficient and each risk judgment level value, and taking the risk level as a response result.
It can be understood that the preset weight coefficient is a preset weight coefficient corresponding to each of the wind control systems, and by combining each risk judgment level value of the plurality of wind control systems and calculating according to the preset weight coefficient, a comprehensive risk level can be obtained, and the risk level can be used as a response result.
And step S43, sending the response result to the service system so that the service system can carry out service wind control adjustment according to the response result.
It should be understood that the response result may be sent to the service system through the service wind control device, which is generally a service wind control gateway, or may be a service wind control server, or may be other types of service wind control devices to perform data transfer processing, so as to achieve the purpose of isolating the wind control system from the service system.
Correspondingly, after the step S20, the method for adjusting the traffic wind control further includes the following steps:
acquiring service feedback data fed back by the target wind control system;
matching sample service feedback data in a preset database with the service feedback data to obtain the matching degree of the sample service feedback data and the service feedback data;
obtaining the service data type of the service feedback data and the sample data type of the sample service feedback data;
when the sample data type is inconsistent with the service data type and/or the matching degree is lower than a preset matching degree, judging that the current target wind control system is an abnormal wind control system;
and adjusting the target preset weight coefficient corresponding to the abnormal wind control system downwards so as to reduce the influence of the risk judgment level value of the abnormal wind control system on the corresponding result.
It can be understood that, by performing a risk matching on the feedback data fed back by the target wind control system, it may be determined whether the service feedback data is abnormal feedback data, and further determine whether the target wind control system is an abnormal wind control system, that is, when the sample data type is inconsistent with the service data type and/or the matching degree is lower than a preset matching degree, it is determined that the service feedback data is greatly different from general feedback data, and then it is determined that the current target wind control system is an abnormal wind control system; and after the abnormal wind control system is determined, the target preset weight coefficient corresponding to the abnormal wind control system is adjusted downwards so as to reduce the influence of the risk judgment level value of the abnormal wind control system on the corresponding result.
Further, the step of adjusting a target preset weight coefficient corresponding to the abnormal wind control system downward to reduce the influence of the risk judgment level value of the abnormal wind control system on the corresponding result includes the following steps:
when one abnormal wind control system is adopted, a target preset weight coefficient corresponding to the abnormal wind control system is adjusted downwards so as to reduce the influence of a risk judgment level value of the abnormal wind control system on the corresponding result;
when a plurality of abnormal wind control systems are provided, calculating the difference value between the risk judgment grade value corresponding to each abnormal wind control system and other risk judgment grade values in each wind control system, taking the abnormal wind control system corresponding to the grade value with the largest difference value as a target abnormal wind control system, and reducing the target preset weight coefficient corresponding to the target abnormal wind control system so as to reduce the influence of the risk judgment grade value of the target abnormal wind control system on the corresponding result.
It should be understood that there may be one abnormal wind control system or a plurality of abnormal wind control systems, when there are a plurality of abnormal wind control systems, a difference between a risk judgment level value corresponding to each abnormal wind control system and other risk judgment level values in each wind control system is generally calculated, a wind control system with the largest difference, that is, a wind control system with the largest influence on a business system, may generally reduce a weight coefficient of the wind control system by a business wind control equalizer, so as to reduce the influence of the risk judgment level value of the target abnormal wind control system on the corresponding result, and generally reduce the target preset weight coefficient by 5%, and certainly may also be set to be reduced to other values, which is not limited in this embodiment.
In a specific implementation, if the value of the "variable of the number of errors" of the abnormal wind control system reaches the set "maximum number of errors", the wind control system enters a sleep state, and the value of the "variable of the number of errors" is not set to 0 at this time. The sleeping time length is determined by the set 'pause time', namely, the service wind control gateway does not send a judgment request to the wind control system within the 'pause time'; if a certain wind control system is dormant for a set time length of 'pause time'; the service wind control gateway will continue to send a determination request to the wind control system, and if a request of a certain time appears a false report or an error report later, the parameter of 'whether to participate in determination' of the wind control system is set to 'no', that is, the determination result of the wind control system will not participate in the operation of the final risk determination level any more. Unless the user manually sets the "participation decision" parameter of the wind control system to "yes".
According to the scheme, a plurality of risk judgment grade values fed back by target wind control systems except the fault wind control system in each wind control system are obtained; determining a risk grade corresponding to the business data according to a preset weight coefficient and each risk judgment grade value, and taking the risk grade as a response result; and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result, the stability and accuracy of the service system can be improved, the service safety capability of the client is improved, different abnormal data are accurately determined and subjected to targeted adjustment, safe and reliable verification protection is provided for the user, and the account privacy safety of the user is guaranteed.
Based on the embodiment of the service wind control adjusting method, the invention further provides a service wind control adjusting device.
Referring to fig. 5, fig. 5 is a functional block diagram of a first embodiment of a service air control adjustment apparatus according to the present invention.
In a first embodiment of the service air control adjusting apparatus of the present invention, the service air control adjusting apparatus includes:
the request generating module 10 is configured to receive service data sent by a service system, and generate a service request according to the service data.
It should be noted that, generally, the service data sent by the service system is received through the service wind control gateway, the service wind control gateway is arranged in front of the service system and the wind control system, so that the direct contact between the service system and the wind control system can be well isolated, and a fault caused by error information fed back by the failed wind control system is avoided, and the service data is data corresponding to the service to be detected, and a corresponding service request can be generated according to the service data.
And the monitoring module 20 is configured to send the service request to each wind control system, and monitor to obtain a stability state of each wind control system.
It can be understood that, generally, the service wind control gateway generates a corresponding service request for the received service data, and then sends the service request to each wind control system, generally, the service request may be sent to each wind control system at the same time, or the service request may be sent in a specific direction at different times, which is not limited in this embodiment; after the service request is sent to each wind control system, the response of each wind control system can be monitored, so that the stability state of each wind control system can be obtained, and the stability state can be reflected by some stability data.
And the stopping module 30 is used for determining a fault wind control system according to the stability state and stopping running the fault wind control system.
It should be understood that the fault wind control system can be determined from the wind control systems through the stability state, and the operation of the fault wind control system can be stopped, and the service request can also be simultaneously stopped being sent to the fault wind control system.
And the adjusting module 40 is configured to obtain a response result fed back by a wind control system other than the failed wind control system in each wind control system, and send the response result to the service system, so that the service system performs service wind control adjustment according to the response result.
It can be understood that after the fault wind control system is removed from each wind control system, response results fed back by other wind control systems can be obtained, the response results are relatively accurate, and the response results are sent to the service system, so that the service system can perform service wind control adjustment according to the response results.
The steps implemented by each functional module of the service wind control adjusting device may refer to each embodiment of the service wind control adjusting method of the present invention, and are not described herein again.
In addition, an embodiment of the present invention further provides a storage medium, where a service wind control adjustment program is stored on the storage medium, and when executed by a processor, the service wind control adjustment program implements the following operations:
receiving service data sent by a service system, and generating a service request according to the service data;
sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system;
determining a fault wind control system according to the stability state, and stopping operating the fault wind control system;
and obtaining a response result fed back by the wind control systems except the fault wind control system in each wind control system, and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
Further, the service wind control adjustment program when executed by the processor further implements the following operations:
sending the service request to each wind control system;
monitoring and acquiring the reading time of each wind control system for reading the service request;
comparing the reading time with preset reading overtime time, and determining the overtime times of each wind control system according to the comparison result;
comparing the overtime times with a preset time threshold to generate a comparison result;
when the comparison result is that the overtime frequency is greater than the preset frequency threshold, determining that the stability state of the current wind control system is an unstable state;
and when the comparison result shows that the overtime frequency is smaller than or equal to the preset frequency threshold, determining that the stability state of the current wind control system is a stable state.
Further, the service wind control adjustment program when executed by the processor further implements the following operations:
when the stability state is an unstable state, determining that the current wind control system is a fault wind control system;
searching the pause time corresponding to the overtime times according to a preset time pause time table;
and stopping running the fault wind control system according to the pause time.
Further, the service wind control adjustment program when executed by the processor further implements the following operations:
when the stop time of the fault wind control system is detected to reach the pause time, sending a test service request to the fault wind control system;
and detecting whether the test service request fails to respond, and forbidding the running of the fault wind control system when the test service request fails to respond.
Further, the service wind control adjustment program when executed by the processor further implements the following operations:
obtaining a plurality of risk judgment grade values fed back by target wind control systems except the fault wind control system in each wind control system;
determining a risk grade corresponding to the business data according to a preset weight coefficient and each risk judgment grade value, and taking the risk grade as a response result;
and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
Further, the service wind control adjustment program when executed by the processor further implements the following operations:
acquiring service feedback data fed back by the target wind control system;
matching sample service feedback data in a preset database with the service feedback data to obtain the matching degree of the sample service feedback data and the service feedback data;
obtaining the service data type of the service feedback data and the sample data type of the sample service feedback data;
when the sample data type is inconsistent with the service data type and/or the matching degree is lower than a preset matching degree, judging that the current target wind control system is an abnormal wind control system;
and adjusting the target preset weight coefficient corresponding to the abnormal wind control system downwards so as to reduce the influence of the risk judgment level value of the abnormal wind control system on the corresponding result.
Further, the service wind control adjustment program when executed by the processor further implements the following operations:
when one abnormal wind control system is adopted, a target preset weight coefficient corresponding to the abnormal wind control system is adjusted downwards so as to reduce the influence of a risk judgment level value of the abnormal wind control system on the corresponding result;
when a plurality of abnormal wind control systems are provided, calculating the difference value between the risk judgment grade value corresponding to each abnormal wind control system and other risk judgment grade values in each wind control system, taking the abnormal wind control system corresponding to the grade value with the largest difference value as a target abnormal wind control system, and reducing the target preset weight coefficient corresponding to the target abnormal wind control system so as to reduce the influence of the risk judgment grade value of the target abnormal wind control system on the corresponding result.
According to the scheme, the embodiment receives the service data sent by the service system and generates the service request according to the service data; sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system; determining a fault wind control system according to the stability state, and stopping operating the fault wind control system; the method comprises the steps of obtaining response results fed back by wind control systems except a fault wind control system in each wind control system, and sending the response results to a service system, so that the service system performs service wind control adjustment according to the response results, the influence of the fault wind control system on the service system can be effectively isolated, the stability and accuracy of the service system are improved, the service safety capability of a client is improved, different abnormal data are accurately determined and adjusted in a targeted mode, safe and reliable verification protection is provided for the user, and the account privacy safety of the user is guaranteed.
It should 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 apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus 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. 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 (8)
1. A method for adjusting service wind control is characterized in that the method for adjusting service wind control comprises the following steps:
receiving service data sent by a service system, and generating a service request according to the service data;
sending the service request to each wind control system, and monitoring to obtain the stability state of each wind control system;
determining a fault wind control system according to the stability state, and stopping operating the fault wind control system;
obtaining response results fed back by wind control systems except the fault wind control system in each wind control system, and sending the response results to the service system so that the service system performs service wind control adjustment according to the response results;
the sending the service request to each wind control system, and monitoring and obtaining the stability state of each wind control system includes:
sending the service request to each wind control system;
monitoring and acquiring the reading time of each wind control system for reading the service request;
comparing the reading time with preset reading overtime time, and determining the overtime times of each wind control system according to the comparison result;
comparing the overtime times with a preset time threshold to generate a comparison result;
when the comparison result is that the overtime frequency is greater than the preset frequency threshold, determining that the stability state of the current wind control system is an unstable state;
when the comparison result is that the overtime frequency is smaller than or equal to the preset frequency threshold, determining that the stability state of the current wind control system is a stable state;
wherein, said determining the fault wind control system according to the stability state and stopping the operation of the fault wind control system comprises:
when the stability state is an unstable state, determining that the current wind control system is a fault wind control system;
searching the pause time corresponding to the overtime times according to a preset time pause time table;
and stopping running the fault wind control system according to the pause time.
2. The traffic wind control adjustment method according to claim 1, wherein after the stop of the operation of the faulty wind control system according to the pause time, the traffic wind control adjustment method further comprises:
when the stop time of the fault wind control system is detected to reach the pause time, sending a test service request to the fault wind control system;
and detecting whether the test service request fails to respond, and forbidding the running of the fault wind control system when the test service request fails to respond.
3. The service wind control adjustment method according to any one of claims 1 to 2, wherein the obtaining of a response result fed back by a wind control system other than the faulty wind control system in each wind control system and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result includes:
obtaining a plurality of risk judgment grade values fed back by target wind control systems except the fault wind control system in each wind control system;
determining a risk grade corresponding to the business data according to a preset weight coefficient and each risk judgment grade value, and taking the risk grade as a response result;
and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result.
4. The method according to claim 3, wherein after the service request is sent to each of the wind control systems and the stability status of each of the wind control systems is monitored, the method further comprises:
acquiring service feedback data fed back by the target wind control system;
matching sample service feedback data in a preset database with the service feedback data to obtain the matching degree of the sample service feedback data and the service feedback data;
obtaining the service data type of the service feedback data and the sample data type of the sample service feedback data;
when the sample data type is inconsistent with the service data type and/or the matching degree is lower than a preset matching degree, judging that the current target wind control system is an abnormal wind control system;
and adjusting the target preset weight coefficient corresponding to the abnormal wind control system downwards so as to reduce the influence of the risk judgment level value of the abnormal wind control system on the response result.
5. The method according to claim 4, wherein the step of adjusting the target preset weight coefficient corresponding to the abnormal wind control system to reduce the influence of the risk determination level value of the abnormal wind control system on the response result comprises:
when one abnormal wind control system is adopted, a target preset weight coefficient corresponding to the abnormal wind control system is adjusted downwards so as to reduce the influence of a risk judgment level value of the abnormal wind control system on the response result;
when a plurality of abnormal wind control systems are provided, calculating the difference value between the risk judgment grade value corresponding to each abnormal wind control system and other risk judgment grade values in each wind control system, taking the abnormal wind control system corresponding to the grade value with the largest difference value as a target abnormal wind control system, and reducing the target preset weight coefficient corresponding to the target abnormal wind control system so as to reduce the influence of the risk judgment grade value of the target abnormal wind control system on the response result.
6. A service air control adjusting device, wherein the service air control adjusting device comprises:
the request generation module is used for receiving the service data sent by the service system and generating a service request according to the service data;
the monitoring module is used for sending the service request to each wind control system and monitoring to obtain the stability state of each wind control system;
the stopping module is used for determining a fault wind control system according to the stability state and stopping running the fault wind control system;
the adjusting module is used for obtaining a response result fed back by the wind control systems except the fault wind control system in each wind control system and sending the response result to the service system so that the service system performs service wind control adjustment according to the response result;
the monitoring module is also used for sending the service request to each wind control system;
the monitoring module is further used for monitoring and acquiring the reading time of each wind control system for reading the service request;
the monitoring module is further used for comparing the reading time with a preset reading overtime time and determining the overtime times of each wind control system according to the comparison result;
the monitoring module is further used for comparing the overtime times with a preset time threshold value to generate a comparison result;
the monitoring module is further configured to determine that the stability state of the current wind control system is an unstable state when the comparison result indicates that the timeout times are greater than the preset time threshold;
the monitoring module is further configured to determine that the stability state of the current wind control system is a stable state when the comparison result indicates that the timeout times are less than or equal to the preset time threshold;
the stopping module is further used for determining that the current wind control system is a fault wind control system when the stability state is an unstable state;
the stopping module is also used for searching the pause time corresponding to the overtime times according to a preset time pause time table;
and the stopping module is also used for stopping operating the fault wind control system according to the pause time.
7. A service air control adjustment device, wherein the service air control adjustment device comprises: a memory, a processor and a traffic wind control adjustment program stored on the memory and executable on the processor, the traffic wind control adjustment program being configured to implement the steps of the traffic wind control adjustment method according to any one of claims 1 to 5.
8. A storage medium, characterized in that the storage medium has stored thereon a service wind control adjustment program, which when executed by a processor implements the steps of the service wind control adjustment method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911020431.3A CN110737889B (en) | 2019-10-24 | 2019-10-24 | Business wind control adjustment method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911020431.3A CN110737889B (en) | 2019-10-24 | 2019-10-24 | Business wind control adjustment method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110737889A CN110737889A (en) | 2020-01-31 |
CN110737889B true CN110737889B (en) | 2022-04-05 |
Family
ID=69271336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911020431.3A Active CN110737889B (en) | 2019-10-24 | 2019-10-24 | Business wind control adjustment method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110737889B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111784359B (en) * | 2020-07-31 | 2022-07-22 | 支付宝(杭州)信息技术有限公司 | Multi-mode wind control grading disaster recovery method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9386078B2 (en) * | 2014-05-30 | 2016-07-05 | Ca, Inc. | Controlling application programming interface transactions based on content of earlier transactions |
CN105046562B (en) * | 2015-09-10 | 2018-07-27 | 腾讯科技(深圳)有限公司 | Air control system and air control data capture method |
CN106815754A (en) * | 2015-12-02 | 2017-06-09 | 阿里巴巴集团控股有限公司 | The charging method and air control system server of a kind of risk control system |
US10713639B2 (en) * | 2016-08-02 | 2020-07-14 | Mastercard International Incorporated | Systems and methods for use in expanding account services |
CN107067157A (en) * | 2017-03-01 | 2017-08-18 | 北京奇艺世纪科技有限公司 | Business risk appraisal procedure, device and air control system |
CN107767021A (en) * | 2017-09-12 | 2018-03-06 | 阿里巴巴集团控股有限公司 | A kind of risk control method and equipment |
CN109214908A (en) * | 2018-07-06 | 2019-01-15 | 深圳市买买提信息科技有限公司 | A kind of monitoring method and relevant apparatus |
CN110232629A (en) * | 2019-05-22 | 2019-09-13 | 深圳壹账通智能科技有限公司 | Air control strategy method for early warning, device, computer equipment and storage medium |
-
2019
- 2019-10-24 CN CN201911020431.3A patent/CN110737889B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110737889A (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10826684B1 (en) | System and method of validating Internet of Things (IOT) devices | |
CN109586952B (en) | Server capacity expansion method and device | |
CN108183950B (en) | Method and device for establishing connection of network equipment | |
KR20190075861A (en) | Detection method, device, server and storage medium of DoS / DDoS attack | |
CN107911395B (en) | Login verification method and system, computer storage medium and device | |
CN112732477B (en) | Method for fault isolation by out-of-band self-checking | |
US20170171188A1 (en) | Non-transitory computer-readable recording medium, access monitoring method, and access monitoring apparatus | |
CN112422554B (en) | Method, device, equipment and storage medium for detecting abnormal traffic external connection | |
CN110990183A (en) | Database cluster anomaly detection method and device and computer-readable storage medium | |
CN113608908B (en) | Server fault processing method, system, equipment and readable storage medium | |
CN108134713B (en) | Communication method and device | |
CN112953971A (en) | Network security traffic intrusion detection method and system | |
CN111510339B (en) | Industrial Internet data monitoring method and device | |
CN109462580B (en) | Training flow detection model, method and device for detecting abnormal business flow | |
CN110798428A (en) | Detection method, system and related device for violent cracking behavior of account | |
CN110737889B (en) | Business wind control adjustment method, device, equipment and storage medium | |
RU2630415C2 (en) | Method for detecting anomalous work of network server (options) | |
CN110521233B (en) | Method for identifying interrupt, access point, method for remote configuration, system and medium | |
CN114610560B (en) | System abnormality monitoring method, device and storage medium | |
CN106650459B (en) | Safeguard the believable system and method for distributed memory system data | |
JP5421831B2 (en) | Failure detection device | |
US11438348B2 (en) | Efficient determination of expected maximum for anomaly detection | |
CN114301796A (en) | Verification method, device and system for predicting situation awareness | |
CN114500014A (en) | Network system security assessment method | |
KR20220014796A (en) | System and Method for Identifying Compromised Electronic Controller Using Intentionally Induced Error |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |