CN102053999B - Method and system for collecting routes based on progresses - Google Patents

Method and system for collecting routes based on progresses Download PDF

Info

Publication number
CN102053999B
CN102053999B CN 200910236398 CN200910236398A CN102053999B CN 102053999 B CN102053999 B CN 102053999B CN 200910236398 CN200910236398 CN 200910236398 CN 200910236398 A CN200910236398 A CN 200910236398A CN 102053999 B CN102053999 B CN 102053999B
Authority
CN
China
Prior art keywords
path
configuration
user
processed
file
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
CN 200910236398
Other languages
Chinese (zh)
Other versions
CN102053999A (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.)
Peking University
Founder International Beijing Co Ltd
Original Assignee
Peking University
Founder International Beijing 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 Peking University, Founder International Beijing Co Ltd filed Critical Peking University
Priority to CN 200910236398 priority Critical patent/CN102053999B/en
Publication of CN102053999A publication Critical patent/CN102053999A/en
Application granted granted Critical
Publication of CN102053999B publication Critical patent/CN102053999B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method and system for collecting routes based on progresses and belongs to the field of information technology. The method comprises the following steps: collecting and extracting progress route information of running progresses in an application desktop system; screening and sequencing according to configuration in configuration files so as to generate a route list; and popping the route list when a user reads and writes the files on a man-machine interaction interface, thus realizing quick route selection by the user to select one route. Through the method and system provided by the invention, the current working file routes of other application procedures can be quickly positioned in a multi-application procedure user interactive interface and the operation of selecting the file storage route of the user is greatly simplified.

Description

