Machine room operation and maintenance system and machine room operation and maintenance method

By introducing blockchain equipment and smart contracts into the computer room operation and maintenance system, the task splitting and authorization certificate generation are realized, which solves the problem of inflexible task scheduling and resource utilization in large-scale data centers, and improves the flexibility and efficiency of task allocation.

CN120416252APending Publication Date: 2025-08-01CHINA MOBILE INFORMATION TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510781561.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The existing task allocation methods have problems such as poor task scheduling flexibility and inflexible resource utilization in large-scale data centers.

Method used

By introducing blockchain equipment into the computer room operation and maintenance system, using smart contracts to split and broadcast tasks, generating authorization certificates based on the computer room's over-chain resource value and remaining resources, controlling the target computer room to perform sub-tasks, and realizing decentralized task allocation.

Benefits of technology

It improves the flexibility and resource utilization efficiency of task allocation, enhances the accuracy and efficiency of task allocation, and avoids the impact of trust problems on task allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416252A_ABST
    Figure CN120416252A_ABST
Patent Text Reader

Abstract

The invention provides a machine room operation and maintenance system and a machine room operation and maintenance method, and relates to the technical field of cloud computing. The machine room operation and maintenance system comprises block chain equipment and a plurality of machine rooms; the first machine room is used for splitting the first task into at least one subtask and broadcasting the first subtask to other machine rooms in the machine room operation and maintenance system; after first request information sent by the second machine room is received, the first request information is sent to the block chain equipment; the first request information comprises an identifier of the second machine room and current remaining resources of the second machine room; the block chain equipment is used for determining a target machine room for executing the first subtask according to the uplink resource value of the second machine room and the first request information, generating an authorization certificate for the target machine room, and controlling the target machine room to execute the first subtask according to the authorization certificate; a smart contract is stored on the block chain device, and the smart contract comprises an uplink resource value of each machine room in the machine room operation and maintenance system. According to the invention, the flexibility of task scheduling and the flexibility of resource utilization can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cloud computing, and particularly to a computer room operation and maintenance system and a computer room operation and maintenance method. Background Art

[0002] In the current digital age, as the core infrastructure supporting various online services and applications, the operation and maintenance management of data centers is particularly important. The operation and maintenance management of data centers usually adopts a centralized task allocation mode, where a central agency is responsible for allocating tasks to all data centers. This mode has its unique advantages and challenges. The centralized task allocation mode can improve management efficiency and reduce management costs. Since the resource information of all computer rooms can be monitored in the same location instead of being scattered in different places, this makes the scheduling and optimization of tasks more efficient; the centralized task allocation mode helps to improve the reliability and security of data centers. Through scientific operation and maintenance processes, the healthy and efficient operation of data centers can be ensured.

[0003] Although the centralized task allocation mode has the advantages of high management efficiency and being safe and reliable, in current practical applications, with the increase in the scale and complexity of data centers, traditional task allocation methods are difficult to meet the needs of large-scale data centers. Due to the centralized task allocation in a single center, it is difficult to achieve flexible task scheduling and resource utilization, and it is easy to cause rigid resource utilization. Summary of the Invention

[0004] The present invention provides a computer room operation and maintenance system and a computer room operation and maintenance method to solve the problems of poor flexibility in task scheduling and poor flexibility in resource utilization of existing task allocation methods.

[0005] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0006] In a first aspect, the embodiments of the present invention provide a computer room operation and maintenance system, where the computer room operation and maintenance system includes: a blockchain device and multiple computer rooms;

[0007] A first computer room, configured to split the obtained first task into at least one subtask, and broadcast the first subtask to other computer rooms in the computer room operation and maintenance system; after receiving the first request information sent by a second computer room, send the first request information to the blockchain device; the first computer room is one of the multiple computer rooms; the second computer room is at least one of the multiple computer rooms; the first request information includes the identifier of the second computer room and the current remaining resources of the second computer room;

[0008] The blockchain device is used to determine a target computer room in the second computer room that executes the first subtask according to the on-chain resource value of the second computer room and the first request information, generate an authorization certificate for the target computer room, and control the target computer room to execute the first subtask according to the authorization certificate;

[0009] Among them, an intelligent contract is stored on the blockchain device, and the intelligent contract includes the on-chain resource values of each computer room in the computer room operation and maintenance system.

[0010] Optionally, the first computer room is the computer room that obtains the second task;

[0011] Among them, the second task is the task adjacent to the first task before, and the second task is a task that has been executed and completed.

[0012] Optionally, the first subtask is a subtask other than the second subtask among the at least one subtask; the second subtask is a subtask that the first computer room can execute;

[0013] Among them, the first computer room is used to execute the second subtask.

[0014] Optionally, the blockchain device is used to:

[0015] According to the on-chain resource value of the second computer room in the computer room operation and maintenance system and the remaining resources of the second computer room, correct the remaining resources of the second computer room to obtain the first remaining resources of the second computer room;

[0016] According to the first remaining resources of the second computer room, the task requirements of the first subtask, and the permission information of the first computer room, determine the target computer room in the second computer room that executes the first subtask;

[0017] Among them, the intelligent contract includes the permission information of each computer room in the computer room operation and maintenance system.

[0018] Optionally, the blockchain device specifically is used to:

[0019] Use the on-chain resource value of the second computer room as the correction coefficient of the remaining resources of the second computer room, and use the correction coefficient to correct the remaining resources of the second computer room to obtain the first remaining resources of the second computer room.

[0020] Optionally, the blockchain device specifically is used to:

[0021] Regard the computer rooms in the second computer room where the first remaining resources are greater than the required resources of the first subtask as candidate computer rooms;

[0022] Determine the target computer room for executing the first subtask among the candidate computer rooms according to the permission information of the first computer room, the permission information of the candidate computer rooms, and the task type of the first subtask.

[0023] Optionally, the blockchain device is specifically configured to:

