Gantt chart generation method and device, computer equipment and readable storage medium

By generating Gantt charts that display the work status of the target tasks and the overlap of R&D resources, the problem of traditional Gantt charts being unable to display the progress of individual tasks is solved, thus improving the efficiency of project management.

CN115809359BActive Publication Date: 2026-05-26SHENZHEN FULIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN FULIN TECH CO LTD
Filing Date
2022-12-19
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In agile development projects, traditional Gantt charts cannot display the progress of each worker in completing different tasks, making it difficult for project managers to grasp the progress of the delivered project in real time and reducing processing efficiency.

Method used

By acquiring user stories from the iterative process of the target task, determining the iteration data and task completion progress of each user story, and generating Gantt charts to show the work status of different target task subjects and the overlap of R&D resources.

Benefits of technology

It enables a clear display of the development progress of the target tasks, allowing project managers to accurately grasp the development progress and thus improve development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115809359B_ABST
    Figure CN115809359B_ABST
Patent Text Reader

Abstract

This invention relates to the field of data processing and discloses a method, apparatus, computer device, and readable storage medium for generating Gantt charts. The method includes: acquiring user stories of the iterative process of a target task; determining the iteration data corresponding to each user story; determining the cycle of each task and the task completion progress of each target task subject, thereby obtaining the individual work status of each target task subject; and finally, generating a Gantt chart based on the iteration tag, cycle, task completion progress, iteration plan start time, iteration plan end time, and each target task subject. Based on this, the present invention enables the Gantt chart to display the work status of different target task subjects under the same target task, and to reflect the overlap of R&D resources / development resources in the development process of the target task, thereby clearly displaying the development progress of the target task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing, and more particularly to a method, apparatus, computer device, and readable storage medium for generating Gantt charts. Background Technology

[0002] In agile development projects, a delivery project typically involves multiple user stories. During the iteration process, the development resources involved in each user story may overlap, meaning that a developer / staff member may need to handle the development of multiple user stories.

[0003] Therefore, since traditional Gantt charts are only used to display the completion progress of each task under a project, and thus cannot display the completion progress of each staff member in completing different tasks, it is difficult for relevant personnel such as project managers to grasp the progress of the delivered project in real time, resulting in low efficiency in the processing of delivered projects. Summary of the Invention

[0004] In view of this, the present invention provides a method, apparatus, computer device and readable storage medium for generating Gantt charts, in order to improve the current situation of low processing efficiency of delivered projects.

[0005] In a first aspect, embodiments of the present invention provide a method for generating a Gantt chart, comprising:

[0006] Obtain user stories from the iterative process of the target task, wherein the number of user stories is greater than one;

[0007] Determine the iteration data corresponding to each user story, wherein the iteration data includes the iteration tag, the iteration plan start time, the iteration plan end time, the corresponding target task subject, and the work task corresponding to each target task subject;

[0008] Determine the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to each target task subject;

[0009] A Gantt chart is generated based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject.

[0010] Optionally, in one feasible embodiment of the present invention, determining the period of each work task corresponding to each target task subject and the task completion progress corresponding to the target task subject includes:

[0011] Based on the earliest start date and planned completion time of each of the aforementioned tasks, the cycle of each of the aforementioned tasks corresponding to each of the aforementioned target task subjects is determined;

[0012] The ratio of the number of completed tasks to the total number of tasks completed by the target task entity is calculated to obtain the task completion progress of the target task entity.

[0013] Optionally, in one feasible embodiment of the present invention, determining the iteration data corresponding to each user story includes:

[0014] Determine the iteration tag, iteration plan start time, iteration plan end time, and corresponding task body data for each user story. The task body data includes multiple task data items, and each task data item includes a target task body and a work task corresponding to the target task body.

[0015] Merge the corresponding task subject data belonging to the same target task subject from all the task subject data into one task subject data, and obtain each of the work tasks corresponding to each target task subject.

