WO2019109274A1 - 云服务配置方法、装置、存储介质及云服务系统 - Google Patents

云服务配置方法、装置、存储介质及云服务系统 Download PDF

Info

Publication number
WO2019109274A1
WO2019109274A1 PCT/CN2017/114864 CN2017114864W WO2019109274A1 WO 2019109274 A1 WO2019109274 A1 WO 2019109274A1 CN 2017114864 W CN2017114864 W CN 2017114864W WO 2019109274 A1 WO2019109274 A1 WO 2019109274A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
configuration information
blockchain
cloud service
information
Prior art date
Application number
PCT/CN2017/114864
Other languages
English (en)
French (fr)
Inventor
谢辉
王健
周阳
Original Assignee
深圳达闼科技控股有限公司
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 深圳达闼科技控股有限公司 filed Critical 深圳达闼科技控股有限公司
Priority to CN201780002522.7A priority Critical patent/CN108139964B/zh
Priority to PCT/CN2017/114864 priority patent/WO2019109274A1/zh
Publication of WO2019109274A1 publication Critical patent/WO2019109274A1/zh

Links

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

Definitions

  • the present disclosure relates to the field of cloud services, and in particular, to a cloud service configuration method, apparatus, storage medium, and cloud service system.
  • a large cloud service provider can provide a cloud service configuration platform, allowing users to configure through a management interface, but in this configuration mode, configuration information depends on a single node, so there is usually a single point of failure problem, and Now, there are often cases where you must remotely log in to the corresponding cloud server for manual deployment. This can take a considerable amount of time, resulting in inefficient application deployment.
  • all historical configuration information of cloud services in related technologies cannot be counted or Focus on cloud service providers, and in the event of a network incident, it is quite difficult to trace the responsibility.
  • the main purpose of the present disclosure is to provide a cloud service configuration method, apparatus, storage medium, and cloud service system, which are used to solve the technical problem of low reliability and low efficiency of configuration management of existing cloud services.
  • a cloud service configuration method is provided, where the method is applied to a configuration delivery device in a cloud service system, and the configuration delivery device and the cloud service system are provided.
  • the monitoring execution device in the block is a node in the blockchain system, the method includes: the configuration sending device acquires configuration information; and writes the configuration information into a blockchain, where the configuration information is used in When the monitoring execution device detects that the configuration information exists in the blockchain, the corresponding cloud service configuration operation is performed.
  • the intercepting execution device monitors whether there is new configuration information in the blockchain; and when the new configuration information is detected in the blockchain, the corresponding cloud service is executed according to the new configuration information. Configure the operation.
  • a cloud service configuration apparatus is provided, where the apparatus is applied to a configuration delivery device in a cloud service system, where the configuration delivery device is a node in a blockchain system,
  • the device includes: an obtaining module, configured to acquire configuration information;
  • a blockchain writing module configured to write the configuration information into a blockchain, where the configuration information is used by a snooping execution device in the cloud service system to detect the presence of the configuration in the blockchain When the information is executed, the corresponding cloud service configuration operation is performed.
  • another cloud service configuration apparatus the apparatus being applied to a snooping execution device in a cloud service system, the snooping execution device being a node in a blockchain system, the device
  • the method includes: a monitoring module, configured to monitor whether the new configuration information exists in the blockchain, and an execution module, configured to: when the monitoring module monitors that the new configuration information exists in the blockchain, The new configuration information is executed to perform the corresponding cloud service configuration operation.
  • a non-transitory computer readable storage medium comprising one or more programs for performing an implementation of the present disclosure The method of the first aspect of the example.
  • a configuration delivery device comprising: the non-transitory computer readable storage medium of the fifth aspect of the embodiments of the present disclosure; and one or more processors for Executing the program in the computer readable storage medium.
  • a non-transitory computer readable storage medium comprising one or more programs for performing an implementation of the present disclosure The method of the second aspect of the invention.
  • a monitoring execution apparatus comprising: the non-transitory computer readable storage medium of the seventh aspect of the embodiments of the present disclosure; and one or more processors for performing The program in the computer readable storage medium.
  • a cloud service system includes a configuration delivery device, and a monitoring execution device, where the configuration delivery device and the monitoring execution device are blockchains.
  • a node in the system wherein the configuration sending device is configured to acquire configuration information, and write the configuration information into a blockchain; the monitoring execution device is configured to monitor whether the blockchain exists New configuration information, and when the new configuration information is detected in the blockchain, the corresponding cloud service configuration operation is performed according to the new configuration information.
  • the configuration information delivered by the configuration device is stored in the blockchain. Based on the characteristics of the blockchain, the configuration information is used to achieve synchronous storage of the entire network, which reduces the probability of a single point of failure problem, and history. Configuration information is traceable and cannot be modified to facilitate tracking of network incidents.
  • the administrator can perform cloud service configuration on the cloud server (that is, the monitoring execution device) through the local configuration delivery device, without manual login to the cloud server for manual configuration, thereby improving configuration efficiency.
  • FIG. 1 is a schematic structural diagram of a cloud service system according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a cloud service configuration method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of another cloud service configuration method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of an application scenario of a cloud service configuration method according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of another cloud service system according to an 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 according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a configuration sending device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a snooping execution device according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic structural diagram of a cloud service system.
  • the application scenario includes a local computer for delivering cloud service configuration information (such as the local computer F shown in FIG. 1), and a plurality of cloud servers (such as the cloud servers A, B, C, and D shown in FIG. 1). , E).
  • cloud service configuration information such as the local computer F shown in FIG. 1
  • cloud servers such as the cloud servers A, B, C, and D shown in FIG. 1).
  • E cloud servers
  • administrators can configure all cloud servers publicly and specify a cloud service to be configured.
  • the embodiment of the present disclosure provides a cloud service configuration method, which is applied to a configuration delivery device in a cloud service system, such as the local computer F shown in FIG. 1 , and the configuration execution device in the delivery device and the cloud service system. Both are nodes in the blockchain system, as shown in Figure 2, the method includes:
  • the configuration information may be configuration information generated by the configuration device based on an administrator's configuration operation, or configured to receive configuration information sent by other devices.
  • the configuration information is written into the blockchain, and the configuration information is used by the monitoring execution device to perform a corresponding cloud service configuration operation when the configuration information is detected in the blockchain.
  • the configuration delivery device is a local computer installed with the configuration delivery module software and the blockchain node software, and the account authorized to be configured for the cloud service has been logged into the blockchain node software.
  • the blockchain system can be a license chain, and the license chain specifies that certain accounts can write data in the blockchain, which are accounts that can be configured for cloud services, and those accounts are logged into an installed configuration. After the blockchain node of the module software is delivered, the issued configuration information can be written into the blockchain.
  • the configuration information may be public configuration information, that is, configuration information that all listening execution devices in the cloud service system need to monitor and execute.
  • the configuration information may also be specified configuration information that is specified by a certain interception execution device or some interception execution device.
  • the specific configuration information may include the identification information of the monitoring execution device that needs to perform the configuration operation, and the configuration delivery device may write the specified configuration information into the blockchain according to the blockchain transaction mechanism.
  • the specified configuration information is written as transaction information in the account address of the interception execution device corresponding to the identification information. In this way, when the monitoring execution device finds new configuration information in its own blockchain account, the corresponding cloud service configuration operation can be performed, and the new configuration information is not executed if it is not in its own blockchain account.
  • 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 address, name, and type of the cloud server, and the types and parameters of the cloud service application.
  • the configuration command refers to an operation, such as opening.
  • the operation of the FTP service which may be an existing command of the operating system, or a user-defined configuration script, may be designed according to the requirements of the actual application, which is not limited in this disclosure.
  • the configuration information delivered by the sending device is stored in the blockchain.
  • the configuration information is used to implement synchronous storage on the entire network based on the characteristics of the blockchain. This reduces the probability of single-point faults and historical configuration.
  • the information is traceable and cannot be modified to facilitate tracking of network incidents.
  • the administrator can perform cloud service configuration on the cloud server (that is, the monitoring execution device) through the local configuration delivery device, without manual login to the cloud server for manual configuration, thereby improving configuration efficiency.
  • the embodiment of the present disclosure further provides another cloud service configuration method, which is applied to a monitoring execution device in a cloud service system, such as any server shown in FIG. 1 , and the configuration of the monitoring execution device and the cloud service system is delivered.
  • the devices are nodes in the blockchain system, as shown in Figure 3.
  • the method includes:
  • the new configuration information is that the configuration sending device in the cloud service system writes into the blockchain.
  • the intercepting execution device is a node in the blockchain system, so that the intercepting execution device has at least the function of blockchain query.
  • the blockchain system authorized to configure the sending device can write configuration information, and the blockchain account authorized to listen to the executing device has the query function.
  • the monitoring execution device can be monitored and executed by the smart device, that is, the configuration information is recorded through the smart contract, and the configuration is provided. Interface, and the code of the smart contract is publicly released to the blockchain and is subject to public scrutiny and review.
  • the configuration information can be monitored and executed by monitoring the logic inside the execution device, and a corresponding interface is provided.
  • the implementation is flexible and easy to expand to meet various cloud service configuration management requirements.
  • the foregoing step S302 includes: analyzing and analyzing the new when the new configuration information exists in the blockchain is monitored. Whether the configuration information is public configuration information or specified configuration information that specifies that the monitoring execution device performs a configuration operation, when determining that the new configuration information is common configuration information or specifies that the monitoring execution device performs specified configuration information of the configuration operation And executing the cloud service configuration operation corresponding to the configuration information. For example, when the monitoring execution device listens to a certain configuration instruction, the configuration instruction may be parsed, and the instruction may determine whether the instruction is needed according to the cloud server IP address, the name, or the type and identifier of the cloud service application in the configuration data. Execute itself, and if so, perform the appropriate configuration operations.
  • the configuration result can be returned to the blockchain for auditing.
  • the newly added nodes need to perform block synchronization. Therefore, when the intercepting execution device initially joins the blockchain system, all the configuration information stored in the blockchain can be synchronized, and according to the configuration information.
  • the public configuration information completes the public configuration of the listening execution device of the newly joined system. For example, based on the system architecture shown in FIG. 1, in a specific implementation, the configuration of the new cloud server may first apply for a new cloud server resource, and install a blockchain node module and a configuration monitoring and execution module on the new cloud server.
  • the configuration information is synchronized through the p2p network of the blockchain, so that if the cloud server has no other settings, the configuration monitoring and execution module can automatically select the broadcast instruction sent to all the hosts, and complete the public according to the instructions. Configuration. Therefore, when the cloud server is down or the service is deployed on the new cloud server in the prior art, the previous configuration process needs to be manually performed again.
  • the embodiment of the present disclosure further improves the cloud service configuration efficiency.
  • Embodiment 1 the configuration method based on the SQL database is delivered
  • the local computer F in the blockchain system is configured with a configuration delivery module as a configuration delivery device, and each cloud server in the blockchain system is configured with a configuration monitoring module and a configuration execution module as a monitoring execution device.
  • each cloud server in the blockchain system is configured with a configuration monitoring module and a configuration execution module as a monitoring execution device.
  • cloud service A is indicated.
  • the configuration manner of the SQL database-based configuration includes:
  • the configuration delivery module writes configuration information in the form of a SQL statement to the blockchain.
  • the configuration monitoring module in the cloud server detects the configuration information in the form of a new SQL statement in the blockchain, and obtains the configuration information.
  • the configuration information may include configuration instructions and/or configuration data.
  • the configuration monitoring module stores the configuration instruction in an instruction form of the SQL database, and stores the configuration data according to the business requirement.
  • the configuration execution module in the cloud server listens to the SQL database, and sequentially executes the instructions in the instruction table according to the state of the current configuration data.
  • the configuration delivery device can write the obtained configuration information into the blockchain in the form of a SQL statement.
  • the interception execution device can store the new configuration information in the SQL database of the interception execution device, and according to the configuration instruction in the SQL database, the SQL The configuration data of the database is subjected to corresponding SQL operations, for example, SQL addition, deletion or modification.
  • Embodiment 2 Application docker deployment
  • a configuration delivery module and a blockchain node module are installed on the local computer F as a configuration delivery device, and each cloud server is installed with a configuration monitoring module, a configuration execution module, and a blockchain node module as a monitoring execution.
  • the local computer F writes the information to the application after obtaining an application docker configuration parameter issued by the configuration administrator and specifying the cloud server A, B, and D to deploy the docker.
  • the configuration information acquired by the local computer F includes the identification information of the cloud servers A, B, and D, and the docker configuration instructions respectively executed by the cloud servers A, B, and D, and the corresponding docker configuration parameters, and the local computer F can write the docker configuration parameters and docker configuration instructions to the corresponding server's blockchain account based on the identification information.
  • the cloud servers A, B, and D perform the configuration of the docker after listening to the configured configuration parameters and instructions, and the cloud servers C and E listen to the configuration parameters and instructions. Not executed.
  • the configuration information obtained by the configuration delivery device may include the docker configuration parameter and the docker configuration instruction for the application docker deployment in the step S201 of the configuration device on the delivery device side.
  • the intercept execution device determines the docker configuration parameter and the docker configuration instruction is to specify the configuration information of the docker execution device to perform the docker configuration
  • the docker configuration parameters and the docker configuration instructions perform docker configuration operations.
  • the cloud service configuration method provided by the embodiment of the present disclosure is applicable to different cloud service configuration requirements, and the versatility is stronger.
  • multiple cloud service systems can exist at the same time.
  • Each cloud service system can adopt different configuration delivery modes.
  • a cloud server can pass through The authentication mechanism of the cloud service system determines whether the configuration information of the blockchain system is the configuration information written by the configuration delivery device in the cloud service system.
  • the embodiment of the present disclosure further provides a cloud service configuration device, which is applied to a configuration delivery device in a cloud service system, where the configuration delivery device is a node in a blockchain system, as shown in FIG. Device 60 includes:
  • the obtaining module 601 is configured to obtain configuration information.
  • a blockchain writing module 602 configured to write the configuration information into a blockchain, where the configuration information is used by the intercepting execution device in the cloud service system to detect the presence of the blockchain When configuring information, perform the corresponding cloud service configuration operation.
  • the blockchain writing module 602 is configured to write the configuration information into the blockchain in the form of a SQL statement.
  • the configuration information includes docker configuration parameters and docker configuration instructions.
  • the configuration information delivered by the configuration device is stored in the blockchain. Based on the characteristics of the blockchain, the configuration information is synchronized to the entire network, which reduces the probability of single-point failure and historical configuration. The information is traceable and cannot be modified to facilitate tracking of network incidents.
  • the administrator can perform cloud service configuration on the cloud server (that is, the monitoring execution device) through the local configuration delivery device, without manual login to the cloud server for manual configuration, thereby improving configuration efficiency.
  • the cloud service configuration device may be a part of configuring the delivery device by software, hardware, or a combination of the two.
  • the above function assignments may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules.
  • the embodiment of the present disclosure further provides another cloud service configuration device, 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 device 70 includes:
  • the monitoring module 701 is configured to monitor whether there is new configuration information in the blockchain.
  • the executing module 702 is configured to perform a corresponding cloud service configuration operation according to the new configuration information when the monitoring module monitors that the new configuration information exists in the blockchain.
  • the new configuration information includes public configuration information and specified configuration information
  • the execution module 702 is configured to:
  • the cloud service configuration operation corresponding to the configuration information is executed.
  • the specified configuration information includes a docker configuration parameter and a docker configuration instruction, where the execution module 702 is configured to:
  • the docker configuration parameter is determined and the docker configuration instruction is to specify configuration information of the listener execution device to perform a docker configuration
  • a docker configuration operation is performed according to the docker configuration parameter and the docker configuration instruction.
  • the new configuration information is that the configuration sending device is written in the blockchain in the form of a SQL statement, and the executing module 702 is configured to:
  • Corresponding SQL operations are performed on the configuration data of the SQL database according to the configuration instructions in the SQL database, wherein the new configuration information includes the configuration instructions and/or the configuration data.
  • the monitoring module 701 is further configured to: when the intercepting execution device initially joins the blockchain system, synchronize all configuration information stored in the blockchain; the executing module 702 is further configured to: The public configuration of the snooping execution device is completed according to the common configuration information in the configuration information.
  • the foregoing cloud service configuration apparatus may specifically implement a part of the monitoring execution apparatus by software, hardware or a combination of the two.
  • the above function assignments may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules.
  • the embodiment of the present disclosure further provides a non-transitory computer readable storage medium 1 including one or more programs for executing the configuration performed by the sending device side. Cloud service configuration method.
  • the embodiment of the present disclosure further provides a configuration delivery device 1 including the above non-transitory computer readable storage medium 1 and one or more processors for performing the non-transitory computer readable The program in the storage medium 1.
  • the configuration delivery device 1 may be a local computer of a cloud service system administrator.
  • FIG. 8 is a block diagram of a configuration delivery device 800.
  • the configuration delivery device 800 can include a processor 801, a memory 802, a multimedia component 803, an input/output (I/O) interface 804, and a communication component 805.
  • the processor 801 is configured to control the overall operation of the configuration delivery device 800 to complete all or part of the foregoing cloud service configuration method, where the configuration delivery device is configured with the configuration delivery software module and the blockchain node software. Module).
  • the memory 802 is configured to store various types of data to support operation of the device 800 in the configuration, such data, for example, including instructions for any application or method operating on the device 800, and an application related data.
  • the memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (Erasable) Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, disk or optical disk.
  • the multimedia component 803 can include a screen and audio components. The screen may be, for example, a touch screen, and the audio component is used to output and/or input an audio signal.
  • the I/O interface 804 provides an interface between the processor 801 and other interface modules.
  • the other interface modules may be keyboards, mice, buttons, and the like. These buttons can be virtual buttons or physical buttons.
  • the communication component 805 is used for wired or wireless communication between the delivery 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 the corresponding communication component 805 can include: Wi-Fi module, Bluetooth module, NFC module.
  • the configuration delivery device 800 can be configured by one or more application specific integrated circuits (Application) Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), on-site A Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the above cloud service configuration method.
  • ASIC Application Specific integrated circuits
  • DSP Digital Signal Processor
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the above cloud service configuration method.
  • the embodiment of the present disclosure further provides another non-transitory computer readable storage medium 2, the computer readable storage medium 2 including one or more programs for performing the above-mentioned monitoring execution device side execution Cloud service configuration method.
  • the embodiment of the present disclosure further provides a snooping execution device 2 comprising the above non-transitory computer readable storage medium 2, and one or more processors for executing the non-transitory computer readable storage medium
  • the monitoring execution device 2 may be a cloud server in the cloud service system.
  • FIG. 9 is a block diagram of a snooping execution device 900.
  • the snoop execution device 900 includes a processing component 901 that further includes one or more processors, and memory resources represented by the memory 902 for storing instructions executable by the processing component 901, such as an application. program.
  • An application stored in memory 902 can include one or more modules each corresponding to a set of instructions.
  • the processing component 902 is configured to execute instructions to perform the cloud service configuration method described above, wherein the snoop execution device 900 is installed with a blockchain node software module and a snoop software module and an execution software module.
  • the snooping execution device 900 can also include a power supply component 903 configured to perform power management of the snooping execution device 900, a wired or wireless network interface 904 configured to connect the snooping execution device 900 to the network, and an input/output (I/O) ) interface 905.
  • the snoop execution device 900 can operate based on an operating system stored in the memory 902, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • the embodiment of the present disclosure further provides a cloud service system, where the cloud service system includes a configuration delivery device and a monitoring execution device, and the configuration delivery device and the monitoring execution device are nodes in a blockchain system.
  • the configuration sending device is configured to obtain configuration information, and write the configuration information into a blockchain.
  • the intercepting execution device is configured to monitor whether there is new configuration information in the blockchain, and when the new configuration information is detected in the blockchain, perform corresponding according to the new configuration information. Cloud service configuration operations.
  • the cloud service system can refer to the system architecture shown in FIG. 5, wherein the local computer F shown in FIG. 5 is the configuration delivery device, and each cloud server is a monitoring execution device.
  • the configuration of the sending device and the monitoring and executing device may refer to the description in the foregoing device embodiments, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种云服务配置方法、装置、存储介质及云服务系统,用以解决现有云服务的配置管理可靠性低以及效率低的技术问题,所述方法应用于云服务系统中的配置下发设备,所述配置下发设备与所述云服务系统中的监听执行设备均为区块链系统中的节点,所述方法包括:所述配置下发设备获取配置信息;并将所述配置信息写入区块链中,所述配置信息用于所述监听执行设备在监听到所述区块链中存在所述配置信息时,执行相应的云服务配置操作。

