CN107767004A - Information-pushing method and device - Google Patents

Information-pushing method and device Download PDF

Info

Publication number
CN107767004A
CN107767004A CN201610696607.7A CN201610696607A CN107767004A CN 107767004 A CN107767004 A CN 107767004A CN 201610696607 A CN201610696607 A CN 201610696607A CN 107767004 A CN107767004 A CN 107767004A
Authority
CN
China
Prior art keywords
resource
time
time length
task
mentioned
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
CN201610696607.7A
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610696607.7A priority Critical patent/CN107767004A/en
Publication of CN107767004A publication Critical patent/CN107767004A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06313Resource planning in a project environment

Abstract

This application discloses information-pushing method and device.One embodiment of methods described includes:Between obtaining at the beginning of pending task and the end time;Obtain the resource needed for each step of completion task and complete the time span needed for each step of task;Perform following resource allocation step:According to predetermined condition, for the resource needed for the distribution of each step;The resource taken according to each step after time span and distribution, obtain the most long holding time length of occupied time most long resource;It is determined that whether most long holding time length is less than or equal to the time difference of time started and end time, if most long holding time length is less than or equal to the time difference of time started and end time, the resource that each step after push distribution takes;If most long holding time length is more than the time difference of time started and end time, resource allocation step is continued executing with.This embodiment improves the execution efficiency of task.

Description