[0016] Optionally, in one feasible embodiment of the present invention, the horizontal axis of the Gantt chart corresponds to time, the vertical axis of the Gantt chart corresponds to each user story, the bars in the Gantt chart are used to represent the iteration tag to which the corresponding user story belongs and the corresponding target task body, and the bars are also used to display the cycle of each work task corresponding to the target task body and the task completion progress corresponding to the target task body after being clicked.

[0017] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0018] In response to the first filtering request, determine the selected target task subject corresponding to the first filtering request;

[0019] Hide the bars corresponding to the target task entities other than the selected target task entity in the Gantt chart.

[0020] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0021] Obtain the type of each of the work tasks and display it in the Gantt chart;

[0022] In response to the second filtering request, determine the target type corresponding to the second filtering request;

[0023] Hide the bars corresponding to other work tasks in the Gantt chart besides the target type.

[0024] Optionally, in one feasible embodiment of the present invention, generating a Gantt chart based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject includes:

[0025] Based on the received Gantt chart configuration command, the display target corresponding to the Gantt chart configuration command is determined, wherein the display target is one or more of the following: the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task body;

[0026] A Gantt chart is generated based on the displayed target.

[0027] Secondly, embodiments of the present invention provide a Gantt chart generation apparatus, comprising:

[0028] The acquisition module is used to acquire user stories during the iteration process of the target task, wherein the number of user stories is greater than one;

[0029] The first determining module is used to determine the iteration data corresponding to each user story, wherein the iteration data includes the iteration tag, the iteration plan start time, the iteration plan end time, the corresponding target task subject, and the work task corresponding to each target task subject;

[0030] The second determining module is used to determine the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to the target task subject;

[0031] The generation module is used to generate a Gantt chart based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject.

[0032] Thirdly, embodiments of the present invention provide a computer device, including a memory and a processor, wherein the memory stores a computer program, and the computer program executes the Gantt chart generation method as described in the first aspect when running on the processor.

[0033] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when run on a processor, executes the Gantt chart generation method as described in the first aspect.

[0034] The Gantt chart generation method provided in this invention involves: first, acquiring user stories from the iterative process of a target task; then, determining the iteration data for each user story, specifically, determining the iteration tag, iteration plan start time, iteration plan end time, corresponding target task subject, and corresponding work tasks for each target task subject; next, determining the cycle of each work task for each target task subject and the task completion progress for that subject, thereby obtaining the individual work status of each target task subject; finally, generating a Gantt chart based on the iteration tag, cycle, task completion progress, iteration plan start time, iteration plan end time, and each target task subject. Based on this, the invention enables the Gantt chart to display the work status of different target task subjects under the same target task, and to reflect the overlap of R&D resources / development resources during the development process of the target task. This allows the development progress of the target task to be clearly displayed, enabling project managers to accurately grasp the development progress and thus improve development efficiency. Attached Figure Description

[0035] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope of protection of the present invention. In the various drawings, similar components are numbered similarly.

[0036] Figure 1 A flowchart illustrating the first method for generating a Gantt chart according to an embodiment of the present invention is shown.

[0037] Figure 2 A flowchart illustrating the second method for generating Gantt charts provided in an embodiment of the present invention is shown.

[0038] Figure 3 An embodiment of the present invention provides a Gantt chart;

[0039] Figure 4 A schematic diagram of the structure of the Gantt chart generation device provided in an embodiment of the present invention is shown. Detailed Implementation

[0040] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0041] The components of the embodiments of the invention described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0042] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of the invention, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.

[0043] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0044] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the invention pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of the invention.

[0045] Example 1

[0046] This application provides a method for generating a Gantt chart. The execution entity of this method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the Gantt chart generation method can be executed by software or hardware installed on a terminal device or a server device. The software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0047] Reference Figure 1The diagram illustrates a flowchart of a first method for generating a Gantt chart according to an embodiment of the present invention. The method for generating a Gantt chart according to an embodiment of the present invention specifically includes:

