CN109672722B - Data deployment method and device, computer storage medium and electronic equipment - Google Patents
Data deployment method and device, computer storage medium and electronic equipment Download PDFInfo
- Publication number
- CN109672722B CN109672722B CN201811237702.6A CN201811237702A CN109672722B CN 109672722 B CN109672722 B CN 109672722B CN 201811237702 A CN201811237702 A CN 201811237702A CN 109672722 B CN109672722 B CN 109672722B
- Authority
- CN
- China
- Prior art keywords
- deployment
- cloud host
- target
- data
- cloud
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure relates to the technical field of cloud deployment, and particularly discloses a data deployment method and device, a computer storage medium and electronic equipment. The data deployment method comprises the following steps: grouping the plurality of cloud hosts according to applications installed in the plurality of cloud hosts to form one or more cloud host groups; determining a deployment unit corresponding to the cloud host group, wherein the deployment unit is connected with a cloud host in the cloud host group; acquiring a data deployment request, and acquiring data deployment information and issuing a file according to the data deployment request; and acquiring a target deployment unit and a target cloud host according to the data deployment information, and issuing the issued file to the target cloud host through the target deployment unit. The method and the device improve the efficiency of data deployment and save operation and maintenance manpower.
Description
Technical Field
The present disclosure relates to the field of cloud deployment technologies, and in particular, to a data deployment method, a data deployment apparatus, a computer storage medium, and an electronic device.
Background
With the rapid development of internet technology, application systems on traditional physical machines begin to migrate to cloud hosts, and cloud host services have gradually become service platforms providing comprehensive services for various internet users, however, cloud hosts are relatively independent and have a large number of hosts, and achieving automated deployment of hosts is especially important in order to ensure data security, reasonable allocation of storage space, reduction of operation cost, and the like.
In the prior art, in order to ensure that data can be accurately deployed to corresponding hosts, operation and maintenance personnel need to deploy each host respectively, for example, in order to perform good monitoring on a system, each host needs to deploy monitoring information, however, each host is relatively independent, and the number of hosts is large, so that the deployment work is complicated, and the overall operation and maintenance cost is increased; meanwhile, operation and maintenance personnel are difficult to avoid errors generated in the data deployment process when facing a large amount of deployment work, and the monitoring of each device is challenged.
Therefore, it is desirable to provide a new data deployment method.
It is to be noted that the information invented in the background section above is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a data deployment method and apparatus, a computer storage medium, and an electronic device, so as to overcome, at least to some extent, the problems caused by low data deployment efficiency, poor accuracy, and high operation and maintenance cost. In order to achieve the technical effects, the following technical scheme is adopted in the disclosure.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, there is provided a data deployment method including:
grouping the plurality of cloud hosts according to applications installed in the plurality of cloud hosts to form one or more cloud host groups;
determining a deployment unit corresponding to the cloud host group, wherein the deployment unit is connected with a cloud host in the cloud host group;
acquiring a data deployment request, and acquiring data deployment information and issuing a file according to the data deployment request;
and acquiring a target deployment unit and a target cloud host according to the data deployment information, and issuing the issued file to the target cloud host through the target deployment unit.
In an exemplary embodiment of the present disclosure, the data deployment information includes a service name, and the service name is a task type to be issued;
the acquiring data deployment information and issuing a file according to the data deployment request includes:
and analyzing the data deployment request to obtain the service name and the issued file.
In an exemplary embodiment of the present disclosure, when the plurality of cloud hosts are grouped into a plurality of cloud host groups according to applications installed in the plurality of cloud hosts, the number of deployment units corresponding to the cloud host groups is multiple, and each deployment unit has a different deployment unit name related to a task type to be issued;
the acquiring a target deployment unit and a target cloud host according to the data deployment information, and issuing the issued file to the target cloud host through the target deployment unit includes:
acquiring the target deployment unit and the target cloud host according to the matching result of the service name and the deployment unit name;
and issuing the issued file to the target cloud host through the target deployment unit.
In an exemplary embodiment of the present disclosure, the issued file is an installation code package or an installation code package download address.
In an exemplary embodiment of the present disclosure, the issuing the issued file to the target cloud host by the target deployment unit includes:
and issuing the installation code packet to the target cloud host through an interface between the target deployment unit and the target cloud host.
In an exemplary embodiment of the present disclosure, the issuing the issued file to the target cloud host by the target deployment unit includes:
acquiring a target installation code packet according to the installation code packet downloading address;
and issuing the target installation code packet to the target cloud host through an interface between the target deployment unit and the target cloud host.
In an exemplary embodiment of the present disclosure, the data deployment information further includes an engineering name, where the engineering name is device information of the target cloud host; the method further comprises the following steps:
generating a configuration item name corresponding to the cloud host according to the issued file and the project name;
and issuing the issued file to the target cloud host through the target deployment unit according to the configuration item name.
According to an aspect of the present disclosure, there is provided a data deployment apparatus including:
the cloud host grouping module is used for grouping the plurality of cloud hosts according to applications installed in the plurality of cloud hosts to form one or more cloud host groups;
the deployment unit setting module is used for determining a deployment unit corresponding to the cloud host group, and the deployment unit is connected with a cloud host in the cloud host group;
the information acquisition module is used for acquiring a data deployment request, acquiring data deployment information and issuing a file according to the data deployment request;
and the file issuing module is used for acquiring a target deployment unit and a target cloud host according to the data deployment information and issuing the issued file to the target cloud host through the target deployment unit.
According to an aspect of the present disclosure, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a data deployment method as described in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform any of the data deployment methods described above via execution of the executable instructions.
In the data deployment method in the embodiment of the disclosure, cloud hosts are grouped according to applications installed in the plurality of cloud hosts to obtain one or more cloud host groups; meanwhile, the cloud hosts in the cloud host group are connected with the deployment units corresponding to the cloud host group; after the data deployment information and the issued file are obtained through the data deployment request, the target deployment unit and the target cloud host are obtained according to the data deployment information, and the issued file is issued to the corresponding target cloud host through the target deployment unit. On one hand, the issued file can be simultaneously issued to the target cloud host in the cloud host group through the target deployment unit corresponding to the cloud host group, so that batched data deployment is realized, and the efficiency of data deployment is improved; on the other hand, the target deployment unit and the target cloud host can be accurately obtained according to the data deployment information, the accuracy of data deployment is improved, meanwhile, the issued file is issued to the target cloud host through the target deployment unit, manual configuration is not needed, and operation and maintenance labor is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically shows a flow diagram of a data deployment method according to an embodiment of the present disclosure;
fig. 2 schematically illustrates a structural diagram of grouping cloud hosts according to an application according to an embodiment of the present disclosure;
FIG. 3 schematically shows a structural schematic diagram of a data deployment apparatus according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a schematic diagram of a computer storage medium according to an embodiment of the present disclosure; and
fig. 5 schematically shows a block diagram of an electronic device according to an embodiment of the present disclosure.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
Exemplary embodiments will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.
In the related art in the field, when data deployment is performed on cloud hosts, if operations such as installation and update of applications or monitoring programs need to be performed on a plurality of cloud hosts, technicians are usually required to perform data deployment on one cloud host and one cloud host because the number of cloud hosts is large and the cloud hosts are independent of each other.
Accordingly, the following defects exist in the related art for data deployment of the cloud host:
when data deployment is performed on a plurality of cloud hosts, technicians need to deploy each cloud host respectively, batch processing is difficult to realize, and data deployment efficiency is low; when a data deployment task is received, corresponding deployment needs to be carried out on different cloud hosts by depending on manpower, and automatic deployment of data is difficult to realize; furthermore, when daily operation and maintenance are performed on the cloud hosts, technicians are required to take charge of the specified cloud hosts, and the increase of the number of the cloud hosts causes time and labor consumption in operation and maintenance.
Based on this, in the present exemplary embodiment, a data deployment method is first provided. Referring to fig. 1, the data deployment method may include the following steps:
step S110: grouping the plurality of cloud hosts according to applications installed in the plurality of cloud hosts to form one or more cloud host groups;
step S120: determining a deployment unit corresponding to the cloud host group, wherein the deployment unit is connected with a cloud host in the cloud host group;
step S130: acquiring a data deployment request, and acquiring data deployment information and issuing a file according to the data deployment request;
step S140: and acquiring a target deployment unit and a target cloud host according to the data deployment information, and issuing the issued file to the target cloud host through the target deployment unit.
According to the data deployment method in the embodiment, on one hand, the issued files can be simultaneously issued to the target cloud hosts in the cloud host group through the target deployment units corresponding to the cloud host group, so that batched data deployment is realized, and the efficiency of the data deployment is improved; on the other hand, the target deployment unit and the target cloud host can be accurately obtained according to the data deployment information, the accuracy of data deployment is improved, meanwhile, the issued file is issued to the target cloud host through the target deployment unit, manual configuration is not needed, and operation and maintenance labor is saved.
The data deployment of the cloud host includes installation and update of an application program on the cloud host, deployment of a monitor program on the cloud host, and the like.
In step S110, the plurality of cloud hosts are grouped according to applications installed in the plurality of cloud hosts, forming one or more cloud host groups.
In the present example embodiment, the cloud hosts are grouped according to different applications on the plurality of cloud hosts to obtain one or more cloud host groups. The application on the cloud host may include various website applications, such as a mobile phone application, a game application, and the like, and may also include a monitoring program for monitoring the cloud host system. Fig. 2 is a schematic structural diagram illustrating grouping of cloud hosts according to applications, and as shown in fig. 2, five cloud hosts are grouped according to differences of applications installed on the respective cloud hosts, where the applications installed in the cloud hosts 1 and 2 are the same, so that the cloud host 1 and the cloud host 2 are a cloud host group a, similarly, the cloud host 3 and the cloud host 4 are a cloud host group b, and only the cloud host 5 is installed with a program different from the foregoing application program, so that only the cloud host 5 is included in the cloud host group c. It should be noted that the number of cloud hosts included in each cloud host group is determined by the number of cloud hosts included in the cloud host group, where a certain same application is installed, the number of cloud hosts in one cloud host group may not be limited to the number in this example embodiment, and may also be 10, 20, and the like, and the present disclosure includes but is not limited to the above numbers. The cloud hosts are divided into a plurality of groups through different applications installed on the cloud hosts, and each cloud host group serves as a management group, so that the mass management of the cloud hosts is realized.
In step S120, a deployment unit corresponding to the cloud host group is determined, and the deployment unit is connected to a cloud host in the cloud host group.
In this exemplary embodiment, the cloud host group includes a plurality of cloud hosts installed with the same application, a deployment unit corresponding to the cloud host group is determined, one cloud host group corresponds to one deployment unit, and the deployment unit is connected to a plurality of cloud hosts in the corresponding cloud host group through interfaces, such as API interfaces. Further, the deployment unit name may be set for the corresponding deployment unit according to the service name corresponding to the same application installed in the multiple cloud hosts in the cloud host group. For example, as shown in fig. 2, if the same monitoring application is installed on both the cloud host 1 and the cloud host 2, it is determined that the service name type of the same application installed on each cloud host in the cloud host group a is the monitoring application class, a deployment unit name is set for a deployment unit corresponding to the cloud host group a as monitoring deployment, and correspondingly, if the same mobile phone application class is installed on both the cloud host 3 and the cloud host 4, and a game application class is installed on the cloud host 5, deployment unit names are set for a deployment unit corresponding to the cloud host group b and a deployment unit corresponding to the cloud host c as mobile phone application deployment and game application deployment, respectively. The deployment unit is connected with the client through an entrance interface and used for receiving a data deployment request sent by a user and sending the issued file to the corresponding cloud host through an interface connected with the cloud host in the cloud host group. It should be noted that the deployment unit name of the deployment unit corresponding to the cloud host group is set according to the service name to which the same application installed on a plurality of cloud hosts in the cloud host group belongs, the application may also belong to other service names, and the deployment unit name of the deployment unit corresponding to the cloud host group may also be set according to other service names, which includes but is not limited to the above deployment unit name.
In step S130, a data deployment request is obtained, and data deployment information and a delivered file are obtained according to the data deployment request.
In this exemplary embodiment, after acquiring a data deployment request sent by a user, a data analysis module is used to analyze the data deployment request to obtain data deployment information and send a file from the data deployment request, where the data analysis module may be a data analysis module in a deployment unit or a data analysis module independent from the deployment unit; specifically, the data analysis module may be a panda data analysis module Pandas, a scientific calculation analysis module scipy, or the like, which is not specifically limited in this disclosure. The data deployment information includes a service name, and the service name is a type of a task issued by a user in the data deployment request, such as a monitoring application type and a mobile phone application type. The types of the issued files can be two types: one is an installation code package, such as that of a monitoring application; the other is an installation code package download address, and when the download file in the data deployment information obtained according to the data deployment request is the installation code package download address, the installation code package needs to be obtained through the data analysis module according to the installation code package download address.
In step S140, a target deployment unit and a target cloud host are obtained according to the data deployment information, and the delivered file is delivered to the target cloud host by the target deployment unit.
In this example embodiment, since the deployment unit name corresponding to the cloud host group is set according to the service name to which the same application installed in the multiple cloud hosts in the cloud host group belongs, the service name acquired from the data deployment information may be matched with the deployment unit name corresponding to the cloud host group, and the target deployment unit and the target cloud host may be acquired according to the matching result. As shown in fig. 2, after the sent data deployment request is obtained, the data deployment request is analyzed by the data analysis module, a service name in the data deployment information is obtained as an "updated monitoring application", and a deployment unit name matched with the service name "updated monitoring application" is determined as a monitoring deployment according to matching between the service name and three deployment unit names of monitoring deployment, mobile phone application deployment and game application deployment, and then the deployment unit corresponding to the deployment unit name monitoring deployment is determined as a target deployment unit, and the cloud host 1 and the cloud host 2 in the cloud host group a corresponding to the target deployment unit are target cloud hosts. Further, the target deployment unit monitors deployment of the installation code package in the data deployment information, and the target deployment unit monitors deployment and an interface N between the deployment and the cloud host group a corresponding to the monitored deployment1And issuing the installation code packet acquired from the data deployment information to the cloud host 1 and the cloud host 2 in the cloud host group a.
In addition, although the target deployment unit and the target cloud host are obtained by matching the service name with the deployment unit name, the engineering names of the target cloud hosts are different, such as the IP address of the cloud host, the identification information of the cloud host, the equipment code, and the like; the instances of the target cloud hosts differ, such as computing instance C3Big data type example D1And the like, the difference of the cloud host CPU, the memory, the storage and the like exists due to different instance types. Therefore, in order to smoothly and seamlessly issue the installation code package to the target cloud hosts in the cloud host group corresponding to the target deployment unit name, the configuration item names corresponding to the cloud hosts can be generated according to the issued file in the data deployment information and the project names in the data deployment information, wherein the project names are the equipment information of the target cloud hosts, and the equipment information is executed if necessaryAn identification code of the cloud host for the data deployment (e.g., IP address of the cloud host, device code); and finally, the installation code packet in the issued file is issued to the target cloud host according to the target deployment unit and the configuration item names of the cloud hosts, so that the data deployment information can be accurately deployed, operation and maintenance personnel are prevented from deploying one cloud host and one cloud host, the data deployment efficiency is improved, and operation and maintenance manpower is reduced.
In addition, in the example embodiment, a data deployment device is also provided. Referring to fig. 3, the data deploying apparatus 300 may include: the system comprises a cloud host grouping module 310, a deployment unit setting module 320, an information acquisition module 330 and a file issuing module 340. In particular, the amount of the solvent to be used,
the cloud host grouping module 310 is configured to group a plurality of cloud hosts according to applications installed in the plurality of cloud hosts to form one or more cloud host groups;
a deployment unit setting module 320, configured to determine a deployment unit corresponding to the cloud host group, where the deployment unit is connected to a cloud host in the cloud host group;
the information obtaining module 330 is configured to obtain a data deployment request, and obtain data deployment information and issue a file according to the data deployment request;
the file issuing module 340 is configured to obtain a target deployment unit and a target cloud host according to the data deployment information, and issue the issued file to the target cloud host through the target deployment unit.
Since each functional module of the data deployment apparatus in the embodiment of the present disclosure is the same as that in the embodiment of the present invention of the data deployment method, it is not described herein again.
Further, in an exemplary embodiment of the present disclosure, there is also provided a computer storage medium capable of implementing the above method. On which a program product capable of implementing the above-described method of the present specification is stored. In some possible embodiments, aspects of the present disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 4, a program product 400 for implementing the above method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided. As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 500 according to such an embodiment of the present disclosure is described below with reference to fig. 5. The electronic device 500 shown in fig. 5 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device 500 is embodied in the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: the at least one processing unit 510, the at least one memory unit 520, a bus 530 connecting various system components (including the memory unit 520 and the processing unit 510), and a display unit 540.
Wherein the storage unit stores program code that is executable by the processing unit 510 to cause the processing unit 510 to perform steps according to various exemplary embodiments of the present disclosure as described in the above section "exemplary methods" of this specification.
The memory unit 520 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)5201 and/or a cache memory unit 5202, and may further include a read only memory unit (ROM) 5203.
The electronic device 500 may also communicate with one or more external devices 600 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 500, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 550. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 560. As shown, the network adapter 560 communicates with the other modules of the electronic device 500 over the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.
Claims (10)
1. A method of data deployment, comprising:
grouping the plurality of cloud hosts according to applications installed in the plurality of cloud hosts to form one or more cloud host groups;
determining a deployment unit corresponding to the cloud host group, wherein the deployment unit is connected with a cloud host in the cloud host group, and the deployment unit has a deployment unit name related to a task issuing type;
acquiring a data deployment request, acquiring data deployment information and issuing a file according to the data deployment request, wherein the data deployment information comprises a service name;
and acquiring a target deployment unit and a target cloud host according to the matching result of the service name and the deployment unit name, and issuing the issued file to the target cloud host through the target deployment unit.
2. The data deployment method of claim 1,
the acquiring data deployment information and issuing a file according to the data deployment request includes:
analyzing the data deployment request to obtain the service name and the issued file;
the service name is a task issuing type.
3. The data deployment method of claim 2, wherein when the plurality of cloud hosts are grouped into a plurality of cloud host groups according to applications installed in the plurality of cloud hosts, the number of deployment units corresponding to the cloud host groups is multiple, and each deployment unit has a different deployment unit name related to a type of a delivered task.
4. The data deployment method of any one of claims 1-3, wherein the issued file is an installation code package or an installation code package download address.
5. The data deployment method of claim 4, wherein the issuing the issued file to the target cloud host by the target deployment unit comprises:
and issuing the installation code packet to the target cloud host through an interface between the target deployment unit and the target cloud host.
6. The data deployment method of claim 4, wherein the issuing the issued file to the target cloud host by the target deployment unit comprises:
acquiring a target installation code packet according to the installation code packet downloading address;
and issuing the target installation code packet to the target cloud host through an interface between the target deployment unit and the target cloud host.
7. The data deployment method of claim 1, wherein the data deployment information further comprises an engineering name, the engineering name being equipment information of the target cloud host; the method further comprises the following steps:
generating a configuration item name corresponding to the cloud host according to the issued file and the project name;
and issuing the issued file to the target cloud host through the target deployment unit according to the configuration item name.
8. A data deployment apparatus, the apparatus comprising:
the cloud host grouping module is used for grouping the plurality of cloud hosts according to applications installed in the plurality of cloud hosts to form one or more cloud host groups;
the deployment unit setting module is used for determining a deployment unit corresponding to the cloud host group, and the deployment unit is connected with a cloud host in the cloud host group, wherein the deployment unit has a deployment unit name related to a task issuing type;
the information acquisition module is used for acquiring a data deployment request, acquiring data deployment information and issuing a file according to the data deployment request, wherein the data deployment information comprises a service name;
and the file issuing module is used for acquiring a target deployment unit and a target cloud host according to the matching result of the service name and the deployment unit, and issuing the issued file to the target cloud host through the target deployment unit.
9. A storage medium having stored thereon a computer program which, when executed by a processor, implements a data deployment method according to any one of claims 1-7.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the data deployment method of any one of claims 1-7 via execution of the executable instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237702.6A CN109672722B (en) | 2018-10-23 | 2018-10-23 | Data deployment method and device, computer storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237702.6A CN109672722B (en) | 2018-10-23 | 2018-10-23 | Data deployment method and device, computer storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109672722A CN109672722A (en) | 2019-04-23 |
CN109672722B true CN109672722B (en) | 2022-04-26 |
Family
ID=66142475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811237702.6A Active CN109672722B (en) | 2018-10-23 | 2018-10-23 | Data deployment method and device, computer storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109672722B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110196722B (en) * | 2019-05-07 | 2023-11-28 | 平安科技(深圳)有限公司 | Cloud host batch management method, system, equipment and storage medium |
CN111782523B (en) * | 2020-06-29 | 2024-06-04 | 深圳赛安特技术服务有限公司 | Cloud service deployment test method, device, electronic device and storage medium |
CN113938322A (en) * | 2021-12-16 | 2022-01-14 | 杭州乒乓智能技术有限公司 | Multi-cloud operation and maintenance management method and system, electronic device and readable storage medium |
CN114721728A (en) * | 2022-03-07 | 2022-07-08 | 阿里巴巴(中国)有限公司 | Processing method based on cloud application, electronic equipment and storage medium |
CN115361278A (en) * | 2022-08-02 | 2022-11-18 | 青岛海尔科技有限公司 | Cloud host deployment method, device and equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912375A (en) * | 2016-05-31 | 2016-08-31 | 乐视控股(北京)有限公司 | Method and device for deploying application programs to servers |
CN106095498A (en) * | 2016-06-03 | 2016-11-09 | 深圳市永兴元科技有限公司 | The method and device that software is disposed |
CN106293842A (en) * | 2016-08-12 | 2017-01-04 | 杭州华三通信技术有限公司 | A kind of software installation method and device |
US9547564B1 (en) * | 2014-11-10 | 2017-01-17 | Amazon Technologies, Inc. | Automated deployment of applications |
CN106775801A (en) * | 2016-11-09 | 2017-05-31 | 广东浪潮大数据研究有限公司 | A kind of software batch dispositions method, device and system |
CN107632834A (en) * | 2017-09-08 | 2018-01-26 | 北京小度信息科技有限公司 | Self-defined application dispositions method, device, equipment and computer-readable recording medium |
CN108446123A (en) * | 2017-02-14 | 2018-08-24 | 北京金山云网络技术有限公司 | A kind of application deployment method and device |
CN108509203A (en) * | 2018-03-13 | 2018-09-07 | 腾讯科技(深圳)有限公司 | Across the cloud dispositions method of software, computer equipment and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050289538A1 (en) * | 2004-06-23 | 2005-12-29 | International Business Machines Corporation | Deploying an application software on a virtual deployment target |
JP2014164545A (en) * | 2013-02-26 | 2014-09-08 | Canon Inc | Deployment method and program |
CN104601622B (en) * | 2013-10-31 | 2018-04-17 | 国际商业机器公司 | A kind of method and system for disposing cluster |
CN107465548A (en) * | 2017-08-17 | 2017-12-12 | 北京云纵信息技术有限公司 | The dispositions method and device of code |
-
2018
- 2018-10-23 CN CN201811237702.6A patent/CN109672722B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9547564B1 (en) * | 2014-11-10 | 2017-01-17 | Amazon Technologies, Inc. | Automated deployment of applications |
CN105912375A (en) * | 2016-05-31 | 2016-08-31 | 乐视控股(北京)有限公司 | Method and device for deploying application programs to servers |
CN106095498A (en) * | 2016-06-03 | 2016-11-09 | 深圳市永兴元科技有限公司 | The method and device that software is disposed |
CN106293842A (en) * | 2016-08-12 | 2017-01-04 | 杭州华三通信技术有限公司 | A kind of software installation method and device |
CN106775801A (en) * | 2016-11-09 | 2017-05-31 | 广东浪潮大数据研究有限公司 | A kind of software batch dispositions method, device and system |
CN108446123A (en) * | 2017-02-14 | 2018-08-24 | 北京金山云网络技术有限公司 | A kind of application deployment method and device |
CN107632834A (en) * | 2017-09-08 | 2018-01-26 | 北京小度信息科技有限公司 | Self-defined application dispositions method, device, equipment and computer-readable recording medium |
CN108509203A (en) * | 2018-03-13 | 2018-09-07 | 腾讯科技(深圳)有限公司 | Across the cloud dispositions method of software, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109672722A (en) | 2019-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109672722B (en) | Data deployment method and device, computer storage medium and electronic equipment | |
CN110297689B (en) | Intelligent contract execution method, device, equipment and medium | |
EP3575975B1 (en) | Method and apparatus for operating smart network interface card | |
CN110989926B (en) | Faulty disk slot location method, device and electronic equipment | |
CN111949484B (en) | Information processing method, device, electronic equipment and medium | |
US11934287B2 (en) | Method, electronic device and computer program product for processing data | |
US9948524B2 (en) | Network element diagnostic evaluation | |
US10216617B2 (en) | Automatically complete a specific software task using hidden tags | |
CN111046007B (en) | Method, apparatus and computer program product for managing a storage system | |
JP2022033685A (en) | Method, apparatus, electronic device, computer readable storage medium and computer program for determining robustness | |
US11144429B2 (en) | Detecting and predicting application performance | |
CN104809063A (en) | Test method and device of distributed system | |
CN112615758B (en) | An application identification method, device, device and storage medium | |
CN112463574B (en) | Software testing method, device, system, equipment and storage medium | |
CN111241048A (en) | Web terminal log management method, device, medium and electronic equipment | |
CN107861821B (en) | Mining method and device for module call relation and computer readable medium | |
CN112579406B (en) | Log call chain generation method and device | |
CN112615909A (en) | Method for storing data in cascade storage server cluster and related equipment | |
WO2021044502A1 (en) | Test design device, test design method, test design program, and test design system | |
CN109144864B (en) | Method and device for testing window | |
US20200401336A1 (en) | Dynamic api allocation based on data-tagging | |
US11662927B2 (en) | Redirecting access requests between access engines of respective disk management devices | |
CN116662302A (en) | Data processing method, device, electronic equipment and storage medium | |
CN113569256A (en) | Vulnerability scanning method and device, vulnerability scanning system, electronic equipment and computer readable medium | |
CN110602162B (en) | Terminal evidence obtaining method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |