A resource management system and method for municipal construction
By obtaining and analyzing shared resource scheduling data in municipal construction projects and determining resource scheduling queues, the problem of poor invulnerability of shared resource scheduling systems in municipal construction projects is solved, and dynamic load balancing of resources and improvement of system stability are achieved.
Patent Information
- Application Number
- CN202411016936.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The shared resource scheduling system of existing municipal construction projects has poor invulnerability in cluster mode. As the scale of computing nodes increases, system performance decreases significantly and may even cause the system to crash. How to improve the invulnerability of the project's main control node is a difficult problem.
By obtaining the shared resource scheduling data of municipal construction projects, extract the resource scheduling records of the project main control node and regulatory node, perform load verification and resource constraint balancing coefficient calculation, determine the shared resource scheduling queue, and distribute scheduling tasks to multiple regulatory nodes. , to reduce the impact of single points of failure.
It achieves dynamic load balancing of resources, reduces resource conflicts, improves the system's disaster tolerance and invulnerability, and ensures the stable operation of the project.
Smart Images

Figure CN118552012B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of resource management, and more specifically, to a resource management system and method for municipal construction. Background Art
[0002] Resource Management refers to the process of effectively allocating and utilizing various resources in an organization or project to achieve established goals and maximize the value of resources. Resources can include manpower, funds, equipment, materials, time, etc. Effective resource management is crucial to the success of a project and the operational efficiency of an organization.
[0003] The shared resource management of municipal construction projects refers to the effective planning, allocation and dynamic adjustment of shared resources through systematic methods during the construction process to ensure the efficient advancement of the project and the maximum utilization of resources. In the process of scheduling shared resources, appropriate scheduling algorithms (such as shortest job first, priority scheduling, round-robin scheduling) can be used to allocate resources to ensure the rational use of resources and the orderly development of tasks. In the prior art, a centralized cluster resource scheduling architecture is usually used for scheduling. However, in this architecture mode, the cluster master node manages and maintains the entire cluster and is responsible for maintaining the joint point of the entire system. Therefore, the anti-destruction performance is extremely poor. When the master node performs resource scheduling, it needs to poll and scan the computing node resource information. As the scale of computing nodes increases, the system performance will be greatly reduced, and in severe cases, it may also cause the collapse of the entire system. Therefore, how to distribute the project shared resource scheduling tasks to the project control nodes to improve the anti-destruction performance of the project master node is a difficult problem faced by the industry. Summary of the invention
[0004] The present application provides a resource management system and method for municipal construction, which can distribute project shared resource scheduling tasks to project control nodes to improve the anti-destruction capability of the project master control node.
[0005] In a first aspect, the present application provides a resource management method for municipal construction, comprising the following steps:
[0006] Obtain shared resource scheduling data for municipal construction projects within a specified time period;
[0007] Extracting the resource scheduling record of the project master control node from the shared resource scheduling data, and then performing load verification on the resource scheduling record of the project master control node according to a preset resource baseline to obtain a resource load verification neighborhood of the project master control node;
[0008] Extracting the resource scheduling record of each project control node from the shared resource scheduling data, performing resource constraints on the resource scheduling record of each project control node, and obtaining the resource constraint balancing coefficient of each project control node;
[0009] Determine the shared resource scheduling queue by verifying the resource load of the project master node in the neighborhood and the resource constraint balancing coefficient of all project control nodes;
[0010] The shared resource scheduling queue is used to schedule shared resources in the municipal construction project.
[0011] In some embodiments, extracting the resource scheduling record of the project master control node from the shared resource scheduling data is to associate and match the shared resource scheduling data with the project master control node to obtain the resource scheduling record of the project master control node.
[0012] In some embodiments, performing load verification on the resource scheduling record of the project master control node according to a preset resource baseline to obtain the resource load verification neighborhood of the project master control node specifically includes:
[0013] Determine the resource load factor of each shared resource in the municipal construction project according to the preset resource baseline and the resource scheduling record of the project master control node;
[0014] Preset the load baseline of the project master node;
[0015] Verifying all resource load coefficients based on the load baseline to obtain multiple resource load verification quantities;
[0016] The resource load verification neighborhood of the project master node is determined by all resource load verification quantities.
[0017] In some embodiments, determining the resource load factor of each shared resource in the municipal construction project according to the preset resource baseline and the resource scheduling record of the project master control node specifically includes:
[0018] Determine the resource load of each shared resource in the municipal construction project through the resource scheduling record of the project master control node;
[0019] The resource load coefficient of each shared resource in the municipal construction project is determined according to the resource load degree of each shared resource and the preset resource baseline.
[0020] In some embodiments, verifying all resource load factors based on the load baseline is to compare and verify the load baseline and all resource load factors respectively.
[0021] In some embodiments, determining the shared resource scheduling queue by verifying the resource load of the project master node and the resource constraint balancing coefficient of all project control nodes specifically includes:
[0022] Determining a discreteness of the resource load verification neighborhood;
[0023] For each project control node, the control priority of the project control node is determined by the resource constraint balancing coefficient of the project control node and the discreteness of the resource load verification neighborhood, thereby obtaining the control priority of each project control node;
[0024] The shared resource scheduling queue is determined according to the control priorities of all project control nodes.
[0025] In some embodiments, using the shared resource scheduling queue to schedule shared resources in a municipal construction project is to configure the shared resources in the municipal construction project according to the order of the project control nodes in the shared resource scheduling queue.
[0026] In a second aspect, the present application provides a resource management system for municipal construction, including a resource scheduling unit, wherein the resource scheduling unit includes:
[0027] An acquisition module is used to obtain the shared resource scheduling data of municipal construction projects within a specified time period;
[0028] A processing module, used to extract the resource scheduling record of the project master control node from the shared resource scheduling data, and then perform load verification on the resource scheduling record of the project master control node according to a preset resource baseline to obtain a resource load verification neighborhood of the project master control node;
[0029] The processing module is further used to extract the resource scheduling record of each project control node from the shared resource scheduling data, perform resource constraints on the resource scheduling record of each project control node, and obtain the resource constraint balancing coefficient of each project control node;
[0030] The processing module is further used to determine the shared resource scheduling queue through the resource load verification neighborhood of the project master control node and the resource constraint balancing coefficient of all project control nodes;
[0031] An execution module is used to schedule shared resources in a municipal construction project using the shared resource scheduling queue.
[0032] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned resource management method for municipal construction.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions or codes are stored. When the instructions or codes are run on a computer, the computer implements the above-mentioned resource management method for municipal construction when executing.
[0034] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:
[0035] In a resource management system and method for municipal construction provided by the present application, shared resource scheduling data of a municipal construction project within a specified time period is obtained; the resource scheduling record of the project master control node is extracted from the shared resource scheduling data, and then the resource scheduling record of the project master control node is load verified according to a preset resource baseline to obtain the resource load verification neighborhood of the project master control node; the resource scheduling record of each project control node is extracted from the shared resource scheduling data, resource constraints are imposed on the resource scheduling record of each project control node to obtain the resource constraint balancing coefficient of each project control node; a shared resource scheduling queue is determined through the resource load verification neighborhood of the project master control node and the resource constraint balancing coefficients of all project control nodes; and the shared resource scheduling queue is used to schedule the shared resources in the municipal construction project.
[0036] It can be seen that in this application, the project shared resource scheduling tasks can be distributed to the project control nodes to improve the anti-destruction ability of the project master node; wherein, firstly, by extracting the resource scheduling records of the project master node and performing load verification, the usage and load level of each shared resource can be accurately understood to achieve dynamic load balancing of resources, thereby effectively reducing the occurrence of resource conflicts in the scheduling process; then, by constraining each project control node with resources, the resource balance degree of the project control node can be more accurately measured, and the resource constraint balance coefficient can be used to help identify and correct the imbalance of resource allocation to ensure the load balance of each node; secondly, the shared resource scheduling queue is determined using the resource load verification neighborhood and the resource constraint balance coefficient to ensure that the resource load of each project control node is reasonably distributed; finally, the scheduling tasks are distributed to multiple project control nodes through the shared resource scheduling queue, which can reduce the impact of single point failures on the system and improve the anti-destruction ability of the master node. In summary, the technical solution adopted in this application can distribute the project shared resource scheduling tasks to the project control nodes to improve the anti-destruction ability of the project master node. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0038] Figure 1 is an exemplary flow chart of a resource management method for municipal construction according to some embodiments of the present application;
[0039] Figure 2 is an exemplary flow chart of determining a resource load verification neighborhood according to some embodiments of the present application;
[0040] Figure 3 is an exemplary flow chart of determining a shared resource scheduling queue according to some embodiments of the present application;
[0041] Figure 4 is a schematic diagram of exemplary hardware and / or software of a resource scheduling unit according to some embodiments of the present application;
[0042] Figure 5 It is a structural diagram of a computer device for implementing a resource management method for municipal construction according to some embodiments of the present application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0044] The embodiment of the present application provides a resource management system and method for municipal construction, the core of which is to obtain the shared resource scheduling data of the municipal construction project within a specified time period; extract the resource scheduling record of the project master control node from the shared resource scheduling data, and then perform load verification on the resource scheduling record of the project master control node according to the preset resource baseline to obtain the resource load verification neighborhood of the project master control node; extract the resource scheduling record of each project control node from the shared resource scheduling data, perform resource constraints on the resource scheduling record of each project control node, and obtain the resource constraint balance coefficient of each project control node; determine the shared resource scheduling queue through the resource load verification neighborhood of the project master control node and the resource constraint balance coefficient of all project control nodes; use the shared resource scheduling queue to schedule the shared resources in the municipal construction project. The above scheme can be used to distribute the project shared resource scheduling tasks to the project control nodes to improve the anti-destruction performance of the project master control nodes.
[0045] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a resource management method for municipal construction according to some embodiments of the present application. The resource management method 100 for municipal construction mainly includes the following steps:
[0046] In step 101, shared resource scheduling data of a municipal construction project within a specified time period is obtained.
[0047] In some embodiments, the shared resource scheduling data of the municipal construction project within a specified time period is obtained in the central database of the municipal construction project; in the specific implementation, first, the start time and end time of the shared resource scheduling data to be obtained are clarified; then, the shared resource scheduling data within the specified time period is queried in the central database of the municipal construction project through the database query language, that is, the shared resource scheduling data within the specified time period is obtained; it should be noted that in the present application, the shared resource scheduling data is composed of multiple shared resource scheduling records of the municipal construction project within the specified time period, and the shared resource scheduling record includes: scheduling record number, scheduling time, shared resource usage time, scheduling node and shared resource name; the project master control node is the master control node of the resource management system in the municipal construction project, which is responsible for the scheduling tasks of the entire resource management system, and the project regulation node is a sub-node of the resource management system in the municipal construction project, which is responsible for more specific scheduling tasks.
[0048] In step 102, the resource scheduling record of the project master control node is extracted from the shared resource scheduling data, and then the resource scheduling record of the project master control node is load verified according to a preset resource baseline to obtain the resource load verification neighborhood of the project master control node.
[0049] In some embodiments, extracting the resource scheduling record of the project master control node from the shared resource scheduling data is to associate and match the shared resource scheduling data with the project master control node to obtain the resource scheduling record of the project master control node; in specific implementation, the project can associate and match the shared resource scheduling data with the project master control node, that is, match and query the shared resource scheduling records of all scheduling nodes in the shared resource scheduling data as the project master control node, and all shared resource scheduling records obtained by the matching query can be combined with the project master control node as the primary key to obtain a scheduling record, and the scheduling record is used as the resource scheduling record of the project master control node; it should be noted that the resource scheduling record contains the shared resource name, scheduling time and shared resource usage time scheduled by the project master control node.
[0050] Preferably, in some embodiments, reference Figure 2 As shown in FIG. 1 , this figure is an exemplary flow chart of determining a resource load verification neighborhood in some embodiments of the present application. In this embodiment, the resource scheduling record of the project master node is load verified according to a preset resource baseline, and the resource load verification neighborhood of the project master node is obtained, which can be implemented by the following steps:
[0051] First, in step 1021, the resource load coefficient of each shared resource in the municipal construction project is determined according to the preset resource baseline and the resource scheduling record of the project master control node;
[0052] Then, in step 1022, a load baseline of the project master node is preset;
[0053] Next, in step 1023, all resource load coefficients are verified based on the load baseline to obtain a plurality of resource load verification quantities;
[0054] Finally, in step 1024, the resource load verification neighborhood of the project master node is determined through all resource load verification quantities.
[0055] It should be noted that in this application, the resource load verification neighborhood is a data domain containing multiple resource load verification neighborhood quantities; the resource load verification quantity is a verification value indicating the load of the project master node when scheduling shared resources; the resource load coefficient indicates the load level of the project master node when scheduling shared resources. The resource baseline indicates the usage baseline of shared resources, which can be represented by a benchmark value in actual implementation; the load baseline indicates the usage baseline of the project master node, which can be represented by a benchmark value in actual implementation. The resource baseline and the load baseline can be set based on historical experience.
[0056] In specific implementation, first, the resource load coefficient of each shared resource in the municipal construction project can be determined according to the preset resource baseline and the resource scheduling record of the project master control node; then, the load baseline of the project master control node is set, for example, in this application, the load baseline (i.e., the reference value) of the project master control node is set to 80%; secondly, based on the load baseline, all resource load coefficients are verified by comparing the load baseline and all resource load coefficients respectively, that is, when the resource load coefficient of a shared resource is lower than 80%, it is determined that the shared resource is underloaded on the project master control node, that is, the resource load verification amount is obtained, and the resource load verification amount can be expressed as: shared resource name, resource load coefficient <80%, low load, when the resource load coefficient of a shared resource is higher than 80% and lower than 100%, it is a reasonable load, and when the resource load coefficient of a shared resource is higher than 100%, it is overloaded, and all resource load verification amounts can be obtained in the above manner; finally, the data domain composed of all resource load verification amounts can be used as the resource load verification neighborhood of the project master control node.
[0057] In the above embodiment, the resource load coefficient of each shared resource in the municipal construction project can be determined according to the preset resource baseline and the resource scheduling record of the project master control node in the following manner, namely:
[0058] Determine the resource load of each shared resource in the municipal construction project through the resource scheduling record of the project master control node;
[0059] The resource load coefficient of each shared resource in the municipal construction project is determined according to the resource load degree of each shared resource and the preset resource baseline.
[0060] It should be noted that, in the present application, resource load degree indicates the load degree of shared resources; in specific implementation, first, for each shared resource, the usage time of the shared resource can be obtained from the resource scheduling record of the project master node, and the total usage time of the shared resource can be obtained from the shared resource usage manual of the municipal construction project, so that the ratio of the usage time of the shared resource to the total usage time of the shared resource can be used as the resource load degree of the shared resource, and the resource load degree of each shared resource in the municipal construction project can be obtained in the above manner; then, a resource baseline is set, and different resource baselines can be set for different shared resources. For example, the resource baseline of mechanical equipment can be set to the standard usage time, the resource baseline of personnel can be set to the standard working hours, and the resource baseline of materials can be set to the standard consumption. For each shared resource, the resource load degree of the shared resource and the ratio of the shared resource to the resource baseline can be used as the resource load coefficient of the shared resource. The resource load coefficient of each shared resource in the municipal construction project can be obtained in the above manner.
[0061] In addition, it should be noted that by extracting the resource scheduling records of the project master node and performing load verification, the usage and load level of each shared resource can be accurately understood. By clarifying the resource load to achieve dynamic load balancing of resources, the occurrence of resource conflicts during the scheduling process can be effectively reduced, overloading of the project master node can be avoided, and the overall system's anti-destruction capability can be improved.
[0062] In step 103, the resource scheduling record of each project control node is extracted from the shared resource scheduling data, resource constraints are performed on the resource scheduling record of each project control node, and the resource constraint balancing coefficient of each project control node is obtained.
[0063] In some embodiments, extracting the resource scheduling record of each project control node from the shared resource scheduling data is to associate and match the shared resource scheduling data with the project control node; in specific implementation, the project can associate and match the shared resource scheduling data with the project control node, that is, match and query the shared resource scheduling records of all scheduling nodes in the shared resource scheduling data that are project control nodes. For each project control node, all shared resource scheduling records related to the project control node obtained by the matching query can be combined with the project control node as the primary key to obtain a scheduling record, and the scheduling record is used as the resource scheduling record of the project master node. The resource scheduling record of each project control node can be obtained in the above manner; it should be noted that the resource scheduling record contains the shared resource name, scheduling time and shared resource usage time scheduled by the project control node.
[0064] Preferably, in some embodiments, resource constraints are applied to the resource scheduling records of each project control node, and the resource constraint balancing coefficient of each project control node can be obtained in the following manner, namely:
[0065] For each project control node, time constraints are applied to the resource scheduling records of the project control node to obtain the resource time constraint amount of the project control node;
[0066] Perform spatial constraints on the resource scheduling records of the project control nodes to obtain the resource space constraint amount of the project control nodes;
[0067] The resource constraint balancing coefficient of the project control node is determined by the resource time constraint amount and the resource space constraint amount, and then the resource constraint balancing coefficient of each project control node is obtained.
[0068] It should be noted that in the present application, the resource constraint balance coefficient represents the degree of utilization balance of the project control node when scheduling shared resources. The resource constraint balance coefficient can reflect the utilization rate of shared resources by the project control node, so that the project tasks can be reasonably allocated to the project control nodes based on the resource constraint balance coefficient to improve the efficiency and rationality of resource scheduling; the resource time constraint is the constraint on the overall utilization time of shared resources when the project control node schedules shared resources; the resource space constraint is the constraint on the utilization rate of the project control node when the project control node schedules shared resources.
[0069] In the specific implementation, first, for each project control node, the utilization time of all shared resources in the resource scheduling record of the project control node can be traversed, so as to impose time constraints on the utilization time of all shared resources, that is, calculate the average utilization time of all shared resources, and use the ratio of the obtained average value to the sum of the available time of all shared resources scheduled by the project control node as the resource time constraint of the project control node; then, the utilization rate of the project control node when scheduling each shared resource can be calculated through the resource scheduling record of the project control node, so as to impose spatial constraints on all utilization rates, that is, calculate the average value of all utilization rates, and use the result as the resource space constraint of the project control node; finally, the sum of the square of the resource time constraint and the square of the resource space constraint can be calculated, and the ratio of the calculated result to 2 can be used as the resource constraint balance coefficient of the project control node. The resource constraint balance coefficient of each project control node can be obtained in the above manner.
[0070] It should be noted that by imposing resource constraints on each project control node, the resource balance degree of the project control node can be measured more accurately, and the resource constraint balance coefficient can help identify and correct the imbalance in resource allocation, ensure the load balance of each node, and thus distribute resource scheduling tasks to multiple project control nodes to improve the system's disaster recovery and anti-destruction capabilities.
[0071] In step 104, a shared resource scheduling queue is determined by verifying the resource load of the project master node and the resource constraint balancing coefficients of all project control nodes.
[0072] Preferably, in some embodiments, reference Figure 3 As shown, this figure is an exemplary flow chart of determining a shared resource scheduling queue in some embodiments of the present application. In this embodiment, the shared resource scheduling queue is determined by verifying the resource load of the project master node and the resource constraint balancing coefficient of all project control nodes, which can be implemented by the following steps:
[0073] First, in step 1041, the discreteness of the resource load verification neighborhood is determined;
[0074] Then, in step 1042, for each project control node, the control priority of the project control node is determined by the resource constraint balancing coefficient of the project control node and the discreteness of the resource load verification neighborhood, thereby obtaining the control priority of each project control node;
[0075] Finally, in step 1043, the shared resource scheduling queue is determined according to the control priorities of all project control nodes.
[0076] It should be noted that in the present application, the discreteness of the resource load verification neighborhood indicates the discrete degree of the distribution of the resource load verification quantity in the resource load verification neighborhood; the control priority indicates the priority level of the project control node; and the shared resource scheduling queue is a queue arranged by the project control nodes according to the control priority.
[0077] In the specific implementation, first, the standard deviation of the resource load verification neighborhood can be calculated, and the standard deviation can be used as the discreteness of the resource load verification neighborhood; then, for each project control node, the product of the resource constraint balancing coefficient of the project control node and the discreteness of the resource load verification neighborhood can be used as the control priority of the project control node. The control priority of each project control node can be obtained in the above manner; finally, all project control nodes are arranged according to the control priority to obtain a queue, which can be used as a shared resource scheduling queue.
[0078] It should be noted that the resource load verification neighborhood and resource constraint balancing coefficient are used to determine the shared resource scheduling queue to ensure that the resource load of each project control node is reasonably distributed.
[0079] In step 105, the shared resources in the municipal construction project are scheduled using the shared resource scheduling queue.
[0080] In some embodiments, using the shared resource scheduling queue to schedule shared resources in a municipal construction project is to configure the shared resources in the municipal construction project according to the order of the project control nodes in the shared resource scheduling queue, that is, the first project control node in the shared resource scheduling queue has the highest control priority. When preempting shared resources, the project control node has the highest priority, and the resource requirements of the project control node task should be met before continuing to configure the resource requirements of other project control nodes.
[0081] It should be noted that by distributing scheduling tasks to multiple project control nodes through shared resource scheduling queues, parallel processing is achieved, which is convenient for improving the overall scheduling performance and response speed of the system. In addition, through distributed scheduling, the impact of single point failures on the system can be reduced, the anti-destruction capability of the main control node can be improved, and municipal construction projects can be ensured to proceed smoothly under various circumstances.
[0082] It can be seen that in this application, the project shared resource scheduling tasks can be distributed to the project control nodes to improve the anti-destruction ability of the project master node; wherein, firstly, by extracting the resource scheduling records of the project master node and performing load verification, the usage and load level of each shared resource can be accurately understood to achieve dynamic load balancing of resources, which can effectively reduce the occurrence of resource conflicts in the scheduling process; then, by constraining each project control node with resources, the resource balance degree of the project control node can be more accurately measured, and the resource constraint balance coefficient can be used to help identify and correct the imbalance of resource allocation to ensure the load balance of each node; secondly, the shared resource scheduling queue is determined by using the resource load verification neighborhood and the resource constraint balance coefficient to ensure that the resource load of each project control node is reasonably distributed; finally, the scheduling tasks are distributed to multiple project control nodes through the shared resource scheduling queue, which can reduce the impact of single point failures on the system and improve the anti-destruction ability of the master node. In summary, the technical solution adopted in this application can distribute the project shared resource scheduling tasks to the project control nodes to improve the anti-destruction ability of the project master node.
[0083] In addition, in another aspect of the present application, in some embodiments, the present application provides a resource management system for municipal construction, the resource management system for municipal construction includes a resource scheduling unit, referring to Figure 4, which is a schematic diagram of exemplary hardware and / or software of a resource scheduling unit according to some embodiments of the present application, the resource scheduling unit 400 includes: an acquisition module 401, a processing module 402 and an execution module 403, which are described as follows:
[0084] Acquisition module 401, in this application, acquisition module 401 is mainly used to obtain shared resource scheduling data of municipal construction projects within a specified time period;
[0085] Processing module 402, in the present application, is used to extract the resource scheduling record of the project master control node from the shared resource scheduling data, and then perform load verification on the resource scheduling record of the project master control node according to a preset resource baseline to obtain a resource load verification neighborhood of the project master control node;
[0086] It should be noted that the processing module 402 in the present application is also used to extract the resource scheduling record of each project control node from the shared resource scheduling data, perform resource constraints on the resource scheduling record of each project control node, and obtain the resource constraint balancing coefficient of each project control node;
[0087] In addition, the processing module 402 in the present application is also used to determine the shared resource scheduling queue through the resource load verification neighborhood of the project master node and the resource constraint balancing coefficient of all project control nodes;
[0088] Execution module 403, in this application, execution module 403 is mainly used to use the shared resource scheduling queue to schedule shared resources in the municipal construction project.
[0089] The above describes in detail the examples of resource management systems and methods for municipal construction provided by the embodiments of the present application. It can be understood that in order to realize the above functions, the corresponding devices include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0090] In some embodiments, the present application also provides a computer device, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned resource management method for municipal construction.
[0091] In some embodiments, reference Figure 5 , the dotted line in the figure indicates that the unit or the module is optional. The figure is a schematic diagram of the structure of a computer device for a resource management method for municipal construction provided in an embodiment of the present application. The resource management method for municipal construction described in the above embodiment can be Figure 5 The computer device 500 shown in the figure is implemented, and the computer device 500 includes at least one processor 501, a memory 502 and at least one communication unit 505. The computer device 500 can be a terminal device, a server or a chip.
[0092] The processor 501 may be a general-purpose processor or a special-purpose processor. For example, the processor 501 may be a central processing unit (CPU), which may be used to control the computer device 500, execute software programs, and process data of the software programs. The computer device 500 may also include a communication unit 505 to implement signal input (reception) and output (transmission).
[0093] For example, the computer device 500 may be a chip, the communication unit 505 may be an input and / or output circuit of the chip, or the communication unit 505 may be a communication interface of the chip, and the chip may be a component of a terminal device, a network device, or other devices.
[0094] For another example, the computer device 500 may be a terminal device or a server, and the communication unit 505 may be a transceiver of the terminal device or the server, or the communication unit 505 may be a transceiver circuit of the terminal device or the server.
[0095] The computer device 500 may include one or more memories 502, on which a program 504 is stored. The program 504 can be executed by the processor 501 to generate instructions 503, so that the processor 501 performs the method described in the above method embodiment according to the instructions 503. Optionally, data (such as a target audit model) can also be stored in the memory 502. Optionally, the processor 501 can also read the data stored in the memory 502, and the data can be stored at the same storage address as the program 504, or the data can be stored at a different storage address from the program 504.
[0096] The processor 501 and the memory 502 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.
[0097] It should be understood that each step of the above method embodiment can be completed by a hardware-based logic circuit or software-based instructions in the processor 501. The processor 501 can be a central processing unit, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, such as discrete gates, transistor logic devices or discrete hardware components.
[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0099] For example, in some embodiments, the present application also provides a computer-readable storage medium, in which instructions or codes are stored. When the instructions or codes are run on a computer, the computer implements the above-mentioned resource management method for municipal construction when executing.
[0100] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0101] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A resource management method for municipal construction, characterized in that: The steps include: Obtain shared resource scheduling data for municipal construction projects within a specified time period; Extracting the resource scheduling record of the project master control node from the shared resource scheduling data, and then performing load verification on the resource scheduling record of the project master control node according to a preset resource baseline to obtain a resource load verification neighborhood of the project master control node; Extracting the resource scheduling record of each project control node from the shared resource scheduling data, performing resource constraints on the resource scheduling record of each project control node, and obtaining the resource constraint balancing coefficient of each project control node; Determine the shared resource scheduling queue by verifying the resource load of the project master node in the neighborhood and the resource constraint balancing coefficient of all project control nodes; Using the shared resource scheduling queue to schedule shared resources in the municipal construction project; The resource scheduling record of the project master node is load verified according to the preset resource baseline to obtain the resource load verification neighborhood of the project master node, which specifically includes: Determine the resource load factor of each shared resource in the municipal construction project according to the preset resource baseline and the resource scheduling record of the project master control node; Preset the load baseline of the project master node; Verifying all resource load coefficients based on the load baseline to obtain multiple resource load verification quantities; Determine the resource load verification neighborhood of the project master node through all resource load verification quantities; Wherein, determining the resource load coefficient of each shared resource in the municipal construction project according to the preset resource baseline and the resource scheduling record of the project master control node specifically includes: The resource load degree of each shared resource in the municipal construction project is determined by the resource scheduling record of the project master control node, wherein, for each shared resource, the usage time of the shared resource is obtained from the resource scheduling record of the project master control node, and the total time that the shared resource can be used is obtained from the shared resource user manual of the municipal construction project, and the ratio of the usage time of the shared resource to the total time that the shared resource can be used is used as the resource load degree of the shared resource; Determine the resource load coefficient of each shared resource in the municipal construction project according to the resource load degree of each shared resource and the preset resource baseline; Wherein, verifying all resource load coefficients based on the load baseline is to compare and verify the load baseline and all resource load coefficients respectively; The method of determining the shared resource scheduling queue by verifying the resource load of the project master node and the resource constraint balancing coefficient of all project control nodes specifically includes: Determining a discreteness of the resource load verification neighborhood; For each project control node, the control priority of the project control node is determined by the resource constraint balancing coefficient of the project control node and the discreteness of the resource load verification neighborhood, thereby obtaining the control priority of each project control node; Determine the shared resource scheduling queue based on the control priorities of all project control nodes; Among them, the average utilization time of all shared resources is calculated, and the ratio of the obtained average value to the total available time of all shared resources scheduled by the project control node is used as the resource time constraint of the project control node; then, the utilization rate of the project control node when scheduling each shared resource is calculated through the resource scheduling record of the project control node, so as to perform spatial constraints on all utilization rates, that is, calculate the average value of all utilization rates, and use the result as the resource space constraint of the project control node; finally, calculate the sum of the square of the resource time constraint and the square of the resource space constraint, and use the ratio of the calculated result to 2 as the resource constraint balancing coefficient of the project control node.
2. The method according to claim 1, characterized in that Extracting the resource scheduling record of the project master control node from the shared resource scheduling data is to associate and match the shared resource scheduling data with the project master control node to obtain the resource scheduling record of the project master control node.
3. The method according to claim 1, characterized in that Using the shared resource scheduling queue to schedule the shared resources in the municipal construction project is to configure the shared resources in the municipal construction project according to the order of the project control nodes in the shared resource scheduling queue.
4. A resource management system for municipal construction, which is controlled by the method of any one of claims 1 to 3, and the resource management system for municipal construction includes a resource scheduling unit, characterized in that: The resource scheduling unit comprises: An acquisition module is used to obtain the shared resource scheduling data of municipal construction projects within a specified time period; A processing module, used to extract the resource scheduling record of the project master control node from the shared resource scheduling data, and then perform load verification on the resource scheduling record of the project master control node according to a preset resource baseline to obtain a resource load verification neighborhood of the project master control node; The processing module is further used to extract the resource scheduling record of each project control node from the shared resource scheduling data, perform resource constraints on the resource scheduling record of each project control node, and obtain the resource constraint balancing coefficient of each project control node; The processing module is further used to determine the shared resource scheduling queue through the resource load verification neighborhood of the project master control node and the resource constraint balancing coefficient of all project control nodes; An execution module is used to schedule shared resources in a municipal construction project using the shared resource scheduling queue.
5. A computer device, characterized in that: The computer device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the resource management method for municipal construction described in any one of claims 1 to 3.
6. A computer-readable storage medium storing instructions or codes, which, when executed on a computer, enable the computer to implement the resource management method for municipal construction as described in any one of claims 1 to 3.
