Strategy item distribution method and device, equipment and storage medium
By automatically matching the target security status information of the terminal device and the business scenario information of the policy group, the target policy group is solved, and the problem that the policy items in the existing technology cannot adapt to the actual status of the device is improved, and the security of the terminal device is improved.
Patent Information
- Application Number
- CN202411102322.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-12
AI Technical Summary
In the prior art, the policy items of the terminal device are manually determined, and the actual status of the device cannot be adapted to, resulting in low security.
By determining the target security status information of the terminal device and the business scenario information of the policy group to be selected, the target policy group is automatically matched and sent to ensure that the policy items match the device status, thereby improving security.
Improve the security of terminal devices, avoid manual errors, and enhance the accuracy and adaptability of policy items.
Smart Images

Figure CN118984238A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data security technology, and in particular to a method, device, equipment and storage medium for allocating policy items. Background Art
[0002] With the development of digital transformation and network technology, different terminal devices can be quickly accessed through the network. The access process involves access to data, which poses a challenge to the security of the data on the terminal devices.
[0003] In the zero-trust system, in order to improve the security of terminal devices, a series of policy items are designed, including but not limited to virus detection, scheduled scanning, active defense, or firewall, etc. The terminal device executes the policy items to achieve security protection of the terminal device.
[0004] In the related art, policy items are determined manually, but the policy items determined in this way cannot adapt to the actual status of the terminal device, thereby causing the problem of low security of the terminal device. Summary of the invention
[0005] The present application provides a method, apparatus, device and storage medium for allocating policy items to improve the security of terminal devices.
[0006] In a first aspect, the present application provides a method for allocating policy items, comprising: determining target security status information of a terminal device; determining multiple policy groups to be selected and business scenario information corresponding to each policy group to be selected, the policy groups to be selected including multiple policy items, the policy items being rules for executing security protection functions; determining a target policy group based on the target security status information and the business scenario information corresponding to each policy group to be selected, the target security status information matching the business scenario information corresponding to the target policy group; and sending the target policy group to the terminal device so that the terminal device executes multiple policy items in the target policy group to achieve security protection.
[0007] In one possible design, determining target security status information of a terminal device includes: determining a target time; sending an information acquisition request to the terminal device at the target time, wherein the information acquisition request is used to request the terminal device to send security status information; and receiving the target security status information sent by the terminal device.
[0008] In one possible design, determining the target moment includes: determining historical security status information of the terminal device; determining a security level of the terminal device based on the historical security status information; adjusting a preset duration according to the security level to obtain a target duration, wherein the target duration is used to determine an interval between two adjacent information acquisition requests; and determining the target moment based on the target duration.
[0009] In one possible design, the target policy group is determined based on the target security status information and the business scenario information corresponding to each of the candidate policy groups, including: if there is an intermediate policy group among the multiple candidate policy groups, the target policy group is determined based on the intermediate policy group, and the target security status information matches the business scenario information corresponding to the intermediate policy group; if the intermediate policy group does not exist among the multiple candidate policy groups, the target policy group is determined based on the target security status information.
[0010] In one possible design, the target policy group is determined based on the intermediate policy group, including: if the number of the intermediate policy groups is 1, the intermediate policy group is determined as the target policy group; if the number of the intermediate policy groups is multiple, the target policy group is determined from the intermediate policy groups based on the security level corresponding to each intermediate policy group.
[0011] In one possible design, the method also includes: determining the value range corresponding to each information in the business scenario information corresponding to each intermediate policy group; determining the target policy group based on the target security status information and the value range corresponding to each information, and each information in the target security status information is within each value range corresponding to the target policy group.
[0012] In one possible design, the target policy group is determined according to the target security status information, including: determining the weight and weight of each information in the target security status information; performing weighted summation processing on the weights according to the weights to obtain a target security score for the terminal device; determining the target security level of the terminal device according to the target security score and the correspondence between the security score and the security level; and determining the target policy group from the multiple candidate policy groups according to the target security level, the security level of the target policy group being the same as the target security level.
[0013] In one possible design, sending the target policy group to the terminal device includes: encapsulating multiple policy items in the target policy group into multiple software development kits respectively; and sending the multiple software development kits to the terminal device.
[0014] In the second aspect, the present application provides a policy item allocation device, including: a determination module, used to determine the target security status information of a terminal device; a configuration module, used to determine multiple candidate policy groups and business scenario information corresponding to each candidate policy group, the candidate policy group includes multiple policy items, and the policy items are rules for executing security protection functions; a screening module, used to determine the target policy group based on the target security status information and the business scenario information corresponding to each candidate policy group, the target security status information matches the business scenario information corresponding to the target policy group; a sending module, used to send the target policy group to the terminal device, so that the terminal device executes multiple policy items in the target policy group to achieve security protection.
[0015] In one possible design, the determination module is specifically used to determine the target time; the determination module is also specifically used to send an information acquisition request to the terminal device at the target time, and the information acquisition request is used to request the terminal device to send security status information; the determination module is also specifically used to receive the target security status information sent by the terminal device.
[0016] In one possible design, the determination module is specifically used to determine the historical security status information of the terminal device; the determination module is also specifically used to determine the security level of the terminal device based on the historical security status information; the determination module is also specifically used to adjust the preset duration according to the security level to obtain the target duration, and the target duration is used to determine the interval between two adjacent information acquisition requests; the determination module is also specifically used to determine the target time based on the target duration.
[0017] In one possible design, the device also includes: a judgment module, which is used to determine the target policy group based on the intermediate policy group if there is an intermediate policy group among the multiple policy groups to be selected, and the target security status information matches the business scenario information corresponding to the intermediate policy group; the judgment module is also used to determine the target policy group based on the target security status information if the intermediate policy group does not exist among the multiple policy groups to be selected.
[0018] In one possible design, the judgment module is specifically used to determine the intermediate policy group as the target policy group if the number of the intermediate policy groups is 1; the judgment module is also specifically used to determine the target policy group from the intermediate policy groups according to the security level corresponding to each intermediate policy group if the number of the intermediate policy groups is multiple.
[0019] In one possible design, the device also includes: a processing module, used to determine the value range corresponding to each information in the business scenario information corresponding to each intermediate policy group; the processing module is also used to determine the target policy group based on the target security status information and the value range corresponding to each information, and each information in the target security status information is within each value range corresponding to the target policy group.
[0020] In one possible design, the device also includes: a calculation module, used to determine the weight and weight of each information in the target security status information; the calculation module is also used to perform weighted sum processing on the weights according to the weights to obtain the target security score of the terminal device; the calculation module is also used to determine the target security level of the terminal device according to the target security score and the correspondence between the security score and the security level; the calculation module is also used to determine the target policy group from the multiple candidate policy groups according to the target security level, and the security level of the target policy group is the same as the target security level.
[0021] In one possible design, the apparatus further includes: an execution module, used to encapsulate the multiple policy items in the target policy group into multiple software development kits respectively; the execution module is also used to send the multiple software development kits to the terminal device.
[0022] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the method for allocating policy items as described in the first aspect and various possible designs of the first aspect.
[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the method for allocating policy items as described in the first aspect and various possible designs of the first aspect is implemented.
[0024] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method for allocating policy items as described in the first aspect and various possible designs of the first aspect.
[0025] The present application provides a method, device, equipment and storage medium for allocating policy items, and the method includes: determining the target security status information of the terminal device; determining multiple policy groups to be selected and the business scenario information corresponding to each policy group to be selected, the policy group to be selected includes multiple policy items, and the policy items are rules for executing security protection functions; determining the target policy group according to the target security status information and the business scenario information corresponding to each policy group to be selected, and the target security status information matches the business scenario information corresponding to the target policy group; sending the target policy group to the terminal device so that the terminal device executes multiple policy items in the target policy group to achieve security protection. The above scheme determines the matching policy items according to the target security status information of the terminal device. Compared with the manual method, the determined policy items are more in line with the security status of the terminal device, thereby improving the security of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0027] Figure 1 A schematic diagram of an application scenario of a method for allocating policy items provided in an embodiment of the present application;
[0028] Figure 2 A flowchart of a method for allocating policy items provided in an embodiment of the present application;
[0029] Figure 3 A flowchart of a method for allocating policy items provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of determining a target strategy group provided in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of determining a target strategy group provided in an embodiment of the present application;
[0032] Figure 6 A schematic diagram of the value selection rules provided in the embodiment of the present application;
[0033] Figure 7 A schematic diagram of the structure of a device for allocating policy items provided in an embodiment of the present application;
[0034] Figure 8 A schematic diagram of the structure of a device for allocating policy items provided in an embodiment of the present application;
[0035] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0036] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0037] 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 implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0038] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.
[0039] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0040] Figure 1 This is an application scenario diagram of the allocation of strategy items in the prior art. Figure 1 As shown, a policy item is determined, the policy item is sent to a terminal device, and the terminal device executes the rules in the policy item to achieve security protection.
[0041] In the prior art, the policy items are determined by the user, and specifically, the user can determine the policy items based on experience or knowledge, or the user can select the policy items from the preset policy items of the terminal device. The policy items determined by this method have the problem of low accuracy. For example, the current terminal device processes a business with high security requirements or the current environment of the terminal device has security risks, and the policy items determined by the user fail to provide security protection that matches it, resulting in low security of the terminal device.
[0042] In response to the above technical problems, the present application proposes the following technical concept: the server obtains the target security status information of the terminal device in real time, and determines the policy items that match the target security status information, thereby achieving security protection of the terminal device.
[0043] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0044] Figure 2 A flow chart of a method for allocating policy items provided in an embodiment of the present application, the method comprising the following steps:
[0045] S201. Determine target security status information of a terminal device.
[0046] As an example, the execution subject of this embodiment may be a device for allocating policy items, and there are many ways to implement the device for allocating policy items. For example, it may be program software, or a medium storing relevant computer programs, such as a USB flash drive, etc.; or, the device may also be a physical device integrated or installed with relevant computer programs, such as a chip, an intelligent terminal, a computer, a server, etc.
[0047] Among them, the target security status information is the current security status information of the terminal device, which can be used to reflect the current security status of the terminal device.
[0048] Optionally, the target security status information includes but is not limited to at least one of the following: business attributes, organization attributes, user attributes, device attributes, or environment attributes.
[0049] In combination with the scenario example, the business attribute is the attribute of the business currently processed by the terminal device, which can be the business type or business identifier, etc. The organization can be a department or project team, etc. The user attribute is the attribute of the user currently using the terminal device, which can be the user permission type, etc. The device attribute is the hardware or software type of the terminal device. The environment attribute can be the network type currently used by the terminal device, etc.
[0050] Combined with the scenario examples, the target security status information reflects the current security status of the terminal device from multiple dimensions.
[0051] S202: Determine multiple policy groups to be selected and business scenario information corresponding to each policy group to be selected.
[0052] The candidate policy group includes multiple policy items, and the policy items are rules for executing security protection functions.
[0053] Exemplarily, taking active defense as an example, the policy item may include whether to enable active defense, or include a specific level of active defense.
[0054] Exemplarily, active defense includes but is not limited to at least one of the following: process protection, registry protection, driver protection, USB disk security protection, email protection, download protection, web page security protection, remote login protection, or network intrusion protection, etc.
[0055] Combined with the scenario examples, each business scenario has different requirements for security. For each business scenario, multiple corresponding policy items are set, and the multiple policy items meet the security requirements of the business scenario.
[0056] S203: Determine a target policy group according to the target security status information and the business scenario information corresponding to each candidate policy group.
[0057] Among them, the target security status information matches the business scenario information corresponding to the target policy group.
[0058] Exemplarily, the target security status information reflects the current security status of the terminal device, and the business scenario information reflects the business scenario in which the policy group can be used to perform security protection. The target policy group is determined based on the matching of the security status and the business scenario.
[0059] Combined with the scenario example, for example, the target security status information reflects that the current user attributes and device attributes of the terminal device have security problems respectively. The problems of user attributes and device attributes in the business scenario corresponding to the target policy group are matched with the terminal device respectively, thereby determining the target policy group.
[0060] S204: Send the target policy group to the terminal device, so that the terminal device executes multiple policy items in the target policy group to achieve security protection.
[0061] In the related art, the target policy group is determined by the user, which has the problem of low accuracy. In the present application, the target policy group is determined by the server and sent to the terminal device to avoid human errors, thereby improving the accuracy of the target policy group.
[0062] Optionally, if the target policy group is the same as the policy group last sent to the terminal device, the target policy group is not sent.
[0063] Combined with the scenario example, record the policy group sent to the terminal device each time. If the current policy group is the same as the policy group sent last time, it means that the security status of the terminal device has not changed significantly, and there is no need to send the same policy group. It can be understood that in this scenario, the number of policy groups sent can be reduced, thereby reducing the sending cost without affecting the security of the terminal device.
[0064] For example, the computing engine on the server side collects various types of current security status information of the terminal device to allocate policy items. The allocation of policy items is no longer based on simple static rules, but is dynamically determined based on security status information. The dynamic policy computing engine is continuously maintained through real-time risk multi-dimensional association and trust assessment.
[0065] In a feasible implementation, the target policy group may be sent by the following method: encapsulating multiple policy items in the target policy group into multiple software development kits respectively; and sending the multiple software development kits to the terminal device.
[0066] The Software Development Kit (SDK) is a toolkit encapsulated from independent and reusable functional modules.
[0067] Combined with the scenario example, the software development kit can be reused and can be flexibly configured according to specific business scenarios to meet specific security requirements.
[0068] In this feasible implementation, by encapsulating the software development kit, a policy group can be quickly configured according to multiple policy items, thereby improving the allocation efficiency of policy items.
[0069] The method for allocating policy items provided in the embodiment of the present application determines the target security status information of the terminal device; determines multiple policy groups to be selected and the business scenario information corresponding to each policy group to be selected, the policy group to be selected includes multiple policy items, and the policy items are rules for executing security protection functions; determines the target policy group according to the target security status information and the business scenario information corresponding to each policy group to be selected, and the target security status information matches the business scenario information corresponding to the target policy group; sends the target policy group to the terminal device so that the terminal device executes multiple policy items in the target policy group to achieve security protection. The above scheme determines the matching policy items according to the target security status information of the terminal device. Compared with the manual method, the determined policy items are more in line with the security status of the terminal device, thereby improving the security of the terminal device.
[0070] Based on any of the above embodiments, Figure 3 , the detailed process of allocating policy items is explained.
[0071] Figure 3 A flow chart of a method for allocating policy items provided in an embodiment of the present application. Figure 3 As shown, the method includes:
[0072] S301: Determine the target time.
[0073] The target time is the time when the allocation item is determined next time.
[0074] In the related art, the security status of the terminal device may change, and there is a lag problem in manually determining the policy items, that is, the manually determined policy items cannot respond to the changes in the security status in a timely manner. This application can obtain the security status information of the terminal device in a timely manner by controlling the target time.
[0075] A feasible implementation method can determine the target time by the following method: determine the historical security status information of the terminal device; determine the security level of the terminal device based on the historical security status information; adjust the preset duration according to the security level to obtain the target duration, and the target duration is used to determine the interval between two adjacent information acquisition requests; determine the target time based on the target duration.
[0076] The historical security status information is the security status information sent by the terminal device.
[0077] Optionally, the historical security status information is sorted in order from near to far from the current moment, and the terminal device security level is determined based on a preset number of historical security status information that are ranked first.
[0078] Combined with the scenario examples, the historical security status information that is ranked higher can better reflect the current security status of the terminal device, and on this basis can improve the accuracy of the security level.
[0079] Exemplarily, the higher the security level, the shorter the target duration.
[0080] Combined with the scenario example, the higher the security level, the safer the terminal device is, and the policy items do not need to be assigned frequently, so the interval between two consecutive information acquisition requests can be increased. The lower the security level, the worse the security of the terminal device is. In order to effectively implement security protection, it is necessary to frequently determine the security status of the terminal device, and correspondingly shorten the interval between two consecutive information acquisition requests.
[0081] In this feasible implementation, the target time determined according to the security level can adapt to the security state of the terminal device, thereby improving the security of the terminal device.
[0082] S302: Send an information acquisition request to the terminal device at the target time, where the information acquisition request is used to request the terminal device to send security status information.
[0083] The security status information is the current security status information of the terminal device.
[0084] Optionally, the information acquisition request includes the type of information.
[0085] Combined with the scenario example, through the type of information, the terminal device can clarify the specific content of the security status information, thereby improving the accuracy of sending the security status information.
[0086] S303: Receive target security status information sent by the terminal device.
[0087] Exemplarily, the target security status information includes the identification of the terminal device and the information time.
[0088] Combined with the scenario example, the server can allocate policy items to multiple terminal devices, and the corresponding terminal device can be accurately determined through the terminal device identification to improve the allocation accuracy. The security status information received each time can be sorted and recorded for subsequent tracing through the information time.
[0089] S304: Determine multiple policy groups to be selected and business scenario information corresponding to each policy group to be selected.
[0090] It should be noted that the execution process of S304 refers to S202 and will not be repeated here.
[0091] It is determined whether there is an intermediate policy group among the multiple candidate policy groups according to the target security status information, wherein the target security status information matches the business scenario information corresponding to the intermediate policy group.
[0092] If yes, execute S305.
[0093] If not, execute S306.
[0094] S305: Determine the target policy group according to the intermediate policy group.
[0095] Exemplarily, each candidate policy group is adapted to a corresponding security state. If there is an intermediate policy group among the multiple candidate policy groups, it means that there is a policy group that meets the security state of the terminal device among the multiple candidate policy groups, and the target policy group can be directly determined from the intermediate policy group.
[0096] Next, combine Figure 4 Determining the target policy group is described.
[0097] Figure 4 A schematic diagram of determining a target strategy group provided in an embodiment of the present application. Figure 4 As shown, target security status information is received from a terminal device. According to the target security status information, an intermediate policy group is determined from a plurality of pre-configured candidate policy groups, and a target policy group is obtained by screening from the intermediate policy group.
[0098] A feasible implementation method is to determine the target policy group based on the intermediate policy group by the following method: if the number of intermediate policy groups is 1, the intermediate policy group is determined as the target policy group; if the number of intermediate policy groups is multiple, the target policy group is determined from the intermediate policy groups according to the security level corresponding to each intermediate policy group.
[0099] Combined with the scenario example, if the number of intermediate policy groups is 1, it means that only one policy group meets the target security status information, and the intermediate policy group is determined as the target policy group. If the number of intermediate policy groups is multiple, it means that multiple policy groups meet the target security status information, and it is necessary to filter them to obtain the target policy group.
[0100] Exemplarily, the security level is determined according to the strictness of the security protection of the policy group.
[0101] Optionally, an intermediate policy group with the highest security level among the multiple intermediate groups is determined as the target policy group.
[0102] In this feasible implementation, the intermediate policy group with the highest security level, i.e., the highest degree of strictness, provides the highest security protection compared to other intermediate policy groups. Determining this intermediate policy group as the target policy group can effectively improve the security of the terminal device.
[0103] In a feasible implementation method, the method for allocating policy items also includes: determining the value range corresponding to each information in the business scenario information corresponding to each intermediate policy group; determining the target policy group based on the target security status information and the value range corresponding to each information, and each information in the target security status information is within each value range corresponding to the target policy group.
[0104] In this implementation, the target policy group is determined from the intermediate policy group according to the specific value of each information in the target security status information.
[0105] Next, combine Figure 5 Determining the target policy group is described.
[0106] Figure 5 A schematic diagram of determining a target strategy group provided in an embodiment of the present application. Figure 5 As shown, for any policy group, determine the business scenario information corresponding to the policy group. Determine multiple information included in the business scenario information, and the value range corresponding to each information. If each information in the target security status information is within the corresponding value range, then determine the policy group as the target policy group.
[0107] Combined with the scenario example, the value range is used as a value rule to determine the target policy group. For example, the information can be business attributes, organization attributes, user attributes, device attributes, or environmental attributes. The value range of business attribute information can be the range of business types or the range of business identifiers. The value range of user attribute information can be the range of user identifiers or the range of user permissions. The value range of environmental attribute information can be the range of network types or the range of network addresses.
[0108] Next, combine Figure 6 Describe the value selection rules.
[0109] Figure 6 Schematic diagram of the value selection rules provided in the embodiment of the present application. Figure 6 As shown, each information in the target security status information has a corresponding value, which can be selected through the drop-down box or directly filled in. The intermediate policy group is compared according to the selected or filled in value to obtain the target policy group.
[0110] In this feasible implementation, the target policy group determined by the value range conforms to the state corresponding to each information in the target security state information, thereby improving the accuracy of the policy items.
[0111] S306: Determine a target policy group according to the target security status information.
[0112] In combination with the scenario example, if there is no intermediate policy group among the multiple candidate policy groups, the policy group matching the terminal device is determined by the security level corresponding to the target security status information.
[0113] Optionally, a new matching policy group is generated according to the target security status information.
[0114] Optionally, the newly generated policy group is stored for subsequent policy group allocation.
[0115] A feasible implementation method can determine the target policy group according to the target security status information by the following method: determine the weight and weight of each information in the target security status information; perform weighted summation processing on the weight according to the weight to obtain the target security score of the terminal device; determine the target security level of the terminal device according to the target security score and the correspondence between the security score and the security level; determine the target policy group from multiple candidate policy groups according to the target security level, and the security level of the target policy group is the same as the target security level.
[0116] For example, each piece of information has a different degree of impact on security, and a corresponding weight is configured for each piece of information. The overall security score corresponding to the target security status information can be calculated by weighted summation. The security score reflects the security of the terminal device as a whole. The policy group that matches the security of the terminal device is determined as the target policy group.
[0117] Combined with the scenario example, taking device attributes as an example, the security of encrypted devices is higher, and the security of unencrypted devices is lower. Taking environmental attributes as an example, the security of internal networks is higher, and the security of external networks is lower.
[0118] In this feasible implementation, the security of the terminal device is determined, and the target policy group determined based on the security conforms to the security of the terminal device, thereby improving the accuracy of the target policy group.
[0119] S307: Send the target policy group to the terminal device, so that the terminal device executes multiple policy items in the target policy group to achieve security protection.
[0120] It should be noted that the execution process of S307 refers to S204 and will not be repeated here.
[0121] Figure 7 A schematic diagram of a device for allocating policy items provided in an embodiment of the present application. Figure 7 As shown, the policy item allocation device 70 may include: a determination module 71, a configuration module 72, a screening module 73 and a sending module 74, wherein:
[0122] The determination module 71 is used to determine the target security status information of the terminal device.
[0123] The configuration module 72 is used to determine multiple candidate policy groups and business scenario information corresponding to each candidate policy group. The candidate policy group includes multiple policy items, and the policy items are rules for executing security protection functions.
[0124] The screening module 73 is used to determine the target policy group according to the target security status information and the business scenario information corresponding to each candidate policy group, and the target security status information matches the business scenario information corresponding to the target policy group.
[0125] The sending module 74 is used to send the target policy group to the terminal device, so that the terminal device executes multiple policy items in the target policy group to achieve security protection.
[0126] Optionally, the determination module 71 may execute Figure 2 S201 in the embodiment.
[0127] Optionally, the configuration module 72 may execute Figure 2 S202 in the embodiment.
[0128] Optionally, the screening module 73 may perform Figure 2 S203 in the embodiment.
[0129] Optionally, the sending module 74 may execute Figure 2 S204 in the embodiment.
[0130] It should be noted that the allocation device of the policy items shown in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.
[0131] In a possible implementation manner, the determination module 71 is specifically configured to:
[0132] Determine a target time; send an information acquisition request to the terminal device at the target time, the information acquisition request is used to request the terminal device to send security status information; receive the target security status information sent by the terminal device.
[0133] In a possible implementation manner, the determination module 71 is specifically configured to:
[0134] Determine the historical security status information of the terminal device; determine the security level of the terminal device based on the historical security status information; adjust the preset duration according to the security level to obtain the target duration, which is used to determine the interval between two adjacent information acquisition requests; determine the target time based on the target duration.
[0135] Figure 8 A schematic diagram of the structure of a device for allocating policy items provided in an embodiment of the present application. Figure 7 Based on the embodiment shown, Figure 8 As shown, the policy item allocation device 80 further includes: a judgment module 75, a processing module 76, a calculation module 77 and an execution module 78, wherein:
[0136] The judging module 75 is used for:
[0137] If there is an intermediate policy group among multiple candidate policy groups, the target policy group is determined based on the intermediate policy group, and the target security status information matches the business scenario information corresponding to the intermediate policy group; if there is no intermediate policy group among multiple candidate policy groups, the target policy group is determined based on the target security status information.
[0138] In a possible implementation manner, the determination module 75 is specifically configured to:
[0139] If the number of intermediate policy groups is one, the intermediate policy group is determined as the target policy group; if the number of intermediate policy groups is multiple, the target policy group is determined from the intermediate policy groups according to the security level corresponding to each intermediate policy group.
[0140] The processing module 76 is used to:
[0141] Determine the value range corresponding to each information in the business scenario information corresponding to each intermediate policy group; determine the target policy group according to the target security status information and the value range corresponding to each information, and each information in the target security status information is within each value range corresponding to the target policy group.
[0142] The computing module 77 is used for:
[0143] Determine the weight and value of each information in the target security status information; perform weighted summation processing on the weights according to the weights to obtain a target security score for the terminal device; determine the target security level of the terminal device according to the target security score and the correspondence between the security score and the security level; determine a target policy group from multiple candidate policy groups according to the target security level, and the security level of the target policy group is the same as the target security level.
[0144] The execution module 78 is used to:
[0145] The multiple policy items in the target policy group are respectively encapsulated into multiple software development kits; and the multiple software development kits are sent to the terminal device.
[0146] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. Each module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The functions of each module. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0147] Fig. 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device may include: a transceiver 91 , a processor 92 , and a memory 93 .
[0148] The processor 92 executes the computer execution instructions stored in the memory, so that the processor 92 executes the scheme in the above embodiment. The processor 92 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0149] The memory 93 is connected to the processor 92 via a system bus and completes communication between them. The memory 93 is used to store computer program instructions.
[0150] The transceiver 91 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.
[0151] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to implement communication between the database access device and other computers (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM) and may also include a non-volatile memory. The electronic device provided in the embodiment of the present application may be a terminal device of the above embodiment.
[0152] An embodiment of the present application also provides a chip for executing instructions, which is used to execute the technical solution of the method for allocating policy items in the above embodiment.
[0153] The embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the method for allocating policy items of the above embodiment.
[0154] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the method for allocating policy items in the above embodiment.
[0155] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0156] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
[0157] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0158] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0159] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0160] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0161] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0162] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0163] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.
[0164] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for allocating policy items, characterized in that: include: Determine target security status information of terminal devices; Determine a plurality of candidate policy groups and business scenario information corresponding to each candidate policy group, wherein the candidate policy group includes a plurality of policy items, and the policy items are rules for executing a security protection function; Determine a target policy group according to the target security status information and the business scenario information corresponding to each of the candidate policy groups, wherein the target security status information matches the business scenario information corresponding to the target policy group; The target policy group is sent to the terminal device so that the terminal device executes multiple policy items in the target policy group to achieve security protection.
2. The method according to claim 1, characterized in that: Determine the target security status information of the terminal device, including: Determine the target moment; Sending an information acquisition request to the terminal device at the target time, wherein the information acquisition request is used to request the terminal device to send security status information; Receive the target security status information sent by the terminal device.
3. The method according to claim 2, characterized in that Identify target moments, including: Determining historical security status information of the terminal device; Determining the security level of the terminal device according to the historical security status information; The preset duration is adjusted according to the security level to obtain a target duration, and the target duration is used to determine the interval between two consecutive information acquisition requests; The target time is determined according to the target duration.
4. The method according to any one of claims 1 to 3, characterized in that Determining a target policy group according to the target security status information and the business scenario information corresponding to each candidate policy group includes: If there is an intermediate policy group among the multiple candidate policy groups, determining the target policy group according to the intermediate policy group, and matching the target security status information with the business scenario information corresponding to the intermediate policy group; If the intermediate policy group does not exist in the multiple candidate policy groups, the target policy group is determined according to the target security status information.
5. The method according to claim 4, characterized in that Determining the target policy group according to the intermediate policy group includes: If the number of the intermediate strategy groups is 1, the intermediate strategy group is determined as the target strategy group; If there are multiple intermediate policy groups, the target policy group is determined from the intermediate policy groups according to the security level corresponding to each intermediate policy group.
6. The method according to claim 5, characterized in that The method further comprises: Determine the value range corresponding to each piece of information in the business scenario information corresponding to each intermediate strategy group; The target policy group is determined according to the target security status information and the value range corresponding to each information, wherein each information in the target security status information is within each value range corresponding to the target policy group.
7. The method according to claim 4, characterized in that Determining the target policy group according to the target security status information includes: Determine the weight and value of each information in the target security status information; Performing weighted sum processing on the weight values according to the weights to obtain a target security score of the terminal device; Determining a target security level of the terminal device according to the target security score and the corresponding relationship between the security score and the security level; The target policy group is determined from the multiple candidate policy groups according to the target security level, and the security level of the target policy group is the same as the target security level.
8. The method according to any one of claims 1 to 7, characterized in that Sending the target policy group to the terminal device includes: Encapsulating the plurality of policy items in the target policy group into a plurality of software development kits respectively; The multiple software development kits are sent to the terminal device.
9. A device for allocating policy items, characterized in that: include: A determination module, used to determine target security status information of a terminal device; A configuration module, used to determine a plurality of candidate policy groups and business scenario information corresponding to each candidate policy group, wherein the candidate policy group includes a plurality of policy items, and the policy items are rules for executing a security protection function; A screening module, configured to determine a target policy group according to the target security status information and the business scenario information corresponding to each of the candidate policy groups, wherein the target security status information matches the business scenario information corresponding to the target policy group; The sending module is used to send the target policy group to the terminal device so that the terminal device executes multiple policy items in the target policy group to achieve security protection.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.
Citation Information
Patent Citations
Configuration method and device of security policy in network slice, equipment and medium
CN114363052A
Security policy management method and device, equipment and medium
CN115589325A
Dynamic security policy selection method and device, electronic equipment and storage medium
CN118074963A
Determining relevant security policy data based on cloud environment
US20210367980A1
Scene generation method, apparatus and system, device and storage medium
US20230339417A1
Cited By
Security protection method and device, communication equipment, medium and product
CN120281575A
Security mechanism implementation method and device of Internet of Things device, and storage medium
CN120512266A