Description

云服务配置方法、装置、存储介质及云服务系统 技术领域
本公开涉及云服务领域,尤其涉及一种云服务配置方法、装置、存储介质及云服务系统。
背景技术
随着互联网的高速发展,各行各业都不断加入到互联网阵营之中,很多企业将自己的业务系统迁移至云服务环境,云环境下的应用越来越多,云环境因此也越发复杂。如何在如此大规模的云环境中快速配置相关业务应用对于云服务的快速构建起着重大的作用。
相关技术中,大型的云服务提供商可提供云服务配置平台,允许用户通过管理界面进行配置,但是在这种配置方式下,配置信息依赖于单个节点,因此通常存在单点故障的问题,另外,现在还有经常必须远程登录到相应的云服务器进行手动部署的情况,这会消耗相当多的时间,导致应用部署的效率低下,此外,相关技术中云服务的所有的历史配置信息无法统计或者集中在云服务提供商,一旦发生网络事故,追查责任相当困难。
发明内容
本公开主要目的是提供一种云服务配置方法、装置、存储介质及云服务系统,用以解决现有云服务的配置管理可靠性低以及效率低的技术问题。
为了实现上述目的,根据本公开实施例的第一方面,提供一种云服务配置方法,所述方法应用于云服务系统中的配置下发设备,所述配置下发设备与所述云服务系统中的监听执行设备均为区块链系统中的节点,所述方法包括:所述配置下发设备获取配置信息;并将所述配置信息写入区块链中,所述配置信息用于所述监听执行设备在监听到所述区块链中存在所述配置信息时,执行相应的云服务配置操作。
根据本公开实施例的第二方面,提供另一种云服务配置方法,所述方法应用于云服务系统中的监听执行设备,所述监听执行设备与所述云服务系统中的配置下发设备均为区块链系统中的节点,所述方法包括:
所述监听执行设备监听所述区块链中是否存在新的配置信息;并在监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
根据本公开实施例的第三方面,提供一种云服务配置装置,所述装置应用于云服务系统中的配置下发设备,所述配置下发设备为区块链系统中的节点,所述装置包括:获取模块,用于获取配置信息;
区块链写入模块,用于将所述配置信息写入区块链中,所述配置信息用于所述云服务系统中的监听执行设备在监听到所述区块链中存在所述配置信息时,执行相应的云服务配置操作。
根据本公开实施例的第四方面,提供另一种云服务配置装置,所述装置应用于云服务系统中的监听执行设备,所述监听执行设备为区块链系统中的节点,所述装置包括:监听模块,用于监听所述区块链中是否存在新的配置信息;执行模块,用于在所述监听模块监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
根据本公开实施例的第五方面,提供一种非临时性计算机可读存储介质,所述计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行本公开实施例的第一方面所述的方法。
根据本公开实施例的第六方面,提供一种配置下发设备,包括:本公开实施例的第五方面所述的非临时性计算机可读存储介质;以及一个或者多个处理器,用于执行所述计算机可读存储介质中的程序。
根据本公开实施例的第七方面,提供一种非临时性计算机可读存储介质,所述计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行本公开实施例的第二方面所述的方法。
根据本公开实施例的第八方面,提供一种监听执行设备,包括:本公开实施例的第七方面所述的非临时性计算机可读存储介质;以及一个或者多个处理器,用于执行所述计算机可读存储介质中的程序。
根据本公开实施例的第九方面,提供一种云服务系统,所述云服务系统包括配置下发设备,以及监听执行设备,所述配置下发设备与所述监听执行设备均为区块链系统中的节点;其中,所述配置下发设备用于,获取配置信息,并将所述配置信息写入区块链中;所述监听执行设备用于,监听所述区块链中是否存在新的配置信息,并在监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
采用上述技术方案,配置下发设备下发的配置信息均存储在区块链中,基于区块链的特性,配置信息实现全网同步存储,降低了出现单点故障问题的概率,并且,历史配置信息可追溯且无法修改,便于追查网络事故。另外,采用本公开提供的技术方案,管理员可以通过本地的配置下发设备对云端的服务器(即监听执行设备)进行云服务配置,无需远程登录云服务器进行手动配置,提高了配置效率。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
图1是本公开实施例提供的一种云服务系统的架构示意图;
图2是本公开实施例提供的一种云服务配置方法的流程示意图;
图3是本公开实施例提供的另一种云服务配置方法的流程示意图;
图4是本公开实施例提供的一种云服务配置方法的应用场景的示意图;
图5是本公开实施例提供的另一种云服务系统的架构示意图;
图6是本公开实施例提供的一种云服务配置装置的结构示意图;
图7是本公开实施例提供的另一种云服务配置装置的结构示意图;
图8是本公开实施例提供的一种配置下发设备的结构示意图;
图9是本公开实施例提供的一种监听执行设备的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
为了便于本领域技术人员理解本公开实施例提供的技术方案,下面首先提供本公开实施例的一种应用场景,如图1所示,图1是云服务系统的一种架构示意图。该应用场景包括用于下发云服务配置信息的本地计算机(如图1中所示的本地计算机F),以及多个云服务器(如图1中所示的云服务器A、B、C、D、E)。通过本地计算机,管理员可以对所有云服务器进行公共配置,还可以指定对某一云服务进行配置。
本公开实施例提供一种云服务配置方法,该方法应用于云服务系统中的配置下发设备,例如图1所示的本地计算机F,该配置下发设备与云服务系统中的监听执行设备均为区块链系统中的节点,如图2所示,该方法包括:
S201、获取配置信息。
其中,该配置信息可以是配置下发设备基于管理员的配置操作生成的配置信息,也可以是接收到其他设备发送的配置信息。
S202、将该配置信息写入区块链中,该配置信息用于监听执行设备在监听到该区块链中存在该配置信息时,执行相应的云服务配置操作。
在一种可能的实现方式中,配置下发设备是安装有配置下发模块软件以及区块链节点软件,并且被授权能够进行云服务配置的账户已登录该区块链节点软件的本地计算机。例如,该区块链系统可以为许可链,并且该许可链指定某些账户可以在区块链中写入数据,这些账户即为能够进行云服务配置的账户,这些账户登录某一安装有配置下发模块软件的区块链节点后,即可将下发的配置信息写入到区块链中。
具体地,该配置信息可以是公共配置信息,即该云服务系统中的所有监听执行设备都需要监听并执行的配置信息。该配置信息也可以是指定某一监听执行设备或者某些监听执行设备执行的指定配置信息。其中,在具体实施时,指定配置信息可以包括需要执行配置操作的监听执行设备的标识信息,则配置下发设备在将指定配置信息写入区块链时,可以基于区块链的交易机制将该指定配置信息作为交易信息写入该标识信息对应的监听执行设备的账户地址中。这样,监听执行设备在自身的区块链账户中查找到新的配置信息时,即可执行相应的云服务配置操作,若新的配置信息不处于自身的区块链账户中即可不执行。
值得说明的是,云环境中的配置信息,可以包括配置数据和配置指令。其中配置数据指定的是具体的业务参数,可以根据业务灵活定制,比如云服务器的IP、名称、类型等,以及云服务应用的类型、参数等;而配置指令指的是某种操作,比如打开FTP服务的操作,其可以是操作系统现有的命令,也可以是用户自定义的配置脚本,具体可以根据实际应用中的需求设计相应指令格式,本公开对此不做限定。
采用上述方法,配置下发设备下发的配置信息均存储在区块链中,基于区块链的特性,配置信息实现全网同步存储,降低了出现单点故障问题的概率,并且,历史配置信息可追溯且无法修改,便于追查网络事故。另外,采用本公开提供的技术方案,管理员可以通过本地的配置下发设备对云端的服务器(即监听执行设备)进行云服务配置,无需远程登录云服务器进行手动配置,提高了配置效率。
本公开实施例还提供另一种云服务配置方法,该方法应用于云服务系统中的监听执行设备,例如图1所示的任一服务器,该监听执行设备与云服务系统中的配置下发设备均为区块链系统中的节点,如图3所示,该方法包括:
S301、监听区块链中是否存在新的配置信息。
其中,该新的配置信息是云服务系统中的配置下发设备写入到区块链中的。具体可参照上述对图2所示的方法步骤进行的详细说明,此处不再赘述。
S302、在监听到该区块链中存在所述新的配置信息时,根据新的配置信息执行相应的云服务配置操作。
其中,该监听执行设备是区块链系统中的节点,使得该监听执行设备至少具备区块链查询的功能。例如,该区块链系统授权配置下发设备的区块链账户可以写入配置信息,授权监听执行设备的区块链账户具备查询功能。
在本公开实施例的一种可能的实现方式中,区块链系统中可以通过智能合约的方式实现监听执行设备对配置信息的监听以及执行,也就是说,通过智能合约记录配置信息,提供增加接口,并且该智能合约的代码公开发行到区块链上,受公众监督和审阅。在另一种可能的实现方式中,也可以通过监听执行设备内部的逻辑实现对配置信息的监听与执行,并提供相应的接口。实现方式灵活,易扩展,满足各种不同的云服务配置管理需求。
另外,值得说明的是,上述新的配置信息包括公共配置信息以及指定配置信息,则上述步骤S302包括:在监听到所述区块链中存在所述新的配置信息时,解析分析所述新的配置信息是否为公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息,在确定所述新的配置信息是公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息时,执行所述配置信息相应的云服务配置操作。例如,监听执行设备在监听到某一配置指令时,可以对配置指令进行解析,分析该指令可依据配置数据中的云服务器IP地址、名称或者云服务应用的类型、标识等判断该指令是否需要自身执行,如果是,则执行相应的配置操作。
进一步地,监听执行设备在完成配置后,可以将配置结果返回给区块链以便审计。
基于区块链的机制,新加入的节点需要进行区块同步,因此,监听执行设备在初始加入区块链系统时,可以同步区块链中存储的所有配置信息,并根据该配置信息中的公共配置信息完成对新加入系统的监听执行设备的公共配置。例如,基于图1所示的系统架构,在具体实施时,新云服务器的配置可以首先申请新的云服务器资源,并在新的云服务器上安装区块链节点模块和配置监听与执行模块,进一步地,通过区块链的p2p网络同步配置信息,这样,如果该云服务器没有其他设置,则配置监听与执行模块就可以自动去选择下发给所有主机的广播指令,并按指令完成这些公共配置。因此,相比现有技术中遇到云服务器宕机或者在全新的云服务器上部署服务时,需要将以前配置过程全部人工再执行一次,本公开实施例进一步提高了云服务配置效率。
为了使本领域技术人员更加理解本公开实施例提供的技术方案,下面结合配置下发设备以及监听执行设备通过两个具体实施例对本公开实施例提供的技术方案进行详细说明。
实施例一、基于SQL数据库的配置下发方式
如图4所示,区块链系统中的本地计算机F安装有配置下发模块作为配置下发设备,区块链系统中的每一云服务器安装有配置监听模块以及配置执行模块作为监听执行设备(图4中仅以云服务A示意)。
这样,在图4所示的应用场景下,基于SQL数据库的配置下发方式包括:
S401、配置下发模块将SQL语句形式的配置信息写入区块链。
S402、云服务器中的配置监听模块在监听到区块链中存在新的SQL语句形式的配置信息,获取该配置信息。
其中,该配置信息可以是包括配置指令和/或配置数据。
S403、配置监听模块将配置指令存放到SQL数据库的指令表格中,将配置数据按照业务需求存放。
S404、云服务器中的配置执行模块监听SQL数据库,并根据当前配置数据的状态依次执行指令表格中的指令。
由上可知,图2所示的配置下发设备侧的方法步骤S202中,配置下发设备可以将获得的配置信息以SQL语句的形式写入所述区块链中。这样,在图3所示的监听执行设备侧的方法步骤S302中,监听执行设备可以将新的配置信息存放到该监听执行设备的SQL数据库中,并根据该SQL数据库中的配置指令对该SQL数据库的配置数据进行相应的SQL操作,例如,SQL增加,删除或者修改。
实施例二、应用docker化部署
如图5所示,本地计算机F上安装有配置下发模块以及区块链节点模块作为配置下发设备,每一云服务器安装有配置监听模块、配置执行模块以及区块链节点模块作为监听执行设备,其中,图5中示出的区块链节点之间的虚线连接表示区块链P2P网络连接。
这样,在图5所示的应用场景下,本地计算机F在获取到配置管理员下发的某应用docker配置参数和指定云服务器A、B、D部署docker的指令后,将这些信息写入区块链中,例如,本地计算机F获取到的配置信息包括云服务器A、B、D的标识信息以及分别指定云服务器A、B、D执行的docker配置指令以及相应的docker配置参数,则本地计算机F可以根据标识信息将docker配置参数和docker配置指令写入到对应的服务器的区块链账户中。这样,通过区块链P2P的网络连接,云服务器A、B、D在监听到下发的配置参数和指令后,执行该docker配置,而云服务器C,E在监听到配置参数和指令后,并不执行。
由上可知,图2所示的配置下发设备侧的方法步骤S201中,配置下发设备获得的配置信息可以包括用于应用docker化部署的docker配置参数和docker配置指令。这样,在图3所示的监听执行设备侧的方法步骤S302中,监听执行设备在确定所述docker配置参数以及所述docker配置指令是指定所述监听执行设备执行docker配置的配置信息时,根据所述docker配置参数以及所述docker配置指令执行docker配置操作。
由实施例一和实施例二可知,本公开实施例提供的云服务配置方法,适用于不同的云服务配置需求,通用性更强。例如,对于同一条区块链,可以同时存在多个云服务系统,每一云服务系统可以采用不同的配置下发方式,值得说明的是,在此种情况下,某一云服务器可以通过所述云服务系统的认证机制确定区块链系统的配置信息是否为本云服务系统中的配置下发设备写入的配置信息。
本公开实施例还提供一种云服务配置装置,该装置应用于云服务系统中的配置下发设备,该配置下发设备为区块链系统中的节点,如图6所示,云服务配置装置60包括:
获取模块601,用于获取配置信息;
区块链写入模块602,用于将所述配置信息写入区块链中,所述配置信息用于所述云服务系统中的监听执行设备在监听到所述区块链中存在所述配置信息时,执行相应的云服务配置操作。
可选地,所述配置信息包括所述云服务系统中的任一监听执行设备的标识信息,所述区块链写入模块602用于,基于区块链的交易机制将所述配置信息作为交易信息写入所述标识信息对应的监听执行设备的账户地址中。
可选地,所述区块链写入模块602用于,将所述配置信息以SQL语句的形式写入所述区块链中。
可选地,所述配置信息包括docker配置参数以及docker配置指令。
采用上述装置,配置下发设备下发的配置信息均存储在区块链中,基于区块链的特性,配置信息实现全网同步存储,降低了出现单点故障问题的概率,并且,历史配置信息可追溯且无法修改,便于追查网络事故。另外,采用本公开提供的技术方案,管理员可以通过本地的配置下发设备对云端的服务器(即监听执行设备)进行云服务配置,无需远程登录云服务器进行手动配置,提高了配置效率。
本领域的技术人员应清楚了解,上述云服务配置装置具体可以是通过软件、硬件或者两者相结合的方式实现配置下发设备的一部分。为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述功能模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本公开实施例还提供另一种云服务配置装置,该装置应用于云服务系统中的监听执行设备,该监听执行设备为区块链系统中的节点,如图7所示,云服务配置装置70包括:
监听模块701,用于监听所述区块链中是否存在新的配置信息;
执行模块702,用于在所述监听模块监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
可选地,所述新的配置信息包括公共配置信息以及指定配置信息,所述执行模块702用于:
在监听到所述区块链中存在所述新的配置信息时,解析分析所述新的配置信息是否为公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息,在确定所述新的配置信息是公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息时,执行所述配置信息相应的云服务配置操作。
可选地,所述指定配置信息包括docker配置参数以及docker配置指令,所述执行模块702用于:
在确定所述docker配置参数以及所述docker配置指令是指定所述监听执行设备执行docker配置的配置信息时,根据所述docker配置参数以及所述docker配置指令执行docker配置操作。
可选地,所述新的配置信息是所述配置下发设备以SQL语句的形式写入所述区块链中的,所述执行模块702用于:
将所述新的配置信息存放到所述监听执行设备的SQL数据库中;
根据所述SQL数据库中的配置指令对所述SQL数据库的配置数据进行相应的SQL操作,其中,所述新的配置信息包括所述配置指令和/或所述配置数据。
可选地,所述监听模块701还用于:所述监听执行设备在初始加入所述区块链系统时,同步所述区块链中存储的所有配置信息;所述执行模块702还用于:根据所述配置信息中的公共配置信息完成对所述监听执行设备的公共配置。
本领域的技术人员可以清楚地了解到,上述云服务配置装置具体可以是通过软件、硬件或者两者相结合的方式实现监听执行设备的一部分。为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述功能模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本公开实施例还提供一种非临时性计算机可读存储介质1,该计算机可读存储介质1中包括一个或多个程序,该一个或多个程序用于执行上述配置下发设备侧执行的云服务配置方法。
本公开实施例还提供一种配置下发设备1,该配置下发设备1包括上述非临时性计算机可读存储介质1,以及一个或者多个处理器,用于执行该非临时性计算机可读存储介质1中的程序。其中,该配置下发设备1可以是云服务系统管理员的本地计算机。
示例地,图8是一种配置下发设备800的框图。如图8所示,该配置下发设备800可以包括:处理器801,存储器802,多媒体组件803,输入/输出(I/O)接口804,以及通信组件805。
处理器801用于控制该配置下发设备800的整体操作,以完成上述云服务配置方法中的全部或部分步骤(其中,该配置下发设备安装有配置下发软件模块以及区块链节点软件模块)。存储器802用于存储各种类型的数据以支持在该配置下发设备800的操作,这些数据例如可以包括用于在该配置下发设备800上操作的任何应用程序或方法的指令,以及应用程序相关的数据。该存储器802可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(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),磁存储器,快闪存储器,磁盘或光盘。多媒体组件803可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。I/O接口804为处理器801和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件805用于该配置下发设备800与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near Field Communication,简称NFC),2G、3G或4G,或它们中的一种或几种的组合,因此相应的该通信组件805可以包括:Wi-Fi模块,蓝牙模块,NFC模块。
在一示例性实施例中,配置下发设备800可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述云服务配置方法。
本公开实施例还提供另一种非临时性计算机可读存储介质2,该计算机可读存储介质2中包括一个或多个程序,该一个或多个程序用于执行上述监听执行设备侧执行的云服务配置方法。
本公开实施例还提供一种监听执行设备2,该监听执行设备2包括上述非临时性计算机可读存储介质2,以及一个或者多个处理器,用于执行该非临时性计算机可读存储介质2中的程序。其中,该监听执行设备2可以是云服务系统中的云服务器。
示例地,图9是一种监听执行设备900的框图。如图9所示,该监听执行设备900包括处理组件901,其进一步包括一个或多个处理器,以及由存储器902所代表的存储器资源,用于存储可由处理组件901的执行的指令,例如应用程序。存储器902中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件902被配置为执行指令,以执行上述云服务配置方法,其中,该监听执行设备900安装有区块链节点软件模块以及监听软件模块以及执行软件模块。
监听执行设备900还可以包括一个电源组件903被配置为执行监听执行设备900的电源管理,一个有线或无线网络接口904被配置为将监听执行设备900连接到网络,和一个输入输出(I/O)接口905。监听执行设备900可以操作基于存储在存储器902的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM, LinuxTM,FreeBSDTM或类似。
本公开实施例还提供一种云服务系统,其中,该云服务系统包括配置下发设备以及监听执行设备,该配置下发设备与该监听执行设备均为区块链系统中的节点。其中,所述配置下发设备用于,获取配置信息,并将所述配置信息写入区块链中。所述监听执行设备用于,监听所述区块链中是否存在新的配置信息,并在监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
值得说明的是,该云服务系统可以参照图5所示的系统架构,其中,图5所示的本地计算机F即为所述配置下发设备,每一云服务器即为一监听执行设备。另外,配置下发设备以及监听执行设备具体可以参照前述装置实施例中的描述,在此不再赘述。
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。