[0024] Determine the target candidate computer room among the candidate computer rooms according to the permitted computer rooms indicated by the permission information of the first computer room;

[0025] When the task type priority indicated by the permission information of the target candidate computer room meets the task type of the first subtask, determine the target candidate computer room as the target computer room.

[0026] Optionally, the blockchain device is used to:

[0027] Generate the authorization certificate for the target computer room according to the characteristic information of the target computer room and the identifier of the first computer room;

[0028] Wherein, the smart contract includes the characteristic information of each computer room in the computer room operation and maintenance system.

[0029] Optionally, the blockchain device is specifically configured to:

[0030] Use a preset authorization information template to generate authorization information for the target computer room according to the characteristic information of the target computer room and the identifier of the first computer room;

[0031] Perform encryption processing on the authorization information to obtain the authorization certificate.

[0032] Optionally, the computer room operation and maintenance system further includes a task platform;

[0033] The first computer room is used to:

[0034] Send the first subtask to the task platform;

[0035] The blockchain device is used to:

[0036] Send the authorization certificate to the task platform;

[0037] The task platform is used to:

[0038] Send the first subtask and the authorization certificate to the target computer room, and receive the execution result of the first subtask.

[0039] Optionally, the blockchain device is further used to:

[0040] Receive the on-chain resource value, characteristic information, and permission information of each computer room sent by the computer room operation and maintenance system.

[0041] Optionally, the on-chain resource value of the computer room is determined according to the priority of resource allocation of the computer room, the number of computer rooms in the computer room operation and maintenance system, the load of the computer room, the resource utilization rate of the computer room, and the total amount of resources of the computer rooms in the computer room operation and maintenance system.

[0042] Optionally, the first computer room is used for:

[0043] In the case where the remaining resources of the first computer room cannot meet the required resources of the first task, split the first task into at least one subtask;

[0044] Each computer room in the computer room operation and maintenance system is used for:

[0045] In the case where the remaining resources of the computer room are higher than a preset ratio of the required resources of the first subtask, determine that the computer room is the second computer room;

[0046] The second computer room is used for:

[0047] Send the identifier of the second computer room and the remaining resources of the second computer room to the first computer room.

[0048] In a second aspect, an embodiment of the present invention further provides a computer room operation and maintenance method, which is applied to a first computer room. The method includes:

[0049] Split the obtained first task into at least one subtask, and broadcast the first subtask to other computer rooms in the computer room operation and maintenance system;

[0050] After receiving the first request information sent by the second computer room, send the first request information to the blockchain device;

[0051] Wherein, the first request information includes the identifier of the second computer room and the current remaining resources of the second computer room.

[0052] In a third aspect, an embodiment of the present invention further provides a computer room operation and maintenance method, which is applied to a blockchain device. The method includes:

[0053] Determine a target computer room for executing the first subtask in the second computer room according to the on-chain resource value of the second computer room and the first request information;

[0054] Generate an authorization certificate for the target computer room;

[0055] Control the target computer room to execute the first subtask according to the authorization certificate;

[0056] Among them, the first request information includes the identifier of the second computer room and the current remaining resources of the second computer room; the blockchain device stores a smart contract, and the smart contract includes the on-chain resource value of each computer room in the computer room operation and maintenance system.

[0057] The beneficial effects of the present invention are:

[0058] The computer room operation and maintenance system provided by the present invention obtains a first task through a first computer room, splits the first task into at least one subtask, broadcasts the first subtask to other computer rooms in the computer room operation and maintenance system, determines a second computer room capable of executing the first subtask, obtains first request information sent by the second computer room, the first request information including the identifier of the second computer room and the first request information, sends the first request information to a blockchain device, and the blockchain device determines a target computer room in the second computer room for executing the first subtask based on the first request information sent by the first computer room, the on-chain resource value of the second computer room in the computer room operation and maintenance system, and the current remaining resources of the second computer room, generates an authorization certificate for the target computer room, and controls the target computer room to execute the first subtask based on the authorization certificate. By splitting and broadcasting the first task, the blockchain device generates an authorization certificate based on the on-chain resource value of the second computer room and the first request information. The target computer room verifies the authorization certificate and executes the subtask, thereby achieving decentralized task allocation among computer rooms and improving the flexibility, efficiency, and resource utilization of task allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 A schematic diagram showing the structure of a computer room operation and maintenance system provided by an embodiment of the present invention;

[0060] Figure 2 A schematic diagram showing the specific structure of the computer room operation and maintenance system provided by an embodiment of the present invention;

[0061] Figure 3 One of the flow charts showing the computer room operation and maintenance method provided by an embodiment of the present invention;

[0062] Figure 4 The second flowchart shows the computer room operation and maintenance method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] In order to make the technical problems, technical solutions and advantages to be solved by the present application clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the present application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. In addition, for clarity and brevity, the description of known functions and structures has been omitted.

[0064] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the "in one embodiment" or "in an embodiment" that appears throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.

[0065] In various embodiments of the present application, it should be understood that the magnitude of the serial numbers of the following processes does not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0066] The terms "first", "second", etc. in the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are usually of the same category, and the number of objects is not limited. For example, the first object can be one or more. In addition, "or" in the present application means at least one of the connected objects. For example, "A or B" covers three scenarios, namely, Scenario 1: including A and not including B; Scenario 2: including B and not including A; Scenario 3: including both A and B. The character " / " generally indicates that the related objects before and after are in an "or" relationship.

[0067] The term "indication" in the present application can be either a direct indication (or an explicit indication) or an indirect indication (or an implicit indication). Among them, a direct indication can be understood as that the sender clearly informs the receiver of specific information, operations to be performed or request results, etc. in the sent indication; an indirect indication can be understood as that the receiver determines the corresponding information according to the indication sent by the sender, or makes a judgment and determines the operations to be performed or request results, etc. according to the judgment result.