Information-pushing method and device
Technical field
The application is related to field of computer technology, and in particular to technical field of information processing, more particularly to information push side Method and device.
Background technology
The management in task man-hour has very important for the operating efficiency and saving project cost of raising associate Meaning, but company fills out when carrying out task man-hour management typically by research staff is rough in form system at present Time started and end time are write, dependence calculating is not carried out to each subtask, cause the subtask of dependence to open Time point beginning and end time point conflict, cause the distribution of the resource of required by task unbalanced, i.e. resource quilt within a period of time Concentrate and take, more idle within another a period of time, the dependence that accordingly, there are between subtask calculates deficiency, task Execution efficiency it is relatively low the problem of.
The content of the invention
The purpose of the application is to propose a kind of improved information-pushing method and device, to solve background above technology department Divide the technical problem mentioned.
In a first aspect, this application provides a kind of information-pushing method, methods described includes:Obtain pending task Time started and end time, wherein, the task includes at least one subtask, and the subtask includes at least one step Suddenly;Obtain the resource needed for each step for completing the task and complete the time length needed for each step of the task Degree;Perform following resource allocation step:According to predetermined condition, required resource is distributed for each step, wherein, the predetermined bar Part includes:The occupancy time started in rear step for taking same resource is later than the occupancy end time of first step, same son The execution time started in rear step of task is later than the execution end time of first step;According to the time span and distribution The resource that rear each step takes, obtain the most long holding time length of occupied time most long resource;It is determined that it is described most Whether long holding time length is less than or equal to the time difference of the time started and the end time, if the most long occupancy Time span is less than or equal to the time difference of the time started and the end time, then each step after push distribution takes Resource;If the most long holding time length is more than the time difference of the time started and the end time, continue Perform the resource allocation step.
In certain embodiments, the predetermined condition also includes:The first execution time started for being preset in rear step was later than Second presets the execution end time of first step.
In certain embodiments, it is described according to predetermined condition, for the resource needed for the distribution of each step, including:Obtain step Suddenly the quantity of the resource taken;Determine whether the quantity is more than default value;In response to determining that it is default that the quantity is more than Numerical value, then the resources occupation rate of each resource in the resource that the step takes is obtained, wherein, the resources occupation rate is to account for With the ratio of the summation of time span the step of resource and the holding time length of resource;Accounted in the resource of each resource With the resource that least resource occupancy is chosen in rate;The step is distributed to the resource of the least resource occupancy.
In certain embodiments, the resource that each step according to after the time span and distribution takes, is obtained The most long holding time length of occupied time most long resource, including:Obtain each step for taking resource;Described in completing Time span needed for each step is added, and obtains the working time length of the resource;The resource is obtained due to described pre- Fixed condition and caused free time length;The working time length is added with the free time length, obtained described The holding time length of resource;Most long holding time length is chosen in the holding time length of each resource to account for as most long Use time span.
In certain embodiments, the resource that each step after the push distribution takes, including:After the distribution The resource that each step takes is shown on Gantt chart;Push the Gantt chart.
Second aspect, this application provides a kind of information push-delivery apparatus, described device includes:First acquisition unit, configuration Between at the beginning of for obtaining pending task and the end time, wherein, the task includes at least one subtask, described Subtask includes at least one step;Second acquisition unit, it is configured to obtain needed for each step for completing the task Time span needed for each step of resource and the completion task;Resource allocation unit, driving is configured to lower module Perform following resource allocation step:Distribute module, it is configured to according to predetermined condition, required resource is distributed for each step, Wherein, the predetermined condition includes:The occupancy time started in rear step for taking same resource is later than the occupancy of first step End time, the execution time started in rear step of same subtask are later than the execution end time of first step;Obtain mould Block, the resource taken according to each step after the time span and distribution is configured to, it is most long to obtain occupied time The most long holding time length of resource;Determining module, be configured to determine described in most long holding time length whether be less than or equal to The time difference of the time started and the end time;Pushing module, if being configured to the most long holding time length Less than or equal to the time started and the time difference of the end time, then the resource that each step after push distribution takes; Execution unit, if being configured to time of the most long holding time length more than the time started and the end time Difference, then continue executing with the resource allocation step.
In certain embodiments, the predetermined condition also includes:The first execution time started for being preset in rear step was later than Second presets the execution end time of first step.
In certain embodiments, the distribute module includes:First acquisition submodule, it is configured to obtaining step occupancy The quantity of resource;Determination sub-module, it is configured to determine whether the quantity is more than default value;Second acquisition submodule, matches somebody with somebody Put in response to determining that the quantity is more than default value, then obtain the step occupancy resource in each resource Resources occupation rate, wherein, the resources occupation rate be take resource the step of time span summation and resource occupancy when Between length ratio;Submodule is chosen, is configured to choose least resource occupancy in the resources occupation rate of each resource The resource of rate;Distribution sub module, it is configured to distribute to the step resource of the least resource occupancy.
In certain embodiments, the acquisition module includes:First acquisition submodule, it is configured to obtain occupancy resource Each step;First is added submodule, is configured to the time span completed needed for each step being added, obtains described The working time length of resource;Second acquisition submodule, is configured to obtain the resource and is produced due to the predetermined condition Free time length;Second is added submodule, is configured to the working time length and the free time length phase Add, obtain the holding time length of the resource;Submodule is chosen, is configured to select in the holding time length of each resource Most long holding time length is taken to be used as most long holding time length.
In certain embodiments, the pushing module, including:Display sub-module, being configured to will be each after the distribution The resource that individual step takes is shown on Gantt chart;Submodule is pushed, is configured to push the Gantt chart.
The information-pushing method and device that the application provides, by being each of pending task according to predetermined condition Resource needed for step distribution, then the resource according to needed for the time span of acquisition and each step, obtains occupied time The most long holding time length of most long resource, then by determining whether most long holding time length is less than or equal to the time started With the time difference of end time, if it is, to terminal push distribution after each step take resource, if it is not, then weight It is new to start allocation step, until most long holding time length is less than or equal to the time difference of time started and end time.So as to have Effect make use of the dependence between subtask, improve the execution efficiency of task.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the information-pushing method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the information-pushing method of the application;
Fig. 4 is the flow chart according to another embodiment of the information-pushing method of the application;
Fig. 5 is the structural representation according to one embodiment of the information push-delivery apparatus of the application;
Fig. 6 is adapted for the structural representation of the computer system of the server for realizing the embodiment of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Be easy to describe, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary system of the embodiment of the information-pushing method that can apply the application or information push-delivery apparatus System framework 100.
As shown in figure 1, system architecture 100 can include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 provide communication link medium.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 101,102,103 by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, such as project management class should on terminal device 101,102,103 With, JICQ, mailbox client etc..
Terminal device 101,102,103 can be the various electronic equipments for having display screen and supporting message sink, bag Include but be not limited to smart mobile phone, tablet personal computer, E-book reader, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as to being shown on terminal device 101,102,103 Task allocation information or task distribution Gantt chart provide the background task server supported.Background task server can dock Between at the beginning of the pending task received, the end time, complete task each step time span and complete each step The data such as resource required for rapid analyze etc. processing, and by result (such as the money of each step occupancy after distribution Source) feed back to terminal device.
It should be noted that the information-pushing method that the embodiment of the present application is provided typically is performed by server 105, accordingly Ground, information push-delivery apparatus are generally positioned in server 105.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the flow 200 of one embodiment of information-pushing method according to the application is shown.It is described Information-pushing method, comprise the following steps:
Step 201, between obtaining at the beginning of pending task and the end time.
In the present embodiment, the electronic equipment (such as server shown in Fig. 1) of information-pushing method operation thereon can Obtained with carrying out the terminal of task management information push using it from user by wired connection mode or radio connection Between at the beginning of the pending task that user is manually entered and the end time, wherein, above-mentioned task can include at least one Subtask, above-mentioned subtask can include at least one step.It is pointed out that above-mentioned radio connection can include but It is not limited to 3G/4G connections, WiFi connections, bluetooth connection, WiMAX connections, Zigbee connections, UWB (ultra wideband) even Connect and other it is currently known or in the future exploitation radio connections.
Step 202, obtain completion task each step needed for resource and complete task each step needed for when Between length.
In the present embodiment, above-mentioned electronic equipment can obtain resource needed for each step for completing above-mentioned task and complete Into the time span needed for each step of above-mentioned task, wherein, above-mentioned resource can include at least one of following:Complete above-mentioned Research staff, tester and the various resource apparatus that required by task is wanted, needed for each step of the above-mentioned above-mentioned task of completion Time span can be configured according to the deadline of each step of the historic task related to above-mentioned task, also may be used To be configured according to the complexity for completing each step.
Step 203, according to predetermined condition, for the resource needed for the distribution of each step.
In the present embodiment, above-mentioned electronic equipment can set predetermined condition first, wherein, above-mentioned predetermined condition can wrap Include:The occupancy time started in rear step for taking same resource is later than the occupancy end time of first step, for example, two steps Rapid to be all testing procedure and the two steps are assigned to same Test Engineer, first step is first step, second step Rapid is that can not be taken in rear step, this Test Engineer, i.e., first can only be taken by first step by the two steps simultaneously, the One step takes terminate after, then taken by second step;Above-mentioned predetermined condition can also include:Same subtask in rear step The execution time started be later than execution end time of first step, for example, a subtask includes three steps, for example, One step, second step and third step, first step are the first step of second step and third step, second step the The first step of three steps, can only first carry out first step, and first step execution performs second step, second step again after terminating Execution performs third step again after terminating.Afterwards, above-mentioned electronic equipment can distribute according to above-mentioned preparatory condition for each step Required resource.
In some optional implementations of the present embodiment, above-mentioned predetermined condition walks after can also being preset in including first Rapid the executions time started was later than for the second execution end time for presetting first step, for example, first to be preset in rear step be the The step of one subtask two, second presets first step the step of being the second subtask three, then the step of the first subtask two The time started is performed three the step of needing to be later than the second subtask.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can obtain first completes a step The quantity for the resource that can be taken, for example, completing a step needs engaged test personnel, there are two testers, be respectively Tester 1 and tester 2, the then quantity for completing the resource that the step can take are 2;Afterwards, above-mentioned electronic equipment It can determine whether the quantity of above-mentioned resource is more than default value (for example, 1), however, it is determined that go out the quantity of above-mentioned resource more than default Numerical value, then above-mentioned electronic equipment can obtain each resource (for example, tester 1 and tester 2) in above-mentioned resource Resources occupation rate, before above-mentioned resources occupation rate is obtained, above-mentioned electronic equipment can obtain first takes each of above-mentioned resource Individual step, afterwards the time span for completing above-mentioned each step is added to obtain time span sum, it is above-mentioned then to obtain occupancy The holding time length of resource, finally obtained using the holding time length of above-mentioned time span sum divided by the above-mentioned resource of occupancy The resources occupation rate of above-mentioned resource;Then, above-mentioned electronic equipment can choose minimum resource in above-mentioned resources occupation rate and account for With the resource of rate;Finally, above-mentioned steps can be distributed to the resource of above-mentioned least resource occupancy.
Step 204, the resource taken according to each step after time span and distribution, it is most long to obtain occupied time The most long holding time length of resource.
In the present embodiment, above-mentioned electronic equipment can obtain resource and the completion that each step after distribution takes first Time span needed for each step;Afterwards, the occupied time span of each resource can be calculated;Finally, in quilt The most long time span of occupied time span is chosen in the time span of occupancy and is used as most long holding time length.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can obtain first takes each of resource Individual step;Afterwards, the time span completed needed for above-mentioned steps can be added to obtain the working time length of above-mentioned resource;So Afterwards, due to the execution time started in rear step of same subtask be later than the execution end time of first step this is predetermined Condition, above-mentioned resource can produce free time length, for example, the step 1 of the subtasking 1 of resource 1, resource 2 will perform son The step 2 of task 1, due to above-mentioned predetermined condition, the execution time started of step 2 will be later than the execution end time of step 1, institute Free time length can be produced before being taken with resource 2 by step 2;Afterwards, above-mentioned electronic equipment can be by the above-mentioned working time Length is added with above-mentioned free time length, obtains the holding time length of above-mentioned resource;Finally, can accounting in each resource By the use of most long holding time length is chosen in time lengths sets as most long holding time, that is, complete above-mentioned task it is total when Between.
Step 205, it is determined that whether most long holding time length is less than or equal to the time difference of time started and end time.
In the present embodiment, above-mentioned electronic equipment can ask for the difference conduct between time started and end time first Time difference;Afterwards, can by the most long holding time length chosen in step 204 compared with the above-mentioned time difference, it is determined that on State whether most long holding time length is less than or equal to the above-mentioned time difference, that is, determine that can above-mentioned pending task make a reservation in task End time before complete, if it is determined that go out time difference of the most long holding time length more than time started and end time, Step 203 and 204 is then repeated until determining that most long holding time length is less than or equal to time started and end time Time difference.If it is determined that most long holding time length is less than or equal to the time difference of time started and end time, then step is performed Rapid 206.
Step 206, the resource that each step after push distribution takes.
In the present embodiment, above-mentioned electronic equipment can push the resource that each step after distribution takes, example to terminal Such as, the schematic diagram for the resource that each step takes is pushed to the terminal device that project administrator is held so that project administrator is carried out With reference to decision-making.
With continued reference to Fig. 3, Fig. 3 is a schematic diagram according to the application scenarios of the information-pushing method of the present embodiment. In Fig. 3 application scenarios, at the beginning of user's incoming task first between be on July 1st, 2016 9 points, end time 2016 18 points, pending subtask T1, T2, T3 and the T4 on July 4, wherein, subtask T1 include four step T1-1, T1-2, T1-3 and T1-4, subtask T2 include four steps T2-1, T2-2, T2-3 and T2-4, subtask T3 include six step T3-1, T3-2, T3-3, T3-4, T3-5 and T3-6, subtask T4 include four steps T4-1, T4-2, T4-3 and T4-4, needed for step Resource, resource 1, resource 2, resource 3 and resource 4, complete the time span of each step;Afterwards, background task server according to Predetermined condition is the resource needed for the distribution of each step;Then, it is determined that go out the most long of resource occupied time most long resource 1 Holding time length is less than the time difference of time started and end time, then pushes schematic diagram figure to the terminal that above-mentioned user holds 3.It should be noted that in figure 3, solid arrow represents the execution sequence of the step under same subtask, dotted arrow generation Table takes the execution sequence of the step under the different subtasks of same resource.
With further reference to Fig. 4, it illustrates the flow 400 of another of information-pushing method embodiment.The information pushes The flow 400 of method, comprises the following steps:
Step 401, between obtaining at the beginning of pending task and the end time.
In the present embodiment, the electronic equipment (such as server shown in Fig. 1) of information-pushing method operation thereon can Obtained with carrying out the terminal of task management information push using it from user by wired connection mode or radio connection Between at the beginning of the pending task that user is manually entered and the end time, wherein, above-mentioned task can include at least one Subtask, above-mentioned subtask can include at least one step.
Step 402, obtain completion task each step needed for resource and complete task each step needed for when Between length.
In the present embodiment, above-mentioned electronic equipment can obtain resource needed for each step for completing above-mentioned task and complete Into the time span needed for each step of above-mentioned task, wherein, above-mentioned resource can include at least one of following:Complete above-mentioned Research staff, tester and the various resource apparatus that required by task is wanted, needed for each step of the above-mentioned above-mentioned task of completion Time span can be configured according to the deadline of each step of the historic task related to above-mentioned task, also may be used To be configured according to the complexity for completing each step.
Step 403, according to predetermined condition, for the resource needed for the distribution of each step.
In the present embodiment, above-mentioned electronic equipment can set predetermined condition first, wherein, above-mentioned predetermined condition can wrap Include:The occupancy time started in rear step for taking same resource is later than the occupancy end time of first step, for example, two steps Rapid to be all testing procedure and the two steps are assigned to same Test Engineer, first step is first step, second step Rapid is that can not be taken in rear step, this Test Engineer, i.e., first can only be taken by first step by the two steps simultaneously, the One step takes terminate after, then taken by second step;Above-mentioned predetermined condition can also include:Same subtask in rear step The execution time started be later than execution end time of first step, for example, a subtask includes three steps, for example, One step, second step and third step, first step are the first step of second step and third step, second step the The first step of three steps, can only first carry out first step, and first step execution performs second step, second step again after terminating Execution performs third step again after terminating.Afterwards, above-mentioned electronic equipment can distribute according to above-mentioned preparatory condition for each step Required resource.
Step 404, the resource taken according to each step after time span and distribution, it is most long to obtain occupied time The most long holding time length of resource.
In the present embodiment, above-mentioned electronic equipment can obtain resource and the completion that each step after distribution takes first Time span needed for each step;Afterwards, the occupied time span of each resource can be calculated;Finally, in quilt The most long time span of occupied time span is chosen in the time span of occupancy and is used as most long holding time length.
Step 405, it is determined that whether most long holding time length is less than or equal to the time difference of time started and end time.
In the present embodiment, above-mentioned electronic equipment can ask for the difference conduct between time started and end time first Time difference;Afterwards, can by the most long holding time length chosen in step 404 compared with the above-mentioned time difference, it is determined that on State whether most long holding time length is less than or equal to the above-mentioned time difference, that is, determine that can above-mentioned pending task make a reservation in task End time before complete, if it is determined that go out time difference of the most long holding time length more than time started and end time, Step 403 and 404 is then repeated until determining that most long holding time length is less than or equal to time started and end time Time difference.If it is determined that most long holding time length is less than or equal to the time difference of time started and end time, then step is performed Rapid 406.
Step 406, the resource each step after distribution taken is included on Gantt chart.
In the present embodiment, the resource that above-mentioned electronic equipment can take each step after distribution is included in Gantt chart On, above-mentioned Gantt chart diagrammatically visually represents the activity of any specific project by effort scale and time scale Order and duration, Gantt chart are a two-dimensional coordinate figures, and transverse axis represents the time, and the longitudinal axis represents resource, and lines are represented whole Plan and actual activity performance, manager can advantageously understand fully which work a task (project) there remains on individual period Work will be done, and can evaluation work progress.
Step 407, Gantt chart is pushed.
In the present embodiment, above-mentioned electronic equipment can push the sweet of the resource that each step after distribution takes to terminal Spy's figure, for example, pushing the Gantt chart of the resource of each resource occupation to the terminal device that project administrator is held for project pipe Reason person carries out referring to decision-making.
Figure 4, it is seen that compared with embodiment corresponding to Fig. 2, the flow of the information-pushing method in the present embodiment 400, which highlight the resource for taking each step after distribution, includes the step on Gantt chart.Thus, the present embodiment describes Scheme can more intuitively show the resource that each step after distribution takes, so as to more effectively improve the effect of tasks carrying Rate.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of push of information to fill The one embodiment put, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and the device specifically can apply to respectively In kind electronic equipment.
As shown in figure 5, the information push-delivery apparatus 500 described in the present embodiment includes:First acquisition unit 501, second obtains Unit 502, resource allocation unit 503, execution unit 504.Wherein, first acquisition unit 501 is configured to obtain pending Between at the beginning of task and the end time, wherein, the task includes at least one subtask, and the subtask includes at least one Individual step;Second acquisition unit 502 is configured to obtain described in resource and completion needed for each step for completing the task Time span needed for each step of task;Resource allocation unit 503 is configured to driving and performs following resource with lower module Allocation step:Distribute module 5031 is configured to according to predetermined condition, and required resource is distributed for each step, wherein, it is described Predetermined condition includes:Take same resource the occupancy time started in rear step be later than the occupancy end time of first step, The execution time started in rear step of same subtask is later than the execution end time of first step;Acquisition module 5032 configures For the resource taken according to each step after the time span and distribution, occupied time most long resource is obtained most Long holding time length;Determining module 5033 is configured to whether most long holding time length described in determination is less than or equal to described open The time difference of time beginning and the end time;It is less than if pushing module 5034 is configured to the most long holding time length Equal to the time started and the time difference of the end time, then the resource that each step after push distribution takes;Perform If unit 504 is configured to time of the most long holding time length more than the time started and the end time Difference, then continue executing with the resource allocation step.
In the present embodiment, the first acquisition unit 501 of information push-delivery apparatus 500 can by wired connection mode or Radio connection is manually entered pending from user using the terminal acquisition user of its progress task management information push Between at the beginning of task and the end time, wherein, above-mentioned task can include at least one subtask, and above-mentioned subtask can wrap Include at least one step.
In the present embodiment, above-mentioned second acquisition unit 502 can be obtained needed for each step for completing above-mentioned task Time span needed for each step of resource and the above-mentioned task of completion, wherein, above-mentioned resource can include at least one of following: Complete research staff, tester and various resource apparatus that above-mentioned required by task is wanted, each step of the above-mentioned above-mentioned task of completion Rapid required time span can be set according to the deadline of each step of the historic task related to above-mentioned task It is putting or be configured according to the complexity for completing each step.
In the present embodiment, above-mentioned distribute module 5031 can set predetermined condition first, wherein, above-mentioned predetermined bar Part can include:The occupancy time started in rear step for taking same resource is later than the occupancy end time of first step;On Stating predetermined condition can also include:The execution that the execution time started in rear step of same subtask is later than first step terminates Time.Afterwards, above-mentioned distribute module 5031 can be according to above-mentioned preparatory condition, for the resource needed for the distribution of each step.
In the present embodiment, above-mentioned acquisition module 5032 can obtain first distribution after each step take resource and Complete the time span needed for each step;Afterwards, the occupied time span of each resource can be calculated;Finally, The most long time span of occupied time span is chosen in occupied time span and is used as most long holding time length.
In the present embodiment, above-mentioned determining module 5033 can ask for the difference between time started and end time first As the time difference;Afterwards, the most long holding time length chosen in above-mentioned acquisition module 5032 can be entered with the above-mentioned time difference Row compares, and determines whether above-mentioned most long holding time length is less than or equal to the above-mentioned time difference, that is, determines above-mentioned pending task It can be completed before the task predetermined end time, if it is determined that go out most long holding time length more than the time started with terminating The time difference of time, then above-mentioned execution unit 504 repeat in above-mentioned distribute module 5031 according to predetermined condition, for each step Taken in rapid the step of distributing required resource and above-mentioned acquisition module 5032 according to each step after time span and distribution Resource, the step of obtaining the most long holding time length of occupied time most long resource, when determining most to grow occupancy Between length be less than or equal to time difference of time started and end time.If it is determined that most long holding time length is less than or equal to open Time beginning and the time difference of end time, then perform the money that each step in above-mentioned pushing module 5034 after push distribution takes The step of source.
In the present embodiment, above-mentioned pushing module 5034 can push the money that each step after distribution takes to terminal Source, for example, pushing the schematic diagram for the resource that each step takes to the terminal device that project administrator is held for project management Person carries out referring to decision-making.
In some optional implementations of the present embodiment, above-mentioned predetermined condition walks after can also being preset in including first Rapid the executions time started was later than for the second execution end time for presetting first step, for example, first to be preset in rear step be the The step of one subtask two, second presets first step the step of being the second subtask three, then the step of the first subtask two The time started is performed three the step of needing to be later than the second subtask.
In some optional implementations of the present embodiment, above-mentioned distribute module 5031 can include first and obtain submodule Block 50311, determination sub-module 50312, the second acquisition submodule 50313, selection submodule 50314 and distribution sub module 50315. Above-mentioned first acquisition submodule 50311 can obtain the quantity for completing the resource that a step can take first;Afterwards, it is above-mentioned Determination sub-module 50312 can determine whether the quantity of above-mentioned resource is more than default value (for example, 1), however, it is determined that go out above-mentioned money The quantity in source is more than default value, then above-mentioned second acquisition submodule 50313 can obtain each resource (example in above-mentioned resource Such as, tester 1 and tester 2) resources occupation rate, before above-mentioned resources occupation rate is obtained, above-mentioned second obtains son Module 50313 can obtain each step for taking above-mentioned resource first, will complete the time span of above-mentioned each step afterwards Addition obtains time span sum, then obtains the holding time length for taking above-mentioned resource, finally utilizes above-mentioned time span The holding time length of sum divided by the above-mentioned resource of occupancy obtains the resources occupation rate of above-mentioned resource;Then, above-mentioned selection submodule Block 50314 can choose the resource of the resources occupation rate of minimum in above-mentioned resources occupation rate;Finally, above-mentioned distribution sub module 50315 can distribute to above-mentioned steps the resource of above-mentioned least resource occupancy.
In some optional implementations of the present embodiment, above-mentioned acquisition module 5032 can include first and obtain submodule Block 50321, first is added submodule 50322, the second acquisition submodule 50323, second is added submodule 50324 and chooses submodule Block 50325.Above-mentioned first acquisition submodule 50321 can obtain each step for taking resource first;Afterwards, above-mentioned first phase Submodule 50322 is added to be added to obtain the working time length of above-mentioned resource by the time span completed needed for above-mentioned steps; Then, due to the execution time started in rear step of same subtask be later than the execution end time of first step this is pre- Fixed condition, above-mentioned resource can produce free time length, and above-mentioned second acquisition submodule 50323 can obtain above-mentioned free time Length;Afterwards, above-mentioned second addition submodule 50324 can be by above-mentioned working time length and above-mentioned free time length phase Add, obtain the holding time length of above-mentioned resource;Finally, above-mentioned selection submodule 50325 can be in the occupancy of each resource Between most long holding time length chosen in lengths sets be used as most long holding time, that is, complete the total time of above-mentioned task.
In some optional implementations of the present embodiment, above-mentioned pushing module 5034 can include display sub-module 50341 and push submodule 50342.Above-mentioned display sub-module 50341 can show the resource that each step after distribution takes Show on Gantt chart, above-mentioned Gantt chart is diagrammatically visually represented any specific by effort scale and time scale The activity command of project and duration;Afterwards, above-mentioned push submodule 50342 can push each step after distribution to terminal Suddenly the Gantt chart of the resource taken, for example, the resource of each resource occupation is pushed to the terminal device that project administrator is held Gantt chart carries out referring to decision-making for project administrator.
Below with reference to Fig. 6, it illustrates suitable for for realizing the computer system 600 of the server of the embodiment of the present invention Structural representation.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and Perform various appropriate actions and processing.In RAM603, also it is stored with system 600 and operates required various programs and data. CPU601, ROM602 and RAM603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus 604。
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Penetrated including such as negative electrode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.; And the communications portion 609 of the NIC including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 610, in order to read from it Computer program be mounted into as needed storage part 608.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being tangibly embodied in machine readable Computer program on medium, above computer program bag contain the program code for being used for the method shown in execution flow chart.At this In the embodiment of sample, the computer program can be downloaded and installed by communications portion 609 from network, and/or from removable Medium 611 is unloaded to be mounted.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart, Ke Yiyong Function as defined in execution or the special hardware based system of operation are realized, or can be referred to specialized hardware and computer The combination of order is realized.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag Include first acquisition unit, second acquisition unit, resource allocation unit and execution unit.Wherein, the title of these units is at certain In the case of do not form restriction to the unit in itself.For example, first acquisition unit is also described as " obtaining pending Between at the beginning of task and the end time unit ".
As on the other hand, present invention also offers a kind of nonvolatile computer storage media, the non-volatile calculating Machine storage medium can be the nonvolatile computer storage media included in said apparatus in above-described embodiment;Can also be Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited One or more program is contained, when said one or multiple programs are performed by an equipment so that the said equipment:Obtain Between at the beginning of pending task and the end time, wherein, the task includes at least one subtask, the subtask bag Include at least one step;Obtain the resource needed for each step for completing the task and complete each step institute of the task The time span needed;Perform following resource allocation step:According to predetermined condition, required resource is distributed for each step, wherein, The predetermined condition includes:Take same resource the occupancy time started in rear step be later than the occupancy of first step at the end of Between, the execution time started in rear step of same subtask be later than execution end time of first step;According to the time The resource that each step after length and distribution takes, obtain the most long holding time length of occupied time most long resource; It is determined that whether the most long holding time length is less than or equal to the time difference of the time started and the end time;If institute State time difference of the most long holding time length less than or equal to the time started and the end time, then it is each after push distribution The resource that individual step takes;If the most long holding time length is more than the time of the time started and the end time Difference, then continue executing with the resource allocation step.
Above description is only presently preferred embodiments of the present invention and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the present invention, however it is not limited to the technology that the particular combination of above-mentioned technical characteristic forms Scheme, while should also cover in the case where not departing from the inventive concept, carried out by above-mentioned technical characteristic or its equivalent feature The other technical schemes for being combined and being formed.Such as features described above has similar work(with the (but not limited to) disclosed in the present invention The technical scheme that the technical characteristic of energy is replaced mutually and formed.

Claims (10)

1. a kind of information-pushing method, it is characterised in that methods described includes:
Between obtaining at the beginning of pending task and the end time, wherein, the task includes at least one subtask, described Subtask includes at least one step;
Obtain the resource needed for each step for completing the task and complete the time length needed for each step of the task Degree;
Perform following resource allocation step:According to predetermined condition, required resource is distributed for each step, wherein, it is described predetermined Condition includes:The occupancy time started in rear step for taking same resource is later than occupancy end time of first step, same The execution time started in rear step of subtask is later than the execution end time of first step;According to the time span and divide The resource that each step after matching somebody with somebody takes, obtain the most long holding time length of occupied time most long resource;It is it is determined that described Whether most long holding time length is less than or equal to the time difference of the time started and the end time, most long is accounted for if described It is less than or equal to the time difference of the time started and the end time with time span, then each step after push distribution accounts for Resource;
If the most long holding time length is more than the time difference of the time started and the end time, continue executing with The resource allocation step.
2. according to the method for claim 1, it is characterised in that the predetermined condition also includes:First is preset in rear step The execution time started be later than second preset first step the execution end time.
3. according to the method for claim 1, it is characterised in that it is described according to predetermined condition, for needed for the distribution of each step Resource, including:
The quantity for the resource that obtaining step takes;
Determine whether the quantity is more than default value;
In response to determining that the quantity is more than default value, then the money of each resource in the resource that the step takes is obtained Source occupancy, wherein, the resources occupation rate is the summation of time span and the holding time of resource the step of taking resource The ratio of length;
The resource of least resource occupancy is chosen in the resources occupation rate of each resource;
The step is distributed to the resource of the least resource occupancy.
4. according to the method for claim 1, it is characterised in that each step according to after the time span and distribution Suddenly the resource taken, the most long holding time length of occupied time most long resource is obtained, including:
Obtain each step for taking resource;
The time span completed needed for each step is added, obtains the working time length of the resource;
Obtain the resource due to the predetermined condition caused free time length;
The working time length is added with the free time length, obtains the holding time length of the resource;
Most long holding time length is chosen in the holding time length of each resource and is used as most long holding time length.
5. according to the method described in one of claim 1-4, it is characterised in that what each step after the push distribution took Resource, including:
The resource that each step after the distribution is taken is included on Gantt chart;
Push the Gantt chart.
6. a kind of information push-delivery apparatus, it is characterised in that described device includes:
First acquisition unit, between being configured to obtain at the beginning of pending task and the end time, wherein, the task bag At least one subtask is included, the subtask includes at least one step;
Second acquisition unit, the resource for being configured to obtain needed for each step for completing the task and the completion task Time span needed for each step;
Resource allocation unit, it is configured to driving and following resource allocation step is performed with lower module:Distribute module, be configured to by According to predetermined condition, required resource is distributed for each step, wherein, the predetermined condition includes:Take same resource rear When the execution in rear step that the occupancy time started of step is later than the occupancy end time, same subtask of first step starts Between be later than execution end time of first step;Acquisition module, it is configured to according to each after the time span and distribution The resource that step takes, obtain the most long holding time length of occupied time most long resource;Determining module, it is configured to really Whether the fixed most long holding time length is less than or equal to the time difference of the time started and the end time;Push mould Block, if being configured to time of the most long holding time length less than or equal to the time started and the end time Difference, the then resource that each step after push distribution takes;
Execution unit, if being configured to the most long holding time length more than the time started and the end time Time difference, then continue executing with the resource allocation step.
7. device according to claim 6, it is characterised in that the predetermined condition also includes:First is preset in rear step The execution time started be later than second preset first step the execution end time.
8. device according to claim 6, it is characterised in that the distribute module includes:
First acquisition submodule, it is configured to the quantity of the resource of obtaining step occupancy;
Determination sub-module, it is configured to determine whether the quantity is more than default value;
Second acquisition submodule, it is configured in response to determining that the quantity is more than default value, then obtain the step and account for The resources occupation rate of each resource in resource, wherein, the resources occupation rate is time length the step of taking resource The ratio of the summation of degree and the holding time length of resource;
Submodule is chosen, is configured to choose the resource of least resource occupancy in the resources occupation rate of each resource;
Distribution sub module, it is configured to distribute to the step resource of the least resource occupancy.
9. device according to claim 6, it is characterised in that the acquisition module includes:
First acquisition submodule, it is configured to obtain each step for taking resource;
First is added submodule, is configured to the time span completed needed for each step being added, obtains the resource Working time length;
Second acquisition submodule, be configured to obtain the resource due to the predetermined condition caused free time length;
Second is added submodule, is configured to the working time length being added with the free time length, obtains described The holding time length of resource;
Submodule is chosen, is configured to choose most long holding time length in the holding time length of each resource as most Long holding time length.
10. according to the device described in one of claim 6-9, it is characterised in that the pushing module, including:
Display sub-module, the resource for being configured to take each step after the distribution are included on Gantt chart;
Submodule is pushed, is configured to push the Gantt chart.
CN201610696607.7A 2016-08-19 2016-08-19 Information-pushing method and device Pending CN107767004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610696607.7A CN107767004A (en) 2016-08-19 2016-08-19 Information-pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610696607.7A CN107767004A (en) 2016-08-19 2016-08-19 Information-pushing method and device

Publications (1)

Publication Number Publication Date
CN107767004A true CN107767004A (en) 2018-03-06

Family

ID=61262272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610696607.7A Pending CN107767004A (en) 2016-08-19 2016-08-19 Information-pushing method and device

Country Status (1)

Country Link
CN (1) CN107767004A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081760A (en) * 2009-11-27 2011-06-01 西门子公司 A method and a system for executing a scheduled production process
CN104166903A (en) * 2014-08-18 2014-11-26 四川航天系统工程研究所 Task planning method and system based on working procedure division
US20160012377A1 (en) * 2014-07-14 2016-01-14 Oracle International Corporation Project chart with soft constraint

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081760A (en) * 2009-11-27 2011-06-01 西门子公司 A method and a system for executing a scheduled production process
US20160012377A1 (en) * 2014-07-14 2016-01-14 Oracle International Corporation Project chart with soft constraint
CN104166903A (en) * 2014-08-18 2014-11-26 四川航天系统工程研究所 Task planning method and system based on working procedure division

Similar Documents

Publication Publication Date Title
CN105183322B (en) Progress bar display methods and device
CN105516367B (en) Distributed data-storage system, method and apparatus
CN105471759B (en) The network traffics dispatching method and device of data center
CN103593236B (en) Computer equipment, method and device for scheduling service process
Stolletz Approximation of the non-stationary M (t)/M (t)/c (t)-queue using stationary queueing models: The stationary backlog-carryover approach
EP3495951A1 (en) Hybrid cloud migration delay risk prediction engine
CN103729171B (en) The generation method and device of vocational work stream code
CN107766040A (en) A kind of method, apparatus and computer-readable recording medium for generating interface document
US20140180750A1 (en) Systems and methods for modeling costed entities and performing a value chain analysis
CN109559088A (en) Task management method, device, electronic equipment and storage medium
US20130218625A1 (en) Utilizing historic projects to estimate a new project schedule based on user provided high level parameters
CN103377407B (en) Cloud method for processing business and relevant apparatus and system
CN107341051A (en) Cluster task coordination approach, system and device
US20090222310A1 (en) Techniques to allocate project resources
CN108255707A (en) Development roles creation method, device, equipment and the storage medium of test case
CN110377520A (en) The test method and device, electronic equipment and readable storage medium storing program for executing for scene of trading
Baruah Requirement management in agile software environment
CN109377055A (en) A kind of method and device of business paper adjustment
CN112491586B (en) Network device driving method, device, storage medium and computer device
CN110245006A (en) Processing method, device, equipment and the storage medium of block chain affairs
CN107666407A (en) A kind of service package system of selection, apparatus and system
CN107249182A (en) A kind of note transmission method and its device, terminal device
CN107622007A (en) Application testing method and device
CN107993150A (en) A kind of method and system device of quantization strategy operation state tune ginseng
US20130304547A1 (en) Investment valuation projections in an on-demand system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306

RJ01 Rejection of invention patent application after publication