CN108139964B - Cloud service configuration method and device, storage medium and cloud service system - Google Patents

Cloud service configuration method and device, storage medium and cloud service system Download PDF

Info

Publication number
CN108139964B
CN108139964B CN201780002522.7A CN201780002522A CN108139964B CN 108139964 B CN108139964 B CN 108139964B CN 201780002522 A CN201780002522 A CN 201780002522A CN 108139964 B CN108139964 B CN 108139964B
Authority
CN
China
Prior art keywords
configuration
configuration information
cloud service
block chain
docker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780002522.7A
Other languages
Chinese (zh)
Other versions
CN108139964A (en
Inventor
谢辉
王健
周阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Cloudminds Shanghai Robotics Co Ltd
Original Assignee
Cloudminds Shenzhen Holdings 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 Cloudminds Shenzhen Holdings Co Ltd filed Critical Cloudminds Shenzhen Holdings Co Ltd
Publication of CN108139964A publication Critical patent/CN108139964A/en
Application granted granted Critical
Publication of CN108139964B publication Critical patent/CN108139964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available

Abstract

A cloud service configuration method, a device, a storage medium and a cloud service system are used for solving the technical problems of low reliability and low efficiency of configuration management of the existing cloud service, the method is applied to configuration issuing equipment in the cloud service system, the configuration issuing equipment and monitoring execution equipment in the cloud service system are both nodes in a block chain system, and the method comprises the following steps: the configuration issuing equipment acquires configuration information; and writing the configuration information into a block chain, wherein the configuration information is used for executing corresponding cloud service configuration operation when the monitoring execution device monitors that the configuration information exists in the block chain.

Description

Cloud service configuration method and device, storage medium and cloud service system
Technical Field
The present disclosure relates to the field of cloud services, and in particular, to a cloud service configuration method, an apparatus, a storage medium, and a cloud service system.
Background
With the high-speed development of the internet, various industries are continuously added into the internet marketing, many enterprises migrate their business systems to the cloud service environment, the application in the cloud environment is more and more, and the cloud environment is therefore more and more complex. How to rapidly configure relevant business applications in such a large-scale cloud environment plays an important role in the rapid construction of cloud services.
In the related art, a large cloud service provider can provide a cloud service configuration platform to allow a user to perform configuration through a management interface, but in such a configuration mode, configuration information depends on a single node, so that a problem of single point of failure generally exists, and in addition, at present, a situation that a corresponding cloud server often has to be remotely logged in for manual deployment often exists, which consumes considerable time and causes low efficiency of application deployment, and in addition, all historical configuration information of cloud services in the related art cannot be counted or concentrated on the cloud service provider, and once a network accident occurs, it is very difficult to trace responsibility.
Disclosure of Invention
The present disclosure provides a cloud service configuration method, an apparatus, a storage medium, and a cloud service system, so as to solve the technical problems of low reliability and low efficiency of configuration management of an existing cloud service.
In order to achieve the above object, according to a first aspect of the embodiments of the present disclosure, a cloud service configuration method is provided, where the method is applied to a configuration issuing device in a cloud service system, and the configuration issuing device and a monitoring execution device in the cloud service system are both nodes in a block chain system, and the method includes: the configuration issuing equipment acquires configuration information; and writing the configuration information into a block chain, wherein the configuration information is used for executing corresponding cloud service configuration operation when the monitoring execution device monitors that the configuration information exists in the block chain.
According to a second aspect of the embodiments of the present disclosure, another cloud service configuration method is provided, where the method is applied to a monitoring execution device in a cloud service system, and the monitoring execution device and a configuration issuing device in the cloud service system are both nodes in a blockchain system, and the method includes:
the monitoring execution equipment monitors whether new configuration information exists in the block chain; and when the new configuration information exists in the block chain, executing corresponding cloud service configuration operation according to the new configuration information.
According to a third aspect of the embodiments of the present disclosure, there is provided a cloud service configuration apparatus, where the apparatus is applied to a configuration issuing device in a cloud service system, where the configuration issuing device is a node in a blockchain system, and the apparatus includes: the acquisition module is used for acquiring configuration information;
and a block chain writing module, configured to write the configuration information into a block chain, where the configuration information is used for a monitoring execution device in the cloud service system to execute a corresponding cloud service configuration operation when the configuration information exists in the block chain.
According to a fourth aspect of the embodiments of the present disclosure, there is provided another cloud service configuration apparatus, where the apparatus is applied to a monitoring execution device in a cloud service system, where the monitoring execution device is a node in a blockchain system, and the apparatus includes: the monitoring module is used for monitoring whether new configuration information exists in the block chain; and the execution module is used for executing corresponding cloud service configuration operation according to the new configuration information when the monitoring module monitors that the new configuration information exists in the block chain.
According to a fifth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium including one or more programs therein for performing the method of the first aspect of embodiments of the present disclosure.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a configuration issuing apparatus, including: a non-transitory computer-readable storage medium according to a fifth aspect of an embodiment of the present disclosure; and one or more processors for executing the program in the computer-readable storage medium.
According to a seventh aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium including one or more programs therein for performing the method of the second aspect of embodiments of the present disclosure.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a snoop execution device, including: the non-transitory computer-readable storage medium of the seventh aspect of the disclosed embodiments; and one or more processors for executing the program in the computer-readable storage medium.
According to a ninth aspect of the embodiments of the present disclosure, a cloud service system is provided, where the cloud service system includes a configuration issuing device and a monitoring execution device, and both the configuration issuing device and the monitoring execution device are nodes in a blockchain system; the configuration issuing equipment is used for acquiring configuration information and writing the configuration information into a block chain; the monitoring execution device is used for monitoring whether new configuration information exists in the block chain or not, and executing corresponding cloud service configuration operation according to the new configuration information when the new configuration information exists in the block chain.
By adopting the technical scheme, the configuration information issued by the configuration issuing equipment is stored in the block chain, the whole network synchronous storage is realized by the configuration information based on the characteristics of the block chain, the probability of single-point failure is reduced, and the historical configuration information can be traced and cannot be modified, so that network accidents can be traced conveniently. In addition, by adopting the technical scheme provided by the disclosure, an administrator can configure the cloud service for the cloud server (namely, the monitoring execution device) through the local configuration issuing device without manually configuring the remote login cloud server, so that the configuration efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Fig. 1 is an architecture diagram of a cloud service system provided by an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a cloud service configuration method provided by an embodiment of the present disclosure;
fig. 3 is a schematic flow chart diagram of another cloud service configuration method provided by the embodiment of the present disclosure;
fig. 4 is a schematic diagram of an application scenario of a cloud service configuration method provided by an embodiment of the present disclosure;
fig. 5 is an architecture diagram of another cloud service system provided by the embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a cloud service configuration apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another cloud service configuration apparatus provided in an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a configuration issuing device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a snoop execution device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present disclosure, an application scenario of the embodiments of the present disclosure is first provided below, as shown in fig. 1, where fig. 1 is a schematic structural diagram of a cloud service system. The application scenario includes a local computer (e.g., local computer F shown in fig. 1) for issuing cloud service configuration information, and a plurality of cloud servers (e.g., cloud server A, B, C, D, E shown in fig. 1). Through the local computer, an administrator can perform public configuration on all the cloud servers and also can specify that a certain cloud service is configured.
The disclosed embodiment provides a cloud service configuration method, which is applied to a configuration issuing device in a cloud service system, such as a local computer F shown in fig. 1, where the configuration issuing device and a monitoring execution device in the cloud service system are both nodes in a block chain system, and as shown in fig. 2, the method includes:
s201, obtaining configuration information.
The configuration information may be configuration information generated by the configuration issuing device based on configuration operation of the administrator, or configuration information sent by other devices may be received.
S202, writing the configuration information into the block chain, where the configuration information is used for executing a corresponding cloud service configuration operation when the monitoring execution device monitors that the configuration information exists in the block chain.
In one possible implementation, the configuration issuing device is a local computer installed with configuration issuing module software and block link point software, and an account authorized to perform cloud service configuration is registered in the block link point software. For example, the blockchain system may be a permission chain, and the permission chain specifies that some accounts can write data in the blockchain, the accounts are accounts capable of performing cloud service configuration, and after the accounts log in a certain blockchain link point installed with configuration issuing module software, the issued configuration information can be written in the blockchain.
Specifically, the configuration information may be common configuration information, that is, configuration information that all the listening execution devices in the cloud service system need to listen and execute. The configuration information may also be specific configuration information that specifies a certain interception performing device or certain interception performing devices to perform. In specific implementation, the specific configuration information may include identification information of the monitoring execution device that needs to execute the configuration operation, and when the configuration issuing device writes the specific configuration information into the block chain, the configuration issuing device may write the specific configuration information as transaction information into an account address of the monitoring execution device corresponding to the identification information based on a transaction mechanism of the block chain. In this way, when the monitoring execution device finds new configuration information in its own blockchain account, it may execute a corresponding cloud service configuration operation, and may not execute the configuration operation if the new configuration information is not in its own blockchain account.
It is worth mentioning that the configuration information in the cloud environment may include configuration data and configuration instructions. The configuration data specifies specific service parameters, which can be flexibly customized according to services, such as the IP, name, type and the like of the cloud server, and the type, parameters and the like of the cloud service application; the configuration instruction refers to a certain operation, such as an operation of opening an FTP service, which may be an existing command of an operating system, or a configuration script customized by a user, and a corresponding instruction format may be specifically designed according to requirements in actual applications, which is not limited in this disclosure.
By adopting the method, the configuration information issued by the configuration issuing equipment is stored in the block chain, the whole network synchronous storage is realized by the configuration information based on the characteristics of the block chain, the probability of single-point failure is reduced, and the historical configuration information can be traced and cannot be modified, so that network accidents can be conveniently traced. In addition, by adopting the technical scheme provided by the disclosure, an administrator can configure the cloud service for the cloud server (namely, the monitoring execution device) through the local configuration issuing device without manually configuring the remote login cloud server, so that the configuration efficiency is improved.
The embodiment of the present disclosure further provides another cloud service configuration method, where the method is applied to a monitoring execution device in a cloud service system, for example, any server shown in fig. 1, where the monitoring execution device and a configuration issuing device in the cloud service system are both nodes in a blockchain system, and as shown in fig. 3, the method includes:
s301, whether new configuration information exists in the monitoring block chain or not.
And writing the new configuration information into the block chain by the configuration issuing equipment in the cloud service system. Reference may be made to the above detailed description of the method steps shown in fig. 2, which is not repeated herein.
And S302, when the new configuration information exists in the block chain, executing corresponding cloud service configuration operation according to the new configuration information.
The monitoring execution device is a node in the blockchain system, so that the monitoring execution device at least has the function of blockchain inquiry. For example, the blockchain system authorizes the configuration of the blockchain account of the issuing device to write the configuration information, and the blockchain account of the monitoring and executing device is authorized to have the query function.
In a possible implementation manner of the embodiment of the present disclosure, the monitoring and execution of the configuration information by the monitoring execution device may be implemented in the blockchain system by means of an intelligent contract, that is, the configuration information is recorded by the intelligent contract, an interface is provided, and the code of the intelligent contract is published on the blockchain, and is supervised and reviewed by the public. In another possible implementation manner, the monitoring and execution of the configuration information may also be implemented by monitoring logic inside the execution device, and providing a corresponding interface. The method is flexible in implementation mode and easy to expand, and meets various different cloud service configuration management requirements.
It should be noted that, if the new configuration information includes common configuration information and specific configuration information, the step S302 includes: when the new configuration information exists in the block chain, analyzing and analyzing whether the new configuration information is public configuration information or appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, and when the new configuration information is determined to be the public configuration information or the appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, executing the cloud service configuration operation corresponding to the configuration information. For example, when monitoring a certain configuration instruction, the monitoring execution device may parse the configuration instruction, analyze the instruction to determine whether the instruction needs to be executed by itself according to the IP address and name of the cloud server in the configuration data or the type and identifier of the cloud service application, and if so, execute a corresponding configuration operation.
Further, after the snoop execution device completes configuration, the configuration result may be returned to the blockchain for auditing.
Based on the mechanism of the block chain, the newly added node needs to perform block synchronization, so that when the monitoring execution device initially adds to the block chain system, all configuration information stored in the block chain can be synchronized, and the common configuration of the monitoring execution device newly added to the system is completed according to the common configuration information in the configuration information. For example, based on the system architecture shown in fig. 1, in a specific implementation, the configuration of a new cloud server may first apply for a new cloud server resource, install a block chain node module and a configuration monitoring and execution module on the new cloud server, and further synchronize configuration information through a p2p network of a block chain, so that if the cloud server has no other settings, the configuration monitoring and execution module may automatically select broadcast instructions to be issued to all hosts, and complete the public configurations according to the instructions. Therefore, compared with the prior art that when a cloud server is down or a brand-new cloud server is deployed with service, the previous configuration process needs to be manually executed again, and the cloud service configuration efficiency is further improved by the embodiment of the disclosure.
In order to make those skilled in the art understand the technical solution provided by the embodiment of the present disclosure, the following describes the technical solution provided by the embodiment of the present disclosure in detail through two specific embodiments in combination with a configuration issuing device and a monitoring executing device.
Embodiment one, configuration issuing mode based on SQ L database
As shown in fig. 4, the local computer F in the blockchain system is installed with a configuration issuing module as a configuration issuing device, and each cloud server in the blockchain system is installed with a configuration monitoring module and a configuration executing module as a monitoring executing device (only illustrated by a cloud service a in fig. 4).
Thus, in the application scenario shown in fig. 4, the configuration issuing method based on the SQ L database includes:
s401, the configuration issuing module writes configuration information in the form of SQ L statements into a block chain.
S402, a configuration monitoring module in the cloud server monitors that new configuration information in the form of SQ L statements exists in the block chain, and the configuration information is obtained.
The configuration information may include configuration instructions and/or configuration data.
And S403, the configuration monitoring module stores the configuration instruction into an instruction table of the SQ L database, and stores the configuration data according to the service requirement.
S404, the configuration execution module in the cloud server monitors the SQ L database, and sequentially executes the instructions in the instruction table according to the state of the current configuration data.
As can be seen from the above, in the method step S202 on the configuration issuing device side shown in fig. 2, the configuration issuing device may write the obtained configuration information into the block chain in the form of an SQ L statement, so that, in the method step S302 on the monitoring execution device side shown in fig. 3, the monitoring execution device may store the new configuration information into the SQ L database of the monitoring execution device, and perform corresponding SQ L operations on the configuration data of the SQ L database according to the configuration instructions in the SQ L database, for example, SQ L is added, deleted or modified.
Example two, application docker deployment
As shown in fig. 5, the local computer F is installed with a configuration issuing module and a block link point module as configuration issuing equipment, and each cloud server is installed with a configuration monitoring module, a configuration execution module and a block link point module as monitoring execution equipment, where a dotted line connection between block link points shown in fig. 5 represents a block chain P2P network connection.
Thus, in the application scenario shown in fig. 5, after acquiring an application docker configuration parameter issued by a configuration administrator and an instruction for designating the cloud server A, B, D to deploy docker, the local computer F writes these pieces of information into the blockchain, for example, the configuration information acquired by the local computer F includes identification information of the cloud server A, B, D, a docker configuration instruction executed by the designated cloud server A, B, D, and a corresponding docker configuration parameter, and then the local computer F may write the docker configuration parameter and the docker configuration instruction into a corresponding blockchain account of the server according to the identification information. In this way, through the network connection of the blockchain P2P, the cloud server A, B, D executes the docker configuration after monitoring the issued configuration parameters and instructions, and the cloud servers C and E do not execute the docker configuration after monitoring the configuration parameters and instructions.
As can be seen from the above, in step S201 of the method for configuring the issuing device side shown in fig. 2, the configuration information obtained by configuring the issuing device may include a docker configuration parameter and a docker configuration instruction for applying docker deployment. In this way, in step S302 of the method on the side of the monitoring execution device shown in fig. 3, when it is determined that the docker configuration parameter and the docker configuration instruction are configuration information that specifies that the monitoring execution device executes docker configuration, the monitoring execution device executes docker configuration operation according to the docker configuration parameter and the docker configuration instruction.
As can be seen from the first embodiment and the second embodiment, the cloud service configuration method provided by the embodiment of the disclosure is suitable for different cloud service configuration requirements, and has stronger universality. For example, for the same blockchain, multiple cloud service systems may exist at the same time, and each cloud service system may adopt a different configuration issuing manner, which is worth explaining that, in this case, a certain cloud server may determine, through an authentication mechanism of the cloud service system, whether the configuration information of the blockchain system is the configuration information written by the configuration issuing device in the cloud service system.
The present disclosure also provides a cloud service configuration apparatus, which is applied to a configuration issuing device in a cloud service system, where the configuration issuing device is a node in a blockchain system, and as shown in fig. 6, the cloud service configuration apparatus 60 includes: an obtaining module 601, configured to obtain configuration information; a block chain writing module 602, configured to write the configuration information into a block chain, where the configuration information is used for a monitoring execution device in the cloud service system to execute a corresponding cloud service configuration operation when the configuration information exists in the block chain.
Optionally, the configuration information includes identification information of any monitoring execution device in the cloud service system, and the block chain writing module 602 is configured to write the configuration information as transaction information into an account address of the monitoring execution device corresponding to the identification information based on a transaction mechanism of a block chain.
Optionally, the block chain writing module 602 is configured to write the configuration information into the block chain in the form of an SQ L statement.
Optionally, the configuration information includes a docker configuration parameter and a docker configuration instruction.
By adopting the device, the configuration information issued by the configuration issuing equipment is stored in the block chain, and based on the characteristics of the block chain, the configuration information realizes the synchronous storage of the whole network, thereby reducing the probability of single-point failure, and the historical configuration information can be traced and can not be modified, thereby being convenient for tracing network accidents. In addition, by adopting the technical scheme provided by the disclosure, an administrator can configure the cloud service for the cloud server (namely, the monitoring execution device) through the local configuration issuing device without manually configuring the remote login cloud server, so that the configuration efficiency is improved.
It should be clear to those skilled in the art that the cloud service configuration apparatus may specifically be a part that implements configuration of the issuing device by software, hardware, or a combination of both. For convenience and simplicity of description, the division of the functional modules is merely used for illustration, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. For the specific working process of the functional module, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
The present disclosure also provides another cloud service configuration apparatus, which is applied to a monitoring execution device in a cloud service system, where the monitoring execution device is a node in a blockchain system, as shown in fig. 7, the cloud service configuration apparatus 70 includes:
a monitoring module 701, configured to monitor whether new configuration information exists in the block chain;
an executing module 702, configured to execute, when the monitoring module monitors that the new configuration information exists in the block chain, a corresponding cloud service configuration operation according to the new configuration information.
Optionally, the new configuration information includes common configuration information and specific configuration information, and the executing module 702 is configured to:
when the new configuration information exists in the block chain, analyzing and analyzing whether the new configuration information is public configuration information or appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, and when the new configuration information is determined to be the public configuration information or the appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, executing the cloud service configuration operation corresponding to the configuration information.
Optionally, the specified configuration information includes a docker configuration parameter and a docker configuration instruction, and the execution module 702 is configured to:
and when determining that the docker configuration parameter and the docker configuration instruction are configuration information for specifying the monitoring execution device to execute docker configuration, executing docker configuration operation according to the docker configuration parameter and the docker configuration instruction.
Optionally, the new configuration information is written into the block chain by the configuration issuing apparatus in the form of an SQ L statement, and the execution module 702 is configured to:
storing the new configuration information into a SQ L database of the interception execution device;
and performing corresponding SQ L operation on the configuration data of the SQ L database according to the configuration command in the SQ L database, wherein the new configuration information comprises the configuration command and/or the configuration data.
Optionally, the listening module 701 is further configured to: when the monitoring execution equipment is initially added into the block chain system, synchronizing all configuration information stored in the block chain; the execution module 702 is further configured to: and completing the public configuration of the monitoring execution equipment according to the public configuration information in the configuration information.
It is clear to those skilled in the art that the cloud service configuration apparatus may specifically be a part of the listening execution device implemented by software, hardware, or a combination of the two. For convenience and simplicity of description, the division of the functional modules is merely used for illustration, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. For the specific working process of the functional module, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiment of the present disclosure further provides a non-transitory computer-readable storage medium 1, where the computer-readable storage medium 1 includes one or more programs, and the one or more programs are used to execute the cloud service configuration method executed by the configuration issuing device side.
The embodiment of the present disclosure further provides a configuration issuing device 1, where the configuration issuing device 1 includes the non-transitory computer-readable storage medium 1 and one or more processors, and is configured to execute a program in the non-transitory computer-readable storage medium 1. The configuration issuing device 1 may be a local computer of a cloud service system administrator.
Illustratively, fig. 8 is a block diagram of a configuration issuing device 800. As shown in fig. 8, the configuration issuing device 800 may include: a processor 801, a memory 802, a multimedia component 803, an input/output (I/O) interface 804, and a communications component 805.
The processor 801 is configured to control the overall operation of the configuration issuing apparatus 800 to complete all or part of the steps in the cloud service configuration method (where the configuration issuing apparatus is installed with a configuration issuing software module and a block link node software module). The memory 802 is used to store various types of data to support the operation of the configuration issuing device 800, which may include, for example, instructions for any application or method operating on the configuration issuing device 800, as well as application-related data. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the configuration issuing device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the configuration issuing Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable logic devices (Programmable L analog devices, P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, for executing the cloud service configuration method.
The embodiment of the present disclosure further provides another non-transitory computer-readable storage medium 2, where the computer-readable storage medium 2 includes one or more programs, and the one or more programs are used to execute the cloud service configuration method executed by the monitoring execution device side.
The embodiment of the present disclosure further provides a listening execution device 2, where the listening execution device 2 includes the non-transitory computer-readable storage medium 2 and one or more processors, configured to execute the program in the non-transitory computer-readable storage medium 2. The listening executing device 2 may be a cloud server in a cloud service system.
Illustratively, fig. 9 is a block diagram of a snoop execution device 900. As shown in fig. 9, the snoop execution device 900 includes a processing component 901 that further includes one or more processors, and memory resources, represented by memory 902, for storing instructions, e.g., applications, that are executable by the processing component 901. The application programs stored in memory 902 may include one or more modules that each correspond to a set of instructions. In addition, the processing component 902 is configured to execute instructions to execute the cloud service configuration method, wherein the interception execution device 900 is installed with a block link node software module and an interception software module and an execution software module.
The snoop execution device 900 may further include a power component 903 configured to perform power management of the snoop execution device 900, a wired or wireless network interface 904 configured to connect the snoop execution device 900 to a network, and an input-output (I/O) interface 905 the snoop execution device 900 may be operable based on an operating system stored in the memory 902, such as Windows Server, Mac OS XTM, UnixTM, &lTtTtranslation = L "&gtL &ltt/T &gttinux, FreeBSDTM, or the like.
The embodiment of the present disclosure further provides a cloud service system, where the cloud service system includes a configuration issuing device and a monitoring execution device, and the configuration issuing device and the monitoring execution device are both nodes in a block chain system. The configuration issuing equipment is used for acquiring configuration information and writing the configuration information into a block chain. The monitoring execution device is used for monitoring whether new configuration information exists in the block chain or not, and executing corresponding cloud service configuration operation according to the new configuration information when the new configuration information exists in the block chain.
It should be noted that, the cloud service system may refer to the system architecture shown in fig. 5, where the local computer F shown in fig. 5 is the configuration issuing device, and each cloud server is a monitoring execution device. In addition, the configuration of the issuing device and the monitoring executing device may specifically refer to the description in the foregoing apparatus embodiment, and details are not described herein.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (21)

1. A cloud service configuration method is characterized in that the method is applied to configuration issuing equipment in a cloud service system, the configuration issuing equipment and monitoring execution equipment in the cloud service system are both nodes in a block chain system, and the method comprises the following steps:
the configuration issuing equipment acquires configuration information; and are
Writing the configuration information into a block chain, wherein the configuration information is used for executing corresponding cloud service configuration operation when the monitoring execution equipment monitors that the configuration information exists in the block chain, and returning a configuration result to the block chain so as to facilitate auditing;
the configuration information comprises public configuration information and appointed configuration information, and the monitoring execution equipment executes the cloud service configuration operation corresponding to the configuration information when determining that the configuration information is the public configuration information or the appointed configuration information which appoints the monitoring execution equipment to execute the configuration operation.
2. The method of claim 1, wherein the configuration information comprises identification information of any listening execution device in the cloud service system, and wherein writing the configuration information into a block chain comprises:
and writing the configuration information serving as transaction information into the account address of the monitoring execution equipment corresponding to the identification information based on a transaction mechanism of the block chain.
3. The method according to claim 1 or 2, wherein the writing the configuration information into the block chain comprises:
writing the configuration information in the block chain in the form of a SQ L statement.
4. The method of claim 1, wherein the configuration information comprises a docker configuration parameter and a docker configuration instruction.
5. A cloud service configuration method is applied to a monitoring execution device in a cloud service system, wherein the monitoring execution device and a configuration issuing device in the cloud service system are both nodes in a block chain system, and the method comprises the following steps:
the monitoring execution equipment monitors whether new configuration information exists in the block chain; and are
When the new configuration information exists in the block chain, executing corresponding cloud service configuration operation according to the new configuration information, and returning a configuration result to the block chain for auditing;
the new configuration information includes public configuration information and specified configuration information, and when it is monitored that the new configuration information exists in the block chain, the corresponding cloud service configuration operation is executed according to the new configuration information, including:
when the new configuration information exists in the block chain, analyzing and analyzing whether the new configuration information is public configuration information or appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, and when the new configuration information is determined to be the public configuration information or the appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, executing the cloud service configuration operation corresponding to the configuration information.
6. The method according to claim 5, wherein the specified configuration information includes a docker configuration parameter and a docker configuration instruction, and the performing the corresponding cloud service configuration operation according to the new configuration information includes:
and when determining that the docker configuration parameter and the docker configuration instruction are configuration information for specifying the monitoring execution device to execute docker configuration, executing docker configuration operation according to the docker configuration parameter and the docker configuration instruction.
7. The method as claimed in claim 5 or 6, wherein the new configuration information is written into the block chain by the configuration issuing equipment in the form of SQ L statement, and the performing the corresponding cloud service configuration operation according to the new configuration information includes:
storing the new configuration information into a SQ L database of the interception execution device;
and performing corresponding SQ L operation on the configuration data of the SQ L database according to the configuration command in the SQ L database, wherein the new configuration information comprises the configuration command and/or the configuration data.
8. The method of claim 5 or 6, further comprising:
when the monitoring execution equipment is initially added into the block chain system, synchronizing all configuration information stored in the block chain;
and completing the public configuration of the monitoring execution equipment according to the public configuration information in all the configuration information.
9. A cloud service configuration device is applied to configuration issuing equipment in a cloud service system, wherein the configuration issuing equipment is a node in a block chain system, and the device comprises:
the acquisition module is used for acquiring configuration information;
a block chain writing module, configured to write the configuration information into a block chain, where the configuration information is used for a monitoring execution device in the cloud service system to execute a corresponding cloud service configuration operation when monitoring that the configuration information exists in the block chain, and return a configuration result to the block chain for auditing;
the configuration information comprises public configuration information and appointed configuration information, and the monitoring execution equipment executes the cloud service configuration operation corresponding to the configuration information when determining that the configuration information is the public configuration information or the appointed configuration information which appoints the monitoring execution equipment to execute the configuration operation.
10. The apparatus according to claim 9, wherein the configuration information includes identification information of any listening execution device in the cloud service system, and the blockchain writing module is configured to write the configuration information as transaction information into an account address of the listening execution device corresponding to the identification information based on a transaction mechanism of a blockchain.
11. The apparatus according to claim 9 or 10, wherein the blockchain writing module is configured to write the configuration information into the blockchain in the form of an SQ L statement.
12. The apparatus of claim 11, wherein the configuration information comprises a docker configuration parameter and a docker configuration instruction.
13. The cloud service configuration apparatus is applied to a monitoring execution device in a cloud service system, where the monitoring execution device is a node in a blockchain system, and the apparatus includes:
the monitoring module is used for monitoring whether new configuration information exists in the block chain;
the execution module is used for executing corresponding cloud service configuration operation according to the new configuration information when the monitoring module monitors that the new configuration information exists in the block chain, and returning a configuration result to the block chain so as to facilitate auditing;
the new configuration information includes common configuration information and specified configuration information, and the execution module is configured to:
when the new configuration information exists in the block chain, analyzing and analyzing whether the new configuration information is public configuration information or appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, and when the new configuration information is determined to be the public configuration information or the appointed configuration information for appointing the monitoring execution equipment to execute configuration operation, executing the cloud service configuration operation corresponding to the configuration information.
14. The apparatus of claim 13, wherein the specific configuration information comprises a docker configuration parameter and a docker configuration instruction, and wherein the execution module is configured to:
and when determining that the docker configuration parameter and the docker configuration instruction are configuration information for specifying the monitoring execution device to execute docker configuration, executing docker configuration operation according to the docker configuration parameter and the docker configuration instruction.
15. The apparatus according to claim 13 or 14, wherein the new configuration information is written by the configuration issuing device in the block chain in the form of an SQ L statement, and the execution module is configured to:
storing the new configuration information into a SQ L database of the interception execution device;
and performing corresponding SQ L operation on the configuration data of the SQ L database according to the configuration command in the SQ L database, wherein the new configuration information comprises the configuration command and/or the configuration data.
16. The apparatus of claim 13 or 14, wherein the listening module is further configured to: when the monitoring execution equipment is initially added into the block chain system, synchronizing all configuration information stored in the block chain;
the execution module is further to: and completing the public configuration of the monitoring execution equipment according to the public configuration information in all the configuration information.
17. A non-transitory computer readable storage medium including one or more programs for performing the method of any of claims 1-4.
18. A configuration issuing device is characterized by comprising:
the non-transitory computer readable storage medium recited in claim 17; and
one or more processors to execute the program in the computer-readable storage medium.
19. A non-transitory computer readable storage medium including one or more programs for performing the method of any of claims 5-8.
20. A snoop execution device, comprising:
the non-transitory computer readable storage medium recited in claim 19; and
one or more processors to execute the program in the computer-readable storage medium.
21. A cloud service system is characterized in that the cloud service system comprises configuration issuing equipment and monitoring execution equipment, wherein the configuration issuing equipment and the monitoring execution equipment are both nodes in a block chain system;
the configuration issuing equipment is used for acquiring configuration information and writing the configuration information into a block chain;
the monitoring execution device is used for monitoring whether new configuration information exists in the block chain, executing corresponding cloud service configuration operation according to the new configuration information when the new configuration information exists in the block chain, and returning a configuration result to the block chain for auditing.
CN201780002522.7A 2017-12-06 2017-12-06 Cloud service configuration method and device, storage medium and cloud service system Active CN108139964B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114864 WO2019109274A1 (en) 2017-12-06 2017-12-06 Cloud service configuration method and apparatus, storage medium, and cloud service system

Publications (2)

Publication Number Publication Date
CN108139964A CN108139964A (en) 2018-06-08
CN108139964B true CN108139964B (en) 2020-08-07

Family

ID=62400286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780002522.7A Active CN108139964B (en) 2017-12-06 2017-12-06 Cloud service configuration method and device, storage medium and cloud service system

Country Status (2)

Country Link
CN (1) CN108139964B (en)
WO (1) WO2019109274A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218082B (en) * 2018-08-24 2021-08-24 维沃移动通信有限公司 Network configuration parameter processing method, device and equipment
CN110071918B (en) * 2019-04-19 2020-10-09 北京那镁克科技有限公司 Data communication method and device based on hybrid cloud
CN110046166B (en) * 2019-04-22 2021-06-18 网易(杭州)网络有限公司 Timing task scheduling method and device based on block chain
CN110149202B (en) * 2019-04-26 2022-04-05 平安科技(深圳)有限公司 Parameter configuration and reconstruction method, device, equipment and medium based on block chain
CN111126855A (en) * 2019-12-26 2020-05-08 新奥数能科技有限公司 Equipment regulation and control method, equipment client and server
CN112153146B (en) * 2020-09-25 2022-08-16 北京金山云网络技术有限公司 Operation notification method and apparatus, storage medium, and electronic apparatus
CN115167163A (en) * 2022-06-28 2022-10-11 青岛海尔科技有限公司 Scene execution method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106796524A (en) * 2016-12-27 2017-05-31 深圳前海达闼云端智能科技有限公司 The method of records application program configuration information, device and electronic equipment
CN106776894A (en) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 Log database system and synchronous method
CN107358422A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 Payment system based on block chain technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170330159A1 (en) * 2016-05-13 2017-11-16 Bank Of America Corporation Resource allocation and transfer in a distributed network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776894A (en) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 Log database system and synchronous method
CN106796524A (en) * 2016-12-27 2017-05-31 深圳前海达闼云端智能科技有限公司 The method of records application program configuration information, device and electronic equipment
CN107358422A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 Payment system based on block chain technology

Also Published As

Publication number Publication date
CN108139964A (en) 2018-06-08
WO2019109274A1 (en) 2019-06-13

Similar Documents

Publication Publication Date Title
CN108139964B (en) Cloud service configuration method and device, storage medium and cloud service system
US11336531B2 (en) Discovery and management of devices
US11307967B2 (en) Test orchestration platform
US10742483B2 (en) Network fault originator identification for virtual network infrastructure
US9419856B1 (en) Network device configuration deployment pipeline
US9992064B1 (en) Network device configuration deployment pipeline
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
US11924056B2 (en) User interface tools for device-driven management workflows
US11470149B2 (en) State management for device-driven management workflows
CN104219316A (en) Method and device for processing call request in distributed system
US10097621B2 (en) Application deployment engine
WO2021203979A1 (en) Operation and maintenance processing method and apparatus, and computer device
US11855833B2 (en) Device-driven management workflow status and impact
US10313441B2 (en) Data processing system with machine learning engine to provide enterprise monitoring functions
US11650888B2 (en) Workflow error handling for device driven management
US10778517B2 (en) System and method for validating correctness of changes to network device configurations
CN111258627A (en) Interface document generation method and device
US10644947B2 (en) Non-invasive diagnosis of configuration errors in distributed system
CN111770174A (en) Cloud platform deployment method, device, equipment and readable storage medium
US10536506B2 (en) Webpage analytics and control
CN106878333B (en) A kind of third party authentication method, device and application system server
US20200133252A1 (en) Systems and methods for monitoring performance of a building management system via log streams
CN110930110A (en) Distributed flow monitoring method and device, storage medium and electronic equipment
CN114978923A (en) Fault drilling method, device and system
CN112433938A (en) Method and device for testing application of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210308

Address after: 201111 2nd floor, building 2, no.1508, Kunyang Road, Minhang District, Shanghai

Patentee after: Dalu Robot Co.,Ltd.

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee before: CLOUDMINDS (SHENZHEN) HOLDINGS Co.,Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 201111 Building 8, No. 207, Zhongqing Road, Minhang District, Shanghai

Patentee after: Dayu robot Co.,Ltd.

Address before: 201111 2nd floor, building 2, no.1508, Kunyang Road, Minhang District, Shanghai

Patentee before: Dalu Robot Co.,Ltd.

CP03 Change of name, title or address