Multi-task batch scheduling method, device, equipment and program product
By using a work zone generation strategy and a batch scheduling method for idle resources in the home decoration industry, the problem of low resource utilization caused by single-household scheduling is solved, and efficient management and construction efficiency of batch home decoration tasks are achieved.
Patent Information
- Application Number
- CN202511704147.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-19
- Publication Date
- 2026-04-07
AI Technical Summary
The current home improvement industry's single-household-centric scheduling method results in low resource utilization, makes it difficult to efficiently aggregate resources from multiple work areas, leads to construction conflicts and repeated reassignments, and fails to meet the efficient fulfillment needs of large-scale group renovation scenarios.
By acquiring information on properties awaiting renovation, the system aggregates data based on a pre-defined work area generation strategy, generates work area task execution batches, and executes the renovation tasks according to these batches. It also schedules tasks based on available resources to ensure logical dependencies between tasks and reasonable resource allocation.
It enables structured management and efficient implementation of batch home renovation tasks, avoids resource fragmentation, optimizes construction scheduling, and improves resource utilization and construction efficiency.
Smart Images

Figure CN121809885A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer information processing technology, and in particular to a multi-task batch scheduling method, apparatus, device, and program product. Background Technology
[0002] In recent years, the home improvement industry has gradually shifted from the traditional decentralized, experience-based construction model to a more systematic and standardized approach. With the upgrading of market demands and the intensification of industry competition, home improvement companies are beginning to focus on improving construction efficiency, quality control, and resource management capabilities, thereby promoting the overall improvement of service levels to adapt to increasingly complex project requirements and higher customer expectations.
[0003] Currently, the home decoration industry generally adopts a single-household-centric scheduling method in the whole-house decoration fulfillment system. That is, each homeowner is the basic modeling and scheduling unit. The system starts around a single order or project, breaks down and generates corresponding construction tasks according to the specific decoration needs of the household, and then combines factors such as material procurement, personnel arrangement, and time nodes to assign and schedule tasks, forming an order-driven, household-by-household scheduling technical execution logic.
[0004] However, this household-centric scheduling approach is overly fragmented, making it difficult to efficiently aggregate resources from multiple work areas. This leads to a significant increase in the complexity of task breakdown and merging, and low resource utilization. Construction teams and materials cannot be rationally coordinated spatially, easily causing conflicts and repeated relocations, thus slowing down the overall project schedule. Furthermore, the lack of spatial continuity in task planning and the fragmented scheduling of resources across buildings and units easily increase coordination costs and execution friction. It struggles to support advanced scheduling strategies such as large-scale spatial management, batch concurrent construction, and rolling progress, and cannot meet the demands of efficient contract fulfillment in large-scale group assembly scenarios, resulting in insufficient system scalability. Summary of the Invention
[0005] This invention provides a multi-task batch scheduling method, apparatus, equipment, and program product to solve the defects of existing technologies where the single-household scheduling is too detailed, making it difficult to efficiently aggregate batch work area resources and affecting the overall project schedule, thereby realizing the structured management and efficient promotion of batch home decoration tasks.
[0006] This invention provides a multi-task batch scheduling method, comprising: acquiring at least two properties to be renovated, the properties to be renovated including property space information and corresponding resource requirement information; aggregating all acquired properties to be renovated based on a preset work area generation strategy to obtain corresponding work areas; wherein, the preset work area generation strategy is configured based on preset property aggregation conditions; generating work area task execution batches corresponding to the renovated tasks according to each work area and pre-acquired idle resources, and executing the renovated tasks of the corresponding batch work areas according to the work area task execution batches.
[0007] According to a multi-task batch scheduling method provided by the present invention, the renovation task includes at least two tasks. Based on each work area and pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, and the renovation tasks of the corresponding batch work area are executed according to the work area task execution batch. The method includes: generating a work area task execution batch corresponding to the task according to a preset execution order of each task, and executing the tasks of the corresponding work area according to the work area task execution batch, until all tasks are completed; wherein, the preset scheduling strategy is configured according to the work area and idle resources of the corresponding task, and the idle resources are obtained based on pre-acquired idle resources or the remaining idle resources after the execution of the preceding tasks.
[0008] According to a multi-task batch scheduling method provided by the present invention, based on each work area and pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, and the renovation task of the corresponding batch work area is executed according to the work area task execution batch. The method further includes: based on the preset execution order of each task, when it is determined that the single-batch execution status of the preceding task conforms to the preset batch delivery strategy, a work area task execution batch corresponding to the subsequent task of the preceding task is generated according to the preset scheduling strategy, and the subsequent task is executed according to the corresponding work area task execution batch; wherein, the single-batch execution status is used to characterize the task execution status of each work area in the same work area task execution batch of the corresponding task, and the preset batch delivery strategy is configured based on the comparison result of the number of work areas delivered in a single batch with a first preset threshold and / or the comparison result of the number of work areas to be delivered in a single batch with a second preset threshold.
[0009] According to a multi-task batch scheduling method provided by the present invention, when the execution status of a single batch of a preceding task conforms to a preset batch delivery strategy based on the preset execution order of each task, a work area task execution batch corresponding to the preceding task is generated according to the preset scheduling strategy. This includes: when the execution status of a single batch of a preceding task conforms to the preset batch delivery strategy based on the preset execution order of each task, a work area task execution batch corresponding to a callable work area for the subsequent task is generated according to the preset scheduling strategy; wherein the preset scheduling strategy is configured based on the callable work areas and idle resources of the corresponding task, and the callable work areas of the corresponding task include the work areas of the preceding tasks corresponding to the completed tasks; or, when the execution status of a single batch of a preceding task conforms to the preset batch delivery strategy based on the preset execution order of each task, a work area task execution batch corresponding to the preceding task is generated according to the preset scheduling strategy; when it is determined that there is a work area in the work area task execution batch of the subsequent task where the preceding task has not been completed, the work area where the preceding task has not been completed is removed from the work area task execution batch of the subsequent task.
[0010] According to a multi-task batch scheduling method provided by the present invention, the renovation task includes at least two tasks. Before generating the corresponding work area task execution batch for the renovation task based on each work area and the pre-acquired idle resources, the method includes: generating batch scheduling information based on all work areas, the pre-acquired idle resources and the preset task completion time corresponding to each task; wherein, the batch scheduling information includes the work area task execution batch for each work area corresponding to all tasks. Based on each work area and the pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, including: based on the preset execution order of each task, the work area task execution batch of the corresponding task is determined according to the batch scheduling information, and the corresponding idle resources are acquired; when it is determined that there is a work area in the same work area task execution batch of the corresponding task whose previous task has not been completed, the work area whose previous task has not been completed is removed from the corresponding work area task execution batch to obtain the target batch; when it is determined that the idle resources meet the resource requirements of all work areas in the target batch, the tasks of the corresponding work area are executed according to the target batch.
[0011] According to a multi-task batch scheduling method provided by the present invention, when it is determined that there is a work area in the same work area task execution batch of the corresponding task where the preceding task has not been completed, the work area where the preceding task has not been completed is removed from the corresponding work area task execution batch to obtain the target batch. The method further includes: when it is determined that the idle resources do not meet the resource requirements of all work areas in the target batch, generating the work area task execution batch of the corresponding task according to a preset scheduling strategy, and executing the tasks of the corresponding work area according to the work area task execution batch; wherein, the preset scheduling strategy is configured according to the work area of the corresponding task and the idle resources, and the idle resources are obtained according to the pre-acquired idle resources or the remaining idle resources after the execution of the preceding task.
[0012] According to a multi-task batch scheduling method provided by the present invention, when it is determined that idle resources meet the resource requirements of all work areas in a target batch, the tasks of the corresponding work areas are executed according to the target batch. The method includes: when it is determined that idle resources meet the resource requirements of all work areas in the target batch, determining additional idle resources based on the idle resources, the target batch, and the tasks corresponding to the target batch; wherein, the additional idle resources represent the portion of idle resources exceeding the total resource requirements of the work areas in the target batch; when it is determined, based on the tasks corresponding to the target batch and batch scheduling information, that the next batch of the target batch has the same task as the target batch, or that the task corresponding to the next batch of the target batch is a subsequent task of the task corresponding to the target batch, the tasks of the corresponding work areas are executed according to the target batch because the additional idle resources do not meet the resource requirements of any work area in the next batch; and obtaining corresponding target work areas based on the additional idle resources meeting the resource requirements of at least one work area in the next batch, and adjusting all target work areas whose corresponding preceding tasks have been completed from the next batch to the target batch, and executing the tasks of the corresponding work areas according to the adjusted target batch.
[0013] This invention also provides a multi-task batch scheduling device, comprising: a data acquisition module for acquiring information on at least two properties to be renovated, the property information including property space information and corresponding resource requirement information; a work area aggregation module for aggregating all acquired property information to be renovated based on a preset work area generation strategy to obtain corresponding work areas; wherein the preset work area generation strategy is configured based on preset property aggregation conditions; and a batch scheduling module for generating work area task execution batches corresponding to the renovated tasks according to each work area and pre-acquired idle resources, and executing the renovated tasks of the corresponding batch work areas according to the work area task execution batches.
[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multi-task batch scheduling method as described above.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-task batch scheduling method as described above.
[0016] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the multi-task batch scheduling method as described above.
[0017] The multi-task batch scheduling method, apparatus, equipment, and program products provided by this invention acquire information on properties to be renovated, aggregate the acquired property information through a preset work area generation strategy to form work areas, and perform batch planning of the renovation tasks based on the aggregated work areas and pre-acquired idle resources. This facilitates centralized scheduling and allocation of resources, avoids resource fragmentation caused by individual scheduling of each property, and realizes structured management and efficient promotion of batch home renovation tasks. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating the multi-task batch scheduling method provided by the present invention; Figure 2 This is a schematic diagram of the structure of the multi-task batch scheduling device provided by the present invention; Figure 3This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0021] Figure 1 This is a flowchart illustrating the multi-task batch scheduling method provided by the present invention, as follows: Figure 1 As shown, the method includes: S11, Obtain information on at least two properties to be renovated, including property space information and corresponding resource requirements information; S12, based on the preset work area generation strategy, aggregate all the acquired information on properties to be renovated to obtain the corresponding work area; wherein, the preset work area generation strategy is configured based on preset property aggregation conditions; S13. Based on each work area and the pre-acquired idle resources, generate work area task execution batches corresponding to the tasks to be decorated, and execute the tasks to be decorated in the corresponding batch of work areas according to the work area task execution batches.
[0022] It should be noted that the step numbers "S11-S13" in this specification do not represent the order of the multi-task batch scheduling method. The multi-task batch scheduling method of the present invention will be described in detail below.
[0023] Step S11: Obtain information on at least two properties to be renovated. The information on properties to be renovated includes the space information of the property and the resource requirements corresponding to the property.
[0024] In this embodiment, obtaining information on at least two properties to be renovated includes: obtaining a list of renovation tasks and home decoration requirements. The list of renovation tasks includes at least two properties to be renovated within a target area. Each property includes its unit number and corresponding unit type, area, floor height, building, unit, and floor. Based on the list of renovation tasks, the target area is divided according to preset rules, corresponding spatial units are created, and spatial identifiers are assigned to obtain property space information. Based on the home decoration requirements, home decoration content is extracted, and resource requirements are determined based on the home decoration content. The resource requirements information is then bound to the property space information to obtain the corresponding property information.
[0025] It should be added that the preset rules can be configured according to actual design needs. For example, they can be divided by each household or by floor, etc. No further restrictions are made here.
[0026] Step S12: Based on the preset work area generation strategy, aggregate all the acquired information on properties to be renovated to obtain the corresponding work areas; wherein, the preset work area generation strategy is configured based on preset property aggregation conditions.
[0027] In this embodiment, based on a preset work area generation strategy, all the acquired information on properties to be renovated is aggregated to obtain corresponding work areas. This includes: according to preset property aggregation conditions, traversing all the acquired information on properties to be renovated, and grouping properties that meet the same conditions into a group to obtain corresponding work areas.
[0028] It should be noted that the preset housing aggregation conditions can be configured based on the actual housing aggregation needs, such as dividing by floor and / or by unit type, etc., without further restrictions here.
[0029] Step S13: Based on each work area and the pre-acquired idle resources, generate work area task execution batches corresponding to the tasks to be decorated, and execute the tasks to be decorated in the corresponding batch of work areas according to the work area task execution batches.
[0030] In this embodiment, the renovation task includes at least two tasks. Based on each work area and the pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, and the renovation tasks of the corresponding work areas are executed according to the work area task execution batch. This includes: generating a work area task execution batch corresponding to the task according to the preset execution order of each task and following a preset scheduling strategy, and executing the tasks of the corresponding work areas according to the work area task execution batch until all tasks are completed; wherein, the preset scheduling strategy is configured according to the work area and idle resources of the corresponding task, and the idle resources are obtained based on the pre-acquired idle resources or the remaining idle resources after the execution of the preceding tasks.
[0031] It should be noted that by dividing the renovation tasks into batches according to work areas and combining this with a dynamic allocation and scheduling strategy for idle resources, batch tasks are intelligently allocated. This achieves efficient resource turnover and rational allocation while maximizing the use of existing resources, avoiding resource idleness or overload, and realizing optimal resource allocation. Furthermore, the work areas that can be called upon for a task can be determined based on the execution status of the work areas corresponding to the task's preceding tasks. For example, if there are 3 work areas, and 2 work areas have completed the preceding tasks corresponding to the task, then the work areas that can be called upon for the task are the work areas corresponding to the 2 completed preceding tasks. No further restrictions are imposed here.
[0032] It should be added that when the information of the property to be renovated is a group renovation task, the renovation task can be uniformly determined based on the group renovation requirements, such as including demolition, water and electricity, tiling and carpentry, painting, installation and acceptance, etc. When the information of the property to be renovated is a non-group renovation task, the renovation task can be determined based on the renovation requirements of all properties, without further restrictions here.
[0033] In addition, available resources include human resources information, material resources information, equipment resources information, and time resources information. Human resources information includes worker IDs and the corresponding job type, skills, construction team, grade, and available construction date for each worker. Material resources information includes material IDs and the corresponding name, specifications, unit, inventory, storage location, and supply cycle for each material. Equipment resources information includes equipment IDs and the name, type, location, status, and reserved time period for each piece of equipment. Equipment includes construction tools such as electric hammers, cutting machines, and mixers. Time resources information includes the construction period and construction window period.
[0034] In an optional embodiment, based on each work area and pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, and the renovation task of the corresponding batch work area is executed according to the work area task execution batch. The method further includes: based on the preset execution order of each task, when it is determined that the single batch execution status of the preceding task conforms to the preset batch delivery strategy, a work area task execution batch corresponding to the subsequent task of the preceding task is generated according to the preset scheduling strategy, and the subsequent task is executed according to the corresponding work area task execution batch; wherein, the single batch execution status is used to characterize the task execution status of each work area in the same work area task execution batch of the corresponding task, and the preset batch delivery strategy is configured based on the comparison result of the preset single batch delivery work area quantity with a first preset threshold and / or the comparison result of the preset single batch delivery work area quantity with a second preset threshold.
[0035] It should be noted that tasks are batch-scheduled based on a preset execution order. Subsequent tasks are only generated and executed after a preceding task meets the preset batch delivery strategy. This ensures logical dependencies between tasks, avoids construction conflicts and resource waste caused by task misalignment or premature execution, and dynamically adjusts the execution pace of subsequent tasks by flexibly determining whether preceding tasks meet the preset batch delivery strategy, preventing premature or late initiation of subsequent tasks and optimizing the overall scheduling rhythm. Furthermore, preceding and subsequent tasks are adjacent tasks determined by the preset execution order, with preceding tasks executing before subsequent tasks.
[0036] Specifically, based on the preset execution order of each task, the preceding tasks are determined. Then, according to the work area corresponding to the preceding task and the pre-acquired idle resources, a work area task execution batch corresponding to the preceding task is generated, and the preceding tasks in the corresponding work area are executed according to the preceding task's corresponding work area task execution batch. When the single-batch execution status of the preceding task meets the preset batch delivery strategy, according to the work area corresponding to the subsequent task of the preceding task and the remaining idle resources, a work area task execution batch corresponding to the subsequent task is generated, and the subsequent tasks in the corresponding work area are executed according to the corresponding work area task execution batch. When the single-batch execution status of the subsequent task meets the preset batch delivery strategy, according to the work area corresponding to the subsequent task of the subsequent task and the remaining idle resources, a work area task execution batch for the corresponding task is generated, and the tasks in the corresponding work area are executed according to the corresponding work area task execution batch. This step is repeated until all tasks are completed.
[0037] It should be added that the preset batch delivery strategy is that the number of work areas delivered in a single batch is greater than or equal to the first preset threshold, or the number of work areas to be delivered in a single batch is less than or equal to the second preset threshold. In the actual design process, the first and second preset thresholds can be set according to the actual design requirements and the number of work areas included in the batch of tasks corresponding to the same work area. For example, if the number of work areas in the same batch is 4, the first preset threshold can be 2, 3, or 4, and the second preset threshold can be 1 or 2. Thus, when the number of work areas delivered in a single batch is greater than the corresponding first preset threshold, the subsequent batch tasks for the corresponding work area are triggered to generate and execute, thereby dynamically adjusting the execution rhythm of subsequent tasks. No further limitations are made here.
[0038] In addition, the first and second preset thresholds can also be dynamically adjusted according to preset configuration rules. The preset dynamic preset configuration rules can be configured according to (1, n] to determine the value rules of the corresponding thresholds, where n represents the number of work areas included in the batch of tasks in the same work area. The value rule of the first preset threshold is less than or equal to n and greater than n / 2, and the value rule of the second preset threshold is greater than or equal to 1 and less than or equal to the first preset threshold. For example, the preset dynamic preset configuration rules can be configured as follows: when n is greater than 3, the first preset threshold is n / 2 rounded up and added by 1, and the second preset threshold is n / 2 rounded down and subtracted by 1; when 2 < n ≤ 3, the first preset threshold is 2, and the second preset threshold is 1; when n = 2, both the first and second preset thresholds are 1, and no further restrictions are made here.
[0039] It should be added that when there are at least two batches of work area task execution batches for the current task, the tasks of the corresponding batch work area are executed in the order of the batches. When the single batch execution status of each batch meets the preset batch delivery strategy, the corresponding work area task execution batch for the subsequent task is generated according to the preset scheduling strategy. For details, please refer to the above description, which will not be repeated here.
[0040] In one optional embodiment, based on the preset execution order of each task, when it is determined that the single-batch execution status of a preceding task conforms to a preset batch delivery strategy, a work area task execution batch corresponding to the preceding task is generated according to a preset scheduling strategy. This includes: based on the preset execution order of each task, when it is determined that the single-batch execution status of a preceding task conforms to a preset batch delivery strategy, a work area task execution batch corresponding to a callable work area for the subsequent task is generated according to a preset scheduling strategy; wherein, the preset scheduling strategy is configured based on the callable work areas and idle resources of the corresponding task, and the callable work areas of the corresponding task include the work areas of the preceding tasks corresponding to the completed tasks; or, based on the preset execution order of each task, when it is determined that the single-batch execution status of a preceding task conforms to a preset batch delivery strategy, a work area task execution batch corresponding to the preceding task is generated according to a preset scheduling strategy; when it is determined that there are work areas in the work area task execution batch of the subsequent task where the preceding task has not been completed, the work areas where the preceding task has not been completed are removed from the work area task execution batch of the subsequent task.
[0041] It should be noted that when there are few available work areas for subsequent tasks, if the above method is still followed, the complex scheduling logic can easily lead to a waste of system computing resources. Therefore, before generating the work area task execution batches corresponding to the preceding tasks according to the preset scheduling strategy, the following steps are taken: determining whether the number of available work areas corresponding to the preceding tasks is less than or equal to the preset fallback number; if the number of available work areas for subsequent tasks is less than or equal to the preset fallback number, the corresponding available work areas are divided into the same batch to obtain the corresponding work area task execution batch, thereby simplifying the scheduling logic, improving system operating efficiency, ensuring that the remaining work area tasks can be executed in a timely manner, and avoiding project stagnation due to rigid scheduling strategies.
[0042] It should be added that when the number of available work areas for subsequent tasks exceeds the preset fallback number, a batch of work area execution tasks corresponding to the preceding tasks can be generated according to the preset scheduling strategy. See above for details, which will not be repeated here. Furthermore, the preset fallback number can be configured based on actual design requirements and the number of work areas obtained from aggregation. For example, if the number of aggregated work areas is 3, the preset fallback number can be set to 1; no further limitations are imposed here.
[0043] In an optional embodiment, based on each work area and the pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, and the renovation task of the corresponding batch of work areas is executed according to the work area task execution batch. The method further includes: based on the preset execution order of each task, if it is determined that the single batch execution status of the preceding task does not meet the preset batch delivery strategy, the preceding tasks of each work area in the same batch are executed according to the work area task execution batch corresponding to the preceding task until the single batch execution status of the preceding task meets the preset batch delivery strategy. Then, according to the preset scheduling strategy, a work area task execution batch corresponding to the subsequent task of the preceding task is generated. For details, please refer to the above description, which will not be repeated here.
[0044] In one optional embodiment, the renovation task includes at least two tasks. Before generating the corresponding work area task execution batches for the renovation task based on each work area and pre-acquired idle resources, the process includes: generating batch scheduling information based on all work areas, pre-acquired idle resources, and preset task completion times for each task; wherein, the batch scheduling information includes the work area task execution batches for all tasks corresponding to each work area. It should be noted that by planning in advance based on global information before generating the corresponding work area task execution batches for the renovation task based on each work area and pre-acquired idle resources, resource waste or task backlog caused by local optima can be avoided, thereby improving the scheduling efficiency during subsequent task execution.
[0045] Accordingly, based on each work area and the pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, including: based on the preset execution order of each task, determining the work area task execution batch of the corresponding task according to the batch scheduling information, and acquiring the corresponding idle resources; when it is determined that there is a work area in the same work area task execution batch of the corresponding task whose previous task has not been completed, the work area whose previous task has not been completed is removed from the corresponding work area task execution batch to obtain the target batch; when it is determined that the idle resources meet the resource requirements of all work areas in the target batch, the tasks of the corresponding work area are executed according to the work area task execution batch of the task.
[0046] It should be noted that when there are no work areas in the same work area task execution batch that have not completed their preceding tasks, the corresponding batch will be designated as the target batch. Furthermore, during task execution, by checking if there are any work areas in the same work area task execution batch that have not completed their preceding tasks and filtering them out, it is ensured that even if some work areas are delayed due to preceding tasks, the overall task chain can still continue to advance. This avoids the current task being incorrectly scheduled when its preceding tasks are incomplete, thus ensuring that work area tasks are executed according to the preset execution order. This prevents construction chaos, rework, or quality problems caused by overlapping task execution. Additionally, it checks in real time whether idle resources can meet the resource requirements of the target batch to ensure the task can continue to advance, avoiding task stalls or project delays due to insufficient resources.
[0047] In an optional embodiment, when it is determined that there is a work area in the same work area task execution batch of the corresponding task that has not completed its preceding task, the work area that has not completed its preceding task is removed from the corresponding work area task execution batch. After obtaining the target batch, the method further includes: when it is determined that the idle resources do not meet the resource requirements of all work areas in the target batch, a work area task execution batch of the corresponding task is generated according to a preset scheduling strategy, and the tasks of the corresponding work area are executed according to the work area task execution batch; wherein, the preset scheduling strategy is configured according to the work area of the corresponding task and the idle resources, and the idle resources are obtained according to the pre-acquired idle resources or the remaining idle resources after the execution of the preceding task.
[0048] It should be noted that, according to the preset scheduling strategy, task execution batches for corresponding work areas are generated, and tasks in the corresponding work areas are executed according to the task execution batches. This can be described as above and will not be repeated here. In addition, by promptly regenerating batches according to the preset scheduling strategy when the resources required for the target batch are insufficient, it is possible to respond promptly to emergencies such as resource changes, ensuring that even if some work areas are short of resources, the overall task chain can still continue to advance, thereby flexibly responding to task delays or resource fluctuations.
[0049] In an optional embodiment, when it is determined that the idle resources meet the resource requirements of all work areas in the target batch, the tasks of the corresponding work areas are executed according to the target batch, including: when it is determined that the idle resources meet the resource requirements of all work areas in the target batch, determining additional idle resources based on the idle resources, the target batch, and the tasks corresponding to the target batch; wherein, the additional idle resources are used to represent the portion of the idle resources that exceeds the total resource requirements of the work areas in the target batch; when it is determined that the next batch of the target batch is the same task as the target batch, or when it is determined that the task corresponding to the next batch of the target batch is a subsequent task of the task corresponding to the target batch, the tasks of the corresponding work areas are executed according to the target batch because the additional idle resources do not meet the resource requirements of any work area in the next batch; when the additional idle resources meet the resource requirements of at least one work area in the next batch, the corresponding target work area is obtained, and the work areas whose corresponding preceding tasks have been completed in all target work areas are adjusted from the next batch to the target batch, and the tasks of the corresponding work areas are executed according to the adjusted target batch.
[0050] It should be noted that by determining additional idle resources when the available resources meet the resource requirements of all work areas in the target batch, and when the additional idle resources can meet the requirements of at least one work area in the next batch, the work area that has completed its preceding tasks can be added to the target batch in advance. This avoids resources being idle between batches while ensuring that task dependencies are not disrupted, thereby improving project delivery efficiency and shortening the project duration.
[0051] In summary, the embodiments of the present invention acquire information on properties to be renovated, aggregate the acquired property information through a preset work area generation strategy to form work areas, and perform batch planning of renovation tasks based on the aggregated work areas and pre-acquired idle resources. This facilitates centralized scheduling and allocation of resources, avoids resource fragmentation caused by individual scheduling of each property, and achieves structured management and efficient promotion of batch home renovation tasks.
[0052] The multi-task batch scheduling device provided by the present invention is described below. The multi-task batch scheduling device described below can be referred to in correspondence with the multi-task batch scheduling method described above.
[0053] Figure 2 A schematic diagram of a multi-task batch scheduling device is shown. The device includes: Data acquisition module 21 acquires information on at least two properties to be renovated, including property space information and corresponding resource requirements information. The work area aggregation module 22 aggregates all the acquired information on properties to be renovated based on a preset work area generation strategy to obtain corresponding work areas; wherein, the preset work area generation strategy is configured based on preset property aggregation conditions; The batch scheduling module 23 generates work area task execution batches corresponding to the tasks to be decorated based on each work area and the pre-acquired idle resources, and executes the tasks to be decorated in the corresponding batch of work areas according to the work area task execution batches.
[0054] In this embodiment, the data acquisition module 21 includes: a data acquisition unit, which acquires a list of renovation tasks and home decoration demand information, wherein the list of renovation tasks includes at least two properties to be renovated within the target area, and the properties to be renovated include the house number and the corresponding apartment type, area, floor height, building, unit, and floor; a space information acquisition unit, which divides the target area according to preset rules based on the list of renovation tasks, creates corresponding space units and assigns space identifiers to obtain property space information; a demand information acquisition unit, which extracts home decoration content based on the home decoration demand information and determines resource demand information based on the home decoration content; and an information binding unit, which binds the resource demand information with the property space information to obtain corresponding property information.
[0055] The work area aggregation module 22 includes: according to the preset housing aggregation conditions, traversing all the obtained housing information, and dividing the housing that meets the same conditions into a group to obtain the corresponding work area.
[0056] The batch scheduling module 23 is used to: generate task execution batches for corresponding tasks according to the preset execution order of each task and the preset scheduling strategy, and execute the tasks in the corresponding work area according to the task execution batches until all tasks are completed; wherein, the preset scheduling strategy is configured according to the work area and idle resources of the corresponding task, and the idle resources are obtained according to the pre-acquired idle resources or the remaining idle resources after the execution of the preceding tasks.
[0057] In an optional embodiment, the batch scheduling module 23 includes: a batch scheduling unit, which, based on the preset execution order of each task, determines that when the single batch execution status of a preceding task conforms to a preset batch delivery strategy, generates a work area task execution batch corresponding to the preceding task according to the preset scheduling strategy, and executes the subsequent task according to the corresponding work area task execution batch; wherein, the single batch execution status is used to characterize the task execution status of each work area in the same work area task execution batch of the corresponding task, and the preset batch delivery strategy is configured based on the comparison result of the preset single batch delivery work area quantity with a first preset threshold and / or the comparison result of the preset single batch delivery work area quantity with a second preset threshold.
[0058] Specifically, the batch scheduling unit is used to: based on the preset execution order of each task, when it is determined that the single batch execution status of a preceding task conforms to the preset batch delivery strategy, generate a batch of work area task execution for the corresponding callable work area of the subsequent task according to the preset scheduling strategy; wherein, the preset scheduling strategy is configured according to the callable work areas and idle resources of the corresponding task, and the callable work areas of the corresponding task include the work areas of the preceding tasks corresponding to the completed tasks; or, based on the preset execution order of each task, when it is determined that the single batch execution status of a preceding task conforms to the preset batch delivery strategy, generate a batch of work area task execution for the corresponding subsequent task according to the preset scheduling strategy; when it is determined that there are work areas in the batch of work area task execution for the subsequent task where the preceding tasks have not been completed, remove the work areas where the preceding tasks have not been completed from the batch of work area task execution for the subsequent task.
[0059] It should be noted that the batch scheduling unit is also used to: determine whether the number of callable work areas corresponding to the subsequent tasks of the preceding tasks is less than or equal to the preset fallback number before generating the work area task execution batch of the preceding tasks according to the preset scheduling strategy; if the number of callable work areas of the subsequent tasks is less than or equal to the preset fallback number, divide the corresponding callable work areas into the same batch to obtain the corresponding work area task execution batch.
[0060] In addition, the batch scheduling unit is also used to: based on the preset execution order of each task, if it is determined that the single batch execution status of the preceding task does not meet the preset batch delivery strategy, continue to execute the preceding tasks of each work area in the same batch according to the work area task execution batch corresponding to the preceding task, until the single batch execution status of the preceding task meets the preset batch delivery strategy, and generate the work area task execution batch of the subsequent task corresponding to the preceding task according to the preset scheduling strategy.
[0061] In an optional embodiment, the renovation task includes at least two tasks. The device further includes: a planning module, which generates batch scheduling information based on all work areas, pre-acquired idle resources, and preset task completion times corresponding to each task before generating work area task execution batches corresponding to the renovation task based on each work area and pre-acquired idle resources; wherein the batch scheduling information includes work area task execution batches corresponding to all tasks in each work area.
[0062] Correspondingly, the batch scheduling module 23 includes: an information determination unit, which determines the work area task execution batch of the corresponding task according to the preset execution order of each task and obtains the corresponding idle resources; a work area update unit, which, when it is determined that there is a work area in the same work area task execution batch of the corresponding task that has not completed the preceding task, removes the work area that has not completed the preceding task from the corresponding work area task execution batch to obtain the target batch; and a batch scheduling unit, which, when it is determined that the idle resources meet the resource requirements of all work areas in the target batch, executes the tasks of the corresponding work area according to the work area task execution batch of the task.
[0063] In an optional embodiment, the batch scheduling unit is further configured to: when it is determined that there is a work area in the same work area task execution batch of the corresponding task that has not completed its preceding task, remove the work area that has not completed its preceding task from the corresponding work area task execution batch to obtain the target batch; and when it is determined that the idle resources do not meet the resource requirements of all work areas in the target batch, generate the work area task execution batch of the corresponding task according to the preset scheduling strategy, and execute the tasks of the corresponding work area according to the work area task execution batch; wherein, the preset scheduling strategy is configured according to the work area of the corresponding task and the idle resources, and the idle resources are obtained according to the pre-acquired idle resources or the remaining idle resources after the execution of the preceding task.
[0064] In an optional embodiment, the batch scheduling unit is further configured to: determine additional idle resources based on the idle resources, the target batch, and the corresponding task of the target batch when it is determined that the idle resources meet the resource requirements of all work areas in the target batch; wherein, the additional idle resources are used to characterize the portion of the idle resources that exceeds the total resource requirements of the work areas in the target batch; when it is determined that the next batch of the target batch is the same task as the target batch based on the corresponding task of the target batch and the batch scheduling information, or when it is determined that the corresponding task of the next batch of the target batch is a subsequent task of the corresponding task of the target batch, execute the task of the corresponding work area according to the target batch based on the fact that the additional idle resources do not meet the resource requirements of any work area in the next batch; obtain the corresponding target work area based on the fact that the additional idle resources meet the resource requirements of at least one work area in the next batch, and adjust the work areas whose corresponding preceding tasks have been completed from the next batch to the target batch, and execute the task of the corresponding work area according to the adjusted target batch.
[0065] In summary, this embodiment of the invention obtains information on properties to be renovated through a data acquisition module, aggregates the acquired property information using a work area aggregation module through a preset work area generation strategy to form work areas, and then uses a batch scheduling module to plan the batch of renovation tasks based on the aggregated work areas and pre-acquired idle resources. This facilitates centralized scheduling and allocation of resources, avoids resource fragmentation caused by individual scheduling of each property, and achieves structured management and efficient promotion of batch home renovation tasks.
[0066] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a multi-task batch scheduling method, which includes: acquiring at least two properties to be renovated, the properties to be renovated including property space information and corresponding resource requirement information; aggregating all the acquired properties to be renovated based on a preset work area generation strategy to obtain corresponding work areas; wherein the preset work area generation strategy is configured based on preset property aggregation conditions; generating work area task execution batches corresponding to the renovated tasks according to each work area and the pre-acquired idle resources, and executing the renovated tasks of the corresponding batch of work areas according to the work area task execution batches.
[0067] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0068] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the multi-task batch scheduling method provided by the above methods. The method includes: acquiring at least two properties to be renovated, the properties to be renovated including property space information and corresponding resource requirement information; aggregating all the acquired properties to be renovated based on a preset work area generation strategy to obtain corresponding work areas; wherein the preset work area generation strategy is configured based on preset property aggregation conditions; generating work area task execution batches corresponding to the renovated tasks according to each work area and the pre-acquired idle resources, and executing the renovated tasks of the corresponding batch of work areas according to the work area task execution batches.
[0069] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the multi-task batch scheduling method provided by the above methods. The method includes: acquiring at least two sets of information on properties to be renovated, the information on properties to be renovated including property space information and resource requirement information corresponding to the property; aggregating all the acquired information on properties to be renovated based on a preset work area generation strategy to obtain corresponding work areas; wherein the preset work area generation strategy is configured based on preset property aggregation conditions; generating work area task execution batches corresponding to the renovated tasks according to each work area and the pre-acquired idle resources, and executing the renovated tasks of the corresponding batch of work areas according to the work area task execution batches.
[0070] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0071] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-task batch scheduling method, characterized in that, include: Obtain information on at least two properties awaiting renovation, including property space information and corresponding resource requirements information. Based on a preset work area generation strategy, all the acquired information on properties awaiting renovation is aggregated to obtain corresponding work areas; wherein, the preset work area generation strategy is configured based on preset property aggregation conditions; Based on each work area and the pre-acquired idle resources, a work area task execution batch corresponding to the renovation task is generated, and the renovation task of the corresponding batch of work areas is executed according to the work area task execution batch.
2. The multi-task batch scheduling method according to claim 1, characterized in that, The renovation tasks include at least two tasks. Based on each work area and pre-acquired idle resources, a work area task execution batch corresponding to the renovation tasks is generated, and the renovation tasks of the corresponding batch of work areas are executed according to the work area task execution batch, including: Based on the preset execution order of each task, the corresponding task area task execution batch is generated sequentially according to the preset scheduling strategy, and the tasks of the corresponding work area are executed according to the task area task execution batch until all tasks are completed. The preset scheduling strategy is configured based on the work area and idle resources of the corresponding task. The idle resources are obtained based on the idle resources acquired in advance or the remaining idle resources after the execution of the preceding task.
3. The multi-task batch scheduling method according to claim 2, characterized in that, Based on each work area and pre-acquired idle resources, a work area task execution batch corresponding to the renovation tasks is generated, and the renovation tasks of the corresponding batch work areas are executed according to the work area task execution batch, which also includes: Based on the preset execution order of each task, when it is determined that the single batch execution status of the preceding task conforms to the preset batch delivery strategy, the work area task execution batch corresponding to the preceding task is generated according to the preset scheduling strategy, and the following task is executed according to the corresponding work area task execution batch. The single-batch execution status is used to characterize the task execution status of each work area in the same work area task execution batch of the corresponding task. The preset batch delivery strategy is configured based on the comparison result of the number of work areas delivered in a single batch with the first preset threshold and / or the comparison result of the number of work areas to be delivered in a single batch with the second preset threshold.
4. The multi-task batch scheduling method according to claim 3, characterized in that, Based on the preset execution order of each task, when it is determined that the single-batch execution status of the preceding task conforms to the preset batch delivery strategy, the work area task execution batch corresponding to the preceding task is generated according to the preset scheduling strategy, including: Based on the preset execution order of each task, when the single-batch execution status of a preceding task conforms to a preset batch delivery strategy, a batch of task execution for the corresponding available work area of the subsequent task is generated according to the preset scheduling strategy; wherein, the preset scheduling strategy is configured based on the available work areas and idle resources of the corresponding task, and the available work areas of the corresponding task include the work areas of the preceding tasks that have completed their execution; or, Based on the preset execution order of each task, when it is determined that the single batch execution status of the preceding task conforms to the preset batch delivery strategy, the work area task execution batch corresponding to the preceding task is generated according to the preset scheduling strategy. If it is determined that there is a work area in the work area task execution batch of the subsequent task that has not completed the preceding task, the work area that has not completed the preceding task will be removed from the work area task execution batch of the subsequent task.
5. The multi-task batch scheduling method according to claim 1, characterized in that, The renovation task includes at least two tasks. Before generating the corresponding work area task execution batch based on each work area and pre-acquired idle resources, the process includes: Based on all work areas, pre-acquired idle resources, and the preset task completion time corresponding to each task, batch scheduling information is generated; wherein, the batch scheduling information includes the work area task execution batches corresponding to all tasks in each work area; Based on each work area and the pre-acquired idle resources, generate work area task execution batches corresponding to the renovation tasks, including: Based on the preset execution order of each task, the corresponding work area task execution batch is determined according to the batch scheduling information, and the corresponding idle resources are obtained. When it is determined that there are work areas in the same work area task execution batch of the corresponding task that have not completed the preceding tasks, the work areas that have not completed the preceding tasks are removed from the corresponding work area task execution batch to obtain the target batch; When it is determined that the available resources meet the resource requirements of all work areas in the target batch, the tasks of the corresponding work areas are executed according to the target batch.
6. The multi-task batch scheduling method according to claim 5, characterized in that, When it is determined that there are work areas in the same work area task execution batch of the corresponding task that have not completed their preceding tasks, the work areas with incomplete preceding tasks are removed from the corresponding work area task execution batch. After obtaining the target batch, it also includes: When it is determined that the idle resources do not meet the resource requirements of all work areas in the target batch, a work area task execution batch corresponding to the task is generated according to the preset scheduling strategy, and the task of the corresponding work area is executed according to the work area task execution batch. The preset scheduling strategy is configured based on the work area and idle resources of the corresponding task. The idle resources are obtained based on the idle resources acquired in advance or the remaining idle resources after the execution of the preceding task.
7. The multi-task batch scheduling method according to claim 5, characterized in that, When it is determined that the available resources meet the resource requirements of all work areas in the target batch, the tasks of the corresponding work areas are executed according to the target batch, including: When it is determined that the available resources meet the resource requirements of all work areas in the target batch, additional available resources are determined based on the available resources, the target batch, and the tasks corresponding to the target batch; wherein, the additional available resources are used to represent the portion of the available resources that exceeds the total resource requirements of the work areas in the target batch; Based on the task corresponding to the target batch and the batch scheduling information, if it is determined that the next batch of the target batch is the same task as the target batch, or if it is determined that the task corresponding to the next batch of the target batch is the subsequent task of the task corresponding to the target batch, and the additional idle resources do not meet the resource requirements of any work area in the next batch, the task of the corresponding work area shall be executed according to the target batch. Based on the additional idle resources, the resource requirements of at least one work area in the next batch are met, and the corresponding target work area is obtained. Then, the work areas whose corresponding previous tasks have been completed are adjusted from the next batch to the target batch, and the tasks of the corresponding work areas are executed according to the adjusted target batch.
8. A multi-task batch scheduling device, characterized in that, include: The data acquisition module acquires information on at least two properties to be renovated, including property space information and corresponding resource requirements information. The work area aggregation module aggregates all the acquired information on properties to be renovated based on a preset work area generation strategy to obtain corresponding work areas; wherein, the preset work area generation strategy is configured based on preset property aggregation conditions; The batch scheduling module generates a batch of work area tasks to be decorated based on each work area and the pre-acquired idle resources, and executes the decoration tasks of the corresponding batch of work areas according to the batch of work area tasks.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the multi-task batch scheduling method as described in any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the multi-task batch scheduling method as described in any one of claims 1 to 7.