Search

CN-121681124-B - Multi-core server control method and system based on data security

CN121681124BCN 121681124 BCN121681124 BCN 121681124BCN-121681124-B

Abstract

The application discloses a multi-core server control method and a system based on data security, and relates to the technical field of multi-core servers, wherein the method comprises the steps of obtaining a plurality of tasks and task characteristics to be processed of the multi-core server at present, and obtaining a plurality of security requirement parameters; the method comprises the steps of obtaining processing logs of a plurality of server cores in a latest preset time range to obtain a plurality of core external interaction rates, carrying out task allocation control optimization according to a plurality of security requirement parameters and the plurality of core external interaction rates to obtain an optimal task allocation control scheme, and controlling the plurality of server cores to carry out processing of a plurality of tasks according to the optimal task allocation control scheme. The technical problems that the existing multi-core server has data leakage risk and can not reasonably distribute tasks according to task security requirements and external interaction conditions of the server core are solved.

Inventors

  • WU BO
  • FAN JIASHU

Assignees

  • 领创安达(北京)科技有限公司

Dates

Publication Date
20260508
Application Date
20251209

Claims (8)

  1. 1. The multi-core server control method based on data security is characterized by comprising the following steps: acquiring a plurality of tasks to be processed currently of a multi-core server, acquiring a plurality of task characteristics, and analyzing data security requirements to acquire a plurality of security requirement parameters; Processing logs of a plurality of server cores in the latest preset time range are obtained, interaction analysis is carried out, and a plurality of core external interaction rates are obtained; performing task allocation control optimization according to a plurality of security requirement parameters and a plurality of core external interaction rates to obtain an optimal task allocation control scheme, wherein the optimal task allocation control scheme comprises an optimal allocation relation of a plurality of tasks and a plurality of server cores by analyzing a data leakage security value and a cache attack security value of the task allocation control scheme and performing optimization; According to the optimal task allocation control scheme, controlling a plurality of server cores to process a plurality of tasks; the method for optimizing task allocation control according to the multiple security requirement parameters and the multiple core external interaction rates to obtain an optimal task allocation control scheme comprises the following steps: randomly distributing a plurality of tasks to a plurality of server cores to obtain a first task distribution control scheme; Calculating a first control fitness of the first task allocation control scheme according to a plurality of security requirement parameters and a plurality of core external interaction rates; continuing to perform iterative optimization of task allocation control, and obtaining an optimal task allocation control scheme with the maximum control fitness after convergence; according to a plurality of security requirement parameters and a plurality of core external interaction rates, calculating a first control fitness of the first task allocation control scheme comprises the following steps: According to a first distribution relation between a plurality of tasks and a plurality of server cores in a first task distribution control scheme, calculating the ratio of security requirement parameters of each task to the external interaction rate of the cores of the distributed server cores, and obtaining a plurality of first data security coefficients; Weight is distributed according to the sizes of the safety requirement parameters, and the first data safety coefficients are subjected to weighted calculation to obtain first data leakage safety values; Acquiring processing demand computing forces of a plurality of tasks and a plurality of spare computing forces of a plurality of server cores, processing to acquire a plurality of computing force occupation ratios of the plurality of server cores under a first task allocation control scheme, and selecting a maximum computing force occupation ratio as a basic first cache attack coefficient; According to the task characteristics, calculating and correcting the basic first cache attack coefficient, and processing to obtain a first cache attack safety value; and calculating to obtain a first control fitness according to the first data leakage security value and the first cache attack security value.
  2. 2. The method for controlling a multi-core server based on data security according to claim 1, wherein obtaining a plurality of tasks currently to be processed by the multi-core server, collecting a plurality of task features, and performing data security requirement analysis to obtain a plurality of security requirement parameters, comprises: acquiring a plurality of tasks to be processed currently of a multi-core server, and acquiring a plurality of task features, wherein each task feature comprises a task source and a task type; And calling a safety requirement classifier, and respectively inputting the plurality of task characteristics to obtain a plurality of safety requirement parameters.
  3. 3. The method for controlling a multi-core server based on data security according to claim 2, wherein the step of constructing the security requirement classifier includes: collecting a sample task feature set according to a server task processing record in the historical time, and marking task safety requirement parameters of different sample task features to obtain a sample safety requirement parameter set; And taking a task source and a task type as classification characteristics, and based on a decision tree, adopting the sample task characteristic set to sample a safety requirement parameter set to construct a safety requirement classifier, wherein classification nodes of the safety requirement classifier are task sources or task types, and classification results are safety requirement parameters.
  4. 4. The method for controlling a multi-core server based on data security according to claim 1, wherein obtaining processing logs of a plurality of server cores within a latest preset time range, performing interaction analysis, and obtaining a plurality of core external interaction rates, comprises: Obtaining processing logs of a plurality of server cores within a latest preset time range, wherein each processing log comprises a data source of a processing task within the latest preset time range; And processing to obtain a plurality of core external interaction rates according to external data sources in the plurality of processing logs.
  5. 5. The method of claim 4, wherein processing to obtain a plurality of core external interaction rates based on external data sources in a plurality of processing logs comprises: The method comprises the steps of calculating the duty ratio of external data sources in a plurality of processing logs as the external interaction rate of a plurality of cores, wherein the data sources are external or internal.
  6. 6. The method for controlling a multi-core server based on data security according to claim 1, wherein modifying the basic first cache attack coefficient according to a plurality of task features, processing to obtain a first cache attack security value, includes: according to the basic first cache attack coefficient, calculating to obtain a basic first cache attack security value; Calculating the repeatability of the task features as task concentration; Acquiring the average task concentration of task processing in a history event of the multi-core server; And correcting and calculating the basic first buffer attack safety value according to the ratio of the task concentration degree to the average task concentration degree to obtain a first buffer attack safety value.
  7. 7. The method for controlling a multi-core server based on data security according to claim 1, wherein controlling a plurality of server cores to perform a plurality of tasks according to the optimal task allocation control scheme comprises: and according to the optimal task allocation control scheme, a plurality of tasks are controlled to be allocated to a plurality of server cores, and task processing is performed.
  8. 8. A data security-based multi-core server control system for executing the data security-based multi-core server control method according to any one of claims 1 to 7, comprising: the information acquisition module is used for acquiring a plurality of tasks to be processed currently by the multi-core server, acquiring a plurality of task characteristics, and analyzing data security requirements to acquire a plurality of security requirement parameters; the interaction analysis module is used for acquiring processing logs of the plurality of server cores within the latest preset time range, and carrying out interaction analysis to acquire a plurality of core external interaction rates; the scheme optimizing module is used for carrying out task allocation control optimization according to a plurality of security requirement parameters and a plurality of core external interaction rates to obtain an optimal task allocation control scheme, wherein the optimal task allocation control scheme comprises an optimal allocation relation of a plurality of tasks and a plurality of server cores, and the optimal task allocation control scheme is optimized by analyzing a data leakage security value and a cache attack security value of the task allocation control scheme; And the task processing module is used for controlling the plurality of server cores to process a plurality of tasks according to the optimal task allocation control scheme.

