System installation method and device, electronic equipment and storage medium

By receiving system installation requests and automating system partitioning and component installation, the problem of low operating system installation efficiency on bare metal servers is solved, achieving flexible and efficient operating system installation.

CN121635910APending Publication Date: 2026-03-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, the installation of operating systems on bare metal servers requires the intervention of maintenance personnel, resulting in low installation efficiency.

Method used

By receiving system installation requests, obtaining system installation configuration information, memory system boot data, and component installation packages, the system partitioning and component installation are automatically performed to achieve the installation of the target operating system.

Benefits of technology

It improves the flexibility and efficiency of operating system installation, reduces the storage space occupied by image files, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121635910A_ABST
    Figure CN121635910A_ABST
Patent Text Reader

Abstract

The invention relates to a system installation method and device, electronic equipment and a storage medium, and relates to the technical field of computers. Acquiring system installation configuration information, memory system startup data and component installation packages of a plurality of preset components; sending a system starting instruction to the to-be-installed server to start the to-be-installed server, and executing a memory system starting operation; in response to a configuration acquisition instruction sent by the to-be-installed server, sending system installation configuration information to enable the to-be-installed server to execute a system partition operation; and in response to an installation package acquisition instruction sent by the to-be-installed server, determining to-be-installed component installation packages of the to-be-installed components corresponding to the to-be-installed component information, and sending the to-be-installed component installation packages to the to-be-installed server, so that the to-be-installed server performs installation processing based on the to-be-installed component installation packages, and installation of the target operating system is realized. According to the embodiment of the invention, the flexibility and efficiency of operating system installation can be improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a system installation method, apparatus, electronic device, and storage medium. Background Technology

[0002] If a tenant needs to install an operating system on a bare metal server, the tenant must upload an image file to a designated operations location and initiate a request to install the image file on the desired bare metal server. The operations personnel then store the image file in a storage location shared with the bare metal server and the management network. The tenant mounts the image file to the bare metal server via the out-of-band control plane and then manually performs the operating system installation remotely. This method requires the intervention of operations personnel and also necessitates the tenant remotely installing the operating system on the bare metal server. Therefore, the above method for installing operating systems on bare metal servers is inefficient. Summary of the Invention

[0003] In view of the aforementioned technical problems, this disclosure provides a system installation method, apparatus, electronic device, and storage medium.

[0004] According to one aspect of the embodiments of this disclosure, a system installation method is provided, the method comprising:

[0005] Receive a system installation request sent by a target terminal among at least one preset terminal; the target terminal is any one of the at least one preset terminal.

[0006] The system installation configuration information corresponding to the system installation request, the memory system boot data corresponding to the system installation request, and the component installation packages of each of the multiple preset components corresponding to the system installation request are obtained; the memory system boot data and the component installation packages of each of the multiple preset components are obtained by converting the system installation image file corresponding to the system installation request.

[0007] Send a system startup command to the server to be installed corresponding to the target terminal to start the server, request the memory system startup data, and perform a memory system startup operation based on the memory system startup data;

[0008] In response to the configuration acquisition command sent by the server to be installed when the memory system has been started, the system installation configuration information is sent to the server to be installed so that the server to be installed performs system partitioning operations based on the partitioning operation information in the system installation configuration information;

[0009] In response to the installation package retrieval instruction sent by the server to be installed based on the installation component information in the system installation configuration information, the installation package of each of the multiple preset components corresponding to the installation component information is determined from their respective component installation packages, and the installation package of the installation component is sent to the server to be installed, so that the server to be installed can perform installation processing on the multiple installation components based on the installation package of the installation component, so as to realize the installation of the target operating system corresponding to the target terminal.

[0010] According to another aspect of the embodiments of this disclosure, another system installation method is provided, the method comprising:

[0011] Upon receiving a system startup command from the system installation server, execute the server startup operation;

[0012] The system installation server obtains memory system boot data; the memory system boot data is obtained by the system installation server through conversion processing based on the system installation image file corresponding to the system installation request, the system installation request is a request sent by the target terminal to the system installation server, and the target terminal is any one of at least one preset terminal;

[0013] Based on the memory system startup data, perform the memory system startup operation;

[0014] With the memory system already started, a configuration retrieval command is sent to the system installation server to cause the system installation server to return system installation configuration information; the system installation configuration information is obtained by the system installation server based on the system installation request.

[0015] Based on the partition operation information in the system installation and configuration information, perform system partitioning operations;

[0016] Based on the component information to be installed in the system installation configuration information, an installation package retrieval instruction is sent to the system installation server, so that the system installation server determines the component installation packages corresponding to the component information to be installed from the component installation packages of multiple preset components, and returns the component installation packages to be installed; the component installation packages of the multiple preset components are obtained by the system installation server through conversion processing based on the system installation image file;

[0017] Based on the installation package of the components to be installed, the multiple components to be installed are installed to achieve the installation of the target operating system corresponding to the target terminal.

[0018] According to another aspect of the present disclosure, a system installation apparatus is provided, the apparatus comprising:

[0019] A request receiving module is configured to receive a system installation request sent by a target terminal among at least one preset terminal; the target terminal is any one of the at least one preset terminal.

[0020] The first data acquisition module is used to acquire system installation configuration information corresponding to the system installation request, memory system boot data corresponding to the system installation request, and component installation packages of each of the multiple preset components corresponding to the system installation request; the memory system boot data and the component installation packages of each of the multiple preset components are obtained by converting the system installation image file corresponding to the system installation request.

[0021] The first instruction sending module is used to send a system startup instruction to the server to be installed corresponding to the target terminal so as to start the server to be installed, and to request the memory system startup data, and to perform a memory system startup operation based on the memory system startup data;

[0022] The first data sending module is used to send the system installation configuration information to the server to be installed in response to the configuration acquisition instruction sent by the server to be installed when the memory system has been started, so that the server to be installed can perform system partitioning operation based on the partitioning operation information in the system installation configuration information.

[0023] The second data sending module is used to respond to the installation package acquisition instruction sent by the server to be installed based on the installation component information in the system installation configuration information, determine the installation package of each of the multiple installation components corresponding to the installation component information from the component installation packages of the multiple preset components, and send the installation package of the installation component to be installed to the server to be installed, so that the server to be installed can perform installation processing on the multiple installation components based on the installation package of the installation package of the installation component to be installed, so as to realize the installation of the target operating system corresponding to the target terminal.

[0024] Optionally, the system installation request includes image file identification information; the device further includes:

[0025] The image file acquisition module is used to acquire the system installation image file corresponding to the image file identification information;

[0026] The conversion processing module is used to convert the system installation image file to extract the memory system boot data and the component installation packages of the multiple preset components from the system installation image file.

[0027] Optionally, the device further includes:

[0028] The first directory search module is used to search for the file directory corresponding to the image file identification information in the file system and obtain the directory search result;

[0029] Accordingly, the image file acquisition module includes:

[0030] The image file acquisition unit is used to acquire the system installation image file corresponding to the image file identification information when the directory search result indicates that the file directory corresponding to the image file identification information does not exist in the file system.

[0031] Optionally, the system installation request includes image file identification information; the device further includes:

[0032] The second directory search module is used to search for the file directory corresponding to the image file identification information in the file system and obtain the directory search result;

