[go: up one dir, main page]

CN117634821A - Task load display method and device, computer equipment and storage medium - Google Patents

Task load display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN117634821A
CN117634821A CN202311657893.2A CN202311657893A CN117634821A CN 117634821 A CN117634821 A CN 117634821A CN 202311657893 A CN202311657893 A CN 202311657893A CN 117634821 A CN117634821 A CN 117634821A
Authority
CN
China
Prior art keywords
task
development
task load
target
statistical period
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
CN202311657893.2A
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.)
Beijing Ziroom Information Technology Co Ltd
Original Assignee
Beijing Ziroom Information 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 Beijing Ziroom Information Technology Co Ltd filed Critical Beijing Ziroom Information Technology Co Ltd
Priority to CN202311657893.2A priority Critical patent/CN117634821A/en
Publication of CN117634821A publication Critical patent/CN117634821A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of data processing, and discloses a method and a device for displaying task load, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring development task information of a target object in a current statistical period based on a project task, wherein the project task comprises development tasks of different objects; calculating the task load degree of the target object by utilizing development task information and the number of unit time in the current statistical period; generating a task load diagram according to the task load degree and the task information, and displaying the task load diagram, wherein the task load diagram is used for displaying the task load condition of the target object in the current statistical period. The method solves the problem of unreasonable task allocation caused by incapability of timely knowing the task load degree of the target object.

Description