[0068] To solve the problems that the existing task allocation method has poor flexibility in task scheduling and poor flexibility in resource utilization, embodiments of the present invention provide a computer room operation and maintenance system and a computer room operation and maintenance method.

[0069] As Figure 1 shown, embodiments of the present invention provide a computer room operation and maintenance system, including: a plurality of computer rooms 101 and a blockchain device 102;

[0070] The first computer room is used to split the obtained first task into at least one subtask and broadcast the first subtask to other computer rooms in the computer room operation and maintenance system; after receiving the first request message sent by the second computer room, send the first request message to the blockchain device; the first computer room is one of the multiple computer rooms; the second computer room is at least one of the multiple computer rooms; the first request message includes the identifier of the second computer room and the current remaining resources of the second computer room.

[0071] Wherein, the first subtask is at least one of the at least one subtask.

[0072] Specifically, the specific structure of the computer room operation and maintenance system is as Figure 2 shown. Among them, the computer room operation and maintenance system includes multiple computer rooms 101, which respectively include computer room 1, computer room 2, and computer room 3. One of the computer rooms is the first computer room. Exemplarily, as Figure 2 shown, take Figure 2 computer room 2 as the first computer room. Among them, this first computer room 101 can also be called the initial computer room. The computer room operation and maintenance system also includes a blockchain device 102, which can also be called a blockchain. A smart contract is deployed on the blockchain device 102. The computer room operation and maintenance system also includes a task platform 103.

[0073] In summary, the computer room operation and maintenance system provided by the embodiment of the present invention is for multi-computer room task allocation. The overall architecture of the computer room operation and maintenance system includes each computer room i (such as computer room 1, computer room 2, computer room 3) 101, a task platform 103, and a blockchain device 102 (a smart contract is deployed on the blockchain device). Among them, Figure 2 the rectangular dotted line box in represents the entire blockchain device, the smart contract is shown separately, and "blockchain" represents the other parts of the blockchain device except the smart contract.

[0074] The task platform sends a first task to the first computer room 101. The first task is the current task. After receiving the first task, the first computer room 101 splits the first task into at least one first subtask. Among them, the process of splitting the task is carried out using existing technologies and will not be elaborated here.

[0075] After splitting the first task into first subtasks, the first computer room 101 broadcasts the first subtasks in the computer room operation and maintenance system. All other computer rooms in the computer room operation and maintenance system receive the first subtasks, and even the first computer room itself obtains the first subtasks. Each computer room responds. Each computer room in the computer room operation and maintenance system determines whether it can execute the first subtasks. If it can, the second computer room (the second computer room may include the above-mentioned first computer room) that can execute the first subtasks sends a first request message to the first computer room. Among them, when the second computer room includes the above-mentioned first computer room, the first computer room can directly obtain the first request message. The first computer room receives the first request message sent by the second computer room. The first request message includes the identifier of the second computer room and the current remaining resources of the second computer room. After receiving the first request message, the first computer room sends the first request message to the blockchain device.

[0076] Among them, the first request message can also be understood or referred to as an allocation request, which is assembled from the identifier of the second computer room and the current remaining resources of the second computer room.

[0077] The blockchain device is used to determine the target computer room in the second computer room that executes the first subtask according to the on-chain resource value of the second computer room and the first request message, generate an authorization certificate for the target computer room, and control the target computer room to execute the first subtask according to the authorization certificate.

[0078] Among them, controlling the target computer room to execute the first subtask can also be understood as instructing the target computer room to execute the first subtask according to the authorization certificate.

[0079] Specifically, after receiving the first request message, the smart contract in the blockchain device queries the on-chain resource value of each computer room in the latest record in the record library based on the timestamp, determines the target computer room in the second computer room that executes the first subtask according to the on-chain resource value and the remaining resources of the second computer room in the first request message. Then, the smart contract generates an authorization certificate for the target computer room and controls the target computer room to execute the corresponding first subtask according to the authorization certificate.

[0080] It should be noted that the number of the second computer rooms is one or more. The second computer rooms are computer rooms that can execute the first subtasks, but not necessarily each second computer room is the computer room that finally executes the first subtask. The computer room that finally executes the first subtask is one or more of the above-mentioned second computer rooms.

[0081] Among them, the first computer room is the computer room that obtains the second task;

[0082] Among them, the second task is the task adjacent to the first task before, and the second task is a task that has been executed and completed.

[0083] That is, when the first task is not the initial task, the first task is sent to the computer room where the previous task was completed. Also, when the first task is the initial task, the first computer room is random, and when there are multiple computer rooms where the previous task was completed, the first computer room is any one of the multiple computer rooms where the previous task was completed.

[0084] Specifically, the task platform maintains a task pool, which includes previous task information (i.e., the first task) and completed task information (including the second task). The task platform queries the information on the completion of the previous task in the task pool (i.e., the second task), uses the computer room where the previous task was completed as the initial computer room, and sends the current task information to it.

[0085] That is, both the first task and the second task are sent by the task platform.

[0086] Optionally, the first subtask is the subtask among the at least one subtask other than the second subtask; the second subtask is the subtask that the first computer room can execute;

[0087] Among them, the first computer room is used to execute the second subtask.

[0088] That is, after the computer room splits the first task into at least one subtask, according to the remaining resources of the first computer room, it determines the second subtask that the first computer room can execute, uses the remaining subtasks of the at least one subtask other than the second subtask as the first subtask, and sends the first subtask to other computer rooms.

[0089] Exemplarily, as Figure 2 shown, computer room 2 (the first computer room) splits the current first task into 3 subtasks, namely subtask TA1, subtask TA2, and subtask TA3. Computer room 2 determines that it can execute subtask TA2 according to the current remaining resources of the first computer room, then uses subtask TA1 and subtask TA3 as the first subtask. The first computer room executes the subtask TA2.

[0090] It can also be that the first computer room sends the subtask information {TA1, TA2 - ID2, TA3} to the task platform, and the task platform stores the subtask information in temporary storage, waiting for the allocation instruction sent by the subsequent smart contract. Among them, the subtask information includes subtask requirements and subtask types. For example, the task type of subtask TA1 is intelligent decision-making.

[0091] In an optional embodiment, the blockchain device is used for:

[0092] According to the on-chain resource value of the second computer room and the remaining resources of the second computer room in the computer room operation and maintenance system, correct the remaining resources of the second computer room to obtain the first remaining resources of the second computer room.

[0093] That is, the smart contract of the blockchain device queries the latest record in the record library based on the timestamp, and calculates the value of the chain resources of each computer room according to the record. Adjust the remaining resources of the second computer room to obtain the adjusted first remaining resources of the second computer room

[0094] Determining the target computer room in the second computer room for executing the first subtask according to the first remaining resources of the second computer room, the task requirements of the first subtask, and the permission information of the first computer room;

[0095] The smart contract includes the licensing information of each computer room in the computer room operation and maintenance system.

[0096] Specifically, the smart contract in the blockchain node queries the licensing information of the first computer room, and determines the target computer room corresponding to the first subtask based on the licensed computer room indicated by the licensing information and the first remaining resources of the second computer room and the task requirements of the first subtask.

[0097] Optionally, the blockchain device is specifically used to:

[0098] The uplink resource value of the second computer room is used as a correction coefficient for the remaining resources of the second computer room, and the remaining resources of the second computer room are corrected using the correction coefficient to obtain the first remaining resources of the second computer room.

[0099] Specifically, the smart contract record library stores the chain resource values uploaded by each computer room i at each time point. Record of composition RE i When the smart contract receives the first request information sent by the initial computer room, it queries all records in the record library and finds the records according to the timestamp t i Get the latest record, that is, the latest on-chain resource value

[0100] The smart contract obtains the latest record of the on-chain resource value uploaded by each computer room The second computer room's on-chain resource value As the correction coefficient, the second computer rooms {ID1, ID3, ID5, ID6, ID8, ID 10 ,ID 13} is corrected to obtain the corrected remaining resources of each computer room, that is, the first remaining resources.

[0101] With the remaining resources of the second computer room For example, the calculation formula for the first remaining resource is as follows:

[0102]

[0103] Among them, represents the first remaining resource.

[0104] The on-chain resource value designed in the embodiment of the present invention for correcting the real-time remaining resource data of the computer room is because the remaining resources in the computer room usually include remaining disk space resources, remaining memory resources, remaining Central Processing Unit (CPU) resources, remaining Graphics Processing Unit (GPU) resources, network bandwidth resources, etc. If only based on the remaining resources to judge whether it matches the task requirements in the follow-up, due to the influence of factors such as resource utilization rate not being considered, it is easy to cause inaccurate task allocation.

[0105] Optionally, the blockchain device is specifically used for:

[0106] Regarding the second computer room, the computer room where the first remaining resource is greater than the required resource of the first subtask is used as a candidate computer room.

[0107] Specifically, the corrected first remaining resource is compared with the required resources of each first subtask, and the second computer room corresponding to the first remaining resource greater than the required resource is used as a candidate computer room.

[0108] For example, the first remaining resources of each computer room obtained by correction are compared with the subtask requirements of the first subtasks TA1 and TA3, and the computer rooms greater than the required resource values of the subtasks are used as candidate computer rooms for each of the first subtasks.

[0109] After this step, the smart contract obtains the candidate computer room set {ID1, ID5, ID8} corresponding to the first subtask TA1, and the candidate computer room set {ID3, ID6, ID8} corresponding to the first subtask TA3.

[0110] According to the permission information of the first computer room, the permission information of the candidate computer room, and the task type of the first subtask, determine the target computer room for executing the first subtask among the candidate computer rooms.

[0111] Among them, the task types of the first subtasks include types such as data storage, image recognition, and intelligent decision-making.

[0112] That is, the smart contract accesses the blockchain to query the permission information of the candidate computer rooms, and determines the target computer room corresponding to the subtask based on the priority of the permitted computer rooms and the task type.

[0113] Furthermore, the blockchain device is specifically used for:

[0114] Determine a target candidate computer room among the candidate computer rooms according to the permitted computer room indicated by the permission information of the first computer room;

[0115] Specifically, obtain the permitted computer room indicated by the permission information of the first computer room, match the identifier of the candidate computer room, and if the match is successful, use the candidate computer room as the target candidate computer room.

[0116] When the task type priority indicated by the permission information of the target candidate computer room meets the task type of the first subtask, determine the target candidate computer room as the target computer room.

[0117] Compare the task type of the first subtask with the task type priority indicated by the permission information of the target candidate computer room. If the task type priority meets the task type of the first subtask, determine the target candidate computer room as the target computer room, that is, allocate the target computer room for the first subtask.

[0118] Exemplarily:

[0119] Taking the candidate computer room set {ID1, ID5, ID8} of the first subtask TA1 as an example, the smart contract accesses the blockchain to query the permission information of each candidate computer room, such as querying the permission information of computer room 1.

[0120] Obtain the permitted computer room of the permission information of computer room 1, match the identifier of the initial computer room, and if it hits, it means that computer room 1 can receive the first subtask TA1 assigned to it by the initial computer room 2;

[0121] Compare the task type of the first subtask TA1 with the task type priority in the permission information of computer room 1. If it is satisfied, determine the assigned computer room of the first subtask TA1 as computer room 1.

[0122] In an alternative embodiment, the blockchain device is used for:

[0123] Generate the authorization certificate for the target computer room according to the characteristic information of the target computer room and the identifier of the first computer room;

[0124] Wherein, the smart contract includes the characteristic information of each computer room in the computer room operation and maintenance system.

