CN101499017B - Method for real-time tracing projects - Google Patents

Method for real-time tracing projects Download PDF

Info

Publication number
CN101499017B
CN101499017B CN2009100249780A CN200910024978A CN101499017B CN 101499017 B CN101499017 B CN 101499017B CN 2009100249780 A CN2009100249780 A CN 2009100249780A CN 200910024978 A CN200910024978 A CN 200910024978A CN 101499017 B CN101499017 B CN 101499017B
Authority
CN
China
Prior art keywords
data
task
project
processing queue
task processing
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.)
Expired - Fee Related
Application number
CN2009100249780A
Other languages
Chinese (zh)
Other versions
CN101499017A (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.)
NANJING CITY LINKAGE SYSTEM INTEGRATION CO Ltd
Original Assignee
NANJING CITY LINKAGE SYSTEM INTEGRATION 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 NANJING CITY LINKAGE SYSTEM INTEGRATION CO Ltd filed Critical NANJING CITY LINKAGE SYSTEM INTEGRATION CO Ltd
Priority to CN2009100249780A priority Critical patent/CN101499017B/en
Publication of CN101499017A publication Critical patent/CN101499017A/en
Application granted granted Critical
Publication of CN101499017B publication Critical patent/CN101499017B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for achieving project real-time tracking comprises the following steps: 1) setting a conventional protection process at the background of a project management system for performing background data process to project management task data to be processed; 2) setting a task process queue in order to protect the protection process; 3) after submitting data at the project management WBS node of the system, sending project number and relative data into the set task process queue; periodically polling the data in the queue by the protection process at the background, and fusing the data, then processing the data. The method adopts a multithread processing method of the protection process at the background, combines the data fusion process mode of the task queue, and improves the capacity of the system for data-processing, so as to solve the request for real-time tracking data in the project management.

Description