[0033] The third data acquisition module is used to acquire the memory system startup data and the component installation packages of the multiple preset components based on the file directory indicated by the directory search result when the directory search result indicates that the file directory corresponding to the image file identification information exists in the file system.

[0034] Optionally, the device further includes:

[0035] The fourth data acquisition module is used to acquire the current storage time of the file directory corresponding to the image file identification information;

[0036] The deletion module is used to delete the file directory corresponding to the image file identification information and the system installation image file corresponding to the image file identification information when the current storage time reaches the preset storage time.

[0037] Optionally, the first instruction sending module includes:

[0038] The first instruction sending unit is used to send a system startup instruction to the server to be installed, so as to start the server to be installed.

[0039] The data sending unit is configured to send the memory system startup data to the server to be installed upon receiving a startup data acquisition instruction sent by the server to be installed, so that the server to be installed can perform a memory system startup operation based on the memory system startup data.

[0040] According to another aspect of the embodiments of this disclosure, another system installation apparatus is provided, the apparatus comprising:

[0041] The first execution module is used to perform server startup operations upon receiving a system startup command from the system installation server.

[0042] The second data acquisition module is used to acquire memory system boot data from the system installation server; the memory system boot data is obtained by the system installation server through conversion processing based on the system installation image file corresponding to the system installation request, the system installation request is a request sent by the target terminal to the system installation server, and the target terminal is any one of at least one preset terminal;

[0043] The second execution module is used to perform a memory system startup operation based on the memory system startup data.

[0044] The second instruction sending module is used to send a configuration retrieval instruction to the system installation server when the memory system has been started, so that the system installation server returns system installation configuration information; the system installation configuration information is obtained by the system installation server based on the system installation request.

[0045] The third execution module is used to perform system partitioning operations based on the partitioning operation information in the system installation and configuration information;

[0046] The third instruction sending module is used to send an installation package retrieval instruction to the system installation server based on the component information to be installed in the system installation configuration information, so that the system installation server determines the component installation packages of the multiple components to be installed corresponding to the component information to be installed from the component installation packages of multiple preset components, and returns the component installation packages to be installed; the component installation packages of the multiple preset components are obtained by the system installation server through conversion processing based on the system installation image file;

[0047] The component installation module is used to install the multiple components to be installed based on the installation package of the components to be installed, so as to realize the installation of the target operating system corresponding to the target terminal.

[0048] Optionally, the system installation request includes image file identification information; the system installation image file is obtained by the system installation server based on the image file identification information.

[0049] Optionally, the system installation and configuration information further includes system configuration code; the device further includes:

[0050] The code execution module is used to run the system configuration code to implement the system configuration of the target operating system.

[0051] Optionally, the second data acquisition module includes:

[0052] The second instruction sending unit is used to send a startup data acquisition instruction to the system installation server, so that the system installation server returns the memory system startup data.

[0053] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the system installation method described above.

[0054] According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the system installation method described above.

[0055] According to another aspect of the present disclosure, a computer program product containing instructions is provided that, when run on a computer, causes the computer to perform the above-described system installation method.

[0056] The technical solutions provided by the embodiments of this disclosure bring at least the following beneficial effects:

[0057] By receiving a system installation request from a target terminal in at least one preset terminal, the system obtains system installation configuration information, memory system boot data, and component installation packages for multiple preset components corresponding to the system installation request. The memory system boot data and component installation packages are obtained by converting the system installation image file corresponding to the system installation request. This allows for the acquisition of relevant data for the target operating system to be installed for the target terminal. A system boot command is then sent to the server to be installed corresponding to the target terminal to start the server. The system also requests memory system boot data and performs a memory system boot operation based on the memory system boot data, enabling the startup of the memory system on the server to be installed. Next, in response to a configuration acquisition command sent by the server to be installed when the memory system is already started, system installation configuration information is sent to the server to be installed, allowing the server to perform partitioning operations based on the system installation configuration information. Performing system partitioning operations allows for custom partitioning of the server to be installed using partitioning information from the system installation configuration. Then, in response to the installation package retrieval command sent by the server based on the component information from the system installation configuration, the system identifies the individual component installation packages corresponding to the components to be installed from multiple preset component installation packages. These packages are then sent to the server, enabling it to install multiple components and ultimately install the target operating system for the target terminal. This approach combines image files and system installation configuration information to achieve custom operating system installation, avoiding the excessive storage space required by multiple different operating system image files. It improves image file utilization and avoids the poor user experience caused by complex image file creation processes, thus enhancing the flexibility and efficiency of operating system installation and improving the user experience.

[0058] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0059] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0060] Figure 1 This is a schematic diagram illustrating an application system according to an exemplary embodiment;

[0061] Figure 2This is a flowchart illustrating a system installation method according to an exemplary embodiment;

[0062] Figure 3 This is a flowchart illustrating another system installation method according to an exemplary embodiment;

[0063] Figure 4 This is a system architecture diagram illustrating a system installation method according to an exemplary embodiment;

[0064] Figure 5 This is an interactive schematic diagram illustrating a system installation method according to an exemplary embodiment;

[0065] Figure 6 This is a block diagram illustrating a system mounting apparatus according to an exemplary embodiment;

[0066] Figure 7 This is a block diagram illustrating another system mounting apparatus according to an exemplary embodiment;

[0067] Figure 8 This is a block diagram illustrating an electronic device for installing a target operating system corresponding to a target terminal, according to an exemplary embodiment.

[0068] Figure 9 This is a block diagram illustrating another electronic device for implementing the installation of a target operating system corresponding to a target terminal, according to an exemplary embodiment. Detailed Implementation

[0069] Various exemplary embodiments, features, and aspects of this application will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0070] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0071] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed embodiments. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.

[0072] Please see Figure 1 , Figure 1This is a schematic diagram illustrating an application system according to an exemplary embodiment. The application system can be used in the system installation method of this application. The application system may include at least server 01, server 02, and terminal 03.

[0073] In this embodiment, server 01 can refer to a system installation server. The system installation server can be used to install the target operating system on the server to be installed based on a system installation request. Specifically, server 01 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0074] In this embodiment, server 02 can refer to the server to be installed. Specifically, the server to be installed can be the server on which the target operating system needs to be installed. Server 02 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0075] In this embodiment, terminal 03 can be used to generate a system installation request. Terminal 03 may include physical devices such as smartphones, desktop computers, tablets, laptops, smart speakers, in-vehicle terminals, digital assistants, augmented reality (AR) / virtual reality (VR) devices, and smart wearable devices, and may also include software running on the physical device, such as applications. The operating system running on terminal 03 in this embodiment may include, but is not limited to, Android, GNU / Linux, and Windows systems.

[0076] In the embodiments described in this specification, the terminal 03, server 02, and server 01 can be directly or indirectly connected via wired or wireless communication, and this application does not limit this connection.

[0077] It should be noted that the following diagram shows one possible sequence of steps, and it is not strictly necessary to follow this order. Some steps can be executed in parallel without interdependence.

[0078] Specifically, Figure 2This is a flowchart illustrating a system installation method according to an exemplary embodiment. For example... Figure 2 As shown, the system installation method can be performed by an electronic device, which can be a terminal or a server. In this embodiment, the method is described as being performed by a system installation server, and specifically includes the following steps:

[0079] S201: Receive a system installation request sent by a target terminal in at least one preset terminal.