[0048] Step S110: Obtain user stories for the target task iteration process, wherein the number of user stories is greater than one.

[0049] It is understood that the target task in the embodiments of the present invention refers to a program development / function development task / project that a development team / enterprise needs to complete, which can be understood as the development of a functional module in an application or the development of the entire application.

[0050] It's also understandable that in the process of developing a target task based on agile development methods, the target task usually involves multiple user stories, each representing a user's need. Furthermore, most user stories are broken down into multiple tasks, each requiring a specific developer to complete / handle.

[0051] Furthermore, it's worth noting that if a target task corresponds to two or more user stories, the development resources for each user story may overlap. That is, within the same timeframe, there might be a situation where a staff member / task manager / target task entity is involved in the development of two different user stories.

[0052] Step S120: Determine the iteration data corresponding to each user story, wherein the iteration data includes the iteration tag, the iteration plan start time, the iteration plan end time, the corresponding target task subject, and the work task corresponding to each target task subject.

[0053] It should be understood that the target task subject in the embodiments of the present invention can be understood as the staff member responsible for the corresponding work task, and thus can be regarded as the task person in charge of each work task, or as the developer of the work task.

[0054] It should also be noted that after a user story is broken down into multiple tasks, and each task is assigned / corresponds to a target task subject, the user story will be planned into the corresponding iteration, and then the project development team will complete the development work of each user story one by one according to the iteration.

[0055] Furthermore, after planning all user stories to iterations, we obtain the iteration plan corresponding to the entire target task. This iteration plan is used to indicate the iterations required for the target task, the user stories to be processed / completed in any iteration, and the target task subject corresponding to each user story's various work tasks.

[0056] Furthermore, in this embodiment of the invention, after acquiring the user stories of the target task iteration process, the computer device will determine the iteration data for each user story.

[0057] It should be noted that in the iteration data corresponding to any user story, the iteration label indicates the iteration to which this user story belongs, such as whether the user story belongs to the first iteration, the second iteration, or any other iteration; the iteration plan start time and iteration plan end time respectively indicate the expected start time and expected end time of the iteration to which this user story belongs; the corresponding target task subject indicates which developers or development teams will complete this user story, and the work task corresponding to the target task subject indicates the work task that the target task subject is responsible for / corresponds to in the entire target task.

[0058] Furthermore, it should be understood that since a target task entity may be responsible for the development of multiple target tasks at the same time, but the working status of the target task entity in other target tasks is not related to the working status of the current target task, the computer device in this embodiment of the invention only collects the items that each target task entity needs to complete under the target task, that is, obtains the work tasks corresponding to each target task entity. Therefore, each work task is associated with a user story belonging to the current target task, that is, a work task corresponds to a user story in the current target task.

[0059] Furthermore, it's conceivable that there might be duplication among all the relevant information for the target task subject obtained across different user stories. For example, one user story might contain a record / information stating "Target task subject A is responsible for the first task," while another user story might contain a record stating "Target task subject A is responsible for the second task." Consequently, after the computer device obtains and stores the iterative data corresponding to each user story, the stored data might contain multiple records for the same target task subject, with the same target task subject appearing repeatedly.

[0060] In view of the above situation, in order to reduce information redundancy, in one feasible embodiment of the present invention, the above step S120 specifically includes:

[0061] Determine the iteration tag, iteration plan start time, iteration plan end time, and corresponding task body data for each user story. The task body data includes multiple task data items, and each task data item includes a target task body and a work task corresponding to the target task body.

[0062] Merge the corresponding task subject data belonging to the same target task subject from all the task subject data into one task subject data, and obtain each of the work tasks corresponding to each target task subject.

[0063] In other words, in this feasible approach, after acquiring the task subject data corresponding to each user story, the computer device in this embodiment of the invention will merge two or more task subject data containing the same target task subject into a single data entry. Furthermore, after traversing all task subject data and completing the merging, a single task subject data entry will include one target task subject and two or more work tasks.

