OpenEuler operating system kernel optimization method and device, equipment and medium

By allocating openEuler operating system kernel resources according to the importance of power-specific equipment, the problem of insufficient resource allocation in traditional technology is solved, the safety, reliability and response speed of the power Internet of Things are improved, and the efficient operation of key equipment in emergency situations is ensured. .

CN119292783AActive Publication Date: 2025-01-10CHINA SOUTHERN POWER GRID COMPANY
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411494698.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-01-10
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

Insufficient allocation of core resources in the openEuler operating system in the traditional power Internet of Things leads to low response speed for important power-specific equipment in the event of failure, affecting the safety and reliability of the power system and working efficiency.

Method used

Determine the response level based on the importance of power-specific equipment, and allocate resources by comparing equipment with low response levels to ensure that critical equipment obtains sufficient openEuler operating system kernel resources to respond quickly to emergencies.

Benefits of technology

It improves the safety, reliability and response speed of the power Internet of Things, ensures efficient operation of important equipment in emergencies, and improves the working efficiency of the openEuler operating system core.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292783A_ABST
    Figure CN119292783A_ABST
Patent Text Reader

Abstract

The invention discloses an openEuler operating system kernel optimization method, an openEuler operating system kernel optimization device, openEuler operating system kernel optimization equipment and a medium. The method comprises the following steps: determining the response level of the special power equipment based on the importance degree of the special power equipment in the power internet of things, and allocating corresponding openEuler operating system kernel resources according to the response level of the special power equipment; when an emergency occurs in the power Internet of Things, determining a target power dedicated device and a reference power dedicated device corresponding to the target power dedicated device; and determining a resource allocation proportion corresponding to the reference electric power dedicated equipment, determining a reference kernel resource of the reference electric power dedicated equipment based on the resource allocation proportion corresponding to the reference electric power dedicated equipment, and allocating the reference kernel resource to the target electric power dedicated equipment to relieve an emergency occurring in the electric power Internet of Things. According to the technical scheme of the invention, the problems that the reliability of the traditional power Internet of Things is not high enough and the working efficiency of the openEuler operating system kernel is low are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric power Internet of Things, and in particular to an openEuler operating system kernel optimization method, device, equipment and medium. Background Art

[0002] The power Internet of Things realizes the interconnection between power-specific equipment, power systems and users through the Internet of Things. In actual applications, the power Internet of Things is usually divided into five-layer architecture: grid layer, perception layer, transmission layer, data layer and application layer. Therefore, there are many power-specific equipment connected to the power Internet of Things, and it is inevitable that emergency events such as failures will occur in many power-specific equipment.

[0003] When emergency events such as failures occur in power-specific equipment, more openEuler operating system kernel resources are often required to resolve the emergency events that occur in the power-specific equipment. In traditional related technical solutions, the allocation of openEuler operating system kernel resources does not fully consider the importance of power-specific equipment. Not all power-specific equipment has the same importance. Some very important power-specific equipment has emergency events such as failures, which have a great impact on the power system (for example, causing the overall paralysis of the power system), while some power-specific equipment has emergency events such as failures, which have less impact on the power system. If the openEuler operating system kernel resources are allocated according to traditional related technical solutions, when emergency events occur in very important power-specific equipment, the allocated openEuler operating system kernel resources for resolving the emergency events will be insufficient, resulting in insufficient security and reliability of the power Internet of Things. In addition, since sufficient openEuler operating system kernel resources cannot be allocated to very important power-specific equipment, the response speed of important power-specific equipment is reduced, resulting in low working efficiency of the openEuler operating system. Summary of the invention

[0004] The present invention provides an openEuler operating system kernel optimization method, device, equipment and medium to solve the problems of insufficient reliability of a traditional electric power Internet of Things and low working efficiency of the openEuler operating system kernel.

[0005] According to one aspect of the present invention, a method for optimizing the kernel of an openEuler operating system is provided, the method comprising:

[0006] Based on the importance of power-specific equipment in the power Internet of Things, the response level of the power-specific equipment is determined, and the corresponding openEuler operating system kernel resources are allocated according to the response level of the power-specific equipment; the importance is used to describe the degree of influence of the power-specific equipment in the power Internet of Things on the stable operation of the power system, and the higher the importance, the higher the corresponding response level of the power-specific equipment;

[0007] When an emergency event occurs in the electric power Internet of Things, a target electric power dedicated device and a reference electric power dedicated device corresponding to the target electric power dedicated device are determined; wherein the target electric power dedicated device is an electric power dedicated device in the electric power Internet of Things corresponding to the emergency event, and the reference electric power dedicated device is an electric power dedicated device having a response level lower than that of the reference electric power dedicated device by at least one response level;

