CN107315596A - A kind of code is packed dispositions method and device automatically - Google Patents

A kind of code is packed dispositions method and device automatically Download PDF

Info

Publication number
CN107315596A
CN107315596A CN201710617190.5A CN201710617190A CN107315596A CN 107315596 A CN107315596 A CN 107315596A CN 201710617190 A CN201710617190 A CN 201710617190A CN 107315596 A CN107315596 A CN 107315596A
Authority
CN
China
Prior art keywords
code
deployment
installation
software
predetermined time
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
Application number
CN201710617190.5A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710617190.5A priority Critical patent/CN107315596A/en
Publication of CN107315596A publication Critical patent/CN107315596A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

Packed automatically dispositions method and device the embodiment of the invention discloses a kind of code, methods described includes:Predetermined time from default code library by code copies into local packing environment;Operation is compiled to the code in the local packing environment;Packaging operation is carried out to compiling errorless code, to build the installation and deployment bag of code corresponding software;The installation and deployment bag of the software is pushed on selected deployment services device, software described in automatic installation and deployment.The embodiment of the present invention can realize the process that the code of storage is pulled, compiles, packs, pushes and disposed automatically, can effectively improve software development, the efficiency of deployment.

Description

A kind of code is packed dispositions method and device automatically
Technical field
The present invention relates to cloud computing technology, espespecially a kind of code is packed dispositions method and device automatically.
Background technology
In cloud computing era, exploitation, the test of various softwares all are gradually transferred on cloud computing platform to realize.With cloud Calculating is continued to develop with virtualization technology, the increase of various softwares business complexity itself and scale complexity, all to software Quick, efficient, automatically dispose propose higher and higher requirement.The development process of many softwares is not real well at present Automatic flow is trampled, Software package, deployment flow are complicated, stability is poor, have had a strong impact on the efficiency of software development.
The content of the invention
In order to solve the above-mentioned technical problem, packed automatically dispositions method and dress the embodiments of the invention provide a kind of code Put, the process that the code of storage is pulled, compiled, packed, push and disposed can be realized automatically, software can be effectively improved and opened Hair, the efficiency of deployment.
In order to reach the object of the invention, on the one hand, packed automatically dispositions method the embodiments of the invention provide a kind of code, Including:
Predetermined time from default code library by code copies into local packing environment;
Operation is compiled to the code in the local packing environment;
Packaging operation is carried out to compiling errorless code, to build the installation and deployment bag of code corresponding software;
The installation and deployment bag of the software is pushed on selected deployment services device, software described in automatic installation and deployment.
Compared with prior art, the embodiment of the present invention by predetermined time from default code library by code copies to In local packing environment;Operation is compiled to the code in the local packing environment;The code for compiling errorless is beaten Package operation, to build the installation and deployment bag of code corresponding software;The installation and deployment bag of the software is pushed into selected deployment On server, software described in automatic installation and deployment.The embodiment of the present invention can realize automatically the code of storage is pulled, compiled, The process packed, pushed and dispose, can effectively improve software development, the efficiency of deployment.
Further, from code library by code copies into local packing environment before, in addition to:
The code of submitted storage is stored in the default code library.
Further, from code library by code copies into local packing environment before, in addition to:
The predetermined time of automatic triggering packing deployment operation is set.
Further, the predetermined time includes:The arbitrary time point submitted without code.
Further, methods described also includes:
Record performs the log information in the installation and deployment operating process.
On the other hand, the embodiment of the present invention additionally provides a kind of code and packed automatically deployment device, including:
Code pulls module, for predetermined time from default code library by code copies to local packing environment In;
Collector, for being compiled operation to the code in the local packing environment;
Packetization module, for carrying out packaging operation to compiling errorless code, to build the installation portion of code corresponding software Administration's bag;
Deployment module, it is automatic to install for the installation and deployment bag of the software to be pushed to selected deployment services device Dispose the software.
Further, described device also includes:
Code storage block, the code for storing submitted storage in the default code library.
Further, described device also includes:
Time module is set, the predetermined time for setting automatic triggering packing deployment operation.
Further, described device also includes:
Log pattern, for recording installation, the executory log information of deployment operation.
Further, the predetermined time in described device includes:The arbitrary time point submitted without code.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes a part for specification, with this The embodiment of application is used to explain technical scheme together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is that code of the embodiment of the present invention is packed the flow chart of dispositions method automatically;
Fig. 2 packs automatically for code of the embodiment of the present invention disposes the structure chart of device.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated Perform.And, although logical order is shown in flow charts, but in some cases, can be with suitable different from herein Sequence performs shown or described step.
As shown in figure 1, being that code of the embodiment of the present invention is packed the flow chart of dispositions method automatically, the present embodiment includes following Step:
Step 100:Predetermined time from default code library by code copies into local packing environment;
For example, by code copies to certain local server.
Step 101:Operation is compiled to the code in the local packing environment;Check for compile error;
Step 102:Packaging operation is carried out to compiling errorless code, to build the installation and deployment bag of code corresponding software;
Step 103:The installation and deployment bag of the software is pushed on selected deployment services device, automatic installation and deployment institute State software.
The embodiment of the present invention by predetermined time from default code library by code copies into local packing environment; Operation is compiled to the code in the local packing environment;Packaging operation is carried out to compiling errorless code, to build generation The installation and deployment bag of code corresponding software;The installation and deployment bag of the software is pushed on selected deployment services device, automatic peace The dress deployment software.The embodiment of the present invention can automatically be realized and the code of storage is pulled, compiles, packs, pushes and disposed Process, can effectively improve software development, deployment efficiency.
Further, from code library by code copies into local packing environment before, in addition to:
The code of submitted storage is stored in the default code library.
Further, from code library by code copies into local packing environment before, in addition to:
The predetermined time of automatic triggering packing deployment operation is set.
Further, the predetermined time includes:The arbitrary time point submitted without code.
For example, daily 1:00 AM can be set, or other do not have the time point that code is submitted, and are manually or automatically touched Hair packing deployment operation.
Further, methods described also includes:
Record performs the log information in the installation and deployment operating process.What is run into for positioning, solving in operation asks Topic;
Fig. 2 packs automatically for code of the embodiment of the present invention disposes the structure chart of device, as shown in Fig. 2 the embodiment of the present invention On the other hand a kind of code provided is packed deployment device automatically, including:
Code pulls module 201, for predetermined time from default code library by code copies to local packing ring In border;
Collector 202, for being compiled operation to the code in the local packing environment;
Packetization module 203, for carrying out packaging operation to compiling errorless code, to build the installation of code corresponding software Deployment package;
Deployment module 204, for the installation and deployment bag of the software to be pushed to selected deployment services device, automatic peace The dress deployment software.
Further, described device also includes:
Code storage block, the code for storing submitted storage in the default code library.
Further, described device also includes:
Time module is set, the predetermined time for setting automatic triggering packing deployment operation.
Further, described device also includes:
Log pattern, for recording installation, the executory log information of deployment operation.
Further, the predetermined time in described device includes:The arbitrary time point submitted without code.
Code in embodiment of the present invention dispositions method of packing automatically is real based on automatic flow under a kind of cloud computing Trample, the process that the code of storage is pulled, compiled, packed, push and disposed is realized automatically, the automation of software version is realized Build, dispose, saved development time and resource, improved the efficiency of software development.With general Software package dispositions method Compare, the embodiment of the present invention realizes the process that the code of storage is pulled, compiles, packs, pushes and disposed automatically, can be effective Improve software development, the efficiency of deployment.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, is not limited to the present invention.Technical staff in any art of the present invention, is taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

  1. The dispositions method 1. a kind of code is packed automatically, it is characterised in that including:
    Predetermined time from default code library by code copies into local packing environment;
    Operation is compiled to the code in the local packing environment;
    Packaging operation is carried out to compiling errorless code, to build the installation and deployment bag of code corresponding software;
    The installation and deployment bag of the software is pushed on selected deployment services device, software described in automatic installation and deployment.
  2. The dispositions method 2. code according to claim 1 is packed automatically, it is characterised in that by code copies from code library Before into local packing environment, in addition to:
    The code of submitted storage is stored in the default code library.
  3. The dispositions method 3. code according to claim 1 is packed automatically, it is characterised in that by code copies from code library Before into local packing environment, in addition to:
    The predetermined time of automatic triggering packing deployment operation is set.
  4. The dispositions method 4. code according to claim 1 or 3 is packed automatically, it is characterised in that the predetermined time includes: The arbitrary time point submitted without code.
  5. The dispositions method 5. code according to claim 1 is packed automatically, it is characterised in that methods described also includes:
    Record performs the log information in the installation and deployment operating process.
  6. The deployment device 6. a kind of code is packed automatically, it is characterised in that including:
    Code pulls module, for predetermined time from default code library by code copies into local packing environment;
    Collector, for being compiled operation to the code in the local packing environment;
    Packetization module, for carrying out packaging operation to compiling errorless code, to build the installation and deployment bag of code corresponding software;
    Deployment module, for the installation and deployment bag of the software to be pushed to selected deployment services device, automatic installation and deployment The software.
  7. The deployment device 7. code according to claim 6 is packed automatically, it is characterised in that described device also includes:
    Code storage block, the code for storing submitted storage in the default code library.
  8. The deployment device 8. code according to claim 6 is packed automatically, it is characterised in that described device also includes:
    Time module is set, the predetermined time for setting automatic triggering packing deployment operation.
  9. The deployment device 9. code according to claim 6 is packed automatically, it is characterised in that described device also includes:
    Log pattern, for recording installation, the executory log information of deployment operation.
  10. The dispositions method 10. code according to claim 6 or 8 is packed automatically, it is characterised in that the predetermined time bag Include:The arbitrary time point submitted without code.