[0064] Therefore, the embodiments of the present invention enable the data of two or more task subjects belonging to the same target task subject to be merged into one, thereby avoiding the situation where the same target task subject appears repeatedly in multiple task subject data, thereby reducing record / data / information redundancy, and avoiding the situation where computer devices need to consume a lot of resources / space to store task subject data.

[0065] Step S130: Determine the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to the target task subject.

[0066] That is, the computer device in this embodiment of the invention will determine the cycle of each work task undertaken by the target task subject, that is, the expected start time and expected completion time of the work task; at the same time, it will calculate the task completion progress of the target task subject, that is, determine the proportion of the work tasks that have been completed among all the work tasks that the target task subject needs to complete.

[0067] Optionally, in one feasible embodiment of the present invention, see [specific details omitted]. Figure 2 The diagram illustrates a flowchart of a second method for generating a Gantt chart according to an embodiment of the present invention. Specifically, step S130 includes:

[0068] Step S131: Based on the earliest start date and planned completion time of each of the work tasks, determine the cycle of each of the work tasks corresponding to each of the target task subjects;

[0069] Step S132: Calculate the ratio of the number of work tasks completed by the target task subject to the total number of all work tasks of the target task subject, and obtain the task completion progress of the target task subject.

[0070] That is, the computer device in this embodiment of the invention will obtain the earliest start date and the planned completion time of each task involved in all user stories of the target task, thereby determining the cycle of each task, and thus obtaining the cycle of each task corresponding to each target task subject.

[0071] It is understandable that the method for obtaining the earliest start date and planned completion time of a task is customizable based on actual circumstances. For example, in one feasible method provided in this embodiment of the invention, before the planning iteration, each worker needs to determine the work tasks they will undertake / be responsible for and provide the planned start and end times for these tasks. The iterative planning then includes the earliest start date and planned completion time for each work task. Therefore, the computer device in this embodiment of the invention will read the data in the iterative planning to obtain the cycle of each work task.

[0072] It is also understood that, since the iterative plan includes all the work tasks that each target task entity needs to complete, and the work system / production system will update the iterative plan based on the completed work tasks after the work tasks are completed, this embodiment of the invention obtains the total number of work tasks that each target task entity needs to complete and the number of work tasks that have been completed by reading the iterative plan, and calculates the ratio of the number of work tasks completed by the target task entity to the total number of work tasks of this target task entity, thereby obtaining the task completion progress of this target task entity.

[0073] Step S140: Generate a Gantt chart based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject.

[0074] That is, the computer device in this embodiment of the invention will draw a corresponding Gantt chart based on the products obtained in the aforementioned steps S120 to S130, so that the Gantt chart can display the parameters in a target task, so that the project manager can determine the overlap of R&D resources in all iterations of the target task based on the content displayed in the Gantt chart, and can determine the individual working status of each target task subject.

[0075] Optionally, in one feasible embodiment of the present invention, the horizontal axis of the Gantt chart corresponds to time, the vertical axis of the Gantt chart corresponds to each user story, the bars in the Gantt chart are used to represent the iteration tag to which the corresponding user story belongs and the corresponding target task body, and the bars are also used to display the cycle of each work task corresponding to the target task body and the task completion progress corresponding to the target task body after being clicked.

[0076] In another feasible embodiment provided by the present invention, please refer to Figure 3 This illustrates a Gantt chart provided by an embodiment of the present invention. Figure 3 In the process, User Story 1 is divided into two tasks: Task 1 and Task 2; the iteration tag for User Story 1 is... Figure 3The "2022-01-01 to 2024-01-11" above refers to an iteration plan that starts on 2022-01-01 and ends on 2024-01-11; the target task for both Task 1 and Task 2 is Zhang San. It should be understood that... Figure 3 Although the task completion progress corresponding to the target task subject is not directly displayed, i.e., the task completion progress corresponding to Zhang San, the user can click on it with the mouse or touchpad. Figure 3 When the name "Zhang San" appears, the computer device will display all the work tasks corresponding to Zhang San and their completion progress.