Claims (23)

  1. 一种云服务配置方法,其特征在于,所述方法应用于云服务系统中的配置下发设备,所述配置下发设备与所述云服务系统中的监听执行设备均为区块链系统中的节点,所述方法包括:
    所述配置下发设备获取配置信息;并
    将所述配置信息写入区块链中,所述配置信息用于所述监听执行设备在监听到所述区块链中存在所述配置信息时,执行相应的云服务配置操作。
  2. 根据权利要求1所述的方法,其特征在于,所述配置信息包括所述云服务系统中的任一监听执行设备的标识信息,所述将所述配置信息写入区块链中包括:
    基于区块链的交易机制将所述配置信息作为交易信息写入所述标识信息对应的监听执行设备的账户地址中。
  3. 根据权利要求1或2所述的方法,其特征在于,所述将所述配置信息写入区块链中,包括:
    将所述配置信息以SQL语句的形式写入所述区块链中。
  4. 根据权利要求1所述的方法,其特征在于,所述配置信息包括docker配置参数以及docker配置指令。
  5. 一种云服务配置方法,其特征在于,所述方法应用于云服务系统中的监听执行设备,所述监听执行设备与所述云服务系统中的配置下发设备均为区块链系统中的节点,所述方法包括:
    所述监听执行设备监听所述区块链中是否存在新的配置信息;并
    在监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
  6. 根据权利要求5所述的方法,其特征在于,所述新的配置信息包括公共配置信息以及指定配置信息,所述在监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作,包括:
    在监听到所述区块链中存在所述新的配置信息时,解析分析所述新的配置信息是否为公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息,在确定所述新的配置信息是公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息时,执行所述配置信息相应的云服务配置操作。
  7. 根据权利要求6所述的方法,其特征在于,所述指定配置信息包括docker配置参数以及docker配置指令,所述根据所述新的配置信息执行相应的云服务配置操作,包括:
    在确定所述docker配置参数以及所述docker配置指令是指定所述监听执行设备执行docker配置的配置信息时,根据所述docker配置参数以及所述docker配置指令执行docker配置操作。
  8. 根据权利要求5至7中任一项所述的方法,其特征在于,所述新的配置信息是所述配置下发设备以SQL语句的形式写入所述区块链中的,所述根据所述新的配置信息执行相应的云服务配置操作,包括:
    将所述新的配置信息存放到所述监听执行设备的SQL数据库中;
    根据所述SQL数据库中的配置指令对所述SQL数据库的配置数据进行相应的SQL操作,其中,所述新的配置信息包括所述配置指令和/或所述配置数据。
  9. 根据权利要求5至7中任一项所述的方法,其特征在于,所述方法还包括:
    所述监听执行设备在初始加入所述区块链系统时,同步所述区块链中存储的所有配置信息;
    根据所述配置信息中的公共配置信息完成对所述监听执行设备的公共配置。
  10. 一种云服务配置装置,其特征在于,所述装置应用于云服务系统中的配置下发设备,所述配置下发设备为区块链系统中的节点,所述装置包括:
    获取模块,用于获取配置信息;
    区块链写入模块,用于将所述配置信息写入区块链中,所述配置信息用于所述云服务系统中的监听执行设备在监听到所述区块链中存在所述配置信息时,执行相应的云服务配置操作。
  11. 根据权利要求10所述的装置,其特征在于,所述配置信息包括所述云服务系统中的任一监听执行设备的标识信息,所述区块链写入模块用于,基于区块链的交易机制将所述配置信息作为交易信息写入所述标识信息对应的监听执行设备的账户地址中。
  12. 根据权利要求10或11所述的装置,其特征在于,所述区块链写入模块用于,将所述配置信息以SQL语句的形式写入所述区块链中。
  13. 根据权利要求10所述的装置,其特征在于,所述配置信息包括docker配置参数以及docker配置指令。
  14. 一种云服务配置装置,其特征在于,所述装置应用于云服务系统中的监听执行设备,所述监听执行设备为区块链系统中的节点,所述装置包括:
    监听模块,用于监听所述区块链中是否存在新的配置信息;
    执行模块,用于在所述监听模块监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
  15. 根据权利要求14所述的装置,其特征在于,所述新的配置信息包括公共配置信息以及指定配置信息,所述执行模块用于:
    在监听到所述区块链中存在所述新的配置信息时,解析分析所述新的配置信息是否为公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息,在确定所述新的配置信息是公共配置信息或者指定所述监听执行设备执行配置操作的指定配置信息时,执行所述配置信息相应的云服务配置操作。
  16. 根据权利要求15所述的装置,其特征在于,所述指定配置信息包括docker配置参数以及docker配置指令,所述执行模块用于:
    在确定所述docker配置参数以及所述docker配置指令是指定所述监听执行设备执行docker配置的配置信息时,根据所述docker配置参数以及所述docker配置指令执行docker配置操作。
  17. 根据权利要求14至16中任一项所述的装置,其特征在于,所述新的配置信息是所述配置下发设备以SQL语句的形式写入所述区块链中的,所述执行模块用于:
    将所述新的配置信息存放到所述监听执行设备的SQL数据库中;
    根据所述SQL数据库中的配置指令对所述SQL数据库的配置数据进行相应的SQL操作,其中,所述新的配置信息包括所述配置指令和/或所述配置数据。
  18. 根据权利要求14至16中任一项所述的装置,其特征在于,所述监听模块还用于:所述监听执行设备在初始加入所述区块链系统时,同步所述区块链中存储的所有配置信息;
    所述执行模块还用于:根据所述配置信息中的公共配置信息完成对所述监听执行设备的公共配置。
  19. 一种非临时性计算机可读存储介质,其特征在于,所述计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行权利要求1至4中任一项所述的方法。
  20. 一种配置下发设备,其特征在于,包括:
    权利要求19中所述的非临时性计算机可读存储介质;以及
    一个或者多个处理器,用于执行所述计算机可读存储介质中的程序。
  21. 一种非临时性计算机可读存储介质,其特征在于,所述计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行权利要求5至9中任一项所述的方法。
  22. 一种监听执行设备,其特征在于,包括:
    权利要求21中所述的非临时性计算机可读存储介质;以及
    一个或者多个处理器,用于执行所述计算机可读存储介质中的程序。
  23. 一种云服务系统,其特征在于,所述云服务系统包括配置下发设备,以及监听执行设备,所述配置下发设备与所述监听执行设备均为区块链系统中的节点;
    其中,所述配置下发设备用于,获取配置信息,并将所述配置信息写入区块链中;
    所述监听执行设备用于,监听所述区块链中是否存在新的配置信息,并在监听到所述区块链中存在所述新的配置信息时,根据所述新的配置信息执行相应的云服务配置操作。
PCT/CN2017/114864 2017-12-06 2017-12-06 云服务配置方法、装置、存储介质及云服务系统 WO2019109274A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780002522.7A CN108139964B (zh) 2017-12-06 2017-12-06 云服务配置方法、装置、存储介质及云服务系统
PCT/CN2017/114864 WO2019109274A1 (zh) 2017-12-06 2017-12-06 云服务配置方法、装置、存储介质及云服务系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114864 WO2019109274A1 (zh) 2017-12-06 2017-12-06 云服务配置方法、装置、存储介质及云服务系统

Publications (1)

Publication Number Publication Date
WO2019109274A1 true WO2019109274A1 (zh) 2019-06-13

Family

ID=62400286

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114864 WO2019109274A1 (zh) 2017-12-06 2017-12-06 云服务配置方法、装置、存储介质及云服务系统

Country Status (2)

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

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218082B (zh) * 2018-08-24 2021-08-24 维沃移动通信有限公司 一种网络配置参数处理方法、装置及设备
CN110071918B (zh) * 2019-04-19 2020-10-09 北京那镁克科技有限公司 一种基于混合云的数据通信方法及装置
CN112988751A (zh) * 2019-04-22 2021-06-18 网易(杭州)网络有限公司 基于区块链的定时任务调度方法及装置
CN110149202B (zh) * 2019-04-26 2022-04-05 平安科技(深圳)有限公司 基于区块链的参数配置、重构方法、装置、设备及介质
CN111126855A (zh) * 2019-12-26 2020-05-08 新奥数能科技有限公司 设备调控方法、设备客户端及服务端
CN112153146B (zh) * 2020-09-25 2022-08-16 北京金山云网络技术有限公司 操作通知方法和装置、存储介质和电子装置
CN115167163A (zh) * 2022-06-28 2022-10-11 青岛海尔科技有限公司 场景执行方法及装置、存储介质及电子装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776894A (zh) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 日志数据库系统和同步方法
CN106796524A (zh) * 2016-12-27 2017-05-31 深圳前海达闼云端智能科技有限公司 记录应用程序配置信息的方法、装置和电子设备
US20170330159A1 (en) * 2016-05-13 2017-11-16 Bank Of America Corporation Resource allocation and transfer in a distributed network
CN107358422A (zh) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 基于区块链技术的支付系统