A kind of Path-collection method and system of processed-based
Technical field
The invention belongs to areas of information technology, be specifically related to a kind of Path-collection method and system of processed-based.
Background technology
Routing is one of common function in the table for computer plane system, particularly reads at file, before the write operation, and a lot of application scenarios all exist routing and affirmation.Present operating system all is multitask system, such as popular Window operating system, (SuSE) Linux OS etc.
In multitask system, different application program for the exploitation of different application purpose, be difficult to often work in coordination with, OLE is just at the technical solution product of different application systems mutual cooperation, at present a lot of application programs is supported the OLE drag and drop, but sharing of file path but ignored by the people always, the typical case is as after operating personnel use file browser to find correct file path, when the Use Word new files need to be preserved, need the select File storing path, if and the path level is many, then need to preserve to click in the dialog box at file and again seek this path, location, it is pretty troublesome that this operates the user.
In existing open source literature and the system, find at present that the process path that is user-friendly to is collected and system that can self-defined general routes.
Summary of the invention
For the problems referred to above that exist in the existing desktop application system, the object of the invention provides a kind of Path-collection method and system of processed-based, make the Path generation that multipad can be between multitask related fast by the method and system, the path list of user by collecting from process can navigate to corresponding file destination catalogue fast.Application of the present invention will make the file read-write ease for use of multitask human-computer interaction interface improve.
The object of the present invention is achieved like this, and a kind of Path-collection method of processed-based comprises following steps:
(1) collects and extracts process path information to using the process of moving in the desktop system;
(2) according to the configuration in the configuration file process path is screened and sort, the generation pass tabulation;
(3) when the user when human-computer interaction interface carries out read-write operation to file, the path list that eject to extract, the user can directly select one of them path implement path to select fast.
Further, in the step (1), described process comprises system process and consumer process.
Further, for multiple-access computer operating system, the role of the process User login system of systematic collection is limited in the scope of security procedure, namely not having in the express authorization situation, can not read the progress information of other login user.
Further, in the step (2), configuration in the described configuration file comprises screening configuration and ordering configuration, and wherein said screening configuration comprises: process type, process activity, blacklist, proceeding internal memory take size, the process virtual memory takies size and process user name; Described ordering configuration comprises: process image title, process type, process activity, blacklist, proceeding internal memory take size, the process virtual memory takies size and process user name.
Further, in the step (1), the process path information of extracting comprises the current path information of the place of process file path information own and corresponding application program.
Further, in the step (2), the path list of generation is that the tree structure data mode of classifying represents, and wherein bottom node is routing information, and other are the classification trees that read from configuration file.
Further, the classification tree that reads in the described configuration file comprise opened browser path list path classification, User Defined filtercondition the path classification and commonly use catalogue.
Further, the node in described tree structure data defines process filtering rule, dynamic call interface and its name space, indicating template information; Wherein said process filtering rule refers to that taking size, process virtual memory according to process type, process activity, blacklist, proceeding internal memory takies the character expression that size, process user name are filtered; Described dynamic call interface and its name space refer to title and the address of the entrance function that the handling procedure of the expansion that defines calls; Described indicating template refers to routing information is shown as the string format template that can read.
Further, in the step (2), when the path being screened and sort, if there is self-defining path in the configuration file, then first self-defining path is merged.
A kind of Path-collection system of processed-based, this system comprises: Path-collection device, configuration manager and system's hooking device, wherein said Path-collection device is used for process path information is collected and extracted to the process that the application desktop system is moving, and it is screened and sort, the generation pass tabulation according to the configuration in the configuration file;
Described configuration manager is used for that management is screened process and the configuration file of User Defined general routes;
Described system hooking device is used for native system is articulated to the routing interface of the file read-write operation of multipad, when the user when human-computer interaction interface carries out read-write operation to file, eject the path list that extracts, the user can directly select one of them path implement path to select fast.
Further, described Path-collection device and system's hooking device are different according to different operating system, and the Path-collection device is according to reading the progress information ability, and its acquisition approach information can be expanded for application-specific.
Further, described system hooking device is configurable composition module, can directly link and compile Path-collection device and configuration manager in development system.
Effect of the present invention is: the operation process is collected in the present invention and the path obtains, and forms tabulation by screening and ordering, has improved the ease for use of the routing in the user file read-write operation.Specifically, method of the present invention also has following remarkable results:
1. the form by connector, can be articulated in the file read-write interface of the setting application program on the specific operation system platform, the typical case preserves dialog box etc. such as file, has improved the ease for use of routing, and is particularly remarkable for the figure human-computer interaction interface effect of multitask.
2. the present invention can be applied in the system newly developed, by the read path tabulation, simplifies user's operation steps.
3. adopt method of the present invention, can set up the related interlock in path between a plurality of application programs, namely current path arranges variation in a desktop programs, can link to change the current path setting of affiliate application.
Why the present invention has above-mentioned remarkable result, its reason is: Path-collection and the analysis of the process when the present invention passes through operation, set up path indexing between the operation process, and can further set up the path and use between related, its meaning is to make sets up the data buffer storage passage between the isolated process, effectively improved impression and the ease for use of user's operation.
Description of drawings
Fig. 1 is that the Path-collection system of a kind of processed-based in the embodiment of the invention consists of synoptic diagram;
Fig. 2 is the Path-collection method flow synoptic diagram of a kind of processed-based in the embodiment of the invention;
Fig. 3 uses in the embodiment of the invention with Window platform application program file to preserve the dialog interface sectional drawing;
Fig. 4 is the result schematic diagram after in the embodiment of the invention path being screened;
Fig. 5 is the synoptic diagram of generation pass tabulation in the embodiment of the invention;
Fig. 6 is the synoptic diagram that call embodiment of the invention median surface.
Embodiment
The invention will be further described below in conjunction with specification drawings and specific embodiments.
In the present embodiment, system runs under the Window operating system platform.
As shown in Figure 1, a kind of Path-collection system of processed-based, be comprised of Path-collection device 11, configuration manager 12 and system's hooking device 13, wherein Path-collection device 11, system's hooking device 13 is different according to different operating system, and the system interface function that calls there are differences.The API Calls interface that Path-collection device 11 is used for by system, the progress information that collection system is being moved, and from process, extract associated pathway information, in addition, Path-collection device 11 is also for after obtaining the configuration of relevant configuration file from configuration manager 12, to screening and sort the generation pass tabulation in the path of collecting.
Configuration in the configuration file of configuration manager 12 management mainly comprises following two kinds: i.e. screening configuration and ordering configuration: present embodiment only reads the file browser path of opening:
Relevant configuration is as follows:
<?xml?version=″1.0″encoding=″utf-8″?>
<root>
<item id=" 1 " name=" opened browser " orderby=" value " 〉
<filterset>
<filter id=" 1-1 " name=" title filtration " desc=" to the filtration of process title " type=" processname "〉explorer</filter 〉
<filter id=" 1-2 " name=" user filtering " desc=" to the filtration of active user's type " type=" username "〉currentuser</filter 〉
<filter id=" 1-3 " name=" path filtering " desc=" filters " type=" pathtype " to path type〉app</filter 〉
</filterset>
</item>
<item id=" 2 " name=" from path definition " orderby=" value " 〉
<paths>
<path id=" 2-1 " name=" DataFilter project directory " desc=" DataFilter project directory " type=" phypath " value=" D: My
Solutions\DataRating\Code\DataFilter″>
<path id=" 2-1-1 " name=" test catalogue " desc=" DataFilter test data catalogue " type=" relpath " value=" Test "/〉
<path id=" 2-1-2 " name=" DataFilter data " desc=" DataFilter project data file directory " type=" relpath "
value=″Data″/>
</path>
<path id=" 2-2 " name=" proprietary desktop " desc=" proprietary desktop corresponding catalogue " type=" phypath " value=" C: Documents
And Settings All Users desktop " 〉
</path>
</paths>
</item>
</root>
In the above-mentioned configuration file, the Item node is the node that the user is used to classify, and wherein the filterset node represents that the configuration And of the filter that comprises below is applied on the current I tem node.As describing in the top configuration: id equals the type that the name of " 1-1 " is called " title filtrations " configuration item and is " processname ", and the string matching expression style " explorer " that namely defines according to Text value in the node is screened process; Id equals the type that " 1-2 " name is called " user filtering " configuration item and is " username ", and namely the currentuser according to Text value definition in the node determines that the user according to the startup process is active user's process; Id equals the type that " 1-3 " name is called " path filtering " configuration item and is " pathtype ", and the app that namely defines according to Text value in the node represents the current application path of the process of obtaining;
The id of Item equals " 2 " node and has defined the path tree that the user pre-defines, wherein type equals phypath and represents that the path of recording in Value attribute corresponding to Path node is complete physical pathway, and type equals the path of recording in Value attribute corresponding to the expression Path node of relpath and is the relative path with respect to higher level's node, just obtains its complete physical access path after must adding the path of top-ranking's node.
In the present embodiment, the processing flow chart of the Path-collection method of processed-based as shown in Figure 2, namely Path-collection device 11 process of at first carrying out is collected and path extraction (step S21), wherein extracts process result demonstration as shown in Figure 3.
Path-collection device 11 obtains relevant configuration from configuration manager 12 subsequently, identical such as top Xml file displaying contents, implementation step S22 screens the path and sorts, dispose according to the screening in the Xml configuration file, namely obtaining according to process in the node " explorer " by name, startup user is the active user, and obtain id and equal the type that " 1-3 " name is called " path filtering " configuration item from corresponding process and be " pathtype ", the app that namely defines according to Text value in the node represents the current application path of the process of obtaining;
The result of screening as shown in Figure 4.Namely obtain two paths after the screening, namely
" F: Software Office Sample " path and " D: My Works1 " path.
Then generate following path list (shown in S23 among Fig. 2) according to configuration file:
<?xml?version=″1.0″encoding=″utf-8″?>
<root>
<item id=" 1 " name=" opened browser " orderby=" value " 〉
<paths>
<path?id=″1-1″name=″F:\Software\Office\Sample″desc=″F:\Software\Office\Sample″type=″phypath″
value=″F:\Software\Office\Sample″/>
<path?id=″1-2″name=″D:\My?Works1″desc=″D:\My?Works1″type=″phypath″value=″D:\My?Works1″/>
</paths>
</item>
<item id=" 2 " name=" from path definition " orderby=" value " 〉
<paths>
<path id=" 2-1 " name=" DataFilter project directory " desc=" DataFilter project directory " type=" phypath " value=" D: My
Solutions\DataRating\Code\DataFilter″>
<path id=" 2-1-1 " name=" test catalogue " desc=" DataFilter test data catalogue " type=" relpath " value=" Test "/〉
<path id=" 2-1-2 " name=" DataFilter data " desc=" DataFilter project data file directory " type=" relpath "
value=″Data″/>
</path>
<path id=" 2-2 " name=" proprietary desktop " desc=" proprietary desktop corresponding catalogue " type=" phypath " value=" C: Documents
And Settings All Users desktop " 〉
</path>
</paths>
</item>
</root>
Owing to have self-defining path (shown in S24 among Fig. 2) in the configuration file, then Path-collection device 11 path of collecting the row filter of going forward side by side as shown in S25 step among Fig. 2, merges to corresponding id and equals among the node Item of " 1 ".
Because above-mentioned tree-shaped structural data node adopts the ID multi-stage sequencing to generate, be that node ID adds junction symbol by father node ID, after "-" number, add that the call number of this node in node at the same level arranged to form that the ID of all nodes will can not duplicate like this.
The above-mentioned path list that generates is only enumerated the interface of tree structure here, the interface of being not difficult equally to realize menu-style or tabular form as shown in Figure 5.
According to step S26 shown in Figure 2, native system is by modular system hooking device 13, and the file that is articulated to Windows operating system is preserved in the window, and the interface sectional drawing as shown in Figure 6.
" opened browser " literal and the icon selected that shows among the figure is inserted into this document by system's hook program 13 and preserves in the dialog box navigation bar.Select this icon, then eject the path list of collecting.
Method in above-described embodiment is as in independently developed software interface, if the dialog box of its exploitation is used independently developed File Open and is preserved dialog box, then do not need to use above-mentioned system's hooking device 13, but present Windows operating system related development platform, generally can directly call its API to File Open and after preserving the dialog control encapsulation, under this environment, 13 of system's hooking devices need, it can be articulated in File Open and the preservation dialog interface by the Hook program of message circulation.
The present invention is a kind of Path-collection method and system of processed-based, design and according to the method the routing of file operation has been carried out easy-to-use simplification according to technological thought of the present invention, make the user can be in multiple task operating system, take full advantage of its task characteristic, the path fast finding between implementation process.Adopt this method in the system that other man-machine interactive platforms are realized, also belong to innovation scope of the present invention.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to equally technological innovation scope of the present invention.

