CN109669683A - A kind of method of functional unit automatic packaging - Google Patents
A kind of method of functional unit automatic packaging Download PDFInfo
- Publication number
- CN109669683A CN109669683A CN201811586803.4A CN201811586803A CN109669683A CN 109669683 A CN109669683 A CN 109669683A CN 201811586803 A CN201811586803 A CN 201811586803A CN 109669683 A CN109669683 A CN 109669683A
- Authority
- CN
- China
- Prior art keywords
- file
- function
- automatic packaging
- functional unit
- entrance
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The present invention relates to a kind of methods of functional unit automatic packaging, and the relation information of entrance is realized first, in accordance with configuration file configuration feature component and function;Then the function realizes that the code of entrance energy following function realizes logic, obtains the relevant the file information of the function;Then file destination is grabbed according to the file information of acquisition;Button is finally clicked, Trigger Function realizes that entrance by related functional components file automatic packaging, generates the deployment package for meeting catalogue specification, realizes and quickly deliver.The present invention is being done after function is newly-increased or function adjustment for a set of product systems, can update packet at the deployment for meeting specification catalogue by one key automatic packaging function of interface button, realize that each project scene is quickly delivered and deployment.
Description
Technical field
The present invention relates to field of computer technology, especially a kind of method of functional unit automatic packaging.
Background technique
In the environment of current informationization, interconnection networking, IT company may get the bid and undertake the construction of the information-based system in multiple areas
System.Each area needs individually to dispose set of system, and when product functional change, the system in each area is then needed
Upgraded accordingly.Then need which file developer's comparison function relates to this when, artificial compare sorts out
It is wrapped to update, the operation maintenance personnel for consigning to each regional project scene updates.Every subfunction adjustment requires investment manpower work behaviour
Make, increase error probability and time cost, also increases the probability of regional project scene error.
Summary of the invention
In view of this, being greatly reduced artificial the purpose of the present invention is to propose to a kind of method of functional unit automatic packaging
It is packaged and artificial regeneration is deployed to live probability, preferably ensure information safety.
The present invention is realized using following scheme: a kind of method of functional unit automatic packaging, comprising the following steps:
Step S1: the relation information of entrance is realized according to configuration file configuration feature component and function;
Step S2: the function realizes that the code of entrance energy following function realizes logic, obtains the relevant the file information of the function;
Wherein, the relevant the file information of the described function includes filename, file path, file size etc.;
Step S3: file destination is grabbed according to the file information that step S2 is obtained;
Step S4: clicking button, and Trigger Function realizes entrance for related functional components file automatic packaging, and generation meets catalogue rule
The deployment package of model is realized and is quickly delivered.
Further, step S1 further include: the page path that configuration feature jumps.
Further, in step S2, in the file information crawl, file inquires crawl according to tree construction step by step.
Further, in step S3, the file destination includes but is not limited to picture, pattern, code, configuration;Wherein, it pushes up
Grade folder name default item name, picture file storage folder are images, and pattern file storage folder is css, code
And configuration file is stored according to identical source code path.
Further, in step S4, when file wraps greatly automatically, zip format compression packet is broken into.
Compared with prior art, the invention has the following beneficial effects: the present invention has done function in a set of product systems and has increased newly
Or after function adjustment, packet can be updated at the deployment for meeting specification catalogue by one key automatic packaging function of interface button,
Realize that each project scene is quickly delivered and disposed.
Detailed description of the invention
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings and embodiments.
It is noted that described further below be all exemplary, it is intended to provide further instruction to the application.Unless another
It indicates, all technical and scientific terms used herein has usual with the application person of an ordinary skill in the technical field
The identical meanings of understanding.
It should be noted that term used herein above is merely to describe specific embodiment, and be not intended to restricted root
According to the illustrative embodiments of the application.As used herein, unless the context clearly indicates otherwise, otherwise singular
Also it is intended to include plural form, additionally, it should be understood that, when in the present specification using term "comprising" and/or " packet
Include " when, indicate existing characteristics, step, operation, device, component and/or their combination.
As shown in Figure 1, a kind of method for present embodiments providing functional unit automatic packaging, comprising the following steps:
Step S1: the relation information of entrance is realized according to configuration file configuration feature component and function;
Step S2: the function realizes that the code of entrance energy following function realizes logic, obtains the relevant the file information of the function;
Wherein, the relevant the file information of the described function includes filename, file path, file size etc.;
Step S3: file destination is grabbed according to the file information that step S2 is obtained;
Step S4: clicking button, and Trigger Function realizes entrance for related functional components file automatic packaging, and generation meets catalogue rule
The deployment package of model is realized and is quickly delivered.
In the present embodiment, step S1 further include: the page path that configuration feature jumps while configuration file.
In the present embodiment, in step S2, in the file information crawl, file inquires crawl according to tree construction step by step.
In the present embodiment, in step S3, the file destination includes but is not limited to picture, pattern, code, configuration;Its
In, top folder name default item name, picture file storage folder is images, and pattern file storage folder is css,
Code and configuration file are stored according to identical source code path.
In the present embodiment, in step S4, when file wraps greatly automatically, zip format compression packet is broken into.
In the present embodiment, selection needs to update the function of arriving project scene, and clicking button just can be automatically by the function phase
The automatic packaging of pass, the operation maintenance personnel for quickly consigning to project scene update deployment.In the present embodiment, it is only needed in operation maintenance personnel
Deployment package, which is put into destination path decompression, just can update functional unit, greatly reduce hand press-packing and artificial regeneration is deployed to
The probability at scene, preferably ensures information safety.
The foregoing is merely presently preferred embodiments of the present invention, all equivalent changes done according to scope of the present invention patent with
Modification, is all covered by the present invention.
Claims (5)
1. a kind of method of functional unit automatic packaging, it is characterised in that: the following steps are included:
Step S1: the relation information of entrance is realized according to configuration file configuration feature component and function;
Step S2: the function realizes that the code of entrance energy following function realizes logic, obtains the relevant the file information of the function;
Step S3: file destination is grabbed according to the file information that step S2 is obtained;
Step S4: clicking button, and Trigger Function realizes entrance for related functional components file automatic packaging, and generation meets catalogue rule
The deployment package of model is realized and is quickly delivered.
2. a kind of method of functional unit automatic packaging according to claim 1, it is characterised in that: step S1 further include:
The page path that configuration feature jumps.
3. a kind of method of functional unit automatic packaging according to claim 1, it is characterised in that: in step S2, in text
When part information scratching, file inquires crawl according to tree construction step by step.
4. a kind of method of functional unit automatic packaging according to claim 1, it is characterised in that: described in step S3
File destination includes but is not limited to picture, pattern, code, configuration;Wherein, top folder name default item name, picture file
Storage folder is images, and pattern file storage folder is that css, code and configuration file are deposited according to identical source code path
It puts.
5. a kind of method of functional unit automatic packaging according to claim 1, it is characterised in that: in step S4, file
When automatic big packet, zip format compression packet is broken into.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811586803.4A CN109669683A (en) | 2018-12-25 | 2018-12-25 | A kind of method of functional unit automatic packaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811586803.4A CN109669683A (en) | 2018-12-25 | 2018-12-25 | A kind of method of functional unit automatic packaging |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109669683A true CN109669683A (en) | 2019-04-23 |
Family
ID=66146065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811586803.4A Pending CN109669683A (en) | 2018-12-25 | 2018-12-25 | A kind of method of functional unit automatic packaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109669683A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984558A (en) * | 2014-05-30 | 2014-08-13 | 深圳市中兴移动通信有限公司 | Automatic construction device and method for Web item |
CN104063239A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Application program update method of mobile terminal, server and client |
US20150234653A1 (en) * | 2010-12-23 | 2015-08-20 | Microsoft Technology Licensing, Llc | Resource deployment based on conditions |
CN106155651A (en) * | 2015-03-31 | 2016-11-23 | 广州四三九九信息科技有限公司 | The method and system that the automation of application version is issued and updated |
CN107203401A (en) * | 2016-03-17 | 2017-09-26 | 阿里巴巴集团控股有限公司 | A kind of front end project build method, apparatus and system |
CN107817978A (en) * | 2017-09-28 | 2018-03-20 | 聚好看科技股份有限公司 | The generation method and device of a kind of executable file |
CN109032659A (en) * | 2018-07-20 | 2018-12-18 | 珠海宏桥高科技有限公司 | Single-page applies the method based on configuration reference remote pages component |
-
2018
- 2018-12-25 CN CN201811586803.4A patent/CN109669683A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150234653A1 (en) * | 2010-12-23 | 2015-08-20 | Microsoft Technology Licensing, Llc | Resource deployment based on conditions |
CN104063239A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Application program update method of mobile terminal, server and client |
CN103984558A (en) * | 2014-05-30 | 2014-08-13 | 深圳市中兴移动通信有限公司 | Automatic construction device and method for Web item |
CN106155651A (en) * | 2015-03-31 | 2016-11-23 | 广州四三九九信息科技有限公司 | The method and system that the automation of application version is issued and updated |
CN107203401A (en) * | 2016-03-17 | 2017-09-26 | 阿里巴巴集团控股有限公司 | A kind of front end project build method, apparatus and system |
CN107817978A (en) * | 2017-09-28 | 2018-03-20 | 聚好看科技股份有限公司 | The generation method and device of a kind of executable file |
CN109032659A (en) * | 2018-07-20 | 2018-12-18 | 珠海宏桥高科技有限公司 | Single-page applies the method based on configuration reference remote pages component |
Non-Patent Citations (2)
Title |
---|
MIYA: "一步一步教你webpack打包", 《HTTPS://SEGMENTFAULT.COM/A/1190000013052777/》 * |
逍遥云天: "vue-webpack项目自动打包压缩成zip文件批处理", 《HTTPS://WWW.CNBLOGS.COM/XYYT/P/9238885.HTML》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104484187B (en) | A kind of information integration method and system | |
KR101703446B1 (en) | Network capable of detection DoS attacks and Method for controlling thereof, Gateway and Managing server comprising the network | |
CN102789317B (en) | A kind of method and apparatus of accelerating text input | |
CN104580158B (en) | A kind of distributed platform file and content distribution method and system | |
CN105704458A (en) | Container-technology-based video monitoring cloud service platform realization method and system | |
CN104915260B (en) | A kind of distribution method and system of Hadoop cluster managements task | |
CN109644143A (en) | Method and apparatus for network slice | |
CN106453625B (en) | Information synchronization method and high availability cluster system | |
CN107222347B (en) | Configuration reverse-brushing method based on PTN equipment | |
CN110276502B (en) | One kind being based on unmanned plane express delivery cabinet optimizing distribution method | |
CN104852813B (en) | The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment | |
CN106162639A (en) | SDN wireless network management platform based on Floodlight and authentication method | |
CN106789157A (en) | The hardware resource management method of pile system and stacked switch | |
CN109482502A (en) | Goods sorting system data processing method, device and electronic equipment | |
FI20022079A (en) | Prioritization of management objects | |
CN105760272B (en) | Monitoring backstage business customizing method and its system based on plug-in unit | |
CN104462352A (en) | Data packing method and device | |
CN105357275A (en) | Intelligent aggregation interface method and system | |
Cashmore et al. | Replanning for situated robots | |
CN105656786B (en) | A kind of router look-up method based on fast, slow table | |
CN110226159A (en) | Best-effort traffic library facility | |
CN104462591A (en) | Method for avoiding repeated download and mobile terminal | |
CN103488697B (en) | System and mobile terminal capable of automatically collecting and exchanging fragmented commercial information | |
CN109669683A (en) | A kind of method of functional unit automatic packaging | |
CN108364485A (en) | A kind of traffic signal control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190423 |