Patent Citations (4)

* 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
CN106776894A (zh) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 日志数据库系统和同步方法
CN106796524A (zh) * 2016-12-27 2017-05-31 深圳前海达闼云端智能科技有限公司 记录应用程序配置信息的方法、装置和电子设备
CN107358422A (zh) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 基于区块链技术的支付系统

Also Published As

Publication number Publication date
CN108139964B (zh) 2020-08-07
CN108139964A (zh) 2018-06-08

Similar Documents

Publication Publication Date Title
WO2019109274A1 (zh) 云服务配置方法、装置、存储介质及云服务系统
US10678601B2 (en) Orchestration service for multi-step recipe composition with flexible, topology-aware, and massive parallel execution
US11909604B2 (en) Automatic provisioning of monitoring for containerized microservices
US11307967B2 (en) Test orchestration platform
CN111314141B (zh) 路由更新方法及装置
US9973999B2 (en) Method and apparatus for Self Organizing Networks
US10853227B2 (en) Systems and methods for modular test platform for applications
US20190138285A1 (en) Provisioning of applications deployed on client devices
US20090307763A1 (en) Automated Test Management System and Method
WO2021203979A1 (zh) 运维处理方法、装置及计算机设备
US20160219077A1 (en) Integrated security management
WO2019041930A1 (zh) 巡检方法、装置、系统、计算机设备和存储介质
WO2016062011A1 (zh) 告警处理方法及装置
US11108628B2 (en) Linking multiple enrollments on a client device
CN105786564A (zh) 一种Oracle的自动化定制安装部署方法
JP2021533454A (ja) コンフィギュレーション・シナリオ順守のためのモバイル・デバイスによるコンプライアンス設定の実装
EP3544330B1 (en) System and method for validating correctness of changes to network device configurations
WO2017041649A1 (zh) 一种应用部署方法及设备
US20150095796A1 (en) Loading a database into the cloud
WO2022062661A1 (zh) 操作通知方法和装置、存储介质和电子装置
US10467104B1 (en) Method and system for distributed systems backup configuration wizard
WO2021189895A1 (zh) 配置数据的管理方法、装置、设备及存储介质
US20210367975A1 (en) Application security for service provider networks
TWI640875B (zh) Desktop cloud cabinet construction system
US11924045B2 (en) Connectivity management system client inventory and configuration operation for interconnected connectivity management clients

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17934184

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17934184

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.10.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17934184

Country of ref document: EP

Kind code of ref document: A1