[0077] Based on this, the present invention enables Gantt charts to display the working status of different target task entities under the same target task, and to reflect the overlap of R&D resources / development resources in the development process of the target task. This allows the development progress of the target task to be clearly displayed, and thus the project manager can accurately grasp the development progress, thereby improving development efficiency.

[0078] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0079] In response to the first filtering request, determine the selected target task subject corresponding to the first filtering request;

[0080] Hide the bars corresponding to the target task entities other than the selected target task entity in the Gantt chart.

[0081] That is, the embodiments of the present invention also include a target task subject filtering function, which is used when a user / project manager needs to filter the target task subject, and then sends a first filtering request to the computer device through the terminal, the computer device controls the display content in the Gantt chart to change accordingly based on the received first filtering request.

[0082] It is understood that the selected target task subject refers to the target task subject that the user wishes to know / view. The first filtering request carries relevant information about the selected target task subject, such as the unique serial number of the selected target task subject. Therefore, embodiments of the present invention determine the selected target task subject by parsing and reading the first filtering request.

[0083] Furthermore, in this embodiment of the invention, after the computer device performs the filtering operation, it controls the Gantt chart to only display bars related to the filtering target, that is, only bars related to the main body of the selected target task are displayed.

[0084] This allows users / project managers to view the progress of any selected target task subject across different user stories as needed, thereby improving the user experience. Furthermore, it enables users to better understand the resource overlap among various user stories, thus allowing them to more clearly grasp the development progress of the target task / project and further improve the development efficiency of the target task.

[0085] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0086] Obtain the type of each of the work tasks and display it in the Gantt chart;

[0087] In response to the second filtering request, determine the target type corresponding to the second filtering request;

[0088] Hide the bars corresponding to other work tasks in the Gantt chart besides the target type.

[0089] It is understandable that, since each task in the delivery target task / project has its corresponding type, and different types of tasks have different impacts on the development progress of the entire delivery target item, this embodiment of the invention also provides a type display function, which enables users to know the type of each task through the Gantt chart displayed on the computer device, and thus determine the development progress of different types of tasks.

[0090] It is also understood that the types of work tasks in the embodiments of the present invention are content that needs to be set according to the actual situation. For example, when the target task to be delivered is a game product, the types of work tasks include dialogue setting type, item interaction type, and scene replacement type, etc. As another example, when the task to be delivered is a social product, the types of work tasks include communication type, personal information adjustment type, and information publishing type, etc.

[0091] Meanwhile, to further meet users' filtering needs, this embodiment of the invention also includes a type-based filtering function. Specifically, when the computer device receives a request from a user via a terminal to view the development progress of a specific type of work task—that is, when it receives a second filtering request from the user via the terminal—and the computer device determines the target type the user needs to view based on the information carried in the second filtering request, the computer device will hide the bars for work tasks that are not of the target type, thereby only displaying the bars for work tasks of this target type.

[0092] This allows users to clearly understand the progress of various types of work tasks, thereby further grasping the development progress of the delivery tasks.

[0093] Optionally, in one feasible embodiment of the present invention, step S140 specifically includes:

[0094] Based on the received Gantt chart configuration command, the display target corresponding to the Gantt chart configuration command is determined, wherein the display target is one or more of the following: the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task body;

[0095] A Gantt chart is generated based on the displayed target.

[0096] In other words, the embodiments of the present invention meet the user's filtering and viewing needs, and also provide a Gantt chart configuration interface. After the user calls the Gantt chart configuration interface through the terminal and sends a Gantt chart configuration command to the computer device, the computer device determines the target that the user wants to view in the Gantt chart based on the Gantt chart configuration command. That is, it determines the aforementioned iteration label, the aforementioned period, the aforementioned task completion progress, the aforementioned iteration plan start time, the aforementioned iteration plan end time, and one or more targets that the user wants to view in each of the aforementioned target task subjects.