The method of realization project real-time follow-up
1, technical field
The inventive method relates to computer intellectual technology, specifically is a kind of method that adopts artificial intelligence and WBS Dynamic Tracing Technology to realize the project real-time follow-up.
2, background technology
In existing various system designs, need to handle lot of data sometimes, processing procedure need take a large amount of soft, hardware system resource, expends a lot of processing times simultaneously, generally adopts following three kinds of methods to solve this class problem:
1, data processing is placed on system's backstage Timing Processing (carrying out when normally the late into the night, portfolio was little), also system off-line will be carried out sometimes.This method solves mainly that to require for real-time be not very high demand, is primarily aimed at the very large data of some calculated amount (mass data) and carries out.
2, use the process on a backstage to handle these data, by communal space transmission data, asynchronous transmission result.The real-time requirement that this method can basic guarantee be handled has certain time delay, and is higher to hardware requirement, is primarily aimed at the moderate demand of some calculated amount.
3,, promote the efficient of calculating by optimized calculation method.
In project management system, need the data of the key point of collection project management, with evaluation item progress situation, the information that the acquisition project is relevant is implemented project management for next step data foundation is provided.
To the realization of project management, the notion (work breakdown structure (WBS), Work Breakdown StructureWBS) that is based on the WBS management is carried out.WBS is to be the grouping that guiding is carried out the project key element with the deliverable achievement, and it concludes and defined the more specific definition of the every decline one deck representative of whole working range of project to project work.By the decomposition of WBS to the project work content, can set up with WBS is the project management framework model of core.For in time progress, the state of understanding project, need want vegetarian refreshments to follow the tracks of, monitor to each of WBS, promptly realize the dynamic tracking function of WBS.By dynamic tracking, realized grasping timely relevant item information, for follow-up project management provides the data foundation to WBS.
In project management process the data acquisition of each data collection point not only data volume constantly expand along with the carrying out of project, the workload that data computing is merged also is increase at double simultaneously.If according to real-time collection, and calculate in real time, the response time of system is gone up the requirement of standing that just might can't reach system, operator so.For addressing this problem, be that regular enforcement is calculated in the former work, after system-computed is finished, extract data again.Though this solution has solved the problem of system responses, need the project of real-time follow-up can not satisfy its requirement for some.
3, summary of the invention
(1) goal of the invention
For solve above-mentioned mention can't the extract real-time track project management progress data problem, artificial intelligence and WBS Dynamic Tracing Technology are used, and can in time calculate desired data, thus the requirement of solution real-time follow-up.
(2) technical scheme
1, a kind of method that realizes the project real-time follow-up, step comprises:
1) set up the finger daemon of a routine on the backstage of project management system, the project management task data that is used for needs are handled is carried out background process, this finger daemon can pass through JAVA Programming with Pascal Language, compiling, carries out separately on the backstage of project management system;
2) for ensureing described finger daemon work, set a task processing queue, send Processing tasks to finger daemon by the task processing queue;
3) after the data of the project management WBS node of system are submitted to, bullets and related data are sent in the task processing queue of setting in advance; What the finger daemon on backstage was regular carries out poll to the data in this formation, and the line data of going forward side by side merges, and data is handled again.
Each task in the formation all comprise unique project essential information to be processed, the step of multiple batches of fusion is, handle the project information that mission bit stream comprised in the row by the comparison task earlier, if project information is identical, think that then the task of comparison belongs to same project, carry out fusion treatment (handling) as a task; Otherwise, then abandon fusion treatment.
In the described step 3), the transaction step of backstage finger daemon comprises:
1) obtains data in the task processing queue;
2) locking task processing queue is created interim formation simultaneously;
3) take out first task in the task processing queue;
4) this task queue of poll again merges task items identical in the task processing queue, and then release task processing queue;
5) check whether current concurrent process exists identical task items data, has, and then this task is inserted into described task processing queue, does not have, and then produces execution thread;
6) thread process writes database with data after finishing.
Processing mode at each mission requirements in the described finger daemon task is that multithreading is handled; Actual concurrent thread numerical value=empirical value/0.75 of this multithreading; This empirical value has been according to since one month, and each project node processing data of average every day draw.The project that we at first sample every day is handled number, continues to carry out one month, and averaging obtains this empirical value.In actual use, we need judge whether this empirical value is expired according to the actual process number of process that background process is handled, if in a week, our background process can not in time be handled project data, and the process base that background process produces originally is in state of saturation (reaching actual concurrent thread numerical value), and we think that current empirical value needs to revise; Otherwise think that then empirical value is reliable.
In the actual use of project management system, a plurality of personnel may occur operates the node of the different WBS of same project, after finishing, operation will submit to the task processing demands in the task formation, the multiple batches of processing request at same project (though their processing node is different) appears in the task queue meeting, and the processing of backstage process is elementary cell with the project, if a plurality of batches same project request is not merged, the same project of processing that will be frequent causes the low of treatment effeciency so.The finger daemon artificial intelligence process is mainly reflected in the waiting task in the task queue is carried out the Intelligent Fusion part.By a plurality of batches processing request is merged, can promote the treatment effeciency of background process process, save the spending of system resource.The present invention has improved project management system system handles response speed, and the project management property monitored in real time is provided.
4, description of drawings
Fig. 1 is foreground and background data transfer synoptic diagram
Fig. 2 is backstage issued transaction flow process figure
5, embodiment
The invention will be further described below in conjunction with accompanying drawing and embodiment.
Be to improve the processing power of project management system, the maximum system resource of utilizing shortens computing time of system, has designed the backstage and has guarded treatment progress (artificial intelligence finger daemon), and use multithreading tupe in the JAVA programming on data processing.The container of J2ee provides the Session space of four kinds of different application service ranges, Application, Session, request and page.The service range maximum of Application can have operating right under all same WEB use; Session is single Session sharing operation; Request is at the request of the page to the page; And page is only limited to single page data operation.Should utilize the shared characteristic of the overall situation of Application, realize the data sharing between a plurality of Session, share the transformation task formation, realize the task of finger daemon is assigned distribution function to set up global space.
At first, background process is carried out in the project management of having set up the finger daemon of a routine that needs are handled on the backstage of system.
Secondly, for ensureing that finger daemon carries out data processing, set a task processing queue, the data of the project management node of system will be sent into bullets and related data in the task processing queue after submitting to.The finger daemon on backstage carries out poll with regular to the data in this task queue, and the line data of going forward side by side merges (artificial intelligence fusion treatment), again data is handled (Fig. 1).Because the task in each formation comprises project essential information to be processed (each project is unique), multiple batches of fusion standard is the project information that the lock of the mission bit stream in the row is comprised by the comparison task, if project information is identical, the task of being considered to compare is belonged to same project, can carry out fusion treatment (handling) as a task; Otherwise, then abandon fusion treatment.
For the hardware resource of better utilization system, deal with data needs the processing execution at each mission requirements in the finger daemon task is designed to the multithreading processing mode timely.Consider the limited resources of system and make full use of the function of multithreading, on the concurrent number of multithreading, need be according to the empirical value weighted of reality:
Actual concurrent thread=empirical value/0.75.
This empirical value has been according to since one month, and each project node processing data of average every day draw, and this empirical value is 400 in this example.
Project identical in the solution task processing queue for maximum is handled problems, and should follow following flow process (Fig. 2) when handling project data:
1) at first, locking formation;
2) take out first task in the formation stack;
3) polling tasks processing queue again merges task items identical in the task processing queue, and release task processing queue;
4) check whether current concurrent process exists the identical items treatment progress, has, and task is inserted the task processing queue, does not have, produce execution thread;
5) thread process writes database with data after finishing.