[0008] Determine the resource allocation ratio corresponding to the reference power-dedicated device, determine the reference kernel resources of the reference power-dedicated device based on the resource allocation ratio corresponding to the reference power-dedicated device, and allocate the reference kernel resources to the target power-dedicated device to resolve the emergency events occurring in the power Internet of Things; the reference kernel resources are the product of the resource allocation ratio corresponding to the reference power-dedicated device and the openEuler operating system kernel resources of the reference power-dedicated device.

[0009] According to another aspect of the present invention, there is provided an openEuler operating system kernel optimization device, the device comprising:

[0010] A resource allocation module is used to determine the response level of the power-specific equipment based on the importance of the power-specific equipment in the power Internet of Things, and allocate corresponding openEuler operating system kernel resources according to the response level of the power-specific equipment; the importance is used to describe the influence of the power-specific equipment in the power Internet of Things on the stable operation of the power system, and the higher the importance, the higher the corresponding response level of the power-specific equipment;

[0011] A device determination module, used for determining a target power-specific device and a reference power-specific device corresponding to the target power-specific device when an emergency event occurs in the power Internet of Things; wherein the target power-specific device is a power-specific device in the power Internet of Things corresponding to the emergency event, and the reference power-specific device is a power-specific device having a response level lower than that of the reference power-specific device by at least one response level;

[0012] A resource calling module is used to determine the resource allocation ratio corresponding to the reference power-dedicated device, determine the reference kernel resources of the reference power-dedicated device based on the resource allocation ratio corresponding to the reference power-dedicated device, and allocate the reference kernel resources to the target power-dedicated device to resolve the emergency events occurring in the power Internet of Things; the reference kernel resources are the product of the resource allocation ratio corresponding to the reference power-dedicated device and the openEuler operating system kernel resources of the reference power-dedicated device.

[0013] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the openEuler operating system kernel optimization method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the openEuler operating system kernel optimization method described in any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present invention, the importance is used to describe the degree of influence of the power-specific equipment in the power Internet of Things on the stable operation of the power system. The higher the importance of the power-specific equipment, the higher the corresponding response level. Based on the importance of the power-specific equipment in the power Internet of Things, the response level of the power-specific equipment is determined, and the corresponding openEuler operating system kernel resources are allocated according to the response level of the power-specific equipment. That is, the present invention allocates more openEuler operating system kernel resources to the power-specific equipment with higher importance, thereby ensuring the high reliability of the power Internet of Things. The target power-specific equipment is the power-specific equipment in the power Internet of Things corresponding to the emergency event, and the reference power-specific equipment is the power-specific equipment with at least one response level lower than the response level of the reference power-specific equipment. When an emergency event occurs in the power Internet of Things, the target power-specific equipment and the reference power-specific equipment corresponding to the target power-specific equipment are determined, and the resource allocation ratio corresponding to the reference power-specific equipment is further determined. The reference kernel resources of the reference power-specific equipment are determined based on the resource allocation ratio corresponding to the reference power-specific equipment, and the reference kernel resources are allocated to the target power-specific equipment to resolve the emergency event in the power Internet of Things, ensuring that more openEuler operating system kernel resources respond to the emergency event, thereby accelerating the response speed of the power Internet of Things, and making the openEuler operating system kernel work efficiency very high.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a flowchart of an openEuler operating system kernel optimization method provided according to an embodiment of the present invention;

[0022] Figure 2 is a flowchart of another openEuler operating system kernel optimization method provided according to an embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of the structure of an openEuler operating system kernel optimization device provided according to an embodiment of the present invention;

[0024] Figure 4 It is a structural schematic diagram of an electronic device for implementing the openEuler operating system kernel optimization method of an embodiment of the present invention provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", "third", "reference", "target", "candidate", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] Embodiment 1

[0028] Figure 1 A flowchart of an openEuler operating system kernel optimization method provided for an embodiment of the present invention. This embodiment can be applied to the situation where openEuler operating system kernel resources are reasonably allocated when an emergency occurs in the power Internet of Things. The method can be executed by an openEuler operating system kernel optimization device. The openEuler operating system kernel optimization device can be implemented in the form of hardware and / or software. The openEuler operating system kernel optimization device can be configured in any electronic device with network communication function.

[0029] like Figure 1 As shown, the openEuler operating system kernel optimization method of the present invention includes the following process:

