Network security monitoring method and system, terminal and storage medium
By identifying and disconnecting illegal users in the wireless network, network security risks are reduced, the problem of illegal user intrusion in the wireless network is solved, network security is improved, and data leakage and system damage are prevented.
Patent Information
- Application Number
- CN202411076938.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies are difficult to effectively identify and respond to illegal user intrusions in wireless networks, resulting in high network security risks. Firewalls are bypassed by cracked software, making it difficult to effectively reduce network security risks.
By obtaining the current user information of the target network, it is determined whether there is a user to be authenticated, and security authentication information is sent. If no feedback is received, the user is marked as an illegal user and the connection is disconnected. The proportion of illegal users is calculated. If the preset threshold is exceeded, an alarm is generated. Messages are processed as reminders.
Effectively identify and reduce the risks of illegal users in the network, improve network security, handle potential security risks in a timely manner, and prevent data leaks and system damage.
Smart Images

Figure CN118764301A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to a network security monitoring method, system, terminal and storage medium. Background Art
[0002] With the continuous development of network technology, the network has become a part of our lives. Wireless network technology is currently a common network access method in homes, enterprises and many public places, making our work and life simpler and more convenient. However, there are more and more problems. Among them, the most worrying issue for network users is network security. For example, hackers can steal users' information and data, damage user data, intercept user communications, forge user identities to send information, delete data, store illegal files, and maliciously tamper with programs to cause damage to system hardware or software by connecting to or invading wireless networks. Once a network security incident occurs, it will bring extremely serious consequences to network users.
[0003] To improve network security, related technologies will set up firewalls to prohibit illegal users from connecting and prevent illegal intrusion by outside users. However, with the development of technology, more and more cracking software is difficult to guard against, resulting in illegal users still connecting to or intruding the network. Summary of the invention
[0004] In order to help reduce network security risks and improve network security, the present application provides a network security monitoring method, system, terminal and storage medium.
[0005] In the first aspect, the present application provides a network security monitoring method, which adopts the following technical solution:
[0006] A network security monitoring method, comprising:
[0007] Get the current user of the target network;
[0008] Based on the user database, determining whether there is a user to be authenticated among the current users;
[0009] If the user to be authenticated exists among the current users, sending security authentication information to the user to be authenticated;
[0010] Determining whether target feedback information sent by the user to be authenticated is received;
[0011] If the target feedback information is not detected, the user to be authenticated is marked as an illegal user, and the network connection with the illegal user is disconnected;
[0012] Obtain the user ratio of the illegal users;
[0013] Determine whether the user ratio exceeds a preset ratio threshold;
[0014] If the user ratio exceeds the preset ratio threshold, an alarm message is generated.
[0015] By adopting the above technical solution, it is determined whether there is a user to be authenticated among the current users. If so, it indicates that among the current users, there may be a user who has illegally connected to the target network without identity authentication. To further determine whether the above situation is the case, security authentication information is sent to the user to be authenticated for user identity authentication. If the target feedback information replied by the user to be authenticated is not received, in order to reduce network security risks, the user to be authenticated is marked as an illegal user, and the network connection with the illegal user is disconnected. The user ratio of illegal users is further obtained, and it is determined whether the user ratio exceeds the preset ratio threshold. If it exceeds, it indicates that there are many illegal users among the current users, so the security of the target network is at great risk. Therefore, an alarm message is generated to remind relevant personnel to deal with the risks of the target network in a timely manner, thereby helping to reduce the security risks of the target network and improve the security of the target network.
[0016] Optionally, the specific steps of judging whether there is a user to be authenticated among the current users based on the user database include:
[0017] Obtain user information of the current user;
[0018] Matching all the user information with the user database and generating a matching result;
[0019] Determine whether all the matching results are successful matches;
[0020] If all the matching results are successful, it is determined that the user to be authenticated does not exist in the current user;
[0021] If the matching result is unsuccessful, it is determined that the user to be authenticated exists among the current users.
[0022] Optionally, after determining whether the user proportion exceeds a preset proportion threshold, the method further includes:
[0023] If the user ratio does not exceed the preset ratio threshold, the number of units corresponding to the illegal user is obtained;
[0024] Determining whether the number of units exceeds a preset number threshold;
[0025] If the unit quantity exceeds the preset quantity threshold, an alarm message is generated;
[0026] If the number of units does not exceed the preset number threshold, obtaining the traffic destination of the target network;
[0027] Based on the traffic destination, determine whether the target network has security risks;
[0028] If the target network has the security risk, an alarm message is generated based on the security risk.
[0029] Optionally, the specific step of judging whether the target network has a security risk based on the traffic destination includes:
[0030] Based on the traffic destination, obtain the real-time network speed and user authority level of the current user;
[0031] Based on the user authority level, obtaining user network speed thresholds corresponding to different current users;
[0032] Determine whether the real-time network speed exceeds the corresponding user network speed threshold;
[0033] If the real-time network speed exceeds the corresponding user network speed threshold, the excess time is obtained;
[0034] Determine whether the overtime duration exceeds a preset time threshold;
[0035] If the exceeding time exceeds the preset time threshold, it is determined that the target network has the security risk.
[0036] Optionally, the specific step of obtaining user network speed thresholds corresponding to different current users based on the user authority level includes:
[0037] Obtain the target network speed threshold, maximum number of online users, and current number of online users of the target network;
[0038] Based on the user authority level, obtaining a gain coefficient corresponding to the current user;
[0039] Based on the target network speed threshold, the maximum number of online users, the current number of online users, and the gain coefficient, the user network speed thresholds corresponding to different current users are obtained.
[0040] Optionally, after determining whether the real-time network speed exceeds the corresponding user network speed threshold, the method further includes:
[0041] If the real-time network speed does not exceed the corresponding user network speed threshold, the security score of the current user is obtained based on the preset scoring rules;
[0042] Determining whether the safety score exceeds a preset score threshold;
[0043] If the security score does not exceed the preset score threshold, it is determined that the target network has the security risk;
[0044] If the security score exceeds the preset score threshold, it is determined that the target network does not have the security risk.
[0045] Optionally, if the real-time network speed does not exceed the corresponding user network speed threshold, the specific steps of obtaining the security score of the current user based on a preset scoring rule include:
[0046] If the real-time network speed does not exceed the corresponding user network speed threshold, obtaining the historical network connection record of the current user;
[0047] Based on the networking record, obtaining the security level of the historically connected network;
[0048] Determine whether the security level does not exceed the security level threshold;
[0049] If the security level does not exceed the security level threshold, obtaining the corresponding target quantity;
[0050] Based on the target quantity, the security level and the preset scoring rules, a security score of the current user is obtained.
[0051] In a second aspect, the present application also discloses a network security monitoring system, which adopts the following technical solution:
[0052] A network security monitoring system, comprising:
[0053] A first acquisition module, used to acquire the current user of the target network;
[0054] A first judgment module is used to judge whether there is a user to be authenticated among the current users based on a user database;
[0055] A security authentication module, if the user to be authenticated exists among the current users, the security authentication module is used to send security authentication information to the user to be authenticated;
[0056] The second judgment module is used to judge whether the target feedback information sent by the user to be authenticated is received;
[0057] an execution module, wherein if the target feedback information is not detected, the execution module is used to mark the user to be authenticated as an illegal user and disconnect the network connection with the illegal user;
[0058] A second acquisition module is used to obtain the user ratio of the illegal users;
[0059] A third judgment module is used to judge whether the user ratio exceeds a preset ratio threshold;
[0060] The alarm module is used to generate an alarm message if the user proportion exceeds the preset proportion threshold.
[0061] By adopting the above technical solution, it is determined whether there is a user to be authenticated among the current users. If so, it indicates that among the current users, there may be a user who has illegally connected to the target network without identity authentication. To further determine whether the above situation is the case, security authentication information is sent to the user to be authenticated for user identity authentication. If the target feedback information replied by the user to be authenticated is not received, in order to reduce network security risks, the user to be authenticated is marked as an illegal user, and the network connection with the illegal user is disconnected. The user ratio of illegal users is further obtained, and it is determined whether the user ratio exceeds the preset ratio threshold. If it exceeds, it indicates that there are many illegal users among the current users, so the security of the target network is at great risk. Therefore, an alarm message is generated to remind relevant personnel to deal with the risks of the target network in a timely manner, thereby helping to reduce the security risks of the target network and improve the security of the target network.
[0062] In a third aspect, the present application provides a computer device, which adopts the following technical solution:
[0063] An intelligent terminal comprises a memory and a processor, wherein the memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, the method of the first aspect is executed.
[0064] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a memory to be loaded and executed by a processor, thereby manufacturing an intelligent terminal based on the memory and the processor for user convenience.
[0065] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0066] A computer-readable storage medium stores a computer program, and when the computer program is loaded by a processor, the method of the first aspect is executed.
[0067] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a computer-readable storage medium so as to be loaded and executed by a processor. The computer-readable storage medium facilitates the readability and storage of the computer program.
[0068] In summary, this application includes the following beneficial technical effects:
[0069] Determine whether there is a user to be authenticated among the current users. If so, it indicates that among the current users, there may be a user who has illegally connected to the target network without identity authentication. To further determine whether the above situation is the case, send security authentication information to the user to be authenticated for user identity authentication. If the target feedback information replied by the user to be authenticated is not received, in order to reduce network security risks, mark the user to be authenticated as an illegal user and disconnect the network connection with the illegal user. Further obtain the user ratio of illegal users, and determine whether the user ratio exceeds the preset ratio threshold. If it exceeds, it indicates that there are many illegal users among the current users. Therefore, there is a greater risk to the security of the target network. Therefore, an alarm message is generated to remind relevant personnel to deal with the risks of the target network in a timely manner, thereby helping to reduce the security risks of the target network and improve the security of the target network. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 This is a main flow chart of a network security monitoring method according to an embodiment of the present application;
[0071] Figure 2 is a flowchart of steps S201 to S205;
[0072] Figure 3 is a flowchart of steps S301 to S306;
[0073] Figure 4 is a flowchart of steps S401 to S406;
[0074] Figure 5 is a flowchart of steps S501 to S503;
[0075] Figure 6 is a flowchart of steps S601 to S604;
[0076] Figure 7 is a flowchart of steps S701 to S705;
[0077] Figure 8 It is a module diagram of a network security monitoring system according to an embodiment of the present application.
[0078] Description of reference numerals:
[0079] 1. First acquisition module; 2. First judgment module; 3. Security authentication module; 4. Second judgment module; 5. Execution module; 6. Second acquisition module; 7. Third judgment module; 8. Alarm module. DETAILED DESCRIPTION
[0080] In a first aspect, the present application discloses a network security monitoring method.
[0081] Reference Figure 1 , a network security monitoring method, comprising steps S101 to S108:
[0082] Step S101: Acquire the current user of the target network.
[0083] Specifically, in this embodiment, the target network is a network that needs to be monitored for network security, and the current user is a user who is maintaining a network connection with the target network at the current time point.
[0084] Step S102: Based on the user database, determine whether there is a user to be authenticated among the current users.
[0085] Specifically, a user database is pre-set, which stores user information of several users, such as the physical address or MAC address of the device allowed to connect to the network, and the account password when connecting to the target network, etc. By matching the user information of the current user with the user database, a corresponding matching result is generated, and based on the matching result, it can be determined whether there is a user to be authenticated among the users that night. In this embodiment, the user to be authenticated is the current user who has not undergone identity authentication or has undergone identity authentication but the user information has not been updated and saved in the user database.
[0086] Step S103: If there is a user to be authenticated among the current users, security authentication information is sent to the user to be authenticated.
[0087] Specifically, the security authentication information is authentication information used to verify the identity information of the user to be authenticated. In this embodiment, the security authentication information is sent to the terminal corresponding to the current user through the network center or the network execution terminal. The security authentication information can be facial information, account information, and the physical address and MAC address of the terminal corresponding to the current user.
[0088] Step S104: Determine whether target feedback information sent by the user to be authenticated is received.
[0089] Specifically, in this embodiment, the target feedback information is feedback information that corresponds to the security authentication information and can pass identity authentication; receiving the target feedback information indicates that the user to be authenticated has passed the identity authentication, that is, the user to be authenticated is not connected to the target network through cracking software or directly illegally invades the target network.
[0090] Step S105: If the target feedback information is not detected, the user to be authenticated is marked as an illegal user, and the network connection with the illegal user is disconnected.
[0091] Specifically, if the target feedback information is not detected, it indicates that the user to be authenticated has not performed identity authentication or the identity authentication has failed. Therefore, the user to be authenticated is marked as an illegal user, and the connection between the illegal user and the target network is disconnected. In this embodiment, the number of connections can be set. After being marked as an illegal user for the first time, the user can continue to connect to the target network through identity authentication. If the authentication fails for three consecutive times, the terminal device corresponding to the illegal user is directly added to the blacklist, and the verification request of the terminal device is no longer received.
[0092] Step S106: Obtain the percentage of illegal users.
[0093] Specifically, the user ratio may be the ratio of illegal users to current users, or the ratio of illegal users to average online users. The average online users may be the average online users in a day, or the average online users in an hour, etc. In this embodiment, the user ratio may be the ratio of illegal users to current users.
[0094] Step S107: Determine whether the user ratio exceeds a preset ratio threshold.
[0095] Specifically, the preset proportion threshold is a pre-set criterion for determining whether the user proportion is too high. In this embodiment, the preset proportion threshold can be set to 1% or 2%, or can be set according to actual conditions and user needs.
[0096] Step S108: If the user proportion exceeds the preset proportion threshold, an alarm message is generated.
[0097] Specifically, when the user ratio exceeds the preset ratio threshold, it indicates that the number of illegal users accounts for a high proportion of the current number of users, indicating that there are serious security risks in the target network, so an alarm is issued. In this embodiment, the alarm information can be sent to the control center or relevant staff through the execution terminal. The staff can improve the security of the target network by changing passwords, checking for viruses, and improving the firewall protection level.
[0098] The network security monitoring method provided in the present embodiment determines whether there is a user to be authenticated among the current users. If so, it indicates that among the current users, there may be a user who has illegally connected to the target network without identity authentication. To further determine whether the above situation is the case, security authentication information is sent to the user to be authenticated for user identity authentication. If the target feedback information replied by the user to be authenticated is not received, in order to reduce network security risks, the user to be authenticated is marked as an illegal user, and the network connection with the illegal user is disconnected. The user ratio of illegal users is further obtained, and it is determined whether the user ratio exceeds a preset ratio threshold. If it exceeds, it indicates that there are many illegal users among the current users, and therefore the security of the target network is at great risk. Therefore, an alarm message is generated to remind relevant personnel to deal with the risks of the target network in a timely manner, thereby helping to reduce the potential security risks of the target network and improve the security of the target network.
[0099] Reference Figure 2 In one implementation of this embodiment, step S102 determines whether there is a user to be authenticated among the current users based on the user database, and the specific steps include steps S201 to S205:
[0100] Step S201: Obtain user information of the current user.
[0101] Specifically, in this embodiment, the user information includes the physical address or MAC address of the device corresponding to the current user and the account password when connecting to the target network.
[0102] Step S202: Match all user information with the user database and generate a matching result.
[0103] Specifically, the user information of the current user is matched with the user database to generate a corresponding matching result. According to the matching result, it can be determined whether there is a user to be authenticated among the users that night. In this embodiment, the matching result includes a successful match and an unsuccessful match.
[0104] Step S203: Determine whether all matching results are successful.
[0105] Specifically, in this embodiment, if the physical address or MAC address of the device corresponding to the current user exists in the user database, the matching result is a successful match. In addition, if other verification information is stored in the user database, such as the correct wireless network connection password, or the company employee's work number and corresponding password, etc., as long as one of the items is entered successfully, the matching result is a successful match; conversely, if the physical address or MAC address of the device corresponding to the current user does not exist in the user database, and the verification information does not match the relevant information in the user database, the matching result is an unsuccessful match.
[0106] Step S204: If all matching results are successful, it is determined that there is no user to be authenticated among the current users.
[0107] Step S205: If the matching result is unsuccessful, it is determined that there is a user to be authenticated among the current users.
[0108] Specifically, in this embodiment, if the matching results are all successful matches, it indicates that all current users have passed the identity authentication, so it is determined that there are no users to be authenticated among the current users. Conversely, when there is a matching result corresponding to at least one current user that is an unsuccessful match, it indicates that there are users to be authenticated among the current users.
[0109] The network security monitoring method provided in this embodiment matches the user information of the current user with the relevant data in the user database, and determines whether there is a user to be authenticated among the current users based on the matching results. When the matching results are all successful matches, it indicates that there is no user to be authenticated among the current users. When the matching results are unsuccessful matches, it indicates that there is a user to be authenticated among the current users.
[0110] Reference Figure 3 In one implementation of this embodiment, after determining whether the user proportion exceeds the preset proportion threshold in step S107, steps S301 to S306 are also included:
[0111] Step S301: If the user ratio does not exceed the preset ratio threshold, the number of units corresponding to the illegal users is obtained.
[0112] Specifically, the unit number refers to the number of illegal users per unit time. In this embodiment, it can be the number of illegal users within an hour, where the definition of an hour can be calculated from 0:00 every day, dividing each day into a fixed 24 hours, or it can be based on the current time point as the end time point and pushed forward one hour.
[0113] Step S302: Determine whether the unit quantity exceeds a preset quantity threshold.
[0114] Specifically, the preset quantity threshold is a pre-set criterion for judging whether the unit quantity is too much, that is, whether there are too many illegal users in a unit time. In this embodiment, the unit quantity can be 2 or 3, and can also be set according to the average number of Internet users per day. For example, the preset quantity threshold is set to 1% or 10% of the average number of Internet users per day, etc., and can also be set according to actual conditions and user needs.
[0115] Step S303: If the unit quantity exceeds the preset quantity threshold, an alarm message is generated.
[0116] Specifically, in this embodiment, when the number of units exceeds the preset number threshold, it indicates that within a unit time, a large number of illegal users have connected to the target network by cracking software or illegally invaded the target network by other means, posing a greater security risk to the target network. Therefore, an alarm message is generated to remind relevant personnel to deal with it in time, thereby reducing security risks.
[0117] Step S304: If the number of units does not exceed the preset number threshold, the traffic destination of the target network is obtained.
[0118] Specifically, when the number of units does not exceed the preset number threshold, it indicates that within a unit time, the number of illegal users who connect to the target network by cracking software or illegally invade the target network by other means is small. In order to further determine whether there is a security risk in the target network and obtain the traffic destination of the target network, in this embodiment, the traffic destination is the data traffic destination of the target network, and the traffic destination can be monitored by a traffic monitoring instrument.
[0119] Step S305: Based on the traffic destination, determine whether there are security risks in the target network.
[0120] Specifically, in this embodiment, the amount of data traffic of different user terminals can be determined according to the traffic destination, and whether there is a security risk in the target network can be determined according to the amount of data traffic corresponding to the different user terminals.
[0121] Step S306: If there are security risks in the target network, an alarm message is generated based on the security risks.
[0122] The network security monitoring method provided in this embodiment obtains the number of units corresponding to illegal users when the user ratio does not exceed the preset ratio threshold, and determines whether the number of units exceeds the preset number threshold. If it exceeds, it indicates that there are too many illegal users who connect to the target network through cracked software and illegal intrusion in a unit time, and the target network has a greater security risk, so an alarm message is generated; if it does not exceed, it is determined whether there is a security risk in the target network based on the traffic direction. If so, it indicates that even if there are not many illegal users who connect to the target network through cracked software and illegal intrusion in a unit time, it can still be known from the traffic direction that the target network has a greater security risk, so an alarm message is generated based on the security risk.
[0123] Reference Figure 4 In one implementation of this embodiment, step S305 determines whether the target network has a security risk based on the traffic destination, and the specific steps include steps S401 to S406:
[0124] Step S401: Based on the traffic destination, obtain the current user's real-time network speed and user authority level.
[0125] Specifically, the real-time network speed is the real-time network speed of the current user, and the user authority level is the authority level corresponding to the user. In this embodiment, the user authority level can be divided into level one to level three, where level one is the lowest and level three is the highest.
[0126] Step S402: Based on the user authority level, obtain the user network speed threshold corresponding to different current users.
[0127] Specifically, in this embodiment, the user network speed threshold is the maximum network speed value corresponding to different users, and the user network speed thresholds corresponding to different authority levels are different.
[0128] Step S403: Determine whether the real-time network speed exceeds the corresponding user network speed threshold.
[0129] Specifically, in this embodiment, the real-time network speed is compared with the user network speed threshold to determine whether the real-time network speed exceeds the corresponding user network speed threshold.
[0130] Step S404: If the real-time network speed exceeds the corresponding user network speed threshold, the excess time is obtained.
[0131] Specifically, in this embodiment, the overtime duration is the length of time that the real-time network speed of different users exceeds the corresponding user network speed threshold.
[0132] Step S405: Determine whether the overtime duration exceeds a preset time threshold.
[0133] Specifically, in this embodiment, the preset time threshold is a pre-set judgment standard for judging whether the overtime duration is too long.
[0134] Step S406: If the exceeding time exceeds the preset time threshold, it is determined that there is a security risk in the target network.
[0135] Specifically, if the duration of the excess exceeds the preset time threshold, it indicates that the real-time network speed corresponding to the current user exceeds the user network speed threshold corresponding to the user authority level of the current user, and the duration also exceeds the normal time range. Therefore, there may be the possibility of malicious virus implantation or other illegal methods to steal the network, so it is determined that the target network has security risks.
[0136] The network security monitoring method provided in this embodiment obtains the user network speed thresholds corresponding to different current users according to the user authority level, and determines whether the real-time network speed exceeds the corresponding user network speed threshold. If it exceeds, the excess time is further obtained, and it is determined whether the excess time exceeds the preset time threshold. If it exceeds, it is determined that there are security risks in the target network.
[0137] Reference Figure 5In one implementation of this embodiment, the specific steps of obtaining the user network speed thresholds corresponding to different current users based on the user authority level in step S402 include steps S501 to S503:
[0138] Step S501: Obtain the target network speed threshold, the maximum number of online users, and the current number of online users of the target network.
[0139] Specifically, the target network speed threshold is the maximum network speed that the target network can reach. In this embodiment, the network speed is based on the download speed. For example, the target network speed threshold is 50Mb / s, which means the download speed is 50Mb / s; the maximum number of online users is the maximum number of simultaneous online users allowed by the target network, which can be set according to the network usage and the target network speed threshold; the number of current online users is the number corresponding to the current users.
[0140] Step S502: Based on the user authority level, obtain the gain coefficient corresponding to the current user.
[0141] Specifically, the gain coefficient is a constant coefficient determined according to the user authority level, and corresponds to the user authority level. The higher the user authority level, the larger the gain coefficient, and the lower the user authority level, the smaller the gain coefficient. In this embodiment, the gain coefficient can be set according to the division of user authority levels. When the user authority level is level one, the gain coefficient is 80%; when the user authority level is level two, the gain coefficient is 100%; when the user authority level is level three, the gain coefficient is 120%.
[0142] Step S503: Based on the target network speed threshold, the maximum number of online users, the current number of online users, and the gain coefficient, obtain the user network speed threshold corresponding to different current users.
[0143] Specifically, the minimum average network speed per person can be calculated based on the target network speed threshold and the maximum number of online people. The minimum average network speed per person is equal to the target network speed threshold divided by the maximum number of online people, that is, the minimum average network speed per person = target network speed threshold ÷ maximum number of online people; then the current average network speed per person is calculated based on the current number of online people. The current average network speed per person is equal to the minimum average network speed per person divided by the quotient of the current number of online people and the maximum number of online people, that is, the current average network speed per person = minimum average network speed per person ÷ (quotient of the current number of online people ÷ maximum number of online people), and the user network speed threshold is equal to the current average network speed per person multiplied by the gain coefficient, that is, the user network speed threshold = current average network speed per person * gain coefficient.
[0144] For example, the target network speed threshold is 50Mb / s, the maximum number of online people is 100, the current number of online people is 50, and among the 50 people, 3 people have user authority levels of level three, 5 people have user authority levels of level two, and 42 people have user authority levels of level one. Then the user network speed threshold corresponding to the current user with user authority level three is 50÷100÷(50÷100)*120%=1.2Mb / s, the user network speed threshold corresponding to the current user with user authority level two is 50÷100÷(50÷100)*100%=1Mb / s, and the user network speed threshold corresponding to the current user with user authority level one is 50÷100÷(50÷100)*80%=0.8Mb / s.
[0145] The network security monitoring method provided in this embodiment first obtains the target network speed threshold, the maximum number of online people and the current number of online people of the target network, then obtains the gain coefficient corresponding to the current user according to the user authority level, and finally calculates the user network speed threshold corresponding to the current user according to the target network speed threshold, the maximum number of online people, the current number of online people and the gain coefficient.
[0146] Reference Figure 6 In one implementation of this embodiment, after determining whether the overtime duration exceeds the preset time threshold in step S405, steps S601 to S604 are also included:
[0147] Step S601: If the real-time network speed does not exceed the corresponding user network speed threshold, the security score of the current user is obtained based on the preset scoring rules.
[0148] Specifically, in this embodiment, the preset scoring rule is a pre-set scoring standard for performing a security score on the current user. The security score is a way to characterize whether the current user is at risk. The higher the security score, the lower the security risk corresponding to the current user.
[0149] Step S602: Determine whether the security score exceeds a preset score threshold.
[0150] Specifically, in this embodiment, the preset scoring threshold is a pre-set scoring standard for judging whether the safety score is too low.
[0151] Step S603: If the security score does not exceed the preset score threshold, it is determined that there is a security risk in the target network.
[0152] Specifically, in this embodiment, if the security score does not exceed the preset score threshold, it indicates that the security score of the current user is too low and there is a high security risk.
[0153] Step S604: If the security score exceeds the preset score threshold, it is determined that there is no security risk in the target network.
[0154] Specifically, in this embodiment, if the security score exceeds the preset score threshold, it indicates that the security score of the current user has reached the security standard, and therefore it is determined that there is no security risk in the target network.
[0155] The network security monitoring method provided in this embodiment obtains the security score of the current user according to a preset scoring rule, and determines whether the security score exceeds a preset scoring threshold, and generates a corresponding determination result according to different determination results.
[0156] Reference Figure 7 In one implementation of this embodiment, if the real-time network speed does not exceed the corresponding user network speed threshold in step S601, the specific steps of obtaining the security score of the current user based on the preset scoring rule include steps S701 to S705:
[0157] Step S701: If the real-time network speed does not exceed the corresponding user network speed threshold, the historical network connection record of the current user is obtained.
[0158] Specifically, the historical networking record refers to the networking record of the terminal corresponding to the current user within a certain period of time in the past. The networking record includes the name of the connected network and the nature of the network (such as an encrypted network or a public network), etc. In this embodiment, the past period of time can be the time from the beginning of use of the terminal to the present, or within the past month, etc.
[0159] Step S702: Based on the network connection record, obtain the security level of the historically connected network.
[0160] Specifically, the security level of the historically connected network can be determined based on the nature of the network and the information of the networked personnel. For example, if the network is a public network, the security level is low. If a large number of people are connected to the network every day and the number of new users is large, the security level of the network is low. In this embodiment, the security level can be divided into A to C, among which A corresponds to the highest security level and C corresponds to the lowest security level.
[0161] Step S703: Determine whether there is a security level that does not exceed the security level threshold.
[0162] Specifically, in this embodiment, the security level threshold can be set to level B.
[0163] Step S704: If there is a security level that does not exceed the security level threshold, the corresponding target quantity is obtained.
[0164] Specifically, in this embodiment, the target number is the number of networks whose security levels do not exceed the security level threshold among the historically connected networks corresponding to the current user.
[0165] Step S705: Based on the target quantity, security level and preset scoring rules, obtain the security score of the current user.
[0166] Specifically, the security score corresponding to each current user is initially 100 points. Each time the current user connects to a network whose security level does not exceed the security level threshold within a certain period of time in history, the corresponding score is reduced according to the preset scoring rules. In this embodiment, it can be set that each time the current user connects to a network with a security level of C, the security score is reduced by 10 points, and each time the current user connects to a network with a security level of B, the security score is reduced by 5 points. The final score is the security score of the current user.
[0167] The network security monitoring method provided in this embodiment obtains the security level of the historically connected network based on the network connection records, and determines whether there is a security level that does not exceed the security level threshold. If so, the corresponding target number is further obtained, and finally the final security score of the current user is calculated based on the target number, security level and preset scoring rules.
[0168] Reference Figure 8 , a network security monitoring system, comprising:
[0169] A first acquisition module, used to acquire the current user of the target network;
[0170] A first judgment module is used to judge whether there is a user to be authenticated among the current users based on the user database;
[0171] A security authentication module, if there is a user to be authenticated among the current users, the security authentication module is used to send security authentication information to the user to be authenticated;
[0172] The second judgment module is used to judge whether the target feedback information sent by the user to be authenticated is received;
[0173] An execution module, if the target feedback information is not detected, the execution module is used to mark the user to be authenticated as an illegal user and disconnect the network connection with the illegal user;
[0174] The second acquisition module is used to obtain the user ratio of illegal users;
[0175] The third judgment module is used to judge whether the user ratio exceeds a preset ratio threshold;
[0176] The alarm module generates an alarm message if the user ratio exceeds a preset ratio threshold.
[0177] In a third aspect, an embodiment of the present application discloses an intelligent terminal, including a memory and a processor, wherein the memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, a network security monitoring method of the above embodiment is executed.
[0178] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, wherein when the computer program is loaded by a processor, a network security monitoring method of the above embodiment is executed.
[0179] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A network security monitoring method, characterized in that: include: Get the current user of the target network; Based on the user database, determining whether there is a user to be authenticated among the current users; If the user to be authenticated exists among the current users, sending security authentication information to the user to be authenticated; Determining whether target feedback information sent by the user to be authenticated is received; If the target feedback information is not detected, the user to be authenticated is marked as an illegal user, and the network connection with the illegal user is disconnected; Obtain the user ratio of the illegal users; Determine whether the user ratio exceeds a preset ratio threshold; If the user ratio exceeds the preset ratio threshold, an alarm message is generated.
2. A network security monitoring method according to claim 1, characterized in that: The specific steps of judging whether there is a user to be authenticated among the current users based on the user database include: Obtain user information of the current user; Matching all the user information with the user database and generating a matching result; Determine whether all the matching results are successful matches; If all the matching results are successful, it is determined that the user to be authenticated does not exist in the current user; If the matching result is unsuccessful, it is determined that the user to be authenticated exists in the current user.
3. A network security monitoring method according to claim 1, characterized in that: After determining whether the user proportion exceeds a preset proportion threshold, the method further includes: If the user ratio does not exceed the preset ratio threshold, the number of units corresponding to the illegal user is obtained; Determining whether the number of units exceeds a preset number threshold; If the unit quantity exceeds the preset quantity threshold, an alarm message is generated; If the number of units does not exceed the preset number threshold, obtaining the traffic destination of the target network; Based on the traffic destination, determine whether the target network has security risks; If the target network has the security risk, an alarm message is generated based on the security risk.
4. A network security monitoring method according to claim 3, characterized in that: The specific steps of judging whether the target network has a security risk based on the traffic destination include: Based on the traffic destination, obtain the real-time network speed and user authority level of the current user; Based on the user authority level, obtaining user network speed thresholds corresponding to different current users; Determine whether the real-time network speed exceeds the corresponding user network speed threshold; If the real-time network speed exceeds the corresponding user network speed threshold, the excess time is obtained; Determine whether the overtime duration exceeds a preset time threshold; If the exceeding time exceeds the preset time threshold, it is determined that the target network has the security risk.
5. A network security monitoring method according to claim 4, characterized in that: The specific steps of obtaining the user network speed thresholds corresponding to different current users based on the user authority level include: Obtain the target network speed threshold, maximum number of online users, and current number of online users of the target network; Based on the user authority level, obtaining a gain coefficient corresponding to the current user; Based on the target network speed threshold, the maximum number of online users, the current number of online users, and the gain coefficient, the user network speed thresholds corresponding to different current users are obtained.
6. A network security monitoring method according to claim 4, characterized in that: After determining whether the real-time network speed exceeds the corresponding user network speed threshold, the method further includes: If the real-time network speed does not exceed the corresponding user network speed threshold, the security score of the current user is obtained based on the preset scoring rules; Determining whether the safety score exceeds a preset score threshold; If the security score does not exceed the preset score threshold, it is determined that the target network has the security risk; If the security score exceeds the preset score threshold, it is determined that the target network does not have the security risk.
7. A network security monitoring method according to claim 6, characterized in that: If the real-time network speed does not exceed the corresponding user network speed threshold, the specific steps of obtaining the security score of the current user based on the preset scoring rule include: If the real-time network speed does not exceed the corresponding user network speed threshold, obtaining the historical network connection record of the current user; Based on the networking record, obtaining the security level of the historically connected network; Determine whether the security level does not exceed the security level threshold; If the security level does not exceed the security level threshold, obtaining the corresponding target quantity; Based on the target quantity, the security level and the preset scoring rules, a security score of the current user is obtained.
8. A network security monitoring system, characterized in that: include: A first acquisition module, used to acquire the current user of the target network; A first judgment module, used for judging whether there is a user to be authenticated among the current users based on a user database; A security authentication module, wherein if the user to be authenticated exists among the current users, the security authentication module is used to send security authentication information to the user to be authenticated; A second judgment module is used to judge whether the target feedback information sent by the user to be authenticated is received; an execution module, wherein if the target feedback information is not detected, the execution module is used to mark the user to be authenticated as an illegal user and disconnect the network connection with the illegal user; A second acquisition module is used to obtain the user ratio of the illegal users; A third judgment module is used to judge whether the user ratio exceeds a preset ratio threshold; The alarm module is used to generate an alarm message if the user proportion exceeds the preset proportion threshold.
9. An intelligent terminal, comprising a memory and a processor, characterized in that: The memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, it executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored therein, characterized in that: When the computer program is loaded by a processor, the method according to any one of claims 1 to 7 is executed.