[0097] After determining the target that the user wants to view, i.e. the display target, the computer device in this embodiment of the invention will generate a Gantt chart based on the display target, so that the generated and displayed Gantt chart only contains the display target that the user wants to view, thereby satisfying the user's filtering and viewing needs and improving the user experience.

[0098] Optionally, if the number of user stories in all iterations of a delivery task is one, it indicates that there is no overlap of R&D resources / development resources in this delivery task. Therefore, in one feasible embodiment of the present invention, the method further includes:

[0099] If the number of user stories obtained is one, then obtain the iteration plan start time and iteration plan end time of the user story;

[0100] A Gantt chart is generated based on the start time and end time of the iteration plan.

[0101] In other words, when there is only one user story, there will be no overlap of R&D resources between multiple user stories. Therefore, this embodiment of the invention no longer obtains relevant information about each staff member, but only obtains the planned start time and planned end time corresponding to this user story, and then generates the corresponding Gantt chart, so as to complete the generation of the Gantt chart simply and efficiently, and avoid the waste of resources caused by reading relevant information about each staff member.

[0102] Example 2

[0103] Corresponding to the Gantt chart generation method provided in Embodiment 1 of the present invention, Embodiment 2 of the present invention also provides a Gantt chart generation apparatus, referring to... Figure 4 The diagram shows a schematic of the structure of a Gantt chart generation device provided in an embodiment of the present invention. The Gantt chart generation device 200 provided in an embodiment of the present invention includes:

[0104] The acquisition module 210 is used to acquire user stories during the iteration process of the target task, wherein the number of user stories is greater than one;

[0105] The first determining module 220 is used to determine the iteration data corresponding to each user story, wherein the iteration data includes the iteration tag, the iteration plan start time, the iteration plan end time, the corresponding target task subject, and the work task corresponding to each target task subject;

[0106] The second determining module 230 is used to determine the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to the target task subject;

[0107] The generation module 240 is used to generate a Gantt chart based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject.

[0108] Optionally, in one feasible embodiment of the present invention, the second determining module includes:

[0109] The cycle determination submodule is used to determine the cycle of each work task corresponding to each target task subject based on the earliest start date and the planned completion time of each work task.

[0110] The progress calculation submodule is used to calculate the ratio of the number of work tasks completed by the target task subject to the total number of all work tasks of the target task subject, so as to obtain the task completion progress of the target task subject.

[0111] Optionally, in one feasible embodiment of the present invention, the first determining module includes:

[0112] The data determination submodule is used to determine the iteration tag, iteration plan start time, iteration plan end time and corresponding task body data of each user story. The task body data includes multiple task data, and each task data includes a target task body and a work task corresponding to the target task body.

[0113] The merging submodule is used to merge the corresponding task subject data belonging to the same target task subject in all the task subject data into one task subject data, so as to obtain each work task corresponding to each target task subject.

[0114] Optionally, in one feasible embodiment of the present invention, the horizontal axis of the Gantt chart corresponds to time, the vertical axis of the Gantt chart corresponds to each user story, the bars in the Gantt chart are used to represent the iteration tag to which the corresponding user story belongs and the corresponding target task body, and the bars are also used to display the cycle of each work task corresponding to the target task body and the task completion progress corresponding to the target task body after being clicked.

[0115] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0116] The first response module is used to respond to the first filtering request and determine the selected target task subject corresponding to the first filtering request;

[0117] The first hiding module is used to hide the bars corresponding to other target task subjects in the Gantt chart besides the selected target task subject.

[0118] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0119] A type acquisition module is used to acquire the type of each of the work tasks and display it in the Gantt chart;

[0120] The second response module is used to respond to the second filtering request and determine the target type corresponding to the second filtering request;

[0121] The second hiding module is used to hide the bars corresponding to other work tasks in the Gantt chart besides the target type.

