CN113312099A - Information configuration method, device and storage medium - Google Patents

Information configuration method, device and storage medium Download PDF

Info

Publication number
CN113312099A
CN113312099A CN202010264296.3A CN202010264296A CN113312099A CN 113312099 A CN113312099 A CN 113312099A CN 202010264296 A CN202010264296 A CN 202010264296A CN 113312099 A CN113312099 A CN 113312099A
Authority
CN
China
Prior art keywords
configuration
cloud instance
content
cfg
configuration requirement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010264296.3A
Other languages
Chinese (zh)
Inventor
向亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010264296.3A priority Critical patent/CN113312099A/en
Publication of CN113312099A publication Critical patent/CN113312099A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

The embodiment of the application provides an information configuration method, information configuration equipment and a storage medium. In the embodiment of the application, under the condition that the cloud instance needs to be subjected to parameter configuration, the virtualization device is created according to the content of the configuration requirement; the virtualization device comprises configuration requirement content, so that the configuration requirement content can be obtained from the virtualization device, and the cloud instance is configured according to the configuration requirement content. The information configuration process does not need to start a PE system, and further the cloud instance information configuration speed is improved.

Description

Information configuration method, device and storage medium
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to an information configuration method, device, and storage medium.
Background
Cloud computing is a network for providing resources, and users can apply for resources on the "cloud" and use the resources according to the required quantity, and the network can be regarded as infinitely expanded. When a user applies for cloud resources, cloud instances such as a virtual machine, a cloud server or a container need to be created for the user, and parameters are configured for the cloud instances.
In the prior art, a Preinstallation Environment (PE) system is often used for parameter configuration of cloud instances, but the Preinstallation Environment (PE) system is slow in starting speed, which further results in slow parameter configuration speed.
Disclosure of Invention
Aspects of the present disclosure provide an information configuring method, apparatus, and storage medium to improve a parameter configuring speed.
An embodiment of the present application provides an information configuration method, including:
acquiring configuration requirement content required by a cloud instance;
creating a virtualization device according to the configuration demand content; the virtualization device contains configuration requirement content;
acquiring the configuration requirement content from the virtualization equipment;
and configuring the cloud instance according to the configuration demand content.
The embodiment of the application also provides computer equipment, wherein a cloud instance is established on the computer equipment; the computer device includes: a memory and a processor; wherein the memory is used for storing a computer program;
the processor is coupled to the memory for executing the computer program for:
acquiring configuration requirement content required by the cloud instance; creating a virtualization device according to the configuration demand content; the virtualization device contains configuration requirement content; acquiring the configuration requirement content from the virtualization equipment; and configuring the cloud instance according to the configuration requirement content.
Embodiments of the present application also provide a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the above-described method.
In the embodiment of the application, under the condition that the cloud instance needs to be subjected to parameter configuration, the virtualization device is created according to the content of the configuration requirement; the virtualization device comprises configuration requirement content, so that the configuration requirement content can be obtained from the virtualization device, and the cloud instance is configured according to the configuration requirement content. The information configuration process does not need to start a PE system, and further the cloud instance information configuration speed is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1a is a schematic flowchart of an information configuring method according to an embodiment of the present application;
fig. 1b is a schematic diagram of acquiring configuration requirement content according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another information configuring method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Aiming at the technical problem that the information configuration speed of the conventional cloud instance is low, in some embodiments of the application, under the condition that the cloud instance needs to be subjected to parameter configuration, virtual equipment is created according to configuration requirements; the virtualization device comprises configuration requirement content, so that the configuration requirement content can be obtained from the virtualization device, and the cloud instance is configured according to the configuration requirement content. The information configuration process does not need to start a PE system, and further the cloud instance information configuration speed is improved.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be noted that: like reference numerals refer to like objects in the following figures and embodiments, and thus, once an object is defined in one figure or embodiment, further discussion thereof is not required in subsequent figures and embodiments.
Fig. 1a is a schematic flowchart of an information configuration method according to an embodiment of the present application. As shown in fig. 1a, the method comprises:
101. and acquiring the configuration requirement content required by the cloud instance.
102. Creating a virtualization device according to the configuration demand content; the virtualization device contains configuration requirement content.
103. And acquiring configuration requirement content from the virtualization device.
104. And configuring the cloud instance according to the configuration requirement content.
In this embodiment, when a user applies for a cloud resource, a corresponding cloud instance needs to be created for the user. Examples of the cloud are, but not limited to, a virtual machine, a cloud server, a container or a container group, and the like. In some embodiments, one implementation of a group of containers may be referred to as a pod. Whatever the implementation form of the cloud instance, it needs to be configured to meet the user requirements.
In this embodiment, in the case that the cloud instance needs to be configured, information configuration may be performed on the cloud instance. The device for configuring the information of the cloud instance may be a computer device where the cloud instance is located. The computer equipment can be single server equipment or a cloud server array. In addition, the computer device may also refer to other computing devices with corresponding computing capabilities, such as a terminal device such as a computer.
In this embodiment, when the cloud embodiment needs to be configured, the configuration requirement content may be acquired. The configuration requirement content may include configuration parameters. The configuration parameter includes at least one of Network information, Network Time Protocol (NTP) information, Secure Shell Protocol (SSH) information, hostname information, resource configuration information, password information, and operating system bug fix information, but is not limited thereto. The resource configuration information may be configuration information of a computing resource and/or a storage resource, such as a disk resource, a CPU resource, and the like. The network information may include: internet Protocol (IP) information, Domain Name System (DNS) information, and the like, but is not limited thereto.
In this embodiment, there are various cases where the cloud example needs to be configured. The cloud instances are different in the situation of needing configuration, and the configuration parameters contained in the configuration requirement content are different. For example, the cloud instance needs to be initialized and configured in the starting process, and when the cloud instance is monitored to be started, it can be determined that the cloud instance needs to be configured. In this application scenario, the configuration parameters may include: network information, NTP information, SSH information, hostname information, resource configuration information, and password information, among others.
For another example, the cloud instance needs to be configured as follows: the operating system of the cloud instance needs to be repaired. Optionally, the computer device on which the cloud instance is located may correspond to a front-end node. The cloud vendor may repair the operating system of the cloud instance through the front-end node. Optionally, the cloud vendor may utilize the front-end node to send a configuration command to the computer device on which the cloud instance is located, the configuration command including configuration requirement content. Correspondingly, when the computer equipment where the cloud instance is located receives the configuration command, determining that the cloud instance needs to be configured; and analyzing the configuration command to obtain the configuration demand content. In this embodiment, the configuration requirement content may be a configuration parameter for repairing the operating system. The configuration parameters can be determined by the configuration items to be repaired, for example, the user password can be repaired, and the corresponding configuration parameters can be password information; for another example, a plug-in of the operating system may be repaired, and the corresponding configuration parameter may be plug-in information, etc.; if the bug of the operating system can be repaired, the configuration parameter can be bug repair information of the operating system; and so on. The operating system vulnerability information may be a patch upgrade program, etc.
For another example, the cloud instance needs to be configured, which is to be configured individually. Optionally, the cloud vendor may also personalize the cloud instance via the front-end node. Optionally, the cloud vendor may utilize the front-end node to send a configuration command to the computer device on which the cloud instance is located, the configuration command including configuration requirement content. Correspondingly, when the computer equipment where the cloud instance is located receives the configuration command, determining that the cloud instance needs to be configured; and analyzing the configuration command to obtain the configuration demand content. The configuration parameters included in the configuration requirement content may be determined by the configuration requirements of the cloud manufacturer, and are not limited herein.
In this embodiment, no matter what configuration parameters are included in the configuration demand content, the virtualization device can be created according to the configuration demand content. For a virtualized device, the virtualized device corresponds to a Qemu process on the computer device where the cloud instance is located.
Optionally, a configuration description file may be generated according to the configuration requirement content; and performing firmware virtualization processing on the configuration description file to obtain a virtualization device. The virtualization device is a virtualization device that provides configuration requirement content for the cloud example, and is not limited to the implementation form. Optionally, the virtualized device may be a fw _ cfg device. The fw _ cfg device may provide configuration requirement content for the cloud instance, which may be used for storage of client cores or other configuration parameters.
Furthermore, configuration demand content can be obtained from the virtualization device, and the cloud instance is configured according to the configuration demand content. Optionally, before configuration requirement content is acquired from the virtualization device, the virtualization device may be bound to the cloud instance, and a binding relationship between the virtualization device and the cloud instance is recorded. Thus, based on the binding relationship, a virtualized device that provides configuration requirement content for the cloud instance can be determined, and the configuration requirement content can be obtained from the data source.
In the embodiment of the present application, a specific implementation manner that configuration demand content is acquired from a virtualization device and a cloud instance is configured according to the configuration demand content is not limited. In some embodiments, for the cloud instance with the clouding software installed, the configuration demand content may be acquired from the virtualization device through the clouding software, and the cloud instance may be configured according to the configuration demand content through the clouding software. The cloudinit is open source service software for the cloud platform to perform parameter configuration on the cloud instance, and the operating system where the cloud instance is located may be a Linux operating system, a Unix operating system, or the like.
Optionally, before obtaining the configuration demand content from the virtualization device through clouding software, in the embodiment of the present application, it may also be detected whether the cloud instance is installed with the clouding software; and if the clouding example is provided with clouding software, acquiring configuration demand content from the virtualization equipment through the clouding software. Correspondingly, if the cloudinit software is not installed in the cloud instance, the cloud instance can be configured by the PE system according to the content of the configuration requirement. The PE system may be an image file, such as an ISO image. The PE system may use the relevant system to perform information configuration on the cloud instance, such as initial configuration, maintenance of the operating system, or repair of the cloud instance operating system. However, it should be noted that the PE system itself is started slowly, which in turn causes the cloud instance to be configured slowly. Especially for the initialization configuration process of the cloud instance, the boot speed of the operating system (such as a Linux system) of the cloud instance is slow compared with the boot speed of the operating system without the configuration password due to the configuration of the password by the PE system. In some embodiments, the starting speed of the configured password is about 5s different from the starting speed of the password which is not configured.
In this embodiment, an implementation of detecting whether cloudinit software is installed in a cloud instance is not limited. Optionally, a related command may be run to detect whether cloudinit software is installed in the cloud instance. For example, a command "while cloudinit" may be executed, and if path output information is returned after the command is executed, it is determined that cloudinit software is installed in the cloud instance. Correspondingly, if no path output information exists after the command is run, it is determined that cloudinit software is not installed in the cloud instance. Of course, the detection commands executed under different operating systems are different, and are not described in detail herein.
In this embodiment, in the case that the cloud embodiment needs to perform parameter configuration, a virtualization device is created according to the configuration requirement content; the virtualization device comprises configuration requirement content, so that the configuration requirement content can be obtained from the virtualization device, and the cloud instance is configured according to the configuration requirement content. The information configuration process does not need to start a PE system, and further the cloud instance information configuration speed is improved.
In this embodiment, cloudinit software can read relevant data from various data sources and configure cloud embodiments accordingly. However, with the virtualized devices in a fixed path, the cloudinit software cannot identify the created virtualized devices. In this embodiment, in order to make the cloudinit software recognize the created virtualization device, a PE system may be used to create a soft connection between the cloudinit software and the virtualization device, so that the virtualization device may serve as a data source that the cloudinit software can recognize.
Optionally, the virtualized device may be a fw _ cfg device. As shown in fig. 1b, the fw _ cfg device corresponds to a Qemu process on the computer device where the cloud instance is located, and accordingly, an execution thread (such as a CPU thread, an I/O thread, and the like) of the fw _ cfg device corresponds to a thread of the Qemu process.
Further, a PE system is used for creating soft connection between the clouding software and the fw _ cfg device, and then the fw _ cfg device is used as a data source of the clouding software. For example, in some embodiments, as shown in fig. 1b, the access path of the fw _ cfg device may be: cat/sys/firmware/qemu _ fw _ cfg/opt/close-init/vector-data. Wherein, the vendor-data refers to configuration requirement content contained in the fw _ cfg equipment. Thus, as shown in fig. 1b, cloudinit software can directly access the fw _ cfg device inside the operating system of the cloud example to obtain the configuration demand content, and can further bypass the PE system, which is helpful for improving the speed of obtaining the configuration demand content, and is helpful for improving the speed of subsequently configuring the cloud example.
Optionally, the access right of cloudinit software to the fw _ cfg device may be root read only.
On the other hand, since the cloudinit software is an open source service software, the security is low, and the fw _ cfg device is directly accessed inside the operating system of the cloud example through the cloudinit software, so that a secure access is provided, and further, the transparency of the user to the configuration of the cloud manufacturer can be realized, and the security of information configuration can be improved. Especially for information with high sensitivity, such as user password, SSH information, etc., the information configuration mode provided by the embodiment can ensure information security.
In practical application, for the fw _ cfg device, the cloud instance is required to be provided with a drive of the fw _ cfg device, that is, the cloud instance provided with the drive of the fw _ cfg device supports the fw _ cfg device; and cloud examples without drivers for fw _ cfg devices installed do not support drivers for fw _ cfg devices. Wherein the drivers of the fw _ cfg devices may be in the form of plug-ins, programs, instructions, etc., but are not limited thereto. Further, the computer device where the cloud instance is located may also maintain a database corresponding to the cloud instance. The database is used for storing relevant information of the cloud instance or the cloud instance image, such as attribute information, kernel information and the like of the cloud instance or the cloud instance image. The attribute information of the cloud instance or the cloud instance image comprises a flag parameter of the fw _ cfg device, and a parameter value of the flag parameter is used for indicating whether the cloud instance supports the fw _ cfg device or not.
Based on the above, the flag parameter of the fw _ cfg device can be obtained from the database, and whether the cloud example supports the fw _ cfg device or not is judged according to the flag parameter of the fw _ cfg device. If the parameter value of the flag parameter indicates that the fw _ cfg device is supported, the cloud instance supports the fw _ cfg device. For the case that the cloud instance supports the fw _ cfg device, the fw _ cfg device can be generated according to the configuration requirement content, and the fw _ cfg device contains the configuration requirement content. Furthermore, clodingit software can be used for directly accessing the fw _ cfg equipment in the operating system of the cloud instance to obtain the content of the configuration requirement; and according to the content of the configuration requirement, performing information configuration on the cloud instance. Correspondingly, if the parameter value of the flag parameter indicates that the fw _ cfg device is not supported, the cloud example does not support the fw _ cfg device.
On the other hand, for the case that the cloud instance supports the fw _ cfg device, the PE system may be used to configure the cloud instance according to the configuration requirement content.
Further, for the case that the cloud instance supports the fw _ cfg device, the PE system may be used to install the driver of the fw _ cfg device, and after the driver of the fw _ cfg device is installed, the parameter value of the flag parameter of the fw _ cfg device in the database corresponding to the cloud instance is modified to the parameter value corresponding to the fw _ cfg device supported by the cloud instance. Optionally, the device where the database is located may be notified that the cloud instance supports the fw _ cfg device, so that the device where the database is located modifies the parameter value of the flag parameter of the fw _ cfg device to the parameter value corresponding to the cloud instance supporting the fw _ cfg device. Thus, when the cloud embodiment is configured subsequently, the cloud embodiment can be configured according to the condition that the cloud embodiment supports the fw _ cfg device. Therefore, the configuration speed can be improved when the cloud instance is configured subsequently.
In order to more clearly understand the above cloud instance configuration process, the following description will take a cloud instance as a virtual machine instance, a virtualized device as an fw _ cfg device, and a situation that a VM needs to be configured as a VM start instance or a VM start, and refer to specific embodiments. The cloud instance configuration flow is shown in fig. 2 as follows:
201. and acquiring the configuration requirement content required by the startup of the VM instance when the VM instance is started.
202. And detecting whether the VM is provided with cloudiit software. If the detection result is yes, go to step 203; if the detection result is negative, step 208 is executed.
203. And judging whether the VM supports the fw _ cfg equipment or not according to the mark parameters of the fw _ cfg equipment stored in the database corresponding to the VM. If yes, go to step 204; if the detection result is negative, step 209 is executed.
204. And creating the fw _ cfg equipment according to the configuration requirement content.
205. And establishing a soft connection between the clouding software and the fw _ cfg equipment by utilizing the PE system so as to take the fw _ cfg equipment as a data source of the clouding software.
206. And acquiring the configuration demand content from the fw _ cfg equipment through cloudiit software.
207. The VM operating system is configured by cloudinit software according to the configuration requirement content, and steps 212 and 213 are executed.
208. And configuring the VM operating system by utilizing the PE system according to the configuration requirement content.
209. And configuring the VM operating system by using the PE system according to the configuration requirement content until steps 212 and 213 are executed.
Optionally, after step 209, step 210 and step 211 may also be performed.
210. And installing a driver of the fw _ cfg device in the VM by using the PE disk, namely optimizing the kernel of the VM.
211. And after the drive of the fw _ cfg equipment is successfully installed, modifying the parameter value of the mark parameter of the fw _ cfg equipment in the database corresponding to the VM into the parameter value corresponding to the fw _ cfg equipment. That is, in fig. 2, the database VM corresponding to the VM is notified that the VM supports the fw _ cfg device, so that the device where the database is located can modify the parameter value of the flag parameter of the fw _ cfg device to the parameter value corresponding to the fw _ cfg device.
Then, when the VM is configured subsequently, the VM may be configured according to the condition that the VM supports the fw _ cfg device. Thus, the configuration speed can be improved when the VM is configured subsequently.
212. The VM is started.
213. The VM boot is complete.
The description of each step in fig. 2 can refer to the related contents of the above embodiments, and is not repeated herein.
It should be noted that the execution subjects of the steps of the methods provided in the above embodiments may be the same device, or different devices may be used as the execution subjects of the methods. For example, the execution subjects of steps 201 and 202 may be device a; for another example, the execution subject of step 201 may be device a, and the execution subject of step 202 may be device B; and so on.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 101, 102, etc., are merely used for distinguishing different operations, and the sequence numbers do not represent any execution order per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the above-mentioned information configuration method.
Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 3, the computer apparatus includes: a memory 30a and a processor 30 b.
In this embodiment, a cloud instance is created on a computer device. A memory 30a for storing a computer program. The processor 30b is coupled to the memory 30a for executing a computer program for: acquiring configuration requirement content required by a cloud instance; creating a virtualization device according to the configuration demand content; the virtualization device comprises configuration requirement content; acquiring configuration demand content from virtualization equipment; and configuring the cloud instance according to the configuration requirement content.
Optionally, configuring the demand content includes: configuring parameters; the configuration parameters include at least one of: network information, NTP information, SSH information, hostname information, resource configuration information, password information, and operating system bug fix information.
In some embodiments, the computer device further comprises a communication component 30 c. When obtaining the configuration requirement content required by the cloud instance, the processor 30b is specifically configured to: receiving a configuration command via the communication component 30c, the configuration command including configuration requirement content; and analyzing the configuration command to obtain the configuration requirement content.
In other embodiments, the processor 30b is specifically configured to, when creating the virtualized device: generating a configuration description file according to the configuration requirement content; and performing firmware virtualization processing on the configuration description file to obtain a virtualization device.
In still other embodiments, when the processor 30b obtains the configuration requirement content from the virtualization device, it is specifically configured to: and acquiring configuration demand content from the virtualization equipment through cloodinit software.
Accordingly, when configuring the cloud example, the processor 30b is specifically configured to: and configuring the cloud instance according to the content of the configuration requirement through cloudiit software.
Further, when acquiring the configuration requirement content from the virtualization device through cloudinit software, the processor 30b is specifically configured to: detecting whether cloudinit software is installed in the cloud instance; and if the clouding example is provided with clouding software, acquiring configuration demand content from the virtualization equipment through the clouding software. Correspondingly, if the cloudinit software is not installed in the cloud instance, the cloud instance is configured by utilizing the pre-installation environment system according to the configuration requirement content.
In some other embodiments, the virtualized device is a fw _ cfg device. The processor 30b is further configured to: judging whether the cloud example supports the fw _ cfg equipment or not according to the mark parameters of the fw _ cfg equipment stored in the database corresponding to the cloud example; and if so, creating the fw _ cfg equipment according to the configuration requirement content. Further, the processor 30b is further configured to: and creating a soft connection between the clouding software and the fw _ cfg device by utilizing a pre-installation environment system so as to use the fw _ cfg device as a data source of the clouding software.
Accordingly, if the determination result is negative, the processor 30b is further configured to: and configuring the cloud instance by utilizing a pre-installation environment system according to the content of the configuration requirement.
Further, the processor 30b is further configured to: after a cloud instance is configured according to configuration requirements by using a pre-installation environment system, installing a drive of fw _ cfg equipment in the cloud instance by using the pre-installation environment system; and after the drive of the fw _ cfg equipment is successfully installed, modifying the parameter value of the mark parameter to the parameter value corresponding to the fw _ cfg equipment.
In some optional embodiments, as shown in fig. 3, the computer device may further include: power supply assembly 30d, etc. If the computer device is a terminal device such as a computer, the method may further include: display 30e and audio component 30 f. Only some of the components shown in fig. 3 are schematically depicted, and it is not meant that the computer device must include all of the components shown in fig. 3, nor that the computer device only includes the components shown in fig. 3.
In embodiments of the present application, the memory is used to store computer programs and may be configured to store other various data to support operations on the device on which it is located. Wherein the processor may execute a computer program stored in the memory to implement the corresponding control logic. The memory may be implemented by any type or combination of volatile or non-volatile memory devices, 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 or optical disks.
In the embodiments of the present application, the processor may be any hardware processing device that can execute the above described method logic. Alternatively, the processor may be a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), or a Micro Controller Unit (MCU); programmable devices such as Field-Programmable Gate arrays (FPGAs), Programmable Array Logic devices (PALs), General Array Logic devices (GAL), Complex Programmable Logic Devices (CPLDs), etc. may also be used; or Advanced Reduced Instruction Set (RISC) processors (ARM), or System On Chip (SOC), etc., but is not limited thereto.
In embodiments of the present application, the communication component is configured to facilitate wired or wireless communication between the device in which it is located and other devices. The device in which the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G, 5G or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component may also be implemented based on Near Field Communication (NFC) technology, Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, or other technologies.
In the embodiment of the present application, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
In embodiments of the present application, a power supply component is configured to provide power to various components of the device in which it is located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
In embodiments of the present application, the audio component may be configured to output and/or input audio signals. For example, the audio component includes a Microphone (MIC) configured to receive an external audio signal when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals. For example, for devices with language interaction functionality, voice interaction with a user may be enabled through an audio component, and so forth.
The computer device provided by the embodiment can create a virtualization device according to the configuration requirement content under the condition that the cloud embodiment needs to perform parameter configuration; the virtualization device comprises configuration requirement content, so that the configuration requirement content can be obtained from the virtualization device, and the cloud instance is configured according to the configuration requirement content. The information configuration process does not need to start a PE system, and further the cloud instance information configuration speed is improved.
It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. An information configuration method, comprising:
acquiring configuration requirement content required by a cloud instance;
creating a virtualization device according to the configuration demand content; the virtualization device contains configuration requirement content;
acquiring the configuration requirement content from the virtualization equipment;
and configuring the cloud instance according to the configuration demand content.
2. The method of claim 1, the creating a virtualization appliance from the configuration requirement content, comprising:
generating a configuration description file according to the configuration requirement content;
and performing firmware virtualization processing on the configuration description file to obtain the virtualization device.
3. The method of claim 1, wherein the obtaining configuration requirement content from the virtualization device comprises:
and acquiring configuration demand content from the virtualization equipment through cloodinit software.
4. The method of claim 3, the configuring the cloud instance according to the configuration requirement content, comprising:
and configuring the cloud instance through the cloudinit software according to the configuration requirement content.
5. The method of claim 3, wherein obtaining configuration requirement content from the virtualization device via cloudinit software comprises:
detecting whether clouding software is installed in the cloud example;
and if the clouding example is provided with the clouding software, acquiring configuration demand content from the virtualization equipment through the clouding software.
6. The method of claim 5, further comprising:
and if the cloudinit software is not installed in the cloud instance, configuring the cloud instance according to the configuration requirement content by utilizing a pre-installation environment system.
7. The method of claim 3, the virtualized device being a fw cfg device, the method further comprising:
judging whether the cloud instance supports the fw _ cfg equipment or not according to the mark parameters of the fw _ cfg equipment stored in the database corresponding to the cloud instance;
and if so, creating the fw _ cfg equipment according to the configuration requirement content.
8. The method of claim 7, further comprising:
and if the judgment result is negative, configuring the cloud instance by utilizing a pre-installation environment system according to the configuration requirement content.
9. The method of claim 8, after configuring the cloud instance with a pre-installation environment system according to the configuration requirements, further comprising:
installing a driver of an fw _ cfg device in the cloud instance using the pre-installation environment system;
and after the drive of the fw _ cfg equipment is successfully installed, modifying the parameter value of the mark parameter to the parameter value corresponding to the fw _ cfg equipment.
10. The method of claim 7, further comprising:
and creating a soft connection between the cloudinit software and the fw _ cfg equipment by utilizing a pre-installation environment system so as to use the fw _ cfg equipment as a data source of the cloudinit software.
11. The method according to any one of claims 1 to 10, wherein the obtaining of the configuration requirement content required by the cloud instance comprises:
receiving a configuration command, wherein the configuration command comprises the configuration requirement content;
and analyzing the configuration command to obtain the configuration requirement content.
12. The method of any of claims 1-10, the configuring demand content comprising: configuring parameters; the configuration parameters include at least one of: network information, NTP information, SSH information, hostname information, resource configuration information, password information, and operating system bug fix information.
13. A computer device having a cloud instance created thereon; the computer device includes: a memory and a processor; wherein the memory is used for storing a computer program;
the processor is coupled to the memory for executing the computer program for:
acquiring configuration requirement content required by a cloud instance; creating a virtualization device according to the configuration demand content; the virtualization device contains configuration requirement content; acquiring the configuration requirement content from the virtualization equipment; and configuring the cloud instance according to the configuration requirement content.
14. A computer-readable storage medium storing computer instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the method of any one of claims 1-12.
CN202010264296.3A 2020-04-07 2020-04-07 Information configuration method, device and storage medium Pending CN113312099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010264296.3A CN113312099A (en) 2020-04-07 2020-04-07 Information configuration method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010264296.3A CN113312099A (en) 2020-04-07 2020-04-07 Information configuration method, device and storage medium

