CN109683917A - For the method for being deployed in application server, equipment and medium will to be applied - Google Patents

For the method for being deployed in application server, equipment and medium will to be applied Download PDF

Info

Publication number
CN109683917A
CN109683917A CN201811550649.5A CN201811550649A CN109683917A CN 109683917 A CN109683917 A CN 109683917A CN 201811550649 A CN201811550649 A CN 201811550649A CN 109683917 A CN109683917 A CN 109683917A
Authority
CN
China
Prior art keywords
application
application server
deployment
server
deployed
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
CN201811550649.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.)
Jiangsu Manyun Software Technology Co Ltd
Original Assignee
Jiangsu Manyun Software 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 Jiangsu Manyun Software Technology Co Ltd filed Critical Jiangsu Manyun Software Technology Co Ltd
Priority to CN201811550649.5A priority Critical patent/CN109683917A/en
Publication of CN109683917A publication Critical patent/CN109683917A/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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The invention discloses a kind of for that will apply the method for being deployed in application server, equipment and medium, it include: to receive task creation request, it include a Code Number in task creation request, it is corresponding that each Code Number with one is stored in the deployment package of a file server;It is requested in response to the task creation, the application cluster being made of several application servers is divided into several application packets, includes at least an application server in each application packet;The Disposition Instructions including the Code Number are generated according to task creation request, and it is sent to each application server in the application packet, so that the deployment package corresponding with the Code Number of application server deployment described in the application packet.

Description

