CN115567596A - Cloud service resource deployment method, device, equipment and storage medium - Google Patents

Cloud service resource deployment method, device, equipment and storage medium Download PDF

Info

Publication number
CN115567596A
CN115567596A CN202211195731.7A CN202211195731A CN115567596A CN 115567596 A CN115567596 A CN 115567596A CN 202211195731 A CN202211195731 A CN 202211195731A CN 115567596 A CN115567596 A CN 115567596A
Authority
CN
China
Prior art keywords
resource deployment
resource
configuration information
deployment
information
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
CN202211195731.7A
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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202211195731.7A priority Critical patent/CN115567596A/en
Publication of CN115567596A publication Critical patent/CN115567596A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The disclosure provides a cloud service resource deployment method, a cloud service resource deployment device, cloud service resource deployment equipment and a storage medium, which can be applied to the field of cloud computing and the field of the Internet. The method is applied to a resource deployment terminal and comprises the following steps: responding to a resource deployment request sent by a client, and screening initial resource deployment configuration information matched with first resource deployment information from a resource deployment configuration information base according to the first resource deployment information in the resource deployment request; updating the initial resource deployment parameters in the initial resource deployment configuration information according to the second resource deployment information in the resource deployment request to obtain target resource deployment configuration information; generating a resource deployment instruction for deploying cloud service resources according to the target resource deployment configuration information; and sending a resource deployment instruction to the target cloud server matched with the cloud server identifier, so that the target cloud server executes the resource deployment instruction to realize the deployment operation of the target cloud service resource.

Description