[0030] S110. Based on the importance of power-specific equipment in the power Internet of Things, determine the response level of the power-specific equipment, and allocate corresponding openEuler operating system kernel resources according to the response level of the power-specific equipment; the importance is used to describe the impact of power-specific equipment in the power Internet of Things on the stable operation of the power system. The higher the importance, the higher the corresponding response level of the power-specific equipment.

[0031] The power Internet of Things of the present invention is a smart service system that fully utilizes modern information technologies such as mobile Internet and artificial intelligence, and advanced communication technologies around all aspects of the power system to achieve interconnection of all things and human-machine interaction in all aspects of the power system, and has the characteristics of comprehensive state perception, efficient information processing, and convenient and flexible application. The development of the power Internet of Things is of great significance to improving the safety, reliability, economy and sustainability of the power system. It can realize real-time monitoring and fault diagnosis of power equipment, improve the reliability and service life of equipment, optimize the operation and dispatch of the power system, improve energy utilization efficiency, and provide users with more convenient and efficient power services to meet the diverse needs of users.

[0032] Specifically, in response to the input instruction, the openEuler operating system kernel resources of the power-specific equipment in the power Internet of Things can be allocated according to the parsed input instruction. The response level of the power-specific equipment is obtained, and the openEuler operating system kernel resources are allocated according to the response level. The amount of openEuler operating system kernel resources allocated to the power-specific equipment corresponds to the response level of the power-specific equipment.

[0033] The importance of the power-specific equipment of the present invention in the power Internet of Things can be referred to in the following aspects:

[0034] 1. Impact on the safe and stable operation of the power system.

[0035] Severity of the consequences of the failure: If the equipment failure may lead to large-scale power outages, grid disconnection, equipment damage, or even endanger personal safety, then its importance is high. For example, a main transformer failure may cause a power outage in a region, causing a major impact on social production and life.

[0036] Reliability requirements: Some equipment requires extremely high reliability to ensure the continuous and stable operation of the power system. For example, relay protection devices must operate accurately and quickly, otherwise the fault may expand and affect the safety of the entire power grid.

[0037] 2. Key role in electricity production and transmission.

[0038] Functional irreplaceability: Some equipment plays a key and irreplaceable role in the production, transmission, and distribution of electricity. For example, high-voltage circuit breakers are used to open and close power lines and are important control equipment to ensure the safe operation of the power grid. There is no suitable substitute.

[0039] Core tasks undertaken: For example, power generation equipment directly generates electricity, and transmission lines are responsible for transmitting electricity from power plants to load centers. These devices undertake the core tasks of the power system and are of high importance.

[0040] 3. Contribution to data collection and interaction of power Internet of Things.

[0041] Importance of data collection: Some devices can provide key operating data, such as smart meters that can collect users' electricity consumption information in real time, providing an important basis for power demand management and grid optimization; sensors can monitor the operating status of power equipment and detect potential faults in a timely manner. These devices are crucial to data analysis and decision-making in the power Internet of Things and are of high importance.

[0042] Communication and interaction capabilities: Devices with good communication and interaction capabilities can efficiently transmit data and work together with other devices and systems, improving the overall performance of the power Internet of Things. For example, smart terminal devices can achieve remote control and monitoring, which is of great significance for realizing the intelligent management of power systems.

[0043] In this embodiment, optionally, when new power-specific equipment is connected to the power Internet of Things, the response levels of the power-specific equipment in the power Internet of Things are re-divided, and the openEuler operating system kernel resources are reallocated according to the re-divided response levels.

[0044] S120. When an emergency occurs in the electric power Internet of Things, determine the target electric power equipment and the reference electric power equipment corresponding to the target electric power equipment; wherein the target electric power equipment is the electric power equipment in the electric power Internet of Things corresponding to the emergency, and the reference electric power equipment is the electric power equipment having a response level at least one lower than that of the reference electric power equipment.

[0045] In the electric power Internet of Things of the present invention, an emergency event may refer to an unexpected situation that poses a serious threat to or has had a significant impact on the safe and stable operation of the power system, reliable power supply, and normal power consumption of users.

[0046] Specifically, determining the target special-purpose power equipment includes: obtaining equipment operation abnormality data when an emergency event occurs in the power Internet of Things, and determining the target special-purpose power equipment based on the equipment operation abnormality data; the equipment operation abnormality data at least includes a data abnormality category, a special-purpose power equipment code and a special-purpose power equipment model.