[0125] Specifically, the smart contract obtains the computer room information of the target computer room, extracts the characteristic information (or called characteristic data) of the target computer room from the computer room information, and generates an authorization certificate based on the characteristic information and the identifier of the first computer room.

[0126] Wherein, the characteristic information of the computer room includes the temperature of the computer room, the level of the computer room, the responsible business information, the script data of the computer room, the security information of the computer room, etc.

[0127] Exemplarily, the smart contract obtains the computer room information IN1 of computer room 1 (the target computer room), extracts the feature information from the computer room information IN1, and generates an authorization certificate for computer room 1 based on the feature information and the identifier ID2 of the initial computer room 2.

[0128] Further, the blockchain device is specifically configured to:

[0129] Utilize a preset authorization information template to generate authorization information for the target computer room according to the feature information of the target computer room and the identifier of the first computer room;

[0130] Perform an encryption process on the authorization information to obtain the authorization certificate.

[0131] Among them, the preset authorization information template is pre-stored in the smart contract.

[0132] Use the identifier of the target computer room as the public key to encrypt the hash value of the authorization information to generate the authorization certificate. Optionally, an encryption process can be performed by means of hash encryption processing.

[0133] Exemplarily, the smart contract obtains the computer room information IN1 of computer room 1 (the target computer room), extracts the feature information from the computer room information IN1, and based on the feature information and the identifier ID2 of the initial computer room 2 (the first computer room), uses the authorization information template pre-stored in the smart contract to generate the authorization information AU1.

[0134] Perform a hash calculation on the authorization information AU1, and then use the computer room ID1 as the public key PK1 to encrypt the hash value of the authorization information to obtain the authorization certificate VO1. The specific formula is as follows:

[0135] VO1 = HASH(AU1)|PK1

[0136] Send the authorization certificate to the task platform so that the task platform allocates the first subtask according to the authorization certificate.

[0137] Among them, the authorization certificate generated by the smart contract includes the feature data of the computer room information IN1 of the target computer room 1 and the identifier ID2 of the initial computer room 2, which can be used for subsequent verification of the authorization certificate. When the subsequent computer room 1 verifies the authorization certificate, the local private key can be used for decryption.

[0138] In an alternative embodiment, the computer room operation and maintenance system further includes a task platform;

[0139] The first computer room is configured to:

[0140] Send the first subtask to the task platform;

[0141] Specifically, the first computer room sends the first subtask to the task platform, and the task platform stores the first subtask in temporary storage, waiting for the allocation instruction sent by the subsequent smart contract.

[0142] The blockchain device is used to:

[0143] Send the authorization certificate to the task platform.

[0144] After the blockchain device generates the above authorization certificate, it sends the authorization certificate to the task platform, so that the task platform allocates the remaining subtasks according to the authorization certificate.

[0145] The task platform is used to:

[0146] Send the first subtask and the authorization certificate to the target computer room, and receive the execution result of the first subtask.

[0147] Specifically, after receiving the authorization certificate, the task platform sends the first subtask and the authorization certificate to the target computer room, and the target computer room verifies the authorization certificate. After the verification passes, it executes the first subtask.

[0148] Exemplarily, the task platform receives the authorization certificate VO1 corresponding to the first subtask TA1 of the target computer room 1 sent by the smart contract. Sends the first subtask TA1 and the authorization certificate VO1 to the target computer room 1.

[0149] The target computer room 1 verifies the authorization certificate VO1. After the verification passes, it executes the corresponding first subtask TA1 according to the first subtask information TA1 in the subtask allocation instruction.

[0150] After the target computer room 1 finishes executing the first subtask, it sends the execution result to the task platform. Since the task platform initially received the subtask information sent by the initial computer room and later received the allocation information sent by the smart contract, the task platform can summarize the results of the completed subtasks and output the result of the overall task execution.

[0151] In an optional embodiment, the blockchain device is further used to:

[0152] Receive the on-chain resource value, the characteristic information of the computer room, and the permission information of the computer room sent by each computer room in the computer room operation and maintenance system.

[0153] For any computer room i, a corresponding blockchain node is configured in the blockchain device, and the relevant information of the computer room can be uploaded to the blockchain device for storage through the corresponding blockchain node.

[0154] Specifically, each computer room i sends the computer room identifier ID i 、computer room information IN iAnd the permission information PE i , which is uploaded to the blockchain for storage.

[0155] Among them, the computer room identification ID i is the identification of each computer room i, such as computer room 1, computer room 2, etc.; the computer room information IN i is the information obtained by hashing the main information of the computer room, such as cluster information, etc., and is used to generate authorization certificates for subsequent smart contracts. The computer room information IN i includes the characteristic information of the computer room.

[0156] The permission information PE i is the pre-set permission content for each computer room i, that is, the computer rooms allowed to allocate subtasks to it, and the priority of the task types to be processed, which is used for subsequent smart contracts to determine the computer rooms that can allocate subtasks based on the permission information. For example, the pre-set permission information PE1 for computer room ID1 can be shown in Table 1 as follows:

[0157] Table 1 Permission Information

[0158] Licensed computer room Computer rooms 2, 5, and 6 Task type Data storage, image recognition, intelligent decision-making

[0159] The above Table 1 shows that for computer room 1, computer rooms 2, 5, and 6 are allowed to allocate subtasks to it, and the priority of the subtask types it receives is: data storage -> image recognition -> intelligent decision-making.

[0160] In this embodiment, the pre-set permitted computer rooms for each computer room mainly consider the transmission between computer rooms, which involves the dependency relationship of multiple subtasks, and the transmission between computer rooms is particularly important; the priority of task types mainly considers the composition of each cluster included in each computer room. For example, if there are more Elasticsearch clusters, it is good at executing tasks that require multiple nodes to work together, such as searching, indexing, and deleting documents. In addition, if the permission scope changes due to changes in hardware facilities, each computer room can upload the changed computer room information and permission information to the chain separately, and query the latest data on the chain according to the upload time.