[0080] In one specific embodiment, the target terminal can be any one of at least one preset terminal. The at least one preset terminal can refer to a user terminal that requires an operating system to be installed.

[0081] In one specific embodiment, a system installation request can be used to request a system installation server to install an operating system on a corresponding server to be installed. The system installation request may include image file identification information and target terminal identification information. The image file identification information can indicate the image file required for the currently requested system installation. The target terminal identification information can refer to the terminal identification information of the target terminal.

[0082] In one specific embodiment, the image file identification information can be generated based on the image file name and the target object identification information. Specifically, the image file name can be set by the target object through the target terminal.

[0083] In one specific embodiment, the target object can perform a request triggering operation on the target terminal to enable the target terminal to generate a system installation request and send the system installation request to the system installation server.

[0084] In one specific embodiment, the target object can pre-upload the system installation image file and system installation configuration information to the target terminal, enabling the target terminal to obtain the system installation image file and system installation configuration information. The target terminal can then upload the system installation image file and system installation configuration information to a first storage bucket and obtain the first storage address information corresponding to the system installation image file and system installation configuration information. The first storage bucket can be used to store the data required by the target terminal; the first storage bucket can provide data storage space for the target terminal. The first storage address information can be used to characterize the storage address of the system installation image file and system installation configuration information within the first storage bucket. Correspondingly, the target object can perform a request triggering operation on the target terminal, causing the target terminal to generate a system installation request carrying the first storage address information and send the system installation request to the system installation server. It is understood that the first storage bucket can serve as a transit station for temporary storage of the image file and system installation configuration information.

[0085] In one specific embodiment, the system installation image file may refer to the image file used by the target operating system requested in the aforementioned system installation request. The system installation image file may be obtained by compressing the operating system installation data. Here, the operating system installation data may refer to the data required to install the operating system.

[0086] In one specific embodiment, the target object can perform an input operation on the target terminal to enable the target terminal to obtain the aforementioned operating system installation data; correspondingly, the target object can perform an image file generation operation on the target terminal to enable the target terminal to generate the aforementioned system installation image file based on the operating system installation data.

[0087] In one specific embodiment, the target object can perform an input operation on the target terminal to obtain the preset image file, and can use the preset image file as a system installation image file.

[0088] In one specific embodiment, the system installation configuration information may be configuration information for installing the target operating system. The system installation configuration information may include partitioning operation information and component information to be installed. The partitioning operation information can be used to divide logical space on the disk to facilitate the organization and management of system files and data. The component information to be installed can be used to indicate the components required to be installed during the installation process of the target operating system. The target operating system may refer to the operating system requested to be installed in the system installation request.

[0089] In one specific embodiment, the target object can obtain the file description information of the shared image file by performing a file description information acquisition operation on the target terminal, thereby enabling the target terminal to obtain and display the file description information corresponding to the shared image file. Then, the target object can select a target image file within the shared image file on the target terminal, thereby enabling the target terminal to obtain the second storage address information of the target image file. The shared image file can be an image file uploaded to the first storage bucket by a non-target object. A non-target object can refer to any object other than the target object among multiple preset terminal objects. It should be noted that the shared image file can be an image file uploaded by the non-target object and allowed to be shared. The target image file can refer to the image file selected by the target object in the shared image file. The second storage address information can be used to characterize the storage address of the target image file in the first storage bucket. Specifically, the target object can obtain the target file identification information corresponding to the target image file and, based on the target file identification information, obtain the second storage address information of the target image file by performing a target image file selection operation on the target terminal within the shared image file.

[0090] In one specific embodiment, the file description information corresponding to the shared image file may include the storage address information corresponding to each of the multiple image files. The target terminal may use the storage address information corresponding to the target image file in the file description information as the aforementioned second storage address information.

[0091] In one specific embodiment, the target object can perform a selection operation on the target image file in the shared image file on the target terminal, so that the target terminal can obtain the target file identification information corresponding to the target image file; accordingly, the target terminal can obtain the second storage address information corresponding to the target image file from the first storage bucket based on the target file identification information.

[0092] In one specific embodiment, the target object can upload system installation and configuration information to the target terminal, enabling the target terminal to obtain the system installation and configuration information. The target terminal can upload the system installation and configuration information to a first storage bucket and obtain the third storage address information of the system installation and configuration information. The third storage address information represents the storage address of the system installation and configuration information in the first storage bucket. Correspondingly, the target object can execute a request triggering operation on the target terminal. Upon detecting the request triggering operation, the target terminal can generate a system installation request carrying the second and third storage address information and send the system installation request to the system installation server.

[0093] In one specific embodiment, when the target terminal detects an upload command for a system installation image file, it can perform a conversion detection on the system installation image file and obtain a conversion detection result. If the conversion detection result indicates that the system installation image file is convertible, the target terminal can upload the system installation image file to the first storage bucket. The conversion detection result can be used to indicate whether the system installation image file is convertible. It is understood that the conversion detection result can be used to detect whether the system installation image file conforms to preset image file rules.

[0094] In one specific embodiment, before uploading the system installation image file, the target object can obtain image operation association data by performing an image operation association data acquisition operation on the target terminal. This image operation association data can provide a reference for the target object's operation process on the image file. The image operation association data may include preset storage time, preset number of images, or preset space index data, etc. The preset storage time can indicate the maximum duration for which the file directory corresponding to the image file identification information can be retained. The preset number of images can refer to the maximum number of image files that any object can upload. The preset space index data can indicate the upper limit of the size of the first and second storage buckets. Accordingly, the target object can perform image file input operations based on the aforementioned image operation association data.

[0095] In one specific embodiment, during the process of uploading the system installation image file, the target object can perform a setting to share the system installation image file on the target terminal to configure whether the system installation image file is a shared image file. It is understood that if the target object sets the uploaded system installation image file to be shareable, then other objects besides the target object can also use the system installation image file to achieve custom operating system installation.

[0096] Understandably, target devices can leverage system installation configuration information to install custom operating systems without altering the image file. This increases the demand for and utilization of image files, avoiding the excessive storage space consumption caused by multiple different operating system image files. It also prevents poor user experience due to the complexity and difficulty of image file creation, thus enhancing the flexibility and efficiency of operating system installation and improving the user experience. Furthermore, for other devices, custom operating system installation can be achieved based on shared image files and system installation configuration information. This avoids the problem of those unable to create their own image files being unable to customize their operating systems, thus enabling custom operating system installation even for those unable to create their own image files.

[0097] S203: Obtain the system installation configuration information corresponding to the system installation request, the memory system startup data corresponding to the system installation request, and the component installation packages of each of the multiple preset components corresponding to the system installation request.

[0098] In one specific embodiment, the memory system boot data and the component installation packages of each of the multiple preset components can be obtained by converting the system installation image file corresponding to the system installation request. The memory system boot data can be used to boot the memory system, facilitating the installation of the operating system based on the booted memory system. The component installation package of any preset component can be used to install any of the aforementioned preset components. The multiple preset components refer to components that the system installation image file can support for installation. It is understood that users can select all or some of the components from the multiple preset components for installation, thereby enabling the installation of a custom operating system.

[0099] In one specific embodiment, the system installation request may further include image file identification information. This image file identification information may refer to the identification information of the image file used by the target operating system requested in the system installation request.