For the method for being deployed in application server, equipment and medium will to be applied
Technical field
The present invention relates to a kind of technologies of internet area, more specifically, being related to a kind of for that will apply deployment In the method, equipment and medium of application server.
Background technique
As company size expands, personnel are constantly flowed into, and technical staff's level is irregular;Number of applications is more and more, It is cumbersome to dispose process;Using health examination, gray scale testing scheme is lacked, expected online happen occasionally is not met.Because of deployment The problem of causing, more shows especially.
Existing ensured sustained development deployment is to lead service by backstage automatically dispose application by configuring and writing script Device.Internet is a fast-developing industry, and business is with the constant changes in supply and demand of user, and application program is also in iteratively faster Deployment, the prior art have the disadvantage in that
Deployment needs strongly professional engineer's operation;
Application management is chaotic, often can not find application code warehouse and developer;
It disposes and all damages each time, gently then apply flash, it is heavy then influence company's core business process.
Summary of the invention
In view of the problems of the existing technology, the purpose of the present invention is to provide one kind for that will apply clothes using being deployed in Method, equipment and the medium of business device automatically can generate deployment package according to the source code in code database, to needs The application server of application deployment is grouped the grouping that is applied, and deployment package is installed on for unit and answers by latter application packet With the application server in grouping, deployment package is preferentially installed on the more application packet of surplus resources, to improve application section The efficiency and success rate of administration.
According to an aspect of the present invention, provide it is a kind of at deployment facility end for will be using being deployed in application server Method, comprising:
Task creation request is received, includes a Code Number, each Code Number in the task creation request It is corresponding that the deployment package of a file server is stored in one;
It is requested in response to the task creation, the application cluster being made of several application servers is divided into several applications It is grouped, an application server is included at least in each application packet;
One is generated according to task creation request and includes the Disposition Instructions of the Code Number, and is sent to the application Each application server in grouping, so that application server deployment described in the application packet and the Code Number pair The deployment package answered.
Preferably, described to be requested in response to the task creation, the application cluster being made of several application servers is drawn It is divided into several application packets to specifically include:
Obtain the first resource surplus and Secondary resource surplus of each application server in the application cluster;
The resource for obtaining each application server according to the first resource surplus and the Secondary resource surplus is surplus Remaining coefficient;
The application server in the application cluster is ranked up from big to small according to the resources left coefficient Form the application queue of an application server;
Several application servers, which are successively extracted, from the head of the queue of the application queue forms the application packet.
Preferably, the first resource surplus is CPU surplus resources, and the Secondary resource surplus is RAM surplus resources.
Preferably, the calculation formula of the resources left coefficient are as follows:
Wherein:
Δ is resources left coefficient;
α1For first resource coefficient;
R1For the first surplus resources;
α2For Secondary resource coefficient, and α12=1;
R2For the second surplus resources.
Preferably, the quantity of the application server in the application packet constitutes an arithmetic progression.
Preferably, the quantity of the application server in the application packet constitutes a Geometric Sequence.
Preferably, described that a Disposition Instructions including the Code Number are generated according to task creation request, concurrently Each application server into the application packet is sent to specifically include:
The application packet is arranged from small to large according to the quantity of the application server in the application packet Sequence;
The Disposition Instructions including the Code Number are generated according to task creation request;
The Disposition Instructions are successively sent to the application packet after sequence.
According to an aspect of the present invention, one kind is provided at deployment package generating device end for that will apply clothes using being deployed in The method of business device, comprising the following steps:
It receives deployment facility and sends building information, the building information includes Code Number;
The source code of application is extracted in a code database according to the Code Number;
A deployment package is generated according to the source code;
The deployment package is uploaded to a file server, so that application server extracts the deployment package.
According to an aspect of the present invention, provide it is a kind of for will apply the method for being deployed in application server, including with Lower step:
Deployment facility receives task creation request, includes a Code Number in the task creation request, each described It is corresponding that Code Number with one is stored in a deployment package of a file server;
The deployment facility is requested in response to the task creation, and the application cluster being made of several application servers is drawn It is divided into several application packets, includes at least an application server in each application packet;
Deployment package generating device receives the deployment facility and sends a building information, and the building information includes that code is compiled Number;
The deployment package generating device extracts the source code of application according to the Code Number in a code database;
The deployment package generating device generates the deployment package according to the source code;
The deployment package is uploaded to the file server by the deployment package generating device, for application server extraction The deployment package;
The deployment facility generates the Disposition Instructions including the Code Number according to task creation request, concurrently Each application server into the application packet is sent, so that application server deployment described in the application packet and institute State the corresponding deployment package of Code Number.
According to an aspect of the present invention, a kind of for that will apply the deployment facility for being deployed in application server, packet is provided It includes:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to be executed via the executable instruction is executed at deployment facility end for that will answer The step of with the method for being deployed in application server.
According to an aspect of the present invention, it provides a kind of for the deployment package for being deployed in application server generation will to be applied to set It is standby, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to be executed via the executable instruction is executed in deployment package generating device end use In the step of applying the method for being deployed in application server.
A kind of computer readable storage medium is provided according to an aspect of the present invention, for storing program, described program It is performed the step of realizing the above method.
The beneficial effect of above-mentioned technical proposal is:
Of the invention being used for will be using the method, equipment and medium for being deployed in application server, being capable of automatic basis Source code in code database generates deployment package, is applied point to needing the application server of application deployment to be grouped Group, and deployment package is installed on the application server in application packet for unit by latter application packet, preferentially installs deployment package In the more application packet of surplus resources, to improve the efficiency and success rate using deployment.
Other features and advantages of the present invention and various embodiments of the present invention structurally and operationally, will referring to Attached drawing is described in detail.It should be noted that the present invention is not limited to specific embodiments described hereins.It is given herein these The purpose that embodiment is merely to illustrate that.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon.
Fig. 1 be preferred embodiment of the invention in, it is a kind of for the tool for being deployed in the method for application server will to be applied Body implement scene;
Fig. 2 is in preferred embodiment of the invention, and one kind being deployed in application service for that will apply at deployment facility end The flow chart of the method for device;
Fig. 3 is a kind of flow diagram for dividing application packet in preferred embodiment of the invention;
Fig. 4 is a kind of flow diagram for sending Disposition Instructions in preferred embodiment of the invention;
Fig. 5 is in preferred embodiment of the invention, and one kind is at deployment package generating device end for that will answer using being deployed in With the method flow diagram of server;
Fig. 6 be preferred embodiment of the invention in, it is a kind of for the deployment facility for being deployed in application server will to be applied Schematic diagram;
Fig. 7 is a kind of structural schematic diagram of computer readable storage medium in preferred embodiment of the invention.
From the detailed description below in conjunction with attached drawing, the features and advantages of the present invention will become more apparent.Through attached drawing, Identical attached drawing identifies respective element.In the accompanying drawings, same reference numerals be indicated generally at it is identical, functionally similar and/or Similar element in structure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are obtained every other under the premise of not making the creative labor Embodiment shall fall within the protection scope of the present invention.
" first " used herein, " second " and similar word are not offered as any sequence, quantity or again The property wanted, and be used only to distinguish different component parts.The similar word such as " comprising " or "comprising" means before there is the word The element or object in face are covered the element for appearing in the word presented hereinafter or object and its are equal, and are not excluded for other elements Or object." connection " either the similar word such as " connected " is not limited to physics or mechanical connection, but can be with It is either direct or indirect including electrical connection."upper", "lower", "left", "right" etc. are only used for indicating relative position Relationship, after the absolute position for being described object changes, then the relative positional relationship may also correspondingly change.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
Fig. 1 is a kind of for that will apply the specific implementation scene for the method for being deployed in application server.Implementation shown in fig. 1 In scene, comprising: user equipment 101, deployment facility 102, application cluster 103, code database 104, deployment package generating device 105, file server 106, detection service device 107 include multiple application servers 108 in application cluster 103.User equipment 101 can be connected by network with deployment facility 102 and code database 104, and deployment facility 102 passes through network and answer respectively It is connected with cluster 103 and deployment package generating device 105, deployment package generating device 105 is same to pass through network and code database 104 It is connected with file server 106, file server 106 is connected with application cluster 103, and application cluster 103 also passes through network and inspection Server 107 is surveyed to be connected.User equipment 101 can be but not limited to any human-computer interaction that can be interacted with user Electronic product, such as: smart phone, tablet computer and desktop computer etc..The operating system of the user equipment 101, which can be, appoints Meaning operating system, such as: Android operation system, IOS operating system.Deployment facility 102 and deployment package generating device 105 are equal It can be but not limited to a kind of instruction that can be set or store according to realization, the automatic electricity for carrying out numerical value calculating and information processing Sub- equipment, hardware include but is not limited to microprocessor, specific integrated circuit (ASIC), programmable logic device (PLD), scene Programmable gate array (FPGA), digital signal processor (DSP) and embedded device etc..Deployment facility 102 can also be platform The cloud that formula computer, network host, single network server, multiple network server clusters or multiple servers are constituted;Here, Cloud is made of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is distribution One kind that formula calculates, the virtual supercomputer being made of the computer of a group loose couplings.It include more in application cluster 103 A application server 108 deploys several applications (application software or application program) in each application server 108, answers Corresponding server can be provided by network for other equipment by running the application with server 108.
Fig. 2 to be a kind of is used to that the flow chart for being deployed in the method for application server will be applied at deployment facility end.Following base In scene shown in FIG. 1, to for the method for being deployed in application server 108 will to be applied to be described in detail.
It is shown in Figure 2 to be used to specifically include using the method for being deployed in application server 108 at 102 end of deployment facility Following steps: step S202 receives task creation request, includes a Code Number, every generation in the task creation request It is corresponding that code number with one is stored in the deployment package of a file server 106;Step S204 is requested in response to task creation, will be by The application cluster 103 that several application servers 108 form is divided into several application packets, includes at least one in each application packet A application server 108;Step S206 generates one according to task creation request and includes the Disposition Instructions of Code Number, and sends Each application server 108 into application packet, so that the deployment of application server 108 and Code Number pair in application packet The deployment package answered.
In step S202, deployment facility 102 receives task creation request, includes that a code is compiled in task creation request Number, it is corresponding that each Code Number with one is stored in the deployment package of a file server 106.Task creation request is by passing through network The user equipment 101 that is connected with deployment facility 102 is established and is issued.It include being disposed in task request to create Code Number, the Code Number corresponded to one application complete source code.The source code is to pass through use by user Family equipment 101 is stored in code database 104, and the source code of each application has corresponding and unique code to compile Number, for identifying the source code.Deployment package generating device 105 can extract the generation of the source code in code database 104 Deployment package (installation kit), the deployment package still identified by the corresponding Code Number of source code, i.e., source code and according to The deployment package that the source code generates all is identified using the same Code Number.Code Number and file server 106 In deployment package correspond.
In step S204, deployment facility 102 is requested in response to task creation, will be made of several application servers 108 Application cluster 103 be divided into several application packets, an application server 108 is included at least in each application packet.Pacifying Before filling (deployment) deployment package, need to be grouped the application server 108 in application cluster 103, by application server 108 It is divided into several application packets.
Fig. 3 is a kind of flow diagram for dividing application packet.Step S204 shown in Fig. 3 is specifically included: step S302, step S304, step S306 and step S308.In step s 302, deployment facility 102 obtains in application cluster 103 Each application server 108 first resource surplus and Secondary resource surplus.Specifically, first resource surplus is CPU remaining Resource, Secondary resource surplus are RAM surplus resources, and CPU surplus resources and RAM surplus resources are indicated with the numerical value between 0-1, For example, 0.1,0.8,0.6 etc., the more big then remaining stock number of numerical value is more.In step s 304, deployment facility 102 is according to One resource excess and Secondary resource surplus obtain the resources left coefficient of each application server 108.I.e. according to CPU surplus resources The resources left coefficient of each application server 108 is calculated with RAM surplus resources.
In step s 304, the calculation formula of resources left coefficient are as follows:
Wherein:
Δ is resources left coefficient;
α1For first resource coefficient;
R1For the first surplus resources;
α2For Secondary resource coefficient, and α12=1;
R2For the second surplus resources.
In step S306, deployment facility 102 is according to resources left coefficient from big to small to the application in application cluster 103 Server 108 is ranked up the application queue to form an application server 108.Deployment facility 102 is according to application server 108 The application server 108 of resources left coefficient delta from big to small is ranked up.The bigger application service of resources left coefficient delta Device 108 is more forward in application queue, and the bigger remaining stock number of application server 108 of resources left coefficient delta is also more Greatly.May be implemented preferentially to dispose the biggish application server of resources left coefficient delta 108, thus improve deployment efficiency with And success rate.
In step S308, deployment facility 102 is successively extracted several application servers 108 from the head of the queue of application queue and is formed Application packet.For example, extracting an application server 108 from head of the queue is used as 1 application packet, 2 applications are extracted again later Server 108 forms an application packet, extracts 4 application servers 108 again and forms an application packet, by remaining 3 One application packet of a composition.
In step S206, deployment facility 102 generates the Disposition Instructions including Code Number according to task creation request, And it is sent to each application server 108 in application packet, so that the deployment of application server 108 and code in application packet Number corresponding deployment package.The Disposition Instructions of generation are selected different applications point by deployment facility 102 in a certain order Group is sent.In some embodiments, the quantity of the application server 108 in application packet constitutes an arithmetic progression or one is waited ratios Ordered series of numbers.
Fig. 4 is a kind of flow diagram for sending Disposition Instructions.Step S206 is specifically included, step S402, step S404 And step S406.In step S402, deployment facility 102 is according to the quantity of the application server 108 in application packet from small To being ranked up to application packet greatly.In step s 404, it includes that code is compiled that deployment facility 102 is generated according to task creation request Number Disposition Instructions.In step S406, Disposition Instructions are successively sent to the application packet after sequence by deployment facility 102, i.e., It is disposed from comprising the smallest application packet of 108 quantity of application server.In some embodiments, first application packet is completed After deployment, the needs of detection service device 107 detect the application server 108 in the application packet, if no abnormal, It is then further continued for the deployment of subsequent all application packets and is no longer detected.It can also be after the completion of each application packet It requires to be detected by 107 application server 108 of detection service device, detection is no abnormal, then carries out next answer With the deployment of grouping.It can not also be detected by detection service device 107, directly each application packet is disposed.
Fig. 5 be it is a kind of at deployment package generating device end for will be using being deployed in the method flow diagram of application server.Fig. 5 What is shown is used to specifically include using the method for being deployed in application server 108 at 105 end of deployment package generating device: step S502, step S504, step S506 and step S508.In step S502, deployment package generating device 105 receives deployment facility 102 send building information, and building information includes Code Number.In step S504, deployment package generating device 105 is compiled according to code The source code of application number is extracted in a code database 104.In step S506, deployment package generating device 105 is according to original One deployment package of beginning code building.In step S508, deployment package is uploaded to a file server by deployment package generating device 105 106, so that application server 108 extracts deployment package.Source code is generated into deployment package by deployment package generating device 105, Deployment package is uploaded in file server 106 again later, each application server 108 need to only arrive file when being disposed Corresponding deployment package is extracted in server 106.
It provides on one side according to the present invention a kind of for the method for being deployed in application server, including following step will to be applied It is rapid:
Deployment facility 102 receives task creation request, includes a Code Number in task creation request, and each code is compiled It is corresponding number to be stored in a deployment package of a file server 106 with one;
Deployment facility 102 is requested in response to task creation, the application cluster 103 that will be made of several application servers 108 Several application packets are divided into, include at least an application server 108 in each application packet;
Deployment package generating device 105 receives deployment facility 102 and sends a building information, and building information includes Code Number;
Deployment package generating device 105 extracts the source code of application according to Code Number in a code database 104;
Deployment package generating device 105 generates deployment package according to source code;
Deployment package is uploaded to file server 106 by deployment package generating device 105, for 108 extraction unit of application server Administration's packet;
Deployment facility 102 generates one according to task creation request and includes the Disposition Instructions of Code Number, and is sent to application Each application server 108 in grouping, so that application server 108 disposes portion corresponding with Code Number in application packet Administration's packet.
According to an aspect of the present invention, it provides a kind of for the deployment package for being deployed in application server generation will to be applied to set It is standby, comprising:
Processor;
Memory, wherein being stored with the executable instruction of processor;
Wherein, processor is configured to be executed via executable instruction is executed at deployment package generating device end for that will apply The step of being deployed in the method for application server.
According to an aspect of the present invention, a kind of for that will apply the deployment facility for being deployed in application server, packet is provided It includes:
Processor;
Memory, wherein being stored with the executable instruction of processor;Wherein, executable instruction when executed hold by processor Row will be the step of deployment facility end will be for that will apply the method for being deployed in application server.
Fig. 6 is of the invention for that will apply the deployment facility for being deployed in application server.Root is described referring to Fig. 6 According to the electronic equipment 600 of the embodiment of the invention.The electronic equipment 600 that Fig. 6 is shown is only an example, should not be right The function and use scope of the embodiment of the present invention bring any restrictions.
As shown in fig. 6, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single Member 610 executes various exemplary implementations according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part The step of mode.For example, processing unit 610 can execute step as shown in Figure 2.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage platform etc..
According to an aspect of the present invention, a kind of computer readable storage medium is provided, for storing program, program is held The step of above method is realized when row.
Fig. 7 is the structural schematic diagram of computer readable storage medium of the invention.Refering to what is shown in Fig. 7, describing according to this The program product 800 for realizing the above method of the embodiment of invention can use the read-only storage of portable compact disc Device (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, journey of the invention Sequence product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the journey Sequence can be commanded execution system, device or device use or in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
To sum up, of the invention for will be using the method, equipment and medium for being deployed in application server, it can be automatic Deployment package is generated according to the source code in code database, is answered needing the application server of application deployment to be grouped With grouping, and latter application packet is that deployment package is installed on the application server in application packet by unit, preferentially by deployment package It is installed on the more application packet of surplus resources, to improve the efficiency and success rate using deployment.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention Protection scope.

Claims (12)

1. a kind of be used to that the method for being deployed in application server will be applied at deployment facility end characterized by comprising
Task creation request is received, includes a Code Number, each Code Number and one in the task creation request The deployment package for being stored in a file server is corresponding;
It is requested in response to the task creation, the application cluster being made of several application servers is divided into several applications point Group includes at least an application server in each application packet;
One is generated according to task creation request and includes the Disposition Instructions of the Code Number, and is sent to the application packet In each application server so that application server deployment described in the application packet is corresponding with the Code Number The deployment package.
2. according to claim 1 for the method for being deployed in application server will to be applied, which is characterized in that the response It is requested in the task creation, the application cluster being made of several application servers is divided into several application packets and is specifically wrapped It includes:
Obtain the first resource surplus and Secondary resource surplus of each application server in the application cluster;
The resources left system of each application server is obtained according to the first resource surplus and the Secondary resource surplus Number;
The application server in the application cluster is ranked up from big to small according to the resources left coefficient to be formed The application queue of one application server;
Several application servers, which are successively extracted, from the head of the queue of the application queue forms the application packet.
3. according to claim 2 be used to that the method for being deployed in application server, feature will be applied at deployment facility end It is, the first resource surplus is CPU surplus resources, and the Secondary resource surplus is RAM surplus resources.
4. according to claim 2 be used to that the method for being deployed in application server, feature will be applied at deployment facility end It is, the calculation formula of the resources left coefficient are as follows:
Wherein:
Δ is resources left coefficient;
α1For first resource coefficient;
R1For the first surplus resources;
α2For Secondary resource coefficient, and α12=1;
R2For the second surplus resources.
5. according to claim 1 be used to that the method for being deployed in application server, feature will be applied at deployment facility end It is, the quantity of the application server in the application packet constitutes an arithmetic progression.
6. according to claim 1 be used to that the method for being deployed in application server, feature will be applied at deployment facility end It is, the quantity of the application server in the application packet constitutes a Geometric Sequence.
7. according to claim 1 be used to that the method for being deployed in application server, feature will be applied at deployment facility end It is, it is described that a Disposition Instructions including the Code Number are generated according to task creation request, and it is sent to described answer It is specifically included with each application server in grouping:
The application packet is ranked up from small to large according to the quantity of the application server in the application packet;
The Disposition Instructions including the Code Number are generated according to task creation request;
The Disposition Instructions are successively sent to the application packet after sequence.
8. a kind of be used to that the method for being deployed in application server will be applied at deployment package generating device end, which is characterized in that including Following steps:
It receives deployment facility and sends building information, the building information includes Code Number;
The source code of application is extracted in a code database according to the Code Number;
A deployment package is generated according to the source code;
The deployment package is uploaded to a file server, so that application server extracts the deployment package.
9. a kind of for the method for being deployed in application server will to be applied, which comprises the following steps:
Deployment facility receives task creation request, includes a Code Number, each code in the task creation request It is corresponding that number with one is stored in a deployment package of a file server;
The deployment facility is requested in response to the task creation, and the application cluster being made of several application servers is divided into Several application packets include at least an application server in each application packet;
Deployment package generating device receives the deployment facility and sends a building information, and the building information includes Code Number;
The deployment package generating device extracts the source code of application according to the Code Number in a code database;
The deployment package generating device generates the deployment package according to the source code;
The deployment package is uploaded to the file server by the deployment package generating device, for described in application server extraction Deployment package;
The deployment facility generates one according to task creation request and includes the Disposition Instructions of the Code Number, and is sent to Each application server in the application packet, so that application server deployment described in the application packet and the generation Code numbers the corresponding deployment package.
10. a kind of for the deployment facility for being deployed in application server will to be applied characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to come any one of perform claim requirement 1-7 institute via the execution executable instruction The step of stating method.
11. a kind of for the deployment package generating device for being deployed in application server will to be applied characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to carry out the step of perform claim requires 8 the method via the execution executable instruction.
12. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power Benefit requires the step of any one of 1-9 the method.
CN201811550649.5A 2018-12-18 2018-12-18 For the method for being deployed in application server, equipment and medium will to be applied Pending CN109683917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811550649.5A CN109683917A (en) 2018-12-18 2018-12-18 For the method for being deployed in application server, equipment and medium will to be applied

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811550649.5A CN109683917A (en) 2018-12-18 2018-12-18 For the method for being deployed in application server, equipment and medium will to be applied

Publications (1)

Publication Number Publication Date
CN109683917A true CN109683917A (en) 2019-04-26

Family

ID=66186310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811550649.5A Pending CN109683917A (en) 2018-12-18 2018-12-18 For the method for being deployed in application server, equipment and medium will to be applied

Country Status (1)

Country Link
CN (1) CN109683917A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489132A (en) * 2019-08-08 2019-11-22 西藏宁算科技集团有限公司 Distributed software dispositions method and system under a kind of cloud computing environment
CN110519348A (en) * 2019-08-15 2019-11-29 苏州浪潮智能科技有限公司 A kind of mostly service distributed type assemblies deployment system and method
CN110597682A (en) * 2019-07-18 2019-12-20 平安科技(深圳)有限公司 Application deployment method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423085A (en) * 2017-04-24 2017-12-01 北京百度网讯科技有限公司 Method and apparatus for application deployment
CN108733380A (en) * 2017-04-21 2018-11-02 北京京东尚科信息技术有限公司 Using dispositions method and device
US20180332141A1 (en) * 2017-05-09 2018-11-15 Microsoft Technology Licensing, Llc Virtual assistant skill deployment
CN108897548A (en) * 2018-06-29 2018-11-27 北京金山数字娱乐科技有限公司 Program bag production deployment method, apparatus, system, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733380A (en) * 2017-04-21 2018-11-02 北京京东尚科信息技术有限公司 Using dispositions method and device
CN107423085A (en) * 2017-04-24 2017-12-01 北京百度网讯科技有限公司 Method and apparatus for application deployment
US20180332141A1 (en) * 2017-05-09 2018-11-15 Microsoft Technology Licensing, Llc Virtual assistant skill deployment
CN108897548A (en) * 2018-06-29 2018-11-27 北京金山数字娱乐科技有限公司 Program bag production deployment method, apparatus, system, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597682A (en) * 2019-07-18 2019-12-20 平安科技(深圳)有限公司 Application deployment method and device, computer equipment and storage medium
CN110597682B (en) * 2019-07-18 2022-07-12 平安科技(深圳)有限公司 Application deployment method and device, computer equipment and storage medium
CN110489132A (en) * 2019-08-08 2019-11-22 西藏宁算科技集团有限公司 Distributed software dispositions method and system under a kind of cloud computing environment
CN110519348A (en) * 2019-08-15 2019-11-29 苏州浪潮智能科技有限公司 A kind of mostly service distributed type assemblies deployment system and method

Similar Documents

Publication Publication Date Title
CN104123184B (en) A kind of method and system for being used to distribute resource for the task in building process
US10728322B2 (en) Determining transferability of a computing resource to a cloud computing environment
JP6710790B2 (en) Method and apparatus for operating a smart network interface card
CN103853596A (en) Common contiguous memory region optimized long distance virtual machine migration
CN109683917A (en) For the method for being deployed in application server, equipment and medium will to be applied
CN109656706A (en) Distributed task dispatching method, system, equipment and medium
CN103279846A (en) Project acceptance method and system based on BIM model
CN112948427B (en) Data query method, device, equipment and storage medium
JP2018081693A (en) Automated process control hardware engineering using schema-represented requirements
CN109672722A (en) Data deployment method and device, computer storage medium and electronic equipment
CN104077187B (en) For the method and system of the execution of scheduling application
CN111159897B (en) Target optimization method and device based on system modeling application
CN104216834A (en) Internal storage assess method, buffering scheduler and internal storage module
US9461932B2 (en) Visually depicting resource utilization in a cloud computing environment
US11023627B2 (en) Modeling and cooperative simulation of systems with interdependent discrete and continuous elements
CN109814957A (en) A kind of label addition method and device for IOS system
CN109120433B (en) Method and apparatus for containerized deployment of hosts
CN113434542B (en) Data relationship identification method and device, electronic equipment and storage medium
CN102394911B (en) Computer aided engineering integrated cloud analysis system and method
CN109284108A (en) Date storage method, device, electronic equipment and storage medium
KR102324086B1 (en) Cost efficiency tracking for configuration management database
CN109948251A (en) Data processing method, device, equipment and storage medium based on CAD
CN114706715B (en) Control method, device, equipment and medium for distributed RAID based on BMC
CN115002011B (en) Flow bidirectional test method and device, electronic equipment and storage medium
US11822884B2 (en) Unified model for zero pronoun recovery and resolution

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