CN107766060A - Application configuration dispositions method and device - Google Patents

Application configuration dispositions method and device Download PDF

Info

Publication number
CN107766060A
CN107766060A CN201711060767.3A CN201711060767A CN107766060A CN 107766060 A CN107766060 A CN 107766060A CN 201711060767 A CN201711060767 A CN 201711060767A CN 107766060 A CN107766060 A CN 107766060A
Authority
CN
China
Prior art keywords
application
configuration
application service
information
server node
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
CN201711060767.3A
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.)
New H3C Cloud Technologies Co Ltd
Original Assignee
New H3C Cloud Technologies 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 New H3C Cloud Technologies Co Ltd filed Critical New H3C Cloud Technologies Co Ltd
Priority to CN201711060767.3A priority Critical patent/CN107766060A/en
Publication of CN107766060A publication Critical patent/CN107766060A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The present invention relates to configuring technical field, and in particular to a kind of application configuration dispositions method and device, for being configured to multiple application services, application configuration dispositions method includes:Obtain application identities corresponding to each application service and shown, the application identities chosen according to user generate configuration interface, and receive the configuration information that user inputs in the configuration interface, receive the dependency information between each application service of user's input, each application service is attached to server node according to the dependency information, and according to configuration information update application service corresponding with the configuration information.Visualization layout to each application service is realized by the above method and configuration operates, can effectively reduce the probability of the layout to each application service and configuration error, and then effectively improves the efficiency and reliability of layout and configuration.

Description