[0122] Optionally, in one feasible embodiment of the present invention, the generation module includes:

[0123] The target determination submodule is used to determine the display target corresponding to the received Gantt chart configuration command based on the received Gantt chart configuration command, wherein the display target is one or more of the following: the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task body;

[0124] The graph generation submodule is used to generate a Gantt chart based on the display target.

[0125] The Gantt chart generation apparatus 200 provided in this application embodiment can implement all processes of the Gantt chart generation method corresponding to Embodiment 1 and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0126] Example 3

[0127] This invention also provides a computer device, including a memory and a processor. The memory stores a computer program, and when the computer program runs on the processor, it executes the Gantt chart generation method as described in Embodiment 1. That is, when the computer program runs on the processor, it performs the following steps:

[0128] Obtain user stories from the iterative process of the target task, wherein the number of user stories is greater than one;

[0129] Determine the iteration data corresponding to each user story, wherein the iteration data includes the iteration tag, the iteration plan start time, the iteration plan end time, the corresponding target task subject, and the work task corresponding to each target task subject;

[0130] Determine the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to each target task subject;

[0131] A Gantt chart is generated based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject.

[0132] Optionally, in one feasible embodiment of the present invention, determining the period of each work task corresponding to each target task subject and the task completion progress corresponding to the target task subject includes:

[0133] Based on the earliest start date and planned completion time of each of the aforementioned tasks, the cycle of each of the aforementioned tasks corresponding to each of the aforementioned target task subjects is determined;

[0134] The ratio of the number of completed tasks to the total number of tasks completed by the target task entity is calculated to obtain the task completion progress of the target task entity.

[0135] Optionally, in one feasible embodiment of the present invention, determining the iteration data corresponding to each user story includes:

[0136] Determine the iteration tag, iteration plan start time, iteration plan end time, and corresponding task body data for each user story. The task body data includes multiple task data items, and each task data item includes a target task body and a work task corresponding to the target task body.

[0137] Merge the corresponding task subject data belonging to the same target task subject from all the task subject data into one task subject data, and obtain each of the work tasks corresponding to each target task subject.

[0138] Optionally, in one feasible embodiment of the present invention, the horizontal axis of the Gantt chart corresponds to time, the vertical axis of the Gantt chart corresponds to each user story, the bars in the Gantt chart are used to represent the iteration tag to which the corresponding user story belongs and the corresponding target task body, and the bars are also used to display the cycle of each work task corresponding to the target task body and the task completion progress corresponding to the target task body after being clicked.

[0139] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0140] In response to the first filtering request, determine the selected target task subject corresponding to the first filtering request;

[0141] Hide the bars corresponding to the target task entities other than the selected target task entity in the Gantt chart.

[0142] Optionally, in one feasible embodiment of the present invention, the method further includes:

[0143] Obtain the type of each of the work tasks and display it in the Gantt chart;

[0144] In response to the second filtering request, determine the target type corresponding to the second filtering request;

[0145] Hide the bars corresponding to other work tasks in the Gantt chart besides the target type.

[0146] Optionally, in one feasible embodiment of the present invention, generating a Gantt chart based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject includes:

[0147] Based on the received Gantt chart configuration command, the display target corresponding to the Gantt chart configuration command is determined, wherein the display target is one or more of the following: the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task body;

[0148] A Gantt chart is generated based on the displayed target.

[0149] It is understood that the computer program in the computer device provided in Embodiment 3 of the present invention can execute the various steps of the Gantt chart generation method provided in Embodiment 1 when running on the processor, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0150] Example 4

[0151] This invention also provides a computer-readable storage medium storing a computer program that, when run on a processor, executes the Gantt chart generation method as described in Embodiment 1.