[0047] S130. Determine the resource allocation ratio corresponding to the reference power-dedicated equipment, determine the reference kernel resources of the reference power-dedicated equipment based on the resource allocation ratio corresponding to the reference power-dedicated equipment, and allocate the reference kernel resources to the target power-dedicated equipment to resolve emergencies occurring in the power Internet of Things; the reference kernel resources are the product of the resource allocation ratio corresponding to the reference power-dedicated equipment and the openEuler operating system kernel resources of the reference power-dedicated equipment.

[0048] Specifically, the resource allocation ratio is used to describe the ratio of resources called from the openEuler operating system kernel resources of the power-specific equipment. The resource allocation ratio corresponding to the reference power-specific equipment can be determined by the following formula:

[0049]

[0050] Among them, P min It represents the minimum value of the openEuler operating system kernel resources required for the power-specific equipment to maintain basic operation, P represents the openEuler operating system kernel resources allocated to the power-specific equipment, and K represents the resource allocation ratio.

[0051] Furthermore, there is a resource allocation correspondence between the resource allocation ratio corresponding to the reference power dedicated equipment and the reference core resources; after determining the resource allocation ratio corresponding to the reference power dedicated equipment, the reference core resources of the reference power dedicated equipment can be searched from the resource allocation correspondence based on the resource allocation ratio corresponding to the reference power dedicated equipment.

[0052] In this embodiment, optionally, after resolving the emergency event occurring in the electric power Internet of Things, the openEuler operating system kernel optimization method includes: obtaining resource information of reference kernel resources in resolving the emergency event occurring in the electric power Internet of Things, determining an emergency plan corresponding to the emergency event based on the resource information, so that when the emergency event occurs again, the emergency plan corresponding to the emergency event is automatically called; wherein the resource information includes at least reference power-specific equipment and the resource allocation ratio corresponding to the reference power-specific equipment, and the emergency plan is the matching relationship between the emergency event and the resource information.

[0053] Specifically, when an emergency situation of a circuit breaker occurs in a special power equipment with a response level of three, the openEuler operating system will dispatch the resources of the special power equipment with a response level of two for the special power equipment with a response level of three, and then give the dispatched resources to the special power equipment with a response level of three to resolve the emergency situation of the circuit breaker occurs in the special power equipment with a response level of three, and collect the proportion of resources of the special power equipment with a response level of two that were dispatched in the process of resolving the emergency situation of the circuit breaker occurs in the special power equipment with a response level of three. For example, in the process of resolving the emergency situation of the circuit breaker occurs in the special power equipment with a response level of three, a total of 80% of the resources of the special power equipment with a response level of two were dispatched, then 80% of the resources from the special power equipment with a response level of two were dispatched to the special power equipment with a response level of three as an emergency plan to resolve the emergency situation of the circuit breaker occurs in the special power equipment with a response level of three, to ensure that the special power equipment with a response level of three, which is more important than the special power equipment with a response level of two, has sufficient resources to deal with the emergency when encountering an emergency, thereby providing strong guarantee for the stable operation of the power system.

[0054] This embodiment obtains resource information of reference kernel resources for resolving emergency events occurring in the electric power Internet of Things, and determines the emergency plan corresponding to the emergency event based on the resource information, thereby facilitating automatic calling of the emergency plan corresponding to the emergency event when the emergency event occurs again, thereby saving the computing time of the openEuler operating system and further improving the working efficiency of the openEuler operating system kernel.

[0055] The technical solution of the embodiment of the present invention, the importance is used to describe the degree of influence of the power-specific equipment in the power Internet of Things on the stable operation of the power system. The higher the importance of the power-specific equipment, the higher the corresponding response level. Based on the importance of the power-specific equipment in the power Internet of Things, the response level of the power-specific equipment is determined, and the corresponding openEuler operating system kernel resources are allocated according to the response level of the power-specific equipment. That is, the present invention allocates more openEuler operating system kernel resources to the power-specific equipment with higher importance, thereby ensuring the high reliability of the power Internet of Things. The target power-specific equipment is the power-specific equipment in the power Internet of Things corresponding to the emergency event, and the reference power-specific equipment is the power-specific equipment with at least one response level lower than the response level of the reference power-specific equipment. When an emergency event occurs in the power Internet of Things, the target power-specific equipment and the reference power-specific equipment corresponding to the target power-specific equipment are determined, and the resource allocation ratio corresponding to the reference power-specific equipment is further determined. The reference kernel resources of the reference power-specific equipment are determined based on the resource allocation ratio corresponding to the reference power-specific equipment, and the reference kernel resources are allocated to the target power-specific equipment to resolve the emergency event in the power Internet of Things, ensuring that more openEuler operating system kernel resources respond to the emergency event, thereby accelerating the response speed of the power Internet of Things, and making the openEuler operating system kernel work efficiency very high.

