CN117492885A - Gantt chart processing method and device, electronic equipment and readable storage medium - Google Patents

Gantt chart processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117492885A
CN117492885A CN202311326568.8A CN202311326568A CN117492885A CN 117492885 A CN117492885 A CN 117492885A CN 202311326568 A CN202311326568 A CN 202311326568A CN 117492885 A CN117492885 A CN 117492885A
Authority
CN
China
Prior art keywords
task
gantt chart
control
target
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311326568.8A
Other languages
Chinese (zh)
Inventor
李辩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN202311326568.8A priority Critical patent/CN117492885A/en
Publication of CN117492885A publication Critical patent/CN117492885A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a Gantt chart processing method and device, electronic equipment and a readable storage medium, and relates to the technical field of electronic equipment. The Gantt chart processing method comprises the following steps: under the condition that task data of a target task are obtained, extracting a first task parameter in the task data, wherein the first task parameter is associated with a task node of the target task; constructing a Gantt chart according to the first task parameters, wherein the Gantt chart comprises a first control, and the first control is matched with the task nodes; and under the condition that the Gantt chart is displayed, in response to the operation input of the first control, updating the task node of the target task.

Description

Gantt chart processing method and device, electronic equipment and readable storage medium
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a Gantt chart processing method and device, electronic equipment and a readable storage medium.
Background
Planning and executing business activities of enterprises are involved in a plurality of different business scenarios such as production manufacturing, assets, projects and the like.
In contrast, in the related art, a plan is often displayed by a single Gantt chart, but the Gantt chart does not have an editing function, and a scheme for displaying the plan by adopting the single Gantt chart has the problems that the plan cannot be directly edited and the flexibility is poor.
Therefore, how to overcome the above technical defects is a technical problem to be solved.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art.
To this end, a first aspect of the present invention proposes a gante graph processing method.
The second aspect of the invention provides a Gantt chart processing device.
A third aspect of the invention proposes an electronic device.
A fourth aspect of the invention proposes a readable storage medium.
In view of this, a first aspect of the present invention provides a gante graph processing method, including:
under the condition that task data of a target task are obtained, extracting a first task parameter in the task data, wherein the first task parameter is associated with a task node of the target task;
constructing a Gantt chart according to the first task parameters, wherein the Gantt chart comprises a first control, and the first control is matched with the task nodes;
and under the condition that the Gantt chart is displayed, in response to the operation input of the first control, updating the task node of the target task.
The application defines a processing method for Gantt chart (Gantt chart), which is also called a cross-road chart and a bar chart, specifically, the situation that the intrinsic relation of project, progress and other time related system progress is progressed with time is displayed through the bar chart.
In the process of processing the Gantt chart, task data of a target task is firstly obtained, wherein the target task comprises a manufacturing task, an asset task, an enterprise project task and the like, and the task data comprises manufacturing cloud data, asset cloud data, project cloud data and the like. Under the condition that the task data is acquired, extracting a first task parameter of a task node corresponding to the target task from the task data, wherein the first task parameter is associated with the target task node, and the current state of the target task can be displayed.
After the first task parameters are successfully extracted, a Gantt chart is constructed through the first task parameters, and the Gantt chart is displayed to the constructed Gantt chart, wherein the constructed Gantt chart comprises a first control, the first control is matched with task nodes of a target task, and the corresponding task nodes can be adjusted by operating the first control. Specifically, the user may trigger the first control through clicking, dragging, framing, and the like, to enter an operation input for the first control. Under the condition that the Gantt chart is in a displaying state and operation input based on the first control is received, updating task nodes of the target task according to the operation input so as to complete editing of the target task.
Therefore, the planning and executing method based on the Gantt chart is limited, and after the Gantt chart is displayed, a user can intuitively know the details, planning time and progress of the target task through the Gantt chart. Under the condition that task information observed by a user is not matched with a task target, the user can adjust the target task by operating the first control, and in the process of operating the first control, the corresponding changed Gantt chart can display the adjusted task information, and meanwhile, the task nodes corresponding to the target task are updated.
In summary, the Gantt chart processing method defined by the application can enable the task display process to give consideration to the flexible and polygonal parameter configuration requirements and the visual and graphical display requirements, realize the function of adjusting the planned exhaust of the target task at any time, and enable a user to display, compile and execute the actual situation of the enterprise operation plan in real time based on the displayed Gantt chart. Therefore, the problems that the Gantt chart in the related technology does not have an editing function, the plan of the display scheme cannot be directly edited, and the flexibility is poor are solved.
In addition, the Gantt chart processing method provided by the invention can also have the following additional technical characteristics:
In some embodiments of the present invention, optionally, constructing a gantt chart according to the first task parameter includes:
extracting second task parameters in the task data, wherein the second task parameters are associated with task details of the target task, and the second task parameters are in one-to-one correspondence with the first task parameters;
according to the first task parameter, configuring a bar graph in the Gantt chart;
generating task detail information in the Gantt chart according to the second task parameters;
and generating a Gantt chart according to the first corresponding relation, the bar chart and the task detail information, wherein the first corresponding relation is the corresponding relation between the first task parameter and the second task parameter.
In the technical scheme, the step of constructing the Gantt chart according to the first task parameter is refined. Specifically, after task data of a target task is obtained, and a first task parameter is extracted based on the task data, a second task parameter is extracted from the task data based on the first task parameter, wherein the second task parameter corresponds to the first task parameter one by one. For example, the first task parameter may include a time parameter such as a planned start time, a planned end time, a planned completion progress, etc. of the target task, and the second task parameter may include a detailed parameter such as a name, an order number, a task requirement, etc. of the target task.
After the first task parameter and the second task parameter are extracted, determining a bar graph in the Gantt chart to be generated according to the first task parameter, wherein the bar graph can intuitively and clearly display information of a target task in a time dimension for a user, provides convenience conditions for the user to control the task progress, and simultaneously generates task detail information corresponding to the bar graph according to the second task parameter. And finally, generating a Gantt chart to be displayed according to the one-to-one correspondence relation between the first task parameters and the second task parameters, the bar chart and the task detail information. In the Gantt chart, the number of entries in the bar chart corresponds to the number of entries in the task detail information one by one, namely the bar chart corresponds to the detail parameters one by one, a user can observe the progress of a task through the bar chart on one side, and meanwhile, the details of the task can be known through the task detail information on the other side.
The Gantt chart generated under the technical scheme gives consideration to the task progress display requirement and the task detail viewing requirement, so that a user can know the task progress more clearly and intuitively, and convenience is provided for the user to control the target task. On the basis, a user can adjust the planning of the target task in real time through the first control on the basis of the displayed Gantt chart and correspondingly modify and update the target task, so that the flexible programming of the target task by the user is met, the Gantt chart processing method is optimized, and the technical effect of user experience is improved.
In some embodiments of the invention, optionally, the first task parameter includes a task start time and a task end time;
according to the first task parameter, configuring a bar graph in the Gantt chart, which comprises the following steps:
determining the corresponding time dimension of the bar graph according to the preset information of the target task,
according to the task starting time and the task ending time, configuring time scale parameters in the Gantt chart according to the time dimension;
wherein the time dimension includes any one of: day, week, month, year.
In the technical scheme, the target task comprises corresponding preset information, specifically comprises task planning duration, and the first task parameter comprises task starting time and task ending time of the target task. On the basis, in the process of configuring the bar graph in the Gantt chart through the first task parameters, firstly, generating a time dimension in the bar graph according to preset information corresponding to a target task, wherein the specific time dimension comprises at least one of day, week, month and year, a short period task can select the day as the time dimension, and a long period task can select the year as the time dimension. After the required time dimension is determined, configuring time scale parameters in the Gantt chart according to the determined time dimension according to the task starting time and the task ending time in the first task parameter, so as to generate a bar chart capable of showing the progress of the target task.
By limiting the steps, the generated bar graph can meet the viewing requirement of the user in the time dimension, the user can know the plan and progress of the target task through the bar graph, and further the technical effect of improving the use experience of the user is achieved.
The first control can be associated with the bar graph, and a user can change the bar graph by dragging the first control, so that the updating of the target task is realized.
In some embodiments of the invention, optionally, the first task parameter includes task progress;
according to the first task parameter, configuring a bar graph in the Gantt chart, which comprises the following steps:
and configuring color information of the bar graph according to the progress category of the task progress.
In the technical scheme, the first task parameter comprises the task progress of the target task, and on the basis, in the process of configuring the Gantt chart through the first task parameter, corresponding color information can be configured for the bar chart according to the progress category corresponding to the task progress. Specifically, different progress categories correspond to different colors, and the user can directly know the current progress of the task and the progress requirement of the task by distinguishing the colors. For example, in the process of configuring an urgent task, the bar graph may be configured to be red, and when a task with a large margin of time is configured, the bar graph may be configured to be green.
Through limiting the steps, the dimension of the reading progress category can be increased in the generated bar graph, so that a user can know the emergency degree of the target task through the Gantt chart, and convenience is provided for the user to control the task plan.
In some technical schemes of the invention, optionally, the first control comprises a first sub-control, and the first sub-control is matched with the time scale parameter in the Gantt chart;
in response to an operational input to the first control, updating a task node of the target task, comprising:
in response to an operational input to the first sub-control, a time node in the target task is updated.
In the technical scheme, the first control comprises a first sub-control for regulating and controlling the time dimension of the Gantt chart. The first sub-control is matched with the time scale parameters in the Gantt chart, corresponding operation input is generated based on the operation of the user on the first sub-control in the process of updating the task node of the target task according to the operation input of the first control, then the time node in the target task is updated according to the operation input, so that a target plan is compiled in a time dimension, the user can adjust the plan schedule in real time, and real-time display and compilation execution are performed on the actual condition of the enterprise operation plan.
In some embodiments of the invention, optionally, the first control includes a second sub-control, and the operation input includes a first sub-input and a second sub-input;
in response to an operational input to the first control, updating the target task includes:
responsive to a first sub-input to the second sub-control, displaying a task content node of the target task;
the task content node is updated in response to a second sub-input of the task parameter.
In the technical scheme, the first control further comprises a second sub-control, and the user can generate the first sub-input and the second sub-input under the condition of operating the second sub-control. In the process of updating the target task through the operation input, if the received operation input is the first sub-input, the task content node of the target task is displayed according to the first sub-input, and then the user can display the content information corresponding to the content node by selecting the required task node. If the received operation input is the second sub-input, updating the content information in the content node according to the second sub-input to finish the content adjustment. I.e. the first sub-input corresponds to the presentation requirements of the task content node and the second sub-input corresponds to the modified editing requirements of the task node.
Through limiting the steps, the user can flexibly adjust the content node of the target task through the second sub-control, and further the use experience is improved.
In some embodiments of the present invention, optionally, in response to an operation input to the first control, updating a task node of the target task, and then further includes:
and updating the Gantt chart based on the updated task nodes.
In the technical scheme, after a user compiles the displayed Gantt chart through the first control, the Gantt chart is correspondingly updated according to new task nodes obtained after the compiling. After the user modifies the content details of the target task, new task plans and task details can be displayed by timely updating the Gantt chart, so that convenience is provided for the user to subsequently control the target task.
A second aspect of the present invention provides a gante graph processing apparatus, comprising: the extraction module is used for extracting a first task parameter in the task data under the condition that the task data of the target task are acquired, wherein the first task parameter is associated with a task node of the target task; the construction module is used for constructing a Gantt chart according to the first task parameters, wherein the Gantt chart comprises a first control, and the first control is matched with the task nodes; and the updating module is used for responding to the operation input of the first control under the condition of displaying the Gantt chart and updating the task node of the target task.
The present application defines a processing device for a Gantt chart (Gantt chart), which is also called a cross-track chart and a bar chart, specifically, a bar chart is used to display the situation that the inherent relationship of project, progress and other time-related system progress progresses with time.
In the process of processing the Gantt chart, task data of a target task is firstly obtained, wherein the target task comprises a manufacturing task, an asset task, an enterprise project task and the like, and the task data comprises manufacturing cloud data, asset cloud data, project cloud data and the like. Under the condition that the task data is acquired, the extraction module extracts a first task parameter of a task node corresponding to the target task from the task data, wherein the first task parameter is associated with the target task node and can show the current state of the target task.
After the first task parameters are successfully extracted, the construction module constructs a Gantt chart through the first task parameters and displays the Gantt chart to the constructed Gantt chart, wherein the constructed Gantt chart comprises a first control, the first control is matched with task nodes of a target task, and the corresponding task nodes can be adjusted by operating the first control. Specifically, the user may trigger the first control through clicking, dragging, framing, and the like, to enter an operation input for the first control. Under the condition that the Gantt chart is in a displaying state and operation input based on the first control is received, the updating module updates task nodes of the target task according to the operation input so as to complete editing of the target task.
Therefore, the planning and executing device based on the Gantt chart is limited, and after the Gantt chart is displayed, a user can intuitively know the details, planning time and progress of the target task through the Gantt chart. Under the condition that task information observed by a user is not matched with a task target, the user can adjust the target task by operating the first control, and in the process of operating the first control, the corresponding changed Gantt chart can display the adjusted task information, and meanwhile, the task nodes corresponding to the target task are updated.
In summary, the Gantt chart processing device defined by the application can enable the task display process to give consideration to the flexible and polygonal parameter configuration requirements, and the visual and graphical display requirements, realize the function of adjusting the planned exhaust of the target task at any time, and enable a user to display, compile and execute the actual situation of the enterprise operation plan in real time based on the displayed Gantt chart. Therefore, the problems that the Gantt chart in the related technology does not have an editing function, the plan of the display scheme cannot be directly edited, and the flexibility is poor are solved.
A third aspect of the present invention provides an electronic device, comprising: the device comprises a processor and a memory, wherein the memory stores programs or instructions capable of running on the processor, and the programs or instructions realize the steps of the Gantt chart processing method in any one of the technical schemes when being executed by the processor.
In this technical scheme, an electronic device capable of implementing any one of the above technical schemes is provided, so that the electronic device has the advantages of the gand graph processing method in any one of the above technical schemes, and can implement the technical effects of the gand graph processing method in any one of the above technical schemes, and in order to avoid repetition, the description is omitted here.
A fourth aspect of the present invention provides a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the gand chart processing method in any one of the above-mentioned aspects.
In this technical solution, a readable storage medium is provided that can implement steps of the gand graph processing method in any one of the above technical solutions after being read by a processor, so that the readable storage medium has advantages of the gand graph processing method in any one of the above technical solutions, and can implement technical effects of the gand graph processing method in any one of the above technical solutions, and is not repeated here to avoid repetition.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 shows a flow chart of a Gantt chart processing method according to one embodiment of the invention;
FIG. 2 shows a flow chart of a Gantt chart processing method according to one embodiment of the invention;
FIG. 3 shows a flow chart of a Gantt chart processing method according to one embodiment of the invention;
FIG. 4 shows a flow chart of a Gantt chart processing method according to one embodiment of the invention;
FIG. 5 shows a schematic diagram of a Gantt chart according to one embodiment of the present invention;
FIG. 6 shows a block diagram of a Gantt chart processing apparatus according to one embodiment of the present invention;
FIG. 7 shows a block diagram of an electronic device according to one embodiment of the invention;
fig. 8 shows a data processing schematic of a gante graph processing method according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
A description will be given below of a gand chart processing method, apparatus, electronic device, and readable storage medium according to some embodiments of the present invention with reference to fig. 1 to 8.
As shown in fig. 1, one embodiment of the present application provides a gante graph processing method, where the gante graph processing method includes:
102, under the condition that task data of a target task are obtained, extracting a first task parameter in the task data, wherein the first task parameter is associated with a task node of the target task;
step 104, constructing a Gantt chart according to the first task parameters, wherein the Gantt chart comprises a first control, and the first control is matched with the task nodes;
and step 106, in the case of displaying the Gantt chart, updating task nodes of the target task in response to the operation input of the first control.
The application defines a processing method for Gantt chart (Gantt chart), which is also called a cross-road chart and a bar chart, specifically, the situation that the intrinsic relation of project, progress and other time related system progress is progressed with time is displayed through the bar chart.
In the process of processing the Gantt chart, task data of a target task is firstly obtained, wherein the target task comprises a manufacturing task, an asset task, an enterprise project task and the like, and the task data comprises manufacturing cloud data, asset cloud data, project cloud data and the like. Under the condition that the task data is acquired, extracting a first task parameter of a task node corresponding to the target task from the task data, wherein the first task parameter is associated with the target task node, and the current state of the target task can be displayed.
After the first task parameters are successfully extracted, a Gantt chart is constructed through the first task parameters, and the Gantt chart is displayed to the constructed Gantt chart, wherein the constructed Gantt chart comprises a first control, the first control is matched with task nodes of a target task, and the corresponding task nodes can be adjusted by operating the first control. Specifically, the user may trigger the first control through clicking, dragging, framing, and the like, to enter an operation input for the first control. Under the condition that the Gantt chart is in a displaying state and operation input based on the first control is received, updating task nodes of the target task according to the operation input so as to complete editing of the target task.
Therefore, the planning and executing method based on the Gantt chart is limited, and after the Gantt chart is displayed, a user can intuitively know the details, planning time and progress of the target task through the Gantt chart. Under the condition that task information observed by a user is not matched with a task target, the user can adjust the target task by operating the first control, and in the process of operating the first control, the corresponding changed Gantt chart can display the adjusted task information, and meanwhile, the task nodes corresponding to the target task are updated.
In summary, the Gantt chart processing method defined by the application can enable the task display process to give consideration to the flexible and polygonal parameter configuration requirements and the visual and graphical display requirements, realize the function of adjusting the planned exhaust of the target task at any time, and enable a user to display, compile and execute the actual situation of the enterprise operation plan in real time based on the displayed Gantt chart. Therefore, the problems that the Gantt chart in the related technology does not have an editing function, the plan of the display scheme cannot be directly edited, and the flexibility is poor are solved.
As shown in fig. 2, in some embodiments of the invention, optionally constructing a gater graph according to the first task parameter includes:
step 202, extracting second task parameters in task data, wherein the second task parameters are associated with task details of a target task, and the second task parameters are in one-to-one correspondence with the first task parameters;
step 204, configuring a bar chart in the Gantt chart according to the first task parameter;
step 206, generating task detail information in the Gantt chart according to the second task parameters;
and step 208, generating a Gantt chart according to the first corresponding relation, the bar chart and the task detail information, wherein the first corresponding relation is the corresponding relation between the first task parameter and the second task parameter.
In the technical scheme, the step of constructing the Gantt chart according to the first task parameter is refined. Specifically, after task data of a target task is obtained, and a first task parameter is extracted based on the task data, a second task parameter is extracted from the task data based on the first task parameter, wherein the second task parameter corresponds to the first task parameter one by one. For example, the first task parameter may include a time parameter such as a planned start time, a planned end time, a planned completion progress, etc. of the target task, and the second task parameter may include a detailed parameter such as a name, an order number, a task requirement, etc. of the target task.
After the first task parameter and the second task parameter are extracted, determining a bar graph in the Gantt chart to be generated according to the first task parameter, wherein the bar graph can intuitively and clearly display information of a target task in a time dimension for a user, provides convenience conditions for the user to control the task progress, and simultaneously generates task detail information corresponding to the bar graph according to the second task parameter. And finally, generating a Gantt chart to be displayed according to the one-to-one correspondence relation between the first task parameters and the second task parameters, the bar chart and the task detail information. In the Gantt chart, the number of entries in the bar chart corresponds to the number of entries in the task detail information one by one, namely the bar chart corresponds to the detail parameters one by one, a user can observe the progress of a task through the bar chart on one side, and meanwhile, the details of the task can be known through the task detail information on the other side.
The Gantt chart generated under the technical scheme gives consideration to the task progress display requirement and the task detail viewing requirement, so that a user can know the task progress more clearly and intuitively, and convenience is provided for the user to control the target task. On the basis, a user can adjust the planning of the target task in real time through the first control on the basis of the displayed Gantt chart and correspondingly modify and update the target task, so that the flexible programming of the target task by the user is met, the Gantt chart processing method is optimized, and the technical effect of user experience is improved.
As shown in fig. 3, in some embodiments of the invention, optionally, the first task parameter includes a task start time and a task end time; according to the first task parameter, configuring a bar graph in the Gantt chart, which comprises the following steps:
step 302, determining a time dimension corresponding to the bar graph according to preset information of a target task;
step 304, configuring time scale parameters in the Gantt chart according to the time dimension according to the task starting time and the task ending time;
wherein the time dimension includes any one of: day, week, month, year.
In the technical scheme, the target task comprises corresponding preset information, specifically comprises task planning duration, and the first task parameter comprises task starting time and task ending time of the target task. On the basis, in the process of configuring the bar graph in the Gantt chart through the first task parameters, firstly, generating a time dimension in the bar graph according to preset information corresponding to a target task, wherein the specific time dimension comprises at least one of day, week, month and year, a short period task can select the day as the time dimension, and a long period task can select the year as the time dimension. After the required time dimension is determined, configuring time scale parameters in the Gantt chart according to the determined time dimension according to the task starting time and the task ending time in the first task parameter, so as to generate a bar chart capable of showing the progress of the target task.
By limiting the steps, the generated bar graph can meet the viewing requirement of the user in the time dimension, the user can know the plan and progress of the target task through the bar graph, and further the technical effect of improving the use experience of the user is achieved.
The first control can be associated with the bar graph, and a user can change the bar graph by dragging the first control, so that the updating of the target task is realized.
In some embodiments of the invention, optionally, the first task parameter comprises task progress; according to the first task parameter, configuring a bar graph in the Gantt chart, which comprises the following steps:
and configuring color information of the bar graph according to the progress category of the task progress.
In the technical scheme, the first task parameter comprises the task progress of the target task, and on the basis, in the process of configuring the Gantt chart through the first task parameter, corresponding color information can be configured for the bar chart according to the progress category corresponding to the task progress. Specifically, different progress categories correspond to different colors, and the user can directly know the current progress of the task and the progress requirement of the task by distinguishing the colors. For example, in the process of configuring an urgent task, the bar graph may be configured to be red, and when a task with a large margin of time is configured, the bar graph may be configured to be green.
Through limiting the steps, the dimension of the reading progress category can be increased in the generated bar graph, so that a user can know the emergency degree of the target task through the Gantt chart, and convenience is provided for the user to control the task plan.
In some embodiments of the invention, optionally, the first control comprises a first sub-control, the first sub-control matching with a time scale parameter in the Gantt chart; in response to an operational input to the first control, updating a task node of the target task, comprising:
in response to an operational input to the first sub-control, a time node in the target task is updated.
In the technical scheme, the first control comprises a first sub-control for regulating and controlling the time dimension of the Gantt chart. The first sub-control is matched with the time scale parameters in the Gantt chart, corresponding operation input is generated based on the operation of the user on the first sub-control in the process of updating the task node of the target task according to the operation input of the first control, then the time node in the target task is updated according to the operation input, so that a target plan is compiled in a time dimension, the user can adjust the plan schedule in real time, and real-time display and compilation execution are performed on the actual condition of the enterprise operation plan.
As shown in fig. 4, in some embodiments of the invention, optionally, the first control comprises a second sub-control and the operational input comprises a first sub-input and a second sub-input; in response to an operational input to the first control, updating the target task includes:
step 402, responding to a first sub-input of a second sub-control, and displaying a task content node of a target task;
step 404, updating the task content node in response to the second sub-input of the task parameter.
In the technical scheme, the first control further comprises a second sub-control, and the user can generate the first sub-input and the second sub-input under the condition of operating the second sub-control. In the process of updating the target task through the operation input, if the received operation input is the first sub-input, the task content node of the target task is displayed according to the first sub-input, and then the user can display the content information corresponding to the content node by selecting the required task node. If the received operation input is the second sub-input, updating the content information in the content node according to the second sub-input to finish the content adjustment. I.e. the first sub-input corresponds to the presentation requirements of the task content node and the second sub-input corresponds to the modified editing requirements of the task node.
Through limiting the steps, the user can flexibly adjust the content node of the target task through the second sub-control, and further the use experience is improved.
In some embodiments of the invention, optionally, in response to an operation input to the first control, updating the task node of the target task, further comprising:
and updating the Gantt chart based on the updated task nodes.
In the technical scheme, after a user compiles the displayed Gantt chart through the first control, the Gantt chart is correspondingly updated according to new task nodes obtained after the compiling. After the user modifies the content details of the target task, new task plans and task details can be displayed by timely updating the Gantt chart, so that convenience is provided for the user to subsequently control the target task.
Fig. 5 shows a gante diagram generated by the present application, where the content in the left dashed box 504 corresponds to task detail information in any of the embodiments described above, the content in the right dashed box 502 corresponds to a bar chart in any of the embodiments described above, the left popup 506 corresponds to a second sub-control in any of the embodiments described above, and the right bar 508 corresponds to a first sub-control in any of the embodiments described above.
As shown in fig. 6, an embodiment of the present invention provides a gantt chart processing apparatus 600, the gantt chart processing apparatus 600 comprising: the extracting module 602 is configured to extract a first task parameter in task data, where the first task parameter is associated with a task node of a target task, when task data of the target task is acquired; the construction module 604 is configured to construct a Gantt chart according to the first task parameter, where the Gantt chart includes a first control, and the first control is matched with the task node; and the updating module 606 is used for responding to the operation input of the first control and updating the task node of the target task under the condition that the Gantt chart is displayed.
The present application defines a processing device for a Gantt chart (Gantt chart), which is also called a cross-track chart and a bar chart, specifically, a bar chart is used to display the situation that the inherent relationship of project, progress and other time-related system progress progresses with time.
In the process of processing the Gantt chart, task data of a target task is firstly obtained, wherein the target task comprises a manufacturing task, an asset task, an enterprise project task and the like, and the task data comprises manufacturing cloud data, asset cloud data, project cloud data and the like. In the case of acquiring task data, the extraction module 602 extracts, from the task data, a first task parameter of a task node corresponding to a target task, where the first task parameter is associated with the target task node and may exhibit a current state of the target task.
After the first task parameter is successfully extracted, the construction module 604 constructs a Gantt chart through the first task parameter, and displays the Gantt chart to the constructed Gantt chart, wherein the constructed Gantt chart comprises a first control, the first control is matched with a task node of the target task, and the corresponding task node can be adjusted by operating the first control. Specifically, the user may trigger the first control through clicking, dragging, framing, and the like, to enter an operation input for the first control. Wherein, when the Gantt chart is in a state of being displayed and an operation input based on the first control is received, the update module 606 updates the task node of the target task according to the operation input, so as to complete editing of the target task.
Therefore, the planning and executing device based on the Gantt chart is limited, and after the Gantt chart is displayed, a user can intuitively know the details, planning time and progress of the target task through the Gantt chart. Under the condition that task information observed by a user is not matched with a task target, the user can adjust the target task by operating the first control, and in the process of operating the first control, the corresponding changed Gantt chart can display the adjusted task information, and meanwhile, the task nodes corresponding to the target task are updated.
In summary, the sweet-ter graph processing apparatus 600 defined in the application can make the task display process capable of considering the flexible and polygonal parameter configuration requirement, and the visual and graphic display requirement, and realize the function of adjusting the planned exhaust of the target task at any time, so that the user can display, compile and execute the actual situation of the enterprise operation plan in real time based on the displayed sweet-ter graph. Therefore, the problems that the Gantt chart in the related technology does not have an editing function, the plan of the display scheme cannot be directly edited, and the flexibility is poor are solved.
As shown in fig. 7, one embodiment of the present invention provides an electronic device 700, the electronic device 700 comprising: a processor 704 and a memory 702, the memory 702 storing programs or instructions executable on the processor 704 which when executed by the processor 704 implement the steps of the gatekeeper graph processing method in any of the embodiments described above.
In this embodiment, an electronic device 700 capable of implementing any one of the embodiments is provided, so that the electronic device 700 has the advantages of the gand chart processing method in any one of the embodiments, and can implement the technical effects of the gand chart processing method in any one of the embodiments, and for avoiding repetition, the description is omitted herein.
An embodiment of the present invention provides a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the gand chart processing method in any of the above embodiments.
In this embodiment, a readable storage medium is provided that can implement the steps of the gand chart processing method in any of the above embodiments after being read by a processor, so that the readable storage medium has the advantages of the gand chart processing method in any of the above embodiments, and can implement the technical effects of the gand chart processing method in any of the above embodiments, and is not repeated here.
In a specific embodiment of the invention, the Gantt chart generated by the method can be combined with flexible parameter configuration and data processing to graphically display the plan, so that the data presentation requirements in different business scenes are met.
As shown in fig. 8, according to the data model abstracted from the back end and the column display information of the service configuration, the invention extracts the planned start time, planned end time and planned completion progress field (first task parameter) from the data model abstracted from the back end as the display field of the bar graph on the right side of the Gantt chart, and the other fields (second task parameter) as the column fields of the table (task detail information) on the left side of the Gantt chart for displaying the Gantt chart.
In fig. 8, manufacturing clouds, asset clouds, and project clouds correspond to target data of target tasks in any of the above embodiments; the data model and the service configuration correspond to a configuration module of the Gantt chart; the data on the left side of the Gantt chart corresponds to the task detail information in any one of the embodiments; the data on the right side of the Gantt chart corresponds to the bar chart in any of the above embodiments; planning corresponds to operation of the first control in any of the embodiments described above.
The display of the Gantt chart can realize the following functions through service configuration:
1. displaying bar graphs with different colors on the progress of the tasks which are not started, in progress and completed;
setting different time scale expected periods, such as days, weeks and months, according to different business requirements;
dynamically switching and displaying the left table data information and the right task progress information according to the service focus of the client;
different row button configurations are carried out on different plans according to service requirements;
viewing different form column data through a custom column button of the left form;
2. the planning and executing operation can be carried out on the Gantt chart.
The invention not only can graphically display the plan through the Gantt chart, but also can carry out programming and executing operation on the Gantt chart, and the specific operation is as follows:
When the mouse moves to the starting time scale and the ending time scale of the transverse bar graph on the right side of the Gantt chart, transverse dragging lines (first sub-control) can appear, the starting time and the ending time scale of the transverse bar graph on the right side of the Gantt chart are dragged by the mouse, the plan can be compiled and executed in real time, operations such as planning scheduling are completed, the transverse bar graph can be directly dragged and moved to delay executing the plan or advance planning tasks, and the real-time display of the result after the compiling and executing is carried out.
And editing the plan, splitting the order, dividing the capacity and other business operations are carried out through the operation of a row button (a second sub-control) of the left table, so that the planning and the execution are realized.
It is to be understood that in the claims, specification and drawings of the present invention, the term "plurality" means two or more, and unless otherwise explicitly defined, the orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, only for the convenience of describing the present invention and making the description process easier, and not for the purpose of indicating or implying that the apparatus or element in question must have the particular orientation described, be constructed and operated in the particular orientation, so that these descriptions should not be construed as limiting the present invention; the terms "connected," "mounted," "secured," and the like are to be construed broadly, and may be, for example, a fixed connection between a plurality of objects, a removable connection between a plurality of objects, or an integral connection; the objects may be directly connected to each other or indirectly connected to each other through an intermediate medium. The specific meaning of the terms in the present invention can be understood in detail from the above data by those of ordinary skill in the art.
In the claims, specification, and drawings of the present invention, the descriptions of terms "one embodiment," "some embodiments," "particular embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In the claims, specification and drawings of the present invention, the schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for processing a gante graph, comprising:
under the condition that task data of a target task are obtained, extracting a first task parameter in the task data, wherein the first task parameter is associated with a task node of the target task;
Constructing a Gantt chart according to the first task parameters, wherein the Gantt chart comprises a first control, and the first control is matched with the task node;
and under the condition that the Gantt chart is displayed, updating the task node of the target task in response to the operation input of the first control.
2. The method for processing a gantt chart according to claim 1, wherein the constructing a gantt chart according to the first task parameter includes:
extracting second task parameters in the task data, wherein the second task parameters are associated with task details of the target task, and the second task parameters are in one-to-one correspondence with the first task parameters;
according to the first task parameter, configuring a bar graph in the Gantt chart;
generating task detail information in the Gantt chart according to the second task parameters;
and generating the Gantt chart according to a first corresponding relation, the bar chart and the task detail information, wherein the first corresponding relation is the corresponding relation between the first task parameter and the second task parameter.
3. The method of processing a gantt chart of claim 2, wherein the first task parameters include a task start time and a task end time;
The configuring the bar graph in the Gantt chart according to the first task parameter includes:
determining the corresponding time dimension of the bar graph according to the preset information of the target task,
according to the task starting time and the task ending time, configuring time scale parameters in the Gantt chart according to the time dimension;
wherein the time dimension comprises any one of: day, week, month, year.
4. The method of processing a gantt chart of claim 2, wherein the first task parameter comprises task progress;
the configuring the bar graph in the Gantt chart according to the first task parameter includes:
and configuring color information of the bar graph according to the progress category of the task progress.
5. The method of any one of claims 1 to 4, wherein the first control comprises a first sub-control that matches a time scale parameter in the gatekeeper graph;
the updating the task node of the target task in response to the operation input to the first control comprises:
and responding to the operation input of the first sub-control, and updating the time node in the target task.
6. The gante graph processing method of any one of claims 1 to 4, wherein the first control includes a second sub-control, and the operational input includes a first sub-input and a second sub-input;
the updating the target task in response to the operation input to the first control comprises:
responsive to a first sub-input to the second sub-control, displaying a task content node of the target task;
the task content node is updated in response to a second sub-input of the task parameter.
7. The gantt chart processing method of any one of claims 1 to 4, wherein the updating the task node of the target task in response to an operation input to the first control, further comprises thereafter:
and updating the Gantt chart based on the updated task node.
8. A gatekeeper graph processing apparatus, comprising:
the extraction module is used for extracting a first task parameter in the task data under the condition that the task data of the target task are acquired, wherein the first task parameter is associated with a task node of the target task;
the construction module is used for constructing a Gantt chart according to the first task parameters, wherein the Gantt chart comprises a first control, and the first control is matched with the task node;
And the updating module is used for responding to the operation input of the first control and updating the task node of the target task under the condition of displaying the Gantt chart.
9. An electronic device, comprising:
a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of any one of claims 1 to 7.
10. A readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to any of claims 1 to 7.
CN202311326568.8A 2023-10-13 2023-10-13 Gantt chart processing method and device, electronic equipment and readable storage medium Pending CN117492885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311326568.8A CN117492885A (en) 2023-10-13 2023-10-13 Gantt chart processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311326568.8A CN117492885A (en) 2023-10-13 2023-10-13 Gantt chart processing method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117492885A true CN117492885A (en) 2024-02-02