Description

Multi-core server control method and system based on data security Technical Field The application relates to the technical field of multi-core servers, in particular to a multi-core server control method and system based on data security. Background With the development of information technology, multi-core servers are increasingly used in various fields. The multi-core server can meet the requirements of large-scale data processing and complex business by virtue of the strong computing capacity and the multi-task processing capacity. However, when the conventional multi-core server processes multiple tasks, data of different tasks may have different security requirements, and if the tasks cannot be reasonably distributed, risk of data leakage is easily caused. On the other hand, the existing multi-core server task allocation method only pays attention to the processing efficiency of the task, ignores the data security factor, and cannot reasonably allocate the task according to the security requirement of the task and the external interaction condition of the server core, so that the server has a larger data security risk in the running process. Disclosure of Invention The embodiment of the application solves the technical problems that the existing multi-core server has data leakage risk and can not reasonably distribute tasks according to the task security requirements and the external interaction condition of the server core by providing the multi-core server control method and the system based on data security. The technical scheme for solving the technical problems is as follows: In a first aspect, the present application provides a method for controlling a multi-core server based on data security, the method comprising: acquiring a plurality of tasks to be processed currently of a multi-core server, acquiring a plurality of task characteristics, and analyzing data security requirements to acquire a plurality of security requirement parameters; Processing logs of a plurality of server cores in the latest preset time range are obtained, interaction analysis is carried out, and a plurality of core external interaction rates are obtained; performing task allocation control optimization according to a plurality of security requirement parameters and a plurality of core external interaction rates to obtain an optimal task allocation control scheme, wherein the optimal task allocation control scheme comprises an optimal allocation relation of a plurality of tasks and a plurality of server cores by analyzing a data leakage security value and a buffering attack security value of the task allocation control scheme and performing optimization; And controlling the multiple server cores to process multiple tasks according to the optimal task allocation control scheme. In a second aspect, the present application provides a data security-based multi-core server control system, comprising: the information acquisition module is used for acquiring a plurality of tasks to be processed currently by the multi-core server, acquiring a plurality of task characteristics, and analyzing data security requirements to acquire a plurality of security requirement parameters; the interaction analysis module is used for acquiring processing logs of the plurality of server cores within the latest preset time range, and carrying out interaction analysis to acquire a plurality of core external interaction rates; the scheme optimizing module is used for carrying out task allocation control optimization according to a plurality of security requirement parameters and a plurality of core external interaction rates to obtain an optimal task allocation control scheme, wherein the optimal task allocation control scheme comprises an optimal allocation relation of a plurality of tasks and a plurality of server cores, and the optimal task allocation control scheme is optimized by analyzing a data leakage security value and a buffering attack security value of the task allocation control scheme; And the task processing module is used for controlling the plurality of server cores to process a plurality of tasks according to the optimal task allocation control scheme. The application provides one or more technical schemes, which at least have the following technical effects or advantages: According to the embodiment of the application, by providing the multi-core server control method and the system based on data security, firstly, the data security requirement of the multi-core server task and the external interaction condition of the server core are considered, the security requirement parameters of the task and the external interaction rate of the core are obtained, and a foundation is laid for reasonably distributing the task subsequently. And secondly, by optimizing task allocation control and analyzing the data leakage safety value and the buffer attack safety value, the data leakage risk and the buffer attack possibility can be effectively