WO2021139314A1 - Operating system initialization method and system, computer device, and storage medium - Google Patents

Operating system initialization method and system, computer device, and storage medium Download PDF

Info

Publication number
WO2021139314A1
WO2021139314A1 PCT/CN2020/122666 CN2020122666W WO2021139314A1 WO 2021139314 A1 WO2021139314 A1 WO 2021139314A1 CN 2020122666 W CN2020122666 W CN 2020122666W WO 2021139314 A1 WO2021139314 A1 WO 2021139314A1
Authority
WO
WIPO (PCT)
Prior art keywords
physical server
information
initialization
server
user terminal
Prior art date
Application number
PCT/CN2020/122666
Other languages
French (fr)
Chinese (zh)
Inventor
卢丽玲
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021139314A1 publication Critical patent/WO2021139314A1/en

Links

Images

Classifications

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

Definitions

  • This application relates to the field of blockchain technology, to application scenarios of operating system initialization in smart cities, and in particular to an operating system initialization method, system, computer equipment, and storage medium.
  • the server clusters can be constructed by multiple physical servers. Customers interact with the server cluster through the client to process service requests from the client through the server cluster.
  • the enterprise needs to initialize the operating system in the physical server.
  • the traditional technical method to initialize the operating system of the physical server depends on the pre-boot execution environment (Preboot eXecution Environment, PXE).
  • PXE pre-boot execution environment
  • PXE pre-boot eXecution Environment
  • the embodiments of the present application provide an operating system initialization method, system, computer device, and storage medium, which are intended to solve the problem of low stability after initializing the operating system in a physical server with the existing technical method.
  • an embodiment of the present application provides a method for initializing an operating system, which includes: receiving server list information input by a user, and sending an information acquisition request to a physical server corresponding to the server list information, so as to obtain information related to the server list.
  • Basic configuration information corresponding to the list information verify whether the physical server included in the server basic configuration information passes the verification according to the server list information; if the physical server passes the verification, send the system image file to the physical server, where, The system image file contains an initialization script; receiving initialization parameters fed back by the physical server, and verifying whether the initialization parameters are accurate according to the pre-stored parameter information; if the initialization parameters are accurate, remotely log in to the physical server to perform the initialization Script; obtain the execution result of the initialization script executed by the physical server.
  • an embodiment of the present application provides an operating system initialization method, which includes: receiving an information acquisition request from the user terminal, and executing instruction information loaded in the memory of the physical server to acquire the physical server Send the basic configuration information to the user terminal; receive the system image file from the user terminal, configure the execution priority of the system image file, wherein the system image file contains the initialization script; restart The physical server executes the system image file, and sends initialization parameters to the user terminal; receives the execution information sent by the user terminal through remote login, executes the stored initialization script, and feeds back the execution result to the user terminal.
  • the user terminal includes: receiving an information acquisition request from the user terminal, and executing instruction information loaded in the memory of the physical server to acquire the physical server Send the basic configuration information to the user terminal; receive the system image file from the user terminal, configure the execution priority of the system image file, wherein the system image file contains the initialization script; restart The physical server executes the system image file, and sends initialization parameters to the user terminal; receives the execution information sent by the user terminal through remote
  • an embodiment of the present application provides an operating system initialization system, which includes a user terminal and at least one physical server.
  • the user terminal includes a basic configuration information acquisition unit, a physical server verification unit, a system image file sending unit, An initialization parameter verification unit, an execution unit, and an execution result acquisition unit.
  • the physical server includes an instruction information execution unit, a basic configuration information sending unit, an execution priority configuration unit, an initialization parameter sending unit, and a script execution unit, wherein the basic configuration
  • the information acquisition unit is configured to receive server list information input by the user, and send an information acquisition request to the physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information
  • the physical server verification unit For verifying whether the physical server included in the server basic configuration information passes the verification according to the server list information
  • the system image file sending unit is for sending the system image file to the physical server if the physical server passes the verification A physical server, wherein the system image file contains an initialization script
  • the initialization parameter verification unit is configured to receive the initialization parameters fed back by the physical server, and verify whether the initialization parameters are accurate according to the pre-stored parameter information
  • the execution unit If the initialization parameters are accurate, remotely log in to the physical server to execute the initialization script
  • the execution result obtaining unit is configured to obtain the execution result of the physical server executing the initialization script
  • an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program that is stored on the memory and can run on the processor, and the processor executes the computer
  • the program implements the operating system initialization method described in the first aspect or the second aspect.
  • the embodiments of the present application also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the above-mentioned first The operating system initialization method described in one aspect or the second aspect.
  • the embodiments of the application provide an operating system initialization method, system, computer equipment, and storage medium.
  • the above method verifies the basic configuration information and initialization parameters of the physical server. After the verification is passed, the physical server is remotely logged in to perform the initialization contained in the system image file.
  • the script is used to initialize the operating system, which can improve the efficiency of operating system initialization and greatly improve the stability of the operating system after initialization in the physical server.
  • FIG. 1 is a schematic flowchart of an operating system initialization method provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of an application scenario of an operating system initialization method provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of a sub-flow of an operating system initialization method provided by an embodiment of the application
  • FIG. 4 is a schematic diagram of another process of an operating system initialization method provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of another sub-flow of the operating system initialization method provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of another process of an operating system initialization method provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of another process of an operating system initialization method provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of another sub-flow of the operating system initialization method provided by an embodiment of the application.
  • FIG. 9 is a schematic block diagram of an operating system initialization system provided by an embodiment of the application.
  • FIG. 10 is a schematic block diagram of a computer device provided by an embodiment of the application.
  • Figure 1 is a schematic flowchart of an operating system initialization method provided by an embodiment of the present application
  • Figure 2 is a schematic diagram of an application scenario of an operating system initialization method provided by an embodiment of the present application.
  • the operating system initialization method is applied to In the operating system initialization system, the system includes a user terminal 10 and at least one physical server 20.
  • the method is executed by application software installed in the user terminal 10 and the physical server 20, and the user terminal 10 establishes a network connection with the physical server 20.
  • the user terminal 10 is a user terminal used to receive information input by the user to manage and maintain the physical server 20, such as a desktop computer, a notebook computer, a tablet computer, or a mobile phone; the physical server 20 is used The server side that receives the data information sent by the user terminal 10 to complete the initialization of the operating system. As shown in Fig. 1, the method is applied to the user terminal 10 and includes steps S110 to S160.
  • S110 Receive server list information input by a user, and send an information acquisition request to a physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information.
  • Receive server list information input by the user and send an information acquisition request to the physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information.
  • the user can be the administrator of the enterprise
  • the physical server can provide services for clients outside the enterprise through the business network (in-band IP)
  • the user terminal establishes a network connection with the physical server through the internal management network of the enterprise, and the system initialization operations are all It is implemented based on the internal management network (out-of-band IP) of the enterprise.
  • the server list information is the relevant information input by the user that includes the physical server, and the server list information includes at least one physical server that needs to be initialized by the operating system and specific information related to the physical server.
  • the server list information includes the server address information of the physical server.
  • the server address information can be represented by URL (Uniform Resource Locator) to obtain the server address information of each physical server in the server list information.
  • the server address information of a physical server sends an information acquisition request to the corresponding physical server. After receiving the acquisition request, the physical server feeds back the basic configuration information of the physical server itself to the user terminal.
  • the server list information it is verified whether the physical server included in the server basic configuration information passes the verification.
  • the basic configuration information includes disk array type information and network connection information of the physical server.
  • Each physical server is equipped with Disk Arrays (Redundant Arrays of Independent Disks, RAID), the disk array can be composed of multiple hard disks (Read-Only Memory, ROM), and the disk array type information is the physical server The specific type information of the disk array; each physical server exchanges data information with user terminals and clients outside the enterprise. The data information interaction depends on the network connection constructed by the switch.
  • the network connection information of the physical server includes the physical server The name of the connected switch and the name of the network port corresponding to the switch.
  • the server list information also includes the type information and connection information corresponding to each physical server that needs to be initialized with the operating system.
  • the basic configuration information of each physical server can be verified according to the server list information to obtain each physical server Whether to verify the verification result passed.
  • step S120 includes sub-steps S121, S122, and S123.
  • S121 Determine whether the disk array type information of each physical server is the same as the corresponding type information in the server list information.
  • each physical server It is determined whether the disk array type information of each physical server is the same as the corresponding type information in the server list information. If it is determined that the disk array type information of a physical server is the same as the corresponding type information in the server list information, then it is determined whether the network connection information of the physical server is also the same as the corresponding connection information in the server list information; if If the disk array type information of a physical server is different from the corresponding type information in the server list information, the physical server fails the verification.
  • the disk array of a physical server contains 4 hard disks
  • its disk array type information includes 2 hard disks of single raid1 type, 2 hard disks of combined raid1 type
  • the type information corresponding to the physical server in the server list information includes If two hard disks are of single raid1 type and two hard disks are of combined raid1 type, the disk array type information of the physical server is the same as the corresponding type information in the server list information.
  • the network connection information of a physical server includes switch name N93180-01, network port name Ethernet1/1; the connection information corresponding to the physical server in the server list information includes switch name N93180-01, network port name Ethernet1/1 Ethernet1/2, the network connection information of the physical server is different from the corresponding connection information in the server list information, and the physical server fails the verification.
  • a verification failure prompt message can be sent to remind the user.
  • the user terminal can send the system image file to the physical server.
  • the system image file contains the initialization script.
  • the system image file is the program file that can initialize the operating system in the physical server.
  • the initialization script is the correct A computer program script executed by the operating system for initialization.
  • step S1301 is further included before step S130.
  • a mirroring interface connection can also be established between the user terminal and the physical server.
  • the mirroring interface connection is implemented based on the internal management network (out-of-band IP) of the enterprise.
  • the user terminal is also configured with multiple mirroring interfaces.
  • the mirroring interface is a network interface that can send system mirror files.
  • the user terminal can send an interface connection request to the physical server.
  • the interface connection request includes a configuration that has been configured in the user terminal.
  • the interface address information of the mirrored interface after the physical server receives the interface connection request, the physical server establishes a mirrored interface connection with a mirrored interface associated with the interface address information in the interface connection request, that is, establishes a connection between the user terminal and the physical server Mirror interface connection.
  • the system mirror file stored in the user terminal can be sent to the physical server through the mirror interface connection.
  • S140 Receive initialization parameters fed back by the physical server, and verify whether the initialization parameters are accurate according to pre-stored parameter information.
  • the initialization parameters fed back by the physical server may include the host name (hostname), server address (IP address), gateway information, network time protocol service (NTP Server, Network Time Protocol Server) information, and domain name service (DNS, Domain Name). Server) information, etc.
  • the parameter information is the parameter configuration information pre-stored in the user terminal and associated with each physical server. According to the parameter information pre-stored in the user terminal, it can be judged whether the initialization parameters fed back by the physical server are accurate, so as to ensure the physical server's The initialization of the operating system is performed only after the initialization parameters meet the corresponding requirements of the parameter configuration information.
  • remote login can be implemented based on the SOL (Serial Over LAN) function of IPMI (Intelligent Platform Management Interface). IPMI can operate under different attribute values, even if the physical server itself is not operating normally, or If the service cannot be provided for any reason, IPMI can still operate normally.
  • SOL Serial Over LAN
  • IPMI Intelligent Platform Management Interface
  • the user terminal can send execution information to the physical server through remote login to perform storage and initialization in the physical server.
  • the script is used to initialize the operating system.
  • the execution information includes the system type.
  • the system type is the specific type of the operating system that can be initialized in the management server.
  • the management server can obtain the initialization script and the system type according to the system type in the execution information.
  • the corresponding system script is executed to initialize the operating system corresponding to the system type in the management server.
  • the system type in the execution information can be Linux, VMware esxi, or Windows.
  • step S150 includes sub-steps S1501, S1502, and S1503.
  • the user terminal remotely logs in to the physical server and obtains the storage area corresponding to the preset storage path in the physical server, and judges whether the above-mentioned initialization script is stored in the storage area. If the initialization script is stored in the storage area, it can pass The initialization script is executed by sending execution information to the physical server, that is, step S1503 is directly executed.
  • the initialization script in the user terminal can be copied to the physical server through the mirror interface connection, the initialization script is copied to the physical server and the initialization script is stored according to In the storage area corresponding to the above storage path.
  • the physical server executes the initialization script and feeds back the execution result to the user terminal, then the user terminal can receive the execution result and display it on the web interface of the user terminal.
  • the user terminal receives the execution result fed back by a physical server as a success, it sends a restart instruction to the physical server to restart the operating system in the physical server; if the user terminal receives the feedback from a physical server If the execution result of is unsuccessful, a log acquisition instruction can be sent to the physical server to obtain the execution log obtained by the physical server executing the initialization script.
  • steps S170 and S180 are further included.
  • S170 Send an initialization verification request to the physical server to obtain the initialization verification information fed back by the physical server according to the initialization verification request.
  • the user terminal can also send an initialization verification request to obtain the verification result of whether the physical server has passed the verification. If the physical server has passed the verification, it indicates that the physical server has completed the initialization of the operating system and can be a client outside the enterprise If the physical server fails the verification, it means that the physical server cannot provide services for clients outside the enterprise.
  • the network card initialization information of the physical server can be obtained through the network card verification request in the initialization verification information
  • the service initialization information of the physical server can be obtained through the service verification request in the initialization verification information.
  • multiple network cards can be configured in the physical server, and each network card corresponds to one network connection.
  • the network card can be switched according to the network card verification request to obtain the network connection information corresponding to each network card, and the network card initialization information can be obtained;
  • the corresponding service test script is executed in the server to obtain service initialization information.
  • the physical server is configured with two network cards, eth4 and eth6, first switch to the port corresponding to the eth4 network card, and perform a network test on the port to obtain network connection information; then switch to the port corresponding to the eth6 network card to perform a network test on the port
  • To obtain the network connection information obtain the two network connection information corresponding to the two network cards eth4 and eth6 as the network card initialization information of the physical server
  • the service verification request includes the NTP service verification request and the DNS service verification request, respectively, in the physical server
  • the service test script corresponding to the NTP service verification request and the DNS service verification request is executed to obtain the service initialization information of the physical server, and the service initialization information includes the NTP service initialization information and the DNS service initialization information.
  • S180 Determine whether the initialization information meets a preset initialization threshold, so as to obtain a verification result of whether the physical server is available.
  • the initialization threshold preset in the user terminal it is judged whether the initialization information fed back by the physical server meets the initialization threshold, and the verification result of whether the physical server is available is obtained. If the verification result of the physical server is available, it indicates that the physical server has completed the operation
  • the initialization of the system can provide services for clients outside the enterprise; otherwise, it indicates that the physical server cannot provide services for clients outside the enterprise.
  • the initialization threshold may include a network card initialization threshold and a service initialization threshold.
  • the network card initialization threshold is a network delay of 50ms
  • the server initialization threshold is a processing speed of 150/S
  • the method further includes the step of uploading the execution result to the blockchain.
  • the blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • FIG. 7 is another flowchart of the operating system initialization method provided by the embodiment of the application. As shown in FIG. 7, the method is applied to the physical server 20 and includes steps S210 to S250.
  • S210 Receive an information acquisition request from the user terminal, and execute the instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server.
  • the physical server is also configured with memory. If the physical server receives an information acquisition request from the user terminal, it can obtain the corresponding basic configuration information by executing the instruction information loaded in the physical server memory.
  • the basic configuration information of the physical server includes the disk array Type information and network connection information.
  • S220 Send the basic configuration information to the user terminal.
  • S230 Receive a system image file from the user terminal, and configure an execution priority of the system image file, where the system image file includes an initialization script.
  • the execution priority of the system image file is configured so that the system image file is executed first when the physical server restarts.
  • S240 Restart the physical server to execute the system image file, and send initialization parameters to the user terminal.
  • the system image file is executed first, and the corresponding initialization parameters are obtained and sent to the user terminal.
  • the initialization script stored in the physical server is executed to obtain the corresponding execution result, and the execution result is fed back to the user terminal.
  • step S250 includes sub-steps S251 and S252.
  • the execution information also includes the system type
  • the initialization script contains a system script corresponding to each system type
  • each system type can correspond to one or more system scripts in the initialization script
  • the physical server can obtain the initialization
  • a type of system script matching the system type in the script is executed.
  • the system type in the execution information can be Linux, VMware esxi, or Windows.
  • the result obtained by executing the system script is obtained as the execution result and fed back to the user terminal. If the system scripts matching the system type are executed successfully, the successful execution result is fed back; otherwise, the unsuccessful execution result is fed back.
  • the technical method in this application can be applied to application scenarios that include the initialization of the operating system in the physical server, such as smart government/smart city management/smart community/smart security/smart logistics/smart medical/smart education/smart environmental protection/smart transportation , So as to promote the construction of smart cities.
  • an information acquisition request is sent to the physical server corresponding to the server list information to acquire corresponding basic configuration information, and the basic configuration information of each physical server is verified according to the physical server list information , Send the system image file to the verified physical server, and verify whether the initialization parameters fed back by the physical server are accurate according to the parameter information. If it is accurate, remotely log in to the physical server to execute the initialization script contained in the system image file, and obtain the physical server to execute the initialization script. Results of the.
  • the basic configuration information and initialization parameters of the physical server are verified. After the verification is passed, the physical server is remotely logged in to execute the initialization script contained in the system image file to initialize the operating system, which can improve the efficiency of operating system initialization and greatly improve The stability of the operating system after initialization in the physical server.
  • the embodiment of the present application also provides an operating system initialization system 100, and the operating system initialization system 100 is configured to execute any embodiment of the foregoing operating system initialization method.
  • FIG. 9, is a schematic block diagram of the operating system initialization system 100 according to an embodiment of the present application.
  • the operating system initialization system 100 includes a user terminal 10 and at least one physical server 20.
  • the user terminal 10 includes a basic configuration information acquisition unit 101, a physical server verification unit 102, a system image file sending unit 103, an initialization parameter verification unit 104, an execution unit 105, and an execution result acquisition unit 106.
  • the physical server 20 includes an instruction information execution unit 201, a basic configuration information sending unit 202, an execution priority configuration unit 203, an initialization parameter sending unit 204, and a script execution unit 205.
  • the basic configuration information obtaining unit 101 is configured to receive server list information input by a user, and send an information obtaining request to a physical server corresponding to the server list information to obtain basic configuration information corresponding to the server list information.
  • the physical server verification unit 102 is configured to verify whether the physical server included in the server basic configuration information passes the verification according to the server list information.
  • the physical server verification unit 102 includes sub-units: a type information judgment unit, a connection information judgment unit, and a verification result acquisition unit.
  • the type information determining unit is used to determine whether the disk array type information of each physical server is the same as the corresponding type information in the server list information; the connection information determining unit is used to determine whether the disk array type information is the same as that of the server.
  • the corresponding type information in the list information is the same, and it is determined whether the network connection information of the physical server is the same as the corresponding connection information in the server list information; the verification result obtaining unit is configured to determine whether the network connection information is the same as the server list information.
  • the corresponding connection information in the list information is the same, and it is determined that the physical server passes the verification.
  • the system image file sending unit 103 is configured to send a system image file to the physical server if the physical server passes the verification, wherein the system image file includes an initialization script.
  • the user terminal 10 further includes a subunit: a mirroring interface connection establishment unit.
  • the mirror interface connection establishment unit is configured to send an interface connection request to the physical server to establish a mirror interface connection with the physical server through the mirror interface associated with the interface connection information.
  • the initialization parameter verification unit 104 is configured to receive the initialization parameters fed back by the physical server, and verify whether the initialization parameters are accurate according to the pre-stored parameter information.
  • the execution unit 105 is configured to remotely log in to the physical server to execute the initialization script if the initialization parameters are accurate.
  • the execution unit 105 further includes sub-units: a storage judgment unit, an initialization script copy unit, and an execution information sending unit.
  • the storage judging unit is used to remotely log in to the physical server and judge whether the initialization script is stored in the storage area corresponding to the preset storage path in the physical server; the initialization script copy unit is used to determine whether the storage path The initialization script is not stored in the corresponding storage area, and the initialization script is copied to the storage area corresponding to the storage path for storage; the execution information sending unit is configured to send execution information to the physical server to trigger the The physical server executes the initialization script.
  • the execution result obtaining unit 106 is configured to obtain an execution result of the physical server executing the initialization script.
  • the user terminal 10 further includes subunits: an initialization verification request sending unit and a verification unit.
  • the initialization verification request sending unit is used to send an initialization verification request to the physical server to obtain the initialization verification information fed back by the physical server according to the initialization verification request; the verification unit is used to determine whether the initialization information satisfies the prerequisites. Set the initial threshold value to obtain the verification result of whether the physical server is available.
  • the instruction information execution unit 201 is configured to receive an information acquisition request from the user terminal, and execute instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server.
  • the basic configuration information sending unit 202 is configured to send the basic configuration information to the user terminal.
  • the execution priority configuration unit 203 is configured to receive the system image file from the user terminal and configure the execution priority of the system image file, wherein the system image file includes an initialization script.
  • the initialization parameter sending unit 204 is configured to restart the physical server to execute the system image file, and send initialization parameters to the user terminal.
  • the script execution unit 205 is configured to receive execution information sent by the user terminal through remote login, execute the stored initialization script, and feed back the execution result to the user terminal.
  • the script execution unit 205 includes sub-units: a system script execution unit and an execution result feedback unit.
  • the system script execution unit is used to obtain the system script matching the system type of the execution information in the initialization script for execution;
  • the execution result feedback unit is used to obtain the result of executing the system script as the execution result And feedback to the user terminal.
  • the above-mentioned operating system initialization system can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in FIG. 10.
  • FIG. 10 is a schematic block diagram of a computer device according to an embodiment of the present application.
  • the computer device may be a user terminal used to execute an operating system initialization method to initialize an operating system in a physical server, or a physical server that receives data information from the user terminal and completes the initialization of the operating system.
  • the computer device 500 includes a processor 502, a memory, and a network interface 505 connected through a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
  • the non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032.
  • the processor 502 can execute the operating system initialization method.
  • the processor 502 is used to provide calculation and control capabilities, and support the operation of the entire computer device 500.
  • the internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the operating system initialization method.
  • the network interface 505 is used for network communication, such as providing data information transmission.
  • the structure shown in FIG. 10 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied.
  • the specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
  • the processor 502 is configured to run a computer program 5032 stored in the memory, so as to implement the corresponding function in the above-mentioned operating system initialization method.
  • the embodiment of the computer device shown in FIG. 10 does not constitute a limitation on the specific configuration of the computer device.
  • the computer device may include more or less components than those shown in the figure. Or some parts are combined, or different parts are arranged.
  • the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are consistent with the embodiment shown in FIG. 10, and will not be repeated here.
  • the processor 502 may be a central processing unit (Central Processing Unit, CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
  • a computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, where the computer program implements the steps included in the above-mentioned operating system initialization method when the computer program is executed by the processor.
  • the disclosed equipment, device, and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods, or the units with the same function may be combined into one. Units, for example, multiple units or components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present application.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the read storage medium includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned computer-readable storage media include: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

Provided are an operating system initialization method and system, a computer device, and a storage medium. The method comprises: sending an information acquisition request to a physical server corresponding to server list information to acquire corresponding basic configuration information; verifying the basic configuration information of each physical server according to the physical server list information; sending a system mirror image file to a physical server that has passed verification; according to parameter information, verifying whether initialization parameters which are fed back by the physical server are accurate; and if so, remotely logging in to the physical server to execute an initialization script included in the system mirror image file, and then acquiring an execution result of executing the initialization script. According to the method, the basic configuration information and the initialization parameters of the physical server are verified, and after passing verification, the physical server is logged in remotely, so as to execute the initialization script to realize the initialization of an operating system, such that the initialization efficiency of the operating system can be improved, and the stability of the operating system after same is initialized can also be greatly improved.

Description

操作系统初始化方法、系统、计算机设备及存储介质Operating system initialization method, system, computer equipment and storage medium
本申请要求于2020年07月28日提交中国专利局、申请号为202010740134.2,发明名称为“操作系统初始化方法、系统、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on July 28, 2020, the application number is 202010740134.2, and the invention title is "Operating System Initialization Method, System, Computer Equipment and Storage Medium", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及区块链技术领域,涉及智慧城市中操作系统初始化的应用场景,尤其涉及一种操作系统初始化方法、系统、计算机设备及存储介质。This application relates to the field of blockchain technology, to application scenarios of operating system initialization in smart cities, and in particular to an operating system initialization method, system, computer equipment, and storage medium.
背景技术Background technique
大型企业通常通过服务器集群实现为客户提供服务,服务器集群可由多台物理服务器构建得到,客户通过客户端与服务器集群进行数据交互,以通过服务器集群处理来自客户端的服务请求。企业为方便对物理服务器进行管理及维护,需对物理服务器中的操作系统进行初始化,传统技术方法中对物理服务器的操作系统进行初始化操作依赖预启动执行环境(Preboot eXecution Environment,PXE)实现,然而发明人发现这一初始化操作的方法无法对操作系统的各项功能进行验证,初始化过程中易导致操作系统部分功能缺失,使初始化后的操作系统稳定性无法得到保障而存在一定风险。因此,现有的技术方法对物理服务器中的操作系统进行初始化后存在稳定性不高的问题。Large enterprises usually provide services to customers through server clusters. The server clusters can be constructed by multiple physical servers. Customers interact with the server cluster through the client to process service requests from the client through the server cluster. In order to facilitate the management and maintenance of the physical server, the enterprise needs to initialize the operating system in the physical server. The traditional technical method to initialize the operating system of the physical server depends on the pre-boot execution environment (Preboot eXecution Environment, PXE). However, The inventor found that this method of initialization operation cannot verify various functions of the operating system, and part of the functions of the operating system is likely to be missing during the initialization process, so that the stability of the operating system after initialization cannot be guaranteed and there are certain risks. Therefore, the existing technical method has the problem of low stability after initializing the operating system in the physical server.
发明内容Summary of the invention
本申请实施例提供了一种操作系统初始化方法、系统、计算机设备及存储介质,旨在解决现有的技术方法对物理服务器中的操作系统进行初始化后所存在的稳定性不高的问题。The embodiments of the present application provide an operating system initialization method, system, computer device, and storage medium, which are intended to solve the problem of low stability after initializing the operating system in a physical server with the existing technical method.
第一方面,本申请实施例提供了一种操作系统初始化方法,其包括:接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息;根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证;若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本;接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确;若所述初始化参数准确,远程登录所述物理服务器以执行所述初始化脚本;获取所述物理服务器执行所述初始化脚本的执行结果。In the first aspect, an embodiment of the present application provides a method for initializing an operating system, which includes: receiving server list information input by a user, and sending an information acquisition request to a physical server corresponding to the server list information, so as to obtain information related to the server list. Basic configuration information corresponding to the list information; verify whether the physical server included in the server basic configuration information passes the verification according to the server list information; if the physical server passes the verification, send the system image file to the physical server, where, The system image file contains an initialization script; receiving initialization parameters fed back by the physical server, and verifying whether the initialization parameters are accurate according to the pre-stored parameter information; if the initialization parameters are accurate, remotely log in to the physical server to perform the initialization Script; obtain the execution result of the initialization script executed by the physical server.
第二方面,本申请实施例提供了一种操作系统初始化方法,其包括:接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息;发送所述基础配置信息至所述用户终端;接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本;重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端;接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。In the second aspect, an embodiment of the present application provides an operating system initialization method, which includes: receiving an information acquisition request from the user terminal, and executing instruction information loaded in the memory of the physical server to acquire the physical server Send the basic configuration information to the user terminal; receive the system image file from the user terminal, configure the execution priority of the system image file, wherein the system image file contains the initialization script; restart The physical server executes the system image file, and sends initialization parameters to the user terminal; receives the execution information sent by the user terminal through remote login, executes the stored initialization script, and feeds back the execution result to the user terminal. The user terminal.
第三方面,本申请实施例提供了一种操作系统初始化系统,其包括用户终端及至少一台物理服务器,所述用户终端包括基础配置信息获取单元、物理服务器验证单元、系统镜像文件发送单元、初始化参数验证单元、执行单元及执行结果获取单元,所述物理服务器包括指令信息执行单元、基础配置信息发送单元、执行优先级配置单元、初始化参数发送单元及脚本执行单元,其中,所述基础配置信息获取单元,用于接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息;所述物理服务器验证单元,用于根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证;所述系统镜像文件发送单元,用于若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本;所述初始化参数验证单元,用于接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确;所述执行单元,用于若所述初始化参数 准确,远程登录所述物理服务器以执行所述初始化脚本;所述执行结果获取单元,用于获取所述物理服务器执行所述初始化脚本的执行结果;所述指令信息执行单元,用于接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息;所述基础配置信息发送单元,用于发送所述基础配置信息至所述用户终端;所述执行优先级配置单元,用于接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本;所述初始化参数发送单元,用于重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端;所述脚本执行单元,用于接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。In a third aspect, an embodiment of the present application provides an operating system initialization system, which includes a user terminal and at least one physical server. The user terminal includes a basic configuration information acquisition unit, a physical server verification unit, a system image file sending unit, An initialization parameter verification unit, an execution unit, and an execution result acquisition unit. The physical server includes an instruction information execution unit, a basic configuration information sending unit, an execution priority configuration unit, an initialization parameter sending unit, and a script execution unit, wherein the basic configuration The information acquisition unit is configured to receive server list information input by the user, and send an information acquisition request to the physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information; the physical server verification unit , For verifying whether the physical server included in the server basic configuration information passes the verification according to the server list information; the system image file sending unit is for sending the system image file to the physical server if the physical server passes the verification A physical server, wherein the system image file contains an initialization script; the initialization parameter verification unit is configured to receive the initialization parameters fed back by the physical server, and verify whether the initialization parameters are accurate according to the pre-stored parameter information; the execution unit , If the initialization parameters are accurate, remotely log in to the physical server to execute the initialization script; the execution result obtaining unit is configured to obtain the execution result of the physical server executing the initialization script; the instruction information The execution unit is configured to receive an information acquisition request from the user terminal, and execute the instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server; the basic configuration information sending unit is configured to Sending the basic configuration information to the user terminal; the execution priority configuration unit is configured to receive the system image file from the user terminal, and configure the execution priority of the system image file, wherein the system image file Contains an initialization script; the initialization parameter sending unit is used to restart the physical server to execute the system image file, and to send the initialization parameters to the user terminal; the script execution unit is used to receive the user terminal through a remote Log in the sent execution information, execute the stored initialization script, and feed back the execution result to the user terminal.
第四方面,本申请实施例又提供了一种计算机设备,其包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面或第二方面所述的操作系统初始化方法。In a fourth aspect, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program that is stored on the memory and can run on the processor, and the processor executes the computer The program implements the operating system initialization method described in the first aspect or the second aspect.
第五方面,本申请实施例还提供了一种计算机可读存储介质,其中所述计算机可读存储介质存储有计算机程序,所述计算机程序当被处理器执行时使所述处理器执行上述第一方面或第二方面所述的操作系统初始化方法。In a fifth aspect, the embodiments of the present application also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the above-mentioned first The operating system initialization method described in one aspect or the second aspect.
本申请实施例提供了一种操作系统初始化方法、系统、计算机设备及存储介质,上述方法对物理服务器的基础配置信息及初始化参数进行验证,验证通过后远程登录物理服务器执行系统镜像文件包含的初始化脚本以实现操作系统的初始化,可提高操作系统初始化的效率,并大幅提高物理服务器中操作系统初始化后的稳定性。The embodiments of the application provide an operating system initialization method, system, computer equipment, and storage medium. The above method verifies the basic configuration information and initialization parameters of the physical server. After the verification is passed, the physical server is remotely logged in to perform the initialization contained in the system image file. The script is used to initialize the operating system, which can improve the efficiency of operating system initialization and greatly improve the stability of the operating system after initialization in the physical server.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1为本申请实施例提供的操作系统初始化方法的流程示意图;FIG. 1 is a schematic flowchart of an operating system initialization method provided by an embodiment of the application;
图2为本申请实施例提供的操作系统初始化方法的应用场景示意图;2 is a schematic diagram of an application scenario of an operating system initialization method provided by an embodiment of the application;
图3为本申请实施例提供的操作系统初始化方法的子流程示意图;FIG. 3 is a schematic diagram of a sub-flow of an operating system initialization method provided by an embodiment of the application;
图4为本申请实施例提供的操作系统初始化方法的另一流程示意图;FIG. 4 is a schematic diagram of another process of an operating system initialization method provided by an embodiment of the application;
图5为本申请实施例提供的操作系统初始化方法的另一子流程示意图;FIG. 5 is a schematic diagram of another sub-flow of the operating system initialization method provided by an embodiment of the application;
图6为本申请实施例提供的操作系统初始化方法的另一流程示意图;FIG. 6 is a schematic diagram of another process of an operating system initialization method provided by an embodiment of the application;
图7为本申请实施例提供的操作系统初始化方法的另一流程示意图;FIG. 7 is a schematic diagram of another process of an operating system initialization method provided by an embodiment of the application;
图8为本申请实施例提供的操作系统初始化方法的另一子流程示意图;FIG. 8 is a schematic diagram of another sub-flow of the operating system initialization method provided by an embodiment of the application;
图9为本申请实施例提供的操作系统初始化系统的示意性框图;FIG. 9 is a schematic block diagram of an operating system initialization system provided by an embodiment of the application;
图10为本申请实施例提供的计算机设备的示意性框图。FIG. 10 is a schematic block diagram of a computer device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and appended claims, the terms "including" and "including" indicate the existence of the described features, wholes, steps, operations, elements and/or components, but do not exclude one or The existence or addition of multiple other features, wholes, steps, operations, elements, components, and/or collections thereof.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should be further understood that the term "and/or" used in the specification and appended claims of this application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .
请参阅图1-图2,图1是本申请实施例提供的操作系统初始化方法的流程示意图,图2为本申请实施例提供的操作系统初始化方法的应用场景示意图,该操作系统初始化方法应用于操作系统初始化系统中,系统包括用户终端10及至少一台物理服务器20,该方法通过安装于用户终端10及物理服务器20中的应用软件进行执行,用户终端10通过与物理服务器20建立网络连接以实现数据信息的传输,用户终端10即是用于接收用户输入的信息以对物理服务器20进行管理及维护的用户终端,例如台式电脑、笔记本电脑、平板电脑或手机等;物理服务器20即是用于接收用户终端10所发送的数据信息以完成操作系统初始化的服务器端。如图1所示,该方法应用于用户终端10中,包括步骤S110~S160。Please refer to Figure 1-Figure 2. Figure 1 is a schematic flowchart of an operating system initialization method provided by an embodiment of the present application, and Figure 2 is a schematic diagram of an application scenario of an operating system initialization method provided by an embodiment of the present application. The operating system initialization method is applied to In the operating system initialization system, the system includes a user terminal 10 and at least one physical server 20. The method is executed by application software installed in the user terminal 10 and the physical server 20, and the user terminal 10 establishes a network connection with the physical server 20. To realize the transmission of data information, the user terminal 10 is a user terminal used to receive information input by the user to manage and maintain the physical server 20, such as a desktop computer, a notebook computer, a tablet computer, or a mobile phone; the physical server 20 is used The server side that receives the data information sent by the user terminal 10 to complete the initialization of the operating system. As shown in Fig. 1, the method is applied to the user terminal 10 and includes steps S110 to S160.
S110、接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息。S110: Receive server list information input by a user, and send an information acquisition request to a physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information.
接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息。其中,用户可以是企业的管理员,物理服务器可通过业务网络(带内IP)为企业外部的客户端提供服务,用户终端通过企业内部的管理网络与物理服务器建立网络连接,则系统初始化操作均是基于企业内部的管理网络(带外IP)进行实现的。服务器列表信息即为用户所输入的包含物理服务器的相关信息,服务器列表信息中包含至少一台需进行操作系统初始化的物理服务器,以及与该物理服务器相关的具体信息。具体的,服务器列表信息中包含物理服务器的服务器地址信息,服务器地址信息可采用URL(Uniform Resource Locator,统一资源定位符)进行表示,获取服务器列表信息中每一物理服务器的服务器地址信息,根据每一物理服务器的服务器地址信息发送信息获取请求至相应的物理服务器,物理服务器接收到获取请求后向用户终端反馈该物理服务器自身的基础配置信息。Receive server list information input by the user, and send an information acquisition request to the physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information. Among them, the user can be the administrator of the enterprise, the physical server can provide services for clients outside the enterprise through the business network (in-band IP), and the user terminal establishes a network connection with the physical server through the internal management network of the enterprise, and the system initialization operations are all It is implemented based on the internal management network (out-of-band IP) of the enterprise. The server list information is the relevant information input by the user that includes the physical server, and the server list information includes at least one physical server that needs to be initialized by the operating system and specific information related to the physical server. Specifically, the server list information includes the server address information of the physical server. The server address information can be represented by URL (Uniform Resource Locator) to obtain the server address information of each physical server in the server list information. The server address information of a physical server sends an information acquisition request to the corresponding physical server. After receiving the acquisition request, the physical server feeds back the basic configuration information of the physical server itself to the user terminal.
S120、根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证。S120. Verify, according to the server list information, whether the physical server included in the server basic configuration information passes the verification.
根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证。具体的,所述基础配置信息包括所述物理服务器的磁盘阵列类型信息及网络连接信息。每一物理服务器中均配置有磁盘阵列(Redundant Arrays of Independent Disks,RAID),磁盘阵列可由多块硬盘(只读存储器(Read-Only Memory,ROM))组成,磁盘阵列类型信息即为物理服务器中磁盘阵列的具体类型信息;每一物理服务器均与用户终端及企业外部的客户端进行数据信息交互,数据信息交互依赖于通过交换机所构建的网络连接,物理服务器的网络连接信息包括与该物理服务器相连的交换机名称,以及与交换机对应的网络端口名称。服务器列表信息中还包含与每一台需进行操作系统初始化的物理服务器对应的类型信息及连接信息,则可根据服务器列表信息对每一物理服务器的基础配置信息进行验证,以得到每一物理服务器是否验证通过的验证结果。According to the server list information, it is verified whether the physical server included in the server basic configuration information passes the verification. Specifically, the basic configuration information includes disk array type information and network connection information of the physical server. Each physical server is equipped with Disk Arrays (Redundant Arrays of Independent Disks, RAID), the disk array can be composed of multiple hard disks (Read-Only Memory, ROM), and the disk array type information is the physical server The specific type information of the disk array; each physical server exchanges data information with user terminals and clients outside the enterprise. The data information interaction depends on the network connection constructed by the switch. The network connection information of the physical server includes the physical server The name of the connected switch and the name of the network port corresponding to the switch. The server list information also includes the type information and connection information corresponding to each physical server that needs to be initialized with the operating system. The basic configuration information of each physical server can be verified according to the server list information to obtain each physical server Whether to verify the verification result passed.
在一实施例中,如图3所示,步骤S120包括子步骤S121、S122及S123。In one embodiment, as shown in FIG. 3, step S120 includes sub-steps S121, S122, and S123.
S121、判断每一所述物理服务器的磁盘阵列类型信息是否与所述服务器列表信息中相对应的类型信息相同。S121: Determine whether the disk array type information of each physical server is the same as the corresponding type information in the server list information.
判断每一所述物理服务器的磁盘阵列类型信息是否与所述服务器列表信息中相对应的类型信息相同。若判断得到某一物理服务器的磁盘阵列类型信息与服务器列表信息中相对应的类型信息相同,则对该物理服务器的网络连接信息是否也与服务器列表信息中相对应的连接信息相同进行判断;若某一物理服务器的磁盘阵列类型信息与服务器列表信息中相对应的类型信息不相同,则该物理服务器验证不通过。It is determined whether the disk array type information of each physical server is the same as the corresponding type information in the server list information. If it is determined that the disk array type information of a physical server is the same as the corresponding type information in the server list information, then it is determined whether the network connection information of the physical server is also the same as the corresponding connection information in the server list information; if If the disk array type information of a physical server is different from the corresponding type information in the server list information, the physical server fails the verification.
例如,某一物理服务器的磁盘阵列中包含4块硬盘,其磁盘阵列类型信息包括2块硬盘为单独raid1类型、2块硬盘为合并raid1类型,服务器列表信息中与该物理服务器对应的类型信息包括2块硬盘为单独raid1类型、2块硬盘为合并raid1类型,则该物理服务器的磁盘阵列类型信息与服务器列表信息中对应的类型信息相同。For example, the disk array of a physical server contains 4 hard disks, and its disk array type information includes 2 hard disks of single raid1 type, 2 hard disks of combined raid1 type, and the type information corresponding to the physical server in the server list information includes If two hard disks are of single raid1 type and two hard disks are of combined raid1 type, the disk array type information of the physical server is the same as the corresponding type information in the server list information.
S122、若磁盘阵列类型信息与所述服务器列表信息中对应的类型信息相同,判断所述物 理服务器的网络连接信息是否与所述服务器列表信息中相对应的连接信息相同。S122: If the disk array type information is the same as the corresponding type information in the server list information, determine whether the network connection information of the physical server is the same as the corresponding connection information in the server list information.
判断物理服务器的网络连接信息是否与服务器列表信息中相对应的连接信息相同,若相同,则该物理服务器通过验证;若不相同,则该物理服务器不通过验证。Determine whether the network connection information of the physical server is the same as the corresponding connection information in the server list information, if they are the same, the physical server passes the verification; if they are not the same, the physical server fails the verification.
例如,某一物理服务器的网络连接信息包括交换机名称N93180-01,网络端口名称Ethernet1/1;服务器列表信息中与该物理服务器对应的连接信息包括交换机名称N93180-01,网络端口名称Ethernet1/1、Ethernet1/2,则该物理服务器的网络连接信息与服务器列表信息中相对应的连接信息不相同,该物理服务器验证不通过。For example, the network connection information of a physical server includes switch name N93180-01, network port name Ethernet1/1; the connection information corresponding to the physical server in the server list information includes switch name N93180-01, network port name Ethernet1/1 Ethernet1/2, the network connection information of the physical server is different from the corresponding connection information in the server list information, and the physical server fails the verification.
S123、若所述网络连接信息与所述服务器列表信息中对应的连接信息相同,判定所述物理服务器通过验证。S123: If the network connection information is the same as the corresponding connection information in the server list information, it is determined that the physical server has passed the verification.
若物理服务器验证通过,继续执行后续步骤,若物理服务器验证不通过,可发送验证失败提示信息以对用户进行提示。If the verification of the physical server is passed, proceed to the next steps. If the verification of the physical server is not passed, a verification failure prompt message can be sent to remind the user.
S130、若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本。S130. If the physical server passes the verification, send a system image file to the physical server, where the system image file includes an initialization script.
若物理服务器验证通过,则用户终端可发送系统镜像文件至该物理服务器,系统镜像文件包含初始化脚本,系统镜像文件即为可对物理服务器中的操作系统进行初始化的程序文件,初始化脚本即为对操作系统进行初始化所需执行的计算机程序脚本。If the physical server passes the verification, the user terminal can send the system image file to the physical server. The system image file contains the initialization script. The system image file is the program file that can initialize the operating system in the physical server. The initialization script is the correct A computer program script executed by the operating system for initialization.
在一实施例中,如图4所示,步骤S130之前还包括步骤S1301。In an embodiment, as shown in FIG. 4, step S1301 is further included before step S130.
S1301、发送接口连接请求至所述物理服务器,以通过与所述接口连接信息相关联的镜像接口与所述物理服务器建立镜像接口连接。S1301. Send an interface connection request to the physical server to establish a mirror interface connection with the physical server through a mirror interface associated with the interface connection information.
具体的,在发送系统镜像文件至物理服务器之前,还可在用户终端与该物理服务器之间建立镜像接口连接,镜像接口连接是基于企业内部的管理网络(带外IP)进行实现的。具体的,用户终端中还配置有多个镜像接口,镜像接口即为可发送系统镜像文件的网络接口,用户终端可发送接口连接请求至物理服务器,接口连接请求中包含一个用户终端中已配置的镜像接口的接口地址信息,则物理服务器接收接口连接请求后,物理服务器与接口连接请求中接口地址信息相关联的一个镜像接口建立镜像接口连接,也即是在用户终端与该物理服务器之间建立镜像接口连接。物理服务器与用户终端建立镜像接口连接后,即可通过镜像接口连接将用户终端中所存储的系统镜像文件发送至该物理服务器。Specifically, before sending the system mirroring file to the physical server, a mirroring interface connection can also be established between the user terminal and the physical server. The mirroring interface connection is implemented based on the internal management network (out-of-band IP) of the enterprise. Specifically, the user terminal is also configured with multiple mirroring interfaces. The mirroring interface is a network interface that can send system mirror files. The user terminal can send an interface connection request to the physical server. The interface connection request includes a configuration that has been configured in the user terminal. The interface address information of the mirrored interface, after the physical server receives the interface connection request, the physical server establishes a mirrored interface connection with a mirrored interface associated with the interface address information in the interface connection request, that is, establishes a connection between the user terminal and the physical server Mirror interface connection. After the physical server establishes a mirror interface connection with the user terminal, the system mirror file stored in the user terminal can be sent to the physical server through the mirror interface connection.
S140、接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确。S140. Receive initialization parameters fed back by the physical server, and verify whether the initialization parameters are accurate according to pre-stored parameter information.
接收物理服务器所反馈的初始化参数,根据预存的参数信息验证该初始化参数是否准确。具体的,物理服务器所反馈的初始化参数可包括主机名称(hostname)、服务器地址(IP地址)、网关信息、网络时间协议服务(NTP Server,Network Time Protocol Server)信息、域名服务(DNS,Domain Name Server)信息等,参数信息即为用户终端中预存的与每一物理服务器相关联的参数配置信息,可根据用户终端中预存的参数信息判断物理服务器反馈的初始化参数是否准确,以确保物理服务器的初始化参数满足参数配置信息的相应要求后才进行操作系统的初始化。Receive the initialization parameter fed back by the physical server, and verify whether the initialization parameter is accurate according to the pre-stored parameter information. Specifically, the initialization parameters fed back by the physical server may include the host name (hostname), server address (IP address), gateway information, network time protocol service (NTP Server, Network Time Protocol Server) information, and domain name service (DNS, Domain Name). Server) information, etc. The parameter information is the parameter configuration information pre-stored in the user terminal and associated with each physical server. According to the parameter information pre-stored in the user terminal, it can be judged whether the initialization parameters fed back by the physical server are accurate, so as to ensure the physical server's The initialization of the operating system is performed only after the initialization parameters meet the corresponding requirements of the parameter configuration information.
S150、若所述初始化参数准确,远程登录所述物理服务器以执行所述初始化脚本。S150: If the initialization parameters are accurate, remotely log in to the physical server to execute the initialization script.
若所述初始化参数准确,远程登录所述物理服务器以执行存储于所述物理服务器中的所述初始化脚本。具体的,远程登录可基于IPMI(Intelligent Platform Management Interface,智能平台管理接口)的SOL(Serial Over LAN)功能来实现,IPMI可在不同的属性值下运作,即使物理服务器本身的运作不正常,或是由于任何原因而无法提供服务,IPMI仍可正常运作。远程登录物理服务器后即可获取物理服务器中所存储的信息或发送操作指令至该物理服务器,具体的,用户终端可通过远程登录发送执行信息至物理服务器,以执行存储与该物理服务器中的初始化脚本以实现操作系统的初始化,其中执行信息包括系统类型,系统类型即为管理服务器中可进行初始化的操作系统的具体类型,管理服务器可根据执行信息中的系统类型获取初始化脚本中与该系统类型对应的系统脚本进行执行,以在管理服务器中对与该系统类型 对应的操作系统进行初始化。执行信息中的系统类型可以是Linux、Vmware esxi或Windows。If the initialization parameters are accurate, remotely log in to the physical server to execute the initialization script stored in the physical server. Specifically, remote login can be implemented based on the SOL (Serial Over LAN) function of IPMI (Intelligent Platform Management Interface). IPMI can operate under different attribute values, even if the physical server itself is not operating normally, or If the service cannot be provided for any reason, IPMI can still operate normally. After logging in to the physical server remotely, you can obtain the information stored in the physical server or send operation instructions to the physical server. Specifically, the user terminal can send execution information to the physical server through remote login to perform storage and initialization in the physical server. The script is used to initialize the operating system. The execution information includes the system type. The system type is the specific type of the operating system that can be initialized in the management server. The management server can obtain the initialization script and the system type according to the system type in the execution information. The corresponding system script is executed to initialize the operating system corresponding to the system type in the management server. The system type in the execution information can be Linux, VMware esxi, or Windows.
在一实施例中,如图5所示,步骤S150包括子步骤S1501、S1502及S1503。In one embodiment, as shown in FIG. 5, step S150 includes sub-steps S1501, S1502, and S1503.
S1501、远程登录所述物理服务器,判断所述物理服务器中与预置的存储路径对应的存储区域内是否存储有所述初始化脚本。S1501. Remotely log in to the physical server, and determine whether the initialization script is stored in a storage area corresponding to a preset storage path in the physical server.
用户终端远程登录所述物理服务器并获取物理服务器中与预置的存储路径对应的存储区域,判断该存储区域内是否存储有上述初始化脚本,若该存储区域内存储有该初始化脚本,则可通过发送执行信息至该物理服务器的方式执行初始化脚本,也即是直接执行步骤S1503。The user terminal remotely logs in to the physical server and obtains the storage area corresponding to the preset storage path in the physical server, and judges whether the above-mentioned initialization script is stored in the storage area. If the initialization script is stored in the storage area, it can pass The initialization script is executed by sending execution information to the physical server, that is, step S1503 is directly executed.
S1502、若所述存储路径对应的存储区域内未存储所述初始化脚本,将所述初始化脚本拷贝至所述存储路径对应的存储区域内进行存储。S1502. If the initialization script is not stored in the storage area corresponding to the storage path, copy the initialization script to the storage area corresponding to the storage path for storage.
若与物理服务器中存储路径对应的存储区域内未存储上述初始化脚本,则可将通过镜像接口连接将用户终端中的初始化脚本拷贝至物理服务器,初始化脚本拷贝至物理服务器并根据将该初始化脚本存储于与上述存储路径对应的存储区域内。If the above initialization script is not stored in the storage area corresponding to the storage path in the physical server, the initialization script in the user terminal can be copied to the physical server through the mirror interface connection, the initialization script is copied to the physical server and the initialization script is stored according to In the storage area corresponding to the above storage path.
S1503、发送执行信息至所述物理服务器以触发所述物理服务器执行所述初始化脚本。S1503. Send execution information to the physical server to trigger the physical server to execute the initialization script.
S160、获取所述物理服务器执行所述初始化脚本的执行结果。S160. Obtain an execution result of the initialization script executed by the physical server.
物理服务器执行初始化脚本并将执行结果反馈至用户终端,则用户终端可接收该执行结果并显示于用户终端的web界面中。此外,若用户终端接收到某一物理服务器所反馈的执行结果为成功,则发送重启指令至该物理服务器以对该物理服务器中的操作系统进行重启;若用户终端接收到某一物理服务器所反馈的执行结果为不成功,则可发送日志获取指令至该物理服务器以获取物理服务器执行初始化脚本所得到的执行日志。The physical server executes the initialization script and feeds back the execution result to the user terminal, then the user terminal can receive the execution result and display it on the web interface of the user terminal. In addition, if the user terminal receives the execution result fed back by a physical server as a success, it sends a restart instruction to the physical server to restart the operating system in the physical server; if the user terminal receives the feedback from a physical server If the execution result of is unsuccessful, a log acquisition instruction can be sent to the physical server to obtain the execution log obtained by the physical server executing the initialization script.
在一实施例中,如图6所示,步骤S160之后还包括步骤S170及S180。In one embodiment, as shown in FIG. 6, after step S160, steps S170 and S180 are further included.
S170、发送初始化验证请求至所述物理服务器,以获取所述物理服务器根据所述初始化验证请求所反馈的初始化验证信息。S170. Send an initialization verification request to the physical server to obtain the initialization verification information fed back by the physical server according to the initialization verification request.
发送初始化验证请求至所述物理服务器,以获取所述物理服务器根据所述初始化验证请求所反馈的初始化验证信息,其中所述初始化验证信息包括网卡验证请求及服务验证请求。物理服务器完成操作系统初始化后,用户终端还可发送初始化验证请求得到物理服务器是否验证通过的验证结果,若物理服务器验证通过,则表明该物理服务器已完成操作系统的初始化并可为企业外部的客户端提供服务;若物理服务器验证不通过,则表明该物理服务器无法为企业外部的客户端提供服务。可通过初始化验证信息中的网卡验证请求获取物理服务器的网卡初始化信息,通过初始化验证信息中的服务验证请求获取物理服务器的服务初始化信息。Sending an initialization verification request to the physical server to obtain the initialization verification information fed back by the physical server according to the initialization verification request, where the initialization verification information includes a network card verification request and a service verification request. After the physical server completes the operating system initialization, the user terminal can also send an initialization verification request to obtain the verification result of whether the physical server has passed the verification. If the physical server has passed the verification, it indicates that the physical server has completed the initialization of the operating system and can be a client outside the enterprise If the physical server fails the verification, it means that the physical server cannot provide services for clients outside the enterprise. The network card initialization information of the physical server can be obtained through the network card verification request in the initialization verification information, and the service initialization information of the physical server can be obtained through the service verification request in the initialization verification information.
具体的,物理服务器内可配置多张网卡,每一网卡对应一个网络连接,可根据网卡验证请求切换网卡以获取每一网卡对应的网络连接信息,得到网卡初始化信息;可根据服务验证请求在物理服务器中执行相应服务测试脚本以得到服务初始化信息。Specifically, multiple network cards can be configured in the physical server, and each network card corresponds to one network connection. The network card can be switched according to the network card verification request to obtain the network connection information corresponding to each network card, and the network card initialization information can be obtained; The corresponding service test script is executed in the server to obtain service initialization information.
例如,物理服务器内配置有eth4及eth6两张网卡,先切换至eth4网卡对应的端口,对该端口进行网络测试以获取网络连接信息;再切换至eth6网卡对应的端口,对该端口进行网络测试以获取网络连接信息,获取eth4及eth6两张网卡对应的两份网络连接信息作为该物理服务器的网卡初始化信息;服务验证请求中包含NTP服务验证请求及DNS服务验证请求,则在物理服务器中分别执行与NTP服务验证请求及DNS服务验证请求对应的服务测试脚本,得到该物理服务器的服务初始化信息,则该服务初始化信息中包含NTP服务初始化信息及DNS服务初始化信息。For example, if the physical server is configured with two network cards, eth4 and eth6, first switch to the port corresponding to the eth4 network card, and perform a network test on the port to obtain network connection information; then switch to the port corresponding to the eth6 network card to perform a network test on the port To obtain the network connection information, obtain the two network connection information corresponding to the two network cards eth4 and eth6 as the network card initialization information of the physical server; the service verification request includes the NTP service verification request and the DNS service verification request, respectively, in the physical server The service test script corresponding to the NTP service verification request and the DNS service verification request is executed to obtain the service initialization information of the physical server, and the service initialization information includes the NTP service initialization information and the DNS service initialization information.
S180、判断所述初始化信息是否满足预置的初始化阈值,以得到所述物理服务器是否可用的验证结果。S180: Determine whether the initialization information meets a preset initialization threshold, so as to obtain a verification result of whether the physical server is available.
根据用户终端中预置的初始化阈值对物理服务器所反馈的初始化信息是否满足初始化阈值进行判断,得到物理服务器是否可用的验证结果,若物理服务器的验证结果为可用,则表明该物理服务器已完成操作系统的初始化并可为企业外部的客户端提供服务;否则表明该物理服务器无法为企业外部的客户端提供服务。具体的,初始化阈值可包括网卡初始化阈值及服务初始化阈值。According to the initialization threshold preset in the user terminal, it is judged whether the initialization information fed back by the physical server meets the initialization threshold, and the verification result of whether the physical server is available is obtained. If the verification result of the physical server is available, it indicates that the physical server has completed the operation The initialization of the system can provide services for clients outside the enterprise; otherwise, it indicates that the physical server cannot provide services for clients outside the enterprise. Specifically, the initialization threshold may include a network card initialization threshold and a service initialization threshold.
例如,网卡初始化阈值为网络延迟50ms,服务器初始化阈值为处理速度150/S,则可判断物理服务器的初始化信息中每一网卡所对应的网络延迟是否不大于50ms,并判断物理服务器的初始化信息中每一服务的处理速度是否均不小于150/S,若物理服务器的网卡验证请求及服务验证请求满足上述初始化阈值,则得到该物理服务器的验证结果为可用,否则得到该物理服务器的验证结果为不可用。For example, if the network card initialization threshold is a network delay of 50ms, and the server initialization threshold is a processing speed of 150/S, it can be determined whether the network delay corresponding to each network card in the initialization information of the physical server is not greater than 50ms, and the initialization information of the physical server can be determined Whether the processing speed of each service is not less than 150/S, if the network card verification request and service verification request of the physical server meet the above-mentioned initialization threshold, the verification result of the physical server is obtained as usable, otherwise the verification result of the physical server is obtained as unavailable.
在一实施例中,步骤S160之后还包括步骤:将所述执行结果上传至区块链中。In one embodiment, after step S160, the method further includes the step of uploading the execution result to the blockchain.
将所述执行结果上传至区块链中。具体的,基于执行结果得到对应的摘要信息,具体来说,摘要信息由执行结果进行散列处理得到,比如利用sha256s算法处理得到。将摘要信息上传至区块链可保证其安全性和对用户的公正透明性。其他用户设备可以从区块链中下载得该摘要信息,以便查证执行结果是否被篡改。本示例所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。Upload the execution result to the blockchain. Specifically, the corresponding summary information is obtained based on the execution result. Specifically, the summary information is obtained by hashing the execution result, for example, obtained by using the sha256s algorithm. Uploading summary information to the blockchain can ensure its security and fairness and transparency to users. Other user equipment can download the summary information from the blockchain to verify whether the execution result has been tampered with. The blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
请参阅图7,图7为本申请实施例提供的操作系统初始化方法的另一流程示意图,如图7所示,该方法应用于物理服务器20中,包括步骤S210~S250。Please refer to FIG. 7. FIG. 7 is another flowchart of the operating system initialization method provided by the embodiment of the application. As shown in FIG. 7, the method is applied to the physical server 20 and includes steps S210 to S250.
S210、接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息。S210. Receive an information acquisition request from the user terminal, and execute the instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server.
物理服务器中还配置有内存,若物理服务器接收到来自用户终端的信息获取请求,可通过执行已加载于物理服务器内存中的指令信息获取相应的基础配置信息,物理服务器的基础配置信息包括磁盘阵列类型信息及网络连接信息。The physical server is also configured with memory. If the physical server receives an information acquisition request from the user terminal, it can obtain the corresponding basic configuration information by executing the instruction information loaded in the physical server memory. The basic configuration information of the physical server includes the disk array Type information and network connection information.
S220、发送所述基础配置信息至所述用户终端。S220: Send the basic configuration information to the user terminal.
S230、接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本。S230. Receive a system image file from the user terminal, and configure an execution priority of the system image file, where the system image file includes an initialization script.
若接收到来自用户终端的系统镜像文件,对系统镜像文件的执行优先级进行配置以使在物理服务器重启时优先执行系统镜像文件。If the system image file from the user terminal is received, the execution priority of the system image file is configured so that the system image file is executed first when the physical server restarts.
S240、重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端。S240. Restart the physical server to execute the system image file, and send initialization parameters to the user terminal.
物理服务器重启后优先执行系统镜像文件并获取相应的初始化参数发送至用户终端。After the physical server restarts, the system image file is executed first, and the corresponding initialization parameters are obtained and sent to the user terminal.
S250、接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。S250. Receive execution information sent by the user terminal through remote login, execute the stored initialization script, and feed back the execution result to the user terminal.
若接收到用户终端通过远程登录所发送的执行信息,则执行存储于物理服务器内的初始化脚本得到相应的执行结果,并将执行结果反馈至用户终端。If the execution information sent by the user terminal through remote login is received, the initialization script stored in the physical server is executed to obtain the corresponding execution result, and the execution result is fed back to the user terminal.
在一实施例中,如图8所示,步骤S250包括子步骤S251及S252。In one embodiment, as shown in FIG. 8, step S250 includes sub-steps S251 and S252.
S251、获取所述初始化脚本中与所述执行信息的系统类型相匹配的系统脚本进行执行;S252、获取执行所述系统脚本得到的结果作为所述执行结果并反馈至所述用户终端。S251. Obtain and execute a system script in the initialization script that matches the system type of the execution information; S252. Obtain a result of executing the system script as the execution result and feed it back to the user terminal.
具体的,执行信息中还包括系统类型,初始化脚本中包含与每一种系统类型对应的系统脚本,每一种系统类型可对应初始化脚本中的一个或多个系统脚本,则物理服务器可获取初始化脚本中与系统类型相匹配的一类系统脚本进行执行。执行信息中的系统类型可以是Linux、Vmware esxi或Windows。获取执行系统脚本得到的结果作为执行结果并反馈至用户终端,若与系统类型相匹配的系统脚本均执行成功,则反馈执行成功的执行结果;否则反馈执行不成功的执行结果。Specifically, the execution information also includes the system type, the initialization script contains a system script corresponding to each system type, and each system type can correspond to one or more system scripts in the initialization script, then the physical server can obtain the initialization A type of system script matching the system type in the script is executed. The system type in the execution information can be Linux, VMware esxi, or Windows. The result obtained by executing the system script is obtained as the execution result and fed back to the user terminal. If the system scripts matching the system type are executed successfully, the successful execution result is fed back; otherwise, the unsuccessful execution result is fed back.
本申请中的技术方法可应用于智慧政务/智慧城管/智慧社区/智慧安防/智慧物流/智慧医疗/智慧教育/智慧环保/智慧交通等包含对物理服务器中的操作系统进行初始化的应用场景中,从而推动智慧城市的建设。The technical method in this application can be applied to application scenarios that include the initialization of the operating system in the physical server, such as smart government/smart city management/smart community/smart security/smart logistics/smart medical/smart education/smart environmental protection/smart transportation , So as to promote the construction of smart cities.
在本申请实施例所提供的操作系统初始化方法中,发送信息获取请求至服务器列表信息对应的物理服务器以获取相应的基础配置信息,根据物理服务器列表信息对每一物理服务器 的基础配置信息进行验证,发送系统镜像文件至验证通过的物理服务器,根据参数信息验证物理服务器反馈的初始化参数是否准确,若准确,远程登录物理服务器以执行系统镜像文件包含的初始化脚本,并获取物理服务器执行初始化脚本的执行结果。通过上述方法,对物理服务器的基础配置信息及初始化参数进行验证,验证通过后远程登录物理服务器执行系统镜像文件包含的初始化脚本以实现操作系统的初始化,可提高操作系统初始化的效率,并大幅提高物理服务器中操作系统初始化后的稳定性。In the operating system initialization method provided by the embodiment of the present application, an information acquisition request is sent to the physical server corresponding to the server list information to acquire corresponding basic configuration information, and the basic configuration information of each physical server is verified according to the physical server list information , Send the system image file to the verified physical server, and verify whether the initialization parameters fed back by the physical server are accurate according to the parameter information. If it is accurate, remotely log in to the physical server to execute the initialization script contained in the system image file, and obtain the physical server to execute the initialization script. Results of the. Through the above method, the basic configuration information and initialization parameters of the physical server are verified. After the verification is passed, the physical server is remotely logged in to execute the initialization script contained in the system image file to initialize the operating system, which can improve the efficiency of operating system initialization and greatly improve The stability of the operating system after initialization in the physical server.
本申请实施例还提供一种操作系统初始化系统100,该操作系统初始化系统100用于执行前述操作系统初始化方法的任一实施例。具体地,请参阅图9,图9是本申请实施例提供的操作系统初始化系统100的示意性框图。该操作系统初始化系统100包括用户终端10及至少一台物理服务器20。The embodiment of the present application also provides an operating system initialization system 100, and the operating system initialization system 100 is configured to execute any embodiment of the foregoing operating system initialization method. Specifically, please refer to FIG. 9, which is a schematic block diagram of the operating system initialization system 100 according to an embodiment of the present application. The operating system initialization system 100 includes a user terminal 10 and at least one physical server 20.
如图9所示,所述用户终端10包括基础配置信息获取单元101、物理服务器验证单元102、系统镜像文件发送单元103、初始化参数验证单元104、执行单元105及执行结果获取单元106,所述物理服务器20包括指令信息执行单元201、基础配置信息发送单元202、执行优先级配置单元203、初始化参数发送单元204及脚本执行单元205。As shown in FIG. 9, the user terminal 10 includes a basic configuration information acquisition unit 101, a physical server verification unit 102, a system image file sending unit 103, an initialization parameter verification unit 104, an execution unit 105, and an execution result acquisition unit 106. The physical server 20 includes an instruction information execution unit 201, a basic configuration information sending unit 202, an execution priority configuration unit 203, an initialization parameter sending unit 204, and a script execution unit 205.
基础配置信息获取单元101,用于接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息。The basic configuration information obtaining unit 101 is configured to receive server list information input by a user, and send an information obtaining request to a physical server corresponding to the server list information to obtain basic configuration information corresponding to the server list information.
物理服务器验证单元102,用于根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证。The physical server verification unit 102 is configured to verify whether the physical server included in the server basic configuration information passes the verification according to the server list information.
在一实施例中,所述物理服务器验证单元102包括子单元:类型信息判断单元、连接信息判断单元和验证结果获取单元。In an embodiment, the physical server verification unit 102 includes sub-units: a type information judgment unit, a connection information judgment unit, and a verification result acquisition unit.
类型信息判断单元,用于判断每一所述物理服务器的磁盘阵列类型信息是否与所述服务器列表信息中相对应的类型信息相同;连接信息判断单元,用于若磁盘阵列类型信息与所述服务器列表信息中对应的类型信息相同,判断所述物理服务器的网络连接信息是否与所述服务器列表信息中相对应的连接信息相同;验证结果获取单元,用于若所述网络连接信息与所述服务器列表信息中对应的连接信息相同,判定所述物理服务器通过验证。The type information determining unit is used to determine whether the disk array type information of each physical server is the same as the corresponding type information in the server list information; the connection information determining unit is used to determine whether the disk array type information is the same as that of the server. The corresponding type information in the list information is the same, and it is determined whether the network connection information of the physical server is the same as the corresponding connection information in the server list information; the verification result obtaining unit is configured to determine whether the network connection information is the same as the server list information. The corresponding connection information in the list information is the same, and it is determined that the physical server passes the verification.
系统镜像文件发送单元103,用于若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本。The system image file sending unit 103 is configured to send a system image file to the physical server if the physical server passes the verification, wherein the system image file includes an initialization script.
在一实施例中,所述用户终端10还包括子单元:镜像接口连接建立单元。In an embodiment, the user terminal 10 further includes a subunit: a mirroring interface connection establishment unit.
镜像接口连接建立单元,用于发送接口连接请求至所述物理服务器,以通过与所述接口连接信息相关联的镜像接口与所述物理服务器建立镜像接口连接。The mirror interface connection establishment unit is configured to send an interface connection request to the physical server to establish a mirror interface connection with the physical server through the mirror interface associated with the interface connection information.
初始化参数验证单元104,用于接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确。执行单元105,用于若所述初始化参数准确,远程登录所述物理服务器以执行所述初始化脚本。The initialization parameter verification unit 104 is configured to receive the initialization parameters fed back by the physical server, and verify whether the initialization parameters are accurate according to the pre-stored parameter information. The execution unit 105 is configured to remotely log in to the physical server to execute the initialization script if the initialization parameters are accurate.
在一实施例中,所述执行单元105还包括子单元:存储判断单元、初始化脚本拷贝单元和执行信息发送单元。In an embodiment, the execution unit 105 further includes sub-units: a storage judgment unit, an initialization script copy unit, and an execution information sending unit.
存储判断单元,用于远程登录所述物理服务器,判断所述物理服务器中与预置的存储路径对应的存储区域内是否存储有所述初始化脚本;初始化脚本拷贝单元,用于若所述存储路径对应的存储区域内未存储所述初始化脚本,将所述初始化脚本拷贝至所述存储路径对应的存储区域内进行存储;执行信息发送单元,用于发送执行信息至所述物理服务器以触发所述物理服务器执行所述初始化脚本。The storage judging unit is used to remotely log in to the physical server and judge whether the initialization script is stored in the storage area corresponding to the preset storage path in the physical server; the initialization script copy unit is used to determine whether the storage path The initialization script is not stored in the corresponding storage area, and the initialization script is copied to the storage area corresponding to the storage path for storage; the execution information sending unit is configured to send execution information to the physical server to trigger the The physical server executes the initialization script.
执行结果获取单元106,用于获获取所述物理服务器执行所述初始化脚本的执行结果。The execution result obtaining unit 106 is configured to obtain an execution result of the physical server executing the initialization script.
在一实施例中,所述用户终端10还包括子单元:初始化验证请求发送单元和验证单元。In an embodiment, the user terminal 10 further includes subunits: an initialization verification request sending unit and a verification unit.
初始化验证请求发送单元,用于发送初始化验证请求至所述物理服务器,以获取所述物理服务器根据所述初始化验证请求所反馈的初始化验证信息;验证单元,用于判断所述初始化信息是否满足预置的初始化阈值,以得到所述物理服务器是否可用的验证结果。The initialization verification request sending unit is used to send an initialization verification request to the physical server to obtain the initialization verification information fed back by the physical server according to the initialization verification request; the verification unit is used to determine whether the initialization information satisfies the prerequisites. Set the initial threshold value to obtain the verification result of whether the physical server is available.
指令信息执行单元201,用于接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息。基础配置信息发送单元202,用于发送所述基础配置信息至所述用户终端。执行优先级配置单元203,用于接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本。初始化参数发送单元204,用于重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端。脚本执行单元205,用于接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。The instruction information execution unit 201 is configured to receive an information acquisition request from the user terminal, and execute instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server. The basic configuration information sending unit 202 is configured to send the basic configuration information to the user terminal. The execution priority configuration unit 203 is configured to receive the system image file from the user terminal and configure the execution priority of the system image file, wherein the system image file includes an initialization script. The initialization parameter sending unit 204 is configured to restart the physical server to execute the system image file, and send initialization parameters to the user terminal. The script execution unit 205 is configured to receive execution information sent by the user terminal through remote login, execute the stored initialization script, and feed back the execution result to the user terminal.
在一实施例中,所述脚本执行单元205包括子单元:系统脚本执行单元和执行结果反馈单元。In an embodiment, the script execution unit 205 includes sub-units: a system script execution unit and an execution result feedback unit.
系统脚本执行单元,用于获取所述初始化脚本中与所述执行信息的系统类型相匹配的系统脚本进行执行;执行结果反馈单元,用于获取执行所述系统脚本得到的结果作为所述执行结果并反馈至所述用户终端。The system script execution unit is used to obtain the system script matching the system type of the execution information in the initialization script for execution; the execution result feedback unit is used to obtain the result of executing the system script as the execution result And feedback to the user terminal.
在本申请实施例所提供的操作系统初始化系统应用上述操作系统初始化方法。In the operating system initialization system provided in the embodiments of the present application, the above operating system initialization method is applied.
上述操作系统初始化系统可以实现为计算机程序的形式,该计算机程序可以在如图10所示的计算机设备上运行。The above-mentioned operating system initialization system can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in FIG. 10.
请参阅图10,图10是本申请实施例提供的计算机设备的示意性框图。该计算机设备可以是用于执行操作系统初始化方法以对物理服务器中的操作系统进行初始化的用户终端,也可以是接收来自用户终端的数据信息并完成操作系统初始化的物理服务器。Please refer to FIG. 10, which is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device may be a user terminal used to execute an operating system initialization method to initialize an operating system in a physical server, or a physical server that receives data information from the user terminal and completes the initialization of the operating system.
参阅图10,该计算机设备500包括通过系统总线501连接的处理器502、存储器和网络接口505,其中,存储器可以包括非易失性存储介质503和内存储器504。该非易失性存储介质503可存储操作系统5031和计算机程序5032。该计算机程序5032被执行时,可使得处理器502执行操作系统初始化方法。该处理器502用于提供计算和控制能力,支撑整个计算机设备500的运行。该内存储器504为非易失性存储介质503中的计算机程序5032的运行提供环境,该计算机程序5032被处理器502执行时,可使得处理器502执行操作系统初始化方法。10, the computer device 500 includes a processor 502, a memory, and a network interface 505 connected through a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504. The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute the operating system initialization method. The processor 502 is used to provide calculation and control capabilities, and support the operation of the entire computer device 500. The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the operating system initialization method.
该网络接口505用于进行网络通信,如提供数据信息的传输等。本领域技术人员可以理解,图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备500的限定,具体的计算机设备500可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。The network interface 505 is used for network communication, such as providing data information transmission. Those skilled in the art can understand that the structure shown in FIG. 10 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
其中,所述处理器502用于运行存储在存储器中的计算机程序5032,以实现上述的操作系统初始化方法中对应的功能。本领域技术人员可以理解,图10中示出的计算机设备的实施例并不构成对计算机设备具体构成的限定,在其他实施例中,计算机设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。例如,在一些实施例中,计算机设备可以仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图10所示实施例一致,在此不再赘述。应当理解,在本申请实施例中,处理器502可以是中央处理单元(Central Processing Unit,CPU),该处理器502还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。Wherein, the processor 502 is configured to run a computer program 5032 stored in the memory, so as to implement the corresponding function in the above-mentioned operating system initialization method. Those skilled in the art can understand that the embodiment of the computer device shown in FIG. 10 does not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or less components than those shown in the figure. Or some parts are combined, or different parts are arranged. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are consistent with the embodiment shown in FIG. 10, and will not be repeated here. It should be understood that in this embodiment of the application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
在本申请的另一实施例中提供计算机可读存储介质。该计算机可读存储介质可以为非易失性的计算机可读存储介质,也可以是易失性的计算机可读存储介质。该计算机可读存储介质存储有计算机程序,其中计算机程序被处理器执行时实现上述的操作系统初始化方法中所包含的步骤。In another embodiment of the present application, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, where the computer program implements the steps included in the above-mentioned operating system initialization method when the computer program is executed by the processor.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的设备、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。本领域 普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described equipment, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here. A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both, in order to clearly illustrate the hardware and software Interchangeability, in the above description, the composition and steps of each example have been generally described in accordance with the function. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为逻辑功能划分,实际实现时可以有另外的划分方式,也可以将具有相同功能的单元集合成一个单元,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided in this application, it should be understood that the disclosed equipment, device, and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, or the units with the same function may be combined into one. Units, for example, multiple units or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present application.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个计算机可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的计算机可读存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application is essentially or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product can be stored in a computer. The read storage medium includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned computer-readable storage media include: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种操作系统初始化方法,应用于用户终端中,所述用户终端与至少一台物理服务器进行通信,其中,所述方法包括:An operating system initialization method, applied to a user terminal, the user terminal communicating with at least one physical server, wherein the method includes:
    接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息;Receiving the server list information input by the user, and sending an information acquisition request to the physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information;
    根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证;Verifying, according to the server list information, whether the physical server included in the server basic configuration information passes the verification;
    若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本;If the physical server passes the verification, sending a system image file to the physical server, where the system image file contains an initialization script;
    接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确;Receiving the initialization parameters fed back by the physical server, and verifying whether the initialization parameters are accurate according to the pre-stored parameter information;
    若所述初始化参数准确,远程登录所述物理服务器以执行所述初始化脚本;If the initialization parameters are accurate, remotely log in to the physical server to execute the initialization script;
    获取所述物理服务器执行所述初始化脚本的执行结果。Obtain an execution result of the physical server executing the initialization script.
  2. 根据权利要求1所述的操作系统初始化方法,其中,所述基础配置信息包括所述物理服务器的磁盘阵列类型信息及网络连接信息,所述根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证,包括:The operating system initialization method according to claim 1, wherein the basic configuration information includes disk array type information and network connection information of the physical server, and the server basic configuration information is verified according to the server list information. Whether the included physical servers are verified, including:
    判断每一所述物理服务器的磁盘阵列类型信息是否与所述服务器列表信息中相对应的类型信息相同;Judging whether the disk array type information of each physical server is the same as the corresponding type information in the server list information;
    若磁盘阵列类型信息与所述服务器列表信息中对应的类型信息相同,判断所述物理服务器的网络连接信息是否与所述服务器列表信息中相对应的连接信息相同;If the disk array type information is the same as the corresponding type information in the server list information, judging whether the network connection information of the physical server is the same as the corresponding connection information in the server list information;
    若所述网络连接信息与所述服务器列表信息中对应的连接信息相同,判定所述物理服务器通过验证。If the network connection information is the same as the corresponding connection information in the server list information, it is determined that the physical server passes the verification.
  3. 根据权利要求1所述的操作系统初始化方法,其中,所述发送系统镜像文件至所述物理服务器之前,还包括:The operating system initialization method according to claim 1, wherein before the sending the system image file to the physical server, the method further comprises:
    发送接口连接请求至所述物理服务器,以通过与所述接口连接信息相关联的镜像接口与所述物理服务器建立镜像接口连接。Send an interface connection request to the physical server to establish a mirror interface connection with the physical server through the mirror interface associated with the interface connection information.
  4. 根据权利要求1所述的操作系统初始化方法,其中,所述远程登录所述物理服务器以执行存储于所述物理服务器中的所述初始化脚本,包括:The operating system initialization method according to claim 1, wherein the remote login to the physical server to execute the initialization script stored in the physical server comprises:
    远程登录所述物理服务器,判断所述物理服务器中与预置的存储路径对应的存储区域内是否存储有所述初始化脚本;Log in to the physical server remotely, and determine whether the initialization script is stored in the storage area corresponding to the preset storage path in the physical server;
    若所述存储路径对应的存储区域内未存储所述初始化脚本,将所述初始化脚本拷贝至所述存储路径对应的存储区域内进行存储;If the initialization script is not stored in the storage area corresponding to the storage path, copy the initialization script to the storage area corresponding to the storage path for storage;
    发送执行信息至所述物理服务器以触发所述物理服务器执行所述初始化脚本。Send execution information to the physical server to trigger the physical server to execute the initialization script.
  5. 根据权利要求1所述的操作系统初始化方法,其中,所述获取所述物理服务器执行所述初始化脚本的执行结果之后,还包括:The operating system initialization method according to claim 1, wherein after said obtaining the execution result of the execution of the initialization script by the physical server, the method further comprises:
    发送初始化验证请求至所述物理服务器,以获取所述物理服务器根据所述初始化验证请求所反馈的初始化验证信息,其中所述初始化验证信息包括网卡验证请求及服务验证请求;Sending an initialization verification request to the physical server to obtain the initialization verification information fed back by the physical server according to the initialization verification request, where the initialization verification information includes a network card verification request and a service verification request;
    判断所述初始化信息是否满足预置的初始化阈值,以得到所述物理服务器是否可用的验证结果。It is determined whether the initialization information meets a preset initialization threshold, so as to obtain a verification result of whether the physical server is available.
  6. 根据权利要求1所述的操作系统初始化方法,其中,所述获取所述物理服务器执行所述初始化脚本的执行结果之后,还包括:The operating system initialization method according to claim 1, wherein after said obtaining the execution result of the execution of the initialization script by the physical server, the method further comprises:
    将所述执行结果上传至区块链中。Upload the execution result to the blockchain.
  7. 一种操作系统初始化方法,应用于物理服务器中,所述物理服务器与用户终端进行通信,其中,所述方法包括:An operating system initialization method applied to a physical server, the physical server communicating with a user terminal, wherein the method includes:
    接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息;Receiving an information acquisition request from the user terminal, and executing instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server;
    发送所述基础配置信息至所述用户终端;Sending the basic configuration information to the user terminal;
    接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本;Receiving a system image file from the user terminal, and configuring an execution priority of the system image file, where the system image file contains an initialization script;
    重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端;Restart the physical server to execute the system image file, and send initialization parameters to the user terminal;
    接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。Receiving the execution information sent by the user terminal through remote login, executing the stored initialization script, and feeding back the execution result to the user terminal.
  8. 一种操作系统初始化系统,其中,包括用户终端及至少一台物理服务器,所述用户终端包括基础配置信息获取单元、物理服务器验证单元、系统镜像文件发送单元、初始化参数验证单元、执行单元及执行结果获取单元,所述物理服务器包括指令信息执行单元、基础配置信息发送单元、执行优先级配置单元、初始化参数发送单元及脚本执行单元,其中,An operating system initialization system, which includes a user terminal and at least one physical server. The user terminal includes a basic configuration information acquisition unit, a physical server verification unit, a system image file sending unit, an initialization parameter verification unit, an execution unit, and an execution unit. A result obtaining unit, the physical server includes an instruction information execution unit, a basic configuration information sending unit, an execution priority configuration unit, an initialization parameter sending unit, and a script execution unit, wherein:
    所述基础配置信息获取单元,用于接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息;The basic configuration information obtaining unit is configured to receive server list information input by a user, and send an information obtaining request to a physical server corresponding to the server list information to obtain basic configuration information corresponding to the server list information;
    所述物理服务器验证单元,用于根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证;The physical server verification unit is configured to verify whether the physical server included in the server basic configuration information passes verification according to the server list information;
    所述系统镜像文件发送单元,用于若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本;The system image file sending unit is configured to send the system image file to the physical server if the physical server passes the verification, wherein the system image file includes an initialization script;
    所述初始化参数验证单元,用于接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确;The initialization parameter verification unit is configured to receive the initialization parameters fed back by the physical server, and verify whether the initialization parameters are accurate according to the pre-stored parameter information;
    所述执行单元,用于若所述初始化参数准确,远程登录所述物理服务器以执行所述初始化脚本;The execution unit is configured to remotely log in to the physical server to execute the initialization script if the initialization parameters are accurate;
    所述执行结果获取单元,用于获取所述物理服务器执行所述初始化脚本的执行结果;The execution result obtaining unit is configured to obtain the execution result of the initialization script executed by the physical server;
    所述指令信息执行单元,用于接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息;The instruction information execution unit is configured to receive an information acquisition request from the user terminal, and execute instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server;
    所述基础配置信息发送单元,发送所述基础配置信息至所述用户终端;The basic configuration information sending unit sends the basic configuration information to the user terminal;
    所述执行优先级配置单元,用于接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本;The execution priority configuration unit is configured to receive a system image file from the user terminal and configure the execution priority of the system image file, wherein the system image file contains an initialization script;
    所述初始化参数发送单元,用于重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端;The initialization parameter sending unit is configured to restart the physical server to execute the system image file, and send initialization parameters to the user terminal;
    所述脚本执行单元,用于接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。The script execution unit is configured to receive execution information sent by the user terminal through remote login, execute the stored initialization script, and feed back the execution result to the user terminal.
  9. 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:A computer device includes a memory, a processor, and a computer program that is stored on the memory and can run on the processor, wherein the processor implements the following steps when the processor executes the computer program:
    接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息;Receiving the server list information input by the user, and sending an information acquisition request to the physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information;
    根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证;Verifying, according to the server list information, whether the physical server included in the server basic configuration information passes the verification;
    若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本;If the physical server passes the verification, sending a system image file to the physical server, where the system image file contains an initialization script;
    接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确;Receiving the initialization parameters fed back by the physical server, and verifying whether the initialization parameters are accurate according to the pre-stored parameter information;
    若所述初始化参数准确,远程登录所述物理服务器以执行所述初始化脚本;If the initialization parameters are accurate, remotely log in to the physical server to execute the initialization script;
    获取所述物理服务器执行所述初始化脚本的执行结果。Obtain an execution result of the physical server executing the initialization script.
  10. 根据权利要求9所述的计算机设备,其中,所述基础配置信息包括所述物理服务器的磁盘阵列类型信息及网络连接信息,所述根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证,包括:The computer device according to claim 9, wherein the basic configuration information includes disk array type information and network connection information of the physical server, and the server list information is used to verify that the server basic configuration information contains Whether the physical server is verified, including:
    判断每一所述物理服务器的磁盘阵列类型信息是否与所述服务器列表信息中相对应的类型信息相同;Judging whether the disk array type information of each physical server is the same as the corresponding type information in the server list information;
    若磁盘阵列类型信息与所述服务器列表信息中对应的类型信息相同,判断所述物理服务器的网络连接信息是否与所述服务器列表信息中相对应的连接信息相同;If the disk array type information is the same as the corresponding type information in the server list information, judging whether the network connection information of the physical server is the same as the corresponding connection information in the server list information;
    若所述网络连接信息与所述服务器列表信息中对应的连接信息相同,判定所述物理服务器通过验证。If the network connection information is the same as the corresponding connection information in the server list information, it is determined that the physical server passes the verification.
  11. 根据权利要求9所述的计算机设备,其中,所述发送系统镜像文件至所述物理服务器之前,还包括:9. The computer device according to claim 9, wherein before the sending the system image file to the physical server, the method further comprises:
    发送接口连接请求至所述物理服务器,以通过与所述接口连接信息相关联的镜像接口与所述物理服务器建立镜像接口连接。Send an interface connection request to the physical server to establish a mirror interface connection with the physical server through the mirror interface associated with the interface connection information.
  12. 根据权利要求9所述的计算机设备,其中,所述远程登录所述物理服务器以执行存储于所述物理服务器中的所述初始化脚本,包括:The computer device according to claim 9, wherein said remotely logging in to said physical server to execute said initialization script stored in said physical server comprises:
    远程登录所述物理服务器,判断所述物理服务器中与预置的存储路径对应的存储区域内是否存储有所述初始化脚本;Log in to the physical server remotely, and determine whether the initialization script is stored in the storage area corresponding to the preset storage path in the physical server;
    若所述存储路径对应的存储区域内未存储所述初始化脚本,将所述初始化脚本拷贝至所述存储路径对应的存储区域内进行存储;If the initialization script is not stored in the storage area corresponding to the storage path, copy the initialization script to the storage area corresponding to the storage path for storage;
    发送执行信息至所述物理服务器以触发所述物理服务器执行所述初始化脚本。Send execution information to the physical server to trigger the physical server to execute the initialization script.
  13. 根据权利要求9所述的计算机设备,其中,所述获取所述物理服务器执行所述初始化脚本的执行结果之后,还包括:9. The computer device according to claim 9, wherein after said obtaining the execution result of the execution of the initialization script by the physical server, the method further comprises:
    发送初始化验证请求至所述物理服务器,以获取所述物理服务器根据所述初始化验证请求所反馈的初始化验证信息,其中所述初始化验证信息包括网卡验证请求及服务验证请求;Sending an initialization verification request to the physical server to obtain the initialization verification information fed back by the physical server according to the initialization verification request, where the initialization verification information includes a network card verification request and a service verification request;
    判断所述初始化信息是否满足预置的初始化阈值,以得到所述物理服务器是否可用的验证结果。It is determined whether the initialization information meets a preset initialization threshold, so as to obtain a verification result of whether the physical server is available.
  14. 根据权利要求9所述的计算机设备,其中,所述获取所述物理服务器执行所述初始化脚本的执行结果之后,还包括:9. The computer device according to claim 9, wherein after said obtaining the execution result of the execution of the initialization script by the physical server, the method further comprises:
    将所述执行结果上传至区块链中。Upload the execution result to the blockchain.
  15. 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:A computer device includes a memory, a processor, and a computer program that is stored on the memory and can run on the processor, wherein the processor implements the following steps when the processor executes the computer program:
    接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息;Receiving an information acquisition request from the user terminal, and executing instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server;
    发送所述基础配置信息至所述用户终端;Sending the basic configuration information to the user terminal;
    接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本;Receiving a system image file from the user terminal, and configuring an execution priority of the system image file, where the system image file contains an initialization script;
    重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端;Restart the physical server to execute the system image file, and send initialization parameters to the user terminal;
    接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。Receiving the execution information sent by the user terminal through remote login, executing the stored initialization script, and feeding back the execution result to the user terminal.
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序当被处理器执行时使所述处理器执行以下操作:A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the following operations:
    接收用户所输入的服务器列表信息,发送信息获取请求至所述服务器列表信息对应的物理服务器,以获取与所述服务器列表信息对应的基础配置信息;Receiving the server list information input by the user, and sending an information acquisition request to the physical server corresponding to the server list information to acquire basic configuration information corresponding to the server list information;
    根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证;Verifying, according to the server list information, whether the physical server included in the server basic configuration information passes the verification;
    若所述物理服务器通过验证,发送系统镜像文件至所述物理服务器,其中,所述系统镜像文件包含初始化脚本;If the physical server passes the verification, sending a system image file to the physical server, where the system image file contains an initialization script;
    接收所述物理服务器反馈的初始化参数,根据预存的参数信息验证所述初始化参数是否准确;Receiving the initialization parameters fed back by the physical server, and verifying whether the initialization parameters are accurate according to the pre-stored parameter information;
    若所述初始化参数准确,远程登录所述物理服务器以执行所述初始化脚本;If the initialization parameters are accurate, remotely log in to the physical server to execute the initialization script;
    获取所述物理服务器执行所述初始化脚本的执行结果。Obtain an execution result of the physical server executing the initialization script.
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述基础配置信息包括所述物理服务器的磁盘阵列类型信息及网络连接信息,所述根据所述服务器列表信息验证所述服务器基础配置信息所包含的物理服务器是否通过验证,包括:The computer-readable storage medium according to claim 16, wherein the basic configuration information includes disk array type information and network connection information of the physical server, and the server basic configuration information is verified according to the server list information Whether the included physical servers are verified, including:
    判断每一所述物理服务器的磁盘阵列类型信息是否与所述服务器列表信息中相对应的类型信息相同;Judging whether the disk array type information of each physical server is the same as the corresponding type information in the server list information;
    若磁盘阵列类型信息与所述服务器列表信息中对应的类型信息相同,判断所述物理服务器的网络连接信息是否与所述服务器列表信息中相对应的连接信息相同;If the disk array type information is the same as the corresponding type information in the server list information, judging whether the network connection information of the physical server is the same as the corresponding connection information in the server list information;
    若所述网络连接信息与所述服务器列表信息中对应的连接信息相同,判定所述物理服务器通过验证。If the network connection information is the same as the corresponding connection information in the server list information, it is determined that the physical server passes the verification.
  18. 根据权利要求16所述的计算机可读存储介质,其中,所述发送系统镜像文件至所述物理服务器之前,还包括:15. The computer-readable storage medium according to claim 16, wherein before the sending the system image file to the physical server, the method further comprises:
    发送接口连接请求至所述物理服务器,以通过与所述接口连接信息相关联的镜像接口与所述物理服务器建立镜像接口连接。Send an interface connection request to the physical server to establish a mirror interface connection with the physical server through the mirror interface associated with the interface connection information.
  19. 根据权利要求16所述的计算机可读存储介质,其中,所述远程登录所述物理服务器以执行存储于所述物理服务器中的所述初始化脚本,包括:The computer-readable storage medium according to claim 16, wherein said remotely logging in to said physical server to execute said initialization script stored in said physical server comprises:
    远程登录所述物理服务器,判断所述物理服务器中与预置的存储路径对应的存储区域内是否存储有所述初始化脚本;Log in to the physical server remotely, and determine whether the initialization script is stored in the storage area corresponding to the preset storage path in the physical server;
    若所述存储路径对应的存储区域内未存储所述初始化脚本,将所述初始化脚本拷贝至所述存储路径对应的存储区域内进行存储;If the initialization script is not stored in the storage area corresponding to the storage path, copy the initialization script to the storage area corresponding to the storage path for storage;
    发送执行信息至所述物理服务器以触发所述物理服务器执行所述初始化脚本。Send execution information to the physical server to trigger the physical server to execute the initialization script.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序当被处理器执行时使所述处理器执行以下操作:A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the following operations:
    接收来自所述用户终端的信息获取请求,执行已加载于所述物理服务器内存中的指令信息以获取所述物理服务器的基础配置信息;Receiving an information acquisition request from the user terminal, and executing instruction information loaded in the memory of the physical server to acquire basic configuration information of the physical server;
    发送所述基础配置信息至所述用户终端;Sending the basic configuration information to the user terminal;
    接收来自所述用户终端的系统镜像文件,配置所述系统镜像文件的执行优先级,其中所述系统镜像文件包含初始化脚本;Receiving a system image file from the user terminal, and configuring an execution priority of the system image file, where the system image file contains an initialization script;
    重启所述物理服务器执行所述系统镜像文件,并发送初始化参数至所述用户终端;Restart the physical server to execute the system image file, and send initialization parameters to the user terminal;
    接收所述用户终端通过远程登录所发送的执行信息,执行所存储的所述初始化脚本并将执行结果反馈至所述用户终端。Receiving the execution information sent by the user terminal through remote login, executing the stored initialization script, and feeding back the execution result to the user terminal.