Application configuration dispositions method and device
Technical field
The present invention relates to configuring technical field, in particular to a kind of application configuration dispositions method and device.
Background technology
In the prior art, generally use micro services tactic pattern when enterprise's renewal and reparation service, micro services tactic pattern It is that the micro services that monomer-type application decomposition is small interconnection, a micro services are typically completed into some specific function.Hair A person of good sense it has been investigated that, numerous using the micro services being related to during the IT clouds of enterprise, dependence is complicated, this meeting Cause to service carry out deployment error probability it is larger.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of application configuration dispositions method and device, to improve Above mentioned problem.
Present pre-ferred embodiments provide a kind of application configuration dispositions method, for matching somebody with somebody to multiple application services Put, methods described includes:
Obtain application identities corresponding to each application service and shown;
The application identities chosen according to user generate configuration interface, and receive the configuration that user inputs in the configuration interface Information;
Receive the dependency information between each application service of user's input;
Each application service is attached to server node according to the dependency information, and matches somebody with somebody confidence according to described Breath updates application service corresponding with the configuration information.
In presently preferred embodiments of the present invention selection, in above-mentioned application configuration dispositions method, the application service includes The installation script of application software, the step of each application service is attached into server node according to the dependence, wrap Include:
The boot sequence of each application service is obtained according to the dependency information;
The installation script of each application service is performed according to the boot sequence of each application service, will be with installation foot Application software corresponding to this is attached to server node.
In presently preferred embodiments of the present invention selection, in above-mentioned application configuration dispositions method, according to the dependence The step of each application service is attached into server node includes:
The information that user's request logs on to server node is received, and after logining successfully, is pacified to the server node Agent components are filled, so that each application service is attached to server node by the Agent components according to the dependence.
Presently preferred embodiments of the present invention selection in, in above-mentioned application configuration dispositions method, perform according to it is described according to Before the step of each application service is attached to server node by the relation of relying, methods described also includes:Match somebody with somebody confidence to described Breath, dependency information and each application service carry out packing and are applied template;
Receive to the operation information of the application template to generate deployment window;
The deployment information that user inputs in the deployment window is received, to obtain server section according to the deployment information Point.
In presently preferred embodiments of the present invention selection, in above-mentioned application configuration dispositions method, according to the deployment information The step of obtaining server node includes:
Call the interface of application platform and server node is generated according to the deployment information.
In presently preferred embodiments of the present invention selection, in above-mentioned application configuration dispositions method, answered according to what user chose The step of generating configuration interface with mark includes:
Obtain user choose to the application identities of configuring area, when application identities be present in the configuring area generation with Configuration interface corresponding to the application identities.
In presently preferred embodiments of the present invention selection, in above-mentioned application configuration dispositions method, the reception user input Each application service between dependency information the step of include:
Receive the points relationship of the line relation and each line between each application identities of user's input;
Each application identities are obtained according to the annexation between each application identities and the points relationship of each line Dependency information between corresponding each application service.
In presently preferred embodiments of the present invention selection, in above-mentioned application configuration dispositions method, methods described also includes:
The operation result of each application service is obtained, obtains the topology of each application service and the server node Relation is simultaneously shown.
The present invention also provides a kind of application configuration deployment device, for being configured to multiple application services, described device Including:
Identifier acquisition module:For obtaining application identities corresponding to each application service and being shown;
Configuration information receiving module:Application identities for being chosen according to user generate configuration interface, and receive user and exist The configuration information of the configuration interface input;
Dependence receiving module:The dependency information between each application service for receiving user's input;
Config update module:For each application service to be attached into server section according to the dependency information Point, and according to configuration information update application service corresponding with the configuration information.
In presently preferred embodiments of the present invention selection, disposed in above-mentioned application configuration in device, the application service includes The installation script of application software, the config update module include:
Order acquisition submodule:For obtaining the boot sequence of each application service according to the dependency information;
Configure submodule:For performing the installation foot of each application service according to the boot sequence of each application service This, server node is attached to by application software corresponding with installation script.
In presently preferred embodiments of the present invention selection, disposed in above-mentioned application configuration in device, the config update module: It is additionally operable to receive the information that user's request logs on to server node, and after logining successfully, is installed to the server node Agent components, so that each application service is attached to server node by the Agent components according to the dependence.
In presently preferred embodiments of the present invention selection, disposed in above-mentioned application configuration in device, described device also includes:
Application template generation module:For beating the configuration information, dependency information and each application service Wrap the template that is applied;
Dispose window generation module:For receiving to the operation information of the application template to generate deployment window;
Node generation module:The deployment information inputted for receiving user in the deployment window, with according to the portion Administration's information obtains server node.
In presently preferred embodiments of the present invention selection, disposed in above-mentioned application configuration in device, the node generation module It is additionally operable to call the interface of application platform and server node is generated according to the deployment information.In presently preferred embodiments of the present invention In selection, disposed in above-mentioned application configuration in device, the configuration information receiving module:Acquisition user is additionally operable to choose to configuration The application identities in region, generation configuration interface corresponding with application identities when application identities be present in the configuring area.
In presently preferred embodiments of the present invention selection, disposed in above-mentioned application configuration in device, the dependence receives Module includes:
Receiving submodule:The finger of line relation and each line between each application identities inputted for receiving user To relation;
Dependence generates submodule:For according to the annexation between each application identities and the sensing of each line Relation obtains the dependency information between each application service corresponding to each application identities.
In presently preferred embodiments of the present invention selection, disposed in above-mentioned application configuration in device, described device also includes:
Operation result acquisition module:For obtaining the operation result of each application service, each application service is obtained With the topological relation of the server node and being shown.
Another embodiment of the present invention provides a kind of computer-readable recording medium, and the readable storage medium storing program for executing includes Computer program, terminal device performs above-mentioned application the computer program controls the readable storage medium storing program for executing when running where Configure dispositions method.
Application configuration dispositions method and device provided in an embodiment of the present invention, by obtaining corresponding to each application service Application identities are simultaneously shown that the application identities chosen according to user generate configuration interface, and receive user in configuration circle The configuration information of face input, receives the dependency information between each application service of user's input, according to the dependence Each application service is attached to server node by relation information, and according to the configuration information update and the configuration information pair The application service answered, realize and each application service is carried out to visualize layout and configuration operation, can effectively reduce to each The layout of application service and the probability of configuration error, and then effectively improve the efficiency and reliability of layout and configuration.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is a kind of block diagram for terminal device 10 that present pre-ferred embodiments provide.
Fig. 2 is a kind of flow chart for application configuration dispositions method that present pre-ferred embodiments provide.
Fig. 3 is the sub-step schematic diagram of step S130 in Fig. 2.
Fig. 4 is the sub-step schematic diagram of step S140 in Fig. 2.
Fig. 5 is a kind of another flow chart for application configuration dispositions method that present pre-ferred embodiments provide.
Fig. 6 is a kind of timing diagram for application configuration dispositions method that present pre-ferred embodiments provide.
Fig. 7 is the block diagram that a kind of application configuration that present pre-ferred embodiments provide disposes device.
Fig. 8 is a kind of block diagram for dependence receiving module that present pre-ferred embodiments provide.
Fig. 9 is a kind of block diagram for config update module that present pre-ferred embodiments provide.
Figure 10 is another block diagram that a kind of application configuration that present pre-ferred embodiments provide disposes device.
Mark:10- terminal devices;12- memories;14- processors;100- application configurations dispose device;110- marks obtain Modulus block;120- configuration information receiving modules;130- dependence receiving modules;132- receiving submodules;134- dependences Generate submodule;140- config update modules;142- order acquisition submodules;144- configures submodule;150- application templates are given birth to Into module;160- disposes window generation module;170- node generation modules;180- operation result acquisition modules.
Embodiment
Micro services as emerging software architecture, its act on be large-scale single application program and service are split as it is tens of Individual micro services.Each micro services include independent configuration, independent operation container, and service that can be independent as one starts.
Therefore, after existing large-scale enterprise application system carries out micro services, each micro services can be according to the clothes of its offer Business forms different clusters, is scheduled and is disposed by Distributed Services registration center.
Study and find through inventor, micro services carry the container that service starts and run, and single micro services deployment is simpler Single, still, under the cluster environment of business application system, each business application system is split into as dozens of micro services, Error rate increases during configuration and deployment are easily caused when being disposed to each micro services under cluster environment, in turn results in configuration The problem of disposing low efficiency and poor reliability.
Based on this, the embodiment of the present invention provides a kind of application configuration deployment scheme, the program realize visualization deployment and Micro services are managed, user, which can be disposed and be managed to each micro services according to actual scene, to be configured and disposed with effective reduce The probability to be malfunctioned in journey, and then improve configuration and deployment efficiency and reliability.Wherein, realize visualization deployment can by with Display function and the terminal device realization with data-handling capacity.
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.
As shown in figure 1, it is a kind of block diagram for terminal device 10 that present pre-ferred embodiments provide.It is of the invention real It can be the equipment that tablet personal computer, computer etc. possess data-handling capacity and display function to apply the terminal device 10 in example.Such as Shown in Fig. 1, terminal device 10 can include:Memory 12, processor 14 and it is stored on the memory 12 and can be in institute The computer program run on processor 14 is stated, the processor 14 causes the terminal device 10 to realize when performing described program The application configuration dispositions method of the present invention.
The memory 12 is directly or indirectly electrically connected between each other with processor 14, with realize the transmission of data or Interaction.It is electrically connected with for example, these elements can be realized by one or more communication bus or signal wire between each other.Memory The software function module being stored in the form of software or firmware (Firmware) in the memory 12 is stored with 12, it is described Processor 14 is stored in software program and module in memory 12 by operation, such as the application configuration in the embodiment of the present invention Device 100 is disposed, so as to perform various function application and data processing, that is, realizes the application configuration portion in the embodiment of the present invention Arranging method.
It is appreciated that structure shown in Fig. 1 is only to illustrate, terminal device 10 may also include it is more more than shown in Fig. 1 or Less component, or there is the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its Combination is realized.
Fig. 2 is please referred to, the embodiments of the invention provide a kind of application configuration dispositions method, methods described includes step Tetra- steps of S110- steps S140.
Step S110:Obtain application identities corresponding to each application service and shown.
Optionally, each application service can independent operating, the corresponding function of completing of different application services can not Together, application identities corresponding to different application services are different.The application identities can be but not limited to icon, word or symbol Number.
For example, when multiple application services that are mutually related form and call a taxi application, it is the multiple to be served by including But it is not limited to passenger interface application, driver's interface application, Customer information management application, driver information management application, passenger's registration Application, road management application are registered using, driver, bill application, pay application and prompting is applied.
Step S120:The application identities chosen according to user generate configuration interface, and receive user in the configuration interface The configuration information of input.
Wherein, the application identities that user chooses can be one or multiple, be not especially limited herein.User In port numbers and/or the service release number that the configuration information of configuration interface input includes but is not limited to service.
According to user choose application identities generation configuration interface mode have it is a variety of, for example, it may be according to user's point The application identities generation work column hit, and the application configuration deployment option in the work column is clicked on to generate configuration interface, It can be that the application identities double-clicked according to user generate configuration interface, can also be and pulled or chosen to configuring area according to user Application identities generation configuration interface, be not especially limited herein.
Optionally, in the present embodiment, the step of application identities chosen according to user generate configuration interface includes: Obtain user to choose to the application identities of configuring area, generation and the application mark when application identities be present in the configuring area Configuration interface corresponding to knowledge.
Wherein, it can be one to choose to the application identities of the configuring area, and multiple, do not limited specifically herein It is fixed.The configuring area can be shown in the form of window, can also be located at the specific location of display interface, such as be shown At the upper right corner at interface or the upper left position of display interface, chosen when by the application identities to the window or the ad-hoc location Generation configuration interface corresponding with application identities during place.
Step S130:Receive the dependency information between each application service of user's input.
Wherein, user input each application service between dependence can be inputted by the configuration interface it is each Between dependence between application service or each application service inputted using written form or form according to The relation of relying, can also be line is carried out to each application identities and be set to point between each application identities that relation obtains according to The relation of relying, is not especially limited herein.
Dependence between each application service is intuitively and easily set for the convenience of the user, and each application service it Between set dependence error when, facilitate user to check and correct.It is optionally, in the present embodiment, described incorporated by reference to Fig. 3 The step of receiving the dependence between each application service of user's input includes following sub-step:
Sub-step S132:The sensing for receiving the line relation between each application identities of user's input and each line is closed System.
Sub-step S134:Each institute is obtained according to the annexation between each application identities and the points relationship of each line State the dependency information between each application service corresponding to application identities.
For example, when multiple application services include passenger's management application and passenger registers application, by the passenger Manage and line is set between the mark of application and the mark of passenger registration application, and set passenger to note on the line The arrow that passenger manages application is pointed in volume application, then the passenger can be obtained according to the sensing of the line and arrow and registers application Manage and apply dependent on the passenger.
Step S140:Each application service is attached to server node according to the dependency information, and according to Configuration information update application service corresponding with the configuration information.
Realized by the above method and each application service is carried out to visualize layout and configuration operation, can effectively dropped The low layout to each application service and the probability of configuration error, and then effectively improve and layout is carried out to each application service and matched somebody with somebody The efficiency put, and realize the automated maintenance to the application service.
Incorporated by reference to Fig. 4, optionally, the application service includes the installation script of application software, according to the dependence Each application service is attached into server node to realize by following sub-step.
Sub-step S142:The boot sequence of each application service is obtained according to the dependency information.
Sub-step S144:The installation script of each application service is performed according to the boot sequence of each application service, So that application software corresponding with installation script is attached into server node.
By above-mentioned setting so that each application service is installed on after the server node starts according to boot sequence During each application service, each application service can be effectively avoided to there is a situation where to start failure or using abnormal.
For example, when the multiple application service form call a taxi using include passenger register application and passenger management apply, And passenger's registration application is managed dependent on the passenger when applying, managed according to passenger registration application dependent on passenger Start using passenger's management application is obtained prior to passenger registration application, obtain passenger's management application and multiply with described The boot sequence of visitor's registration application so that the passenger manages application and passenger registers application and performed according to above-mentioned boot sequence Passenger manages the installation script of application and passenger registers the installation for the installation script applied.Multiply described in performing after completion of installation When visitor's management application registers application with passenger, the passenger manages application and started prior to passenger's registration application.Pass through above-mentioned setting Application startup is managed prior to passenger effectively to avoid passenger from registering application, causes user can not register or register unsuccessful feelings Condition, the problem of effectively avoiding layout and configure error.
Incorporated by reference to Fig. 5, optionally, in the present embodiment, performing each application service according to the dependence Before the step of being attached to server node, methods described also includes:
Step S150:Packing is carried out to the configuration information, dependency information and each application service to be applied mould Plate.
Step S160:Receive to the operation information of the application template to generate deployment window.
Wherein, it can receive for every in a manner of generating deployment window to receive the operation information to the application template Individual application service operate the operation information of generation, with corresponding each application service generation deployment window, can also receive User for the application template carry out operate generation operation information with to should application template generate one deployment window.Example Such as, can generate multiple deployment options after user carries out one click to the application template, and according in the plurality of deployment The corresponding deployment window of deployment option generation chosen in option, the deployment option is deployment option or application corresponding to application template Deployment option corresponding to service, it can also be clicked on to obtain each application service disposed in window with and to each application service Clicked on or pulled respectively and dispose window corresponding to each application service to generate, can also double-clicked or continue repeatedly to click on generation Deployment window corresponding to one application template.It is not especially limited herein.
Step S170:The deployment information that user inputs in the deployment window is received, to be obtained according to the deployment information To server node.
Wherein, the deployment information can be resource allocation information and need server node quantity or Server node information.
When the deployment information is server node information, above-mentioned steps S160- steps S170 implementation process is as follows: The operation information that terminal device 10 receives each application service being directed in the application template generates a deployment window respectively, The server node information of application service corresponding to the deployment window that reception user inputs in the deployment window, and according to The server node information obtains server node.Manual configuration to server node is realized by the above method.Its In, it is each it is described should service corresponding to server node information can be that identical can also be different, the server section Point information can be one or multiple, be not especially limited herein.
When the deployment information is the quantity of resource allocation information and the service node needed, in the present embodiment, institute Stating the step of generating server node according to the deployment information includes:Call the interface of application platform and believed according to the deployment Breath generation server node.
Wherein, the application platform associates with the terminal device 10, and the application platform can be cloud platform.When described When deployment information is the quantity of the service node of resource allocation information and needs, above-mentioned steps S160- steps S170 implementation Journey can be:Terminal device 10 receives a deployment window for application template generation, and receives user in the deployment The resource allocation information of window input and the quantity of the server node needed, so that terminal device 10 calls the application platform Interface and according to the quantity of the resource allocation information and the server node of needs generate server node.Wherein, it is described Resource allocation information includes the information of the physical source distributings such as network, storage.Realized by the above method to server node Automatically configure.Wherein, the quantity of the service node can be one or multiple, can be according to actually being set Put.
In the present embodiment, each application service is attached to the side of server node according to the dependency information Method can include:The information that user's request logs on to server node is received, and after logining successfully, to the server node Middle installation agent component, so that each application service is attached to server section by the Agent components according to the dependence Point.
Optionally, for the Agent components to install the software of each application service, the Agent components are stored in terminal In the terminal software of equipment 10, the terminal software can be with Telnet to the server node and to the server node Middle installation agent component, so that each application service is attached to server section by the Agent components according to the dependence Point, to realize automated maintenance.
Optionally, in the present embodiment, methods described also includes:The operation result of each application service is obtained, is obtained The topological relation of each application service and corresponding server node is simultaneously shown.Wherein, the operation result is successfully or lost Lose.
By above-mentioned setting, so that user can be visually known each application service according to the topological relation of each application service Corresponding relation between corresponding server node, and operation result for failure when, such as exist application service configuration error or When boot sequence malfunctions, the server node according to corresponding to the topological relation searches the application service, to facilitate user to log in Debugged to the server node and to the application service.Wherein, the user can be tester or operation maintenance personnel.
In order to which the implementation process of the embodiment of the present invention is expanded on further, in the following manner to answering in the embodiment of the present invention It is illustrated with configuration dispositions method.
Incorporated by reference to Fig. 6, the embodiments of the invention provide a kind of timing diagram of application configuration dispositions method.Wherein, it is described to answer Realized with configuration dispositions method based on the terminal device 10 being provided with using shop, multiple answer is stored with the terminal device 10 The application identities corresponding to service and each application service.When user opens the application shop, the terminal device 10 obtains Application identities corresponding to each application service are simultaneously shown.When the application service that user is configured to needs configures When, the terminal device 10 receives user and chosen to the application identities of configuring area to generate configuration interface, and receives user and exist Configuration information is inputted on configuration interface.When user is configured to the dependence between each application identities, the end End equipment 10 receives the dependence between each application service of user's input.Completion and dependence are inputted in configuration information After being provided with, the terminal device 10 is by between each application service, configuration information and each application service Dependence carries out packing and is applied template, and the terminal device 10 can be by being operated with life to the application template Into deployment information, so that the deployment information for user's input that terminal device 10 receives obtains server node.The terminal is set The request of standby 10 reception user's input logs on to the information of server node, and after logining successfully, to the server node Middle installation agent component, so that Agent components obtain the application template in the terminal device 10 and will be each in the application template Application service is attached to the server node according to the dependence, is taken according to being applied corresponding to the configuration information update Business.After renewal is completed, the terminal device 10 obtains the postrun result of each application service and each application clothes It is engaged in and the topological relation of the server node and is shown.
The visualization layout of each application service is realized by the above method and configuration operates, can effectively be reduced pair The layout of each application service and the probability of configuration error, and then effectively improve the efficiency and reliability of layout and configuration.
Referring to Fig. 7, on the basis of the above, the embodiment of the present invention also provides a kind of application configuration deployment device 100, is used for Multiple application services are configured, the application configuration deployment device 100 includes:Identifier acquisition module 110, configuration information connect Receive module 120, dependence receiving module 130 and config update module 140.
The identifier acquisition module 110 is used to obtain application identities corresponding to each application service and be shown.Tool Body, the identifier acquisition module 110 can be used for performing the step S110 shown in Fig. 2, and specific operating method refers to walk Rapid S110 detailed description.
The application identities that the configuration information receiving module 120 is used to be chosen according to user generate configuration interface, and receive The configuration information that user inputs in the configuration interface.Specifically, the configuration information receiving module 120 can be used for performing Fig. 2 Shown in step S120, specific operating method refers to step S120 detailed description.
Optionally, in the present embodiment, the configuration information receiving module 120 be additionally operable to obtain user choose to configuring area The application identities in domain, generation configuration interface corresponding with application identities when application identities be present in the configuring area.
The dependence receiving module 130 is used to receive the dependence between each application service of user's input Information.Specifically, the dependence receiving module 130 can be used for performing the step S130 shown in Fig. 2, specific operation side Method refers to step S130 detailed description.
Referring to Fig. 8, optional, in the present embodiment, the dependence receiving module 130 includes:Receiving submodule 132 and dependence generation submodule 134.
The receiving submodule 132 is used to receive the line relation between each application identities of user's input and respectively connected The points relationship of line.Specifically, the receiving submodule 132 can be used for performing the sub-step S132 shown in Fig. 3, specific behaviour Sub-step S132 detailed description is referred to as method.
The dependence generation submodule 134 is used for according to the annexation between each application identities and each line Points relationship obtain the dependency information between each application service corresponding to each application identities.Specifically, it is described according to The relation of relying generation submodule 134 can be used for performing the step S134 shown in Fig. 3, and specific operating method refers to step S134 Detailed description.
The config update module 140 is used to each application service is attached into service according to the dependency information Device node, and according to configuration information update application service corresponding with the configuration information.Specifically, the config update mould Block 140 can be used for performing the step S140 shown in Fig. 2, and specific operating method refers to step S140 detailed description.
Referring to Fig. 9, optional, in the present embodiment, the application service includes the installation script of application software, described Config update module 140 includes order acquisition submodule 142 and configuration submodule 144.
The order acquisition submodule 142 is used to obtain the startup of each application service according to the dependency information Sequentially.Specifically, the order acquisition submodule 142 can be used for performing the sub-step S142 shown in Fig. 4, specific operation side Method refers to sub-step S142 detailed description.
The configuration submodule 144 is used to perform each application service according to the boot sequence of each application service Installation script, application software corresponding with installation script is attached to server node.Specifically, the configuration submodule 144 can be used for performing the sub-step S144 shown in Fig. 4, and specific operating method refers to sub-step S144 detailed description.
Optionally, in the present embodiment, the config update module 140 is additionally operable to reception user's request and logs on to server The information of node, and after logining successfully, to the server node installation agent component, so that the Agent components are according to institute State dependence and each application service is attached to server node.
Referring to Fig. 10, optional, in the present embodiment, the application configuration deployment device 100 also includes application template Generation module 150, deployment window generation module 160 and node generation module 170.
The application template generation module 150 is used for the configuration information, dependency information and each application service Packing is carried out to be applied template.Specifically, the step of application template generation module 150 can be used for performing shown in Fig. 5 S150, specific operating method refer to step S150 detailed description.
The deployment window generation module 160 is used to receive to the operation information of the application template to generate deployment window Mouthful.Specifically, the deployment window generation module 160 can be used for performing the step S160 shown in Fig. 5, specific operating method Refer to step S160 detailed description.
The node generation module 170 is used to receive the deployment information that user inputs in the deployment window, with basis The deployment information obtains server node.Specifically, the node generation module 170 can be used for performing the step shown in Fig. 5 Rapid S170, specific operating method refer to step S170 detailed description.
Optionally, in the present embodiment, the application configuration deployment device 100 also includes operation result acquisition module 180.
The operation result acquisition module 180 is used to obtain the operation result of each application service, obtain it is each it is described should With the topological relation serviced with the server node and shown.It is specific due to the operation result acquisition module 180 Implementation process is described in foregoing application configuration dispositions method, thus therefore not to repeat here.
To sum up, a kind of application configuration dispositions method and device provided by the invention, for multiple applications that are mutually related Service is configured, and application configuration dispositions method includes:Obtain application identities corresponding to each application service and shown, The application identities chosen according to user generate configuration interface, and receive the configuration information that user inputs in the configuration interface, connect The dependency information between each application service of user's input is received, according to the dependency information by each application Service is attached to server node, and according to configuration information update application service corresponding with the configuration information.By upper State method and each application service is carried out to visualize layout and configuration operation to realize, and then conveniently manage each application clothes Business, effectively reduction are to the layout of each application service and the probability of configuration error and then effectively improve efficiency, and realize and answer described With the automated maintenance of service.
In several embodiments that the embodiment of the present invention is provided, it should be understood that disclosed apparatus and method, also may be used To realize by another way.Apparatus and method embodiment described above is only schematical, for example, in accompanying drawing Flow chart and block diagram show the device of multiple embodiments according to the present invention, the possibility of method and computer program product is realized Architectural framework, function and operation.At this point, each square frame in flow chart or block diagram can represent module, a program A part for section or code, a part for the module, program segment or code include one or more and are used to realize defined patrol Collect the executable instruction of function.It should also be noted that at some as the function of in the implementation replaced, being marked in square frame Can be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be held substantially in parallel OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or The combination of each square frame and block diagram in flow chart and/or the square frame in flow chart, function or dynamic as defined in performing can be used The special hardware based system made is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment to perform the present invention The all or part of step of each embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage Device (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or light Disk etc. is various can be with the medium of store program codes.It should be noted that herein, term " comprising ", "comprising" or its Any other variant is intended to including for nonexcludability so that process, method, article including a series of elements or Equipment not only includes those key elements, but also the other element including being not expressly set out, or also include for this process, Method, article or the intrinsic key element of equipment.In the absence of more restrictions, limited by sentence "including a ..." Key element, it is not excluded that other identical element in the process including the key element, method, article or equipment also be present.
The alternative embodiment of the present invention is the foregoing is only, is not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. application configuration dispositions method, for being configured to multiple application services, it is characterised in that methods described bag Include:
    Obtain application identities corresponding to each application service and shown;
    The application identities chosen according to user generate configuration interface, and receive user and match somebody with somebody confidence what the configuration interface inputted Breath;
    Receive the dependency information between each application service of user's input;
    Each application service is attached to server node according to the dependency information, and according to the configuration information more Newly application service corresponding with the configuration information.
  2. 2. application configuration dispositions method according to claim 1, it is characterised in that the application service includes application software Installation script, the step of each application service is attached into server node according to the dependence includes:
    The boot sequence of each application service is obtained according to the dependency information;
    The installation script of each application service is performed according to the boot sequence of each application service, will be with installation script pair The application software answered is attached to server node.
  3. 3. application configuration dispositions method according to claim 1, it is characterised in that will be each described according to the dependence Application service, which is attached to the step of server node, to be included:
    The information that user's request logs on to server node is received, and after logining successfully, to the server node is installed generation Component is managed, so that each application service is attached to server node by the Agent components according to the dependence.
  4. 4. application configuration dispositions method according to claim 1, it is characterised in that will according to the dependence performing Before the step of each application service is attached to server node, methods described also includes:
    Packing is carried out to the configuration information, dependency information and each application service to be applied template;
    Receive to the operation information of the application template to generate deployment window;
    The deployment information that user inputs in the deployment window is received, to obtain server node according to the deployment information.
  5. 5. application configuration dispositions method according to claim 1, it is characterised in that the application identities chosen according to user are given birth to Include into the step of configuration interface:
    Obtain user to choose to the application identities of configuring area, generation was with that should answer when application identities be present in the configuring area The configuration interface corresponding to mark.
  6. 6. application configuration dispositions method according to claim 1, it is characterised in that methods described also includes:
    The operation result of each application service is obtained, obtains the topological relation of each application service and the server node And shown.
  7. 7. a kind of application configuration disposes device, for being configured to multiple application services, it is characterised in that described device bag Include:
    Identifier acquisition module:For obtaining application identities corresponding to each application service and being shown;
    Configuration information receiving module:Application identities for being chosen according to user generate configuration interface, and receive user described The configuration information of configuration interface input;
    Dependence receiving module:The dependency information between each application service for receiving user's input;
    Config update module:For each application service to be attached into server node according to the dependency information, and According to configuration information update application service corresponding with the configuration information.
  8. 8. application configuration according to claim 7 disposes device, it is characterised in that the application service includes application software Installation script, the config update module includes:
    Order acquisition submodule:For obtaining the boot sequence of each application service according to the dependency information;
    Configure submodule:For performing the installation script of each application service according to the boot sequence of each application service, So that application software corresponding with installation script is attached into server node.
  9. 9. application configuration according to claim 7 disposes device, it is characterised in that described device also includes:
    Application template generation module:For to the configuration information, dependency information and each application service pack To application template;
    Dispose window generation module:For receiving to the operation information of the application template to generate deployment window;
    Node generation module:The deployment information inputted for receiving user in the deployment window, to be believed according to the deployment Breath obtains server node.
  10. 10. a kind of computer-readable recording medium, it is characterised in that the readable storage medium storing program for executing includes computer program, described Terminal device perform claim is required described in 1~6 any one computer program controls the readable storage medium storing program for executing when running where Application configuration dispositions method.
CN201711060767.3A 2017-10-31 2017-10-31 Application configuration dispositions method and device Pending CN107766060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711060767.3A CN107766060A (en) 2017-10-31 2017-10-31 Application configuration dispositions method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711060767.3A CN107766060A (en) 2017-10-31 2017-10-31 Application configuration dispositions method and device

Publications (1)

Publication Number Publication Date
CN107766060A true CN107766060A (en) 2018-03-06

Family

ID=61272100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711060767.3A Pending CN107766060A (en) 2017-10-31 2017-10-31 Application configuration dispositions method and device

Country Status (1)

Country Link
CN (1) CN107766060A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762769A (en) * 2018-06-04 2018-11-06 万惠投资管理有限公司 Micro services application layout and dispositions method, device and terminal
CN109032758A (en) * 2018-07-31 2018-12-18 曙光信息产业(北京)有限公司 Container swarm intelligence life cycle management method and device
CN109800008A (en) * 2018-12-29 2019-05-24 深圳云天励飞技术有限公司 Configure update method and Related product
CN110413288A (en) * 2019-07-31 2019-11-05 新华三大数据技术有限公司 Using dispositions method, device, server and storage medium
WO2019242162A1 (en) * 2018-06-22 2019-12-26 平安科技(深圳)有限公司 Middleware installation method and apparatus, and computer device and storage medium
CN110750415A (en) * 2019-09-20 2020-02-04 平安普惠企业管理有限公司 Interface service configuration method, device, medium and computer equipment
CN110858806A (en) * 2018-08-23 2020-03-03 阿里巴巴集团控股有限公司 Generation method and device of node deployment file, node deployment method and device and electronic equipment
CN110889881A (en) * 2019-11-11 2020-03-17 北京明略软件系统有限公司 Method and device for generating flow chart and computer readable storage medium
CN111209052A (en) * 2018-11-20 2020-05-29 北京京东尚科信息技术有限公司 Application starting method and system
CN111782231A (en) * 2020-07-14 2020-10-16 厦门市美亚柏科信息股份有限公司 Service deployment method and device
CN111857738A (en) * 2020-08-05 2020-10-30 北京千丁互联科技有限公司 Privatization deployment method and device
CN112083912A (en) * 2020-08-17 2020-12-15 山东中创软件商用中间件股份有限公司 Intermediate result processing method, device, equipment and storage medium for service arrangement
CN113238763A (en) * 2021-05-17 2021-08-10 京东数字科技控股股份有限公司 Application deployment method, device, storage medium and program product
CN113330716A (en) * 2020-12-31 2021-08-31 山石网科通信技术股份有限公司 Method and device for determining dependency relationship of application service and processor
CN113434159A (en) * 2021-07-08 2021-09-24 恒安嘉新(北京)科技股份公司 Visual operation and maintenance management elastic search method, device, medium and electronic equipment
CN114020281A (en) * 2021-11-08 2022-02-08 中电金信软件有限公司 Database deployment method, application service deployment method and device
CN114647419A (en) * 2022-02-15 2022-06-21 北京百度网讯科技有限公司 Service deployment processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631623A (en) * 2013-11-29 2014-03-12 浪潮(北京)电子信息产业有限公司 Method and device for allocating application software in trunking system
CN104079657A (en) * 2014-07-07 2014-10-01 用友软件股份有限公司 Configurable cluster deployment device and method based on templates
CN104317642A (en) * 2014-09-28 2015-01-28 华为技术有限公司 Method and device for configuring software in cloud calculation environment
US20150127613A1 (en) * 2013-08-01 2015-05-07 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and application platform for updating application object attribute
CN105704188A (en) * 2014-11-27 2016-06-22 华为软件技术有限公司 Deployment method and apparatus of applications and services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150127613A1 (en) * 2013-08-01 2015-05-07 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and application platform for updating application object attribute
CN103631623A (en) * 2013-11-29 2014-03-12 浪潮(北京)电子信息产业有限公司 Method and device for allocating application software in trunking system
CN104079657A (en) * 2014-07-07 2014-10-01 用友软件股份有限公司 Configurable cluster deployment device and method based on templates
CN104317642A (en) * 2014-09-28 2015-01-28 华为技术有限公司 Method and device for configuring software in cloud calculation environment
CN105704188A (en) * 2014-11-27 2016-06-22 华为软件技术有限公司 Deployment method and apparatus of applications and services

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762769A (en) * 2018-06-04 2018-11-06 万惠投资管理有限公司 Micro services application layout and dispositions method, device and terminal
CN108762769B (en) * 2018-06-04 2022-06-21 万惠投资管理有限公司 Microservice application arranging and deploying method and device and computer terminal
WO2019242162A1 (en) * 2018-06-22 2019-12-26 平安科技(深圳)有限公司 Middleware installation method and apparatus, and computer device and storage medium
CN109032758A (en) * 2018-07-31 2018-12-18 曙光信息产业(北京)有限公司 Container swarm intelligence life cycle management method and device
CN109032758B (en) * 2018-07-31 2021-07-13 曙光信息产业(北京)有限公司 Container cluster intelligent life cycle management method and device
CN110858806B (en) * 2018-08-23 2023-02-17 阿里巴巴集团控股有限公司 Generation method and device of node deployment file, node deployment method and device and electronic equipment
CN110858806A (en) * 2018-08-23 2020-03-03 阿里巴巴集团控股有限公司 Generation method and device of node deployment file, node deployment method and device and electronic equipment
CN111209052A (en) * 2018-11-20 2020-05-29 北京京东尚科信息技术有限公司 Application starting method and system
CN109800008A (en) * 2018-12-29 2019-05-24 深圳云天励飞技术有限公司 Configure update method and Related product
CN110413288A (en) * 2019-07-31 2019-11-05 新华三大数据技术有限公司 Using dispositions method, device, server and storage medium
CN110413288B (en) * 2019-07-31 2023-05-09 新华三大数据技术有限公司 Application deployment method, device, server and storage medium
CN110750415A (en) * 2019-09-20 2020-02-04 平安普惠企业管理有限公司 Interface service configuration method, device, medium and computer equipment
CN110889881A (en) * 2019-11-11 2020-03-17 北京明略软件系统有限公司 Method and device for generating flow chart and computer readable storage medium
CN111782231A (en) * 2020-07-14 2020-10-16 厦门市美亚柏科信息股份有限公司 Service deployment method and device
CN111857738A (en) * 2020-08-05 2020-10-30 北京千丁互联科技有限公司 Privatization deployment method and device
CN112083912A (en) * 2020-08-17 2020-12-15 山东中创软件商用中间件股份有限公司 Intermediate result processing method, device, equipment and storage medium for service arrangement
CN112083912B (en) * 2020-08-17 2024-03-12 山东中创软件商用中间件股份有限公司 Service orchestration intermediate result processing method, device, equipment and storage medium
CN113330716A (en) * 2020-12-31 2021-08-31 山石网科通信技术股份有限公司 Method and device for determining dependency relationship of application service and processor
WO2022141340A1 (en) * 2020-12-31 2022-07-07 山石网科通信技术股份有限公司 Method and apparatus for determining dependency between application services, and processor
CN113238763A (en) * 2021-05-17 2021-08-10 京东数字科技控股股份有限公司 Application deployment method, device, storage medium and program product
CN113434159A (en) * 2021-07-08 2021-09-24 恒安嘉新(北京)科技股份公司 Visual operation and maintenance management elastic search method, device, medium and electronic equipment
CN114020281A (en) * 2021-11-08 2022-02-08 中电金信软件有限公司 Database deployment method, application service deployment method and device
CN114647419A (en) * 2022-02-15 2022-06-21 北京百度网讯科技有限公司 Service deployment processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107766060A (en) Application configuration dispositions method and device
CN108427581A (en) System micro services method and terminal device
US20170244626A1 (en) Device and settings management platform
CN108182140A (en) Determine the performance capability with monitoring computer resource service
US20160210632A1 (en) Secured payment method and relevant device and system
CN107870845A (en) Towards the management method and system of micro services framework applications
CN106202117A (en) Data processing method, device and server
CN105612497A (en) Automatic installation of selected updates in multiple environments
CN108255847A (en) Page generation method and device
CN101977121A (en) Configuration file processing method, device and system
CN105612495A (en) Automatically resolving conflicts after installation of selected updates in computer system
US10644973B2 (en) Monitoring of availability data for system management environments
CN108595316A (en) Life cycle management method, manager, equipment and the medium of Distributed Application
CN110120970A (en) Data processing method, device and gateway system based on car networking
CN104133765B (en) The test case sending method of network activity and test case server
CN112486491A (en) Page generation method and device, computer equipment and storage medium
CN105302709B (en) Test data generating method and equipment
CN106406952A (en) An electronic terminal and an application program management device and method
CN111242462B (en) Data processing method and device, computer storage medium and electronic equipment
KR20130140508A (en) Apparatus for collecting log information
CN103902310B (en) Scheduling system and method for starting of virtual machines
CN110537167A (en) The automatic supply of application program
US7496349B1 (en) Device driven system for activating a wireless device
CN109491909A (en) A kind of CPLD refreshes verification method, device, terminal and storage medium
US11057455B1 (en) File transfer abstraction on a computer network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306

RJ01 Rejection of invention patent application after publication