CN109542462A - A kind of system environments dispositions method, storage medium and server - Google Patents

A kind of system environments dispositions method, storage medium and server Download PDF

Info

Publication number
CN109542462A
CN109542462A CN201811207381.5A CN201811207381A CN109542462A CN 109542462 A CN109542462 A CN 109542462A CN 201811207381 A CN201811207381 A CN 201811207381A CN 109542462 A CN109542462 A CN 109542462A
Authority
CN
China
Prior art keywords
deployment
file
file packet
target
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811207381.5A
Other languages
Chinese (zh)
Other versions
CN109542462B (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811207381.5A priority Critical patent/CN109542462B/en
Publication of CN109542462A publication Critical patent/CN109542462A/en
Application granted granted Critical
Publication of CN109542462B publication Critical patent/CN109542462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The present invention provides a kind of system environments dispositions method, storage medium and servers, comprising: obtains the target execution route of deployment scenario and target deployment server;The corresponding deployment strategy of the deployment scenario is searched, the deployment strategy includes the file packet mark of deployment file packet;If detecting environment Disposition Instructions, the file store path of the deployment file packet is searched in the preset identification path table of comparisons according to file packet mark;According to the target execution route of the deployment strategy, the file store path and the target deployment server, the deployment file is wrapped and reaches the target deployment server execution system environments deployment.Key deployment can be achieved in the present invention, saves manpower, and improves system environments deployment efficiency.

Description

A kind of system environments dispositions method, storage medium and server
Technical field
The present invention relates to technical field of software development more particularly to a kind of system environments dispositions methods, storage medium kimonos Business device.
Background technique
In software project R&D process, developer needs to carry out environment deployment first.When there are multiple subsystems, Developer usually requires to carry out environment deployment respectively for each subsystem, configures and safeguard multiple application environments.Existing skill In art, environment deployment dependent on the developer that is skilled in technique build with maintenance application environment, not only labor intensive and time, and And deployment is inefficient.
Summary of the invention
The embodiment of the invention provides a kind of system environments dispositions method, storage medium and servers, to solve existing skill In art, environment deployment dependent on the developer that is skilled in technique build with maintenance application environment, not only labor intensive and time, and And the problem that deployment is inefficient.
The first aspect of the embodiment of the present invention provides a kind of system environments dispositions method, comprising:
Obtain the target execution route of deployment scenario and target deployment server;
The corresponding deployment strategy of the deployment scenario is searched, the deployment strategy includes the file packet mark of deployment file packet Know;
If detecting environment Disposition Instructions, searched in the preset identification path table of comparisons according to file packet mark The file store path of the deployment file packet;
Road is executed according to the target of the deployment strategy, the file store path and the target deployment server The deployment file is wrapped and reaches the target deployment server execution system environments deployment by diameter.
The second aspect of the embodiment of the present invention provides a kind of server, including memory and processor, the storage Device is stored with the computer program that can be run on the processor, and the processor is realized such as when executing the computer program Lower step:
Obtain the target execution route of deployment scenario and target deployment server;
The corresponding deployment strategy of the deployment scenario is searched, the deployment strategy includes the file packet mark of deployment file packet Know;
If detecting environment Disposition Instructions, searched in the preset identification path table of comparisons according to file packet mark The file store path of the deployment file packet;
Road is executed according to the target of the deployment strategy, the file store path and the target deployment server The deployment file is wrapped and reaches the target deployment server execution system environments deployment by diameter.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes following steps when being executed by processor:
Obtain the target execution route of deployment scenario and target deployment server;
The corresponding deployment strategy of the deployment scenario is searched, the deployment strategy includes the file packet mark of deployment file packet Know;
If detecting environment Disposition Instructions, searched in the preset identification path table of comparisons according to file packet mark The file store path of the deployment file packet;
Road is executed according to the target of the deployment strategy, the file store path and the target deployment server The deployment file is wrapped and reaches the target deployment server execution system environments deployment by diameter.
In the embodiment of the present invention, by obtaining the target execution route of deployment scenario and target deployment server, institute is searched The corresponding deployment strategy of deployment scenario is stated, the deployment strategy includes the file packet mark of deployment file packet, if detecting environment Disposition Instructions then search the file of the deployment file packet according to file packet mark in the preset identification path table of comparisons Store path, then automatically according to the mesh of the deployment strategy, the file store path and the target deployment server Execution route is marked, the deployment file is wrapped and reaches the target deployment server execution system environments deployment, this programme is built The corresponding relationship of vertical deployment scenario and deployment strategy, user need to only select deployment scenario and target execution route to be disposed, Key deployment can be realized, can not only save manpower, but can rapid batch dispose multiple system environments, improve system environments deployment Efficiency.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of system environments dispositions method provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of system environments dispositions method S104 provided in an embodiment of the present invention;
Fig. 3 is the specific implementation flow chart of system environments space for its deployment detection provided in an embodiment of the present invention;
Fig. 4 is the implementation process of the system environments dispositions method provided in an embodiment of the present invention updated including deployment strategy Figure;
Fig. 5 is the structural block diagram of system environments deployment device provided in an embodiment of the present invention;
Fig. 6 be another embodiment of the present invention provides system environments deployment device structural block diagram;
Fig. 7 is the schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Fig. 1 shows the implementation process of system environments dispositions method provided in an embodiment of the present invention, and this method process includes Step S101 to S104.The specific implementation principle of each step is as follows:
S101: the target execution route of deployment scenario and target deployment server is obtained.
In embodiments of the present invention, the deployment scenario refers to the application scenarios of system environments, such as game system, payment System or OA management system, deployment scenario include that deployment user is the target deployment server disposition on deployment services device System environments.The target deployment server refers to that the server of pending system environments deployment, the target execution route are used In the path for the position for indicating to dispose system environments on the target deployment server.The target execution route can be according to target The ID of deployment services device determines that illustratively, user selects deployment scenario in the interactive interface of the deployment services device, and inputs The ID of target deployment server, target deployment server determine that the target of the target deployment server executes road with the ID Diameter.
S102: searching the corresponding deployment strategy of the deployment scenario, and the deployment strategy includes the file of deployment file packet Packet mark.
Specifically, the deployment strategy includes the corresponding deployment file packet mark of the deployment scenario, further includes the portion Administration's file packet executes sequence.The corresponding deployment file packet mark of the deployment strategy is arranged according to the execution sequence.It is described Deployment file packet mark is used for unique identification deployment file packet, and the deployment file packet is used for the file of deployment system environment, generation Code and compressed package.
A variety of deployment scenarios are preset in the deployment services device, different deployment scenarios correspond to the deployment strategy of default, i.e., Deployment scenario and deployment strategy correspond.In embodiments of the present invention, the scene strategy table of comparisons is established, in the scene strategy The corresponding relationship of the strategy mark of scene identity and deployment strategy in the table of comparisons including deployment scenario.According to the scene identity Uniquely corresponding strategy mark can be found, the strategy identifies the possible more than one of corresponding scene identity, that is, deployment field Scape only corresponds to a deployment strategy, and the corresponding deployment strategy of different deployment scenarios can be identical, can not also be identical.According to described Deployment scenario searches corresponding deployment strategy, optionally, since the performance of target deployment server is different, the system ring that can be run Border is not also identical, and therefore, in the present embodiment, same deployment scenario may correspond to more than one deployment strategy, at this point, obtaining After the deployment scenario of user's selection, show that multiple deployment strategies are selected for user, and the deployment strategy selection for detecting user refers to It enables, the corresponding deployment plan of the deployment scenario on the target deployment server is determined according to the deployment strategy selection instruction Slightly.
Optionally, in embodiments of the present invention, the corresponding relationship of the deployment scenario and the deployment strategy, can be use Family is customized, for example, the deployment services device is equipped with user interface, shows multiple portions on the user interface File pack assembly, user's customized deployment scenario on the user interface are affixed one's name to, and the deployment file packet of selection is passed through The mode of dragging is put into the customized deployment scenario frame.
Optionally, in embodiments of the present invention, in the deployment file packet include installation file packet, configuration file packet and A plurality of types of files such as Parameter File packet.Legacy system environment deployment information is obtained, is counted according to history environment deployment information The frequency of usage for all types of deployment file packets that deployment scenario uses determines the highest deployment file packet of all types of frequency of usages For the corresponding deployment file packet of the deployment scenario, the execution sequence of the determining deployment file packet is determined as the deployment Scene is corresponding to execute sequence, to generate the corresponding deployment strategy of the deployment scenario.It is automatic by big data statistical analysis Change and determine the corresponding deployment strategy of deployment scenario, had not only considered that user was accustomed to, but also save human body, and enhanced user experience.
S103: it if detecting environment Disposition Instructions, is identified according to the file packet in the preset identification path table of comparisons The middle file store path for searching the deployment file packet.
Specifically, the environment Disposition Instructions also known as a key Disposition Instructions.The environment Disposition Instructions confirm for user The corresponding deployment strategy of presently described deployment scenario.In the present embodiment, deployment file packet is stored in database server, root The file store path of the deployment file packet is searched in the identification path table according to file packet mark.The file is deposited Storage path is used to indicate the position of the deployment file packet storage.
S104: it is held according to the target of the deployment strategy, the file store path and the target deployment server The deployment file is wrapped and reaches the target deployment server execution system environments deployment by walking along the street diameter.
In embodiments of the present invention, the deployment file packet in the deployment strategy is searched according to the file store path, And the deployment file is wrapped to the position for reaching the target execution route in the target deployment server.
As an embodiment of the present invention, as shown in Fig. 2, above-mentioned S104 is specifically included:
A1: the type of the deployment file packet is determined according to deployment file packet mark, and obtains the deployment file The historical execution information of packet.The type of the deployment file packet includes configuration class, installation class, parameter class.
A2: according to the type of the deployment file packet and the historical execution information, the weight of the deployment file packet is determined It spends.Specifically, the corresponding initial different degree of type of the deployment file packet is preset, the historical execution information includes history Execute the time, history executes number etc..
A3: by the different degree from high to low by the deployment file packet sequencing.
A4: according to the ranking results of the file store path and the deployment file packet, successively in database server It is middle to search the deployment file packet.Specifically, according to the file store path and the ranking results, positive sequence traversal searches institute State deployment file packet.That is, preferentially searching the high deployment file packet of different degree.
A5: according to the target execution route, successively the deployment file found is wrapped by the ranking results It reaches the target deployment server and executes system environments deployment.
In embodiments of the present invention, the deployment file will be determined according to the type of deployment file packet and historical execution information The different degree of packet, successively searches further according to the ranking results of different degree and uploads the deployment file packet to the target deployment and take Business device executes system environments deployment, to improve the efficiency of environment deployment.
Optionally, the historical execution information includes historic execution time, when the corresponding multiple deployment of the deployment strategy There are when dependence between file packet, the specific implementation flow of the step A2 is as follows:
A21: according to the type of the file packet and the preset kind weight table of comparisons, the initial of the deployment file packet is determined Weight PRIi
A22: the different degree ImpDeg of the deployment file packet is determined according to the following formulal:
Wherein, M indicates that the history of the deployment file packet l executes number, 1≤i≤M, 1≤l, and M, l are integer, TiFor institute The historic execution time of deployment file packet l i-th execution is stated, the execution of the deployment file packet l is dependent on N number of other deployments text The execution of part packet, N are integer and 1≤i≤N, T_relyjIndicate the historic execution time of j-th of other deployments file packet, Func For any one realization from [0 ,+∞) to [0,1) map monotonically increasing function.For example, any one desirable following letter of Func Number:
Optionally, in embodiments of the present invention, the history of the deployment file packet executes number and the deployment file packet Significance level be positively correlated.
As an embodiment of the present invention, as shown in figure 3, effectively to carry out environment deployment, the effect of environment deployment is improved Rate, before above-mentioned S104, further includes:
B1: identifying according to the deployment file packet, determines that the minimum of the deployment file packet of the deployment strategy executes space. Specifically, the minimum space that executes refers to that minimum operation of the deployment file packet on the target deployment server is empty Between, according to the running space for the deployment file packet that the size of the deployment file packet determines.
B2: the remaining space of the execution route of the target deployment server is obtained.
B3: if the remaining space is wrapped the deployment file described in reaching not less than the minimum execution space Target deployment server executes system environments deployment.
Further, if the remaining space is less than the minimum execution space, user is prompted to clear up the target portion Affix one's name to the memory space of server, system environments deployment failure.
It optionally, further include system version detection before above-mentioned B1, specific steps include: to obtain the target deployment The server identification of server determines the system version for removing the target deployment server, judgement according to the server identification Whether the system version meets deployment train requirement, if not satisfied, then prompt system mismatches, it can not be in the deployment services The system environments deployment is executed on device, if satisfied, then executing the step B1.
In the embodiment of the present invention, sentenced by carrying out space detection and system version detection to the target deployment server Disconnected that system environments deployment whether can be executed in the target deployment server, to improve the efficiency of environment deployment, enhancing is used Family experience.
In the embodiment of the present invention, by obtaining the target execution route of deployment scenario and target deployment server, institute is searched The corresponding deployment strategy of deployment scenario is stated, the deployment strategy includes the file packet mark of deployment file packet, if detecting environment Disposition Instructions then search the file of the deployment file packet according to file packet mark in the preset identification path table of comparisons Store path, then automatically according to the mesh of the deployment strategy, the file store path and the target deployment server Execution route is marked, the deployment file is wrapped and reaches the target deployment server execution system environments deployment, this programme is built The corresponding relationship of vertical deployment scenario and deployment strategy, user need to only select deployment scenario and target execution route to be disposed, Key deployment can be realized, can not only save manpower, but can rapid batch dispose multiple system environments, improve system environments deployment Efficiency.
As an embodiment of the present invention, Fig. 4 shows provided in an embodiment of the present invention a kind of including updating deployment plan System environments dispositions method slightly, details are as follows:
S401: the target execution route of deployment scenario and target deployment server is obtained.
S402: searching the corresponding deployment strategy of the deployment scenario, and the deployment strategy includes the file of deployment file packet Packet mark.
In the present embodiment, the specific steps of step S401 to step S402 are referring to above-described embodiment step S101 to step S102, details are not described herein.
S403: detection deployment policy update instruction.
Specifically, the deployment strategy more new command includes addition deployment file packet, deletes deployment file packet and described One or more of the modification of deployment file packet execution sequence.
S404: if detecting the deployment strategy more new command, according to the update of the deployment strategy more new command Deployment strategy.
Specifically, updating the deployment strategy includes adjusting the corresponding deployment file packet of the deployment scenario and/or described Deployment file packet executes sequence.In the present embodiment, it is contemplated that deployment file packet the case where there are version updatings, pass through deployment Policy update instruction updates the corresponding file packet mark of deployment strategy, and the file packet of the deployment file packet of legacy version is identified replacement File packet for the deployment file packet of new version identifies, so that the validity of administration, Ministry of environment can be improved.
S405: if detecting environment Disposition Instructions, existed according to the file packet mark in the updated deployment strategy The file store path of the deployment file packet is searched in the preset identification path table of comparisons.
S406: it is held according to the target of the deployment strategy, the file store path and the target deployment server The deployment file is wrapped and reaches the target deployment server execution system environments deployment by walking along the street diameter.
In the present embodiment, the specific steps of step S405 to step S406 are referring to above-described embodiment step S103 to step S104, details are not described herein.
In the embodiment of the present invention, the deployment strategy more new command by detection user's input is corresponding to the deployment scenario Deployment strategy is updated, and executes system environments deployment further according to updated deployment strategy, and hommization considers the demand of user, Enhance user experience.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to system environments dispositions method described in foregoing embodiments, Fig. 5 shows system provided by the embodiments of the present application The structural block diagram of system environment deployment device illustrates only part relevant to the embodiment of the present application for ease of description.
Referring to Fig. 5, system environments deployment device includes: deployment information acquiring unit 51, deployment strategy searching unit 52, Store path searching unit 53, the first system environment deployment unit 54, in which:
Deployment information acquiring unit 51, for obtaining the target execution route of deployment scenario Yu target deployment server;
Deployment strategy searching unit 52, for searching the corresponding deployment strategy of the deployment scenario, the deployment strategy packet Include the file packet mark of deployment file packet;
Store path searching unit 53, if being identified according to the file packet pre- for detecting environment Disposition Instructions If the identification path table of comparisons in search the file store path of the deployment file packet;
The first system environment deployment unit 54, for according to the deployment strategy, the file store path and described The deployment file is wrapped and reaches the target deployment server execution system by the target execution route of target deployment server Environment deployment.
Optionally, as shown in fig. 6, the system environments disposes device further include:
Instruction detection unit 61 is updated, for detecting deployment policy update instruction;
Deployment strategy updating unit 62, if for detecting the deployment strategy more new command, according to the deployment plan Slightly more new command updates the deployment strategy.
At this point, the store path searching unit 53 is also used to, if detecting environment Disposition Instructions, according to the update The file that file packet mark in deployment strategy afterwards searches the deployment file packet in the preset identification path table of comparisons is deposited Store up path.
Optionally, the first system environment deployment unit 54 includes:
Deployment information determining module, for determining the type of the deployment file packet according to deployment file packet mark, And obtain the historical execution information of the deployment file packet;
Different degree computing module, for determining institute according to the type of the deployment file packet and the historical execution information State the different degree of deployment file packet;
File packet sequencing module, for pressing the different degree from high to low by the deployment file packet sequencing;
File packet searching module, for the ranking results according to the file store path and the deployment file packet, according to It is secondary that the deployment file packet is searched in database server;
System environments deployment module, for will be successively found by the ranking results according to the target execution route The deployment file wrap and reach the target deployment server and execute system environments deployment.
Optionally, the historical execution information includes historic execution time, and the different degree computing module specifically includes:
Initial weight determines submodule, for the type and the preset kind weight table of comparisons according to the file packet, determines The initial weight PRI of the deployment file packeti
Different degree computational submodule, for determining the different degree ImpDeg of the deployment file packet according to the following formulal:
Wherein, M indicates that the history of the deployment file packet l executes number, 1≤i≤M, 1≤l, and M, l are integer, TiFor institute The historic execution time of deployment file packet l i-th execution is stated, the execution of the deployment file packet l is dependent on N number of other deployments text The execution of part packet, N are integer and 1≤i≤N, T_relyjIndicate the historic execution time of j-th of other deployments file packet, Func For any one realization from [0 ,+∞) to [0,1) map monotonically increasing function.Such as any one desirable following letter of Func Number:
Optionally, the system environments disposes device further include:
Space determination unit is executed, for identifying according to the deployment file packet, determines the deployment text of the deployment strategy The minimum of part packet executes space;
Remaining space determination unit obtains the remaining space of the execution route of the target deployment server;
Second system environment deployment unit, if for the remaining space not less than the minimum execution space, by institute It states deployment file and wraps and reach the target deployment server and execute system environments deployment.If the remaining space be less than it is described most Small execution space then prompts user to clear up the memory space of the target deployment server, system environments deployment failure.
Optionally, the system environments disposes device further include:
Version detection unit, for obtaining the server identification of the target deployment server, according to the server mark Know the system version for determining and removing the target deployment server, judges whether the system version meets deployment train requirement, if It is unsatisfactory for, then prompt system mismatches, and the system environments deployment can not be executed on the deployment services device, if satisfied, then It executes and calls execution space determination unit.
In the embodiment of the present invention, by obtaining the target execution route of deployment scenario and target deployment server, institute is searched The corresponding deployment strategy of deployment scenario is stated, the deployment strategy includes the file packet mark of deployment file packet, if detecting environment Disposition Instructions then search the file of the deployment file packet according to file packet mark in the preset identification path table of comparisons Store path, then automatically according to the mesh of the deployment strategy, the file store path and the target deployment server Execution route is marked, the deployment file is wrapped and reaches the target deployment server execution system environments deployment, this programme is built The corresponding relationship of vertical deployment scenario and deployment strategy, user need to only select deployment scenario and target execution route to be disposed, Key deployment can be realized, can not only save manpower, but can rapid batch dispose multiple system environments, improve system environments deployment Efficiency.
Fig. 7 is the schematic diagram for the server that one embodiment of the invention provides.As shown in fig. 7, the server 7 of the embodiment wraps It includes: processor 70, memory 71 and being stored in the computer that can be run in the memory 71 and on the processor 70 Program 72, such as system environments deployment program.The processor 70 realizes above-mentioned each system when executing the computer program 72 Step in environment dispositions method embodiment of uniting, such as step 101 shown in FIG. 1 is to 104.Alternatively, the processor 70 executes Realize the function of each module/unit in above-mentioned each Installation practice when the computer program 72, for example, unit 51 shown in Fig. 5 to 54 function.
Illustratively, the computer program 72 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 71, and are executed by the processor 70, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 72 in the server 7 is described.
The server 7 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment. The server may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7 is only It is the example of server 7, does not constitute the restriction to server 7, may include than illustrating more or fewer components or group Close certain components or different components, for example, the server can also include input-output equipment, network access equipment, Bus etc..
The processor 70 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 71 can be the internal storage unit of the server 7, such as the hard disk or memory of server 7. The memory 71 is also possible to the External memory equipment of the server 7, such as the plug-in type being equipped on the server 7 is hard Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 71 can also both include the internal storage unit of the server 7 or wrap Include External memory equipment.The memory 71 is for other programs needed for storing the computer program and the server And data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of system environments dispositions method characterized by comprising
Obtain the target execution route of deployment scenario and target deployment server;
The corresponding deployment strategy of the deployment scenario is searched, the deployment strategy includes the file packet mark of deployment file packet;
If detecting environment Disposition Instructions, according to the lookup in the preset identification path table of comparisons of file packet mark The file store path of deployment file packet;
It, will according to the target execution route of the deployment strategy, the file store path and the target deployment server The deployment file, which is wrapped, reaches the target deployment server execution system environments deployment.
2. system according to claim 1 environment dispositions method, which is characterized in that the deployment strategy includes deployment file Packet executes sequence, if detecting environment Disposition Instructions described, according to deployment strategy described in the file packet identifier lookup Described in deployment file packet file store path before, comprising:
Detection deployment policy update instruction;
If detecting the deployment strategy more new command, the deployment strategy is updated according to the deployment strategy more new command.
3. system according to claim 1 environment dispositions method, which is characterized in that described according to the deployment strategy, institute The target execution route for stating file store path and the target deployment server is wrapped the deployment file described in reaching Target deployment server executes system environments deployment, comprising:
The type of the deployment file packet is determined according to deployment file packet mark, and obtains the history of the deployment file packet Execution information;
According to the type of the deployment file packet and the historical execution information, the different degree of the deployment file packet is determined;
By the different degree from high to low by the deployment file packet sequencing;
According to the ranking results of the file store path and the deployment file packet, institute is successively searched in database server State deployment file packet;
According to the target execution route, successively the deployment file found is wrapped by the ranking results described in reaching Target deployment server executes system environments deployment.
4. system environments dispositions method according to claim 3, which is characterized in that the historical execution information includes history Time, the type according to the deployment file packet and the historical execution information are executed, determines the deployment file packet Different degree, comprising:
According to the type of the file packet and the preset kind weight table of comparisons, the initial weight PRI of the deployment file packet is determinedi
The different degree ImpDeg of the deployment file packet is determined according to the following formulal:
Wherein, M indicates that the history of the deployment file packet l executes number, 1≤i≤M, 1≤l, and M, l are integer, TiFor the portion The historic execution time that file packet l i-th executes is affixed one's name to, the execution of the deployment file packet l depends on N number of other deployments file packet Execution, N be integer and 1≤i≤N, T_relyjIndicate that the historic execution time of j-th of other deployments file packet, Func are to appoint Anticipate one realize from [0 ,+∞) to [0,1) map monotonically increasing function.
5. system environments dispositions method according to any one of claims 1 to 4, which is characterized in that described according to The target execution route of deployment strategy, the file store path and the target deployment server, by the deployment file It wraps before reaching the target deployment server execution system environments deployment, further includes:
It is identified according to the deployment file packet, determines that the minimum of the deployment file packet of the deployment strategy executes space;
Obtain the remaining space of the execution route of the target deployment server;
If the deployment file is wrapped not less than the minimum execution space and reaches the target deployment by the remaining space Server executes system environments deployment.
6. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization system environments dispositions method as described in any one of claims 1 to 5 when the computer program is executed by processor The step of.
7. a kind of server, including memory, processor and storage can transport in the memory and on the processor Capable computer program, which is characterized in that the processor realizes following steps when executing the computer program:
Obtain the target execution route of deployment scenario and target deployment server;
The corresponding deployment strategy of the deployment scenario is searched, the deployment strategy includes the file packet mark of deployment file packet;
If detecting environment Disposition Instructions, according to the lookup in the preset identification path table of comparisons of file packet mark The file store path of deployment file packet;
It, will according to the target execution route of the deployment strategy, the file store path and the target deployment server The deployment file, which is wrapped, reaches the target deployment server execution system environments deployment.
8. server according to claim 7, which is characterized in that the deployment strategy includes that the execution of deployment file packet is suitable Sequence is disposed according to deployment strategy described in the file packet identifier lookup if detecting environment Disposition Instructions described Before the file store path of file packet, comprising:
Detection deployment policy update instruction;
If detecting the deployment strategy more new command, the deployment strategy is updated according to the deployment strategy more new command.
9. server according to claim 7, which is characterized in that described to be stored according to the deployment strategy, the file The deployment file is wrapped and reaches the target deployment clothes by the target execution route of path and the target deployment server Device execution system environments of being engaged in is disposed, comprising:
The type of the deployment file packet is determined according to deployment file packet mark, and obtains the history of the deployment file packet Execution information;
According to the type of the deployment file packet and the historical execution information, the different degree of the deployment file packet is determined;
By the different degree from high to low by the deployment file packet sequencing;
According to the ranking results of the file store path and the deployment file packet, institute is successively searched in database server State deployment file packet;
According to the target execution route, successively the deployment file found is wrapped by the ranking results described in reaching Target deployment server executes system environments deployment.
10. server according to any one of claims 7 to 9, which is characterized in that it is described according to the deployment strategy, The target execution route of the file store path and the target deployment server, the deployment file is wrapped and reaches institute State target deployment server execute system environments deployment before, further includes:
It is identified according to the deployment file packet, determines that the minimum of the deployment file packet of the deployment strategy executes space;
Obtain the remaining space of the execution route of the target deployment server;
If the deployment file is wrapped not less than the minimum execution space and reaches the target deployment by the remaining space Server executes system environments deployment.
CN201811207381.5A 2018-10-17 2018-10-17 System environment deployment method, storage medium and server Active CN109542462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811207381.5A CN109542462B (en) 2018-10-17 2018-10-17 System environment deployment method, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811207381.5A CN109542462B (en) 2018-10-17 2018-10-17 System environment deployment method, storage medium and server

Publications (2)

Publication Number Publication Date
CN109542462A true CN109542462A (en) 2019-03-29
CN109542462B CN109542462B (en) 2022-05-06

Family

ID=65844265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811207381.5A Active CN109542462B (en) 2018-10-17 2018-10-17 System environment deployment method, storage medium and server

Country Status (1)

Country Link
CN (1) CN109542462B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597520A (en) * 2019-08-27 2019-12-20 深圳证券交易所 Server, deployment method thereof and computer-readable storage medium
CN110825391A (en) * 2019-10-31 2020-02-21 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN112698839A (en) * 2020-12-30 2021-04-23 深圳前海微众银行股份有限公司 Data center node deployment method, device and system and computer storage medium
CN117785228A (en) * 2024-02-22 2024-03-29 恒生电子股份有限公司 Application deployment method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015070435A1 (en) * 2013-11-15 2015-05-21 华为技术有限公司 Service deployment method, apparatus and network device
US20150296007A1 (en) * 2014-04-11 2015-10-15 Bank Of America Corporation Automated application deployment based on server utilization
CN105843670A (en) * 2016-03-22 2016-08-10 浙江大学 Cloud platform based virtual cluster deployment and integration method
US20170206075A1 (en) * 2016-01-14 2017-07-20 Ca, Inc. Dynamic release baselines in a continuous delivery environment
CN107193616A (en) * 2017-06-30 2017-09-22 广州云移信息科技有限公司 A kind of application program updating method and terminal
US20180196662A1 (en) * 2017-01-12 2018-07-12 Metrological Media Innovations B.V. Updating software based on function usage statistics
CN108399083A (en) * 2017-02-07 2018-08-14 北京京东尚科信息技术有限公司 A kind of system deployment method, apparatus, electronic equipment and storage medium
CN108549542A (en) * 2018-04-11 2018-09-18 泰康保险集团股份有限公司 A kind of file dispositions method, device and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015070435A1 (en) * 2013-11-15 2015-05-21 华为技术有限公司 Service deployment method, apparatus and network device
US20150296007A1 (en) * 2014-04-11 2015-10-15 Bank Of America Corporation Automated application deployment based on server utilization
US20170206075A1 (en) * 2016-01-14 2017-07-20 Ca, Inc. Dynamic release baselines in a continuous delivery environment
CN105843670A (en) * 2016-03-22 2016-08-10 浙江大学 Cloud platform based virtual cluster deployment and integration method
US20180196662A1 (en) * 2017-01-12 2018-07-12 Metrological Media Innovations B.V. Updating software based on function usage statistics
CN108399083A (en) * 2017-02-07 2018-08-14 北京京东尚科信息技术有限公司 A kind of system deployment method, apparatus, electronic equipment and storage medium
CN107193616A (en) * 2017-06-30 2017-09-22 广州云移信息科技有限公司 A kind of application program updating method and terminal
CN108549542A (en) * 2018-04-11 2018-09-18 泰康保险集团股份有限公司 A kind of file dispositions method, device and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
庄威等: "云环境下基于多属性层次分析的虚拟机部署与调度策略", 《西安交通大学学报》 *
韦鹏程: "《基于虚拟化技术的云计算架构的技术与实践探究》", 30 June 2018 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597520A (en) * 2019-08-27 2019-12-20 深圳证券交易所 Server, deployment method thereof and computer-readable storage medium
CN110825391A (en) * 2019-10-31 2020-02-21 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN110825391B (en) * 2019-10-31 2023-10-13 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN112698839A (en) * 2020-12-30 2021-04-23 深圳前海微众银行股份有限公司 Data center node deployment method, device and system and computer storage medium
CN112698839B (en) * 2020-12-30 2024-04-12 深圳前海微众银行股份有限公司 Data center node deployment method, device and system and computer storage medium
CN117785228A (en) * 2024-02-22 2024-03-29 恒生电子股份有限公司 Application deployment method and device
CN117785228B (en) * 2024-02-22 2024-05-28 恒生电子股份有限公司 Application deployment method and device

Also Published As

Publication number Publication date
CN109542462B (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN109542462A (en) A kind of system environments dispositions method, storage medium and server
US11386351B2 (en) Machine learning service
US11048490B2 (en) Service placement techniques for a cloud datacenter
US9886670B2 (en) Feature processing recipes for machine learning
CN106503006B (en) Sequencing method and device for sub-applications in application App
CN110325968A (en) System upgrade management in distributed computing system
CN109542935A (en) A kind of execution method, storage medium and the server of regulation engine
US11256712B2 (en) Rapid design, development, and reuse of blockchain environment and smart contracts
CN107515890A (en) A kind of method and terminal for identifying resident point
US20120185843A1 (en) Reconfiguration of computer system to allow application installation
CN107967135A (en) Computing engines implementation method, electronic device and storage medium
CN111966912B (en) Recommendation method and device based on knowledge graph, computer equipment and storage medium
US20160171071A1 (en) Dynamic creation and configuration of partitioned index through analytics based on existing data population
CN109819286A (en) Multi-model software synchronization upgrade method, device and terminal device
CN105337783B (en) Monitor the method and device of communication equipment non-normal consumption flow
US20140214834A1 (en) Clustering signifiers in a semantics graph
US20230049351A1 (en) Query language for selecting and addressing resources
CN108446989A (en) Service charge determines method and terminal device
CN103995831B (en) Object processing method, system and device based on similarity among objects
CN110737425A (en) billing platform system application program establishing method and device
CN112967138A (en) Information pushing method and information pushing system based on block chain and cloud computing
CN112181796B (en) Information acquisition method, device, server and storage medium
US11238044B2 (en) Candidate data record prioritization for match processing
CN109840259B (en) Data query method and device, electronic equipment and readable storage medium
CN107291500B (en) Data distribution method and device for starting process

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
GR01 Patent grant
GR01 Patent grant