A big data audit scenario analysis method and system applied to smart education system
By dividing the smart education platform into functional units and embedding hook functions in the Hadoop big data architecture, monitoring and analyzing event messages, identifying and processing risk information solves the problem that traditional solutions cannot effectively monitor unstructured data and diverse database connection tools. problem, significantly improving the data access security of smart education systems.
Patent Information
- Application Number
- CN202110240968.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-04
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-03-04
AI Technical Summary
In the Hadoop big data architecture environment, traditional solutions cannot achieve comprehensive security monitoring of unstructured data, and lack management methods for diverse database connection tools and open interfaces, resulting in increased data access risks for large-scale smart education platforms.
By dividing the smart education platform into audit units with different functions, embedded hook functions monitor event messages, analyze message content in the storage area, identify risk information, set monitoring periods and risk indexes, monitor and alarm in real time, and ensure message security.
It improves the efficiency of audit management and message monitoring, reduces data access risks, and significantly improves the security of the smart education system.
Smart Images

Figure CN112948822B_ABST
Abstract
Description
Technical Field
[0001] The present invention proposes a big data audit scenario analysis method and system applied to a smart education system, belonging to the technical field of smart education. Background Art
[0002] The most direct problem brought by various tools in the big data Hadoop ecosystem is the diverse programming languages and programming interfaces, which increase the coverage of big data security audits and increase the difficulty of big data data analysis. Therefore, in order to achieve effective auditing in the Hadoop big data architecture environment, it is necessary to audit various UI management interfaces and programming interfaces at the same time, and have the ability to parse various protocols and programming languages of the Hadoop architecture. The audit difficulties can be summarized as follows:
[0003] 1. Hadoop big data is unstructured data (NO SQL), and traditional solutions cannot achieve comprehensive security monitoring of such data;
[0004] 2. The diversity of database connection tools in Hadoop. Traditional solutions can only monitor the security of typical C / S client access methods and lack comprehensive management methods.
[0005] 3. Hadoop's open interfaces and platforms, coupled with information network sharing, increase data risk points and channels for theft and leakage of secrets;
[0006] When Hadoop is applied to large-scale smart education platform systems, the risk monitoring and management capabilities are often low due to the above-mentioned audit difficulties, resulting in increased data access risks for large-scale smart education platforms. Summary of the invention
[0007] The present invention provides a big data audit scenario analysis method and system applied to a smart education system, which is used to solve the problem of low risk management capability of the existing smart education system. The technical solutions adopted are as follows:
[0008] A big data audit scenario analysis method applied to a smart education system, the method comprising:
[0009] The smart education platform is divided into k audit units according to different functions, where k is a natural number;
[0010] Scan each audit unit, obtain the hook point, and embed the hook function in the hook point to monitor the event messages generated by each audit unit, and intercept and obtain the messages sent to the target window;
[0011] The message sent to the target window is analyzed and processed to determine whether there is any risk in the big data processing process.
[0012] Furthermore, the scanning is performed for each audit unit, a hook point is obtained, a hook function is embedded in the hook point, the event message generated by each audit unit is monitored, and the message is intercepted, including:
[0013] Find the Java layer as a hook point in the system objects of the smart education system that meet the specified requirements;
[0014] Put the hook function into the business logic that needs to be processed and analyzed by the smart education system object for execution;
[0015] The hook function is used to monitor the event messages of the business logic that needs to be processed and analyzed in the smart education system during execution, and the messages sent to the target window are intercepted.
[0016] Furthermore, the hook point required by the regulation meets the following conditions: the system object is a static object.
[0017] Further, the message sent to the target window is analyzed and processed to determine whether there is a risk in the big data processing process, including:
[0018] A message storage unit is set in the storage area of the smart education system, and the message storage unit is divided into storage areas, wherein the storage areas correspond to the audit units one by one;
[0019] The message contents sent to the target window are copied in sequence according to the generation time of the message, and a corresponding message file is generated according to the copied message contents, and the corresponding message files are stored in each storage area in the message storage unit in sequence according to the generation time of the message from earliest to latest;
[0020] Scan and analyze the messages in the message files of each storage area to identify whether the information or code in the message contains risk information or code stored in the database. If there is no risk information or code stored in the database, it means that the message is safe and the message is allowed to be sent to the target window. If there is risk information or code stored in the database, the message is rejected from being sent to the target window, and message interception reminder information is fed back to the sending node of the message.
[0021] Marking the sending node that has sent risky messages, setting a monitoring period for the sending node, and separately monitoring the event messages generated by the sending node;
[0022] During the set monitoring period, each message information sent by the sending node is monitored in real time, and risk processing is performed on each message information. When the risk index reaches the risk threshold, the smart education system will alarm and prompt the operation and maintenance personnel to perform risk processing.
[0023] Furthermore, the monitoring time is set by the following process:
[0024] It is determined whether the sending node that sends the risky message is sending the risky message for the first time. If the node currently sends the risky message for the first time during the operation of the smart education system on the same day, the monitoring period length is set by the first monitoring time setting model, wherein the first monitoring time setting model is as follows:
[0025]
[0026] When n=1, n-1=1, and
[0027] Wherein, T1 represents the length of the monitoring period obtained by the first setting model of the monitoring time; n represents the number of times the sending node sends a message on that day; ΔT i represents the time interval between the sending node sending the message for the i+1th time and the i-th time; ΔT represents the time interval between the sending node currently sending the message with risk and the previous sending of the message; ΔT min Indicates the minimum time interval between messages sent by the sending node on the same day; ΔT max Indicates the maximum time interval for the sending node to send messages on the same day; T0 indicates the length of the preset initial monitoring period; δ1 indicates the time adjustment coefficient, and the value range of δ1 is 0.83-0.94;
[0028] If the party node is not currently sending a risky message for the first time during the operation of the smart education system on the day, the monitoring period length is set by the second setting model of the monitoring time, wherein the second setting model of the monitoring time is as follows:
[0029]
[0030] Wherein, T2 represents the length of the monitoring period obtained by the second setting model of the monitoring time; δ2 represents the time adjustment coefficient, and the value range of δ2 is 1.13-1.28; m represents the number of times the sending node sends risky message information on the same day, ΔT li It represents the time interval between the sending node sending the message information with risk for the i+1th time and sending the message information with risk for the ith time.
[0031] Furthermore, the risk index of the sending node is calculated by the following formula:
[0032]
[0033] Among them, H represents the risk index, T represents the operating time of the smart education system on that day, L1, L2 and L3 represent the pre-set first unit index value, second unit index value and third unit index value respectively, and L1, L2 and L3 are all natural constants.
[0034] A big data audit scenario analysis system applied to a smart education system, the system comprising:
[0035] The unit division module is used to divide the smart education platform into k audit units according to different functions, where k is a natural number;
[0036] The hook embedding module is used to scan each audit unit, obtain the hook point, embed the hook function in the hook point, monitor the event messages generated by each audit unit, and intercept and obtain the messages sent to the target window;
[0037] The risk processing module is used to analyze and process the message sent to the target window to determine whether there is any risk in the big data processing process.
[0038] Furthermore, the hook embedding module includes:
[0039] A search module is used to search the Java layer as a hook point in the system objects in the smart education system that meet the specified requirements;
[0040] An execution module, used to put the hook function into the business logic that needs to be processed and analyzed by the smart education system object for execution;
[0041] The message acquisition module is used to monitor the event messages of the business logic that needs to be processed and analyzed in the smart education system during execution through the hook function, and intercept the messages sent to the target window.
[0042] Furthermore, the hook point required by the regulation meets the following conditions: the system object is a static object.
[0043] Furthermore, the risk processing module includes:
[0044] A storage partitioning module, used to set a message storage unit in the storage area of the smart education system, and divide the message storage unit into storage areas, wherein the storage areas correspond to the audit units one by one;
[0045] An information partitioning module is used to copy the message content sent to the target window in sequence according to the message generation time, generate corresponding message files according to the copied message content, and store the messages in each storage area in the message storage unit in sequence according to the message generation time from earliest to latest;
[0046] A scanning and identification module is used to scan, analyze and identify messages in the message files of each storage area, and identify whether the information or code in the message contains risk information or code stored in the database. If there is no risk information or code stored in the database, it means that the message is safe and the message is allowed to be sent to the target window; if there is risk information or code stored in the database, the message is refused to be sent to the target window, and message interception reminder information is fed back to the sending node of the message;
[0047] A marking module, used to mark the sending node that has sent risky messages, set a monitoring period for the sending node, and separately monitor the event messages generated by the sending node;
[0048] The monitoring module is used to monitor each message information sent by the sending node in real time within the set monitoring period, and perform risk processing on each message information. When the risk index reaches the risk threshold, the smart education system will alarm and prompt the operation and maintenance personnel to perform risk processing.
[0049] Beneficial effects of the present invention:
[0050] The big data audit scenario analysis method and system proposed by the present invention applied to the smart education system can effectively improve the management efficiency and message monitoring strength of audit management by dividing the audit units based on functions. At the same time, the embedding of the hook function can effectively improve the capture efficiency of messages sent by each node of the smart education system, and effectively improve the capture success rate of messages sent by each node of the smart education system, and reduce the number of missed messages. On the other hand, the big data audit scenario analysis method and system proposed by the present invention applied to the smart education system can effectively improve the monitoring and processing efficiency and strength of message information risks, improve the Fengxia monitoring strength of the entire smart education system, and greatly improve the data access security of the smart education system. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of the method of the present invention;
[0052] Figure 2 The system block diagram of the system of the present invention. DETAILED DESCRIPTION
[0053] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0054] The embodiment of the present invention proposes a big data audit scenario analysis method applied to a smart education system. Figure 1As shown, the method includes:
[0055] S1. Divide the smart education platform into k audit units according to different functions, where k is a natural number;
[0056] S2. Scan each audit unit, obtain the hook point, embed the hook function in the hook point, monitor the event message generated by each audit unit, and intercept and obtain the message sent to the target window;
[0057] S3. Analyze and process the message sent to the target window to determine whether there is any risk in the big data processing process.
[0058] The scanning is performed for each audit unit, a hook point is obtained, a hook function is embedded in the hook point, the event message generated by each audit unit is monitored, and the message is intercepted, including:
[0059] S201, searching for a Java layer as a hook point in a system object in a smart education system that meets specified requirements;
[0060] S202, putting the hook function into the business logic that needs to be processed and analyzed by the smart education system object for execution;
[0061] S203. Monitor event messages of business logic that needs to be processed and analyzed in the smart education system during execution through the hook function, and intercept messages sent to the target window.
[0062] The hook point required by the regulations meets the following conditions: the system object is a static object.
[0063] The working principle of the above technical solution is: In order to achieve the audit effect of big data, Hook technology is used. Hook technology is also called hook function, which is a special message processing mechanism. It can monitor various event messages in the system or process, intercept messages sent to the target window and process them. Therefore, we can customize hooks in the system to monitor the occurrence of specific events in the system and complete specific functions, such as screen word capture, log monitoring, keyboard and mouse input interception, etc. The Hook core can be divided into thread hooks and system hooks. Thread hooks monitor event messages of specified threads. System hooks monitor event messages of all threads in the system. Specifically:
[0064] Firstly, the smart education platform is divided into k audit units according to different functions, where k is a natural number. Secondly, each audit unit is scanned to obtain the hook point, and the hook function is embedded in the hook point to monitor the event messages generated by each audit unit, and the messages sent to the target window are intercepted and obtained. Finally, the messages sent to the target window are analyzed and processed to determine whether there are risks in the big data processing process.
[0065] Among them, the steps to implement the Hook technology are also divided into two steps. The first step is to find the hook point (Java layer). The hook point must meet the following conditions: the method that needs to be hooked must belong to a static object, because the Hook technology obtains objects through reflection. The Hook technology obtains the system's objects, so it cannot create a new object. The object created by the system must be used, so only static objects can be guaranteed to be consistent with the system's objects. The second step is to execute the hook method outside the system, that is, to put the business logic that needs to be processed and analyzed. Based on the above solution ideas, the design of the big data audit system will conduct secondary development of the core ecological components of the big data Hadoop, and integrate the Hook technology on the basis of the original code to obtain the operation event messages in the component, thereby realizing the audit of the operation application. Specifically include:
[0066] Firstly, the Java layer is searched as the hook point in the system objects in the smart education system that meet the specified requirements; then, the hook function is put into the business logic that needs to be processed and analyzed by the smart education system object for execution; finally, the event messages of the business logic that needs to be processed and analyzed in the smart education system are monitored through the hook function, and the messages sent to the target window are intercepted.
[0067] The effect of the above technical solution is: through the division of audit units based on functions, the management efficiency of audit management and the intensity of message monitoring can be effectively improved. At the same time, by embedding the hook function, the capture efficiency of messages sent by each node of the smart education system can be effectively improved, and the capture success rate of messages sent by each node of the smart education system can be effectively improved, and the number of missed messages can be reduced. On the other hand, it can effectively improve the monitoring and processing efficiency and intensity of message information risks, improve the Fengxia monitoring intensity of the entire smart education system, and greatly improve the data access security of the smart education system.
[0068] In one embodiment of the present invention, the message sent to the target window is analyzed and processed to determine whether there is a risk in the big data processing process, including:
[0069] S301, setting a message storage unit in a storage area of the smart education system, and dividing the message storage unit into storage areas, wherein the storage areas correspond to the audit units one by one;
[0070] S302, copying the message content sent to the target window in sequence according to the generation time of the message, generating a corresponding message file according to the copied message content, and storing the message files in sequence in each storage area in the message storage unit in the order of the generation time of the message from the earliest to the latest;
[0071] S303, scanning and analyzing the messages in the message files of each storage area to identify whether the information or code in the message contains risk information or code stored in the database; if the risk information or code stored in the database does not exist, the message is safe and the message is allowed to be sent to the target window; if the risk information or code stored in the database exists, the message is refused to be sent to the target window, and message interception reminder information is fed back to the sending node of the message;
[0072] S304, marking the sending node that has sent the risky message, setting a monitoring period for the sending node, and separately monitoring the event message generated by the sending node;
[0073] S305. During the set monitoring period, each message information sent by the sending node is monitored in real time, and risk processing is performed on each message information. When the risk index reaches the risk threshold, the smart education system issues an alarm to prompt the operation and maintenance personnel to perform risk processing.
[0074] The working principle of the above technical solution is as follows: first, a message storage unit is set in the storage area of the smart education system, and the message storage unit is divided into storage areas, and the storage areas correspond to the audit units one by one; then, the message content sent to the target window is copied in sequence according to the generation time of the message, and a corresponding message file is generated according to the copied message content, and is stored in each storage area in the message storage unit in sequence according to the generation time of the message from early to late; then, the message in the message file of each storage area is scanned, analyzed and identified to identify whether the information or code in the message contains risk information or code stored in the database, and if it does not contain risk information or code stored in the database, If there is risk information or code stored in the database, it means that the message is safe and the message is allowed to be sent to the target window; if there is risk information or code stored in the database, the message is refused to be sent to the target window, and the message interception reminder information is fed back to the sending node of the message; then, the sending node that has sent the risk message is marked, a monitoring period is set for the sending node, and the event message generated by the sending node is monitored separately; finally, within the set monitoring period, each message information sent by the sending node is monitored in real time, and risk processing is performed on each message information. When the risk index reaches the risk threshold, the smart education system alarms to prompt the operation and maintenance personnel to perform risk processing.
[0075] The effect of the above technical solution is: risk monitoring through the above method can effectively improve the monitoring and processing efficiency and intensity of message information risks, thereby improving the Fengxia monitoring intensity of the entire smart education system, and greatly improving the data access security of the smart education system.
[0076] In one embodiment of the present invention, the monitoring time is set by the following process:
[0077] It is determined whether the sending node that sends the risky message is sending the risky message for the first time. If the node currently sends the risky message for the first time during the operation of the smart education system on the same day, the monitoring period length is set by the first monitoring time setting model, wherein the first monitoring time setting model is as follows:
[0078]
[0079] When n=1, n-1=1, and
[0080] Wherein, T1 represents the length of the monitoring period obtained by the first setting model of the monitoring time; n represents the number of times the sending node sends a message on that day; ΔT irepresents the time interval between the sending node sending the message for the i+1th time and the i-th time; ΔT represents the time interval between the sending node currently sending the message with risk and the previous sending of the message; ΔT min Indicates the minimum time interval between messages sent by the sending node on the same day; ΔT max Indicates the maximum time interval for the sending node to send messages on the same day; T0 indicates the length of the preset initial monitoring period; δ1 indicates the time adjustment coefficient, and the value range of δ1 is 0.83-0.94;
[0081] If the party node is not currently sending a risky message for the first time during the operation of the smart education system on the day, the monitoring period length is set by the second setting model of the monitoring time, wherein the second setting model of the monitoring time is as follows:
[0082]
[0083] Wherein, T2 represents the length of the monitoring period obtained by the second setting model of the monitoring time; δ2 represents the time adjustment coefficient, and the value range of δ2 is 1.13-1.28; m represents the number of times the sending node sends risky message information on the same day, ΔT li It represents the time interval between the sending node sending the message information with risk for the i+1th time and sending the message information with risk for the ith time.
[0084] The effect of the above technical solution is: the monitoring time obtained by the above formula can be set in a targeted manner according to the actual operation of the message sending node, so that the set monitoring time length can effectively meet the monitoring module's effective monitoring of the risk message sending node, and the monitoring duration can meet the judgment duration for risk index acquisition, effectively improving the accuracy of risk index acquisition of subsequent sending nodes, avoiding the problem of insufficient monitoring efficiency and intensity of the sending node due to insufficient fixed monitoring duration, which in turn leads to adverse effects on the accuracy of risk index assessment of subsequent message sending nodes.
[0085] On the other hand, the monitoring time length obtained by the above formula is highly matched with the actual message sending situation of the message sending node, so that the setting of the monitoring time length can not only ensure the effective monitoring of the sending node, but also ensure the rationality of the operating time of the monitoring module. It can effectively reduce the excessive resource consumption of the education system while improving the monitoring intensity of the sending node, and prevent excessive monitoring time from consuming too many system resources and increasing the system operation burden.
[0086] The risk index of the sending node is calculated by the following formula:
[0087]
[0088] Among them, H represents the risk index, T represents the operating time of the smart education system on that day, L1, L2 and L3 represent the pre-set first unit index value, second unit index value and third unit index value respectively, and L1, L2 and L3 are all natural constants.
[0089] The effect of the above technical solution is: the above risk index can be used to conduct effective and accurate risk assessment on each message sending node of the smart education system.
[0090] The embodiment of the present invention proposes a big data audit scenario analysis system applied to a smart education system. Figure 2 As shown, the system comprises:
[0091] The unit division module is used to divide the smart education platform into k audit units according to different functions, where k is a natural number;
[0092] The hook embedding module is used to scan each audit unit, obtain the hook point, embed the hook function in the hook point, monitor the event messages generated by each audit unit, and intercept and obtain the messages sent to the target window;
[0093] The risk processing module is used to analyze and process the message sent to the target window to determine whether there is any risk in the big data processing process.
[0094] Wherein, the hook embedding module includes:
[0095] A search module is used to search the Java layer as a hook point in the system objects in the smart education system that meet the specified requirements;
[0096] An execution module, used to put the hook function into the business logic that needs to be processed and analyzed by the smart education system object for execution;
[0097] The message acquisition module is used to monitor the event messages of the business logic that needs to be processed and analyzed in the smart education system during execution through the hook function, and intercept the messages sent to the target window.
[0098] The hook point required by the regulations meets the following conditions: the system object is a static object.
[0099] The working principle of the above technical solution is: first, the smart education platform is divided into k audit units according to different functions implemented through the unit division module, where k is a natural number; then, the hook embedding module is used to scan each audit unit, obtain the hook point, and embed the hook function in the hook point, monitor the event message generated by each audit unit, and intercept and obtain the message sent to the target window; then, the risk processing module is used to analyze and process the message sent to the target window to determine whether there is a risk in the big data processing process.
[0100] The operation process of the hook embedding module includes:
[0101] Firstly, the Java layer is searched as the hook point in the system objects in the smart education system that meet the specified requirements through the search module; then, the hook function is put into the business logic that needs to be processed and analyzed in the smart education system object for execution by the execution module; finally, the message acquisition module is used to monitor the event messages of the business logic that needs to be processed and analyzed in the smart education system during the execution process through the hook function, and the messages sent to the target window are intercepted.
[0102] The effect of the above technical solution is: through the division of audit units based on functions, the management efficiency of audit management and the intensity of message monitoring can be effectively improved. At the same time, by embedding the hook function, the capture efficiency of messages sent by each node of the smart education system can be effectively improved, and the capture success rate of messages sent by each node of the smart education system can be effectively improved, and the number of missed messages can be reduced. On the other hand, it can effectively improve the monitoring and processing efficiency and intensity of message information risks, improve the Fengxia monitoring intensity of the entire smart education system, and greatly improve the data access security of the smart education system.
[0103] In one embodiment of the present invention, the risk processing module includes:
[0104] A storage partitioning module, used to set a message storage unit in the storage area of the smart education system, and divide the message storage unit into storage areas, wherein the storage areas correspond to the audit units one by one;
[0105] An information partitioning module is used to copy the message content sent to the target window in sequence according to the message generation time, generate corresponding message files according to the copied message content, and store the messages in each storage area in the message storage unit in sequence according to the message generation time from earliest to latest;
[0106] A scanning and identification module is used to scan, analyze and identify messages in the message files of each storage area, and identify whether the information or code in the message contains risk information or code stored in the database. If there is no risk information or code stored in the database, it means that the message is safe and the message is allowed to be sent to the target window; if there is risk information or code stored in the database, the message is refused to be sent to the target window, and message interception reminder information is fed back to the sending node of the message;
[0107] A marking module, used to mark the sending node that has sent risky messages, set a monitoring period for the sending node, and separately monitor the event messages generated by the sending node;
[0108] The monitoring module is used to monitor each message information sent by the sending node in real time within the set monitoring period, and perform risk processing on each message information. When the risk index reaches the risk threshold, the smart education system will alarm and prompt the operation and maintenance personnel to perform risk processing.
[0109] The working principle of the above technical solution is as follows: first, a message storage unit is set in the storage area of the smart education system through the storage division module, and the message storage unit is divided into storage areas, and the storage areas correspond to the audit units one by one; then, the information division module is used to copy the message content sent to the target window in sequence according to the generation time of the message, and a corresponding message file is generated according to the copied message content, and the corresponding message file is stored in each storage area in the message storage unit in order from early to late according to the generation time of the message; then, a scanning and identification module is used to scan, analyze and identify the messages in the message files of each storage area to identify whether the information or code in the message contains risk information or code stored in the database, and if not, If there is risk information or code stored in the database, it means that the message is safe and the message is allowed to be sent to the target window; if there is risk information or code stored in the database, the message is refused to be sent to the target window, and the message interception reminder information is fed back to the sending node of the message; then, the sending node that has sent the risk message is marked by the marking module, a monitoring period is set for the sending node, and the event message generated by the sending node is monitored separately; finally, each message information sent by the sending node is monitored in real time within the set monitoring period through the monitoring module, and risk processing is performed on each message information. When the risk index reaches the risk threshold, the smart education system alarms to prompt the operation and maintenance personnel to perform risk processing.
[0110] The effect of the above technical solution is: risk monitoring through the above method can effectively improve the monitoring and processing efficiency and intensity of message information risks, thereby improving the Fengxia monitoring intensity of the entire smart education system, and greatly improving the data access security of the smart education system.
[0111] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A big data audit scenario analysis method applied to a smart education system, characterized in that: The method comprises: The smart education platform is divided into k audit units according to different functions, where k is a natural number; Scan each audit unit, obtain the hook point, and embed the hook function in the hook point to monitor the event messages generated by each audit unit, and intercept and obtain the messages sent to the target window; Analyze and process the message sent to the target window to determine whether there is a risk in the big data processing process; The message sent to the target window is analyzed and processed to determine whether there are risks in the big data processing process. include: A message storage unit is set in the storage area of the smart education system, and the message storage unit is divided into storage areas, wherein the storage areas correspond to the audit units one by one; The message contents sent to the target window are copied in sequence according to the message generation time, and corresponding message files are generated according to the copied message contents, and are stored in each storage area in the message storage unit in sequence according to the message generation time from earliest to latest; Scan and analyze the messages in the message files of each storage area to identify whether the information or code in the message contains risk information or code stored in the database. If there is no risk information or code stored in the database, it means that the message is safe and the message is allowed to be sent to the target window. If there is risk information or code stored in the database, the message is rejected from being sent to the target window, and message interception reminder information is fed back to the sending node of the message. Marking the sending node that has sent risky messages, setting a monitoring period for the sending node, and separately monitoring the event messages generated by the sending node; During the set monitoring period, each message information sent by the sending node is monitored in real time, and risk processing is performed on each message information. When the risk index reaches the risk threshold, the smart education system will alarm and prompt the operation and maintenance personnel to perform risk processing.
2. The data audit scenario analysis method according to claim 1 is characterized in that: The method of scanning each audit unit, obtaining a hook point, embedding a hook function in the hook point, monitoring the event message generated by each audit unit, and intercepting the message includes: Find the Java layer as a hook point in the system objects of the smart education system that meet the specified requirements; Put the hook function into the business logic that needs to be processed and analyzed by the smart education system object for execution; The hook function is used to monitor the event messages of the business logic that needs to be processed and analyzed in the smart education system during execution, and the messages sent to the target window are intercepted.
3. The data audit scenario analysis method according to claim 2 is characterized in that: The hook point required by the regulation meets the following conditions: the system object is a static object.
4. The data audit scenario analysis method according to claim 1 is characterized in that: The monitoring period is set by the following process: It is determined whether the sending node that sends the risky message is sending the risky message information for the first time. If the node currently sends the risky message information for the first time during the operation of the smart education system on the same day, the length of the monitoring period is set by the first setting model of the monitoring period, wherein the first setting model of the monitoring period is as follows: When n=1, n-1=1, and Wherein, T1 represents the length of the monitoring period obtained by the first setting model of the monitoring period; n represents the number of times the sending node sends a message on that day; ΔT i represents the time interval between the sending node sending the message for the i+1th time and the i-th time; ΔT represents the time interval between the sending node currently sending the message with risk and the previous sending of the message; ΔT min Indicates the minimum time interval between messages sent by the sending node on the same day; ΔT max Indicates the maximum time interval for the sending node to send messages on the same day; T0 indicates the length of the preset initial monitoring period; δ1 indicates the time adjustment coefficient, and the value range of δ1 is 0.83-0.94; If the node is not currently sending risky message information for the first time during the operation of the smart education system on the day, the monitoring period length is set by the second setting model of the monitoring period, wherein the second setting model of the monitoring period is as follows: Wherein, T2 represents the length of the monitoring period obtained by the second setting model of the monitoring period; δ2 represents the time adjustment coefficient, and the value range of δ2 is 1.13-1.28; m represents the number of times the sending node sends risky message information on the same day, ΔT li It represents the time interval between the sending node sending the message information with risk for the i+1th time and sending the message information with risk for the ith time.
5. The data audit scenario analysis method according to claim 4 is characterized in that: The risk index of the sending node is calculated by the following formula: Among them, H represents the risk index, T represents the operating time of the smart education system on that day, L1, L2 and L3 represent the pre-set first unit index value, second unit index value and third unit index value respectively, and L1, L2 and L3 are all natural constants.
6. A big data audit scenario analysis system applied to a smart education system, characterized in that: The system comprises: The unit division module is used to divide the smart education platform into k audit units according to different functions, where k is a natural number; The hook embedding module is used to scan each audit unit, obtain the hook point, embed the hook function in the hook point, monitor the event messages generated by each audit unit, and intercept and obtain the messages sent to the target window; A risk processing module, used to analyze and process the message sent to the target window to determine whether there is a risk in the big data processing process; The risk processing module includes: A storage partitioning module, used to set a message storage unit in the storage area of the smart education system, and divide the message storage unit into storage areas, wherein the storage areas correspond to the audit units one by one; An information partitioning module is used to copy the message content sent to the target window in sequence according to the message generation time, generate corresponding message files according to the copied message content, and store the messages in each storage area in the message storage unit in sequence according to the message generation time from earliest to latest; A scanning and identification module is used to scan, analyze and identify messages in the message files of each storage area, and identify whether the information or code in the message contains risk information or code stored in the database. If there is no risk information or code stored in the database, it means that the message is safe and the message is allowed to be sent to the target window; if there is risk information or code stored in the database, the message is refused to be sent to the target window, and message interception reminder information is fed back to the sending node of the message; A marking module, used to mark the sending node that has sent risky messages, set a monitoring period for the sending node, and separately monitor the event messages generated by the sending node; The monitoring module is used to monitor each message information sent by the sending node in real time within the set monitoring period, and perform risk processing on each message information. When the risk index reaches the risk threshold, the smart education system will alarm and prompt the operation and maintenance personnel to perform risk processing.
7. The data audit scenario analysis system according to claim 6 is characterized in that: The hook embedding module includes: A search module is used to search the Java layer as a hook point in the system objects in the smart education system that meet the specified requirements; An execution module, used to put the hook function into the business logic that needs to be processed and analyzed by the smart education system object for execution; The message acquisition module is used to monitor the event messages of the business logic that needs to be processed and analyzed in the smart education system during execution through the hook function, and intercept the messages sent to the target window.
8. The data audit scenario analysis system according to claim 7 is characterized in that: The hook point required by the regulation meets the following conditions: the system object is a static object.
Citation Information
Patent Citations
Method and device for monitoring dynamically-loaded application
CN106897609A