PCT/CN2020/122666 2020-07-28 2020-10-22 Operating system initialization method and system, computer device, and storage medium WO2021139314A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010740134.2A CN111880852B (en) 2020-07-28 2020-07-28 Operating system initialization method, system, computer device and storage medium
CN202010740134.2 2020-07-28

Publications (1)

Publication Number Publication Date
WO2021139314A1 true WO2021139314A1 (en) 2021-07-15

Family

ID=73201373

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122666 WO2021139314A1 (en) 2020-07-28 2020-10-22 Operating system initialization method and system, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN111880852B (en)
WO (1) WO2021139314A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485882A (en) * 2021-07-21 2021-10-08 鹏城实验室 Chip verification method and device and computer readable storage medium
CN113783856A (en) * 2021-08-30 2021-12-10 杭州安恒信息技术股份有限公司 Detection method and device for pagoda panel and computer equipment
CN113840009A (en) * 2021-09-29 2021-12-24 天翼物联科技有限公司 Profile file segmented transmission method, device, equipment and medium
CN114416188A (en) * 2022-01-17 2022-04-29 北京百度网讯科技有限公司 Data processing system and method for starting ARM core board
CN116775058A (en) * 2023-06-25 2023-09-19 深圳市青葡萄科技有限公司 Mirror image starting method compatible with heterogeneous hardware, terminal and server

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112669521B (en) * 2020-12-11 2022-12-20 深圳市智莱科技股份有限公司 Vending machine initialization method, vending machine and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478424A (en) * 2008-12-18 2009-07-08 深圳华为通信技术有限公司 Distribution method, apparatus and system for local area network side equipment software upgrade data
US20190065166A1 (en) * 2002-09-12 2019-02-28 Computer Sciences Corporation System and method for updating network computer systems
CN109429216A (en) * 2017-08-24 2019-03-05 苹果公司 Secure element operating system update notification
CN110795120A (en) * 2019-09-24 2020-02-14 万翼科技有限公司 Software upgrading method and related device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6829704B2 (en) * 2001-04-13 2004-12-07 General Electric Company Method and system to automatically activate software options upon initialization of a device
US7398382B2 (en) * 2004-12-29 2008-07-08 Intel Corporation Method and apparatus to enhance platform boot efficiency
US8151323B2 (en) * 2006-04-12 2012-04-03 Citrix Systems, Inc. Systems and methods for providing levels of access and action control via an SSL VPN appliance
US8418139B2 (en) * 2008-04-18 2013-04-09 International Business Machines Corporation System and method for updating initialization parameters for application software from within a software development environment
US7853780B2 (en) * 2008-07-31 2010-12-14 Oracle America, Inc. Core initialization code validation
US9184991B2 (en) * 2012-01-13 2015-11-10 American Megatrends, Inc. Method and apparatus for developing service processor solutions
US9509676B1 (en) * 2013-04-30 2016-11-29 United Services Automobile Association (Usaa) Efficient startup and logon
CN107229492A (en) * 2017-05-17 2017-10-03 东软集团股份有限公司 Installation method, device, system, storage medium and the equipment of server system
CN109167687B (en) * 2018-09-05 2021-06-15 浪潮云信息技术股份公司 Method and system for initializing physical server cluster network configuration in batch
CN109254783A (en) * 2018-09-18 2019-01-22 郑州云海信息技术有限公司 A kind of server system installation method, device, equipment and readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190065166A1 (en) * 2002-09-12 2019-02-28 Computer Sciences Corporation System and method for updating network computer systems
CN101478424A (en) * 2008-12-18 2009-07-08 深圳华为通信技术有限公司 Distribution method, apparatus and system for local area network side equipment software upgrade data
CN109429216A (en) * 2017-08-24 2019-03-05 苹果公司 Secure element operating system update notification
CN110795120A (en) * 2019-09-24 2020-02-14 万翼科技有限公司 Software upgrading method and related device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485882A (en) * 2021-07-21 2021-10-08 鹏城实验室 Chip verification method and device and computer readable storage medium
CN113783856A (en) * 2021-08-30 2021-12-10 杭州安恒信息技术股份有限公司 Detection method and device for pagoda panel and computer equipment
CN113840009A (en) * 2021-09-29 2021-12-24 天翼物联科技有限公司 Profile file segmented transmission method, device, equipment and medium
CN113840009B (en) * 2021-09-29 2024-01-12 天翼物联科技有限公司 Method, device, equipment and medium for transmitting Profile file in segments
CN114416188A (en) * 2022-01-17 2022-04-29 北京百度网讯科技有限公司 Data processing system and method for starting ARM core board
CN116775058A (en) * 2023-06-25 2023-09-19 深圳市青葡萄科技有限公司 Mirror image starting method compatible with heterogeneous hardware, terminal and server

