A method for automatically building a resource pool in a cloud operating system
Through the automatic construction method of designing the resource pool in the cloud operation system, the problem of time -consuming, errors, lack of security and compatibility in the existing technology, the rapid deployment and management of resources, enhanced the security of the system, and enhanced system security Compatibility has improved the efficiency and automation of cloud resource management.
Patent Information
- Application Number
- CN202411519614.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-29
AI Technical Summary
Existing cloud computing resource management technologies rely on manual configuration and script automation, which are time-consuming and labor-intensive, error-prone, and lack security and compatibility, making it difficult to quickly respond to changes in business needs and adapt to different hardware platforms.
The automatic construction method of the resource pool in the cloud operation system is designed, including the construction of the resource pool node, the initialization and security control of the micro system, the local sector cache and the data pointer application, the development of network sector transmission protocol, the hardware layer data anti -leakage system construction construction , Multi -core multi -format compatibility platform implementation and the backup and recovery mechanism of key data.
It achieves rapid deployment and management of resources, enhances system security and compatibility, reduces network bandwidth occupation and management terminal computer performance requirements, and improves the efficiency and automation level of cloud resource management.
Smart Images

Figure CN119030986B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of resource pool construction, and in particular to a method for automatically constructing a resource pool in a cloud operating system. Background Art
[0002] In the field of modern computing technology, cloud computing has become an important way for enterprises and individual users to obtain computing resources. The core advantages of cloud computing lie in its centralized resource management, on-demand allocation and elastic scalability, which enable users to use computing resources efficiently and economically. With the popularization and development of cloud computing models, how to efficiently manage and automatically build resource pools in cloud operating systems has become a key challenge. Existing cloud resource management technologies usually rely on manual configuration and script automation, which are not only time-consuming and labor-intensive, but also prone to errors and difficult to adapt to rapidly changing and expanding needs. For example, system administrators need to manually install operating systems and applications for different virtual machines. This process cannot quickly respond to changes in business needs, and compatibility issues on different hardware platforms often lead to increased complexity in resource configuration. In addition, existing resource management solutions often lack sufficient security considerations. Traditional resource management tools have limited protection capabilities against malware such as viruses and Trojans during data transmission and storage. Once the server-side system is infected by a virus, the security of PIM files is difficult to guarantee. At the same time, the occupation of network bandwidth during data transmission and storage and the requirements for the performance of management terminal computers are also problems that need to be solved in the existing technology. In this context, it is particularly necessary to develop a new method for automatically building cloud operating system resource pools. This method needs to be able to automatically capture, store and transmit the information system environment to the server side, and realize the rapid deployment and management of resources. At the same time, the method also needs to ensure the safe transmission and storage of data, reduce the occupation of network bandwidth, reduce the impact on the performance of the management terminal computer, and improve the efficiency and automation level of the entire cloud resource management. The present invention is proposed in such a technical demand and market background to solve the various deficiencies in the prior art.
[0003] For example, the Chinese patent with the authorization announcement number CN105208093B discloses a system for building a computing resource pool in a cloud operating system, including: an automatic deployment and configuration module of the operating system, which is used to use the media access control MAC address of the computing node to build the operating system and deploy services by building the operating system; a software automatic deployment and configuration module, which is used to deploy software corresponding to the needs of the computing resource pool and complete software configuration according to the needs of the computing resource pool; an automatic construction module of the computing resource pool, which is used to complete the creation or update of the computing resource pool according to the network address of the cloud operating system and the information of the computing resource pool. This invention improves the operation and maintenance efficiency of the cloud data center and reduces the operation and maintenance costs.
[0004] The above patents all have the problem raised by this background technology: they cannot realize the rapid deployment and management of resources. To solve the above problem, this application designs a method for automatically building a resource pool in a cloud operating system. Summary of the invention
[0005] The technical problem to be solved by the present invention is to address the deficiencies of the prior art and provide a method for automatically building a resource pool in a cloud operating system, including the construction of resource pool nodes, initialization and security control of microsystems, application of local sector cache and data pointers, development of network sector transmission protocols, construction of a hardware layer data leakage prevention system, implementation of a multi-core multi-format compatible platform, and a backup and recovery mechanism for key data. This integrated solution optimizes resource deployment and management and enhances system security and compatibility.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A method for automatically building a resource pool in a cloud operating system, comprising:
[0008] The information system environment of the terminal computer is captured through the terminal program, the resource type of the information system environment is determined, and stored in the server side in a custom PIM file format;
[0009] The PIM files are stored in a structured manner on the server side to form a tree node of a resource pool;
[0010] When the terminal device requests the server to configure the information system environment, the server automatically retrieves the matching resource pool node and transmits the corresponding PIM file to the terminal device;
[0011] Initialize the microsystem at the terminal device, the microsystem uploads the information system to the management end through the network sector transmission protocol, and performs sector initialization and data pointer marking;
[0012] A local sector cache mechanism is established, and a data pointer dynamic configuration table is uploaded from the management end for access control, and a key data backup and recovery mechanism is implemented through the data pointer dynamic configuration table, including full backup, file monitoring, incremental backup and network communication backup.
[0013] The information system environment resource type is determined by expressing the structure and requirements of resources in the cloud environment through RDL technology, and the RDL technology includes:
[0014] Identify resource types in the information system environment, including hardware, software, network, and storage;
[0015] Determine the relationship between resources, including resource dependency and interoperability;
[0016] Determine configuration parameters of resources, including CPU frequency, memory size, and network bandwidth;
[0017] Environmental constraints of information system environment resources are determined, the environmental constraints including resource usage priorities, availability, and fault tolerance requirements.
[0018] The tree nodes forming the resource pool include:
[0019] The server side establishes a tree structure management resource pool node through a depth-first search algorithm, each node corresponds to a PIM file, and the construction of the tree structure is based on environmental constraints;
[0020] Calculate the dynamic hash value of each node according to the consistent hashing algorithm, and assign a value to the node according to the dynamic hash value;
[0021] The structure and node priority of the resource pool are adjusted according to the usage of the resource pool nodes through the Markov decision algorithm.
[0022] The server automatically retrieves a matching resource pool node, including:
[0023] The server parses the information system environment configuration request of the terminal device to obtain a demand description vector, wherein the demand description vector includes CPU usage, memory size, storage space, and operating system version;
[0024] A hash operation is performed on the demand description vector to calculate a search identifier, and a search is performed in a hash table of resource pool nodes according to the search identifier to obtain a resource pool node with the highest matching degree.
[0025] The transmitting the corresponding PIM file to the terminal device includes:
[0026] The information system environment configuration request also includes the network status of the terminal device, the PIM file is segmented into data packets according to the network status of the terminal device, and the first data packet is transmitted to the terminal device;
[0027] After receiving the first data packet of the PIM file, the terminal device calculates the single transmission time, compares the single transmission time with the ideal transmission time, and if it is greater than the ideal transmission time, sends adjustment information to the server. The server receives the adjustment information, re-segments the data packet according to the ratio of the single transmission time to the ideal transmission time, and resends the data packet.
[0028] If it is less than or equal to the ideal transmission time, a confirmation message is sent to the server, and after receiving the confirmation message, the server sends the remaining data packet segments in batches;
[0029] The calculation formula of the single transmission time is:
[0030] ,
[0031] in, represents a single transmission time, L represents the size of the first data packet, B represents the maximum network bandwidth allowed by the terminal device, and D represents the transmission delay time. It represents the penalty factor, which is used to adjust the impact of packet loss rate on transmission time. P represents the packet loss rate during transmission.
[0032] Initializing the microsystem in the terminal device includes:
[0033] Register the terminal device information on the server and implant the microsystem into the terminal device through a security mechanism;
[0034] When the microsystem is first started on the terminal device, the registration information is verified, the management policy is read to initialize the sector and mark the sector data pointer;
[0035] If the registration information verification fails, the startup failure process will be suspended and wait for the administrator to intervene.
[0036] The read management strategy performs sector initialization and marks sector data pointers, including:
[0037] After verification, the microsystem downloads and reads the preset management policy from the server, which includes data processing, storage, transmission mode and resource access control rules;
[0038] According to the management strategy, the microsystem initializes the storage sector of the terminal device, and the initialization includes configuring the size, type and access rights of the sector.
[0039] The establishing of the local sector cache mechanism includes:
[0040] After the sectors are initialized, the microsystem will mark the data pointer at the specified position of each sector, upload the marked data pointer dynamic configuration table to the server through the network protocol, and establish a local sector cache on the terminal device, which is synchronized with the data pointer dynamic configuration table of the server;
[0041] The establishing of the local sector cache mechanism also includes:
[0042] Perform full backups on the server regularly, save all data on the terminal device to the server, and generate backup reports;
[0043] Install a file monitoring program on the terminal device to monitor key data in real time. Once data changes are found, incremental backup is triggered immediately.
[0044] In the network communication module, the transmitted data is backed up to prevent data loss during transmission;
[0045] When the data on the terminal device is lost or damaged, it can be restored through the backup data on the server.
[0046] The sector data pointer also includes the microsystem continuously monitoring the operation status and performance of the sector. According to the actual operation situation, the microsystem dynamically adjusts the sector configuration and data pointer.
[0047] The network protocol includes designing a framework protocol, designing an encryption mechanism, establishing a session, optimizing data transmission and anomaly detection.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] 1. By using a dedicated resource definition language and an automated resource configuration process, the present invention significantly reduces the time and labor required for manual configuration. This not only speeds up the resource deployment process, but also reduces the workload of administrators, making resource configuration faster and more accurate;
[0050] 2. The present invention applies a hash algorithm in a resource pool node to calculate a corresponding search identifier according to the needs of the terminal device, thereby reducing the amount of search calculation and improving the search efficiency;
[0051] 3. The present invention utilizes local sector cache and data pointer technology to improve data access speed, while reducing the dependence on network bandwidth and server computing load. By optimizing the data transmission protocol, the data transmission efficiency is accelerated and the delay is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0053] Figure 1 This is a flow chart of a method for automatically constructing a resource pool in a cloud operating system according to Embodiment 1 of the present invention;
[0054] Figure 2 This is a schematic diagram of the modules of the terminal program of Embodiment 1 of the present invention;
[0055] Figure 3 This is a PIM file structure diagram of Example 1 of the present invention;
[0056] Figure 4 This is a schematic diagram of PIM file transmission according to Embodiment 1 of the present invention. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0058] Embodiment 1:
[0059] See also Figure 1 , an embodiment provided by the present invention: a method for automatically constructing a resource pool in a cloud operating system, the specific steps of the method are as follows:
[0060] S1: extracting the information system environment of the terminal computer through the multi-module mechanism of the terminal program, and identifying and classifying the information system environment through RDL technology;
[0061] In this step, in order to achieve comprehensive capture of the information system environment of the terminal computer, the terminal program needs to include a multi-module collaborative working mechanism, with each module being responsible for hardware resource scanning, software configuration capture, network configuration detection, and data formatting.
[0062] S2: The classification results are stored in a custom PIM file format on the server side, and the server side stores the PIM file in a structured manner to form a tree node of the resource pool;
[0063] S3: The terminal device sends an information system environment configuration request to the server, and the server retrieves the matching resource pool node after receiving it;
[0064] S4: The server transmits the PIM file corresponding to the resource pool node to the terminal device;
[0065] S5: Initialize the microsystem, upload the information system to the management end through the network sector transmission protocol, and perform registration information verification and sector initialization marking on the terminal device;
[0066] S6: Establish a local sector cache mechanism and upload a data pointer dynamic configuration table from the management end for access control.
[0067] See also Figure 2 , a schematic diagram of modules of a terminal program according to an embodiment of the present invention, wherein the multi-module mechanism of the terminal program comprises:
[0068] The hardware resource scanning module directly accesses the hardware interface layer of the terminal computer and uses the embedded hardware detection algorithm to scan the hardware resources including CPU model, memory size, storage capacity, etc., and generates structured data;
[0069] The software configuration capture module captures information such as the terminal operating system version, the installed software list and its version, and the process status through system API calls;
[0070] The network configuration detection module accesses the system network interface and uses network protocol stack analysis technology to detect the current network configuration, including IP address, subnet mask, gateway, DNS and other information, and simultaneously detects the network communication status.
[0071] The information system environment is identified and classified by RDL technology, including:
[0072] Define resource type classification rules, which are based on a predefined resource type hierarchy model and specifically include:
[0073] RDL-0: Basic resource classification, such as hardware, operating system, and network resources;
[0074] RDL-1: detailed sub-class resource classification, such as CPU type, memory capacity, and network bandwidth;
[0075] RDL-2: Composite resource classification, which indicates the relationship between resources, such as the compatibility between CPU and operating system, and the interoperability between storage and network.
[0076] Identify resource types in the information system environment, including hardware, software, network, and storage;
[0077] Determine the relationship between resources, including resource dependency and interoperability;
[0078] Determine configuration parameters of resources, including CPU frequency, memory size, and network bandwidth;
[0079] Environmental constraints of information system environment resources are determined, the environmental constraints including resource usage priorities, availability, and fault tolerance requirements.
[0080] See also Figure 3 , a PIM file structure diagram of an embodiment of the present invention, wherein the PIM file refers to a dedicated resource pool storage file format, which uses a standard disk sector block as a storage unit. Generally, viruses and Trojans cannot read, reverse compile, or damage the PIM file. Even if the server-side system is infected by a virus, the PIM file can still be kept safe. The PIM file adopts a hierarchical storage structure, and each level uses different storage units to represent different types of resources.
[0081] Furthermore, the PIM file first includes a variety of input resources, such as operating systems, office software, equipment software, configuration environments, and database software. These resources are integrated into the PIM file in the initial stage to form a reusable standardized resource collection. As a special storage format, the PIM file uses standard disk sector blocks as storage units to store different types of resources in a hierarchical structure, which is specifically divided into the following levels:
[0082] The resource identification layer is used to generate a hash value through the SHA-256 algorithm to generate a unique identifier for the resource. The unique identifier is used to identify a specific resource entity to ensure its uniqueness and security.
[0083] The resource attribute layer is used to store resource attribute information, such as resource name, type, capacity, configuration, etc., in TLV encoding format to facilitate parsing and expansion;
[0084] The resource data layer is used to store the actual data content of resources, such as operating system images, application binary files, etc. The data in this layer is stored using blockchain-based hash chain technology to ensure the integrity and immutability of the data;
[0085] PIM files are used to call and distribute resources through terminal computers. Terminal computers can capture the configured information system environment in the target computer and store it on the server side, saving it in the PIM file format. The PIM file becomes part of the general resource library and can be reused and provided to other computers, eliminating the need to reinstall and configure the operating system and application software on each computer hardware, significantly improving resource management efficiency and supporting on-demand calling of resource nodes. Terminal computers can call resource nodes at any time according to actual needs and allocate the required resources to different business scenarios to ensure flexibility and responsiveness;
[0086] Specifically, the same PIM file can realize multiple business scenarios, such as business scenario 1, business scenario 2, and business scenario 3. Each business scenario corresponds to different application requirements, and the required resources can be dynamically obtained from the resource pool to achieve customized system environment deployment. This method can meet the needs of multiple business scenarios and avoid repeated configuration, greatly improving the flexibility of the system.
[0087] As the actual carrier of "information system environment resources", PIM files capture the information system environment configured by the target computer to the server through the terminal program and store it in PIM file format, making it a reusable general resource and providing it to other computers on demand without the need to install, debug and configure the operating system and application software on the computer hardware. At the same time, the characteristic of using sector blocks as storage units allows the established PIM files to be superimposed on other PIM files to form a new information system environment, reducing the repeated work of establishing resource pools and forming reusable tree node resources.
[0088] The specific steps of S2 are as follows:
[0089] S2.1: The server needs to perform structured storage and management of the PIM files in the resource pool, and use the depth-first search (DFS) algorithm to build a tree structure. The core of the DFS algorithm is to start from the root node, visit each node in turn, and go deep into the child nodes until all nodes are traversed. The nodes of the tree structure represent each PIM file, and the connections between nodes represent the dependencies or associations between resources. In order to ensure efficient management of the resource pool, the DFS algorithm will select paths based on environmental constraints;
[0090] After the tree structure is built, the server can also dynamically adjust the tree structure according to the changes in the PIM files in the resource pool. The basis for dynamic adjustment includes the addition of new resources, the update or removal of existing resources, and the changes in resource dependencies. The server will periodically execute recursive calls to the DFS algorithm to keep the tree structure up to date.
[0091] S2.2: Each node in the resource pool calculates a unique dynamic hash value through the consistent hashing algorithm. A key advantage of the consistent hashing algorithm is that when the scale of the resource pool changes, it can maintain load balancing, avoid large-scale data migration, and improve the access efficiency of the resource pool.
[0092] The server side dynamically adjusts the hash value based on the actual usage and access frequency of the resource pool nodes. When the access frequency of a node increases or decreases, the system recalculates its hash value and adjusts its position on the hash ring to ensure efficient access to resources and load balancing.
[0093] S2.3: Adjust the structure and node priority of the resource pool according to the usage of the resource pool nodes through the Markov decision algorithm. The Markov decision algorithm optimizes the structure and node priority of the resource pool according to the usage of the resource nodes (such as access frequency, response time and resource consumption) by constructing a state transition matrix and a reward function;
[0094] Nodes with higher priorities will be allocated more resources and access rights, thereby improving the overall performance of the system. Nodes with lower priorities may be adjusted to a secondary position in the resource pool to reduce the occupation of system resources and improve the availability and response speed of the resource pool.
[0095] The specific steps of S3 are as follows:
[0096] S3.1: The server parses the information system environment configuration request of the terminal device and obtains a requirement description vector, which includes CPU usage, memory size, storage space, operating system version, network bandwidth, data processing delay and security requirements;
[0097] Through the multi-dimensional demand description vector, the resource requirements of the terminal device can be more comprehensively expressed, ensuring that the resource configuration can best meet the actual needs of the terminal device, improve resource utilization efficiency, and reduce the risk of configuration errors;
[0098] S3.2: performing a hash operation on the demand description vector, calculating a search identifier, performing a preliminary search in a hash table of resource pool nodes according to the search identifier, and obtaining a list of preliminary matching resource pool nodes;
[0099] The role of hash operation is to quickly locate potential matching nodes in the resource pool. Through the pre-built hash table, efficient preliminary screening can be achieved, reducing the amount of calculation for subsequent detailed matching;
[0100] S3.3: Perform secondary screening on the initially matched resource pool nodes, and generate a matching score for the resource nodes by comprehensively considering the current load, historical performance data, resource utilization efficiency and redundancy of the resource nodes through a multi-factor weighted scoring model;
[0101] The multi-factor weighted scoring model comprehensively considers the following key factors:
[0102] Current load: the current workload of the resource node;
[0103] Historical performance data: including the performance of resource nodes in historical tasks;
[0104] Resource utilization efficiency: whether the resource utilization rate of the node meets expectations;
[0105] Redundancy: the node's ability to recover and spare resources in the event of a failure;
[0106] Each resource node is scored based on factors to generate a final matching score. By assigning different weights to different factors, the best matching result can be obtained based on a comprehensive consideration of all aspects of the node's performance, thus avoiding misselection due to a single factor.
[0107] S3.4: The resource pool node with the highest matching score is used as the transmission object. The node with the highest matching score represents the optimal resource configuration choice under the current conditions, which can not only meet the needs of the terminal device but also maintain the efficient operation of the resource pool.
[0108] The information system environment configuration request also includes network status information of the terminal device, and the network status information includes network bandwidth, delay, packet loss rate and stability index.
[0109] See also Figure 4 , a schematic diagram of PIM file transmission according to an embodiment of the present invention, wherein the specific steps of S4 are as follows:
[0110] S4.1: segmenting the PIM file into data packets according to the network status of the terminal device, adopting a variable-length data packet segmentation strategy, and transmitting a first data packet to the terminal device, wherein the first data packet also includes verification data of the network status information;
[0111] S4.2: After receiving the first data packet of the PIM file, the terminal device monitors and calculates the single transmission time in real time, records the network status change, and compares the single transmission time with the ideal transmission time. If it is found that the actual transmission time is greater than the ideal transmission time, or the network status fluctuation exceeds the preset threshold, the terminal device sends adjustment information to the server, and the adjustment information includes the transmission time deviation, the network status change, and the recommended segment size;
[0112] S4.3: The server receives and analyzes the adjustment information, and dynamically adjusts the segment size and transmission strategy of the data packet in combination with the current network status change, including adjusting the transmission rate, optimizing the data packet sequence, and applying error correction coding technology to improve the stability of transmission, and resends the adjusted data packet;
[0113] S4.4: If the single transmission time is less than or equal to the ideal transmission time and the network status is stable, the terminal device sends a confirmation message to the server. After receiving the confirmation message, the server sends the remaining data packets in batches according to the preset batches and the dynamic optimization strategy;
[0114] S4.5: The server side also includes an adaptive transmission algorithm module, which continuously learns historical network transmission data based on a machine learning algorithm and makes predictive adjustments to future data packet transmissions, thereby further improving the efficiency and reliability of PIM file transmission.
[0115] The calculation formula of the single transmission time is:
[0116] ,
[0117] in, represents a single transmission time, L represents the size of the first data packet, B represents the maximum network bandwidth allowed by the terminal device, and D represents the transmission delay time. It represents the penalty factor, which is used to adjust the impact of packet loss rate on transmission time. P represents the packet loss rate during transmission.
[0118] Initializing the microsystem in the terminal device includes:
[0119] S5.1: Register the terminal device information on the server and implant the microsystem into the terminal device through a security mechanism;
[0120] The management end first registers the hardware and software information of the terminal device on the server. This includes the unique identifier of the device, hardware configuration, and operating system environment. During the registration process, management policies such as permission management and resource allocation need to be configured. These policies will be used to control the operation of the microsystem on the terminal device. Through a secure transmission protocol, the microsystem software is securely implanted from the management end to the terminal device. This process ensures that the microsystem is not interfered with by external threats during transmission and implantation, and prevents malicious tampering or attacks. While being implanted, the microsystem performs self-tests and verifications to ensure that it can correctly perform subsequent operations on the terminal device.
[0121] S5.2: When the microsystem is first started on the terminal device, the registered information is verified. First, the internal verification module will be called to verify the previously registered device information. The verification includes checking the integrity of the hardware ID, system configuration, and related security policies. If the verification is successful, the system will read the policy configured by the management end and initialize the sectors of the device accordingly, including formatting partitions, setting the file system structure, and initializing data pointers. The initialized sectors will be marked as available, and further operations will be performed according to the policy configuration;
[0122] During the initialization process, the microsystem will create and mark the data pointers of each sector. These pointers are used to track the storage location and status of the data within the sector to ensure efficient access and management of the data;
[0123] The sector data pointer will also be synchronized with the dynamic configuration table of the management side to ensure that the management side can monitor and manage the storage status of the device in real time.
[0124] S5.3: If the registration information verification fails, the startup failure process will be suspended. This process will suspend the current startup operation and notify the administrator to intervene through logging and alarms;
[0125] Administrators can check the hardware and software configuration of terminal devices remotely or on-site, verify whether the information is correct, and take necessary repair measures, such as re-registering device information or re-implanting the microsystem.
[0126] The read management strategy performs sector initialization and marks sector data pointers, including:
[0127] S5.2.1: After verification, the microsystem downloads and reads the preset management policy from the server, which includes data processing, storage, transmission mode and resource access control rules;
[0128] S5.2.2: According to the management policy, the microsystem initializes the storage sector of the terminal device, and the initialization includes configuring the size, type and access rights of the sector.
[0129] The establishing of the local sector cache mechanism includes:
[0130] S6.1: After the sectors are initialized, the microsystem will mark the data pointer at the designated position of each sector, upload the marked data pointer dynamic configuration table to the server through the network protocol, and establish a local sector cache on the terminal device, and the local sector cache is synchronized with the data pointer dynamic configuration table of the server;
[0131] The establishing of the local sector cache mechanism also includes:
[0132] S6.2: Perform full backup on the server regularly, save all data of the terminal device to the server, and generate a backup report;
[0133] S6.3: Install a file monitoring program on the terminal device to monitor key data in real time. Once data changes are found, an incremental backup is triggered immediately.
[0134] S6.4: In the network communication module, the transmitted data is backed up to prevent data loss during transmission;
[0135] S6.5: When the data on the terminal device is lost or damaged, it can be restored through the backup data on the server;
[0136] The full backup refers to regularly saving all the data of the terminal device to the server to ensure the integrity of the data;
[0137] The file monitoring refers to real-time monitoring of key data of terminal devices through programs, and immediately triggering incremental backup once data changes are found;
[0138] The incremental backup refers to backing up only the data that has changed since the last backup on the basis of the full backup, so as to reduce the time and storage space required for the backup;
[0139] The network communication module is used to back up the transmitted data during the network communication process to prevent the data from being lost during the transmission process.
[0140] The sector data pointer also includes the microsystem continuously monitoring the operation status and performance of the sector. According to the actual operation situation, the microsystem dynamically adjusts the sector configuration and data pointer.
[0141] The network protocol includes designing framework protocols, designing encryption mechanisms, establishing sessions, optimizing data transmission and anomaly detection;
[0142] The design framework protocol includes TCP / IP, UDP, HTTP / HTTPS, and the appropriate protocol is selected for data transmission according to actual needs;
[0143] The designed encryption mechanism includes symmetric encryption and asymmetric encryption, such as AES and RSA, to ensure the security of data during transmission;
[0144] Establishing a session refers to establishing a stable connection between the client and the server for data transmission;
[0145] The optimized data transmission includes data compression and fragmented transmission to improve the efficiency of data transmission;
[0146] The anomaly detection refers to monitoring and handling of possible abnormal situations during data transmission, such as network interruption and data loss.
[0147] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for automatically constructing a resource pool in a cloud operating system, characterized in that: include: The information system environment of the terminal computer is captured through the terminal program, the resource type of the information system environment is determined, and stored in the server side in a custom PIM file format; The PIM files are stored in a structured manner on the server side to form a tree node of a resource pool; When the terminal device requests the server to configure the information system environment, the server automatically retrieves the matching resource pool node and transmits the corresponding PIM file to the terminal device; Initialize the microsystem at the terminal device, the microsystem uploads the information system to the management end through the network sector transmission protocol, and performs sector initialization and data pointer marking; Establish a local sector cache mechanism, upload a data pointer dynamic configuration table from the management end for access control, and implement key data backup and recovery mechanisms through the data pointer dynamic configuration table, including full backup, file monitoring, incremental backup and network communication backup; Determining the information system environment resource type includes: By directly accessing the hardware interface layer of the terminal computer, the embedded hardware detection algorithm is used to scan the hardware resources including CPU model, memory size, storage capacity, and generate structured data; Through system API calls, the terminal operating system version, installed software list and its version, and process status information are captured; By accessing the system network interface, use the network protocol stack analysis technology to detect the current network configuration, including IP address, subnet mask, gateway and DNS information, and simultaneously detect the network communication status; Identifying and classifying the information system environment by using RDL technology; The PIM file refers to a dedicated resource pool storage file format, which uses standard disk sector blocks as storage units, and specifically includes: The resource identification layer is used to generate a hash value using the SHA-256 algorithm to generate a unique identifier for the resource; Resource attribute layer, used to encode resource attribute information in TLV format; Resource data layer, used to store the actual data content of resources; The tree nodes forming the resource pool include: The server side establishes a tree structure to manage resource pool nodes through a depth-first search algorithm. Each node corresponds to a PIM file. The connection between nodes represents the dependency relationship between resources. The depth-first search algorithm starts from the root node, visits each node in turn, and goes deep into the child nodes until all nodes are traversed. The path selection of the depth-first search algorithm is based on environmental constraints. Dynamically adjust the tree structure according to changes in the PIM files in the resource pool, wherein the dynamic adjustment includes the addition of new resources, the update and removal of existing resources, and the change of resource dependencies; Calculate the dynamic hash value of each node according to the consistent hashing algorithm, assign values to the nodes according to the dynamic hash value, and dynamically adjust the hash value according to the usage and access frequency of the resource pool nodes; The state transfer matrix and reward function are constructed through the Markov decision algorithm, and the structure and node priority of the resource pool are adjusted according to the usage of the resource pool nodes; The server automatically retrieves a matching resource pool node, including: The server parses the information system environment configuration request of the terminal device to obtain a demand description vector, wherein the demand description vector includes CPU usage, memory size, storage space, and operating system version; Performing a hash operation on the demand description vector to calculate a search identifier, searching in a hash table of resource pool nodes according to the search identifier, and obtaining a list of preliminary matching resource pool nodes; Perform secondary screening on the initially matched resource pool nodes, and generate a matching score for the resource nodes by comprehensively considering the current load, historical performance data, resource utilization efficiency, and redundancy of the resource nodes through a multi-factor weighted scoring model; Each resource node is scored according to the factors to generate a final matching score, and the resource pool node with the highest matching score is used as the transmission object; The establishing of the local sector cache mechanism includes: After the sectors are initialized, the microsystem will mark the data pointer at the specified position of each sector, upload the marked data pointer dynamic configuration table to the server through the network protocol, and establish a local sector cache on the terminal device, which is synchronized with the data pointer dynamic configuration table of the server; The establishing of the local sector cache mechanism also includes: Perform full backups on the server regularly, save all data on the terminal device to the server, and generate backup reports; Install a file monitoring program on the terminal device to monitor key data in real time. Once data changes are found, incremental backup is triggered immediately. In the network communication module, the transmitted data is backed up to prevent data loss during transmission; When the data on the terminal device is lost or damaged, it can be restored through the backup data on the server.
2. According to claim 1, a method for automatically constructing a resource pool in a cloud operating system is characterized in that: The information system environment resource type is determined by expressing the structure and requirements of resources in the cloud environment through RDL technology, and the RDL technology includes: Identify resource types in the information system environment, including hardware, software, network, and storage; Determine the relationship between resources, including resource dependency and interoperability; Determine configuration parameters of resources, including CPU frequency, memory size, and network bandwidth; Environmental constraints of information system environment resources are determined, the environmental constraints including resource usage priorities, availability, and fault tolerance requirements.
3. According to claim 1, a method for automatically constructing a resource pool in a cloud operating system is characterized in that: The transmitting the corresponding PIM file to the terminal device includes: The information system environment configuration request also includes the network status of the terminal device, the PIM file is segmented into data packets according to the network status of the terminal device, and the first data packet is transmitted to the terminal device; After receiving the first data packet of the PIM file, the terminal device calculates the single transmission time, compares the single transmission time with the ideal transmission time, and if it is greater than the ideal transmission time, sends adjustment information to the server. The server receives the adjustment information, re-segments the data packet according to the ratio of the single transmission time to the ideal transmission time, and resends the data packet. If it is less than or equal to the ideal transmission time, a confirmation message is sent to the server, and after receiving the confirmation message, the server sends the remaining data packet segments in batches; The calculation formula of the single transmission time is: , in, represents a single transmission time, L represents the size of the first data packet, B represents the maximum network bandwidth allowed by the terminal device, and D represents the transmission delay time. It represents the penalty factor, which is used to adjust the impact of packet loss rate on transmission time. P represents the packet loss rate during transmission.
4. According to claim 1, a method for automatically constructing a resource pool in a cloud operating system is characterized in that: Initializing the microsystem in the terminal device includes: Register the terminal device information on the server and implant the microsystem into the terminal device through a security mechanism; When the microsystem is first started on the terminal device, the registration information is verified, the management policy is read to initialize the sector and mark the sector data pointer; If the registration information verification fails, the startup failure process will be suspended and wait for the administrator to intervene.
5. According to claim 4, a method for automatically constructing a resource pool in a cloud operating system is characterized in that: The read management strategy performs sector initialization and marks sector data pointers, including: After verification, the microsystem downloads and reads the preset management policy from the server, which includes data processing, storage, transmission mode and resource access control rules; According to the management strategy, the microsystem initializes the storage sector of the terminal device, and the initialization includes configuring the size, type and access rights of the sector.
6. According to claim 4, a method for automatically constructing a resource pool in a cloud operating system is characterized in that: The sector data pointer also includes the microsystem continuously monitoring the operation status and performance of the sector. According to the actual operation situation, the microsystem dynamically adjusts the sector configuration and data pointer.
7. According to claim 1, a method for automatically constructing a resource pool in a cloud operating system is characterized in that: The network protocol includes designing a framework protocol, designing an encryption mechanism, establishing a session, optimizing data transmission and anomaly detection.
Citation Information
Patent Citations
A construction system of computing resource pool in cloud operating system
CN105208093B
Cloud computing resource management method and apparatus
CN107277126A
Methods and systems for automatic blockchain deployment based on cloud platform
WO2019170170A2