[0100] In one specific embodiment, the memory system startup data and the component installation packages of each of the multiple preset components may be obtained in the following ways:

[0101] Obtain the system installation image file corresponding to the image file identification information;

[0102] The system installation image file is converted to extract the memory system boot data and the component installation packages of multiple preset components.

[0103] In one specific embodiment, when the target terminal detects that the system installation configuration information and the system installation image file have been stored in the first storage bucket, it can send a transfer instruction carrying the storage address information corresponding to the aforementioned system installation configuration information and the system installation image file to the system installation server. This transfer instruction can be used to instruct the system installation server to perform transfer processing on the system installation configuration information and the system installation image file stored in the first storage bucket.

[0104] In one specific embodiment, upon receiving a transfer instruction, the system installation server can retrieve the system installation image file and system installation configuration information corresponding to the transfer instruction from the first storage bucket based on the storage address information in the transfer instruction. Then, it can store the system installation image file and system installation configuration information corresponding to the transfer instruction into the second storage bucket and obtain the fourth storage address information. The second storage bucket can be used to provide data storage space for the system installation server. The fourth storage address information can be used to represent the address where the system installation image file and system installation configuration information are stored in the second storage bucket.

[0105] In one specific embodiment, the system installation server can obtain the system installation image file and system installation configuration information from the second storage bucket based on the aforementioned fourth storage address information.

[0106] In one specific embodiment, the system installation server can convert the system installation image file to extract memory system boot data and component installation packages for multiple preset components. Then, the system installation server can create a file directory corresponding to the image file identification information of the system installation image file in the file system, and store the conversion result in the file directory corresponding to the image file identification information based on a preset data storage strategy. The preset data storage strategy can be used to indicate the storage hierarchy of data during the storage process of the conversion result. The conversion result refers to the processing result obtained by converting the system installation image file. The conversion result may include memory system boot data and component installation packages for multiple preset components. Specifically, during the file directory creation process for the system installation image file, the system installation server can create a file directory containing the image file identification information.

[0107] In one specific embodiment, the above method may further include:

[0108] Search the file directory corresponding to the image file identification information in the file system to obtain the directory search results;

[0109] Accordingly, the system installation image file corresponding to the obtained image file identification information can include:

[0110] If the directory search results indicate that the file directory corresponding to the image file identification information does not exist in the file system, obtain the system installation image file corresponding to the image file identification information.

[0111] In one specific embodiment, the aforementioned file system may refer to the file system of the system installation server.

[0112] In one specific embodiment, the directory search result can be used to indicate whether a file directory corresponding to the image file identification information exists in the file system. The target search result may include a first search result or a second search result. The first search result can be used to indicate that a file directory corresponding to the image file identification information does not exist in the file system. The second search result can be used to indicate that a file directory corresponding to the image file identification information exists in the file system.

[0113] In one specific embodiment, if the directory search result is the first search result, the system installation server can obtain the storage address information corresponding to the image file identification information; accordingly, the system installation server can obtain the system installation image file corresponding to the image file identification information from the second storage bucket based on the storage address information corresponding to the image file identification information.

[0114] In one specific embodiment, the memory system startup data and the component installation packages of each of the multiple preset components may be obtained in the following ways:

[0115] Search the file directory corresponding to the image file identification information in the file system to obtain the directory search results;

[0116] If the directory search results indicate that there is a file directory in the file system corresponding to the image file identification information, the memory system boot data and the component installation packages of multiple preset components are obtained based on the file directory indicated by the directory search results.

[0117] In one specific embodiment, when the directory search result is the second search result, the system installation server can determine the preset file address information based on the aforementioned preset data storage strategy. Correspondingly, based on the preset file address information, it can retrieve the memory system boot data and the component installation packages of each of the multiple preset components from the file directory indicated by the directory search result. The preset file address information can refer to the file address information of the memory system boot data and the component installation packages of each of the multiple preset components in the file directory corresponding to the image file identification information.

[0118] In the above embodiments, when the directory search results indicate that the file directory corresponding to the image file identification information does not exist in the file system, the system installation image file corresponding to the image file identification information is obtained. The system installation image file is then converted to extract the memory system boot data and the component installation packages of each of the multiple preset components. This data can be saved in the form of the file directory corresponding to the image file identification information until the file directory corresponding to the image file identification information is deleted. Accordingly, while the file directory corresponding to the image file identification information exists in the file system, subsequent system installation requests for this image file do not require re-conversion processing. The memory system boot data and the component installation packages of each of the multiple preset components can be quickly read directly from the file directory corresponding to the image file identification information, thereby improving system installation efficiency.

[0119] S205: Send a system startup command to the server to be installed corresponding to the target terminal to start the server, request memory system startup data, and perform memory system startup operation based on the memory system startup data.

[0120] In one specific embodiment, the memory system boot data may include the kernel and the initial root file system.

[0121] In a specific embodiment, the above-mentioned sending a system startup command to the server to be installed corresponding to the target terminal to start the server, requesting memory system startup data, and performing a memory system startup operation based on the memory system startup data may include:

[0122] Send a system startup command to the server to be installed so that the server to be installed can start.

[0123] Upon receiving a boot data retrieval instruction from the server to be installed, the system sends memory system boot data to the server to be installed, enabling the server to perform a memory system boot operation based on the memory system boot data.

[0124] In one specific embodiment, the system startup command can be used to instruct the server to be installed to start and, based on the server startup, to start the memory system.

[0125] In one specific embodiment, the server to be installed can perform a server startup operation upon receiving a system startup command sent by the system installation server, thereby achieving the startup of the server to be installed as described above. Then, upon completing the startup, the server to be installed can send a startup data acquisition command to the system installation server to perform a memory system startup operation based on the memory system startup data obtained from the system installation server.

[0126] In one specific embodiment, the boot data retrieval instruction can be used to instruct the system installation server to send in-memory system boot data to the server to be installed. The boot data retrieval instruction may include the file address information of the in-memory system boot data.

[0127] In one specific embodiment, when the system installation server receives the above-mentioned boot data acquisition instruction, it can search for the memory system boot data from the above-mentioned file directory based on the file address information of the memory system boot data in the boot data acquisition instruction, and can send the above-mentioned memory system boot data to the server to be installed.

[0128] In one specific embodiment, upon receiving the aforementioned memory system boot data, the server to be installed can perform a memory system boot operation based on the memory system boot data to achieve the booting of the memory system. Specifically, the server to be installed can load the kernel and the initial root file system based on the memory system boot data to achieve the booting of the memory system, that is, to configure the pre-boot execution environment.

[0129] S207: In response to the configuration retrieval command sent by the server to be installed when the memory system has been started, send system installation configuration information to the server to be installed so that the server to be installed can perform system partitioning operations based on the partitioning operation information in the system installation configuration information.

[0130] In one specific embodiment, the configuration retrieval instruction can be used to instruct the system installation server to send system installation configuration information to the server to be installed. The configuration retrieval instruction may include configuration identification information corresponding to the system installation configuration information.

[0131] In one specific embodiment, upon receiving the configuration acquisition instruction, the system installation server can obtain the storage address information corresponding to the system installation configuration information based on the configuration identifier information corresponding to the system installation configuration information carried in the configuration acquisition instruction; correspondingly, it can obtain the system installation configuration information from the second storage bucket based on the storage address information corresponding to the system installation configuration information.