[0056] Embodiment 2

[0057] Figure 2 A flowchart of another openEuler operating system kernel optimization method provided for an embodiment of the present invention. The technical solution of this embodiment further optimizes the process of referring to kernel resource calls in the aforementioned embodiment on the basis of the above embodiment. This embodiment can be combined with various optional solutions in one or more of the above embodiments.

[0058] like Figure 2 As shown, the openEuler operating system kernel optimization method of the present invention includes the following process:

[0059] S210. Based on the importance of power-specific equipment in the power Internet of Things, determine the response level of the power-specific equipment, and allocate corresponding openEuler operating system kernel resources according to the response level of the power-specific equipment; the importance is used to describe the impact of power-specific equipment in the power Internet of Things on the stable operation of the power system. The higher the importance, the higher the response level of the corresponding power-specific equipment.

[0060] S220. When an emergency occurs in the electric power Internet of Things, determine the target electric power equipment and the reference electric power equipment corresponding to the target electric power equipment; wherein the target electric power equipment is the electric power equipment in the electric power Internet of Things corresponding to the emergency, and the reference electric power equipment is the electric power equipment having a response level at least one lower than that of the reference electric power equipment.

[0061] S230. Determine the resource allocation ratio corresponding to each dedicated power device, determine the candidate kernel resources of each dedicated power device based on the resource allocation ratio, and take the sum of the candidate kernel resources of each dedicated power device as the second kernel resource amount; the candidate kernel resources are the product of the resource allocation ratio corresponding to the dedicated power device and the openEuler operating system kernel resources of the reference dedicated power device.

[0062] Specifically, the second core resource amount E can be expressed by the following formula:

[0063]

[0064] Among them, μ n is the resource allocation ratio, R n It represents the openEuler operating system kernel resources corresponding to the power-dedicated equipment at the nth level of response. N represents the response level of the power-dedicated equipment in the event of an emergency. n is a positive integer, 1≤n≤N.

[0065] Accordingly, the resource allocation ratio corresponding to each power-specific equipment is determined, including: using the following formula:

[0066]

[0067] Among them, P min It represents the minimum value of the openEuler operating system kernel resources required for the power-specific equipment to maintain basic operation, P represents the openEuler operating system kernel resources allocated to the power-specific equipment, and K represents the resource allocation ratio.

[0068] S240: Determine the amount of first kernel resources required to resolve the emergency event, and determine whether the amount of the first kernel resources is greater than the amount of the second kernel resources.

[0069] The amount of first core resources required to resolve the emergency is determined according to the amount of resources required for the target power-dedicated equipment to return to normal.

[0070] S250: If the first core resource amount is greater than the second core resource amount, a warning signal is issued.

[0071] Specifically, if the first kernel resource amount δ is greater than the second kernel resource amount E, it is determined that the amount of openEuler operating system kernel resources required to resolve the emergency exceeds the total amount of openEuler operating system kernel resources dispatched from all response-level power-specific devices in the power Internet of Things, that is, An early warning signal needs to be issued to alert staff.

[0072] S260. If the amount of the first kernel resources is less than or equal to the amount of the second kernel resources, the reference kernel resources of the reference power dedicated equipment are determined based on the resource allocation ratio corresponding to the reference power dedicated equipment, and the reference kernel resources are allocated to the target power dedicated equipment to resolve the emergency events occurring in the power Internet of Things.

[0073] In this embodiment, optionally, the openEuler operating system kernel optimization method includes: obtaining the data change amplitude of the power Internet of Things operating data in the process of resolving emergency events occurring in the power Internet of Things; evaluating the security level of the openEuler operating system kernel based on the data change amplitude; there is a correlation between the security level and the data change amplitude, the smaller the data change amplitude, the higher the security level, and the data change amplitude is used to describe the proportion of the changed operating data in the power Internet of Things operating data to the total operating data.

[0074] Specifically, the security level may include a first security level, a second security level and a third security level. The first security level is higher than the second security level, and the second security level is higher than the third security level. The first preset value is greater than the second preset value, and the second preset value is greater than the third preset value. The first preset value, the second preset value and the third preset value can be set according to the actual situation of the power Internet of Things. For example, the first preset value is 3 / 5, the second preset value is 2 / 5, and the third preset value is 1 / 5.

[0075] Correspondingly, the security level of the openEuler operating system kernel is evaluated according to the amplitude of data change, including: when the amplitude of data change is greater than the first preset value, the security level of the openEuler operating system kernel is the third security level; when the amplitude of data change is greater than the second preset value, the security level of the openEuler operating system kernel is the second security level; when the amplitude of data change is greater than the third preset value, the security level of the openEuler operating system kernel is the first security level.