Claims (12)

1. the Path-collection method of a processed-based comprises following steps:
(1) collects and extracts process path information to using the process of moving in the desktop system;
(2) according to the configuration in the configuration file process path is screened and sort, the generation pass tabulation;
(3) when the user when human-computer interaction interface carries out read-write operation to file, the path list that eject to extract, the user can directly select one of them path implement path to select fast.
2. the Path-collection method of a kind of processed-based as claimed in claim 1, it is characterized in that: in the step (1), described process comprises system process and consumer process.
3. the Path-collection method of a kind of processed-based as claimed in claim 2, it is characterized in that: for multiple-access computer operating system, the role of the process User login system of systematic collection is limited in the scope of security procedure, namely not having in the express authorization situation, can not read the progress information of other login user.
4. a kind of Path-collection method of processed-based as claimed in claim 1, it is characterized in that: in the step (2), configuration in the described configuration file comprises screening configuration and ordering configuration, and wherein said screening configuration comprises: process type, process activity, blacklist, proceeding internal memory take size, the process virtual memory takies size and process user name; Described ordering configuration comprises: process image title, process type, process activity, blacklist, proceeding internal memory take size, the process virtual memory takies size and process user name.
5. such as the Path-collection method of the described a kind of processed-based of one of claim 1 to 4, it is characterized in that: in the step (1), the process path information of extracting comprises the current path information of the place of process file path information own and corresponding application program.
6. the Path-collection method of a kind of processed-based as claimed in claim 5, it is characterized in that: in the step (2), the path list that generates is that the tree structure data mode of classifying represents, and wherein bottom node is routing information, and other are the classification trees that read from configuration file.
7. the Path-collection method of a kind of processed-based as claimed in claim 6 is characterized in that: the classification tree that reads in the described configuration file comprise opened browser path list path classification, User Defined filtercondition the path classification and commonly use catalogue.
8. the Path-collection method of a kind of processed-based as claimed in claim 6 is characterized in that: in node definition process filtering rule, dynamic call interface and its name space, the indicating template information of described tree structure data; Wherein said process filtering rule refers to that taking size, process virtual memory according to process type, process activity, blacklist, proceeding internal memory takies the character expression that size, process user name are filtered; Described dynamic call interface and its name space refer to title and the address of the entrance function that the handling procedure of the expansion that defines calls; Described indicating template refers to routing information is shown as the string format template that can read.
9. the Path-collection method of a kind of processed-based as claimed in claim 6 is characterized in that: in the step (2), when the path being screened and sort, if there is self-defining path in the configuration file, then first self-defining path is merged.
10. the Path-collection system of a processed-based, this system comprises: Path-collection device, configuration manager and system's hooking device, wherein said Path-collection device is used for process path information is collected and extracted to the process that the application desktop system is moving, and it is screened and sort, the generation pass tabulation according to the configuration in the configuration file;
Described configuration manager is used for that management is screened process and the configuration file of User Defined general routes;
Described system hooking device is used for native system is articulated to the routing interface of the file read-write operation of multipad, when the user when human-computer interaction interface carries out read-write operation to file, eject the path list that extracts, the user can directly select one of them path implement path to select fast.
11. the Path-collection system of a kind of processed-based as claimed in claim 10, it is characterized in that: described Path-collection device and system's hooking device are different according to different operating system, and the Path-collection device is according to reading the progress information ability, and its acquisition approach information can be expanded for application-specific.
12. the Path-collection system such as claim 10 or 11 described a kind of processed-baseds is characterized in that: described system hooking device is configurable composition module, can directly link and compile Path-collection device and configuration manager in development system.
CN 200910236398 2009-10-28 2009-10-28 Method and system for collecting routes based on progresses Expired - Fee Related CN102053999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910236398 CN102053999B (en) 2009-10-28 2009-10-28 Method and system for collecting routes based on progresses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910236398 CN102053999B (en) 2009-10-28 2009-10-28 Method and system for collecting routes based on progresses