Claims (3)

1. method that realizes the project real-time follow-up is characterized in that step comprises:
1) set up the finger daemon of a routine on the backstage of project management system, the project management task data that is used for needs are handled is carried out background process;
2) for ensureing described finger daemon work, set a task processing queue;
3) after the data of the project management WBS node of system are submitted to, bullets and related data are sent in the task processing queue of having set up; What the finger daemon on backstage was regular carries out poll to the data in this formation, and carries out multiple batches of data fusion, data is handled again;
In the described step 3), the transaction step of backstage finger daemon comprises:
1) obtains data in the task processing queue;
2) locking task processing queue is created interim formation simultaneously;
3) take out first task in the task processing queue;
4) this task processing queue of poll again merges task items identical in the task processing queue, and then release task processing queue;
5) check whether current concurrent process exists identical task items data, has, and then this task is inserted into described task processing queue, does not have, and then produces execution thread;
Thread process writes database with data after finishing.
2. the method for realization project real-time follow-up according to claim 1, it is characterized in that task in each task processing queue all comprise unique project essential information to be processed, the step of multiple batches of fusion is, earlier by the project information that mission bit stream comprised in the comparison task processing queue, if project information is identical, think that then the task of comparison belongs to same project, carry out fusion treatment and promptly handle as a task; Otherwise, then abandon fusion treatment.
3. the method for realization project real-time follow-up according to claim 1 and 2 is characterized in that described finger daemon is that multithreading is handled at the processing mode of each mission requirements; Actual concurrent thread numerical value=empirical value/0.75 of this multithreading; Described empirical value has been according to since one month, and each project node processing data of average every day draw, and step is: the project of the every day of at first sampling is handled number, continues to carry out one month, and averaging obtains this empirical value; Need be according to the actual process number of process of background process processing, judge whether this empirical value is expired, if in a week, background process can not in time be handled project data, and the process number that background process produces is in state of saturation, promptly reach actual concurrent thread numerical value, think that then current empirical value needs to revise; Otherwise think that then empirical value is reliable.
CN2009100249780A 2009-03-02 2009-03-02 Method for real-time tracing projects Expired - Fee Related CN101499017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100249780A CN101499017B (en) 2009-03-02 2009-03-02 Method for real-time tracing projects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100249780A CN101499017B (en) 2009-03-02 2009-03-02 Method for real-time tracing projects

Publications (2)

Publication Number Publication Date
CN101499017A CN101499017A (en) 2009-08-05
CN101499017B true CN101499017B (en) 2011-05-18

Family

ID=40946101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100249780A Expired - Fee Related CN101499017B (en) 2009-03-02 2009-03-02 Method for real-time tracing projects

Country Status (1)

