CN101753334A - Network system work management and scheduling method - Google Patents

Network system work management and scheduling method Download PDF

Info

Publication number
CN101753334A
CN101753334A CN200810180773A CN200810180773A CN101753334A CN 101753334 A CN101753334 A CN 101753334A CN 200810180773 A CN200810180773 A CN 200810180773A CN 200810180773 A CN200810180773 A CN 200810180773A CN 101753334 A CN101753334 A CN 101753334A
Authority
CN
China
Prior art keywords
work
entity
job requirement
queue
network system
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.)
Granted
Application number
CN200810180773A
Other languages
Chinese (zh)
Other versions
CN101753334B (en
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.)
Accton Technology Corp
Original Assignee
Accton Technology Corp
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 Accton Technology Corp filed Critical Accton Technology Corp
Priority to CN2008101807737A priority Critical patent/CN101753334B/en
Publication of CN101753334A publication Critical patent/CN101753334A/en
Application granted granted Critical
Publication of CN101753334B publication Critical patent/CN101753334B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a network system work management and scheduling method which comprises the following steps: a scheduling procedure unit is used to receive a working entity, and the working entity is stored and the corresponding execution time is scheduled, to construct a working queue which runs independently; a work management unit analyzes a working requirement sent by an application layer, to capture a corresponding working entity contained in the working requirement; whether a hardware device required by the working requirement is usable or not is judged, to decide if to store the working entity corresponding to the working requirement to the working queue. Through the method, the work management unit responds to the working requirement of the application layer in a short time, so that the application layer can carry out the next working requirement without waiting for the response of the hardware device. The working queue can set parameters according to the data dependencies and authority credentials to adjust the execution order of the working entity or update the set parameters, so as to quickly obtain the correct execution results of the working requirement, and simultaneously, improve the working efficiency of the network system.

Description

