CN103049249A - Generation method, using method, generation device and using device of rapid program - Google Patents
Generation method, using method, generation device and using device of rapid program Download PDFInfo
- Publication number
- CN103049249A CN103049249A CN2011103101532A CN201110310153A CN103049249A CN 103049249 A CN103049249 A CN 103049249A CN 2011103101532 A CN2011103101532 A CN 2011103101532A CN 201110310153 A CN201110310153 A CN 201110310153A CN 103049249 A CN103049249 A CN 103049249A
- Authority
- CN
- China
- Prior art keywords
- attribute information
- file
- file destination
- program
- quick program
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
The invention discloses a generation method of a rapid program. The generation method of the rapid program comprises obtaining attribute information of an object file; generating a code file which is used for displaying the object file according to the attribute information; compiling the code file dynamically and generating the rapid program. The invention discloses a using method of the rapid program as well. The using method of the rapid program comprises starting the rapid program and calling the classes and methods to display the object file according to the attribute information of the object file. The invention discloses a corresponding generation device and using device of the rapid program as well. The generation method, using method, generation device and using device of the rapid program has the advantages of being capable of opening the object file rapidly, enabling the object file to be in a storage state and solving the problem that the process of opening the object file is complicated.
Description
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of generation method, using method and generating apparatus, operative installations of quick program.
Background technology
At present, the shortcut in the computing machine is nothing to be surprised at, and the user can come quick start-up routine, open file or file by it.If there is not shortcut, user step by step opened file folder seeks file destination or destination application, and process is loaded down with trivial details.In addition, similar collection for the collection web page address can conveniently find the web page address of collection for the user, thereby opens fast target web.
But, the shortcut of using now is the just link of file destination or program generally, just simply open a file or application program, collection has also just been preserved the address (URL that opens fast a software interface or webpage, Universal Resource Locator), but the URL self-information is limited, the similar location page number and cursor position, the functional status that the user is operating, URL then can not provide these information.Along with improving constantly of user's request, all kinds of softwares are development also, and this shortcut has begun and can not satisfy user's needs.For example, the user is when using word processor or mail treatment software, and employed software has its instant application state, if employed software is closed, then these application states disappear.If when the user opens software again by shortcut next time, need to carry out the series operation, just can reach the state before closing, this a series of operation has brought inconvenience to the user.
Particularly in field of information management, how in a large amount of documents, to search out the target document fast, and the state when how to switch to rapidly the target document and preserving, be a very loaded down with trivial details process.To process Enterprise Resources Planning (ERP, Enterprise Resource Planning) the target document in the system is example, the user need to open the login interface of ERP system, then by typing log-on message login system, after entering system, because the business paper quantity in the database of ERP system is various, the user also need to seek in a large amount of documents needs target document to be processed, and during the processing target document, if the residing functional status of target document the when user need to open certain one action also needs to do further operation.Therefore, the whole process of opening the document operation seems very loaded down with trivial details.
Summary of the invention
The embodiment of the invention provides a kind of generation method, using method and generating apparatus, operative installations of quick program, is used for the fast problem of disposal system target data of solution.Specifically, the present invention solves target information location and the loaded down with trivial details problem of the residing feature state process of select target information of opening in file destination the process loaded down with trivial details problem, particularly file destination.
A kind of generation method of quick program comprises:
Obtain the attribute information of file destination;
Generate the code file that is used for according to attribute information display-object file;
The on-the-flier compiler code file is to generate quick program.
The attribute information that obtains file destination is specially:
Start file destination, preserve attribute information.
The attribute information that obtains file destination is specially:
Start file destination, contain the base class program of attribute information item by use, file destination is inherited the base class information of program;
Preserve attribute information.
Attribute information comprises at least:
The License Info of file destination title, target file type, file destination address, user's name, user right, use file destination and file destination status information.
Generate the code file that is used for according to attribute information display-object file and comprise class and the method for creating, create class and method and be specially:
Create object, and with the attribute information assignment in object;
Call explicit function, with according to attribute information display-object file.
A kind of using method of quick program comprises:
Start quick program;
Call class and method, with the attribute information display-object file according to file destination.
Call class and method comprises:
Allocating object is to obtain the attribute information of the file destination that comprises in the object;
Call explicit function, with according to attribute information display-object file.
A kind of generating apparatus of quick program comprises:
Acquiring unit is for the attribute information that obtains file destination;
The code generation unit is used for generating the code file according to attribute information display-object file;
The on-the-flier compiler unit is used for the compiled code file, generates quick program.
Acquiring unit comprises: the base class subelement, and be used for file destination and contain the base class program of attribute information item by use, inherit the base class information of program.
A kind of operative installations of quick program comprises:
Start unit is used for starting quick program;
Object unit is used for obtaining the attribute information of the file destination that object comprises;
Display unit is used for according to attribute information display-object file.
Also comprise: call unit is used for allocating object unit and display unit.
The invention has the advantages that: according to the attribute information of the file destination of preserving, can open rapidly file destination by quick program.Owing to contain the many information such as state that comprise user right, user ID, file destination in the attribute information, therefore, when opening, file destination is in the state when preserving, cursor position when preserving such as file, functional statuses when file is preserved etc. have also been save the process of artificial input system log-on message, avoid containing much information because of file destination, seek the problem of certain task states difficulty, make the user can open more efficiently the file destination deal with data.
Description of drawings
Fig. 1 is the generation method flow synoptic diagram of the quick program of the embodiment of the invention;
Fig. 2 is the using method process flow diagram of the quick program of the embodiment of the invention;
Fig. 3 is the schematic flow sheet of embodiment of the invention class and method;
Fig. 4 is the generating apparatus structural representation of the quick program of the embodiment of the invention;
Fig. 5 is the operative installations structural representation of the quick program of the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of generation method of quick program, and using method and generating apparatus below are elaborated respectively.
The flow process of the generation method of a kind of quick program of the embodiment of the invention can with reference to figure 1, comprise step:
101, obtain the attribute information of file destination.
File destination can be document, the Word document in the ERP system, and Email, webpage can also be files of other application programs etc.
Attribute information comprises License Info, the file destination status information of file destination title, target file type, file destination address, user's name, user right, use file destination.Need to prove that the attribute information item can replenish as required.
102, generate the code file that is used for according to attribute information display-object file.
Code file can be the code file of visual programming (VB, Visual Basic) language, also can be the code file of C# language, can also be the code file of other programming type language perhaps, specifically is not construed as limiting herein.Code file can be generated by application program, and in the code file generative process, the attribute information assignment of obtaining is opened the needed condition of file destination in code file thereby code file has been contained.
103, on-the-flier compiler code file is to generate quick program.
The code file of the above-mentioned generation of on-the-flier compiler generates executable file, and this executable file is the quick program that will generate.
The quick program of using the inventive method to generate can according to the attribute information of the file destination that obtains, be opened rapidly file destination.Owing to contain the many information such as state that comprise user right, user ID, file destination in the attribute information, therefore, when opening, file destination is in the state when preserving, cursor position when preserving such as file, functional statuses when file is preserved etc., the user has also save the processes such as input system log-on message.
Below be the specific descriptions to document attribute information item in the ERP system.
FName: quick program name, such as the sales order of ERP system, webpage.
CreateTime: quick program production time;
Description: quick program description information;
FAppType: Application Type, such as ERP system list or application software Word, OutLook etc.;
UserID: the user's name of using document or application software;
RoleID: user's role identification number (ID, Identity Number);
Conn: application database connection string;
ObjectID: the object ID of opening, such as the concrete document sales order of ERP system ID;
LicenseInfo: the document of use or application program License Info;
Status: such as the states such as newly-increased, modification of document, the webpage that application software is browsed, the page number that navigates to, the status informations such as position at cursor place.
Below the mode of the attribute information that obtains file destination is described.
The mode of obtaining the attribute information of file destination is specially: start file destination, preserve the attribute information of file destination.That a document in the ERP system describes as example take file destination.The user is after entering ERP system, opening a document processes, the document of this moment is under the functional status of modification, when needs withdraw from the processing of this document, preserve the attribute information of this document, this attribute information has comprised residing functional status information when this document withdraws from, the functional status of namely revising.In like manner, the what's new status information of document etc. all can be used as the attribute information of document and preserves, and repeats no more here.
Because the application program of generic-document does not comprise operation interfaces such as hold function state, License Info, once preserve above-mentioned attribute information for more convenient by operation interface, the mode of obtaining the attribute information of file destination can also be the base class program that contains the attribute information item by use, file destination is inherited the base class information of this program, preserves the attribute information of file destination again.The attribute information item that base class comprises in the base class program is each affiliated project of attribute information of file destination.
Below above-mentioned generation is used for describing according to the implementation of the code file of attribute information display-object file.
Generate to be used for comprising according to the code file of attribute information display-object file: create class and method, create class and method and comprise again: create object, and with the attribute information assignment obtained in this object; The explicit function of allocating object.The explicit function of allocating object is for showing the file destination corresponding with the object attribute information.
Below introduce the using method of a kind of quick program of the present invention, comprising:
201, start quick program.
The user can start quick program by clicking or double-click the modes such as quick program.
202, call class and method, with the attribute information display-object file according to file destination.
Behind the quick program start, by entrance function, call class and method.
Call class and method comprises again:
301, allocating object is to obtain the attribute information of the file destination that comprises in the object.
The attribute information item that the object that calls contains possesses the attribute information of file destination.
302, call explicit function, with according to attribute information display-object file.
Explicit function is once opened file destination according to attribute information, has save many operation stepss.
With the quick program of using a document as example.The user double-clicks and starts quick program, and by entrance function, the class in the calling program and method, as call the Openlink method comprise and call the object that contains the documentary attribute information and the explicit function of allocating object.The explicit function of allocating object shows document according to the attribute information of assignment in the object.The address that comprises document in the attribute information, user's title or ID, user right, the file type of document, the ID of document, License Info also comprises the status information of document, such as the states such as position at newly-increased, modification, cursor place.In other words, attribute information has comprised opens document, and makes document be in the condition of certain functional status.Therefore, start-up routine is once opened document, and the duty when document being in preserve, and has avoided the user to carry out loaded down with trivial details operation.
Below the generating apparatus of above-mentioned quick program is described, its basic structure can with reference to figure 4, comprise:
Acquiring unit 401 is for the attribute information that obtains file destination.
On-the-flier compiler unit 403 is used for the compiled code file, generates quick program.
Acquiring unit 401 obtains the attribute information of file destination, and code generation unit 402 generating code files are in the code file generative process, this attribute information assignment is in code file, final this code file generates execute file by 403 compilings of on-the-flier compiler unit, and execute file is quick program.
Think that the quick program of a document preservation in the ERP system is example, the user interface of document provides the menu of preserving the document attribute information for the user, the user is by after clicking preservation menu preservation document attribute information, the code generation unit is the generating code file immediately, the attribute information assignment is in the object of code file simultaneously, by on-the-flier compiler unit compiled code file, generate execute file again, namely generate the quick program of this document.
Because the application program of generic-document does not comprise operation interfaces such as hold function state, License Info, preservation for convenient variant document, acquiring unit also comprises: the base class subelement, be used for file destination and contain the base class program of attribute information item by use, inherit the base class information of described program.This base class information comprises the attribute information item that will preserve.File destination is inherited after the base class, just can once preserve file attribute information.
Below the operative installations of the quick program of the present invention is introduced.
The operative installations of the quick program of the present invention comprises:
After start unit 501 started, the attribute information of the file destination that object unit 502 contains was just read by display unit 503, and display unit 503 is namely opened file destination according to the attribute information display-object file that reads.
The operative installations of this quick program also comprises: call unit is used for allocating object unit 502 and display unit 503.Namely after start unit 501 started, call unit is allocating object unit 502 and display unit 503 immediately.
It is pointed out that for same file destination each user can obtain the quick program of its required attribute information and generating object file.For example, for same target document, each user can obtain required separately attribute information and generate separately required quick program, and by quick program separately, each user can fast open and meet the document with specific function state that requires separately.In addition, the file destination of the indication among the present invention can be a document, also can be for the set of several documents, can also be a module or system.
More than generation method, using method and generating apparatus, the operative installations of a kind of quick program that the embodiment of the invention is provided be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method and apparatus of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (11)
1. the generation method of a quick program is characterized in that, comprising:
Obtain the attribute information of file destination;
Generate the code file that is used for according to described attribute information display-object file;
The described code file of on-the-flier compiler is to generate quick program.
2. the generation method of quick program according to claim 1 is characterized in that, the described attribute information that obtains file destination is specially:
Start file destination, preserve described attribute information.
3. the generation method of quick program according to claim 1 is characterized in that, the described attribute information that obtains file destination is specially:
Start file destination, contain the base class program of attribute information item by use, file destination is inherited the base class information of described program;
Preserve described attribute information.
4. the generation method of quick program according to claim 1 is characterized in that, described attribute information comprises at least:
The License Info of file destination title, target file type, file destination address, user's name, user right, use file destination and file destination status information.
5. the generation method of quick program according to claim 1 is characterized in that, described generation is used for comprising establishment class and method according to the code file of attribute information display-object file that described establishment class and method are specially:
Create object, and with described attribute information assignment in described object;
Call explicit function, with according to described attribute information display-object file.
6. the using method of a quick program is characterized in that, comprising:
Start quick program;
Call class and method, with the attribute information display-object file according to file destination.
7. the using method of quick program according to claim 6 is characterized in that, describedly calls class and method comprises:
Allocating object is to obtain the attribute information of the file destination that comprises in the described object;
Call explicit function, to show described file destination according to described attribute information.
8. the generating apparatus of a quick program is characterized in that: comprising:
Acquiring unit is for the attribute information that obtains file destination;
The code generation unit is used for generating the code file according to described attribute information display-object file;
The on-the-flier compiler unit is used for compiling described code file, generates quick program.
9. the generating apparatus of quick program according to claim 8 is characterized in that, described acquiring unit comprises: the base class subelement, and be used for file destination and contain the base class program of attribute information item by use, inherit the base class information of described program.
10. the operative installations of a quick program is characterized in that: comprising:
Start unit is used for starting quick program;
Object unit is used for obtaining the attribute information of the file destination that object comprises;
Display unit is used for showing described file destination according to described attribute information.
11. the operative installations of quick program according to claim 10 is characterized in that: also comprise: call unit is used for calling described object unit and described display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110310153.2A CN103049249B (en) | 2011-10-13 | 2011-10-13 | Generation method, using method, generation device and using device of rapid program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110310153.2A CN103049249B (en) | 2011-10-13 | 2011-10-13 | Generation method, using method, generation device and using device of rapid program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103049249A true CN103049249A (en) | 2013-04-17 |
CN103049249B CN103049249B (en) | 2017-02-08 |
Family
ID=48061902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110310153.2A Active CN103049249B (en) | 2011-10-13 | 2011-10-13 | Generation method, using method, generation device and using device of rapid program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103049249B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648640A (en) * | 2016-12-09 | 2017-05-10 | 武汉斗鱼网络科技有限公司 | Method and device for simplifying codes |
WO2019062270A1 (en) * | 2017-09-30 | 2019-04-04 | 北京京东尚科信息技术有限公司 | Method and device for fast order processing |
CN109669748A (en) * | 2018-11-30 | 2019-04-23 | 维沃移动通信有限公司 | A kind of display interface processing method and mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1786942A (en) * | 2005-12-02 | 2006-06-14 | 无锡永中科技有限公司 | Saving method for file editing environment and return method thereof |
CN1960371A (en) * | 2006-08-25 | 2007-05-09 | 华为技术有限公司 | Method and system for accessing file of Wcb application program |
CN101071384A (en) * | 2007-03-30 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Method and system for starting network game |
US20090307242A1 (en) * | 2008-06-06 | 2009-12-10 | Canon Kabushiki Kaisha | Document managing system, document managing method, and computer program |
CN102214116A (en) * | 2010-04-01 | 2011-10-12 | 腾讯科技(深圳)有限公司 | Method and equipment for realizing direct login in network application |
-
2011
- 2011-10-13 CN CN201110310153.2A patent/CN103049249B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1786942A (en) * | 2005-12-02 | 2006-06-14 | 无锡永中科技有限公司 | Saving method for file editing environment and return method thereof |
CN1960371A (en) * | 2006-08-25 | 2007-05-09 | 华为技术有限公司 | Method and system for accessing file of Wcb application program |
CN101071384A (en) * | 2007-03-30 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Method and system for starting network game |
US20090307242A1 (en) * | 2008-06-06 | 2009-12-10 | Canon Kabushiki Kaisha | Document managing system, document managing method, and computer program |
CN102214116A (en) * | 2010-04-01 | 2011-10-12 | 腾讯科技(深圳)有限公司 | Method and equipment for realizing direct login in network application |
Non-Patent Citations (1)
Title |
---|
陆岛工作室: ""用代码实现为程序创建快捷方式的二种方法"", 《HTTP://WWW.CNBLOGS.COM/IINSNIAN/ARCHIVE/2008/06/17/1224132.HTML》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648640A (en) * | 2016-12-09 | 2017-05-10 | 武汉斗鱼网络科技有限公司 | Method and device for simplifying codes |
WO2019062270A1 (en) * | 2017-09-30 | 2019-04-04 | 北京京东尚科信息技术有限公司 | Method and device for fast order processing |
CN109669748A (en) * | 2018-11-30 | 2019-04-23 | 维沃移动通信有限公司 | A kind of display interface processing method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103049249B (en) | 2017-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5911594B2 (en) | Providing translation support for application localization | |
US20110154226A1 (en) | Chip model of an extensible plug-in architecture for enterprise mashups | |
CN109508191A (en) | A kind of code generating method and system | |
US20120047483A1 (en) | Smart Web Service Discovery | |
US20210141645A1 (en) | Just-in-Time Containers | |
CN106202100B (en) | Page loading method and device | |
US9491266B2 (en) | Representational state transfer communications via remote function calls | |
Paternò et al. | Engineering the authoring of usable service front ends | |
CN110442826B (en) | Cross-layer page jumping method, device and system based on page identification | |
Ernsting et al. | Refining a reference architecture for model-driven business apps | |
CN108845864B (en) | Spring frame-based JVM garbage recycling method and device | |
CN103049249A (en) | Generation method, using method, generation device and using device of rapid program | |
Krosnick et al. | Promises and Pitfalls of Using LLMs for Scraping Web UIs | |
Cimino et al. | An efficient model-based methodology for developing device-independent mobile applications | |
US10678561B2 (en) | Virtualizing extension code in an application | |
Chaisatien et al. | Mobile mashup generator system for cooperative applications of different mobile devices | |
Soylu et al. | Mashups and widget orchestration | |
Sneed | Mapping Possibilities of S-BPM and BPMN 2.0: Implementing a BPM Interface | |
Kannengiesser et al. | Modelling the process of process execution: A process model-driven approach to customising user interfaces for business process support systems | |
Nguyen et al. | Knowledge-aware Recommender System for Software Development. | |
Ehmueller et al. | Polyglot code finder | |
US11588768B2 (en) | Intelligent management of hero cards that display contextual information and actions for backend systems | |
US8914738B2 (en) | Community-based web service user interface annotations | |
US20220231976A1 (en) | Intelligent management of hero cards that display contextual information and actions for backend systems | |
Cheng | Supporting organizational goals with mobile apps |
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 |