[0161] Each computer room i calculates the resource value according to the current resource information (that is, the resource value on the chain) and sends it to the smart contract, and the smart contract combines the resource values of all computer rooms into a record RE i , together with the time stamp t i and stores it in the record library.

[0162] Specifically, after each computer room i uploads and stores the computer room identification ID i , the computer room information IN i and the permission information PE i to the chain, it is necessary to regularly calculate the resource value of each computer room i Send to the smart contract for subsequent correction of the real-time remaining resource data of the computer room, so that the smart contract selects candidate computer rooms for executing subtasks according to the corrected remaining resource data of each computer room.

[0163] Among them, the on-chain resource value of the computer room is determined according to the priority of resource allocation of the computer room, the number of computer rooms in the computer room operation and maintenance system, the load of the computer room, the resource utilization rate of the computer room, and the total amount of resources of the computer rooms in the computer room operation and maintenance system.

[0164] Specifically, the on-chain resource value of each computer room i is calculated according to the following formula:

[0165]

[0166] Among them, θ is a coefficient, and the data range is 1 to 2; n is the priority of resource allocation of the computer room. When the priority of resource allocation of the computer room is the lowest among all computer rooms, n = 1; N is the total number of all computer rooms; LO i is the load of the computer room; R i is the resource utilization rate of the computer room; is the total amount of resources of all computer rooms.

[0167] In an optional embodiment, the first computer room is used for:

[0168] In the case that the remaining resources of the first computer room cannot meet the required resources of the first task, split the first task into at least one first subtask;

[0169] Taking computer room 2 as the initial computer room as an example, computer room 2 receives the current first task, determines the amount of resources used according to the first task, and compares it with the current remaining resource amount:

[0170] If the current remaining resource amount > the amount of resources used (that is, the remaining resources of the first computer room can meet the required resources of the first task), then computer room 2 executes the task, that is, in the case that the remaining resources of the first computer room can meet the required resources of the first task, the second computer room executes the first task;

[0171] If the current remaining resource amount < the amount of resources used (that is, the remaining resources of the first computer room cannot meet the required resources of the first task), then computer room 2 disassembles the current task to obtain a subtask set (including at least one subtask).

[0172] Each computer room in the computer room operation and maintenance system is used for:

[0173] In the case that the remaining resources of the computer room are higher than the preset ratio of the required resources of the first subtask, determine that the computer room is the second computer room;

[0174] The second computer room is used for:

[0175] Sending the identifier of the second computer room and the remaining resources of the second computer room to the first computer room.

[0176] That is, after other computer rooms receive the broadcast first sub-task, they compare it with the remaining resources of the computer room. If it is satisfied, they return the identifier of the computer room and the remaining resources to the first computer room. The first computer room assembles the identifier and the remaining resources into an allocation request and sends it to the smart contract;

[0177] Exemplarily, other computer rooms receive the remaining first sub-tasks {TA1, TA3} broadcast by the initial computer room 2, and compare the required resources of the first sub-task, such as the number of CPU logical cores to be allocated, the memory to be allocated, and the number of GPUs to be allocated, etc., with the current remaining resources of the computer room. If the resource surplus is at least 20% (i.e., the preset ratio), the computer room identifier and the current remaining resources are returned to the initial computer room.

[0178] The initial computer room 2 receives the computer room identifiers and the current remaining resources sent by each computer room that meets the conditions, assembles them into an allocation request and sends it to the smart contract. Among them, the allocation request includes, in addition to the computer room identifier, such as {ID1, ID3, ID5, ID6, ID8, ID 10 , ID 13}, the remaining resources of the corresponding computer room, and the first sub-task {TA1, TA3}.

[0179] An embodiment of the present invention proposes a cross-computer-room operation and maintenance control system based on blockchain technology. Each computer room uploads the computer room information and permission information to the blockchain for storage, and sends the computing resource value to the smart contract. When performing task allocation, the task is first allocated to the initial computer room, and then the sub-tasks are split and broadcast in the blockchain network. Other computer rooms respond, and the smart contract determines the sub-task allocation and generates an authorization certificate. The corresponding computer room verifies the authorization certificate and executes the sub-task. The present invention is a non-centralized task allocation. Since each computer room decentralizes the task allocation, it can effectively improve the flexibility of multi-computer-room task allocation and enhance the utilization rate of computing resources. In addition, by combining blockchain and smart contract, it avoids the influence of trust issues between computer rooms on task allocation efficiency.

[0180] The cross-computer-room intelligent operation and maintenance product designed by the present invention. The initial computer room splits the sub-tasks and broadcasts them. The smart contract determines the target computer room based on the remaining resource correction value of the responding computer room and the data on the chain, generates an authorization certificate, and the target computer room verifies the authorization certificate and executes the sub-task, realizing the decentralized task allocation of each computer room, and improving the flexibility and allocation efficiency of task allocation.

[0181] The task platform of the present invention queries the task pool and sends the current task information to the computer room where the previous task was completed. The initial computer room makes a judgment based on the task information. If it is not satisfied, the task is disassembled into subtasks and broadcast in the blockchain network.

[0182] The intelligent contract of the present invention adjusts the remaining resources according to the resource values of each computer room in the latest record compares them with the remaining subtask information in the allocation request, selects the computer rooms that meet the requirements as candidate computer rooms, and provides the specific method for each computer room i to calculate the resource value according to resource allocation priorities, resource utilization rates and other resource information Since the influence of factors such as resource utilization rate is fully considered, the accuracy of task allocation can be improved.

[0183] The intelligent contract of the present invention accesses the blockchain to query the permission information of the candidate computer rooms, determines the target computer room corresponding to the subtask based on the permission computer rooms and the priorities of the task types, and generates an authorization certificate.