Country Link
CN (1) CN101499017B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509021A (en) * 2011-11-17 2012-06-20 北京航空航天大学 Method for calculating operation health degree of aircraft development project
CN103532823B (en) * 2012-07-04 2018-11-23 中兴通讯股份有限公司 Internet of things information processing method, apparatus and system
CN103294534B (en) * 2012-11-01 2017-02-08 北京安天电子设备有限公司 Task management system and method of distributed system
CN104182490B (en) * 2014-08-11 2018-06-19 浪潮(北京)电子信息产业有限公司 A kind of method and device for managing data access
CN105718315A (en) * 2016-02-17 2016-06-29 中国农业银行股份有限公司 Task processing method and server
CN107808313B (en) * 2016-09-08 2022-02-01 北京京东尚科信息技术有限公司 Data merging processing method, device and system
CN109445927B (en) * 2018-11-12 2021-09-17 郑州云海信息技术有限公司 Task management method and device for storage cluster

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1439137A (en) * 2000-03-07 2003-08-27 普莱斯沃特豪斯库珀公司 Method, process and system for optimized outcome driven workflow synthesis and reduction
US7032226B1 (en) * 2000-06-30 2006-04-18 Mips Technologies, Inc. Methods and apparatus for managing a buffer of events in the background
CN101021896A (en) * 2007-04-06 2007-08-22 中兴通讯股份有限公司 Method for realizing multi-task access smart card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1439137A (en) * 2000-03-07 2003-08-27 普莱斯沃特豪斯库珀公司 Method, process and system for optimized outcome driven workflow synthesis and reduction
US7032226B1 (en) * 2000-06-30 2006-04-18 Mips Technologies, Inc. Methods and apparatus for managing a buffer of events in the background
CN101021896A (en) * 2007-04-06 2007-08-22 中兴通讯股份有限公司 Method for realizing multi-task access smart card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
金敬强等.信息融合技术的发展现状与展望.电脑开发与应用.2006,19(1),50-52. *

Also Published As

Publication number Publication date
CN101499017A (en) 2009-08-05

Similar Documents

Publication Publication Date Title
CN101499017B (en) Method for real-time tracing projects
Zhang et al. A study of green development mode and total factor productivity of the food industry based on the industrial internet of things
CN102033536B (en) Scheduling, organization and cooperation system and method for multi-robot system
CN103365726B (en) A kind of method for managing resource towards GPU cluster and system
Xia et al. Further results on cloud control systems
CN104156296A (en) System and method for intelligently monitoring large-scale data center cluster computing nodes
CN105187327A (en) Distributed message queue middleware
CN103455633A (en) Method of distributed analysis for massive network detailed invoice data
CN106570145B (en) Distributed database result caching method based on hierarchical mapping
CN106502875A (en) A kind of daily record generation method and system based on cloud computing
CN106897133A (en) A kind of implementation method based on the management cluster load of PBS job schedulings
Leite et al. A real-time optimization algorithm for the integrated planning and scheduling problem towards the context of industry 4.0
Althebyan et al. A scalable Map Reduce tasks scheduling: a threading-based approach
CN201804331U (en) Date deduplication system based on co-processor
Khalil et al. Survey of Apache Spark optimized job scheduling in Big Data
Yu Data processing and development of big data system: a survey
Yu et al. Improvement and Application of Task Scheduling Algorithm for Embedded Real-Time Operating System
CN102945154B (en) Resource conflict digestion method in workflow execution
Luo et al. Research on resources scheduling technology based on fuzzy clustering analysis
CN103258009A (en) Method and system for acquiring and analyzing method performance data
Du et al. OctopusKing: A TCT-aware task scheduling on spark platform
Oukas et al. A new gspns-model for sensors in solar ehwsns, considering seasonal sunshine levels and sleeping mechanism based on channel polling schedule
Jingxin et al. Research on Construction Method of Distributed Data Lake Driven by Virtualization Model
Monu et al. Simulation of performance analysis of mongodb, pig, hive storage, map reduce, spark and yarn
Liang et al. Bi-dueling DQN enhanced two-stage scheduling for augmented surveillance in smart EMS

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: 20110518

CF01 Termination of patent right due to non-payment of annual fee