CN201710617190.5A 2017-07-26 2017-07-26 A kind of code is packed dispositions method and device automatically Pending CN107315596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710617190.5A CN107315596A (en) 2017-07-26 2017-07-26 A kind of code is packed dispositions method and device automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710617190.5A CN107315596A (en) 2017-07-26 2017-07-26 A kind of code is packed dispositions method and device automatically

Publications (1)

Publication Number Publication Date
CN107315596A true CN107315596A (en) 2017-11-03

Family

ID=60171228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710617190.5A Pending CN107315596A (en) 2017-07-26 2017-07-26 A kind of code is packed dispositions method and device automatically

Country Status (1)

Country Link
CN (1) CN107315596A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825370A (en) * 2018-08-08 2020-02-21 阿里巴巴集团控股有限公司 Mobile terminal application development method, device and system
CN111158696A (en) * 2019-12-20 2020-05-15 中国建设银行股份有限公司 Version deployment method and device
CN113590142A (en) * 2021-07-29 2021-11-02 智道网联科技(北京)有限公司 Vehicle-mounted environment deployment method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224358A (en) * 2015-09-07 2016-01-06 浪潮集团有限公司 Under a kind of cloud computing software automatically pack dispose system and method
CN105373401A (en) * 2015-10-27 2016-03-02 上海钢富电子商务有限公司 Method and system for automatically releasing software package
CN106155751A (en) * 2016-08-02 2016-11-23 传线网络科技(上海)有限公司 Application packing and issuing method and device
CN106919398A (en) * 2017-03-06 2017-07-04 山东浪潮云服务信息科技有限公司 A kind of software distribution method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224358A (en) * 2015-09-07 2016-01-06 浪潮集团有限公司 Under a kind of cloud computing software automatically pack dispose system and method
CN105373401A (en) * 2015-10-27 2016-03-02 上海钢富电子商务有限公司 Method and system for automatically releasing software package
CN106155751A (en) * 2016-08-02 2016-11-23 传线网络科技(上海)有限公司 Application packing and issuing method and device
CN106919398A (en) * 2017-03-06 2017-07-04 山东浪潮云服务信息科技有限公司 A kind of software distribution method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825370A (en) * 2018-08-08 2020-02-21 阿里巴巴集团控股有限公司 Mobile terminal application development method, device and system
CN110825370B (en) * 2018-08-08 2023-04-18 阿里巴巴集团控股有限公司 Mobile terminal application development method, device and system
CN111158696A (en) * 2019-12-20 2020-05-15 中国建设银行股份有限公司 Version deployment method and device
CN113590142A (en) * 2021-07-29 2021-11-02 智道网联科技(北京)有限公司 Vehicle-mounted environment deployment method and device and electronic equipment