[0132] In one specific embodiment, upon receiving the aforementioned system installation and configuration information, the server to be installed can perform system partitioning operations based on the partitioning operation information within the system installation and configuration information to achieve the division of logical space on the disk of the server to be installed.

[0133] S209: In response to the installation package acquisition instruction sent by the server to be installed based on the installation component information in the system installation configuration information, determine the installation package of each of the multiple installation components corresponding to the installation component information from the component installation packages of multiple preset components, and send the installation package of the installation component to be installed to the server to be installed, so that the server to be installed can perform installation processing on the multiple installation components based on the installation package of the installation component to be installed, so as to realize the installation of the target operating system corresponding to the target terminal.

[0134] In one specific embodiment, the installation package retrieval instruction can be used to instruct the system installation server to send the component installation package corresponding to the component information to be installed to the server to be installed.

[0135] In one specific embodiment, the component to be installed information can be used to indicate multiple components that need to be installed on the server to be installed. The component to be installed information may include component identification information for these multiple components. These multiple components to be installed may refer to components required to install the target operating system on top of an already booted memory system. The component to be installed installation package can be used to install these multiple components.

[0136] In one specific embodiment, upon receiving an instruction to obtain an installation package carrying information about the components to be installed, the system installation server can determine the installation packages for the components to be installed corresponding to the information about the components to be installed from the component installation packages of the components to be installed for the multiple preset components; accordingly, the system installation server can send the installation packages for the components to be installed to the installation server.

[0137] In one specific embodiment, the server to be installed can, upon receiving the installation package corresponding to the installation package of the component to be installed, perform installation operations on the multiple components to be installed based on the installation package.

[0138] In one specific embodiment, the above method may further include:

[0139] Get the current storage time of the file directory corresponding to the image file's identifier information;

[0140] If the current storage time reaches the preset storage time, delete the file directory corresponding to the image file identification information and the system installation image file corresponding to the image file identification information.

[0141] In one specific embodiment, the current storage time may refer to the duration that the file directory corresponding to the image file identification information has been stored in the file system.

[0142] In a specific embodiment, the creation time of the file directory corresponding to the above-mentioned image file identification information can be obtained. Accordingly, the current storage time of the above-mentioned file directory can be determined based on the current time and the creation time of the above-mentioned file directory.

[0143] In one specific embodiment, the preset storage time can be used to indicate the maximum duration for which the file directory corresponding to the aforementioned image file identification information can be retained. Specifically, the preset storage time can be set according to actual application needs, and this disclosure does not impose any limitations.

[0144] In one specific embodiment, the system installation server can delete the file directory corresponding to the image file identification information and the system installation image file corresponding to the image file identification information when it detects that the current storage time of the file directory corresponding to the image file identification information has reached a preset storage time. Correspondingly, the system installation server can also delete other related data of the aforementioned image file identification information. For example, the other related data of the aforementioned image file identification information may include the storage address information of the image file corresponding to the image file identification information in the first and second storage buckets, respectively.

[0145] In the above embodiments, by obtaining the current storage time of the file directory corresponding to the image file identification information, and deleting the file directory corresponding to the image file identification information and the system installation image file corresponding to the image file identification information when the current storage time reaches the preset storage time, the problem of resource waste caused by uploading too many images to multiple different objects can be effectively controlled.

[0146] In one specific embodiment, upon receiving an image deletion command from a target terminal, the system installation server deletes the file directory corresponding to the image file identification information, the system installation image file corresponding to the image file identification information, and other related data of the aforementioned image file identification information. The image deletion command can be used to instruct the system installation server to delete the related data of the aforementioned image file identification information. Specifically, the target object can trigger a deletion operation on the target terminal to cause the target terminal to generate an image deletion command and send the image deletion command to the system installation server.

[0147] In the above embodiments, by receiving a system installation request sent by a target terminal in at least one preset terminal, system installation configuration information corresponding to the system installation request, memory system boot data corresponding to the system installation request, and component installation packages of each of the multiple preset components corresponding to the system installation request are obtained. The memory system boot data and the component installation packages of each of the multiple preset components are obtained by conversion processing based on the system installation image file corresponding to the system installation request. This enables the acquisition of relevant data for the target operating system to be installed for the system installation request of the target terminal. Then, a system boot command is sent to the server to be installed corresponding to the target terminal to start the server, and memory system boot data is requested and a memory system boot operation is performed based on the memory system boot data, enabling the startup of the memory system of the server to be installed. Next, in response to a configuration acquisition command sent by the server to be installed when the memory system is already started, system installation configuration information is sent to the server to be installed to enable the server to install based on the partitions in the system installation configuration information. The operation information executes system partitioning operations. Custom partitions for the server to be installed can be created using partitioning information from the system installation configuration. Then, in response to the installation package retrieval command sent by the server based on the component information to be installed from the system installation configuration, the installation packages for the components to be installed are determined from the component installation packages of multiple preset components. These packages are then sent to the server, allowing it to install the components and ultimately install the target operating system for the target terminal. This allows for customized operating system installation by combining image files and system installation configuration information, avoiding the excessive storage space required by multiple different operating system image files. This improves image file utilization and avoids the poor user experience caused by complex image file creation processes, thus enhancing the flexibility and efficiency of operating system installation and improving the user experience.

[0148] Specifically, Figure 3 This is a flowchart illustrating another system installation method according to an exemplary embodiment. Figure 3 As shown, the system installation method can be performed by an electronic device, which can be a terminal or a server. In this embodiment, the method is described by example, with the method being performed by the server to be installed. Specifically, it may include the following steps:

[0149] S301: Upon receiving a system startup command from the system installation server, execute the server startup operation.

[0150] In one specific embodiment, the system startup instruction can be used to instruct the server to be installed to start and, based on the server's startup, to start the memory system. Specifically, the system startup instruction can be an instruction sent by the system installation server to the server to be installed based on receiving a system installation request.

[0151] In one specific embodiment, the server to be installed can perform a server startup operation upon receiving a system startup command sent by the system installation server, thereby achieving the startup of the server to be installed.

[0152] S303: Obtain memory system boot data from the system installation server.

[0153] In one specific embodiment, the memory system startup data can be obtained by the system installation server converting the system installation image file corresponding to the system installation request.

[0154] In one specific embodiment, a system installation request can be a request sent by the target terminal to the system installation server. The system installation request can be used to request the system installation server to install the operating system on the corresponding server to be installed.

[0155] In one specific embodiment, the target terminal can be any one of at least one preset terminal.

[0156] In one specific embodiment, the system installation request may include image file identification information. The system installation image file may be obtained by the system installation server based on the image file identification information. Specifically, the specific process of obtaining the system installation image file has been described in detail in the embodiments related to this process, and will not be elaborated here.

[0157] In one specific embodiment, obtaining memory system boot data from the system installation server as described above may include:

[0158] Send a boot data retrieval command to the system installation server so that the system installation server returns the memory system boot data.

[0159] In one specific embodiment, the startup data acquisition instruction can be used to instruct the system installation server to send memory system startup data to the server to be installed.

[0160] In one specific embodiment, the server to be installed can send a boot data retrieval command to the system installation server upon completion of the boot process. Upon receiving the boot data retrieval command from the server to be installed, the system installation server can send memory-based system boot data to the server to be installed. Correspondingly, the server to be installed can receive the memory-based system boot data sent by the system installation server.