[0076] In this embodiment, in the process of resolving emergency events occurring in the electric power Internet of Things, the security level of the openEuler operating system kernel is evaluated according to the amplitude of data changes, thereby providing strong protection for the security performance of the openEuler operating system scheduling kernel.

[0077] The technical solution of the embodiment of the present invention determines the response level of the power-specific equipment based on the importance of the power-specific equipment in the power Internet of Things, and allocates the corresponding openEuler operating system kernel resources according to the response level of the power-specific equipment; when an emergency occurs in the power Internet of Things, the target power-specific equipment and the reference power-specific equipment corresponding to the target power-specific equipment are determined. Further determine the resource allocation ratio corresponding to each power-specific equipment, determine the candidate kernel resources of each power-specific equipment based on the resource allocation ratio, take the sum of the candidate kernel resources of each power-specific equipment as the second kernel resource amount, and at the same time determine the first kernel resource amount required to resolve the emergency, and further judge whether the first kernel resource amount is greater than the second kernel resource amount, so as to determine whether the emergency can be resolved by dividing the reference kernel resources of the reference power-specific equipment, thereby improving the work efficiency of the openEuler operating system kernel.

[0078] Embodiment 3

[0079] Figure 3 A structural schematic diagram of an openEuler operating system kernel optimization device provided for an embodiment of the present invention. This embodiment can be applied to the situation where openEuler operating system kernel resources are reasonably allocated when an emergency occurs in the power Internet of Things. The openEuler operating system kernel optimization device can be implemented in the form of hardware and / or software. The openEuler operating system kernel optimization device can be configured in any electronic device with network communication function.

[0080] like Figure 3 As shown, the openEuler operating system kernel optimization device of the present invention includes:

[0081] The resource allocation module 310 is used to determine the response level of the power-specific equipment based on the importance of the power-specific equipment in the power Internet of Things, and allocate corresponding openEuler operating system kernel resources according to the response level of the power-specific equipment; the importance is used to describe the influence of the power-specific equipment in the power Internet of Things on the stable operation of the power system, and the higher the importance, the higher the corresponding response level of the power-specific equipment;

[0082] The device determination module 320 is used to determine the target power-specific device and the reference power-specific device corresponding to the target power-specific device when an emergency event occurs in the power Internet of Things; wherein the target power-specific device is the power-specific device in the power Internet of Things corresponding to the emergency event, and the reference power-specific device is the power-specific device whose response level is at least one level lower than that of the reference power-specific device;

[0083] The resource calling module 330 is used to determine the resource allocation ratio corresponding to the reference power-dedicated device, determine the reference kernel resources of the reference power-dedicated device based on the resource allocation ratio corresponding to the reference power-dedicated device, and allocate the reference kernel resources to the target power-dedicated device to resolve the emergency events occurring in the power Internet of Things; the reference kernel resources are the product of the resource allocation ratio corresponding to the reference power-dedicated device and the openEuler operating system kernel resources of the reference power-dedicated device.

[0084] Based on the above embodiments, optionally, the resource calling module includes a judgment unit, which is used to determine the resource allocation ratio corresponding to each of the dedicated power devices, determine the candidate kernel resources of each of the dedicated power devices based on the resource allocation ratio, and take the sum of the candidate kernel resources of each of the dedicated power devices as the second kernel resource amount; the candidate kernel resources are the product of the resource allocation ratio corresponding to the dedicated power device and the openEuler operating system kernel resources of the reference dedicated power device; determine the first kernel resource amount required to resolve the emergency event, and determine whether the first kernel resource amount is greater than the second kernel resource amount; if the first kernel resource amount is greater than the second kernel resource amount, issue a warning signal; if the first kernel resource amount is less than or equal to the second kernel resource amount, determine the reference kernel resources of the reference dedicated power device based on the resource allocation ratio corresponding to the reference dedicated power device, and allocate the reference kernel resources to the target dedicated power device.

[0085] On the basis of the above embodiment, optionally, determining the resource allocation ratio corresponding to each of the power-specific devices includes: expressing it by the following formula:

[0086]

[0087] Among them, P min It represents the minimum value of the openEuler operating system kernel resources required for the power-specific equipment to maintain basic operation, P represents the openEuler operating system kernel resources allocated to the power-specific equipment, and K represents the resource allocation ratio.