Similar Documents

Publication Publication Date Title
Simon et al. Java™ on the bare metal of wireless sensor devices: the squawk Java virtual machine
CN104793946B (en) Dispositions method and system are applied based on cloud computing platform
US8327328B2 (en) System and method for creating target byte code
US8423953B2 (en) System and method for creating target byte code
US8640115B2 (en) Access control in modules for software development
US9639348B2 (en) Program code library searching and selection in a networked computing environment
US9229709B2 (en) Polyphasic modules for software development
CN103324474B (en) Based on (SuSE) Linux OS across the method for System structure ISO and module
KR20140067018A (en) Describing native application programming interfaces of an operating system with metadata
CN106598657A (en) One-key deployment method for cloud platform applications
JP2017146966A (en) Method and system for extending function to package file
CN111359219B (en) File processing method, device, equipment and storage medium of illusion engine
EP4055477A1 (en) Just-in-time containers
CN107315596A (en) A kind of code is packed dispositions method and device automatically
US9477496B2 (en) Method and apparatus for loading classes and re-organizing class archives
CN109408101A (en) A kind of code development maintaining method and electronic equipment for programming
CN106406923A (en) Processing method and device of dynamic library file
CN103150161B (en) Based on task encapsulation method and the device of MapReduce computation module
CN102270124A (en) Device for realizing embedded plug-in and embedded platform system
CN111352631B (en) Interface compatibility detection method and device
CN108845864B (en) Spring frame-based JVM garbage recycling method and device
CN109254856A (en) Intelligent POS server-side provides interface to the method for client
CN107832098A (en) A kind of expansible multi- source Remote Sensing Data data method for displaying and processing
Milanés et al. State of the art in heterogeneous strong migration of computations
CN117112072B (en) Cross-platform virtual machine drive replacement method, system and storage medium

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

Application publication date: 20171103

RJ01 Rejection of invention patent application after publication