Task load display method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for displaying task load, a computer device, and a storage medium.
Background
Staff is a core resource for realizing rapid development of enterprises, how to moderately arrange work of the enterprises in work is a problem facing each enterprise, and under moderately reasonable workload, the staff health and team assistance efficiency can be promoted, the production efficiency can be improved, the team can be ensured to operate stably for a long time, and the resource utilization rate can be improved. The method is particularly important for observing member workload in the team work of enterprises in the development process, the measurement and observation standard of the workload degree is the basis for reasonably distributing work tasks, however, a system for guiding the workload degree of enterprise staff in the prior art is relatively less, basically belongs to a project management system, has no standard and standard showing method for the workload condition of staff, is difficult to acquire the workload condition of staff or groups in time, and further causes unreasonable task distribution.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a method, an apparatus, a computer device, and a storage medium for displaying task load, so as to solve the problem of unreasonable task allocation caused by the fact that the task load degree of a target object cannot be known in time.
In a first aspect, an embodiment of the present invention provides a method for displaying a task load, where the method includes:
acquiring development task information of a target object in a current statistical period based on a project task, wherein the project task comprises development tasks of different objects;
calculating the task load degree of the target object by using the development task information and the number of unit time in the current statistical period;
and generating a task load diagram according to the task load degree and the task information, and displaying the task load diagram, wherein the task load diagram is used for displaying the task load condition of the target object in the current statistical period.
In an alternative embodiment of the present application, the project task includes: task demands, a task list corresponding to each task demand, wherein the task list comprises development tasks and preset time numbers corresponding to the development tasks;
the task obtaining development task information of the target object in the current statistical period based on the project task comprises the following steps:
inquiring a target development task associated with the target object from the task demand, and taking a preset time number corresponding to the target development task as a target time number;
and constructing the development task information based on the target development task and the target time number.
In an optional embodiment of the present application, the calculating the task load degree of the target object using the development task information and the number of unit time in the current statistical period includes:
acquiring the number of unit time in the current statistical period, and calculating the number of working hours in the current statistical period according to the number of unit time;
and calculating the task load degree of the target object by using the labor hour number and the target labor hour number.
In an optional embodiment of the present application, the generating a task load map according to the task load degree and the task information includes:
acquiring the start-stop time of the current statistical period;
generating a time axis of the task load graph based on the start-stop time;
generating a demand sliding block according to the time axis and the task demand;
and generating the task load graph by using the task load degree and the required sliding block.
In an optional embodiment of the present application, after generating the demand slider according to the time axis and the task demand, the method further includes:
acquiring a preset hierarchy rule, wherein the preset hierarchy rule is used for determining a hierarchy relation between the task list and the task demands;
and generating a sub-slider by using the task list, associating the sub-slider to a corresponding target demand slider according to the preset level rule, and taking the sub-slider as a next-stage slider of the target demand slider.
In an optional embodiment of the present application, the method further comprises:
obtaining the visible area height of the display area corresponding to the task load diagram and the required sliding block height;
setting rendering parameters according to the visible area height and the required sliding block height;
and rendering the task load graph based on the rendering parameters.
In an optional embodiment of the present application, after displaying the task load graph, the method further includes:
detecting a sliding operation acting on the task load graph;
responding to the sliding operation, determining a target sub-sliding block which is currently selected to slide, and acquiring the moving distance of the target sub-sliding block;
and determining a reset time based on the moving distance, and updating the task load graph according to the reset time.
In a second aspect, an embodiment of the present invention provides a task load display apparatus, where the apparatus includes:
the acquisition module is used for acquiring development task information of a target object in a current statistical period based on a project task, wherein the project task comprises development tasks of different objects;
the calculation module is used for calculating the task load degree of the target object by utilizing the development task information and the number of unit time in the current statistical period;
the generating module is used for generating a task load diagram according to the task load degree and the task information and displaying the task load diagram, wherein the task load diagram is used for displaying the task load condition of the target object in the current statistical period.
In a third aspect, an embodiment of the present invention provides a computer apparatus, including: the processor executes the computer instructions, thereby executing the task load display method according to the first aspect or any one of the embodiments corresponding to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where computer instructions are stored on the computer readable storage medium, where the computer instructions are configured to cause a computer to execute a method for displaying a task load according to the first aspect or any implementation manner corresponding to the first aspect.
The method provided by the embodiment of the application has the following beneficial effects:
according to the method provided by the embodiment of the application, firstly, the development task information of the target object in the current statistical period is obtained based on the project task, so that the matching process between the task requirement and the target development task is realized, the data support is provided for constructing the development task information of the target object, and the calculation process of the task load degree is simplified. And secondly, calculating the task load degree of the target object by utilizing the development task information and the number of unit time in the current statistical period, so that the maximum man-hour number of the target object in the current statistical period is detected, and a data basis is provided for calculating the task load degree. And finally, generating a task load diagram through the task load degree and the task information, displaying the task load diagram, realizing the generation process of the task load diagram, displaying the load condition of the current personnel or resources, evaluating the working efficiency of a plurality of objects by utilizing the task load degree, and the like, and avoiding overload influence caused by improper resource allocation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow diagram of a method of presentation of a task load according to some embodiments of the invention;
FIG. 2 is a schematic diagram of a task load diagram according to an embodiment of the invention;
FIG. 3 is a block diagram of a task load presentation device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
According to embodiments of the present invention, there is provided a method, apparatus, computer device and storage medium for demonstrating task load, it is to be noted that the steps shown in the flowcharts of the drawings may be performed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in an order different from that herein.
In this embodiment, a method for displaying a task load is provided, and fig. 1 is a flowchart of a method for displaying a task load according to an embodiment of the present invention, as shown in fig. 1, where the flowchart includes the following steps:
step S11, acquiring development task information of a target object in a current statistical period based on project tasks, wherein the project tasks comprise development tasks of different objects.
In the embodiment of the application, the project task includes: task demands, a task list corresponding to each task demand, wherein the task list comprises development tasks and preset time numbers corresponding to the development tasks. The development task information comprises target development tasks associated with the target objects and target labor hours corresponding to the target development tasks.
In the embodiment of the application, the development task information of the target object in the current statistical period is obtained based on the project task, and the method comprises the following steps of A1-A2:
and step A1, inquiring a target development task associated with a target object from task requirements, and taking a preset time number corresponding to the target development task as a target time number.
In an embodiment of the present application, the specific process may include: the method comprises the steps of calling task requirements in project tasks, wherein the task requirements comprise a plurality of development tasks, each development task corresponds to a personnel tag, and the personnel tags are used for identifying personnel configuration corresponding to the development task; acquiring a plurality of personnel tags corresponding to the development task, and matching the personnel tags with the names of the target objects to obtain a matching result; targeting the target development task associated with the target object based on the matching result, wherein the target development task can be one or a plurality of target development tasks; and adding the preset time number corresponding to the target development task to obtain the target time number of the target object in the current statistical period.
As an example, the task requirement in the project task is invoked to obtain the personnel tag corresponding to the development task P: tag 1, tag 2, person tag corresponding to development task Q: label 2, label 3. The name of the target object is V, and the personnel label is matched with the name V of the target object at the moment, so that the target development task associated with the target object V can be targeted into a development task P and a development task Q. If the preset time number corresponding to the development task P is 10 and the preset time number corresponding to the development task Q is 15, adding the preset time number corresponding to the target development task to obtain the target time number of the target object in the current statistical period of 25.
And step A2, constructing development task information based on the target development task and the target man-hour number.
In the embodiment of the application, the specific method for constructing the development task information can be a card classification method, an information navigation method, an indexing method, an organization method and the like, and is mainly used for determining the relation between information sets, defining main content target types and identifying the information sets so as to form a clear information structure which meets the requirement of accurately calling related information and is easy to update and modify. Development task information is constructed based on a target development task and a target man-hour number associated with a target object, namely, one object corresponds to one development task information, and the development task information can be used for calculating the task load degree of the target object.
According to the method, the process of matching the target development task in the task demand is achieved by inquiring the target development task related to the target object from the task demand, the preset time number corresponding to the target development task is used as the target time number, data support is provided for constructing development task information of the target object, and further the calculation process of the task load degree is simplified.
Step S12, calculating the task load degree of the target object by using the development task information and the number of unit time in the current statistical period.
In the embodiment of the application, the task load degree of the target object is calculated, which comprises the following steps of B1-B2:
and B1, acquiring the number of unit time in the current statistical period, and calculating the number of working hours in the current statistical period according to the number of unit time.
In this embodiment of the present application, the current statistical period may be one month or one week, and the unit time may be the number of days of working days in the current statistical period. And performing product operation according to the number of the working hours required to be completed in the unit time in the current statistical period and the number of the unit time in the statistical period, and calculating to obtain the number of the working hours in the current statistical period. For example, assuming that the number of hours required to be completed in a unit time is 8, if the current statistical period is one month and the number of the unit time is 20, the number of hours in the current statistical period is 160; if the current statistical period is one week and the number of unit time is 5, the number of hours in the current statistical period is 40.
And step B2, calculating the task load degree of the target object by using the labor hour number and the target labor hour number.
In the embodiment of the application, the target man-hour number is the man-hour number corresponding to the target development task associated with the target object obtained based on the development task information, and the man-hour number is the man-hour number in the current statistical period calculated based on the number of unit time. The calculation formula for calculating the task load degree of the target object is as follows:
z is the task load degree and represents the task load degree of the target object in the current statistical period; x is the number of the target hours and represents the number of the hours corresponding to the target development task of the target object in the current statistical period; τ is the number of man-hours that need to be completed per unit time in the current statistical period, and Y is the number of unit time.
According to the method provided by the embodiment of the application, the number of unit time in the current statistical period is obtained, the number of working hours in the current statistical period is calculated according to the number of unit time, the maximum working hours of the target object in the current statistical period is detected, and a data basis is provided for calculating the load degree of the target object in the current statistical period. And secondly, calculating the task load degree of the target object by using the labor hour number and the target labor hour number, so that the work load of each object can be conveniently known, the task can be better distributed, the problem that the time effect of the task is influenced due to uneven distribution of the work task is avoided, and meanwhile, reasonable distribution dependence data is provided for task management of the target object.
Step S13, a task load diagram is generated according to the task load degree and the task information, and the task load diagram is displayed, wherein the task load diagram is used for displaying the task load condition of the target object in the current statistical period.
In the embodiment of the application, a task load diagram is generated according to the task load degree and the task information, and the method comprises the following steps of C1-C3:
and step C1, acquiring the start-stop time of the current statistical period.
In this embodiment of the present application, if the current statistical period is one month, the starting time may be number 1 of the current month or any date of the current month, and if the current statistical period is one week, the starting time may be a date corresponding to monday of the current week or any date of the current week. Acquiring the start-stop time of the current statistical period can provide an accurate reference for the generation of the task load graph time axis.
And step C2, generating a time axis of the task load graph based on the start-stop time.
In this embodiment of the present application, the origin and the end point of the time axis of the task load graph are set based on the start-stop time of the current statistical period, and the time axis is divided into a plurality of time periods according to the unit time of the current statistical period, for example, the start-stop time of the current statistical period is 11 months, 5 days, 00 minutes, 00 seconds to 11 months, 11 days, 23 hours, 59 minutes, 59 seconds, and the unit time of the current statistical period is 1 day, the time axis of the task load graph is set to 11 months, 5 time periods are respectively 5 days, 6 days, 7 days, 8 days, 9 days, 10 days, and 11 days. The time consuming time of the development task corresponding to the week target object can be set according to the starting and ending time of the time axis; the time consuming time of the development task corresponding to the target object in the corresponding statistical period can be set by taking month or quarter as the statistical period.
And step C3, generating a demand sliding block according to the time axis and the task demand.
In the embodiment of the application, start-stop time corresponding to a plurality of task demands in an project task is acquired; and generating a demand sliding block with a corresponding length by utilizing the start-stop time of the task demand, and setting a plurality of demand sliding blocks on a time axis of the task load diagram. The position of the demand slider on the time axis is matched with the start-stop time of the task demand, and the length of the demand slider is related to the sum of the working hours required by all development tasks in the task demand.
In an embodiment of the present application, after generating the demand slider according to the time axis and the task demand, the method further includes: acquiring a preset hierarchy rule, wherein the preset hierarchy rule is used for determining a hierarchy relation between a task list and task demands; generating a sub-slider by using the task list, associating the sub-slider to a corresponding target demand slider according to a preset level rule, and taking the sub-slider as a next-stage slider of the target demand slider.
In a specific implementation, the preset level rule may be: the hierarchy where the task demands are located is the A level, the hierarchy where the task list corresponding to the task demands is the B level, the B level is the next hierarchy of the A level, and the hierarchy rule also comprises the corresponding relation between the task list and the task demands. Therefore, a plurality of sub-sliders can be generated by using the task list corresponding to the task requirement, the sub-sliders are associated to corresponding target requirement sliders according to a preset level rule, and the sub-sliders are used as next-level sliders of the target requirement sliders.
It should be noted that, a sub-slider corresponds to a development task, and the sub-slider is also provided with a task progress of the development task. Specifically, detecting a specific time consuming condition of a target object to a target development task in a current statistical period; performing unit conversion on the time-consuming condition to obtain real-time data; comparing the real-time data with the target time number to obtain a task progress corresponding to the target development task; the percentage of the task progress is set on the corresponding sub-slider.
And C4, generating a task load diagram by utilizing the task load degree and the demand sliding block.
In the embodiment of the application, the task load graph may be implemented by a Gantt chart (Gantt chart), which is also called a cross-walk graph, bar chart (Bar chart). It graphically represents the sequence and duration of activity for any particular item through an activity list and time scale. When the method is used for loading, the Gantt chart can display the running and idle conditions of a plurality of staff, a plurality of departments, machines or equipment and the like, so that a manager can know the composite condition and more reasonably adjust the task allocation mode based on the loading condition.
In a specific implementation, obtaining the total task progress of the demand task according to the task progress on the sub-slider, and setting the total task progress in the demand slider; based on the demand slider, the overall task progress, the sub-sliders, the task progress, and the task load level may generate a corresponding task load map.
As one example: as shown in fig. 2, the current statistical period is 1 week, the time axis above fig. 2 is represented as the current 1-week time axis, the unit time is 1 day, and the number of man-hours per unit time is 8, and the number of man-hours of the current statistical period is 40. The user A has three development tasks, the preset working hours of the three development tasks are 30 working hours, 30 working hours and 30 working hours respectively, at the moment, the target working hours of the user A are 60, and the task load degree of the user A in the current statistical period can be 150% by dividing the working hours by the target working hours. The sliding blocks formed by the development task 1, the development task 2 and the development task 3 are one demand sliding block, the development task 1 is one sub-sliding block of the demand sliding block, 100% of progress beside the development task 1 is task progress set by the sub-sliding block, and 150% of load below the user A is task load degree of the user A in the current statistical period. Similarly, the user D has three development tasks, the preset working hours of the three development tasks are 30 working hours, 10 working hours and 8 working hours respectively, at this time, the target working hours of the user D are 48, and the task load degree of the user D in the current statistical period can be 120% by dividing the working hours by the target working hours. The sliding blocks formed by the development tasks 4, 5 and 6 are a required sliding block, the development task 4 is a sub-sliding block, 100% of progress beside the development task 4 is task progress set by the sub-sliding block, and 120% of load under the user D is task load degree of the user D in the current statistical period.
According to the method provided by the embodiment of the application, firstly, the start-stop time of the current statistical period is obtained, and the time axis of the task load diagram is generated based on the start-stop time, so that the time scale is provided for the task load diagram, and the time-based transverse arrangement is facilitated when the required sliding blocks are arranged. And secondly, generating a demand sliding block according to the time axis and the task demand, and generating a task load diagram by utilizing the task load degree and the demand sliding block. The generation process of the task load diagram is realized, the load condition of the current personnel or resources is displayed, the work efficiency of individuals and teams can be evaluated by utilizing the task load degree, and the like, so that the overload influence caused by improper resource allocation is avoided.
In an embodiment of the present application, the method further includes: obtaining the height of a visible area of a display area corresponding to the task load diagram and the height of a required sliding block; setting rendering parameters according to the height of the visible area and the height of the required sliding block; and rendering the task load graph based on the rendering parameters.
In the embodiment of the application, when the number of people is excessive, the rendering speed of the task load graph is reduced, so that the task load graph needs to be optimized. If the task load graph is generated based on the Gantt chart, a virtual list technology can be adopted to only render the data items in the visible region, and not render all the data items to improve the rendering efficiency. The method is mainly realized based on the following principle: window visibility detection: only the data items located within the window are rendered, and the other data items are not rendered. Dynamically rendering: and dynamically rendering the newly appeared data item according to the scrolling position, and simultaneously removing the data item of the invisible area.
In the embodiment of the application, only the data items in the visible area can be rendered through virtual scrolling, the number of rendering lists in the task load diagram, namely the number of DOMs to be rendered is limited, the updating of the view is realized through dynamic switching of data content, and the number of real DOMs in the document is ensured not to be increased along with the increase of the data quantity. Because the task load diagram generally limits a certain height, namely, the height of the visual area of the display area, the scroll bar can be generated to perform the scrolling operation only when the virtual list height value is larger than the height of the visual area of the display area.
Before the task load diagram is optimized, the number of sliders to be rendered and the number of DOM nodes actually existing in the task load diagram are 1:1. Each slider has the same height, and the number of sliders needing to be completely rendered in the task load graph is consistent with the height in the task load graph, for example, the number of sliders needing to be completely rendered in the task load graph is 40px, and the number of sliders needing to be completely rendered in the task load graph is 100, then the height of the task load graph is 100×40=4000, and the number of DOM corresponding to the task load graph is 100.
In a specific implementation, obtaining the visible area height of a display area corresponding to a task load diagram and the required sliding block height; calculating the height required by rendering the complete task load diagram based on the visible area height of the display area and the required slider height, and setting a starting index of real rendering data for acquiring corresponding data content from the list data; monitoring a rolling event at any time, and if the rolling event occurs, acquiring the current actual rolling distance; taking the current actual rolling distance as a value corresponding to the visual area, namely, the value of translation of the actual rendering slider, and ensuring that the actual rendering slider always exists in the visual area; and dynamically calculating a new starting index of the list according to the actual scrolling distance.
In an embodiment of the present application, after displaying the task load graph, the method further includes: detecting a sliding operation acting on the task load graph; responding to the sliding operation, determining a target sub-sliding block which is currently selected to slide, and acquiring the moving distance of the target sub-sliding block; a reset time is determined based on the movement distance, and the task load graph is updated according to the reset time.
In this embodiment of the present application, the sliding operation acts on the drag bar corresponding to the sub-slider, and the specific process includes: detecting and responding to a sliding operation of the dragging bar; determining a target sub-slider matched with the sliding operation based on the sliding operation; obtaining the moving distance of a target sub-sliding block and the width of a cell, wherein the width of the cell is the width of the cell divided by a time axis of a task load graph based on unit time in a current statistical period; dividing the moving distance of the sub sliding block and the cell width to obtain the number of moving cells; adsorbing the reset time of a specific development task according to the number of mobile cells; the task progress in the task load graph is updated based on the reset time of the development task, and the slider length.
The present embodiment also provides a device for displaying task load, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a device for displaying task load, as shown in fig. 3, including:
the acquiring module 31 is configured to acquire development task information of a target object in a current statistical period based on a project task, where the project task includes development tasks of different objects;
a calculating module 32, configured to calculate a task load degree of the target object using the development task information and the number of unit times in the current statistical period;
the generating module 33 is configured to generate a task load graph according to the task load degree and the task information, and display the task load graph, where the task load graph is used to show the task load situation of the target object in the current statistical period.
In an alternative embodiment of the present application, the apparatus further comprises: the association module is used for acquiring a preset hierarchy rule, wherein the preset hierarchy rule is used for determining a hierarchy relation between a task list and task demands; generating a sub-slider by using the task list, associating the sub-slider to a corresponding target demand slider according to a preset level rule, and taking the sub-slider as a next-stage slider of the target demand slider.
In an alternative embodiment of the present application, the apparatus further comprises: the rendering module is used for obtaining the visible area height of the display area corresponding to the task load diagram and the required sliding block height; setting rendering parameters according to the height of the visible area and the height of the required sliding block; and rendering the task load graph based on the rendering parameters.
In an alternative embodiment of the present application, the apparatus further comprises: the sliding response module is used for detecting the sliding operation acting on the task load graph; responding to the sliding operation, determining a target sub-sliding block which is currently selected to slide, and acquiring the moving distance of the target sub-sliding block; a reset time is determined based on the movement distance, and the task load graph is updated according to the reset time.
In an optional embodiment of the present application, the obtaining module 31 is configured to query a target development task associated with a target object from task requirements, and take a preset number of hours corresponding to the target development task as a target number of hours; and constructing development task information based on the target development task and the target man-hour number.
In an alternative embodiment of the present application, the calculating module 32 is configured to obtain the number of unit time in the current statistical period, and calculate the number of hours in the current statistical period according to the number of unit time; and calculating the task load degree of the target object by using the labor hour number and the target labor hour number.
In an optional embodiment of the present application, the generating module 33 is configured to obtain a start-stop time of the current statistical period; generating a time axis of a task load graph based on the start-stop time; generating a demand sliding block according to the time axis and the task demand; and generating a task load diagram by utilizing the task load degree and the requirement sliding block.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, as shown in fig. 4, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system).
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created from the use of the computer device of the presentation of a sort of applet landing page, and the like. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for displaying a task load, the method comprising:
acquiring development task information of a target object in a current statistical period based on a project task, wherein the project task comprises development tasks of different objects;
calculating the task load degree of the target object by using the development task information and the number of unit time in the current statistical period;
and generating a task load diagram according to the task load degree and the task information, and displaying the task load diagram, wherein the task load diagram is used for displaying the task load condition of the target object in the current statistical period.
2. The method of claim 1, wherein the project task comprises: task demands, a task list corresponding to each task demand, wherein the task list comprises development tasks and preset time numbers corresponding to the development tasks;
the task obtaining development task information of the target object in the current statistical period based on the project task comprises the following steps:
inquiring a target development task associated with the target object from the task demand, and taking a preset time number corresponding to the target development task as a target time number;
and constructing the development task information based on the target development task and the target time number.
3. The method according to claim 2, wherein calculating the task load degree of the target object using the development task information and the number of unit times in the current statistical period includes:
acquiring the number of unit time in the current statistical period, and calculating the number of working hours in the current statistical period according to the number of unit time;
and calculating the task load degree of the target object by using the labor hour number and the target labor hour number.
4. The method of claim 2, wherein generating a task load map from the task load and the task information comprises:
acquiring the start-stop time of the current statistical period;
generating a time axis of the task load graph based on the start-stop time;
generating a demand sliding block according to the time axis and the task demand;
and generating the task load graph by using the task load degree and the required sliding block.
5. The method of claim 4, wherein after generating a demand slider from the timeline and the task demand, the method further comprises:
acquiring a preset hierarchy rule, wherein the preset hierarchy rule is used for determining a hierarchy relation between the task list and the task demands;
generating a sub-slider by using a task list, associating the sub-slider to a corresponding target demand slider according to the preset hierarchical rule, and taking the sub-slider as a next-stage slider of the target demand slider.
6. The method according to claim 4, wherein the method further comprises:
obtaining the visible area height of the display area corresponding to the task load diagram and the required sliding block height;
setting rendering parameters according to the visible area height and the required sliding block height;
and rendering the task load graph based on the rendering parameters.
7. The method of claim 1, wherein after displaying the task load graph, the method further comprises:
detecting a sliding operation acting on the task load graph;
responding to the sliding operation, determining a target sub-sliding block which is currently selected to slide, and acquiring the moving distance of the target sub-sliding block;
and determining a reset time based on the moving distance, and updating the task load graph according to the reset time.
8. A task load display device, the device comprising:
the acquisition module is used for acquiring development task information of a target object in a current statistical period based on a project task, wherein the project task comprises development tasks of different objects;
the calculation module is used for calculating the task load degree of the target object by utilizing the development task information and the number of unit time in the current statistical period;
the generating module is used for generating a task load diagram according to the task load degree and the task information and displaying the task load diagram, wherein the task load diagram is used for displaying the task load condition of the target object in the current statistical period.
9. A computer device, comprising:
a memory and a processor in communication with each other, the memory having stored therein computer instructions which, upon execution, cause the processor to perform the method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
CN202311657893.2A 2023-12-05 2023-12-05 Task load display method and device, computer equipment and storage medium Pending CN117634821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311657893.2A CN117634821A (en) 2023-12-05 2023-12-05 Task load display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311657893.2A CN117634821A (en) 2023-12-05 2023-12-05 Task load display method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117634821A true CN117634821A (en) 2024-03-01

