CN102521323A - Method and system for processing application program file - Google Patents
Method and system for processing application program file Download PDFInfo
- Publication number
- CN102521323A CN102521323A CN2011103967925A CN201110396792A CN102521323A CN 102521323 A CN102521323 A CN 102521323A CN 2011103967925 A CN2011103967925 A CN 2011103967925A CN 201110396792 A CN201110396792 A CN 201110396792A CN 102521323 A CN102521323 A CN 102521323A
- Authority
- CN
- China
- Prior art keywords
- application file
- deployment information
- deployment
- file
- application
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000003993 interaction Effects 0.000 claims abstract description 16
- 238000013507 mapping Methods 0.000 claims description 5
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000012467 final product Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method and a system for processing an application program file. The method can include: analyzing the application program file to obtain deployment information of the application program file; receiving the deployment information set on a human-computer interface after displaying the human-computer interface containing the deployment information; and deploying the application program file according to the set deployment information. The method and the system disclosed by an embodiment of the invention can simplify writing complexity of the deployment information, a user does not need to master the grammar of deployment files of various application servers, and therefore additional work load is greatly reduced. In addition, the user can arrange deployment attributes according to self will in the man-machine interaction interface, and therefore the deployment information is led to be capable of being modified during deployment.
Description
Technical field
The present invention relates to software field, in particular, relate to a kind of application file disposal route and system.
Background technology
The method of application server deployment application file of the prior art; At first write configuration file according to the grammer of said application server regulation by the user; Again by the said configuration file of said application server parses; And obtain the deployment attribute in the said configuration file, according to said deployment attribute said application file is disposed at last.
Said configuration file is write before said application server is disposed; Because the grammer kind of each application server maybe be different; If the user is by a plurality of application servers, the user needs to be grasped and learns multiple configuration file syntax so, has increased additional workload greatly; And at said application server in deployment, can't make amendment to the deployment attribute in the said configuration file.
Summary of the invention
In view of this, the invention provides a kind of application file disposal route and system, to overcome in the prior art since problem.
For realizing above-mentioned purpose, the present invention provides following technical scheme:
A kind of application file dispositions method comprises: resolve said application file, obtain the deployment information of said application file; Comprise the man-machine interface of said deployment information parameter in demonstration after, receive the said deployment information that is provided with on the said man-machine interface; Said deployment information according to after being provided with is disposed said application file.
Wherein, Said application file is the application file of bibliographic structure; The said application file of said parsing, the deployment information concrete steps that obtain said application file are: said application file serializing is mapped as analysable application file; From said analysable application file, obtain deployment information.
Wherein, said application file is non-bibliographic structure, and step is resolved said application file, and the deployment information that obtains said application file is specially: said application file is uploaded be temporary file; Obtain deployment information the temporary file from said uploading.
Preferably, the deployment information parameter in the said human-computer interaction interface is provided with default value.
Preferably, the deployment information parameter in the said human-computer interaction interface is provided with option.
A kind of application file deployment system comprises: parsing module, be used to resolve said application file, and obtain the deployment information of said application file; Receiver module is used for after demonstration comprises the man-machine interface of said deployment information parameter, receives the said deployment information that is provided with on the said man-machine interface; Deployment module is used for according to the said deployment information after being provided with said application file being disposed.
Wherein, said application file is the application file of bibliographic structure, and said parsing module specifically comprises: mapping submodule is used for said application file serializing is mapped as analysable application file; First obtains submodule, is used for obtaining deployment information from said analysable application file.
Wherein, said application file is non-bibliographic structure, and said parsing module specifically comprises: upload submodule, be used for said application file uploaded and be temporary file; Second obtains submodule, is used for obtaining deployment information from the said temporary file of uploading.
Wherein, said receiver module can also comprise: the default value submodule is used for storing the default value of the deployment information parameter of said human-computer interaction interface.
Preferably, said receiver module also comprises: the option submodule is used for storing the option value of the deployment information parameter of said human-computer interaction interface.
Can know via above-mentioned technical scheme; Adopt the embodiment of the invention; Resolve said application file when at first said application server is disposed said application file, and show the interpersonal interactive interface that comprises said application file deployment information parameter, simplified the loaded down with trivial details property that deployment information is write like this; The user adopts the grammer of the configuration file that does not need to be grasped various application servers, has significantly reduced additional workload.And the user can arrange disposing attribute according to the wish of oneself in said human-computer interaction interface, makes deployment information when disposing, also can revise, and at the deployment information that is provided with according to the user said application file disposed at last.
Description of drawings
For quote and know for the purpose of, the explanation of the technical term that hereinafter uses, write a Chinese character in simplified form or abridge and sum up as follows:
XML:Extensible Markup Language, extend markup language.
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is embodiments of the invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to the accompanying drawing that provides.
Fig. 1 is the process flow diagram of the disclosed a kind of application file dispositions method of the embodiment of the invention;
Fig. 2 is the structural representation of the disclosed a kind of application file deployment system of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one
See also accompanying drawing 1, for the embodiment of the invention discloses a kind of process flow diagram of application file dispositions method, this method can comprise:
Step S101: resolve said application file, obtain the deployment information of said application file;
Resolve said application file and made full use of the deployment mechanism for resolving of application server, said deployment mechanism for resolving is meant that application server resolves the function of application file attribute when disposing certain application file.
Concrete; Said application file is the application file of bibliographic structure; The said application file of said parsing, the deployment information concrete steps that obtain said application file are: said application file serializing is mapped as analysable application file; From said analysable application file, obtain deployment information.
Serializing in the said serializing mapping is appreciated that to having set up incidence relation between application file and the application server, makes application server be familiar with said application file.If the mode of said application file with the serializing mapping is mapped in the said application server; So just need not more said application file be uploaded to said application server has suffered; The phenomenon of makeing mistakes for the bigger application upload procedure that surpasses 1G can not take place again in the consumption of internal memory that has been less like this.
Concrete, said application file is non-bibliographic structure, and step is resolved said application file, and the deployment information that obtains said application file is specially: obtain said application file and upload temporary file; Obtain deployment information the temporary file from said uploading.
Said interim upload file is meant said application file is uploaded to certain position in the said application server, interim storage.The benefit of this mode is to play the effect of a transition, especially for bigger application file.
Step S102: comprise the man-machine interface of said deployment information parameter in demonstration after, receive the said deployment information that is provided with on the said man-machine interface;
The application project file is carried out pretreated process is: when disposing application program; Not directly to resolve configuration file; Show said human-computer interaction interface, the user does such as " filling in property value " according to the needs of oneself, this interactive operation that can see of " selection property value ".The problem that the application project fileinfo is difficult to obtain when having solved application deployment.Concrete, the deployment information parameter in the said human-computer interaction interface is provided with default value.Concrete, the deployment information parameter in the said human-computer interaction interface is provided with option.
The user need not before deployment, to write configuration file, and just the user need not directly face the problem that needs extra configuration file when code and XML configuration file have solved application deployment again.And in the deployment of application file, the user can revise deployment information flexibly.
Step S103: the said deployment information according to after being provided with is disposed said application program.
In the embodiment of the invention; Resolve said application file when adopting said application server that said application file is disposed; And demonstration comprises the interpersonal interactive interface of said application file deployment information parameter; Simplified the loaded down with trivial details property that deployment information is write like this, the user adopts the grammer of the configuration file that does not need to be grasped various application servers, has significantly reduced additional workload.And the user can arrange disposing attribute according to the wish of oneself in said human-computer interaction interface, makes deployment information when disposing, also can revise.
Describe method in detail among the disclosed embodiment of the invention described above, can adopt the device of various ways to realize, therefore the invention also discloses a kind of system, provide concrete embodiment below and be elaborated for method of the present invention.
Embodiment two
See also Fig. 2, be the structural representation of the disclosed a kind of application file deployment system of the embodiment of the invention, said system can comprise: parsing module 201, receiver module 202 and deployment module 203, wherein:
Said parsing module 201 is used to resolve said application file, obtains the deployment information of said application file;
Concrete, said application file is the application file of bibliographic structure, said parsing module 201 specifically comprises: mapping submodule is used for said application file serializing is mapped as analysable application file; First obtains submodule, is used for obtaining deployment information from said analysable application file.
Concrete, said application file is non-bibliographic structure, and said parsing module 201 specifically comprises: upload submodule, be used for said application file uploaded and be temporary file; Second obtains submodule, is used for obtaining deployment information from the said temporary file of uploading.
Said receiver module 202 is used for after demonstration comprises the man-machine interface of said deployment information parameter, receives the said deployment information that is provided with on the said man-machine interface;
Concrete, said receiver module can also comprise: the default value submodule is used for storing the default value of the deployment information parameter of said human-computer interaction interface.
Concrete, said receiver module also comprises: the option submodule is used for storing the option value of the deployment information parameter of said human-computer interaction interface.
Said deployment module 203 is used for according to the said deployment information after being provided with said application file being disposed.
In the embodiment of the invention; At first calling 201 pairs of said application files of said parsing module resolves; And demonstration comprises the interpersonal interactive interface of said application file deployment information parameter; Simplified the loaded down with trivial details property that deployment information is write like this, the user adopts the grammer of the configuration file that does not need to be grasped various application servers, has significantly reduced additional workload.Calling said receiver module 202 reception users at the set deployment information of wish then according to oneself; Make deployment information when disposing, also can revise, dispose according to user's the deployment information parameter that is provided with calling 203 pairs of said application files of said deployment module at last.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part is partly explained referring to method and is got final product.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can be directly with the software modules of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments among this paper.Therefore, the present invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.
Claims (10)
1. an application file dispositions method is characterized in that, comprising:
Resolve said application file, obtain the deployment information of said application file;
Comprise the man-machine interface of said deployment information parameter in demonstration after, receive the said deployment information that is provided with on the said man-machine interface;
Said deployment information according to after being provided with is disposed said application file.
2. according to the said method of claim 1, it is characterized in that said application file is the application file of bibliographic structure, the said application file of said parsing, the deployment information concrete steps that obtain said application file are:
Said application file serializing is mapped as analysable application file;
From said analysable application file, obtain deployment information.
3. according to the said method of claim 1, it is characterized in that said application file is non-bibliographic structure, step is resolved said application file, and the deployment information that obtains said application file is specially:
Said application file uploaded be temporary file;
Obtain deployment information the temporary file from said uploading.
4. according to the said method of claim 1, it is characterized in that the deployment information parameter in the said human-computer interaction interface is provided with default value.
5. according to the said method of claim 1, it is characterized in that the deployment information parameter in the said human-computer interaction interface is provided with option.
6. an application file deployment system is characterized in that, comprising:
Parsing module is used to resolve said application file, obtains the deployment information of said application file;
Receiver module is used for after demonstration comprises the man-machine interface of said deployment information parameter, receives the said deployment information that is provided with on the said man-machine interface;
Deployment module is used for according to the said deployment information after being provided with said application file being disposed.
7. according to the said system of claim 6, it is characterized in that said application file is the application file of bibliographic structure, said parsing module specifically comprises:
Mapping submodule is used for said application file serializing is mapped as analysable application file;
First obtains submodule, is used for obtaining deployment information from said analysable application file.
8. according to the said system of claim 6, it is characterized in that said application file is non-bibliographic structure, said parsing module specifically comprises:
Upload submodule, be used for said application file uploaded and be temporary file;
Second obtains submodule, is used for obtaining deployment information from the said temporary file of uploading.
9. according to the said system of claim 6, it is characterized in that said receiver module can also comprise: the default value submodule is used for storing the default value of the deployment information parameter of said human-computer interaction interface.
10. according to the said system of claim 6, it is characterized in that said receiver module also comprises: the option submodule is used for storing the option value of the deployment information parameter of said human-computer interaction interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011103967925A CN102521323A (en) | 2011-12-02 | 2011-12-02 | Method and system for processing application program file |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011103967925A CN102521323A (en) | 2011-12-02 | 2011-12-02 | Method and system for processing application program file |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102521323A true CN102521323A (en) | 2012-06-27 |
Family
ID=46292240
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2011103967925A Pending CN102521323A (en) | 2011-12-02 | 2011-12-02 | Method and system for processing application program file |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102521323A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102789495A (en) * | 2012-07-13 | 2012-11-21 | 航天恒星科技有限公司 | A general file automatic parsing and processing system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080289012A1 (en) * | 2006-10-10 | 2008-11-20 | Huawei Technologies Co., Ltd. | System and method for creating, executing, and mapping service |
| CN101808106A (en) * | 2009-02-12 | 2010-08-18 | 华为技术有限公司 | Request processing method, module and application server |
| CN101853156A (en) * | 2010-05-12 | 2010-10-06 | 上海普元信息技术股份有限公司 | Method of Realizing Web Service Call in Component Software System |
| CN102200907A (en) * | 2010-03-24 | 2011-09-28 | 深圳市金蝶中间件有限公司 | Method and device for individually configuring portal application program |
-
2011
- 2011-12-02 CN CN2011103967925A patent/CN102521323A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080289012A1 (en) * | 2006-10-10 | 2008-11-20 | Huawei Technologies Co., Ltd. | System and method for creating, executing, and mapping service |
| CN101808106A (en) * | 2009-02-12 | 2010-08-18 | 华为技术有限公司 | Request processing method, module and application server |
| CN102200907A (en) * | 2010-03-24 | 2011-09-28 | 深圳市金蝶中间件有限公司 | Method and device for individually configuring portal application program |
| CN101853156A (en) * | 2010-05-12 | 2010-10-06 | 上海普元信息技术股份有限公司 | Method of Realizing Web Service Call in Component Software System |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102789495A (en) * | 2012-07-13 | 2012-11-21 | 航天恒星科技有限公司 | A general file automatic parsing and processing system |
| CN102789495B (en) * | 2012-07-13 | 2015-05-27 | 航天恒星科技有限公司 | Universal file automation analytical processing system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11687324B2 (en) | Property management method and property management system and machine using the same | |
| US8954869B2 (en) | Generating a front end graphical user interface for a plurality of text based commands | |
| KR20150043333A (en) | User interface control framework for stamping out controls using a declarative template | |
| CN104267968A (en) | Interface switching method and device | |
| CN102737128A (en) | Dynamic webpage processing method and device based on browser | |
| CN109656617A (en) | A kind of front end Web Service dispositions method, storage medium, electronic equipment and system | |
| CN108399072A (en) | Five application page update method and device | |
| US20140019849A1 (en) | Extensible Content Focus Mode | |
| US20160274874A1 (en) | Method and apparatus for processing request | |
| US20160188136A1 (en) | System and Method that Internally Converts PowerPoint Non-Editable and Motionless Presentation Mode Slides Into Editable and Mobile Presentation Mode Slides (iSlides) | |
| WO2024138357A1 (en) | Application development platform, method, device, and storage medium | |
| US20130138418A1 (en) | Modeling of Cross System Scenarios | |
| CN103176802A (en) | Method of achieving separation of user interface UI of system and control library through control pool | |
| Miller | Internet technologies and information services | |
| CN114327464A (en) | Component construction method and device and storage medium | |
| CN103544036A (en) | Page loading method, terminal and system | |
| US9910834B2 (en) | Converting terminal-based legacy applications to web-based applications | |
| CN106201461A (en) | Generation method, system and the background server at a kind of interface | |
| CN104063219B (en) | The form development approach and system of a kind of WEB systems | |
| CN102521323A (en) | Method and system for processing application program file | |
| CN103914223A (en) | Terminal application interface generation method and device | |
| CN101685395A (en) | Object property processing method of product data management system | |
| CN109522507B (en) | Method for uniformly managing webpage components | |
| US7716653B2 (en) | Configurable importers and resource writers for converting data into another format | |
| Blumendorf et al. | Dynamic user interface distribution for flexible multimodal interaction |
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: 20120627 |