[0184] When the present invention performs task allocation, the task is first allocated to the initial computer room. Subsequently, the initial computer room disassembles the subtasks and broadcasts them in the blockchain network, and other computer rooms respond. The intelligent contract determines the subtask allocation and generates an authorization certificate according to the resource values of each computer room uploaded regularly and the data stored on the chain. The corresponding computer room verifies the authorization certificate and executes the subtask. The present invention is a non - centralized task allocation, which can effectively improve the flexibility of multi - computer room task allocation and enhance the utilization rate of computing resources.

[0185] At the same time, the intelligent contract of the present invention confirms the computer room for allocating subtasks in two steps. First, it compares the corrected value of the remaining resources with the subtask requirements to determine the candidate computer rooms, and then combines the permission information of each computer room and the task type priorities in the data on the chain to determine the target computer room, further improving the accuracy of task allocation.

[0186] In addition, the present invention considers that judging whether it matches the task requirements only based on the remaining resources is prone to inaccurate task allocation due to the lack of consideration of factors such as resource utilization rate. Therefore, a resource value is designed to correct the real - time remaining resource data of the computer room effectively improving the accuracy of the intelligent contract in determining the candidate computer rooms.

[0187] As Figure 3 shown, the embodiment of the present invention also provides a computer room operation and maintenance method, which is applied to the first computer room. The method includes:

[0188] Step 301: Split the obtained first task into at least one subtask, and broadcast the first subtask to other computer rooms in the computer room operation and maintenance system;

[0189] Step 302: After receiving the first request message sent by the second computer room, send the first request message to the blockchain device;

[0190] Wherein, the first request message includes the identifier of the second computer room and the current remaining resources of the second computer room.

[0191] Optionally, the first computer room is the computer room for obtaining the second task;

[0192] Wherein, the second task is the task adjacent to the first task before, and the second task is a task that has been executed and completed.

[0193] Optionally, the method further includes:

[0194] Send the first subtask to the task platform.

[0195] Optionally, splitting the obtained first task into at least one subtask includes:

[0196] In the case that the remaining resources of the first computer room cannot meet the required resources of the first task, split the first task into at least one subtask.

[0197] It should be noted that the computer room operation and maintenance method applied to the first computer room provided in the embodiments of the present invention is a method that can be executed by the first computer room in the above computer room operation and maintenance system. Then, all embodiments of the above computer room operation and maintenance system are applicable to the first computer room and can achieve the same or similar technical effects.

[0198] Such as Figure 4 As shown, the embodiments of the present invention further provide a computer room operation and maintenance method, which is applied to a blockchain device. The method includes:

[0199] Step 401: Determine the target computer room for executing the first subtask in the second computer room according to the on-chain resource value of the second computer room and the first request message;

[0200] Step 402: Generate an authorization certificate for the target computer room;

[0201] Step 403: Control the target computer room to execute the first subtask according to the authorization certificate;

[0202] Wherein, the first request message includes the identifier of the second computer room and the current remaining resources of the second computer room; a smart contract is stored on the blockchain device, and the smart contract includes the on-chain resource values of each computer room in the computer room operation and maintenance system.

[0203] Optionally, determining the target computer room for executing the first subtask in the second computer room according to the on-chain resource value of the second computer room and the first request message includes:

[0204] Modify the remaining resources of the second computer room according to the on-chain resource value of the second computer room in the computer room operation and maintenance system and the remaining resources of the second computer room to obtain the first remaining resources of the second computer room;

[0205] Determine the target computer room for executing the first subtask in the second computer room according to the first remaining resources of the second computer room, the task requirements of the first subtask, and the permission information of the first computer room;

[0206] Among them, the intelligent contract includes the permission information of each computer room in the computer room operation and maintenance system.

[0207] Optionally, modifying the remaining resources of the second computer room according to the on-chain resource value of the second computer room in the computer room operation and maintenance system and the remaining resources of the second computer room to obtain the first remaining resources of the second computer room includes:

[0208] Use the on-chain resource value of the second computer room as the correction coefficient of the remaining resources of the second computer room, and use the correction coefficient to correct the remaining resources of the second computer room to obtain the first remaining resources of the second computer room.

[0209] Optionally, determining the target computer room for executing the first subtask in the second computer room according to the first remaining resources of the second computer room, the task requirements of the first subtask, and the permission information of the first computer room includes:

[0210] Use the computer rooms in the second computer room where the first remaining resources are greater than the required resources of the first subtask as candidate computer rooms;

[0211] Determine the target computer room for executing the first subtask in the candidate computer rooms according to the permission information of the first computer room, the permission information of the candidate computer rooms, and the task type of the first subtask.

[0212] Optionally, determining the target computer room for executing the first subtask in the candidate computer rooms according to the permission information of the first computer room, the permission information of the candidate computer rooms, and the task type of the first subtask includes:

[0213] Determine the target candidate computer room in the candidate computer rooms according to the permitted computer rooms indicated by the permission information of the first computer room;

[0214] When the task type priority indicated by the permission information of the target candidate computer room meets the task type of the first subtask, determine the target candidate computer room as the target computer room.

[0215] Optionally, the method further includes:

[0216] Generate the authorization credential for the target computer room according to the characteristic information of the target computer room and the identifier of the first computer room;

[0217] Wherein, the smart contract includes the characteristic information of each computer room in the computer room operation and maintenance system.

[0218] Optionally, generating the authorization credential for the target computer room according to the characteristic information of the target computer room and the identifier of the first computer room includes:

[0219] Generate authorization information for the target computer room by using a preset authorization information template according to the characteristic information of the target computer room and the identifier of the first computer room;

[0220] Perform encryption processing on the authorization information to obtain the authorization credential.