The work management of network system and scheduling method
Technical field
The present invention relates to a kind of work management and scheduling method, particularly relating to a kind of work queue of setting up an independent operating in network system (is queue, this paper all is called formation) so that application layer need not to wait for the work management and the scheduling method of the network system that hardware unit is responded.
Background technology
See also shown in Figure 1ly, it is the execution schematic flow sheet of the work management unit of general networking system.Its system comprise application layer (Application Layer), core layer (Core Layer), device Drive Layer (Device Driver Layer), work queue (Job Queue) and work management unit (Object Manager, OM).
The work management unit receives the job requirement (step S101) that application layer is sent earlier, then calls out the routine interface (be interface, this paper all is called interface) of core layer and handles this job requirement (step S102).Whether the programmed statements that core layer is resolved job requirement compliant (step S103), if analysis result is for meeting, promptly write down this job requirement, the routine interface of calling device Drive Layer is carried out application-specific integrated circuit (ASIC) (Application Specific Integrated Circuit according to this job requirement simultaneously, ASIC) program setting (step S104), if work entity (Job Entity) needs the relevant hardware unit of operation, need wait for that then its hardware unit finishes response (step S105), just be carried out a time work entity.
Then, whether the program setting of detecting application-specific integrated circuit (ASIC) finishes (step S106), if (being that the related work entity is all complete), the device Drive Layer is finished information to work management unit (step S107) by core layer output.Application layer then obtains the echo message that job requirement is finished from the work management unit, thereby power cut-off requires (step S108) and carries out a time job requirement.
Yet, prior art has the problem that can't overcome, promptly work as the required hardware unit I/O of job requirement if respond hardware unit work, or required part resource is when being subjected to taking, need to wait for that hardware unit I/O finishes its work or discharges resource, the routine interface of device Drive Layer just is able to the operational hardware device, with the program setting of execution work entity requirement.The job requirement that causes application layer to be sent is forced to prolong the time of implementation because of waiting for the hardware unit I/O time, and then reduces the operating efficiency of overall network system.
This shows that the work management method of above-mentioned existing network system obviously still has inconvenience and defective, and demands urgently further being improved in method and use.In order to solve the problem of above-mentioned existence, relevant manufacturer there's no one who doesn't or isn't seeks solution painstakingly, but do not see always that for a long time suitable design finished by development, and conventional method does not have appropriate method to address the above problem, this obviously is the problem that the anxious desire of relevant dealer solves.Therefore how to found a kind of work management and scheduling method of new network system, real one of the current important research and development problem that belongs to, also becoming the current industry utmost point needs improved target.
Because the defective that the work management method of above-mentioned existing network system exists, the inventor is based on being engaged in this type of product design manufacturing abundant for many years practical experience and professional knowledge, and the utilization of cooperation scientific principle, actively studied innovation, in the hope of founding a kind of work management and scheduling method of new network system, can improve the work management method of general existing network system, make it have more practicality.Through constantly research, design, and after studying repeatedly and improving, create the present invention who has practical value finally.
Summary of the invention
The objective of the invention is to, overcome the defective of the work management method existence that has known network system now, and provide a kind of work management and scheduling method of new network system, technical problem to be solved is to make it in network system, scheduling and running by the work queue execution work entity of independent operating, make application layer need not to wait for the hardware unit response,, be very suitable for practicality not interrupt the continuing relevant job requirement of execution.
The object of the invention to solve the technical problems realizes by the following technical solutions.The work management and the scheduling method of a kind of network system that proposes according to the present invention, it may further comprise the steps: utilize one to arrange an order according to class and grade that program unit receives a work entity and this work entity stored and be ranked to execution opportunity that should work entity, with a work queue of construction independent operating; The job requirement that utilizes a work management element analysis one application layer to send is to capture the work entity that this job requirement is comprised; And judge whether the required hardware unit of this job requirement is available, whether store this work entity of this job requirement to this work queue with decision.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
The work management of aforesaid network system and scheduling method, wherein saidly judge that the required hardware unit of this job requirement is whether in the available step, if judged result is for denying, respond this application layer one failure information, if judged result is for being, this work entity that stores this job requirement is to this work queue, and asks this work queue to carry out this work entity, and responds this application layer one and finish information.
The work management of aforesaid network system and scheduling method, a work queue step of wherein said construction independent operating comprises the following step: utilize this program unit of arranging an order according to class and grade to analyze all objects of this network system; Utilize this program unit of arranging an order according to class and grade to calculate the total value of the work entity of those objects; Mark off a memory space according to this total value; Utilize this program unit of arranging an order according to class and grade to receive this work entity; And this work entity is stored in this memory space and this execution opportunity of corresponding this work entity that is ranked.
The work management of aforesaid network system and scheduling method, it more comprises one with those work entities of those objects coding step in regular turn.
The work management of aforesaid network system and scheduling method, wherein said those work entities with those objects coding step in regular turn comprise the following step: the coding of obtaining this work entity of this job requirement; Search for this work entity of this work queue; And this work entity that judges whether to meet this coding, if not, this corresponding work entity that stores this job requirement is in this work queue, if upgrade this work entity of this work queue.
The work management of aforesaid network system and scheduling method, this work entity step of wherein said this work queue of renewal comprises the following step: whether the setup parameter of those work entities of detecting two identical codings is identical, if not, this work entity that this work entity of this job requirement is replaced this work queue, if delete this work entity of this job requirement.
The work management of aforesaid network system and scheduling method, it more comprises: the data dependencies of calculating all working entity of this work queue; And the execution opportunity of adjusting all working entity of this work queue according to this data dependencies.
The work management of aforesaid network system and scheduling method, the wherein said job requirement step of utilizing a work management element analysis one application layer to send comprises the following step: receive this job requirement that this application layer is sent; And whether the programmed statements of resolving this job requirement is correct, if not, responds this application layer one failure information, if capture this required work entity of this job requirement.
The work management of aforesaid network system and scheduling method wherein saidly judge whether available step comprises the following step to the required hardware unit of this job requirement: the parameter standard that obtains the required hardware unit of this job requirement; And whether the setup parameter of comparing this job requirement meet this parameter standard, if not, responds this application layer one failure information, if this work entity that stores this job requirement is to this work queue.
The work management of aforesaid network system and scheduling method, wherein saidly judge whether available step comprises the following step to the required hardware unit of this job requirement: what the work that obtains this job requirement had taken physical quantities and this work queue allows scheduling quantity; And compare this work and taken physical quantities and whether be higher than this and allow scheduling quantity, if, respond this application layer one failure information, if not, this work entity that stores this job requirement is to this work queue.
The work management of aforesaid network system and scheduling method, wherein saidly judge whether available step comprises the following step to the required hardware unit of this job requirement: this hardware unit is carried out a request, this hardware unit can't be carried out this request if respond, respond this application layer one failure information, if this hardware unit is responded this request and finished smoothly, this work entity that stores this job requirement is to this work queue.
The work management of aforesaid network system and scheduling method, this work entity of wherein said this job requirement of storage to this work queue step comprises the following step: this work entity of obtaining this job requirement; Detect this work queue and whether have an identical work entity, if not, this work entity that stores this job requirement is in this work queue, if upgrade this work entity of this job requirement this work entity to this work queue.
The work management of aforesaid network system and scheduling method, the How It Works of wherein said work queue comprises the following step: whether detecting obtains one and carries out request, if, the opportunity of carrying out prepreerence work entity, and start the required hardware unit of this execution prepreerence work entity on opportunity, if not, return this detecting and whether obtain an execution request step; And the detecting whether have a work entity not finish, if not, return this detecting whether obtain one the execution request step, if return this and carry out prepreerence work entity step on opportunity.
The present invention compared with prior art has tangible advantage and beneficial effect.As known from the above, for achieving the above object, the invention provides a kind of work management and scheduling method of network system.Be to utilize one to arrange an order according to class and grade that program unit receives a work entity and work entity stored and be ranked corresponding execution opportunity, with a work queue of construction independent operating.The job requirement that utilizes a work management element analysis one application layer to send, to capture the work entity of the correspondence that this job requirement comprised, and whether judgment task requires required hardware unit available, whether respond one with decision and finish information to application layer, the work entity of the correspondence of storage job requirement is to work queue, and the work entity in the scheduling is carried out in the request work queue.
The work management of the disclosed network system of the present invention and scheduling method when wherein work queue obtains the execution request of work management unit, are the work entities that takes out and carry out scheduling in regular turn, finish until all working entity totally.
The work management of the disclosed network system of the present invention and scheduling method, its work queue is the execution work entity in many ways.Mode one is with first in first out order execution work entity; Mode two, each work entity disposes an authority credentials, and as the execution of the work entity foundation that is ranked opportunity, and authority credentials can be configured according to data (be data, this paper all the is called data) dependence of each work entity with authority credentials height.
The work management of the disclosed network system of the present invention and scheduling method, when its work management unit stores new work entity to work queue, has identical work entity but both setup parameters are inequality as the work of detection and examination formation, upgrade the setup parameter of the work entity of work queue, and, adjust work entity the execution opportunity of work queue according to all working entity authority credentials and data dependence instantly.
The work management of the disclosed network system of the present invention and scheduling method, its network system has a plurality of different objects (Object), it has different program command separately, each program command is that the hardware unit that is used for the Control Network system carries out as transceive data, analyzing data, specific data, to receive and dispatch employed connectivity port (be the port, this paper all is called port), with the different starts of carrying out between the data such as logical operation, storage data and specific data storage location, this a little program command system is called work entity (Job Entity).
The work management of the disclosed network system of the present invention and scheduling method, it claims that work queue is that the reason of independent operating is, work queue is when receiving the request of carrying out the work entity in the scheduling, be the work entity in the execution scheduling of continuation, the work entity in scheduling is complete totally.Even the term of execution have the work entity of corresponding job requirement to desire to be stored in work queue, and work queue receives the request of carrying out the work entity in the scheduling once more, the work queue meeting is according to the execution opportunity of each work entity, execution work entity in regular turn.During the execution work entity, work queue is not disturbed by other element, program, so the title work queue is an independent operating.
By technique scheme, the work management of network system of the present invention and scheduling method have following advantage and beneficial effect at least:
1, application layer can obtain the response of job requirement from the work management unit in the short time, avoids job requirement to be forced to prolong its time of implementation because of the response of waiting for hardware unit I/O.
When 2, carrying out the work entity of same settings parameter, whether identical according to the required setup parameter of work entity, authority credentials or data dependencies, carry out the renewal of opportunity, setup parameter or identical work entity is merged to adjust work entity, avoid the storage area of work queue taken by identical work entity, and the work entity that can't deposit other job requirement in to be causing spillover (OverFlow), and then produces the mistake in the whole network system operation.
In sum, the work management of a kind of network system of the present invention and scheduling method are one work queues of construction in advance, and a job requirement that utilizes a work management cell processing application layer to send.When but the required hardware unit of work management unit judges job requirement is the time spent, store corresponding work entity to work queue, and export requirement and finish information response application layer, the work entity that has stored is then independently carried out in work queue.Method by this, the work management unit short time is responded the job requirement of application layer, makes application layer need not to wait for that hardware unit is responded can carry out a time job requirement.Work queue then can to obtain the correct execution result of job requirement fast, promote the operating efficiency of network system simultaneously according to data dependencies, authority credentials, setup parameter to adjust the work entity execution sequence or to upgrade setup parameter.The present invention has above-mentioned advantage and practical value, no matter it all has bigger improvement on method or function, obvious improvement is arranged technically, and produced handy and practical effect, and the work management method of more existing network system has the outstanding effect of enhancement, thereby being suitable for practicality more, really is a new and innovative, progressive, practical new design.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, below especially exemplified by preferred embodiment, and conjunction with figs., be described in detail as follows.
Description of drawings
Fig. 1 is the execution schematic flow sheet of the work management unit of general networking system.
Fig. 2 is the system configuration schematic diagram of the work management and the scheduling method preferred embodiment of network system of the present invention.
Fig. 3 is the schematic flow sheet of the work management and the scheduling method preferred embodiment of network system of the present invention.
Fig. 4 is the schematic flow sheet of the operation method preferred embodiment of work queue of the present invention.
Fig. 5 is that the present invention stores the schematic flow sheet of work entity in the work queue preferred embodiment.
201: application layer 202: the work management unit
203: core layer 204: the device Drive Layer
205: work queue 206: hardware unit
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, work management and its embodiment of scheduling method, method, step, feature and the effect thereof of the network system that foundation the present invention is proposed, describe in detail as after.
Relevant aforementioned and other technology contents, characteristics and effect of the present invention can be known to present in the following detailed description that cooperates with reference to graphic preferred embodiment.By the explanation of embodiment, when can being to reach technological means that predetermined purpose takes and effect to obtain one more deeply and concrete understanding to the present invention, yet appended graphic only provide with reference to the usefulness of explanation, be not to be used for the present invention is limited.
Please consulting Fig. 2 and shown in Figure 3 simultaneously, is respectively the system configuration schematic diagram and the schematic flow sheet of the work management and the scheduling method preferred embodiment of network system of the present invention.Its system configuration comprises application layer 201, work management unit 202, core layer 203 and device Drive Layer 204.And its method flow comprises:
Utilize one to arrange an order according to class and grade that program unit receives a work entity and work entity stored and be ranked corresponding execution opportunity, with a work queue (step S309) of construction independent operating.In this step, work queue 205 is to manage, receive and carry out the work entity that is received by the program unit of arranging an order according to class and grade.This network system comprises most objects (Object), these a little objects have the program command that the control hardware device carries out different starts separately, as receive and dispatch data, analysis of data, the transmitting-receiving of appointment data use Port, and carry out between the data logical operation, store data and specify data storage position etc., this a little program command system is called work entity (Job Entity).
Utilize the program unit of arranging an order according to class and grade to analyze all objects of this network system earlier, each part object comprises a plurality of work entities.The program unit of then arranging an order according to class and grade calculates the total value of the work entity of all objects, and marks off a memory space according to total value from network system.At last, the program unit of arranging an order according to class and grade stores all working entity and execution opportunity of each work entity correspondence that is ranked, and forms the work queue of an independent operating with construction.
And when construction, the maximum scheduled quantity of work queue 205 can equal the total value of its work entity, or for guaranteeing that additional state takes place, the maximum scheduled quantity of work queue 205 can be set the total value that is higher than work entity.Then, be stored in the order of hardware unit according to the work entity of object, work entity is encoded in regular turn, this coding is the storage sequence of work entity in work queue 205 simultaneously.
Suppose that it is object A, object B and object C that network system has three objects, object A has 10 work entities, object B has 20 work entities, and object C has 50 work entities, the work entity of its object A is promptly from encoding 1 to coding 10, promptly from encoding 11 to coding 30, the work entity of object C is promptly from encoding 31 to coding 80 for the work entity of object B.And the maximum scheduled quantity of work queue 205 is 80 or its above data, and during the work entity of work queue 205 storage object A, object B and object C, be it to be saved as the the the 1st to the 10th, the 11st to the 30th and the 31st to the 80th arrangement position respectively, this helps follow-up comparison operation.
So 205 work entity quantity that can store of work queue are to mate mutually with the work entity quantity that job requirement produced of network system operational limit quantity.
Yet work queue when receiving the request of carrying out the work entity in the scheduling, i.e. work entity in the execution scheduling of continuation, the work entity in scheduling is complete totally.Even the term of execution have the work entity of corresponding job requirement to desire to be stored in work queue, and work queue receives the request of carrying out the work entity in the scheduling once more, the work queue meeting is according to the execution opportunity of each work entity, execution work entity in regular turn.During the execution work entity, work queue is not disturbed by other element, program, so the title work queue is an independent operating.
Utilize a work management unit 202 to analyze the job requirement that an application layer 201 is sent, to capture the work entity of the correspondence that job requirement comprised.In this step, utilize work management unit 202 to receive the job requirement (step S301) that application layer 201 is sent earlier.Whether then, the routine interface of core layers 203 can be called out in work management unit 202, with the programmed statements of resolving job requirement correct (step S302).
If analysis result is incorrect, core layer 203 is about to resolve failure result and delivers to work management unit 202, responds application layer 201 1 failure informations (step S308) for it, and then the power cut-off requirement; If analysis result be correctly, core layer 203 captures the work entity (step S303) of the correspondence that job requirement comprises.
This core layer 203 be according to the programmed statements of job requirement analyzing required calling, why to use object, and judge when the object called out or function are correct the work entity that promptly analyzes object and comprised.
Judgment task requires required hardware unit whether available (step S304), and the work entity of correspondence that whether stores job requirement with decision is to work queue 205.In this step, device Drive Layer 204 is the callings that are subjected to core layer 203, makes its routine interface collaborative work administrative unit 202 judge the current state of hardware unit 206.
If result of determination is installed Drive Layer 204 and is informed that just work management unit 202 hardware units 206 can't use for not, respond application layer 201 1 failure informations (step S308) for it, finish this job requirement; If be judged to be, the work entity of the correspondence of device Drive Layer 204 storage job requirements is to work queue 205 (step S305), and the corresponding work entity (step S306) of request work queue 205 execution, respond application layers 201 1 by work management unit 202 simultaneously and finish information (step S307).
The decision procedure of hardware unit 206 states has three kinds at least:
One, the parameter standard of the required hardware unit 206 of job requirement is obtained from device Drive Layer 204 in work management unit 202, and whether the setup parameter of comparison job requirement meets this parameter standard.For example, the data link slogan (Port-Numbers) of hardware unit 206 comprises No. 1 connectivity port (Port-1) to No. 1000 connectivity port (Prot-1000).As long as the link slogan of job requirement indication is not in this scope, application layer 201 1 failure informations are promptly responded in work management unit 202.Otherwise work management unit 202 promptly stores the work entity of job requirement to work queue 205 by the routine interface of device Drive Layer 204.
Its two, the work that work management unit 202 calculates job requirement has taken physical quantities, and obtains the tolerable scheduling quantity of work queue 205 from device Drive Layer 204.Then whether comparison work has taken physical quantities and is higher than and allows scheduling quantity.If on behalf of work queue 205, the result can't add the work entity of corresponding this job requirement again for being, application layer one failure information is promptly responded in work management unit 202.Otherwise work management unit 202 promptly stores the work entity of job requirement to work queue 205 by the routine interface of device Drive Layer 204.
They are three years old, desired work entity is carried out in work management unit 202 request hardware unit 206 earlier, responding this operation when hardware unit 206 finishes smoothly, promptly represent hardware unit 206 can accept the request of work entity, promptly by the routine interface of device Drive Layer 204, the work entity that stores job requirement is to work queue 205 in work management unit 202.Can't carry out this operation if hardware unit 206 is responded, promptly represent the hardware unit 206 can't the cooperating requirement, application layer 201 1 failure informations be promptly responded in work management unit 202.
202 of work management unit can at least two kinds of methods store work entity in work queue 205, and it is described as follows:
One, work management unit 202 is stored in work queue 205 with the first in first out rule with work entity.No matter the importance of job requirement, only the request order of opinion job requirement is to store its corresponding work entity.
They are two years old, work management unit 202 disposes each work entity in mode one to one the authority credentials of one correspondence, authority according to authority credentials just stores work entity in work queue again, and authority credentials can be configured according to the data dependencies between the work entity.
For example, work entity a exists with ... work entity b, work entity b exists with ... work entity c, so store work entity a in the order of work queue be: set up work entity c, set up work entity b, set up work entity a, authority order from high to low is work entity c, work entity b, work entity a.
Otherwise removing work entity a is to remove in proper order from low to high with authority, and order is: remove work entity a, remove work entity b, remove work entity c.
When work entity stored and to finish, the work entity that stores was carried out in the 202 request work queues 205 of work management unit, output simultaneously finish information to application layer 201 finishing this job requirement, and carry out a time job requirement.205 of work queues obtain the request of execution to carry out the work entity (step S310) that stores.
See also shown in Figure 4ly, it is the schematic flow sheet of the operation method preferred embodiment of work queue of the present invention.Its method comprises:
Whether detecting obtains one and carries out request (step S401), and device Drive Layer 204 adds work entity to work queue 205, promptly sends this execution and asks to work queue.So work queue obtains when carrying out request, must store work entity in wherein.
If the detecting result returns the step whether detecting obtains an execution request (step S401) for not; If the result is for being that prepreerence work entity on the opportunity of then carrying out (step S402) then starts the required hardware unit of execution prepreerence work entity on opportunity (step S403) in detecting.
Yet the rule of work queue 205 execution work entity institute foundations has two:
One is carried out all work entities with the first in first out rule.
Its two, according to aforesaid authority credentials, carry out all work entities, and authority credentials can be according to the data dependencies of work entity to be configured with its authority height order.
Then, whether work queue 205 detectings have a work entity not finish (step S404), if not, then return the step whether detecting obtains an execution request (step S401); If then carry out the step of prepreerence work entity on opportunity (step S402).
Seeing also shown in Figure 5ly, is that the present invention stores the schematic flow sheet of work entity in the work queue preferred embodiment.It comprises the following step:
Work management unit 202 is obtained the work entity (step S501) of the correspondence of job requirement earlier, and whether work of detection and examination formation 205 exists an identical work entity (step S502).If not, then store the work entity of correspondence of job requirement in work queue 205 (step S503); If the work entity of correspondence that then upgrades job requirement is to the work entity (step S504) of work queue 205.
If before had pair work entity to encode, can obtain the coding of the work entity of job requirement earlier, by the work entity of this code search work queue 205, be stored in work queue 205 to judge whether the work entity that meets this coding.
If the result is not, i.e. representative does not have identical work entity in work queue 205, and the work entity that can store this job requirement is in this work queue 205.If judged result is for being promptly to upgrade the work entity of same-code.
As discussed previously, if work queue 205 work entity of storage object B, the 11st to the 30th the work entity of promptly encoding.When performed job requirement need be called out execution object A, work queue 205 did not store the work entity of coding the 1st to the 10th, so work management unit 202 adds work queues with these a little work entities, and was stored in the 1st to the 10th order.
When performed job requirement need be called out the execution object B, the work entity that coding the 11st to the 30th is promptly compared out in work management unit 202 had been stored in the work queue 205, promptly upgrades these work entities.
Then, when upgrading the work entity of work queue 205, whether the setup parameter of work management unit 202 detectings two identical work entities is identical, if the detecting result replaces the work entity of job requirement the work entity of work queue 205 for not; If, then delete the work entity of job requirement, perhaps two identical work entities are merged.Then, the data dependencies of all working entity of work management unit 202 evaluation work formations 205, and adjust the storage sequence of all working entity according to data dependencies.
This work entity more new technological process is in order to avoid work queue 205 constantly to carry out the work entity of identical job requirement, the work entity of other job requirement can't to be stored wherein, and make the mistake in the network system generation operation.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the technology contents that can utilize above-mentioned announcement is made a little change or is modified to the equivalent embodiment of equivalent variations, in every case be not break away from the technical solution of the present invention content, according to technical spirit of the present invention to any simple modification that above embodiment did, equivalent variations and modification all still belong in the scope of technical solution of the present invention.