[0161] S305: Performs memory system startup operations based on memory system startup data.

[0162] In one specific embodiment, the server to be installed can perform a memory system boot operation based on the memory system boot data to achieve the booting of the memory system. Specifically, the server to be installed can load the kernel and the initial root file system based on the memory system boot data to achieve the booting of the memory system, that is, to configure the pre-boot execution environment.

[0163] S307: When the memory system has already started, send a configuration retrieval command to the system installation server so that the system installation server returns the system installation configuration information.

[0164] In one specific embodiment, the system installation configuration information can be obtained by the system installation server based on the system installation request.

[0165] In one specific embodiment, the configuration retrieval command can be used to request the system installation server to send system installation configuration information. The configuration retrieval command may include configuration identification information corresponding to the system installation configuration information.

[0166] In one specific embodiment, the server to be installed can send a configuration retrieval command carrying configuration identifier information corresponding to the aforementioned system installation configuration information to the system installation server, provided that the memory system is already booted. Upon receiving the configuration retrieval command, the system installation server can send the system installation configuration information to the server to be installed. Correspondingly, the server to be installed can receive the system installation configuration information sent by the system installation server.

[0167] S309: Perform system partitioning operations based on the partitioning operation information in the system installation and configuration information.

[0168] In one specific embodiment, upon receiving system installation configuration information from the system installation server, the server to be installed can obtain partitioning operation information from the system installation configuration information. Accordingly, the server to be installed can perform system partitioning operations based on the partitioning operation information to divide the logical space on the server's disk. The partitioning operation information may include partitioning code. The partitioning code can be used to implement system partitioning operations. Specifically, the logical space on the server's disk can be divided by running the partitioning code.

[0169] S311: Based on the information of the components to be installed in the system installation configuration information, send an installation package retrieval instruction to the system installation server, so that the system installation server determines the installation packages of the components to be installed corresponding to the information of the components to be installed from the component installation packages of the multiple preset components, and returns the installation packages of the components to be installed.

[0170] In one specific embodiment, the component installation packages of the multiple preset components can be obtained by the system installation server through conversion processing based on the system installation image file.

[0171] In one specific embodiment, upon receiving system installation configuration information from the system installation server, the server to be installed can obtain the information of the component to be installed from the system installation configuration information. Based on the information of the component to be installed, the server to be installed can generate an installation package retrieval instruction and send the instruction to the system installation server. Upon receiving the installation package retrieval instruction, the system installation server can determine the installation package of the component to be installed from the component installation packages of multiple preset components based on the information of the component to be installed in the instruction; the system installation server can then return the installation package of the component to be installed to the server to be installed. Correspondingly, the server to be installed can receive the installation package of the component to be installed corresponding to the information of the component to be installed sent by the system installation server.

[0172] S313: Based on the installation package of the components to be installed, perform installation processing on multiple components to be installed in order to achieve the installation of the target operating system corresponding to the target terminal.

[0173] In one specific embodiment, upon receiving the installation package corresponding to the information of the components to be installed, the server to be installed can perform installation operations on the multiple components to be installed based on the installation package, thereby achieving the installation of the target operating system. Specifically, the server to be installed can achieve the installation of each component by running the component installation package for each component to be installed.

[0174] In one specific embodiment, the system installation and configuration information may further include system configuration code. This system configuration code can be used to implement the system configuration of the target operating system.

[0175] In one specific embodiment, the above method may further include:

[0176] Run the system configuration code to implement the system configuration of the target operating system.

[0177] In one specific embodiment, the server to be installed can obtain system configuration code from the system installation configuration information when it detects that the target operating system has been installed; the server to be installed can run the system configuration code to implement the system configuration of the target operating system.

[0178] In the above embodiments, by running system configuration code, the system configuration of the target operating system can be realized, which can solve the target object's customized configuration requirements for the operating system of the server to be installed.

[0179] In one specific embodiment, when the server to be installed detects that the system configuration of the target operating system has been completed, it can perform a network switching operation to switch the current network from the system installation network to the object network corresponding to the target object, thereby realizing deployment.

[0180] In the above embodiments, upon receiving a system startup command from the system installation server, a server startup operation is executed to obtain memory system startup data from the system installation server. This memory system startup data is obtained by the system installation server through conversion processing of the system installation image file corresponding to the system installation request. Based on this memory system startup data, the memory system startup operation is executed to start the memory system of the server to be installed. Then, with the memory system already started, a configuration retrieval command is sent to the system installation server to cause the system installation server to return system installation configuration information. This system installation configuration information is obtained by the system installation server based on the system installation request, enabling the acquisition of customized system installation configuration information for the target object. Next, based on the partition operation information in the system installation configuration information, a system partition operation is executed. This allows for the creation of custom partitions for the server to be installed using the partition operation information in the system installation configuration information. Finally, based on the partition operation information in the system installation configuration information... The system sends an installation package retrieval command to the system installation server, which then selects the appropriate installation packages from a pool of pre-defined component installation packages. The system installation server returns these packages, which are obtained by converting the system installation image file. Based on these packages, the system installation server installs the components to achieve the target operating system installation on the target terminal. This allows for customized operating system installation by combining the image file and system configuration information. This avoids the excessive storage space required by multiple different operating system image files, improves image file utilization, and prevents poor user experience due to the complexity and difficulty of image file creation. Ultimately, this enhances the flexibility and efficiency of operating system installation, improving the overall user experience.

[0181] Figure 4 This is a system architecture diagram illustrating a system installation method according to an exemplary embodiment. Figure 5 This is an interactive schematic diagram illustrating a system installation method according to an exemplary embodiment. Specifically, as shown below... Figure 4As shown, the target device can upload the system installation image file and system installation configuration information to the first storage bucket via the target terminal. The system installation server can retrieve the system installation image file and system installation configuration information from the first storage bucket based on their respective storage address information, and can then store these files to the second storage bucket. Upon receiving a system installation request, the system installation server can retrieve the corresponding system installation configuration information and the corresponding system installation image file from the second storage bucket.

[0182] Furthermore, such as Figure 5 As shown, upon receiving a system installation request from the target terminal, the system installation server can obtain the system installation configuration information and the system installation image file corresponding to the request. The system installation server can convert the system installation image file to extract the memory system boot data and the component installation packages for multiple preset components. The system installation server can send a system boot command to the server to be installed corresponding to the target terminal. Upon receiving the system boot command, the server to be installed can perform a server boot operation. The server to be installed can send a boot data retrieval command to the system installation server. Upon receiving the boot data retrieval command, the system installation server can send the memory system boot data to the server to be installed. Upon receiving the memory system boot data, the server to be installed can perform a memory system boot operation based on the memory system boot data. If the memory system is already booted, the server to be installed can send a configuration retrieval command to the system installation server. Upon receiving the configuration retrieval command, the system installation server can send system installation configuration information to the server to be installed. Upon receiving system installation configuration information, the server awaiting installation can perform system partitioning operations based on the partitioning information within the configuration. It can also send an installation package retrieval command to the system installation server based on the component information to be installed within the configuration. Upon receiving this command, the system installation server, based on the component information, determines the respective component installation packages for each of the multiple pre-defined components. The system installation server then sends these component installation packages to the server awaiting installation. The server awaiting installation can then install these components, thereby achieving the installation of the target operating system.