Also Published As

Publication number Publication date
CN111880852B (en) 2022-06-07
CN111880852A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
WO2021139314A1 (en) Operating system initialization method and system, computer device, and storage medium
US10120703B2 (en) Executing commands within virtual machine instances
US11816003B2 (en) Methods for securely facilitating data protection workflows and devices thereof
US7788475B2 (en) Booting utilizing electronic mail
WO2017162173A1 (en) Method and device for establishing connection of cloud server cluster
JP5443613B2 (en) Provision and manage replicated data instances
US20080016178A1 (en) Method and system for remote software installation, recovery, and restoration over a data network
US20180102904A1 (en) Method and system for checking revocation status of digital certificates in a virtualization environment
KR20140138182A (en) Identity services for organizations transparently hosted in the cloud
JP2005276177A (en) Method, system, and program for checking and repairing network configuration
US20150365413A1 (en) Secure Configuration of Authentication Servers
JP7451696B2 (en) Remote attestation mode negotiation method for bonded devices and related devices
US8302165B2 (en) Establishing trust relationships between computer systems
WO2018001023A1 (en) Virtual desktop login method and device for cloud terminal
US9749278B1 (en) Persistent connections for email web applications
US11902271B2 (en) Two-way secure channels between multiple services across service groups
CN112131041A (en) Method, apparatus and computer program product for managing data placement
US11683172B2 (en) Distributed secure communication system
US10754753B1 (en) Performance of virtual machine instances using machine recognition of screenshot images
US20220046014A1 (en) Techniques for device to device authentication
US11379434B2 (en) Efficient and automatic database patching using elevated privileges
CN111884837A (en) Migration method and device of virtual encryption machine and computer storage medium
US20230061123A1 (en) Systems and methods to orchestrate trusted enrollment
US11782795B2 (en) Source versus target metadata-based data integrity checking
US20230216847A1 (en) Determining session duration for device authentication

Legal Events

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

Ref document number: 20911641

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20911641

Country of ref document: EP

Kind code of ref document: A1