Publications (1)

Publication Number Publication Date
CN113312099A true CN113312099A (en) 2021-08-27

Family

ID=77370184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010264296.3A Pending CN113312099A (en) 2020-04-07 2020-04-07 Information configuration method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113312099A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776067A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Method and device for managing system resources in multi-container system
CN107038062A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of virtual machine initial method and device based on cloud platform
CN108021375A (en) * 2017-12-05 2018-05-11 郑州云海信息技术有限公司 The management method and computer-readable recording medium of data in cloud computing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776067A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Method and device for managing system resources in multi-container system
CN107038062A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of virtual machine initial method and device based on cloud platform
CN108021375A (en) * 2017-12-05 2018-05-11 郑州云海信息技术有限公司 The management method and computer-readable recording medium of data in cloud computing system

Similar Documents

Publication Publication Date Title
EP3333704B1 (en) Method and apparatus for repairing kernel vulnerability
US10635406B2 (en) Determining the identity of software in software containers
US9720668B2 (en) Creating and maintaining multi-tenant applications in a platform-as-a-service (PaaS) environment of a cloud computing system
US11307849B2 (en) Method for creating hyperledger fabric network, controller and storage medium
US20170085419A1 (en) System and method for deploying an application
US11403146B2 (en) Method, apparatus, and server for managing image across cloud servers
US9354856B2 (en) Software installation method and device
US9053236B1 (en) Automated directory services test setup utility
US20130311763A1 (en) Customizing operating systems
US20150113532A1 (en) Cloudboot system, virtual machine with the cloudboot system, and method for starting up the virtual machine
CN110780930A (en) Method and device for starting Android system, electronic equipment and storage medium
CN111831396A (en) Docker software and hardware integration-based delivery method and device
WO2016109610A1 (en) Application installation/uninstallation across multiple systems
CN112506534A (en) Method and system for starting qcow2 format system mirror image by physical machine
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
US20130139157A1 (en) Apparatus and method for automatic para-virtualization of os kernel
US9122687B2 (en) Crash recovery for attended operating system installations
US20130054868A1 (en) Image storage optimization in virtual environments
CN114610442A (en) One-stop cloud migration system, method, equipment and storage medium
CN112699044B (en) Pressure testing method, equipment and storage medium
US20150113260A1 (en) Installation system for installing guest operating system and method thereof
US11249780B2 (en) VM creation by installation media probe
CN112799778A (en) Container application starting method, device and medium
CN112764796A (en) Installation package generation system
WO2021009612A1 (en) Method for a container-based virtualization system

Legal Events

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

Application publication date: 20210827