[0183] Figure 6 This is a block diagram illustrating a system mounting apparatus according to an exemplary embodiment. Specifically, as shown...Figure 6 As shown, the device may include:

[0184] The request receiving module 610 can be used to receive a system installation request sent by a target terminal among at least one preset terminal; the target terminal can be any one of the at least one preset terminal.

[0185] The first data acquisition module 620 can be used to acquire system installation configuration information corresponding to the system installation request, memory system boot data corresponding to the system installation request, and component installation packages of each of the multiple preset components corresponding to the system installation request; the memory system boot data and the component installation packages of each of the multiple preset components are obtained by converting the system installation image file corresponding to the system installation request.

[0186] The first instruction sending module 630 can be used to send a system startup instruction to the server to be installed corresponding to the target terminal so as to start the server to be installed, and to request memory system startup data, and to perform memory system startup operation based on the memory system startup data.

[0187] The first data sending module 640 can be used to send system installation configuration information to the server to be installed in response to a configuration acquisition command sent by the server to be installed when the memory system has been started, so that the server to be installed can perform system partitioning operations based on the partitioning operation information in the system installation configuration information.

[0188] The second data sending module 650 can be used to respond to the installation package acquisition instruction sent by the server to be installed based on the installation component information in the system installation configuration information, determine the installation package of each of the multiple installation components corresponding to the installation component information from the component installation packages of multiple preset components, and send the installation package of the installation component to be installed to the server to be installed, so that the server to be installed can perform installation processing on the multiple installation components based on the installation package of the installation component to be installed, so as to realize the installation of the target operating system corresponding to the target terminal.

[0189] In one specific embodiment, the system installation request includes image file identification information; the above apparatus may further include:

[0190] The image file acquisition module can be used to obtain the system installation image file corresponding to the image file identification information;

[0191] The conversion processing module can be used to convert system installation image files to extract memory system boot data and component installation packages of multiple preset components from the system installation image files.

[0192] In one specific embodiment, the above-described apparatus may further include:

[0193] The first directory search module can be used to search for the file directory corresponding to the image file identification information in the file system and obtain the directory search results;

[0194] Accordingly, the aforementioned image file acquisition module may include:

[0195] The image file acquisition unit can be used to acquire the system installation image file corresponding to the image file identification information when the directory search results indicate that the file directory corresponding to the image file identification information does not exist in the file system.

[0196] In one specific embodiment, the system installation request includes image file identification information; the above apparatus may further include:

[0197] The second directory search module can be used to search for the file directory corresponding to the image file identification information in the file system and obtain the directory search results.

[0198] The third data acquisition module can be used to acquire memory system startup data and component installation packages of multiple preset components based on the file directory indicated by the directory search results, when the directory search results indicate that there is a file directory in the file system corresponding to the image file identification information.

[0199] In one specific embodiment, the above-described apparatus may further include:

[0200] The fourth data acquisition module can be used to obtain the current storage time of the file directory corresponding to the image file identification information;

[0201] The deletion module can be used to delete the file directory corresponding to the image file identification information and the system installation image file corresponding to the image file identification information when the current storage time reaches the preset storage time.

[0202] In one specific embodiment, the first instruction sending module 630 described above may include:

[0203] The first instruction sending unit can be used to send a system startup instruction to the server to be installed, so that the server to be installed can start.

[0204] The data sending unit can be used to send memory system startup data to the server to be installed upon receiving a startup data acquisition instruction from the server to be installed, so that the server to be installed can perform a memory system startup operation based on the memory system startup data.

[0205] Figure 7 This is a block diagram illustrating another system mounting apparatus according to an exemplary embodiment. Specifically, as shown... Figure 7 As shown, the device may include:

[0206] The first execution module 710 can be used to execute server startup operations upon receiving a system startup command sent by the system installation server.

[0207] The second data acquisition module 720 can be used to acquire memory system boot data from the system installation server. The memory system boot data is obtained by the system installation server through conversion processing based on the system installation image file corresponding to the system installation request. The system installation request is a request sent by the target terminal to the system installation server. The target terminal is any one of at least one preset terminal.

[0208] The second execution module 730 can be used to perform memory system startup operations based on memory system startup data.

[0209] The second instruction sending module 740 can be used to send a configuration retrieval instruction to the system installation server when the memory system has been started, so that the system installation server returns system installation configuration information; the system installation configuration information is obtained by the system installation server based on the system installation request;

[0210] The third execution module 750 can be used to perform system partitioning operations based on the partitioning operation information in the system installation and configuration information.

[0211] The third instruction sending module 760 can be used to send an installation package retrieval instruction to the system installation server based on the information of the components to be installed in the system installation configuration information, so that the system installation server can determine the installation packages of the components to be installed corresponding to the information of the components to be installed from the component installation packages of the components of the multiple preset components, and return the installation packages of the components to be installed; the installation packages of the components of the multiple preset components are obtained by the system installation server through conversion processing based on the system installation image file;

[0212] The component installation module 770 can be used to install multiple components based on the component installation package to achieve the installation of the target operating system corresponding to the target terminal.

[0213] In one specific embodiment, the system installation request includes image file identification information; the system installation image file is obtained by the system installation server based on the image file identification information.

[0214] In one specific embodiment, the system installation and configuration information further includes system configuration code; the above-mentioned apparatus may also include:

[0215] The code execution module can be used to run system configuration code to implement the system configuration of the target operating system.

[0216] In one specific embodiment, the second data acquisition module 720 described above may include:

[0217] The second instruction sending unit can be used to send a boot data retrieval instruction to the system installation server, so that the system installation server returns the memory system boot data.

[0218] Regarding the apparatus in the above embodiments, the specific manner in which each module and unit performs its operations has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0219] Figure 8 This is a block diagram illustrating an electronic device for installing a target operating system corresponding to a target terminal, according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, the electronic device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements the aforementioned system installation method.

[0220] Figure 9 This is a block diagram illustrating another electronic device for installing a target operating system corresponding to a target terminal, according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the electronic device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements the aforementioned system installation method. The display screen can be a liquid crystal display (LCD) or an e-ink display. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.

[0221] Those skilled in the art will understand that Figure 8 or Figure 9The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the electronic device to which the present disclosure is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0222] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the system installation method as described in the embodiments of this disclosure.

[0223] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the system installation method of the present disclosure embodiments.

[0224] In an exemplary embodiment, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform the system installation method of the present disclosure embodiments.

[0225] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0226] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0227] It is understood that in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0228] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0229] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A system installation method, characterized by, The method comprises: receiving a system installation request sent by a target terminal in at least one preset terminal; the target terminal is any one of the at least one preset terminal; obtaining system installation configuration information corresponding to the system installation request, memory system startup data corresponding to the system installation request, and component installation packages of a plurality of preset components respectively; the memory system startup data and the component installation packages of the plurality of preset components are obtained by converting a system installation image file corresponding to the system installation request; sending a system startup instruction to a to-be-installed server corresponding to the target terminal, so that the to-be-installed server starts up, and requests the memory system startup data, and performs a memory system startup operation based on the memory system startup data; in response to a configuration obtaining instruction sent by the to-be-installed server in a case where the memory system has started up, sending the system installation configuration information to the to-be-installed server, so that the to-be-installed server performs a system partition operation based on partition operation information in the system installation configuration information; in response to an installation package obtaining instruction sent by the to-be-installed server based on to-be-installed component information in the system installation configuration information, determining, from the component installation packages of the plurality of preset components, to-be-installed component installation packages of a plurality of to-be-installed components corresponding to the to-be-installed component information, and sending the to-be-installed component installation packages to the to-be-installed server, so that the to-be-installed server installs the plurality of to-be-installed components based on the to-be-installed component installation packages, to achieve installation of a target operating system corresponding to the target terminal.