[0221] It should be noted that the computer room operation and maintenance method applied to the blockchain device provided in the embodiments of the present invention can execute the method executed by the blockchain device in the above computer room operation and maintenance system. Therefore, all embodiments of the above computer room operation and maintenance system are applicable to this blockchain device and can achieve the same or similar technical effects.

[0222] The above are the preferred embodiments of the present invention. It should be pointed out that for those of ordinary skill in the art, several improvements and refinements can be made without departing from the principle described in the present invention, and these improvements and refinements are also within the protection scope of the present invention.

Claims

1. A computer room operation and maintenance system, characterized in that, The described computer room operation and maintenance system includes: a blockchain device and multiple computer rooms; The first computer room is used to split the obtained first task into at least one subtask, and broadcast the first subtask to other computer rooms in the computer room operation and maintenance system; after receiving the first request information sent by the second computer room, send the first request information to the blockchain device; the first computer room is one of the multiple computer rooms; the second computer room is at least one of the multiple computer rooms; the first request information includes the identifier of the second computer room and the current remaining resources of the second computer room; The blockchain device is used to determine the target computer room in the second computer room to execute the first subtask according to the on-chain resource value of the second computer room and the first request information, generate an authorization certificate for the target computer room, and control the target computer room to execute the first subtask according to the authorization certificate; Among them, an intelligent contract is stored on the blockchain device, and the intelligent contract includes the on-chain resource values of each computer room in the computer room operation and maintenance system.

2. The system according to claim 1, wherein The first computer room is the computer room that obtains the second task; Among them, the second task is the task adjacent to the first task before, and the second task is a task that has been executed and completed.

3. The system according to claim 1, wherein The first subtask is the subtask other than the second subtask among the at least one subtask; the second subtask is the subtask that the first computer room can execute; Among them, the first computer room is used to execute the second subtask.

4. The system according to claim 1, wherein The blockchain device is used for: According to the on-chain resource value of the second computer room in the computer room operation and maintenance system and the remaining resources of the second computer room, correct the remaining resources of the second computer room to obtain the first remaining resources of the second computer room; According to the first remaining resources of the second computer room, the task requirements of the first subtask, and the permission information of the first computer room, determine the target computer room in the second computer room to execute the first subtask; Among them, the intelligent contract includes the permission information of each computer room in the computer room operation and maintenance system.

5. The system according to claim 4, characterized in that, The blockchain device specifically is used for: Take the on-chain resource value of the second computer room as the correction coefficient of the remaining resources of the second computer room, and use the correction coefficient to correct the remaining resources of the second computer room to obtain the first remaining resources of the second computer room.

6. The system according to claim 4, wherein The blockchain device specifically is used for: Regard the computer rooms in the second computer room where the first remaining resources are greater than the required resources of the first subtask as candidate computer rooms; According to the permission information of the first computer room, the permission information of the candidate computer rooms, and the task type of the first subtask, determine the target computer room in the candidate computer rooms to execute the first subtask.

7. The system according to claim 6, characterized in that, The blockchain device specifically is used for: According to the permitted computer rooms indicated by the permission information of the first computer room, determine the target candidate computer rooms among the candidate computer rooms; When the task type priority indicated by the permission information of the target candidate computer room meets the task type of the first subtask, determine the target candidate computer room as the target computer room.

8. The system according to claim 1, wherein The blockchain device is used for: Generate the authorization certificate for the target computer room according to the characteristic information of the target computer room and the identifier of the first computer room; Among them, the smart contract includes the characteristic information of each computer room in the computer room operation and maintenance system.

9. The system according to claim 8, wherein The blockchain device is specifically used for: Using a preset authorization information template, generating authorization information for the target computer room according to the characteristic information of the target computer room and the identifier of the first computer room; Performing an encryption process on the authorization information to obtain the authorization certificate.

10. The system according to claim 1, wherein The computer room operation and maintenance system further includes a task platform; The first computer room is used for: Sending the first subtask to the task platform; The blockchain device is used for: Sending the authorization certificate to the task platform; The task platform is used for: Sending the first subtask and the authorization certificate to the target computer room, and receiving the execution result of the first subtask.

11. The system according to claim 1, wherein The blockchain device is further used for: Receiving the on-chain resource value, the characteristic information of the computer room, and the permission information of the computer room sent by each computer room in the computer room operation and maintenance system.

12. The system according to claim 11, wherein The on-chain resource value of the computer room is determined according to the priority of resource allocation of the computer room, the number of computer rooms in the computer room operation and maintenance system, the load of the computer room, the resource utilization rate of the computer room, and the total amount of resources of the computer rooms in the computer room operation and maintenance system.

13. The system according to claim 1, wherein The first computer room is used for: In the case that the remaining resources of the first computer room cannot meet the required resources of the first task, splitting the first task into at least one subtask; Each computer room in the computer room operation and maintenance system is used for: In the case that the remaining resources of the computer room are higher than a preset ratio of the required resources of the first subtask, determining that the computer room is the second computer room; The second computer room is used for: Sending the identifier of the second computer room and the remaining resources of the second computer room to the first computer room.

14. A method for operation and maintenance of a computer room, characterized in that, Applied to the first computer room, the method includes: Splitting the obtained first task into at least one subtask, and broadcasting the first subtask to other computer rooms in the computer room operation and maintenance system; After receiving the first request information sent by the second computer room, sending the first request information to the blockchain device; Among them, the first request information includes the identifier of the second computer room and the current remaining resources of the second computer room.

15. A computer room operation and maintenance method, characterized in that Applied to the blockchain device, the method includes Determining the target computer room for executing the first subtask in the second computer room according to the on-chain resource value of the second computer room and the first request information; Generating an authorization certificate for the target computer room; Controlling the target computer room to execute the first subtask according to the authorization certificate; Among them, the first request information includes the identifier of the second computer room and the remaining resources of the second computer room; a smart contract is stored on the blockchain device, and the smart contract includes the on-chain resource value of each computer room in the computer room operation and maintenance system.