[0088] Based on the above embodiment, optionally, the equipment determination module includes a target power-specific equipment determination unit, which is used to: obtain equipment operation abnormality data when an emergency occurs in the power Internet of Things, and determine the target power-specific equipment based on the equipment operation abnormality data; the equipment operation abnormality data at least includes a data abnormality category, a power-specific equipment code and a power-specific equipment model.

[0089] On the basis of the above embodiment, optionally, the resource calling module also includes a solution generating unit, which is used to: obtain resource information of the reference kernel resources in resolving the emergency event occurring in the electric power Internet of Things, determine the emergency plan corresponding to the emergency event according to the resource information, so as to automatically call the emergency plan corresponding to the emergency event when the emergency event occurs again; wherein, the resource information includes at least the reference power-specific equipment and the resource allocation ratio corresponding to the reference power-specific equipment, and the emergency plan is the matching relationship between the emergency event and the resource information.

[0090] Based on the above embodiment, optionally, the device further includes:

[0091] A data acquisition unit, used for acquiring the data change amplitude of the operation data of the power Internet of Things in the process of resolving the emergency event occurring in the power Internet of Things;

[0092] A security level determination unit is used to evaluate the security level of the openEuler operating system kernel according to the data change amplitude; there is a correlation between the security level and the data change amplitude, the smaller the data change amplitude, the higher the security level, and the data change amplitude is used to describe the proportion of the changed operating data in the power Internet of Things operating data to the total operating data.

[0093] Based on the above embodiment, optionally, the security level includes a first security level, a second security level and a third security level, the first security level is higher than the second security level, and the second security level is higher than the third security level;

[0094] Correspondingly, the security level determination unit is also used for: when the data change amplitude is greater than the first preset value, the security level of the openEuler operating system kernel is the third security level; when the data change amplitude is greater than the second preset value, the security level of the openEuler operating system kernel is the second security level; when the data change amplitude is greater than the third preset value, the security level of the openEuler operating system kernel is the first security level; the first preset value is greater than the second preset value, and the second preset value is greater than the third preset value.

[0095] The openEuler operating system kernel optimization device provided in an embodiment of the present invention can execute the openEuler operating system kernel optimization method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0096] Embodiment 4

[0097] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0098] Figure 4 The structural schematic diagram of the electronic device that can be used to implement the openEuler operating system kernel optimization method of an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0099] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0100] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0101] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the openEuler operating system kernel optimization method.

[0102] In some embodiments, the openEuler operating system kernel optimization method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the openEuler operating system kernel optimization method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the openEuler operating system kernel optimization method by any other appropriate means (e.g., by means of firmware).

[0103] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0104] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0105] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0106] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0107] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0108] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0109] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0110] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for optimizing the kernel of an openEuler operating system, characterized in that: The method comprises: Based on the importance of power-specific equipment in the power Internet of Things, the response level of the power-specific equipment is determined, and the corresponding openEuler operating system kernel resources are allocated according to the response level of the power-specific equipment; the importance is used to describe the degree of influence of the power-specific equipment in the power Internet of Things on the stable operation of the power system, and the higher the importance, the higher the corresponding response level of the power-specific equipment; When an emergency event occurs in the electric power Internet of Things, a target electric power dedicated device and a reference electric power dedicated device corresponding to the target electric power dedicated device are determined; wherein the target electric power dedicated device is an electric power dedicated device in the electric power Internet of Things corresponding to the emergency event, and the reference electric power dedicated device is an electric power dedicated device having a response level lower than that of the reference electric power dedicated device by at least one response level; Determine the resource allocation ratio corresponding to the reference power-dedicated device, determine the reference kernel resources of the reference power-dedicated device based on the resource allocation ratio corresponding to the reference power-dedicated device, and allocate the reference kernel resources to the target power-dedicated device to resolve the emergency events occurring in the power Internet of Things; the reference kernel resources are the product of the resource allocation ratio corresponding to the reference power-dedicated device and the openEuler operating system kernel resources of the reference power-dedicated device.

2. The method according to claim 1, characterized in that Determining a reference kernel resource of the reference power dedicated device based on a resource allocation ratio corresponding to the reference power dedicated device, and before allocating the reference kernel resource to the target power dedicated device, the method includes: Determine the resource allocation ratio corresponding to each of the power-specific devices, determine the candidate kernel resources of each of the power-specific devices based on the resource allocation ratio, and use the sum of the candidate kernel resources of each of the power-specific devices as the second kernel resource amount; the candidate kernel resources are the product of the resource allocation ratio corresponding to the power-specific device and the openEuler operating system kernel resources of the reference power-specific device; determining an amount of first kernel resources required to resolve the emergency event, and determining whether the amount of the first kernel resources is greater than the amount of the second kernel resources; If the amount of the first core resource is greater than the amount of the second core resource, issuing a warning signal; If the first kernel resource amount is less than or equal to the second kernel resource amount, the reference kernel resources of the reference power dedicated device are determined based on the resource allocation ratio corresponding to the reference power dedicated device, and the reference kernel resources are allocated to the target power dedicated device.