Cloud service resource deployment method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of cloud computing and the field of internet, and in particular, to a method, an apparatus, a device, a medium, and a program product for deploying cloud service resources.
Background
Cloud Computing (Cloud Computing), which is a kind of distributed Computing, may be to decompose a data Computing processing program with a large Computing amount into a plurality of applets through a network "Cloud", and then process and analyze processing results of the applets through a Cloud system composed of a plurality of Cloud servers to obtain Computing results. Service resources such as service programs distributed in various cloud servers (or cloud service platforms) are reasonably deployed, and the method is an important means for meeting requirements of related cloud service users such as enterprises. In order to deploy cloud service resources conveniently, cloud resource deployment tools such as Terraform and the like can be adopted in the related technologies to deploy corresponding cloud service resources in different cloud platforms so as to meet the requirements of users for flexibly constructing cloud service resources.
However, as the business of the organization is continuously expanded, the complexity of the business system is increased, and the cloud service resource deployment processes of creating and revoking the cloud service resources by the user are usually complex in operation and long in time consumption, so that the personalized requirements of the user on flexibly deploying the cloud service resources are difficult to meet in time.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a cloud service resource deployment method, apparatus, device, medium, and program product.
According to a first aspect of the present disclosure, a cloud service resource deployment method is provided, which is applied to a resource deployment end, and includes:
responding to a resource deployment request sent by a client, and screening initial resource deployment configuration information matched with first resource deployment information from a resource deployment configuration information base according to the first resource deployment information in the resource deployment request, wherein the first resource deployment configuration information is used for representing a configuration information identifier of the initial resource deployment configuration information;
updating initial resource deployment parameters in the initial resource deployment configuration information according to second resource deployment information in the resource deployment request to obtain target resource deployment configuration information, wherein the target resource deployment configuration information comprises a cloud server identifier and a target cloud service resource identifier;
generating a resource deployment instruction for deploying cloud service resources according to the target resource deployment configuration information; and
and sending the resource deployment instruction to a target cloud server matched with the cloud server identifier, so that the target cloud server executes the resource deployment instruction to implement the deployment operation of the target cloud service resource.
According to the embodiment of the present disclosure, screening out the initial resource deployment configuration information matched with the first resource deployment information from the resource deployment configuration information base according to the first resource deployment information in the resource deployment request includes:
extracting keywords from first resource deployment information in the resource deployment request to obtain the configuration information identifier; and
and screening the initial resource deployment configuration information with the configuration information identification from a resource deployment configuration information base.
According to an embodiment of the present disclosure, the second resource deployment information is associated with a configuration information identifier in the first resource deployment information;
updating the initial resource deployment parameters in the initial resource deployment configuration information according to the second resource deployment information in the resource deployment request includes:
determining target initial resource deployment configuration information corresponding to the second resource deployment information according to the incidence relation between the second resource deployment information and the configuration information identifier; and
and updating the initial resource deployment parameters in the target initial resource deployment configuration information by using the target resource deployment parameters in the second resource deployment information to obtain the target resource deployment configuration information.
According to an embodiment of the disclosure, the executing, by the target cloud service end, the resource deployment instruction to implement the deployment operation on the target cloud service resource includes:
and deleting the target cloud service resources matched with the target cloud service resource identification according to the target cloud service resource identification in the resource deployment instruction.
According to an embodiment of the disclosure, the executing, by the target cloud server, the resource deployment instruction to implement the deployment operation on the target cloud service resource includes:
and creating the target cloud service resource according to the target cloud service resource identifier in the resource deployment instruction and the target resource deployment configuration information.
According to an embodiment of the present disclosure, the resource deployment request includes a resource deployment request ciphertext;
before screening out initial resource deployment configuration information matched with the first resource deployment information from a resource deployment configuration information base, the cloud service resource deployment method further includes:
and decrypting the resource deployment request ciphertext based on a preset algorithm to obtain a resource deployment request plaintext.
According to a second aspect of the present disclosure, a cloud service resource deployment method is provided, which is applied to a client, and includes:
extracting a resource deployment terminal address, a configuration information identifier and a target resource deployment parameter corresponding to the target cloud service resource identifier from preset resource deployment plan information;
generating first resource deployment information according to the configuration information identifier;
generating second resource deployment information according to the configuration information identifier and the target resource deployment parameter;
constructing a resource deployment request according to the resource deployment terminal address, the first resource deployment information and the second resource deployment information; and
and sending the resource deployment request to a resource deployment terminal matched with the address of the resource deployment terminal.
According to an embodiment of the present disclosure, the configuration information identifier includes a plurality of identifiers;
generating the first resource deployment information according to the configuration information identifier includes:
and splicing a plurality of configuration information identifications based on a preset rule to obtain the first resource deployment information.
According to an embodiment of the present disclosure, the configuration information identifier and the target resource deployment parameter both include a plurality of identifiers;
generating second resource deployment information according to the configuration information identifier and the target resource deployment parameter includes:
storing the configuration information identifier and the target resource deployment parameter corresponding to the configuration information identifier in an initial configuration information node in an associated manner to obtain a target configuration information node corresponding to the configuration information identifier;
and constructing the second resource deployment information according to a plurality of target configuration information nodes corresponding to the configuration information identifiers respectively.
According to an embodiment of the present disclosure, the resource deployment request includes a resource deployment request ciphertext;
constructing a resource deployment request according to the resource deployment end address, the first resource deployment information, and the second resource deployment information includes:
processing the resource deployment terminal address, the first resource deployment information and the second resource deployment information based on a target protocol to obtain a resource deployment request plaintext; and
and encrypting the resource deployment request plaintext based on a preset algorithm to obtain a resource deployment request ciphertext.
According to a third aspect of the present disclosure, there is provided a cloud service resource deployment apparatus, applied to a resource deployment end, including:
the screening module is used for responding to a resource deployment request sent by a client, screening initial resource deployment configuration information matched with first resource deployment information from a resource deployment configuration information base according to the first resource deployment information in the resource deployment request, wherein the first resource deployment configuration information is used for representing a configuration information identifier of the initial resource deployment configuration information;
a first updating module, configured to update an initial resource deployment parameter in the initial resource deployment configuration information according to second resource deployment information in the resource deployment request, to obtain target resource deployment configuration information, where the target resource deployment configuration information includes a cloud server identifier and a target cloud service resource identifier;
the resource deployment instruction generating module is used for generating a resource deployment instruction for deploying the cloud service resources according to the target resource deployment configuration information; and
and the first sending module is used for sending the resource deployment instruction to a target cloud server matched with the cloud server identifier, so that the target cloud server executes the resource deployment instruction, and the deployment operation of the target cloud service resource is realized.
According to a fourth aspect of the present disclosure, there is also provided a cloud service resource deployment apparatus, applied to a client, including:
the extraction module is used for extracting a resource deployment terminal address, a configuration information identifier and a target resource deployment parameter corresponding to the target cloud service resource identifier from preset resource deployment plan information;
the first resource deployment information generation module is used for generating first resource deployment information according to the configuration information identifier;
a second resource deployment information generating module, configured to generate second resource deployment information according to the configuration information identifier and the target resource deployment parameter;
a resource deployment request construction module, configured to construct a resource deployment request according to the resource deployment end address, the first resource deployment information, and the second resource deployment information; and
and a second sending module, configured to send the resource deployment request to a resource deployment node matched with the address of the resource deployment node.
A fifth aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the cloud service resource deployment method described above.
A sixth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions, which when executed by a processor, cause the processor to execute the cloud service resource deployment method described above.
A seventh aspect of the present disclosure also provides a computer program product, which includes a computer program, and when executed by a processor, implements the cloud service resource deployment method described above.
According to the cloud service resource deployment method, the device, the equipment, the medium and the program product, the initial resource deployment configuration information is screened out according to the first resource deployment information in the resource deployment request, the initial resource deployment parameters in the initial resource deployment information are updated by using the second resource deployment information, and therefore target resource deployment configuration information for automatically deploying the cloud service resources can be generated, the technical problem that operation time is long due to the fact that relevant personnel respectively deploy each cloud service resource is at least partially avoided, deployment efficiency of the cloud service resources is improved, then resource deployment instructions for deploying the cloud service resources are generated based on the target resource deployment configuration information, the resource deployment instructions are sent to the cloud service terminals matched with the cloud service terminal identifications, deployment operation of the cloud service resources in the cloud service terminals can be achieved through remote control of the resource deployment terminals by the client terminals, geographic position limitation that the cloud service resources need to be deployed based on the resource terminals in the relevant technology is at least partially overcome, and technical effects of improving flexibility and overall deployment efficiency of the cloud service resources are achieved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, taken in conjunction with the accompanying drawings of which:
fig. 1 schematically illustrates an application scenario diagram of a cloud service resource deployment method and apparatus according to an embodiment of the present disclosure;
fig. 2 schematically shows a flowchart of a cloud service resource deployment method applied to a resource deployment end according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flowchart for updating initial resource deployment parameters in initial resource deployment configuration information according to second resource deployment information in a resource deployment request according to an embodiment of the present disclosure;
fig. 4 schematically shows a flowchart of a cloud service resource deployment method applied to a client according to an embodiment of the present disclosure;
FIG. 5 schematically shows a flowchart for generating second resource deployment information according to a configuration information identifier and a target resource deployment parameter, according to an embodiment of the present disclosure;
fig. 6 schematically illustrates an application scenario diagram of a cloud service resource deployment method according to an embodiment of the present disclosure;
fig. 7 schematically shows a block diagram of a cloud service resource deployment apparatus according to an embodiment of the present disclosure;
fig. 8 schematically shows a block diagram of a cloud service resource deployment apparatus according to another embodiment of the present disclosure; and
fig. 9 schematically shows a block diagram of an electronic device adapted to implement a cloud service resource deployment method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B, and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, and C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.).
In the technical scheme of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure, application and other processing of the related data (such as but not limited to personal information of the user) are all in accordance with the regulations of the relevant laws and regulations, and necessary security measures are taken without violating the customs of the public order.
The embodiment of the disclosure provides a cloud service resource deployment method, which is applied to a resource deployment terminal and comprises the following steps:
responding to a resource deployment request sent by a client, and screening initial resource deployment configuration information matched with first resource deployment information from a resource deployment configuration information base according to the first resource deployment information in the resource deployment request, wherein the first resource deployment configuration information is used for representing configuration information identification of the initial resource deployment configuration information; updating initial resource deployment parameters in the initial resource deployment configuration information according to second resource deployment information in the resource deployment request to obtain target resource deployment configuration information, wherein the target resource deployment configuration information comprises a cloud service terminal identifier and a target cloud service resource identifier; generating a resource deployment instruction for deploying cloud service resources according to the target resource deployment configuration information; and sending a resource deployment instruction to a target cloud server matched with the cloud server identification, so that the target cloud server executes the resource deployment instruction to realize the deployment operation of the target cloud service resource.
According to the embodiment of the disclosure, the initial resource deployment configuration information is screened out according to the first resource deployment information in the resource deployment request, and the initial resource deployment parameters in the initial resource deployment information are updated by using the second resource deployment information, so that the target resource deployment configuration information for automatically deploying the cloud service resources can be generated, the technical problem that the operation time is long due to the fact that relevant personnel respectively deploy each cloud service resource is at least partially avoided, the deployment efficiency of the cloud service resources is improved, then the resource deployment instruction for deploying the cloud service resources is generated based on the target resource deployment configuration information, and the resource deployment instruction is sent to the cloud service end matched with the cloud service end identification, the deployment operation of the cloud service resources in the cloud service end can be realized by remotely controlling the resource deployment end through the client, the geographical position limitation that the cloud service resources need to be deployed based on the resource deployment end in the relevant technology is at least partially overcome, and the technical effects of improving the flexibility and the overall deployment efficiency of the cloud service resources are realized.
The embodiment of the disclosure provides a cloud service resource deployment method applied to a client, which includes:
extracting a resource deployment terminal address, a configuration information identifier and a target resource deployment parameter corresponding to the target cloud service resource identifier from preset resource deployment plan information; generating first resource deployment information according to the configuration information identifier; generating second resource deployment information according to the configuration information identifier and the target resource deployment parameter; constructing a resource deployment request according to the resource deployment terminal address, the first resource deployment information and the second resource deployment information; and sending a resource deployment request to the resource deployment end matched with the address of the resource deployment end.
According to the embodiment of the disclosure, the first resource deployment information is generated according to the configuration information identifier, the second resource deployment information is generated according to the configuration information identifier and the target resource deployment parameter, and the resource deployment request is constructed according to the first resource deployment information and the second resource deployment information, so that the client can use the resource deployment request to enable the resource deployment terminal to call the corresponding initial resource deployment configuration information and update the target resource deployment configuration information, thereby realizing the deployment operation of the cloud service resources by remotely controlling the resource deployment terminal, and enabling the client to simultaneously control a plurality of resource deployment terminals to realize the cloud service resource deployment of the cloud service terminals corresponding to the plurality of resource deployment terminals, thereby realizing the technical effect of improving the cloud service resource deployment efficiency.
Fig. 1 schematically shows an application scenario diagram of a cloud service resource deployment method and apparatus according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, a server 105, a first cloud server 106, a second cloud server 107, and a third cloud server 108. The network 104 is used to provide a medium for communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may interact with the server 105 via the network 104 using at least one of the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages or the like. Various communication client applications, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, etc. (for example only), may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
The first cloud server 106, the second cloud server 107, and the third cloud server 108 may be cloud service platforms used for providing cloud service resources in the related art, and any one or more of the first cloud server 106, the second cloud server 107, and the third cloud server 108 may provide cloud service resources such as cloud storage and cloud computing. Any one or more of the first cloud server 106, the second cloud server 107, and the third cloud server 108 may be communicatively connected to the server 105,
It should be noted that the cloud service resource deployment method applied to the resource deployment end provided in the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the cloud service resource deployment apparatus applied to the resource deployment end provided by the embodiment of the present disclosure may be generally disposed in the server 105. The cloud service resource deployment method applied to the resource deployment end provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Correspondingly, the cloud service resource deployment device applied to the resource deployment end provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and/or the server 105.
Accordingly, the cloud service resource deployment method applied to the client provided by the embodiment of the present disclosure may be executed by any one or more of the first terminal device 101, the second terminal device 102, and the third terminal device 103. Accordingly, the cloud service resource deployment apparatus applied to the client provided by the embodiment of the present disclosure may be generally disposed in any one or more of the first terminal device 101, the second terminal device 102, and the third terminal device 103.
It should be understood that the number of terminal devices, networks, servers, and cloud servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The cloud service resource deployment method according to the embodiment of the present disclosure will be described in detail below with reference to fig. 2 to 6 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flowchart of a cloud service resource deployment method applied to a resource deployment end according to an embodiment of the present disclosure.
As shown in fig. 2, the cloud service resource deployment method of this embodiment is applied to a resource deployment end, and includes operations S210 to S240.
In operation S210, in response to a resource deployment request sent from a client, according to first resource deployment information in the resource deployment request, initial resource deployment configuration information matched with the first resource deployment information is screened from a resource deployment configuration information base, where the first resource deployment configuration information is used to characterize a configuration information identifier of the initial resource deployment configuration information.
According to the embodiment of the present disclosure, the first resource deployment information may include a configuration information identifier, for example, the first resource deployment information is constructed and obtained based on a splicing result of the configuration information identifier, but is not limited thereto, and the configuration information identifier may also be represented based on an association relationship between a character segment in the first resource deployment information and the configuration information identifier.
According to the embodiment of the disclosure, the resource deployment configuration information base may store resource deployment configuration information for deploying cloud service resources, the resource deployment configuration information may include a resource deployment file in the related technology, and the deployment of the related cloud service resources at the cloud service end may be achieved by modifying parameters in the resource deployment file.
It should be noted that the resource deployment request may be constructed based on any request protocol type in the related art, for example, an http protocol, and the like.
In operation S220, according to the second resource deployment information in the resource deployment request, the initial resource deployment parameter in the initial resource deployment configuration information is updated to obtain target resource deployment configuration information, where the target resource deployment configuration information includes a cloud server identifier and a target cloud service resource identifier.
According to the embodiment of the disclosure, the second resource deployment information may store parameter information for updating the deployment condition of the cloud service resource, and the parameter information may be included in the target resource deployment configuration information, so that the execution parameter, the plan parameter, and the like in the target cloud service resource corresponding to the target cloud service resource identifier may be updated according to the parameter information in the second resource deployment information, and the target cloud service resource may be created or deleted based on the parameter information, so that a foundation may be laid for subsequently deploying the target cloud service resource of the cloud service end by using the target resource deployment configuration information.
It should be understood that, after the resource deployment request is analyzed, the first resource deployment information and the second resource deployment information may be obtained, and the first resource deployment information and the second resource deployment information may be stored in a data body of the resource deployment request according to a data format requirement of the resource deployment request, which is not described herein again.
In operation S230, a resource deployment instruction for deploying a cloud service resource is generated according to the target resource deployment configuration information.
In operation S240, a resource deployment instruction is sent to the target cloud server matched with the cloud server identifier, so that the target cloud server executes the resource deployment instruction, so as to implement a deployment operation on the target cloud service resource.
According to the embodiment of the disclosure, the cloud server identifier may be data information for representing a cloud server address, for example, the cloud server address may be determined by the cloud server identifier through the association storage of the cloud server identifier and the cloud server address, or the cloud server address may be used as the cloud server identifier, so that the sending efficiency of sending the resource deployment instruction is improved.
According to the embodiment of the disclosure, the target resource deployment configuration information can be processed by using a cloud service resource configuration tool in the related art, such as a terrafrorm tool, so as to generate a resource deployment instruction. The target resource deployment configuration information comprises a cloud server identifier and a target cloud service resource identifier, and the cloud service resource configuration tool in the related technology can manage cloud service resources in a plurality of cloud servers, so that deployment operation of respective target cloud service resources of the plurality of cloud servers can be simultaneously realized according to the resource deployment instruction.
It should be noted that, in the embodiment of the present disclosure, a specific deployment type of the deployment operation of the target cloud service resource is not limited, and may include a create deployment operation, a delete deployment operation, a view deployment operation, and the like.
According to the embodiment of the disclosure, initial resource deployment configuration information is screened out according to first resource deployment information in a resource deployment request, initial resource deployment parameters in the initial resource deployment information are updated by using second resource deployment information, so that target resource deployment configuration information for automatically deploying cloud service resources can be generated, the technical problem that relevant personnel respectively deploy each cloud service resource to cause long operation time is at least partially avoided, the deployment efficiency of the cloud service resources is improved, then a resource deployment instruction for deploying the cloud service resources is generated based on the target resource deployment configuration information, and a resource deployment instruction is sent to a cloud service end matched with the cloud service end identification, the deployment operation of the cloud service resources in the cloud service end can be realized by remotely controlling the resource deployment end through a client, the geographical location limitation that the cloud service resources need to be deployed based on the resource deployment end in the relevant technology is at least partially overcome, and the technical effects of improving the flexibility and the overall deployment efficiency of the cloud service resources are realized.
According to an embodiment of the disclosure, the resource deployment request includes a resource deployment request ciphertext.
Before the operation S210, screening the initial resource deployment configuration information matched with the first resource deployment information from the resource deployment configuration information base, the cloud service resource deployment method may further include the following operation:
and decrypting the resource deployment request ciphertext based on a preset algorithm to obtain a resource deployment request plaintext.
According to the embodiment of the disclosure, the resource deployment request ciphertext may be obtained by encrypting the resource deployment request plaintext by the client according to a related encryption algorithm, for example, the resource deployment request ciphertext may be obtained based on any one or more of a symmetric encryption algorithm, an asymmetric encryption algorithm, or an attribute policy encryption algorithm.
In one embodiment of the disclosure, the client may encrypt the resource deployment request plaintext based on a public key and an associated encryption algorithm. Accordingly, the resource deployment terminal may decrypt the resource deployment request ciphertext based on a private key matched with the public key and a corresponding decryption algorithm. The matched public key and private key can be respectively sent to the client and the resource deployment terminal based on the trusted authority, so that the security of the resource deployment request in the transmission process is improved.
According to the embodiment of the present disclosure, in operation S210, according to the first resource deployment information in the resource deployment request, screening the initial resource deployment configuration information matched with the first resource deployment information from the resource deployment configuration information base includes the following operations:
extracting keywords from first resource deployment information in the resource deployment request to obtain a configuration information identifier; and screening the initial resource deployment configuration information with the configuration information identification from the resource deployment configuration information base.
According to the embodiment of the disclosure, the configuration information identifier may be stored in any form in the first resource deployment configuration information, for example, the first resource deployment information may be obtained by splicing one or more configuration information identifiers based on a preset rule, but is not limited thereto, and the first resource deployment information may also be obtained by identifying the storage configuration information based on a data table format.
According to the embodiment of the disclosure, the configuration information identifier in the first resource deployment configuration information is extracted, and then the initial resource deployment configuration information with the configuration information identifier is screened from the resource deployment configuration information base, so that the accuracy of screening the initial resource deployment configuration information can be effectively improved, meanwhile, the query duration of association query can be effectively reduced, and the rate of screening the initial resource deployment configuration information can be improved compared with the method for querying the resource deployment configuration information base through the association relation between the character segment in the first resource deployment information and the configuration information identifier in the screening process.
In an embodiment of the present disclosure, the first resource deployment information may further include resource deployment directory hierarchy identifiers, and after the configuration information identifiers are obtained through extraction, the configuration information identifiers may be further stored in storage locations corresponding to the resource deployment directory hierarchy identifiers according to respective resource deployment directory hierarchy attributes, so as to clearly characterize hierarchical relationships of initial resource deployment configuration information corresponding to the configuration information identifiers, respectively.
According to the embodiment of the disclosure, after receiving the resource deployment request, the resource deployment terminal may check the resource deployment request, for example, whether the character length of the resource deployment request is smaller than the preset request character length may be calculated, and in the case that the character length of the resource deployment request is smaller than the preset request character length, a check error response message may be sent to the client, so that a failure in sending the resource deployment request of the client may be prompted, a reason that the client is difficult to query the cloud service resource deployment failure in time is avoided, and the overall efficiency of cloud service resource deployment is improved.
According to the embodiment of the disclosure, the second resource deployment information is associated with the configuration information identifier in the first resource deployment information.
Fig. 3 schematically shows a flowchart for updating the initial resource deployment parameters in the initial resource deployment configuration information according to the second resource deployment information in the resource deployment request according to the embodiment of the present disclosure.
As shown in fig. 3, the updating of the initial resource deployment parameter in the initial resource deployment configuration information according to the second resource deployment information in the resource deployment request in operation S220 includes operations S310 to S320.
In operation S310, target initial resource deployment configuration information corresponding to the second resource deployment information is determined according to the association relationship between the second resource deployment information and the configuration information identifier.
In operation S320, the target resource deployment parameter in the second resource deployment information is used to update the initial resource deployment parameter in the target initial resource deployment configuration information, so as to obtain the target resource deployment configuration information.
According to the embodiment of the disclosure, the target resource deployment parameter may be parameter information for controlling a deployment operation on the cloud service resource, and may include, for example, a type of the deployment operation. The initial resource deployment parameters in the corresponding target initial resource deployment configuration information are updated by using the target resource deployment parameters, so that a configuration file for controlling cloud service resource deployment can be automatically generated, and compared with the situation that a user inputs corresponding parameter information for the deployment operation of each cloud service resource in an interactive interface, the same target resource deployment parameters can be used for updating the deployment operation of the same cloud service resource controlled by each cloud service terminal in different cloud service terminals, so that the operation flow of cloud service resource deployment is simplified, and the deployment efficiency is improved.
Further, for different resource deployment terminals, the respective cloud service resource deployment operation of each resource deployment terminal can be updated simultaneously based on the same target resource deployment parameter, so that the multi-resource deployment terminal is controlled in parallel to achieve respective cloud service resource deployment work, and the cloud service resource deployment efficiency of the complex cloud service system is improved.
According to the embodiment of the disclosure, the target cloud service side executes the resource deployment instruction to realize the deployment operation of the target cloud service resource may include the following operations:
and deleting the target cloud service resource matched with the target cloud service resource identifier according to the target cloud service resource identifier in the resource deployment instruction.
According to the embodiment of the disclosure, the target cloud service side executing the resource deployment instruction to implement the deployment operation of the target cloud service resource may include the following operations:
and creating the target cloud service resource according to the target cloud service resource identifier and the target resource deployment configuration information in the resource deployment instruction.
According to the embodiment of the disclosure, the target cloud server can execute any type of cloud service resource deployment operation in the related technology according to the resource deployment instruction, so as to improve the deployment efficiency of cloud service resource deployment work in a complex cloud service system.
Fig. 4 schematically shows a flowchart of a cloud service resource deployment method applied to a client according to an embodiment of the present disclosure.
As shown in fig. 4, the cloud service resource deployment method of this embodiment is applied to a client, and includes operations S410 to S450.
In operation S410, a resource deployment end address, a configuration information identifier, and a target resource deployment parameter corresponding to the target cloud service resource identifier are extracted from preset resource deployment plan information.
In operation S420, first resource deployment information is generated according to the configuration information identifier.
In operation S430, second resource deployment information is generated according to the configuration information identifier and the target resource deployment parameter.
In operation S440, a resource deployment request is constructed according to the resource deployment end address, the first resource deployment information, and the second resource deployment information.
In operation S450, a resource deployment request is sent to the resource deployment node matched with the address of the resource deployment node.
According to the embodiment of the disclosure, the preset resource deployment plan information may be file information of a text, a report, and a code file for instructing one or more resource deployment terminals to control the cloud service resource deployment. The preset resource deployment plan information can be specified by related cloud service resource deployment personnel according to actual requirements, or can be obtained by automatically updating related parameter information in the initial preset resource deployment plan information based on a related timing parameter updating method and a condition parameter updating method.
According to the embodiment of the present disclosure, the client may be an electronic device capable of being in communication connection with the resource deployment terminal, for example, an upper computer (i.e., a computer) in a relevant application scenario.
According to the embodiment of the disclosure, the resource deployment end address, the first resource deployment information and the second resource deployment information can be encapsulated based on a communication protocol corresponding to the resource deployment request, so that the resource deployment request can be constructed.
It should be noted that the resource deployment request may be obtained by encapsulating according to any communication protocol type in the related art, and the embodiment of the present disclosure does not limit the protocol type of the resource deployment request, and those skilled in the art may select the resource deployment request according to actual requirements.
According to the embodiment of the disclosure, the first resource deployment information is generated according to the configuration information identifier, the second resource deployment information is generated according to the configuration information identifier and the target resource deployment parameter, and the resource deployment request is constructed according to the first resource deployment information and the second resource deployment information, so that the client can use the resource deployment request to enable the resource deployment terminal to call the corresponding initial resource deployment configuration information and update the target resource deployment configuration information, thereby realizing the deployment operation of the cloud service resources by remotely controlling the resource deployment terminal, and enabling the client to simultaneously control a plurality of resource deployment terminals, so as to realize the cloud service resource deployment of the cloud service terminals corresponding to the plurality of resource deployment terminals, and further realizing the technical effect of improving the cloud service resource deployment efficiency.
According to an embodiment of the present disclosure, the configuration information identification includes a plurality.
Wherein generating the first resource deployment information according to the configuration information identifier comprises:
and splicing the configuration information identifications based on a preset rule to obtain first resource deployment information.
According to the embodiment of the disclosure, the preset rule of splicing the configuration information identifier may correspond to the configuration information identifier in the first resource deployment information extracted by the resource deployment terminal, so as to improve the accuracy and rate of the configuration information identifier extracted by the resource deployment terminal.
According to the embodiment of the disclosure, the configuration information identifier and the target resource deployment parameter both comprise a plurality of identifiers.
FIG. 5 schematically shows a flowchart for generating second resource deployment information according to the configuration information identification and the target resource deployment parameter, according to an embodiment of the present disclosure.
As shown in fig. 5, the generating of the second resource deployment information according to the configuration information identifier and the target resource deployment parameter in operation S430 may include operations S510 to S520.
In operation S510, the configuration information identifier and the target resource deployment parameter corresponding to the configuration information identifier are stored in association to the initial configuration information node, so as to obtain a target configuration information node corresponding to the configuration information identifier.
In operation S520, a target configuration information node corresponding to each of the plurality of configuration information identifiers is identified, and second resource deployment information is constructed.
According to the embodiment of the disclosure, the configuration information identifier and the corresponding target resource deployment parameter are stored in the initial configuration information node in an associated manner, so that the subsequent resource deployment terminal can quickly update the target resource deployment configuration information according to the target configuration information node, and the overall deployment efficiency of the cloud service resource is effectively improved.
According to the embodiment of the disclosure, the target configuration information node can construct the second resource deployment information corresponding to the target configuration information node according to the data format requirement of the request body in the related communication protocol request, so that the subsequent resource deployment terminal can obtain the configuration information identifier in the second resource deployment information and the corresponding target resource deployment parameter through screening according to the same communication protocol.
According to an embodiment of the disclosure, the resource deployment request includes a resource deployment request ciphertext.
Operation S440, constructing the resource deployment request according to the resource deployment end address, the first resource deployment information, and the second resource deployment information may include the following operations:
processing the resource deployment terminal address, the first resource deployment information and the second resource deployment information based on a target protocol to obtain a resource deployment request plaintext; and encrypting the resource deployment request plaintext based on a preset algorithm to obtain a resource deployment request ciphertext.
According to the embodiment of the present disclosure, for example, any one or more of a symmetric encryption algorithm, an asymmetric encryption algorithm, or an attribute policy encryption algorithm may be used, and the specific method for obtaining the resource deployment request ciphertext through encryption and decrypting the resource deployment request ciphertext is not limited in the embodiment of the present disclosure, and a person skilled in the art may select the method according to actual requirements.
In one embodiment of the present disclosure, the client may encrypt the resource deployment request plaintext based on a public key and an associated encryption algorithm. Accordingly, the resource deployment terminal may decrypt the resource deployment request ciphertext based on a private key matched with the public key and a corresponding decryption algorithm. The matched public key and private key can be respectively sent to the client and the resource deployment terminal based on the trusted authority, so that the security of the resource deployment request in the transmission process is improved.
It should be understood that, in the embodiment of the present disclosure, the cloud service resource deployment method applied to the resource deployment end corresponds to the cloud service resource deployment method applied to the client, and the same technical terms may represent the same technical features, and the embodiment of the present disclosure is not described herein again.
Fig. 6 schematically illustrates an application scenario diagram of a cloud service resource deployment method according to an embodiment of the present disclosure.
As shown in fig. 6, the application scenario may include a client 610, a first resource deployment end 621, a second resource deployment end 622, a first cloud service end 631, and a second cloud service end 632.
The client 610 may construct and obtain the first resource deployment request and the second resource deployment request based on the configuration information identifier in the preset resource deployment plan information and the corresponding target resource deployment parameters. And then sends the first resource deployment request and the second resource deployment request to the first resource deployment end 621 and the second resource deployment end 622, respectively.
The first resource deployment end 621 and the second resource deployment end 622 receive the first resource deployment request and the second resource deployment request respectively according to respective communication interfaces, for example, API interfaces, generate corresponding first resource deployment instructions and second resource deployment instructions based on relevant cloud service resource deployment tools, and send the first resource deployment instructions and the second resource deployment instructions to the first cloud service end 631 and the second cloud service end 632 respectively, so that the first cloud service end 631 and the second cloud service end 632 execute the first resource deployment instructions respectively, and deployment operation on the target cloud service resource is achieved.
Taking the first resource deployment end 621 as an example, the generation process of the first resource deployment instruction may refer to the following manner.
The first resource deployment end 621 may be installed with a terramorm cloud resource deployment tool, that is, a terramorm tool, and after receiving the first resource deployment request, the API interface of the first resource deployment end 621 may call the terramorm tool to execute a printLogAndResponse function, so as to implement receiving the first resource deployment request.
Then, the first resource deployment end 621 executes the initHandler function, checks the first resource deployment request, and returns a check passing response to the client 610. The first resource deployment request is then stored in the associated storage area. And extracting keywords from the first resource deployment request to obtain a configuration information identifier. And simultaneously creating a corresponding resource configuration directory, and storing the configuration information identifications in the resource configuration directory according to respective target levels.
It should be noted that, creating a resource configuration directory and extracting the configuration information identifier may be implemented based on a doTfC function in the related art.
According to the resource configuration identifier in the resource configuration catalog, screening initial resource deployment configuration information with the configuration information identifier from a resource deployment configuration information base, and then updating the initial resource deployment configuration information in the initial resource deployment configuration information (such as a resource deployment configuration file) according to the second resource deployment information in the first resource deployment request to obtain target resource deployment configuration information.
It should be noted that, the corresponding initial resource deployment configuration information may be created based on a doTfMain function in the related art, and placed in the resource deployment configuration information base. While initial resource deployment configuration information may also be updated based on the function.
Further, a terrafrim cli command in the terrafrorm tool may be called to edit the first resource deployment instruction based on the target resource deployment configuration information, and send the first resource deployment instruction to the first cloud service 631.
The first cloud service end 631 may execute the first resource deployment instruction, thereby implementing the deployment operation of the target cloud service resource.
According to the embodiment of the present disclosure, in the cloud service resource deployment process, the related cloud service resource deployment process may also be recorded in a log and a related directory, and stored in the first resource deployment end 621, so as to facilitate subsequent cloud service resource management and maintenance.
According to an embodiment of the present disclosure, the second resource deployment terminal 622 may implement cloud service resource deployment based on the same or similar manner. Further, the client 610 may generate the same resource deployment request, and send the same resource deployment request to the first resource deployment instruction and the second resource deployment instruction, thereby further improving the deployment efficiency of the cloud service resource.
It should be noted that the number and the communication connection relationship of the clients, the resource deployment terminals, and the cloud service terminals shown in fig. 6 are only exemplary, and those skilled in the art may set any number of the clients, the resource deployment terminals, and the cloud service terminals according to actual requirements. Meanwhile, the communication connection relationship between the client and the plurality of resource deployment terminals and the communication connection relationship between the plurality of resource deployment terminals and the plurality of cloud service terminals can be set according to actual requirements, which is not limited in the embodiments of the present disclosure.
Based on the cloud service resource deployment method, the disclosure also provides a cloud service resource deployment device. The apparatus will be described in detail below with reference to fig. 7 and 8.
Fig. 7 schematically shows a block diagram of a cloud service resource deployment apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the cloud service resource deployment apparatus 700 of this embodiment is applied to a resource deployment end. The cloud service resource deployment apparatus 700 includes a screening module 710, a first updating module 720, a resource deployment instruction generating module 730, and a first sending module 740.
The screening module 710 is configured to, in response to a resource deployment request sent from a client, screen, according to first resource deployment information in the resource deployment request, initial resource deployment configuration information that matches the first resource deployment information from a resource deployment configuration information base, where the first resource deployment configuration information is used to characterize a configuration information identifier of the initial resource deployment configuration information.
The first updating module 720 is configured to update the initial resource deployment parameter in the initial resource deployment configuration information according to the second resource deployment information in the resource deployment request, so as to obtain target resource deployment configuration information, where the target resource deployment configuration information includes a cloud server identifier and a target cloud service resource identifier.
The resource deployment instruction generating module 730 is configured to generate a resource deployment instruction for deploying the cloud service resource according to the target resource deployment configuration information.
The first sending module 740 is configured to send a resource deployment instruction to a target cloud server matched with the cloud server identifier, so that the target cloud server executes the resource deployment instruction, so as to implement a deployment operation on a target cloud service resource.
According to an embodiment of the present disclosure, a screening module includes: an extraction unit and a first screening unit.
The extraction unit is used for extracting keywords from the first resource deployment information in the resource deployment request to obtain a configuration information identifier.
The first screening unit is used for screening initial resource deployment configuration information with configuration information identification from the resource deployment configuration information base.
According to the embodiment of the disclosure, the second resource deployment information is associated with the configuration information identifier in the first resource deployment information.
The first update module includes: a first determination unit and a first update unit.
The first determining unit is used for determining target initial resource deployment configuration information corresponding to the second resource deployment information according to the incidence relation between the second resource deployment information and the configuration information identifier.
The first updating unit is used for updating the initial resource deployment parameters in the target initial resource deployment configuration information by using the target resource deployment parameters in the second resource deployment information to obtain the target resource deployment configuration information.
According to the embodiment of the disclosure, executing the resource deployment instruction by the target cloud service end to implement the deployment operation of the target cloud service resource may include:
and deleting the target cloud service resource matched with the target cloud service resource identifier according to the target cloud service resource identifier in the resource deployment instruction.
According to an embodiment of the disclosure, executing the resource deployment instruction by the target cloud service end to implement the deployment operation on the target cloud service resource may include:
and creating the target cloud service resource according to the target cloud service resource identifier and the target resource deployment configuration information in the resource deployment instruction.
According to an embodiment of the disclosure, the resource deployment request includes a resource deployment request ciphertext.
The cloud service resource deployment device further comprises a decryption module.
The decryption module is used for decrypting the resource deployment request ciphertext based on a preset algorithm to obtain a resource deployment request plaintext.
Fig. 8 schematically shows a block diagram of a cloud service resource deployment apparatus according to another embodiment of the present disclosure.
As shown in fig. 8, the cloud service resource deployment apparatus 800 of this embodiment is applied to a client, and the cloud service resource deployment apparatus 800 includes an extraction module 810, a first resource deployment information generation module 820, a second resource deployment information generation module 830, a resource deployment request construction module 840, and a second sending module 850.
The extracting module 810 is configured to extract a resource deployment end address, a configuration information identifier, and a target resource deployment parameter corresponding to the target cloud service resource identifier from preset resource deployment plan information.
The first resource deployment information generating module 820 is configured to generate first resource deployment information according to the configuration information identifier.
The second resource deployment information generating module 830 is configured to generate second resource deployment information according to the configuration information identifier and the target resource deployment parameter.
The resource deployment request construction module 840 is configured to construct a resource deployment request according to the resource deployment end address, the first resource deployment information, and the second resource deployment information.
The second sending module 850 is configured to send the resource deployment request to the resource deployment node matched with the address of the resource deployment node.
According to an embodiment of the present disclosure, the configuration information identification includes a plurality.
The first resource deployment information generation module includes a first resource deployment information generation unit.
The first resource deployment information generation unit is used for splicing the configuration information identifiers based on a preset rule to obtain first resource deployment information.
According to the embodiment of the disclosure, the configuration information identifier and the target resource deployment parameter both comprise a plurality of identifiers.
The second resource deployment information generation module includes: a first associative storage unit and a first construction unit.
The first association storage unit is used for storing the configuration information identifier and the target resource deployment parameter corresponding to the configuration information identifier to the initial configuration information node in an association manner, so as to obtain a target configuration information node corresponding to the configuration information identifier.
The first construction unit is used for identifying the corresponding target configuration information nodes according to the plurality of configuration information and constructing second resource deployment information.
According to an embodiment of the disclosure, the resource deployment request includes a resource deployment request ciphertext.
The resource deployment request building module comprises: a request plaintext generation unit and an encryption unit.
The request plaintext generating unit is used for processing the resource deployment end address, the first resource deployment information and the second resource deployment information based on the target protocol to obtain a resource deployment request plaintext.
The encryption unit is used for encrypting the resource deployment request plaintext based on a preset algorithm to obtain a resource deployment request ciphertext.
According to the embodiment of the present disclosure, any multiple of the screening module 710, the first updating module 720, the resource deployment instruction generating module 730, and the first sending module 740, or any multiple of the extracting module 810, the first resource deployment information generating module 820, the second resource deployment information generating module 830, the resource deployment request constructing module 840, and the second sending module 850 may be combined and implemented in one module, or any one of them may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to the embodiment of the present disclosure, any of the screening module 710, the first updating module 720, the resource deployment instruction generating module 730, and the first sending module 740, or at least one of the extracting module 810, the first resource deployment information generating module 820, the second resource deployment information generating module 830, the resource deployment request constructing module 840, and the second sending module 850 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or a suitable combination of any of them. Alternatively, any of the screening module 710, the first updating module 720, the resource deployment instruction generating module 730, and the first sending module 740, or at least one of the extracting module 810, the first resource deployment information generating module 820, the second resource deployment information generating module 830, the resource deployment request constructing module 840, and the second sending module 850 may be at least partially implemented as a computer program module, which when executed, may perform corresponding functions.
It should be noted that, in the embodiment of the present disclosure, the cloud service resource deployment device corresponds to the cloud service resource deployment method, that is, the cloud service resource deployment device may be configured to execute the corresponding cloud service resource deployment method, and the cloud service resource deployment method may also be set in the cloud service resource deployment device.
Fig. 9 schematically shows a block diagram of an electronic device adapted to implement a cloud service resource deployment method according to an embodiment of the present disclosure.
As shown in fig. 9, an electronic apparatus 900 according to an embodiment of the present disclosure includes a processor 901 which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. Processor 901 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 901 may also include on-board memory for caching purposes. The processor 901 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the electronic apparatus 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. The processor 901 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the programs may also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flows according to the embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 900 may also include input/output (I/O) interface 905, input/output (I/O) interface 905 also connected to bus 904, according to an embodiment of the present disclosure. The electronic device 900 may also include one or more of the following components connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer 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. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 902 and/or the RAM 903 described above and/or one or more memories other than the ROM 902 and the RAM 903.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 901. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, and downloaded and installed through the communication section 909 and/or installed from the removable medium 911. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program, when executed by the processor 901, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In situations involving remote computing devices, the remote computing devices 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 external computing devices (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be appreciated by a person skilled in the art that various combinations or/and combinations of features recited in the various embodiments of the disclosure and/or in the claims may be made, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (15)

1. A cloud service resource deployment method is applied to a resource deployment end and comprises the following steps:
responding to a resource deployment request sent by a client, and screening initial resource deployment configuration information matched with first resource deployment information from a resource deployment configuration information base according to the first resource deployment information in the resource deployment request, wherein the first resource deployment configuration information is used for representing a configuration information identifier of the initial resource deployment configuration information;
updating initial resource deployment parameters in the initial resource deployment configuration information according to second resource deployment information in the resource deployment request to obtain target resource deployment configuration information, wherein the target resource deployment configuration information comprises a cloud service terminal identifier and a target cloud service resource identifier;
generating a resource deployment instruction for deploying cloud service resources according to the target resource deployment configuration information; and
and sending the resource deployment instruction to a target cloud server matched with the cloud server identification, so that the target cloud server executes the resource deployment instruction to realize the deployment operation of the target cloud service resource.
2. The method of claim 1, wherein screening, according to first resource deployment information in the resource deployment request, initial resource deployment configuration information that matches the first resource deployment information from a resource deployment configuration information base comprises:
extracting keywords from first resource deployment information in the resource deployment request to obtain the configuration information identifier; and
and screening the initial resource deployment configuration information with the configuration information identification from a resource deployment configuration information base.
3. The method of claim 2, wherein the second resource deployment information is associated with a configuration information identification in the first resource deployment information;
updating the initial resource deployment parameters in the initial resource deployment configuration information according to the second resource deployment information in the resource deployment request comprises:
determining target initial resource deployment configuration information corresponding to the second resource deployment information according to the incidence relation between the second resource deployment information and the configuration information identifier; and
and updating the initial resource deployment parameters in the target initial resource deployment configuration information by using the target resource deployment parameters in the second resource deployment information to obtain the target resource deployment configuration information.
4. The method of claim 1, wherein the target cloud service executing the resource deployment instruction to implement the deployment operation on the target cloud service resource comprises:
and deleting the target cloud service resources matched with the target cloud service resource identification according to the target cloud service resource identification in the resource deployment instruction.
5. The method of claim 1, wherein the target cloud service executing the resource deployment instruction to implement a deployment operation on a target cloud service resource comprises:
and creating the target cloud service resource according to the target cloud service resource identifier in the resource deployment instruction and the target resource deployment configuration information.
6. The method of any of claims 1-5, wherein the resource deployment request comprises a resource deployment request cryptogram;
before screening out initial resource deployment configuration information matched with the first resource deployment information from a resource deployment configuration information base, the cloud service resource deployment method further includes:
and decrypting the resource deployment request ciphertext based on a preset algorithm to obtain a resource deployment request plaintext.
7. A cloud service resource deployment method is applied to a client and comprises the following steps:
extracting a resource deployment terminal address, a configuration information identifier and a target resource deployment parameter corresponding to the target cloud service resource identifier from preset resource deployment plan information;
generating first resource deployment information according to the configuration information identifier;
generating second resource deployment information according to the configuration information identifier and the target resource deployment parameter;
constructing a resource deployment request according to the resource deployment terminal address, the first resource deployment information and the second resource deployment information; and
and sending the resource deployment request to a resource deployment end matched with the address of the resource deployment end.
8. The method of claim 7, wherein the configuration information identification comprises a plurality;
wherein generating first resource deployment information according to the configuration information identifier comprises:
and splicing a plurality of configuration information identifications based on a preset rule to obtain the first resource deployment information.
9. The method of claim 7, wherein the configuration information identification and the target resource deployment parameter each comprise a plurality;
generating second resource deployment information according to the configuration information identifier and the target resource deployment parameter comprises:
storing the configuration information identifier and the target resource deployment parameter corresponding to the configuration information identifier to an initial configuration information node in an associated manner to obtain a target configuration information node corresponding to the configuration information identifier;
and constructing the second resource deployment information according to the target configuration information nodes corresponding to the plurality of configuration information identifiers respectively.
10. The method of any of claims 7 to 9, wherein the resource deployment request comprises a resource deployment request cryptogram;
constructing a resource deployment request according to the resource deployment end address, the first resource deployment information and the second resource deployment information comprises:
processing the resource deployment terminal address, the first resource deployment information and the second resource deployment information based on a target protocol to obtain a resource deployment request plaintext; and
and encrypting the plaintext of the resource deployment request based on a preset algorithm to obtain a ciphertext of the resource deployment request.
11. A cloud service resource deployment device is applied to a resource deployment end and comprises:
the screening module is used for responding to a resource deployment request sent by a client, screening initial resource deployment configuration information matched with first resource deployment information from a resource deployment configuration information base according to the first resource deployment information in the resource deployment request, wherein the first resource deployment configuration information is used for representing a configuration information identifier of the initial resource deployment configuration information;
a first updating module, configured to update an initial resource deployment parameter in the initial resource deployment configuration information according to second resource deployment information in the resource deployment request, to obtain target resource deployment configuration information, where the target resource deployment configuration information includes a cloud server identifier and a target cloud service resource identifier;
the resource deployment instruction generating module is used for generating a resource deployment instruction for deploying cloud service resources according to the target resource deployment configuration information; and
the first sending module is used for sending the resource deployment instruction to a target cloud server matched with the cloud server identification, so that the target cloud server executes the resource deployment instruction, and deployment operation of target cloud service resources is achieved.
12. A cloud service resource deployment device is applied to a client and comprises:
the extraction module is used for extracting a resource deployment terminal address, a configuration information identifier and a target resource deployment parameter corresponding to the target cloud service resource identifier from preset resource deployment plan information;
the first resource deployment information generation module is used for generating first resource deployment information according to the configuration information identifier;
the second resource deployment information generation module is used for generating second resource deployment information according to the configuration information identifier and the target resource deployment parameter;
the resource deployment request construction module is used for constructing a resource deployment request according to the resource deployment terminal address, the first resource deployment information and the second resource deployment information; and
and the second sending module is used for sending the resource deployment request to the resource deployment terminal matched with the address of the resource deployment terminal.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-10.
14. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 10.
15. A computer program product comprising a computer program which, when executed by a processor, carries out the method according to any one of claims 1 to 10.
CN202211195731.7A 2022-09-28 2022-09-28 Cloud service resource deployment method, device, equipment and storage medium Pending CN115567596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211195731.7A CN115567596A (en) 2022-09-28 2022-09-28 Cloud service resource deployment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211195731.7A CN115567596A (en) 2022-09-28 2022-09-28 Cloud service resource deployment method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115567596A true CN115567596A (en) 2023-01-03

Family

ID=84742837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211195731.7A Pending CN115567596A (en) 2022-09-28 2022-09-28 Cloud service resource deployment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115567596A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155804A (en) * 2023-10-27 2023-12-01 腾讯科技(深圳)有限公司 Cloud server deployment method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155804A (en) * 2023-10-27 2023-12-01 腾讯科技(深圳)有限公司 Cloud server deployment method and related device
CN117155804B (en) * 2023-10-27 2024-01-09 腾讯科技(深圳)有限公司 Cloud server deployment method and related device

Similar Documents

Publication Publication Date Title
CN109154968B (en) System and method for secure and efficient communication within an organization
US11474842B2 (en) Integration application creator design
US10908970B1 (en) Data interface for secure analytic data system integration
CN101504616B (en) Method and apparatus for login of Windows application program through Web application
US20210279116A1 (en) Managing and Routing Messages to Distributed User Devices in an Enterprise Computing Environment
US10536506B2 (en) Webpage analytics and control
CN115567596A (en) Cloud service resource deployment method, device, equipment and storage medium
CN114465867A (en) Server maintenance method and device, storage medium and processor
US11924284B1 (en) Automated security, orchestration, automation, and response (SOAR) app generation based on application programming interface specification data
US11768692B2 (en) Systems and methods for automated application launching
CN110795741B (en) Method and device for carrying out security processing on data
CN116244682A (en) Database access method, device, equipment and storage medium
CN112861037B (en) Data labeling method, device, system, electronic equipment and storage medium
US20220345517A1 (en) Unified application management for heterogeneous application delivery
US20220309424A1 (en) Display of resources based on context
CN113609147A (en) Data sharing method and device and electronic equipment
US10938561B2 (en) Tuple level security for streams processing
CN109933960A (en) Service call control method, service calling method, device and terminal
CN113472785B (en) Data processing method and device, electronic equipment and readable storage medium
CN116112172B (en) Android client gRPC interface security verification method and device
CN110262756B (en) Method and device for caching data
US11943321B2 (en) Techniques for cross-platform communication process flow object posting
CN115484149B (en) Network switching method, network switching device, electronic equipment and storage medium
CN114218590A (en) Authority configuration method, device, equipment and medium
CN115098398A (en) Test case processing method, device, equipment and 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