Publications (2)

Publication Number Publication Date
CN102053999A CN102053999A (en) 2011-05-11
CN102053999B true CN102053999B (en) 2013-03-13

Family

ID=43958333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910236398 Expired - Fee Related CN102053999B (en) 2009-10-28 2009-10-28 Method and system for collecting routes based on progresses

Country Status (1)

Country Link
CN (1) CN102053999B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577301B (en) * 2012-07-20 2017-12-05 腾讯科技(深圳)有限公司 A kind of method and terminal of show process information
TWI553492B (en) * 2013-02-04 2016-10-11 緯創資通股份有限公司 Display method, electronic device, multimedia system, and computer program product
CN106648925B (en) * 2016-11-17 2020-07-24 捷开通讯(深圳)有限公司 Mobile terminal and method for acquiring character string information thereof
CN111125688B (en) * 2019-12-13 2022-04-22 北京浪潮数据技术有限公司 Process control method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479893A (en) * 2000-12-18 2004-03-03 �ʼҷ����ֵ������޹�˾ Self-determining command path architecture background of the invention
CN101124765A (en) * 2003-11-19 2008-02-13 科尔街有限公司 Distributed delegated path discovery and validation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479893A (en) * 2000-12-18 2004-03-03 �ʼҷ����ֵ������޹�˾ Self-determining command path architecture background of the invention
CN101124765A (en) * 2003-11-19 2008-02-13 科尔街有限公司 Distributed delegated path discovery and validation

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
基于UDP协议的群发控制系统设计与实现;石光华;《计算机工程》;20070731;第33卷(第13期);第255-256页,第259页 *
基于行为的病毒检测系统的设计与实现;李江涛;《北京交通大学硕士学位论文》;20080831;全文 *
李江涛.基于行为的病毒检测系统的设计与实现.《北京交通大学硕士学位论文》.2008,全文.
石光华.基于UDP协议的群发控制系统设计与实现.《计算机工程》.2007,第33卷(第13期),第255-256页,第259页.

