Reinforced knowledge base construction method and device based on importance evaluation
Through the reinforcement knowledge base construction method based on importance assessment, reinforcement failure information is recorded and evaluated, which solves the problems of low reinforcement efficiency and uncertain results in the existing technology, and achieves efficiency improvement and decision support for reinforcement operations.
Patent Information
- Application Number
- CN202410876769.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-24
AI Technical Summary
Existing hardening technology requires professional technical capabilities and different operation and maintenance managers have different understandings of hardening methods, resulting in low hardening efficiency and uncertain final results. There is a lack of effective knowledge base to record hardening items and failure reasons.
Adopt a reinforcement knowledge base construction method based on importance assessment, record and upload reinforcement failure information through six-tuple data (reinforcement items, time, method, failure reason, parameters and number of failures), build a comprehensive evaluation model, and regularly update and eliminate it Use old data, set the importance evaluation cycle, and evaluate the importance of reinforcement items.
It improves the efficiency and decision-making accuracy of hardening operations, provides important decision-making basis for administrators, focuses on high-frequency hardening failures, and improves the maintenance and expansion capabilities of the hardening system.
Smart Images

Figure CN118690844A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of security reinforcement, and in particular to a method and device for constructing a reinforcement knowledge base based on importance assessment. Background Art
[0002] Conduct baseline checks on network devices, analyze non-conforming items, associate non-compliant items with operating systems, versions, services, and other information, and analyze whether there are common phenomena, so as to achieve risk warnings and prompt reinforcement operations for assets with the same characteristics.
[0003] Existing reinforcement technology generally involves checking the baseline configuration and using different methods to reinforce different baseline configuration issues. However, baseline reinforcement requires strong professional technical capabilities and problem-solving capabilities, and different operation and maintenance managers have different understandings of reinforcement methods, which can easily have an adverse impact on the final result. Therefore, it is necessary to add a security reinforcement knowledge base construction module to record each reinforcement item and the reason for reinforcement failure, and form a reinforcement knowledge base to improve the efficiency of security reinforcement. Summary of the invention
[0004] The technical problem to be solved by the present invention is to overcome the above technical defects and provide a method and device for constructing a reinforcement knowledge base based on importance assessment.
[0005] In order to solve the above problems, the technical solution of the present invention is a method for constructing a reinforcement knowledge base based on importance evaluation, comprising the following steps:
[0006] S1. Reinforcement status analysis: if the current reinforcement is successful, the current baseline configuration information is archived; if the current reinforcement fails, the reinforcement information is recorded. The reinforcement information is a six-tuple data.<x,t,m,r,p,v> ;
[0007] S2, reinforcement knowledge base construction, uploading the six-tuple data of reinforcement failure to the reinforcement knowledge base, and accumulating the number of reinforcement failures v;
[0008] S3, evaluate the importance of reinforcement items in the reinforcement knowledge base and build a comprehensive evaluation model;
[0009] S4. Set a time period to regularly check and update the reinforcement knowledge base.
[0010] Furthermore, the six-tuple data in step S1 includes reinforcement item x, reinforcement time t, reinforcement method m, reinforcement failure reason r, reinforcement parameter p, and reinforcement failure times v.
[0011] Further, the time period in step S4 includes:
[0012] Reinforcement item information elimination period T_a, where T_a refers to the reinforcement item information elimination period. If the time interval between the data recording time in the reinforcement knowledge base and the current time is greater than T_a, the item will be eliminated;
[0013] The knowledge base full set elimination period T_b, where T_b refers to the knowledge base full set elimination period. If the time interval of the knowledge base full set exceeds Tb, the knowledge base will be cleared;
[0014] Importance evaluation cycle T_im, wherein importance evaluation is performed on the content of the reinforcement knowledge base every T_im cycle.
[0015] Furthermore, the baseline configuration information in step S1 includes reinforcement item x, reinforcement time t, reinforcement method m, and reinforcement parameter p.
[0016] Furthermore, the six-tuple data in step S1 includes reinforcement item x, reinforcement time t, reinforcement method m, reinforcement failure reason r, reinforcement parameter p, and reinforcement failure times v.
[0017] Furthermore, the step S4 also includes a data update window, wherein each time period T c Then filter the data collected by the reinforcement knowledge base, store new data, and c The data in the data table will be filtered out, and there will always be a T a Internal data.
[0018] The technical solution of the present invention is a device for building a reinforcement knowledge base based on importance assessment, comprising the following modules:
[0019] A reinforcement result evaluation module, which determines whether the reinforcement is successful or correct after the reinforcement is completed;
[0020] A configuration management module, which records the information of the reinforcement after the reinforcement result analysis module determines that the reinforcement operation fails;
[0021] A reinforcement knowledge base module, wherein the reinforcement knowledge base module uploads reinforcement failure information to the reinforcement knowledge base module after reinforcement fails;
[0022] A knowledge base update module, wherein the knowledge base update module sets a time period to update the knowledge base, and the time period includes: a reinforcement item information elimination period and a knowledge base full set elimination period;
[0023] The importance evaluation module uses the reinforcement failure times and fuzzy membership function of each reinforcement failure item to calculate the membership and construct a comprehensive evaluation model.
[0024] Furthermore, the reinforcement information includes: reinforcement time, reinforcement method, reinforcement failure reason, reinforcement parameters and reinforcement failure times.
[0025] Furthermore, the comment set in the model is the importance of each reinforcement item, and the comment set includes: unimportant, general, important and very important, and the very important reinforcement items are given special attention.
[0026] The advantages of the present invention compared with the prior art are:
[0027] 1. The present invention provides a method and device for constructing a reinforcement knowledge base based on importance assessment. A reinforcement knowledge base function is added to the reinforcement system, and reinforcement failure information is uploaded to the reinforcement knowledge base. The reinforcement knowledge base contains information such as reinforcement time, reinforcement method, reinforcement failure reason, reinforcement parameters and number of reinforcement failures, which can provide important decisions for reinforcement administrators. The number of reinforcement failures of each reinforcement item is used as a factor to construct a comprehensive evaluation model, focusing on important reinforcement items, which is beneficial to the administrator's maintenance and expansion and improves the efficiency of reinforcement operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of the workflow of a method for constructing a reinforcement knowledge base based on importance assessment in the present invention.
[0029] Figure 2 It is a schematic diagram of the time sliding window of step S4 in a method for constructing a reinforcement knowledge base based on importance assessment of the present invention.
[0030] Figure 3 It is a schematic diagram of the workflow of an importance assessment unit in a method for constructing a reinforcement knowledge base based on importance assessment in the present invention.
[0031] Figure 4 It is a schematic diagram of the working process of a device for constructing a reinforcement knowledge base based on importance assessment according to the present invention.
[0032] Figure 5 It is a system block diagram of a device for constructing a reinforced knowledge base based on importance assessment according to the present invention. DETAILED DESCRIPTION
[0033] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0034] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0035] Embodiment 1:
[0036] like Figures 1 to 3 As shown, this embodiment proposes a method for constructing a reinforcement knowledge base based on importance assessment, including the following steps:
[0037] S1. Reinforcement status analysis: if the current reinforcement is successful, the current baseline configuration information will be archived; if the current reinforcement fails, the reinforcement information will be recorded. The reinforcement information is a six-tuple data.<x,t,m,r,p,v> ;
[0038] S2, reinforcement knowledge base construction, upload the six-tuple data of reinforcement failure to the reinforcement knowledge base, and accumulate the number of reinforcement failures v;
[0039] S3, evaluate the importance of reinforcement items in the reinforcement knowledge base and build a comprehensive evaluation model;
[0040] S4. Set a time period to regularly check and update the reinforcement knowledge base.
[0041] Furthermore, the baseline configuration information in step S1 includes reinforcement item x, reinforcement time t, reinforcement method m, and reinforcement parameter p.
[0042] Furthermore, the six-tuple data in step S1 includes reinforcement item x, reinforcement time t, reinforcement method m, reinforcement failure reason r, reinforcement parameter p, and reinforcement failure times v.
[0043] Furthermore, the comprehensive evaluation model in step S3 includes:
[0044] Factor set U, factor set U = {X 1v , X 2v , …, X iv , …, X nv}, with the number of reinforcements for each reinforcement item as the factor, which is a single factor set;
[0045] Comment set V, comment set V = {unimportant, general, important, very important};
[0046] Evaluation matrix R, evaluation matrix R is a fuzzy comprehensive evaluation matrix. If rij is used to represent the membership degree of the i-th element corresponding to the j-th column, then the evaluation result of the i-th single factor is expressed as R = {V i1 , V i2, …, X in}, the present invention is a single factor indicator set, and the comment set has 4 evaluation indicators, so the evaluation matrix R is a 1×4 matrix, which is used to represent the membership of the reinforcement item to each comment;
[0047] Membership function A(x) is obtained by the assignment method. A trapezoidal membership function is selected. The function is expressed as follows:
[0048]
[0049] Using the membership function and the value of the element, the membership degree r between each element and each fuzzy set can be calculated.
[0050] Furthermore, the time period in step S4 includes:
[0051] Reinforcement item information elimination cycle T a , T a Refers to the elimination cycle of reinforcement item information. The time interval between the data recording time in the reinforcement knowledge base and the current time is greater than T a This item will be eliminated;
[0052] Knowledge base complete set elimination cycle T b , T b Refers to the elimination cycle of the entire knowledge base. The time interval of the entire knowledge base exceeds T b Then the knowledge base will be cleared;
[0053] Importance assessment cycle T im , per T im Periodically evaluate the importance of the content of the reinforcement knowledge base.
[0054] Furthermore, step S4 also includes a data update window, and every time period T c Then filter the data collected by the reinforcement knowledge base, store new data, and c The data in the data table will be filtered out, and there will always be a T a Internal data.
[0055] Embodiment 2:
[0056] like Figure 4 and Figure 5 As shown, this embodiment proposes a device for building a reinforcement knowledge base based on importance assessment, including the following modules:
[0057] The reinforcement result evaluation module determines whether the reinforcement is successful or correct after the reinforcement is completed;
[0058] Configuration management module: after the reinforcement operation is judged as a failure by the reinforcement result analysis module, the configuration management module records the information of this reinforcement;
[0059] The reinforcement knowledge base module uploads the reinforcement failure information to the reinforcement knowledge base module after the reinforcement fails.
[0060] A knowledge base update module, the knowledge base update module sets a time period to update the knowledge base, the time period includes: a reinforcement item information elimination period and a knowledge base complete set elimination period;
[0061] Importance Assessment Module,The importance assessment module uses the number of reinforcement failures and the fuzzy,membership function of each reinforcement failure item to calculate the membership,and construct a comprehensive evaluation model.
[0062] Furthermore, the reinforcement information includes: reinforcement time, reinforcement method, reinforcement failure reason, reinforcement parameters and reinforcement failure times.
[0063] Furthermore, the comment set in the model is the importance of each reinforcement item, and the comment set includes: unimportant, general, important and very important, with special attention paid to very important reinforcement items.
[0064] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0065] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
[0066] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.
Claims
1. A reinforcement knowledge base construction method based on importance assessment, It is characterized in that The following steps are involved: S1. Reinforcement status analysis: if the current reinforcement is successful, the current baseline configuration information is archived; if the current reinforcement fails, the reinforcement information is recorded. The reinforcement information is a six-tuple data.<x,t,m,r,p,v> ; S2, reinforcement knowledge base construction, uploading the six-tuple data of reinforcement failure to the reinforcement knowledge base, and accumulating the number of reinforcement failures v; S3, evaluate the importance of reinforcement items in the reinforcement knowledge base and build a comprehensive evaluation model; S4. Set a time period to regularly check and update the reinforcement knowledge base.
2. According to the method for constructing a reinforcement knowledge base based on importance assessment according to claim 1, Features: The baseline configuration information in step S1 includes reinforcement item x, reinforcement time t, reinforcement method m, and reinforcement parameter p.
3. According to the method for constructing a reinforcement knowledge base based on importance assessment according to claim 1, Features: The six-tuple data in step S1 includes reinforcement item x, reinforcement time t, reinforcement method m, reinforcement failure reason r, reinforcement parameter p, and reinforcement failure times v.
4. According to the method for constructing a reinforcement knowledge base based on importance assessment according to claim 1, It is characterized in that The comprehensive evaluation model in step S3 includes: Factor set U, said factor set U = {X 1v , X 2v , ..., X iv , ..., X nv }, the reinforcement times of each reinforcement item is taken as a factor, which is a single factor set; A comment set V, wherein the comment set V = {unimportant, general, important, very important}; Evaluation matrix R, the evaluation matrix R is a fuzzy comprehensive evaluation matrix. If rij is used to represent the membership degree of the i-th element corresponding to the j-th column, then the evaluation result of the i-th single factor is expressed as R = {V i1 , V i2 , ..., X in }, the present invention is a single factor indicator set, and the comment set has 4 evaluation indicators, so the evaluation matrix R is a 1×4 matrix, which is used to represent the membership of the reinforcement item to each comment; The membership function A(x) is obtained by the assignment method, and the trapezoidal membership function is selected. The expression of the function is: The membership function and the value of the element can be used to calculate the membership degree r between each element and each fuzzy set.
5. According to the method for constructing a reinforcement knowledge base based on importance assessment according to claim 1, It is characterized in that The time period in step S4 includes: Reinforcement item information elimination cycle T a , the T a Refers to the elimination cycle of reinforcement item information. The time interval between the data recording time in the reinforcement knowledge base and the current time is greater than T a This item will be eliminated; Knowledge base complete set elimination cycle T b , the T b Refers to the elimination cycle of the entire knowledge base. The time interval of the entire knowledge base exceeds T b Then the knowledge base will be cleared; Importance assessment cycle T im , each T im Periodically evaluate the importance of the content of the reinforcement knowledge base.
6. According to the method for constructing a reinforcement knowledge base based on importance assessment according to claim 1, Features: The step S4 also includes a data update window, wherein each time period T c Then filter the data collected by the reinforcement knowledge base, store new data, and c The data in the data table will be filtered out, and there will always be a T a Internal data.
7. A device for building a reinforcement knowledge base based on importance assessment, It is characterized in that Includes the following modules: A reinforcement result evaluation module, which determines whether the reinforcement is successful or correct after the reinforcement is completed; A configuration management module, which records the information of the reinforcement after the reinforcement result analysis module determines that the reinforcement operation fails; A reinforcement knowledge base module, wherein the reinforcement knowledge base module uploads reinforcement failure information to the reinforcement knowledge base module after reinforcement fails; A knowledge base update module, wherein the knowledge base update module sets a time period to update the knowledge base, and the time period includes: a reinforcement item information elimination period and a knowledge base full set elimination period; The importance evaluation module uses the reinforcement failure times and fuzzy membership function of each reinforcement failure item to calculate the membership and construct a comprehensive evaluation model.
8. The device for constructing a reinforced knowledge base based on importance assessment according to claim 7, It is characterized in that The reinforcement information includes: reinforcement time, reinforcement method, reinforcement failure reason, reinforcement parameters and reinforcement failure times.
9. The device for constructing a reinforced knowledge base based on importance assessment according to claim 7, It is characterized in that The comment set in the model is the importance of each reinforcement item, and the comment set includes: unimportant, general, important and very important, and the very important reinforcement items are given special attention.