3. The method according to claim 2, characterized in that Determining the resource allocation ratio corresponding to each of the power-specific equipment includes: It is expressed by the following formula: Among them, P min It represents the minimum value of the openEuler operating system kernel resources required for the power-specific equipment to maintain basic operation, P represents the openEuler operating system kernel resources allocated to the power-specific equipment, and K represents the resource allocation ratio.

4. The method according to claim 1, characterized in that: Identify target power-specific equipment, including: Acquire equipment operation abnormality data when an emergency event occurs in the power Internet of Things, and determine the target power-specific equipment based on the equipment operation abnormality data; the equipment operation abnormality data at least includes a data abnormality category, a power-specific equipment code, and a power-specific equipment model.

5. The method according to claim 1, characterized in that After the emergency event occurring in the electric power Internet of Things is resolved, the method includes: Obtain resource information of the reference kernel resources for resolving an emergency event occurring in the electric power Internet of Things, and determine a contingency plan corresponding to the emergency event based on the resource information, so as to automatically call the contingency plan corresponding to the emergency event when the emergency event occurs again; wherein the resource information at least includes reference power-specific equipment and the resource allocation ratio corresponding to the reference power-specific equipment, and the contingency plan is a matching relationship between the emergency event and the resource information.

6. The method according to claim 1, characterized in that The method comprises: In the process of resolving the emergency event occurring in the electric power Internet of Things, obtaining the data change amplitude of the operating data of the electric power Internet of Things; The security level of the openEuler operating system kernel is evaluated based on the data change amplitude. There is a correlation between the security level and the data change amplitude. The smaller the data change amplitude, the higher the security level. The data change amplitude is used to describe the proportion of the changed operating data in the power Internet of Things operating data to the total operating data.

7. The method according to claim 6, characterized in that The security level includes a first security level, a second security level and a third security level, the first security level is higher than the second security level, and the second security level is higher than the third security level; Accordingly, evaluating the security level of the openEuler operating system kernel according to the data change amplitude includes: When the data change amplitude is greater than the first preset value, the security level of the openEuler operating system kernel is the third security level; When the data change amplitude is greater than a second preset value, the security level of the openEuler operating system kernel is the second security level; When the data change amplitude is greater than the third preset value, the security level of the openEuler operating system kernel is the first security level; the first preset value is greater than the second preset value, and the second preset value is greater than the third preset value.

8. An openEuler operating system kernel optimization device, characterized in that: The device comprises: A resource allocation module is used to determine the response level of the power-specific equipment based on the importance of the power-specific equipment in the power Internet of Things, and allocate corresponding openEuler operating system kernel resources according to the response level of the power-specific equipment; the importance is used to describe the influence of the power-specific equipment in the power Internet of Things on the stable operation of the power system, and the higher the importance, the higher the corresponding response level of the power-specific equipment; A device determination module, used for determining a target power-specific device and a reference power-specific device corresponding to the target power-specific device when an emergency event occurs in the power Internet of Things; wherein the target power-specific device is a power-specific device in the power Internet of Things corresponding to the emergency event, and the reference power-specific device is a power-specific device having a response level lower than that of the reference power-specific device by at least one response level; A resource calling module is used to determine the resource allocation ratio corresponding to the reference power-dedicated device, determine the reference kernel resources of the reference power-dedicated device based on the resource allocation ratio corresponding to the reference power-dedicated device, and allocate the reference kernel resources to the target power-dedicated device to resolve the emergency events occurring in the power Internet of Things; the reference kernel resources are the product of the resource allocation ratio corresponding to the reference power-dedicated device and the openEuler operating system kernel resources of the reference power-dedicated device.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the openEuler operating system kernel optimization method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the openEuler operating system kernel optimization method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Resource dispatching apparatus, mobile terminal and resource dispatching method

    CN106066813A

  • System calling method, terminal and computer readable storage medium

    CN109947298A

  • Method for supporting access to multiple power terminals, unit node and power Internet of Things

    CN112583941A

  • Automatic synchronization method for core parameters among different Linux operating systems

    CN115408070A

  • Task response method, device and equipment under microkernel operating system

    CN117149402A