Also Published As

Publication number Publication date
CN102053999A (en) 2011-05-11

Similar Documents

Publication Publication Date Title
JP5460390B2 (en) Layout conversion apparatus, layout conversion program, and layout conversion method
CN102982084B (en) Multi-dimentional data report
JP5952428B2 (en) Borderless table detection engine
CN107526600B (en) Hadoop and spark-based visual data mining analysis platform and data cleaning method thereof
CN102053999B (en) Method and system for collecting routes based on progresses
TW201543378A (en) Detecting and extracting image document components to create flow document
US20170132638A1 (en) Relevant information acquisition method and apparatus, and storage medium
US8996542B2 (en) Navigation of hierarchical data sets
JP5936138B2 (en) Apparatus and method for generating operation procedure manual
JPH10293760A (en) Object management method
CN106610774A (en) Webpage table editing method and device
CN103544298B (en) The log analysis method and analytical equipment of component
CN107423270B (en) Method for realizing real-time mutual conversion between on-line flow chart and code
JP2009099140A (en) Data processing system
CN101324844B (en) Method for making rich text control with intelligent apperception
JP7380858B2 (en) Display control device and display control method
CN113608903A (en) Fault management method based on XML language
CN106649310B (en) Data acquisition method and device
CN101661277B (en) Part processing method and device used for numerical control machine
CN106775810A (en) The wiring method and device of configuration file in distributed file system
CN104636372B (en) The method and device of big data quantity processing is realized based on table
CN104483038B (en) The method for extracting target point temperature in DTS optical fiber temperature measurement hosts
CN106557519A (en) File delet method and device
CN112558845A (en) Form operation method and form operation device
US20110302384A1 (en) Computer readable medium storing information processing program, information processing apparatus, and information processing method

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

Termination date: 20141028

EXPY Termination of patent right or utility model