2. The method of claim 1, wherein, The system installation request comprises image file identification information; the memory system startup data and the component installation packages of the plurality of preset components are obtained in the following manner: obtaining a system installation image file corresponding to the image file identification information; converting the system installation image file to extract the memory system startup data and the component installation packages of the plurality of preset components from the system installation image file.

3. The method of claim 2, wherein, The method further comprises: finding a file directory corresponding to the image file identification information in a file system to obtain a directory search result; the obtaining of the system installation image file corresponding to the image file identification information comprises: in a case where the directory search result indicates that the file directory corresponding to the image file identification information does not exist in the file system, obtaining the system installation image file corresponding to the image file identification information.

4. The method of claim 1, wherein, The system installation request comprises image file identification information; the memory system startup data and the component installation packages of the plurality of preset components are obtained in the following manner: finding a file directory corresponding to the image file identification information in a file system to obtain a directory search result; in a case where the directory search result indicates that the file directory corresponding to the image file identification information exists in the file system, obtaining the memory system startup data and the component installation packages of the plurality of preset components based on the file directory indicated by the directory search result.

5. The method of claim 4, wherein, The method further comprises: acquiring a current storage time of a file directory corresponding to the mirror file identification information; in a case where the current storage time reaches a preset storage time, deleting the file directory corresponding to the mirror file identification information and the system installation mirror file corresponding to the mirror file identification information.

6. The method of claim 1, wherein, The system startup instruction is sent to the to-be-installed server corresponding to the target terminal to enable the to-be-installed server to start, the memory system startup data is requested, and a memory system startup operation is performed based on the memory system startup data, which comprises: sending a system startup instruction to the to-be-installed server to enable the to-be-installed server to start; in a case where the startup data acquisition instruction sent by the to-be-installed server is received, the memory system startup data is sent to the to-be-installed server to enable the to-be-installed server to perform a memory system startup operation based on the memory system startup data.

7. A system installation method characterized by comprising: The method comprises: in a case where the system startup instruction sent by the system installation server is received, performing a server startup operation; acquiring memory system startup data from the system installation server; the memory system startup data is obtained by the system installation server based on a system installation mirror file corresponding to a system installation request; the system installation request is a request sent by a target terminal to the system installation server; the target terminal is any one of at least one preset terminal; based on the memory system startup data, performing a memory system startup operation; in a case where the memory system has started, sending a configuration acquisition instruction to the system installation server to enable the system installation server to return system installation configuration information; the system installation configuration information is obtained by the system installation server based on the system installation request; based on partition operation information in the system installation configuration information, performing a system partition operation; based on to-be-installed component information in the system installation configuration information, sending an installation package acquisition instruction to the system installation server to enable the system installation server to determine, from a plurality of preset component respective component installation packages, to-be-installed component installation packages corresponding to the plurality of to-be-installed components corresponding to the to-be-installed component information, and return the to-be-installed component installation packages; the plurality of preset component respective component installation packages are obtained by the system installation server based on the system installation mirror file; based on the to-be-installed component installation packages, performing installation processing on the plurality of to-be-installed components to realize installation of a target operating system corresponding to the target terminal.

8. The method of claim 7, wherein, The system installation request comprises mirror file identification information; the system installation mirror file is obtained by the system installation server based on the mirror file identification information.

9. The method of claim 7, wherein, The system installation configuration information further comprises system configuration code; the method further comprises: running the system configuration code to realize system configuration of the target operating system.

10. The method of claim 7, wherein, The memory system startup data is acquired from the system installation server, which comprises: sending a startup data acquisition instruction to the system installation server to enable the system installation server to return the memory system startup data.

11. A system installation device, characterized by The device comprises: The request receiving module is used for receiving a system installation request sent by a target terminal in at least one preset terminal; the target terminal is any one of the at least one preset terminal; The first data obtaining module is used for obtaining system installation configuration information corresponding to the system installation request, memory system startup data corresponding to the system installation request, and component installation packages of a plurality of preset components respectively; The first instruction sending module is used for sending a system startup instruction to a server to be installed corresponding to the target terminal, so as to make the server to be installed start up, request the memory system startup data, and perform a memory system startup operation based on the memory system startup data; The first data sending module is used for sending the system installation configuration information to the server to be installed in response to a configuration obtaining instruction sent by the server to be installed in a case where the memory system has started up, so as to make the server to be installed perform a system partition operation based on partition operation information in the system installation configuration information; The second data sending module is used for determining, from the component installation packages of the plurality of preset components respectively, a plurality of to-be-installed component installation packages of a plurality of to-be-installed components corresponding to to-be-installed component information in response to an installation package obtaining instruction sent by the server to be installed based on the system installation configuration information, and sending the to-be-installed component installation packages to the server to be installed, so as to make the server to be installed install the plurality of to-be-installed components based on the to-be-installed component installation packages, to realize installation of a target operating system corresponding to the target terminal.

12. A system installation device, characterized by The device comprises: The first execution module is used for performing a server startup operation in a case where a system startup instruction sent by a system installation server is received; The second data obtaining module is used for obtaining memory system startup data from the system installation server; the memory system startup data is obtained by the system installation server based on system installation image files corresponding to a system installation request, the system installation request is a request sent by a target terminal to the system installation server, and the target terminal is any one of at least one preset terminal; The second execution module is used for performing a memory system startup operation based on the memory system startup data; The second instruction sending module is used for sending a configuration obtaining instruction to the system installation server in a case where the memory system has started up, so as to make the system installation server return system installation configuration information; the system installation configuration information is obtained by the system installation server based on the system installation request; The third execution module is used for performing a system partition operation based on partition operation information in the system installation configuration information; The third instruction sending module is configured to send an installation package obtaining instruction to the system installation server based on the to-be-installed component information in the system installation configuration information, so that the system installation server determines, from component installation packages of a plurality of preset components, component installation packages of a plurality of to-be-installed components corresponding to the to-be-installed component information, and returns the component installation packages of the to-be-installed components; the component installation packages of the plurality of preset components are obtained by the system installation server based on the system installation image file; The component installation module is configured to perform installation processing on the plurality of to-be-installed components based on the component installation packages of the to-be-installed components, so as to realize installation of a target operating system corresponding to the target terminal.

13. An electronic device, comprising: Comprise: A processor; A memory for storing a computer program; The processor is configured to execute the computer program to implement the system installation method of any one of claims 1 to 6 or the system installation method of any one of claims 7 to 10.

14. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the system installation method of any one of claims 1 to 6 or the system installation method of any one of claims 7 to 10.

15. A computer program product comprising a computer program, characterized in that, The computer program is executed by the electronic device to implement the system installation method of any one of claims 1 to 6 or the system installation method of any one of claims 7 to 10.