Family

ID=90024984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311657893.2A Pending CN117634821A (en) 2023-12-05 2023-12-05 Task load display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117634821A (en)

Similar Documents

Publication Publication Date Title
US9519692B2 (en) Visualizing related events within a timeline
US10410258B2 (en) Graphical user interface for high volume data analytics
JP6362602B2 (en) System and method for processing digital traffic metrics
US10380528B2 (en) Interactive approach for managing risk and transparency
CA2509264A1 (en) Method and system for dynamic visualization of multi-dimensional data
US9990597B2 (en) System and method for forecast driven replenishment of merchandise
US20130246950A1 (en) Methods and apparatus for creating overlays according to trending information
JP6423803B2 (en) Queue monitoring and visualization
CN105589917B (en) Method and device for analyzing log information of browser
US10970338B2 (en) Performing query-time attribution channel modeling
CN113326314B (en) Data visualization method, device, electronic equipment and readable storage medium
US20170140402A1 (en) Sales forecast display method, sales forecast display apparatus, and recording medium
CN108154252A (en) Method and apparatus for estimating the flow deadline
CN109344302B (en) Method for displaying organization architecture information, storage medium and server
CN112347092B (en) Method, device and computer equipment for generating data analysis billboard
CN111400332A (en) Project progress monitoring method and device
US11037183B2 (en) System and method for blending promotion effects based on statistical relevance
US9224221B2 (en) Arranged display of data associated with a set of time periods
CN103853809A (en) Efficient space allocation for business objects
Vysotska Analytical Method for Social Network User Profile Textual Content Monitoring Based on the Key Performance Indicators of the Web Page and Posts Analysis.
US11347809B2 (en) Performing attribution modeling for arbitrary analytics parameters
CN117634821A (en) Task load display method and device, computer equipment and storage medium
CN114358850A (en) Intelligent advertisement putting management method and related device
CN104881425A (en) WebGIS (geographic information system) map optimization based gradation loading method for tens of thousands of cameras
US10853432B2 (en) Methods and systems for generating search results and recommendations based on multi-sourced two-way correspondence and relative entity prominence

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