Family

ID=89668004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311326568.8A Pending CN117492885A (en) 2023-10-13 2023-10-13 Gantt chart processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117492885A (en)

Similar Documents

Publication Publication Date Title
US8275653B2 (en) Industrial status viewer system and method
US10248387B2 (en) Integrated system for software application development
US10809901B2 (en) Providing a user interface that maintains information and context continuity while transitioning between views pertaining to different types of enterprise data
US7921026B2 (en) Method and system for generating a timeline associated with a project schedule
US20170083290A1 (en) Integrated System for Software Application Development
US20180053127A1 (en) Project and resource planning methods and systems
CN105247548A (en) User-defined workflows in app-based collaborative workspace system
US20190066028A1 (en) A method and system for generating and displaying a project management plan
DE112012006925T5 (en) System construction support tool and system
JP5157282B2 (en) Equipment information collection management system
van der Aalst et al. Removing operational friction using process mining: challenges provided by the internet of production (IoP)
JP2020098541A (en) Production system
JP3835589B2 (en) Drawing device and computer-readable recording medium recording drawing program
JPS59214964A (en) Conversational scheduling system
CN117492885A (en) Gantt chart processing method and device, electronic equipment and readable storage medium
CN104517186A (en) Business process design method based on data drive
US20090106644A1 (en) MODIFYING PROJECTED IMAGE AREA (mask) FOR DISPLAY
CN111311187B (en) Project progress monitoring method, system and storage medium based on Revit
KR101736642B1 (en) Apparatus and Method of Displaying Monitoring Screen in Supervisory Control And Data Acquisition
US20230130163A1 (en) Project pulse feature, requirement completion pulse feature, project overview system, project planning system, project management system, task management and enhanced understanding and overview system, and methods of use
US11740986B2 (en) System and method for automated desktop analytics triggers
JPH04184602A (en) System and method for preparation of production schedule
US20230376903A1 (en) Automatic project planning, budgeting, and tracking tool
DE102021101201A1 (en) Method of deploying software stacks and computer readable storage medium
CN116777380A (en) Project integration overall management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination