CN101470625A - Multitask execution method in large software - Google Patents

Multitask execution method in large software Download PDF

Info

Publication number
CN101470625A
CN101470625A CNA2007103041766A CN200710304176A CN101470625A CN 101470625 A CN101470625 A CN 101470625A CN A2007103041766 A CNA2007103041766 A CN A2007103041766A CN 200710304176 A CN200710304176 A CN 200710304176A CN 101470625 A CN101470625 A CN 101470625A
Authority
CN
China
Prior art keywords
operational order
software
functional module
described operational
execution method
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
CNA2007103041766A
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CNA2007103041766A priority Critical patent/CN101470625A/en
Publication of CN101470625A publication Critical patent/CN101470625A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a multi-task execution method in a large software, which comprises the following steps: generating operation instructions of various services, ordering the operation instructions to generate an execution list of the operation instructions according to the time sequence and the dependence relationship generated by the operation instructions, sending the operation instructions to relative functional modules according to the execution list of the operation instructions, and executing corresponding tasks of the operation instructions. Through using the method, a whole system is separated into different function modules according to task types, the tasks are executed by the function modules which correspond to the task types, thereby simplifying the maintenance work of the software, and increasing the execution efficiency of asynchronous instructions.

Description

Multitask execution method in a kind of large software
Technical field
The present invention relates to field of software development, particularly relate to multitask execution method in a kind of large software.
Background technology
Along with the development of IT technology and storage set develop rapidly with processor core, the supported software size of system is also in continuous expansion, the function that present large software comprises is very many, and in the past, the transmission of various instructions and execution all were integrated in a module and finish system in.Can manage concentratedly although do like this, also can realize function, a lot of drawbacks are arranged:
What 1, software will become is very huge, very complicated, and unstable;
2, be unfavorable for the modification of software, when some functions are revised, need whole software to recompilate issue again;
3, the upgrading of other softwares is to own influential, when finishing of some function need be with other software interactives, along with the upgrading of these softwares, the variation of interaction protocol, this software also must although may be a very little function, cause the modification of whole software along with upgrading.
4, the processing to asynchronous instruction is good inadequately, and chronic when some command execution, the impossible online wait of software needs to adopt other technologies, just can finish as the mode of newly-built thread;
So, be badly in need of a kind of technology now, can realize the modularization of software function, distribution is carried out, so that reduce the deficiency that takies resource each other between the multitask process and cause task execution decrease in efficiency, and improves the execution efficient of asynchronous instruction; And, by software function moduleization, can realize the part upgrading of independent function, avoid causing the exploitation again of whole software, thereby economize on resources, and reduce the workload of software maintenance upgrade job because of the part upgrading of large software inside.
Summary of the invention
The problem that the embodiment of the invention will solve provides multitask execution method in a kind of large software, according to task type, total system is split into different functional modules, carry out described task by the pairing functional module of described task type, simplify software maintenance work and improve the execution efficient of asynchronous instruction.
For achieving the above object, the embodiment of the invention proposes multitask execution method in a kind of large software on the one hand, may further comprise the steps:
Generate the operational order of described various services;
Time sequencing and dependence according to described operational order generates to described operational order ordering, generate the execution tabulation of described operational order;
Execution tabulation according to described operational order sends to corresponding functional module with described each operational order;
Carry out the pairing task of described each operational order.
Wherein, tabulation is carried out in described generating run instruction, specifically may further comprise the steps:
Receive the operational order of described generation;
According to the rise time order of described operational order, carry out the ordering first time;
Analyze described operational order, according to the dependence of described each operational order, to the first time ranking results adjust, generate the sequential list of described operational order;
Discern the pairing functional module of described operational order, set up the transmission relation of described operational order;
The sequential list of described operational order and the relation that sends are gathered, generate the execution tabulation of described operational order.
Wherein, further, the described ordering first time is specially the sequencing according to the rise time of described operational order, the preferential described operational order that generates earlier of carrying out.
Wherein, further, the dependence of described each operational order is specially:
The operating result of an operational order serves as the operational hypothesis of another operational order.
Wherein, further, described to the first time ranking results adjust and be specially the described operational order that serves as operational hypothesis of preferential execution.
Wherein, further, the sequential list of the described operational order of described generation also comprises:
For the two or more operational orders that do not have dependence, generate the sequential list of described operational order according to the result of the described ordering first time
Wherein, described each operational order is sent to corresponding functional module, also comprises the transmit status of adjusting described operational order according to the duty of described functional module, be specially:
When the duty of described functional module when busy, the transmit status of adjusting described operational order is for waiting for;
When the duty of described functional module was the spare time, the transmit status of adjusting described operational order was for sending;
When described functional module transmission fault can not be worked, the transmit status of adjusting described operational order was cancellation.
Wherein, further,, described each operational order is sent to corresponding functional module, also comprise:
After sending described operational order, carry out the described operational order of deletion in the tabulation at described operational order.
On the other hand, the embodiment of the invention also provides a kind of computer program, comprises that some assignment instructions are in order to carry out multitask execution method in aforesaid a kind of large software.
On the other hand, the embodiment of the invention also provides a kind of storage medium, storage aforementioned calculation machine program.
On the other hand, the embodiment of the invention also provides a kind of computer equipment, comprises in order to the software of carrying out multitask execution method in aforesaid a kind of large software and the hardware that cooperates with software.
The technical scheme of the embodiment of the invention has the following advantages, because adopt the modularization of software function, distribution is carried out, so that reduce the deficiency that takies resource each other between the multitask process and cause task execution decrease in efficiency, and improves the execution efficient of asynchronous instruction; And, by software function moduleization, can realize the part upgrading of independent function, avoid causing the exploitation again of whole software, thereby economize on resources, and reduce the workload of software maintenance upgrade job because of the part upgrading of large software inside.
Description of drawings
Fig. 1 is the schematic flow sheet of multitask execution method in a kind of large software in the embodiment of the invention one.
Embodiment
The present invention is by the modularization of software function, and distribution is carried out, and has created a plurality of functional modules, so that reduce the deficiency that takies resource each other between the multitask process and cause task execution decrease in efficiency, and improves the execution efficient of asynchronous instruction; And, by software function moduleization, can realize the part upgrading of independent function, avoid causing the exploitation again of whole software, thereby economize on resources, and reduce the workload of software maintenance upgrade job because of the part upgrading of large software inside.
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
As shown in Figure 1, be the embodiment of the invention one, plant multitask execution method in the large software,, realized the distributed execution of function, specifically may further comprise the steps by creating a plurality of functional modules:
The operational order of step S101, the various services of generation specifically comprises the transmission data, analyzes data, deleted data, operations such as changed information.
Step S102, according to time sequencing and dependence that operational order generates, to the operational order ordering, the execution tabulation of generating run instruction further may further comprise the steps:
Receive the operational order that generates;
According to the rise time order of operational order, carry out the ordering first time;
Analysis operation instruction, according to the dependence of each operational order, to the first time ranking results adjust the sequential list of generating run instruction;
Identifying operation instructs pairing functional module, sets up the transmission relation of operational order;
The sequential list of operational order and the relation that sends are gathered the execution tabulation of generating run instruction.
Step S103, according to the execution of operational order tabulation, judge whether the work at present state of pairing functional module allows to receive operational order, specifically comprise:
When the duty of described functional module when busy, the transmit status of adjusting described operational order is for waiting for, and repeating step S103, continues the duty of arbitration functions module, can send until operational order;
When the duty of described functional module was the spare time, the transmit status of adjusting described operational order sent to corresponding functional module for sending with each operational order, changes step S104 over to;
When described functional module transmission fault can not be worked, the transmit status of adjusting described operational order was cancellation.
Step S104, carry out the pairing task of each operational order, finish this instruction manipulation.
By the application of the embodiment of the invention, realized the modularization of software function, distribution is carried out, so that reduce the deficiency that takies resource each other between the multitask process and cause task execution decrease in efficiency, and improves the execution efficient of asynchronous instruction; And, by software function moduleization, can realize the part upgrading of independent function, avoid causing the exploitation again of whole software, thereby economize on resources, and reduce the workload of software maintenance upgrade job because of the part upgrading of large software inside.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1, multitask execution method in a kind of large software, according to task type, total system is split into different functional modules, carry out described task by the pairing functional module of described task type, simplify software maintenance work and improve the execution efficient of asynchronous instruction, it is characterized in that, may further comprise the steps:
Generate the operational order of described various services;
Time sequencing and dependence according to described operational order generates to described operational order ordering, generate the execution tabulation of described operational order;
Execution tabulation according to described operational order sends to corresponding functional module with described each operational order;
Carry out the pairing task of described each operational order.
2, multitask execution method in the large software as claimed in claim 1 is characterized in that, tabulation is carried out in described generating run instruction, specifically may further comprise the steps:
Receive the operational order of described generation;
According to the rise time order of described operational order, carry out the ordering first time;
Analyze described operational order, according to the dependence of described each operational order, to the first time ranking results adjust, generate the sequential list of described operational order;
Discern the pairing functional module of described operational order, set up the transmission relation of described operational order;
The sequential list of described operational order and the relation that sends are gathered, generate the execution tabulation of described operational order.
3, multitask execution method in the large software as claimed in claim 2 is characterized in that, the described ordering first time is specially the sequencing according to the rise time of described operational order, the preferential described operational order that generates earlier of carrying out.
4, multitask execution method in the large software as claimed in claim 2 is characterized in that, the dependence of described each operational order is specially:
The operating result of an operational order serves as the operational hypothesis of another operational order.
5, as multitask execution method in claim 2 or the 4 described large softwares, it is characterized in that, described to the first time ranking results adjust and be specially the described operational order that serves as operational hypothesis of preferential execution.
6, multitask execution method in the large software as claimed in claim 2 is characterized in that, the sequential list of the described operational order of described generation also comprises:
For the two or more operational orders that do not have dependence, generate the sequential list of described operational order according to the result of the described ordering first time.
7, multitask execution method in the large software as claimed in claim 1, it is characterized in that, described each operational order is sent to corresponding functional module, also comprises the transmit status of adjusting described operational order according to the duty of described functional module, be specially:
When the duty of described functional module when busy, the transmit status of adjusting described operational order is for waiting for;
When the duty of described functional module was the spare time, the transmit status of adjusting described operational order was for sending;
When described functional module transmission fault can not be worked, the transmit status of adjusting described operational order was cancellation.
8, multitask execution method in the large software as claimed in claim 7 is characterized in that, described each operational order is sent to corresponding functional module, also comprises:
After sending described operational order, carry out the described operational order of deletion in the tabulation at described operational order.
9, a kind of computer program is characterized in that,
Comprise that some assignment instructions are in order to carry out multitask execution method in the described large software of aforementioned claim 1-8.
10, a kind of storage medium is characterized in that,
The described computer program of storage claim 9.
11, a kind of computer equipment is characterized in that,
Comprise in order to the software of carrying out multitask execution method in the described large software of aforementioned claim 1-8 and the hardware that cooperates with software.
CNA2007103041766A 2007-12-25 2007-12-25 Multitask execution method in large software Pending CN101470625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007103041766A CN101470625A (en) 2007-12-25 2007-12-25 Multitask execution method in large software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007103041766A CN101470625A (en) 2007-12-25 2007-12-25 Multitask execution method in large software

Publications (1)

Publication Number Publication Date
CN101470625A true CN101470625A (en) 2009-07-01

Family

ID=40828115

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007103041766A Pending CN101470625A (en) 2007-12-25 2007-12-25 Multitask execution method in large software

Country Status (1)

Country Link
CN (1) CN101470625A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902365A (en) * 2012-12-26 2014-07-02 华为技术有限公司 Task regulation and control method, device and system
CN113347171A (en) * 2021-05-28 2021-09-03 杭州萤石软件有限公司 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902365A (en) * 2012-12-26 2014-07-02 华为技术有限公司 Task regulation and control method, device and system
CN113347171A (en) * 2021-05-28 2021-09-03 杭州萤石软件有限公司 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment
CN113347171B (en) * 2021-05-28 2022-07-05 杭州萤石软件有限公司 Internet of things equipment disposal method and method for setting equipment resources in internet of things equipment
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101604264B (en) Task scheduling method and system for supercomputer
CN103645909A (en) Handling method and device for timed task
JPWO2008146677A1 (en) Virtual machine management apparatus, virtual machine management method, and virtual machine management program
CN103532823A (en) Message processing method, device and system for Internet of Things
CN101201753A (en) Method for configuring and managing multimode machine supervising engine
CN110427252A (en) Method for scheduling task, device and the storage medium of task based access control dependence
CN110262822B (en) Multi-split system and upgrading method and device thereof
CN101694633A (en) Equipment, method and system for dispatching of computer operation
CN108803553A (en) Work order executes method and device, medium, numerically-controlled machine tool and production management system
CN102567074A (en) USB (universal serial bus) device redirecting method facing virtual machines
CN103294728A (en) Data processing method and system
CN115242877B (en) Spark collaborative computing and operating method and device for multiple K8s clusters
CN103257852A (en) Method and device for building development environment of distributed application system
CN105808346A (en) Task scheduling method and device
CN102437869B (en) Power Line Carrier Communication Module concurrent software upgrade method
CN102737016A (en) A system and a method for generating information files based on parallel processing
CN101470625A (en) Multitask execution method in large software
CN106648597A (en) Multi-user concurrent remote compiling engine architecture
CN103186738A (en) Software license management and control method and system for software resources, creating device and starting device
CN105701406A (en) Method of Android platform for running traditional payment application
CN111459748A (en) Operation and maintenance control method, system and device based on command control and storage medium
CN101470624A (en) Multitask execution apparatus in large software
WO2012167591A1 (en) Processing method and system for distributed operating command
CN115794355A (en) Task processing method and device, terminal equipment and storage medium
CN103856531A (en) Local area network downloading device and method based on multiple collaborators

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090701