Claims (13)

1. the work management of a network system and scheduling method is characterized in that it may further comprise the steps:
Utilize one to arrange an order according to class and grade that program unit receives a work entity and this work entity stored and be ranked to execution opportunity that should work entity, with a work queue of construction independent operating;
The job requirement that utilizes a work management element analysis one application layer to send is to capture the work entity that this job requirement is comprised; And
Judge whether the required hardware unit of this job requirement is available, whether store this work entity of this job requirement to this work queue with decision.
2. the work management of network system according to claim 1 and scheduling method, it is characterized in that wherein saidly judging that the required hardware unit of this job requirement is whether in the available step, if judged result is for denying, respond this application layer one failure information, if judged result is for being, this work entity that stores this job requirement is to this work queue, and asks this work queue to carry out this work entity, and responds this application layer one and finish information.
3. the work management of network system according to claim 1 and scheduling method is characterized in that a work queue step of wherein said construction independent operating comprises the following step:
Utilize this program unit of arranging an order according to class and grade to analyze all objects of this network system;
Utilize this program unit of arranging an order according to class and grade to calculate the total value of the work entity of those objects;
Mark off a memory space according to this total value;
Utilize this program unit of arranging an order according to class and grade to receive this work entity; And
This work entity is stored in this memory space and this execution opportunity of corresponding this work entity that is ranked.
4. the work management of network system according to claim 3 and scheduling method is characterized in that it more comprises one with those work entities of those objects coding step in regular turn.
5. the work management of network system according to claim 4 and scheduling method, it is characterized in that wherein said those work entities with those objects in regular turn coding step comprise the following step:
Obtain the coding of this work entity of this job requirement;
Search for this work entity of this work queue; And
Judge whether to meet this work entity of this coding, if not, this corresponding work entity that stores this job requirement is in this work queue, if upgrade this work entity of this work queue.
6. the work management of network system according to claim 5 and scheduling method is characterized in that this work entity step of wherein said this work queue of renewal comprises the following step:
Whether the setup parameter of those work entities of detecting two identical codings is identical, if not, this work entity of this job requirement replaced this work entity of this work queue, if delete this work entity of this job requirement.
7. the work management of network system according to claim 6 and scheduling method is characterized in that it more comprises:
Calculate the data dependencies of all working entity of this work queue; And
Adjust the execution opportunity of all working entity of this work queue according to this data dependencies.
8. the work management of network system according to claim 1 and scheduling method is characterized in that the wherein said job requirement step of utilizing a work management element analysis one application layer to send comprises the following step:
Receive this job requirement that this application layer is sent; And
Whether the programmed statements of resolving this job requirement is correct, if not, responds this application layer one failure information, if capture this required work entity of this job requirement.
9. the work management of network system according to claim 1 and scheduling method is characterized in that wherein saidly judging whether available step comprises the following step to the required hardware unit of this job requirement:
Obtain the parameter standard of the required hardware unit of this job requirement; And
Whether the setup parameter of comparing this job requirement meets this parameter standard, if not, responds this application layer one failure information, if this work entity that stores this job requirement is to this work queue.
10. the work management of network system according to claim 1 and scheduling method is characterized in that wherein saidly judging whether available step comprises the following step to the required hardware unit of this job requirement:
What the work that obtains this job requirement had taken physical quantities and this work queue allows scheduling quantity; And
Compare this work and taken physical quantities and whether be higher than this and allow scheduling quantity, if, respond this application layer one failure information, if not, this work entity that stores this job requirement is to this work queue.
11. the work management of network system according to claim 1 and scheduling method is characterized in that wherein saidly judging whether available step comprises the following step to the required hardware unit of this job requirement:
This hardware unit is carried out a request, and this hardware unit is responded this application layer one failure information if response can't be carried out this request, if this hardware unit is responded this request and finished smoothly, this work entity that stores this job requirement is to this work queue.
12. the work management of network system according to claim 1 and scheduling method is characterized in that this work entity to this work queue step of wherein said this job requirement of storage comprises the following step:
Obtain this work entity of this job requirement;
Detect this work queue and whether have an identical work entity, if not, this work entity that stores this job requirement is in this work queue, if upgrade this work entity of this job requirement this work entity to this work queue.
13. the work management of network system according to claim 1 and scheduling method is characterized in that the How It Works of wherein said work queue comprises the following step:
Whether detecting obtains one and carries out request, if the opportunity of carrying out, prepreerence work entity and started the required hardware unit of this execution prepreerence work entity on opportunity, if not, returned this detecting and whether obtained an execution request step; And
Whether detecting has a work entity not finish, and if not, returns this detecting and whether obtains an execution request step, if return this and carry out prepreerence work entity step on opportunity.
CN2008101807737A 2008-12-02 2008-12-02 Network system work management and scheduling method Expired - Fee Related CN101753334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101807737A CN101753334B (en) 2008-12-02 2008-12-02 Network system work management and scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101807737A CN101753334B (en) 2008-12-02 2008-12-02 Network system work management and scheduling method

Publications (2)

Publication Number Publication Date
CN101753334A true CN101753334A (en) 2010-06-23
CN101753334B CN101753334B (en) 2013-10-30

Family

ID=42479775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101807737A Expired - Fee Related CN101753334B (en) 2008-12-02 2008-12-02 Network system work management and scheduling method

Country Status (1)

Country Link
CN (1) CN101753334B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020089692A1 (en) * 2001-01-11 2002-07-11 Ferlitsch Andrew R. Methods and systems for printing error recovery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1133121C (en) * 2000-12-28 2003-12-31 广东科龙电器股份有限公司 Real-time domestic operation system and its realizing method
CN100589477C (en) * 2006-05-09 2010-02-10 中兴通讯股份有限公司 Method for realizing data sending based on binding link

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020089692A1 (en) * 2001-01-11 2002-07-11 Ferlitsch Andrew R. Methods and systems for printing error recovery

Also Published As

Publication number Publication date
CN101753334B (en) 2013-10-30

Similar Documents

Publication Publication Date Title
CN108632365B (en) Service resource adjusting method, related device and equipment
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN107251486B (en) Method, device and system for expanding linkage
CN104461744A (en) Resource allocation method and device
CN101146089B (en) Method for configuring core resources in multi-core system, multi-core system and management core
CN109766172B (en) Asynchronous task scheduling method and device
CN102707995A (en) Service scheduling method and device based on cloud computing environments
CN111098749A (en) Battery replacement method and device, computer equipment and computer-readable storage medium
CN112732401A (en) Virtual machine resource allocation method, system, device and medium
CN103488538A (en) Application extension device and application extension method in cloud computing system
CN108255659B (en) Application program performance monitoring method and system
CN111045790A (en) Virtual machine deployment method and device
CN102455932A (en) Serial execution method, device and system for task instances
CN113157411A (en) Reliable configurable task system and device based on Celery
CN111813518A (en) Robot early warning method and device, computer equipment and storage medium
CN101753334B (en) Network system work management and scheduling method
CN112429607A (en) Elevator control system, method, apparatus, computer device and storage medium
CN112003872A (en) Method and device for detecting and calling secondary node capability of industrial internet identifier
CN114844791B (en) Cloud service automatic management and distribution method and system based on big data and storage medium
CN115185687B (en) Memory allocation method based on deep learning
CN110704180B (en) Workflow scheduling method based on hybrid cloud
CN112561264A (en) Service method, service system and storage medium for enterprise content
CN115391068B (en) Framework construction method based on IT (information technology) resource management and control system
CN111746338A (en) Intelligent battery replacement method and system for battery replacement station
CN111127143A (en) Information management method, system, terminal and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131030

Termination date: 20141202

EXPY Termination of patent right or utility model