[0152] It is understood that the computer program stored in the computer-readable storage medium provided in Embodiment 4 of the present invention is similar to the computer program in Embodiment 3. Both are used to execute the various steps of the Gantt chart generation method provided in Embodiment 1 when running on a processor, and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0153] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, as an alternative implementation, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0154] In addition, the functional modules or units in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0155] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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 smartphone, 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 non-volatile media and / or volatile media. Specifically, the non-volatile media is any one of read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), and flash memory, or a combination of several of these. The volatile medium is any one of RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), or a combination of several of them.

[0156] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for generating a Gantt chart, characterized in that, include: Obtain user stories from the iterative process of the target task, wherein the number of user stories is greater than one; Determine the iteration data corresponding to each user story, wherein the iteration data includes the iteration tag, the iteration plan start time, the iteration plan end time, the corresponding target task subject, and the work task corresponding to each target task subject; Determine the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to each target task subject; A Gantt chart is generated based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject; The step of determining the iteration data corresponding to each user story includes: Determine the iteration tag, iteration plan start time, iteration plan end time, and corresponding task body data for each user story. The task body data includes multiple task data items, each of which includes a target task body and a corresponding work task. Merge the corresponding task body data belonging to the same target task body from all the task body data into one task body data item to obtain each work task corresponding to each target task body.

2. The method for generating a Gantt chart according to claim 1, characterized in that, The determination of the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to each target task subject includes: Based on the earliest start date and planned completion time of each of the aforementioned tasks, the cycle of each of the aforementioned tasks corresponding to each of the aforementioned target task subjects is determined; The ratio of the number of completed tasks to the total number of tasks completed by the target task entity is calculated to obtain the task completion progress of the target task entity.

3. The method for generating a Gantt chart according to claim 1, characterized in that, The horizontal axis of the Gantt chart corresponds to time, and the vertical axis of the Gantt chart corresponds to each user story. The bars in the Gantt chart are used to represent the iteration tag of the corresponding user story and the corresponding target task body. The bars are also used to display the cycle of each work task corresponding to the target task body and the task completion progress of the target task body when clicked.

4. The method for generating a Gantt chart according to claim 3, characterized in that, Also includes: In response to the first filtering request, determine the selected target task subject corresponding to the first filtering request; Hide the bars corresponding to the target task entities other than the selected target task entity in the Gantt chart.

5. The method for generating a Gantt chart according to claim 3, characterized in that, Also includes: Obtain the type of each of the work tasks and display it in the Gantt chart; In response to the second filtering request, determine the target type corresponding to the second filtering request; Hide the bars corresponding to other work tasks in the Gantt chart besides the target type.

6. The method for generating a Gantt chart according to claim 1, characterized in that, The generation of a Gantt chart based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject includes: Based on the received Gantt chart configuration command, the display target corresponding to the Gantt chart configuration command is determined, wherein the display target is one or more of the following: the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task body; A Gantt chart is generated based on the displayed target.

7. A device for generating Gantt charts, characterized in that, include: The acquisition module is used to acquire user stories during the iteration process of the target task, wherein the number of user stories is greater than one; The first determining module is used to determine the iteration data corresponding to each user story, wherein the iteration data includes the iteration tag, the iteration plan start time, the iteration plan end time, the corresponding target task subject, and the work task corresponding to each target task subject; The second determining module is used to determine the cycle of each work task corresponding to each target task subject and the task completion progress corresponding to the target task subject; The generation module is used to generate a Gantt chart based on the iteration label, the period, the task completion progress, the iteration plan start time, the iteration plan end time, and each target task subject; The first determining module is used to determine the iteration data corresponding to each user story, including: Determine the iteration tag, iteration plan start time, iteration plan end time, and corresponding task body data for each user story. The task body data includes multiple task data items, each of which includes a target task body and a corresponding work task. Merge the corresponding task body data belonging to the same target task body from all the task body data into one task body data item to obtain each work task corresponding to each target task body.

8. A computer device, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when run on the processor, executes the method for generating a Gantt chart as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a processor, executes the method for generating a Gantt chart as described in any one of claims 1-6.