CN109992311A - Starting method, apparatus, storage medium and the client of operating system - Google Patents
Starting method, apparatus, storage medium and the client of operating system Download PDFInfo
- Publication number
- CN109992311A CN109992311A CN201910227478.0A CN201910227478A CN109992311A CN 109992311 A CN109992311 A CN 109992311A CN 201910227478 A CN201910227478 A CN 201910227478A CN 109992311 A CN109992311 A CN 109992311A
- Authority
- CN
- China
- Prior art keywords
- file
- operating system
- starting
- mini
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4416—Network booting; Remote initial program loading [RIPL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Abstract
The disclosure provides starting method, apparatus, storage medium and the client of a kind of operating system, to improve the stability of concurrency performance in mass production environment, and improve the speed of start-up operation system, the starting method of the operating system includes: starting PXE, after getting starting guidance file and starting configuration file from server by TFTP, based on starting guidance file and starting configuration file by TFTP from server downloading kernel file and mini file system files;Start mini operating system based on the kernel file and mini file system files;In the mini operating system environment, image file is downloaded from the server by HTTP, and the installation of the image file based on downloading has the final operating system of separately operable property, and switches the mini operating system to the final operating system.
Description
Technical field
This disclosure relates to the starting method, apparatus of network technique field more particularly to a kind of operating system, storage medium and
Client.
Background technique
PXE (preboot execute environment, Pre-boot Execution Environment) is developed by Intel Company, is current
Compare the technology of mainstream, worked by C/S (Client/Server, client/server) network mode, supports work station
Image is downloaded from remote server by network, and thus supports to come the start-up course of the operating system of automatic network.
However, the existing method based on PXE mode start-up operation system is that client is used based on User Datagram Protocol
The TFTP for discussing (User Datagram Protocol, UDP) downloads kernel file and file system files from server, is advising greatly
In mould production environment, client terminal quantity is numerous, and network quality may be bad, thus is likely to occur more serious data-bag lost
Problem, to cause concurrency performance unreliable, and speed of the speed of download of operating system file by TFTP transport protocol
Limitation, speed of download is not high, to influence the speed of start-up operation system.
Summary of the invention
In view of this, the disclosure provides starting method, apparatus, storage medium and the client of a kind of operating system, to
The stability of concurrency performance in mass production environment is improved, and improves the speed of start-up operation system.
In a first aspect, the embodiment of the present disclosure provides a kind of starting method of operating system, which comprises
Start Pre-boot Execution Environment PXE, draws getting starting from server by plain text transport protocol TFTP
After leading file and starting configuration file, TFTP is passed through from the server based on starting guidance file and starting configuration file
Download kernel file and mini file system files;
Start mini operating system based on the kernel file and mini file system files;
In the mini operating system environment, mirror image text is downloaded from the server by hypertext transfer protocol HTTP
Part, and the installation of the image file based on downloading have the final operating system of separately operable property, and switch the fan
Your operating system is to the final operating system.
The above method, first pass through TFTP downloading kernel file and mini file system files to start mini operating system,
Again in mini operating system environment, downloading image file by HTTP to install the final operation with separately operable property is
System, in the start-up course of operating system, the image file of final operating system is downloaded by HTTP, it is not easy to be lost
Packet, therefore the stability of concurrency performance in mass production environment can be improved, in addition, compared to the final behaviour of TFTP downloading is used
The downloading speed of image file can be improved using the image file that HTTP downloads final operating system for the image file for making system
Degree, so as to improve the speed of start-up operation system.
It is described in the mini operating system environment in a possible implementation, by HTTP from the service
Device downloads image file, comprising:
In the mini operating system environment, carry networking component;
When getting IP address from the server by dynamic host configuration protocol DHCP based on the networking component,
Image file is downloaded from the server by HTTP according to the address for the image file recorded in the starting configuration file.
In a possible implementation, this method further include:
It is had not been obtained from the server to IP address when being based on the networking component by DHCP, or passes through HTTP from institute
When stating server downloading image file failure, prompt operating system of user starting abnormal.
It is described in the mini operating system environment in a possible implementation, the mirror image based on downloading
File installation has the final operating system of separately operable property, comprising:
In the mini operating system environment, the image file of downloading is decompressed into the memory of client, and will
The image file after decompression is as the final operating system with separately operable property.
In this method, by the way that final operating system to be mounted in the memory of client, so as to improve start-up operation
The speed of system.
In a possible implementation, starting guidance file, the starting configuration file, the kernel file,
At least one of the mini file system files and the image file file are stored in the memory of the server.
In this method, due to starting guidance file, starting configuration file, kernel file, mini file system files and mirror
As at least one of file file is stored in the memory of server, it is thus possible to improve file reading speed, so as to mention
The speed of high start-up operation system.
Second aspect, the embodiment of the present disclosure additionally provide a kind of starter of operating system, including for executing first
The module of the starting method of operating system in any possible implementation of aspect or first aspect.
The third aspect, the embodiment of the present disclosure additionally provide a kind of storage medium, are stored thereon with computer program, the journey
The starting of the operating system in any possible implementation of first aspect or first aspect is realized when sequence is executed by processor
The step of method.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of client, including memory, processor and are stored in storage
On device and the computer program that can run on a processor, the processor realize first aspect or first when executing described program
The step of starting method of operating system in any possible implementation of aspect.
Detailed description of the invention
Fig. 1 is the schematic diagram for the os starting system that the embodiment of the present disclosure provides;
Fig. 2 is a kind of flow diagram of the starting method for operating system that the embodiment of the present disclosure provides;
Fig. 3 is the operational process schematic diagram of mini operating system in the embodiment of the present disclosure;
Fig. 4 is the overall startup flow diagram of operating system in the embodiment of the present disclosure;
Fig. 5 is the first structural schematic diagram of the starter for the operating system that the embodiment of the present disclosure provides;
Fig. 6 is second of structural schematic diagram of the starter for the operating system that the embodiment of the present disclosure provides;
Fig. 7 is a kind of structural schematic diagram for client that the embodiment of the present disclosure provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses.
The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Currently, the demand of server is very big, and the test of server needs the support of operating system, but operating system
Installation, maintenance be very an elapsed time and manpower work, therefore, there is an urgent need to be capable of rapid start-up operation system
Technical solution.
In order to solve this problem, it can will possess the server to be measured of PXE network interface card as client, using in the related technology
It is proposed the scheme based on PXE mode start-up operation system, should process based on PXE mode start-up operation system generally comprise as
Lower step:
1, client terminal start-up PXE, and pass through dynamic host configuration protocol (Dynamic Host Configuration
Protocol, DHCP) IP address is obtained from server and starts the address of guidance file;
2, plain text transport protocol (Trivial File Transfer is passed through according to the address of starting guidance file
Protocol, TFTP) from server download starting guidance file;
3, it is downloaded and is started from server by TFTP according to the address for the starting configuration file recorded in starting guidance file
Configuration file;
4, kernel file and file system are downloaded from server by TFTP based on starting guidance file and starting configuration file
System file;
5, have the operating system of separately operable property to client based on kernel file and file system files installation
In hard disk, and enter the operating system.
This efficiency based on PXE mode start-up operation system will significantly larger than use CD-ROM drive, 1394 interfaces, USB interface
Etc. modes.However, the existing method based on PXE mode start-up operation system is that client is used based on User Datagram Protocol
The TFTP of (User Datagram Protocol, UDP) downloads kernel file and file system files from server, extensive
In production environment, client terminal quantity is numerous, and network quality may be bad, thus is likely to occur more serious data-bag lost and asks
Topic, to cause concurrency performance unreliable, and the speed of download of operating system file is limited by the speed of TFTP transport protocol
System, speed of download is not high, to influence the speed of start-up operation system.
Based on this, present disclose provides a kind of starting method and devices of operating system.
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete
Site preparation description.
The os starting system that the disclosure provides is as shown in Figure 1, the os starting system includes: server
101, multiple client 102 and interchanger 103;Server 101 and the equal access switch 103 of multiple client 102.
Server 101 supports PXE service, DHCP service, TFTP service and HTTP service;PXE service is used for client 102
Non-disk startup, DHCP service can be used for distributing IP address for client 102 and be that client 102 provides starting guidance file
Address (such as storage path of starting guidance file), it is literary that TFTP service can be used for providing starting guidance for client 102
Part, starting configuration file, kernel file and mini file system files, HTTP service can be used for providing mirror for client 102
As file.
User can be the operating system installed needed for the selected test of each client 102 in server side, then service
Starting guidance file, starting configuration file, kernel file, mini file system files and image file are preserved in device 101.Its
In, the address of at least one starting configuration file is recorded in starting guidance file, is started and is recorded kernel text in configuration file
The address of part, mini file system files and image file.
Later, when testing each client 102, each client 102 is automatically performed the starting of respective operating system,
The starting method flow of specific operating system, as shown in Fig. 2, may include steps of:
S101, starting PXE, by TFTP from server get starting guidance file and start configuration file after, base
Kernel file and mini file system files are downloaded from server by TFTP in starting guidance file and starting configuration file;
In this step, based on starting guidance file and starting configuration file by TFTP from server download kernel file and
Mini file system files, can specifically include:
Pass through TFTP from clothes using starting guidance file and according to the address for the kernel file recorded in starting configuration file
Business device downloads kernel file;
And using starting guidance file and according to the address for the mini file system files recorded in starting configuration file
Mini file system files are downloaded from server by TFTP.
S102, mini operating system is started based on kernel file and mini file system files;
Such as: kernel file and mini file system files can be loaded into the memory of client, to start mini behaviour
Make system.
S103, in mini operating system environment, image file is downloaded from server by HTTP, and based on downloading
Image file installation has the final operating system of separately operable property, and switches the mini operating system to final operation system
System.
Wherein, image file includes the kernel file and file system files for starting final operating system.
In a possible implementation, in step S103 in mini operating system environment, by HTTP from server
Image file is downloaded, may include:
In mini operating system environment, carry networking component (such as network interface card);
When getting IP address from server by DHCP based on the networking component, recorded according in starting configuration file
Image file address by HTTP from the server download image file.
In a possible implementation, this method can also include:
It is had not been obtained from server to IP address when being based on networking component by DHCP, or is downloaded by HTTP from server
When image file fails, prompt operating system of user starting abnormal.
In a possible implementation, in step S103 in mini operating system environment, the mirror image text based on downloading
Part installation has the final operating system of separately operable property, may include:
In mini operating system environment, the image file of downloading is decompressed into the memory of client, and will be after decompression
Image file is as the final operating system with separately operable property.
Specifically, it can be divided in the memory of client according to the size for the image file recorded in starting configuration file
A part of memory headroom, and it is isolated with other memory headrooms, the image file for then decompressing downloading is empty to the partial memory
Between.
It should be pointed out that above-mentioned starting guidance file, starting configuration file, kernel file, mini file system files
It is commonly stored in the hard disk of server with the source file of image file, in order to improve the reading speed of source file, the disclosure is real
It applies in example after server starting, starting can be guided by file, starting configuration text using memory hard disk technology (ramdisk)
At least one of part, kernel file, mini file system files and image file file is stored in the memory of server, such as
Starting guidance file, starting configuration file, kernel file, mini file system files and image file can be all stored in
In the memory of server.
In order to better understand, the operation stream of mini operating system in the embodiment of the present disclosure is illustrated below with reference to Fig. 3
Journey.
After mini os starting, it can be performed automatically following steps:
S201, carry networking component;
Whether S202, judgement get IP address from server by DHCP based on the networking component;If with getting IP
Location executes step S203, if IP address has not been obtained, executes step S206;
S203, mirror image is downloaded from the server by HTTP according to the address for the image file recorded in starting configuration file
File;
S204, judge to download whether image file succeeds;If downloading image file success, step S205 is executed, if downloading
Image file failure, executes step S206;
S205, the image file installation based on downloading have the final operating system of separately operable property, and switch the fan
Your operating system is to final operating system;
S206, prompt operating system of user starting are abnormal.
The technical solution that the embodiment of the present disclosure provides in order to better understand, illustrates the embodiment of the present disclosure below with reference to Fig. 4
The overall startup process of middle operating system:
S301, client terminal start-up PXE;
S302, client send IP address request message to server;
Wherein, IP address request message carries the MAC Address of client.
S303, server are that the client distributes IP address, and the IP address is associated with the MAC Address of client;
Here, just can determine which MAC Address with having distributed IP by the way that the IP address to be associated with the MAC Address of client
Location, so as to avoid duplicate allocation.
S304, server return to IP address response message to client by DHCP;
Wherein, IP address response message carries the address of IP address and starting guidance file.
S305, client send starting bootfile download request message to server;
Wherein, starting bootfile download request message carries the address of starting guidance file.
S306, server guide the starting by TFTP the starting at the address of file file is guided to be sent to client
End;
Wherein, the download priority of starting configuration file is recorded in starting guidance file, starts the address of configuration file
With the naming rule of starting configuration file.The download priority of starting configuration file can be used property parameters and be defined, example
Such as: download priority sequence can be set to: UUID (Universally Unique Identifier) > MAC > IP > default.
S307, client determine the title of starting configuration file based on the naming rule of starting configuration file;
Wherein, the title for starting configuration file includes the property parameters of the client, such as: assuming that the UUID of client:
XXX-XXX-XXX-XXXXX, MAC:FF-FF-FF-FF-FF-FF, IP:100.101.102.103 start the name of configuration file
Rule are as follows: the title of cfg-UUID, cfg-MAC, cfg-IP, cfg-default, the starting configuration file of the client can be with
Are as follows: cfg-XXX-XXX-XXX-XXXXX, cfg-FF-FF-FF-FF-FF-FF, cfg-100, cfg-default.
S308, client based on starting configuration file download priority send starting configuration file downloading request message to
Server;
Wherein, starting configuration file downloading request message carries the address for starting configuration file and current priority is corresponding
Start the title (such as cfg-XXX-XXX-XXX-XXXXX) of configuration file, the corresponding starting configuration file of current priority
Title includes the corresponding property parameters of current priority.
S309, server are searched whether according to the address of the starting configuration file received and the title of starting configuration file
There are the corresponding starting configuration files of the title of the starting configuration file;If it exists, S310 is thened follow the steps, if it does not exist, then
Execute step S319;
The starting configuration file found is sent to client by TFTP by S310, server;
Wherein, start in configuration file and record the address of kernel file, the address of mini file system files and mirror image
The address of file.
S311, client send kernel file downloading request message to server;
Wherein, kernel file downloading request message carries the address of kernel file.
Kernel file at the address of the kernel file is sent to client by TFTP by S312, server;
S313, client send mini file system files downloading request message to server;
Wherein, mini file system files downloading request message carries the address of mini file system files.
S314, server are sent the mini file system files at the address of the mini file system files by TFTP
To client;
S315, client are based on kernel file and mini file system files start mini operating system;
S316, in mini operating system environment, client send image file downloading request message to server;
Wherein, image file downloading request message carries the address of image file.
Image file at the address of the image file is sent to client by HTTP by S317, server;
S318, in mini operating system environment, client based on downloading image file installation have it is separately operable
The final operating system of property, and switch the mini operating system to final operating system;
S319, server return to the message that the corresponding starting configuration file of title of the starting configuration file is not present to visitor
Family end;
Client receives the corresponding message for starting configuration file of title there is no the starting configuration file, continues
Execute step S308, that is to say, that will then request the corresponding starting configuration file of cfg-FF-FF-FF-FF-FF-FF.
Based on the same inventive concept, referring to Fig. 5, the embodiment of the present disclosure additionally provides a kind of starter of operating system,
The device includes: PXE starting module 11, download module 12, first processing module 13 and Second processing module 14.
Wherein, PXE starting module 11, for starting PXE;
Download module 12, for by TFTP from server get starting guidance file and starting configuration file after,
Kernel file and mini file system files are downloaded from server by TFTP based on starting guidance file and starting configuration file;
First processing module 13, for starting mini operating system based on kernel file and mini file system files;
Second processing module 14, for downloading image file from server by HTTP in mini operating system environment,
And the image file installation based on downloading has the final operating system of separately operable property, and switches the mini operating system
To final operating system.
In a possible implementation, Second processing module 14 can be used for:
In mini operating system environment, carry networking component;
When getting IP address from server by DHCP based on the networking component, recorded according in starting configuration file
Image file address by HTTP from the server download image file.
In a possible implementation, as shown in fig. 6, above-mentioned apparatus can also include:
Cue module 15 is had not been obtained to IP address from server by DHCP based on networking component for working as, or passed through
When HTTP fails from server downloading image file, prompt operating system of user starting abnormal.
In a possible implementation, Second processing module 14 can be used for:
In mini operating system environment, the image file of downloading is decompressed into the memory of client, and will be after decompression
Image file is as the final operating system with separately operable property.
Wherein, in starting guidance file, starting configuration file, kernel file, mini file system files and image file
At least one file can store in the memory of server.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
Based on the same inventive concept, the embodiment of the present disclosure additionally provides a kind of storage medium, is stored thereon with computer journey
Sequence realizes the step of the starting method of the operating system in above-mentioned any possible implementation when described program is executed by processor
Suddenly.
Optionally, which is specifically as follows memory.
Based on the same inventive concept, referring to Fig. 7, the embodiment of the present disclosure additionally provides a kind of client, including memory 61
(such as nonvolatile memory), processor 62 and it is stored in the computer journey that can be run on memory 61 and on the processor 62
Sequence, processor 62 realize the step of the starting method of the operating system in above-mentioned any possible implementation when executing described program
Suddenly.
As shown in fig. 7, the client generally can also include: memory 63, network interface 64 and internal bus 65.It removes
Outside these components, it can also include other hardware, this is repeated no more.
It should be pointed out that the starter of aforesaid operations system can be anticipated by software realization as a logic
Device in justice is to be referred to the computer program stored in nonvolatile memory by the processor 62 of the client where it
It enables and reads what operation in memory 63 was formed.
Theme described in this specification and the embodiment of feature operation can be realized in the following: Fundamental Digital Circuit,
Computer software or firmware, the computer including structure disclosed in this specification and its structural equivalents of tangible embodiment are hard
The combination of part or one or more of which.The embodiment of theme described in this specification can be implemented as one or
Multiple computer programs, i.e. coding are executed by data processing equipment on tangible non-transitory program carrier or are controlled at data
Manage one or more modules in the computer program instructions of the operation of device.Alternatively, or in addition, program instruction can be with
It is coded on manually generated transmitting signal, such as electricity, light or electromagnetic signal that machine generates, the signal are generated will believe
Breath encodes and is transferred to suitable receiver apparatus to be executed by data processing equipment.Computer storage medium can be machine can
Read storage equipment, machine readable storage substrate, random or serial access memory equipment or one or more of which group
It closes.
Processing described in this specification and logic flow can by execute one of one or more computer programs or
Multiple programmable calculators execute, to execute corresponding function by the way that output is operated and generated according to input data.Institute
It states processing and logic flow can also be by dedicated logic circuit-such as FPGA (field programmable gate array) or ASIC (dedicated collection
At circuit) Lai Zhihang, and device also can be implemented as dedicated logic circuit.
The computer for being suitable for carrying out computer program includes, for example, general and/or special microprocessor or it is any its
The central processing unit of his type.In general, central processing unit will refer to from read-only memory and/or random access memory reception
Order and data.The basic module of computer includes central processing unit for being practiced or carried out instruction and for storing instruction
With one or more memory devices of data.In general, computer will also be including one or more great Rong for storing data
Amount storage equipment, such as disk, magneto-optic disk or CD etc. or computer will be coupled operationally with this mass-memory unit
To receive from it data or have both at the same time to its transmission data or two kinds of situations.However, computer is not required to have in this way
Equipment.In addition, computer can be embedded in another equipment, such as mobile phone, personal digital assistant (PDA), mobile sound
Frequency or video player, game console, global positioning system (GPS) receiver or such as universal serial bus (USB) flash memory
The portable memory apparatus of driver, names just a few.
It is suitable for storing computer program instructions and the computer-readable medium of data including the non-volatile of form of ownership
Memory, medium and memory devices, for example including semiconductor memory devices (such as EPROM, EEPROM and flash memory device),
Disk (such as internal hard drive or removable disk), magneto-optic disk and CD ROM and DVD-ROM disk.Processor and memory can be by special
It is supplemented or is incorporated in dedicated logic circuit with logic circuit.
Although this specification includes many specific implementation details, these are not necessarily to be construed as the model for limiting any invention
It encloses or range claimed, and is primarily used for describing the feature of the specific embodiment of specific invention.In this specification
Certain features described in multiple embodiments can also be combined implementation in a single embodiment.On the other hand, individually implementing
Various features described in example can also be performed separately in various embodiments or be implemented with any suitable sub-portfolio.This
Outside, although feature can work in certain combinations as described above and even initially so be claimed, institute is come from
One or more features in claimed combination can be removed from the combination in some cases, and claimed
Combination can be directed toward the modification of sub-portfolio or sub-portfolio.
Similarly, although depicting operation in the accompanying drawings with particular order, this is understood not to require these behaviour
Make the particular order shown in execute or sequentially carry out or require the operation of all illustrations to be performed, to realize desired knot
Fruit.In some cases, multitask and parallel processing may be advantageous.In addition, the various system modules in above-described embodiment
Separation with component is understood not to be required to such separation in all embodiments, and it is to be understood that described
Program assembly and system can be usually integrated in together in single software product, or be packaged into multiple software product.
The specific embodiment of theme has been described as a result,.Other embodiments are within the scope of the appended claims.?
In some cases, the movement recorded in claims can be executed in different order and still realize desired result.This
Outside, the processing described in attached drawing and it is nonessential shown in particular order or sequential order, to realize desired result.In certain realities
In existing, multitask and parallel processing be may be advantageous.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all essences in the disclosure
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of disclosure protection.
Claims (12)
1. a kind of starting method of operating system, which is characterized in that the described method includes:
Start Pre-boot Execution Environment PXE, starting guidance text is being got from server by plain text transport protocol TFTP
After part and starting configuration file, downloaded by TFTP from the server based on starting guidance file and starting configuration file
Kernel file and mini file system files;
Start mini operating system based on the kernel file and mini file system files;
In the mini operating system environment, image file is downloaded from the server by hypertext transfer protocol HTTP,
And the image file installation based on downloading has the final operating system of separately operable property, and switches the mini behaviour
Make system to the final operating system.
2. passing through the method according to claim 1, wherein described in the mini operating system environment
HTTP downloads image file from the server, comprising:
In the mini operating system environment, carry networking component;
When getting IP address from the server by dynamic host configuration protocol DHCP based on the networking component, according to
The address for the image file recorded in the starting configuration file image file is downloaded from the server by HTTP.
3. according to the method described in claim 2, it is characterized in that, this method further include:
It is had not been obtained from the server to IP address when being based on the networking component by DHCP, or passes through HTTP from the clothes
When business device downloading image file failure, operating system of user starting exception is prompted.
4. being based on down the method according to claim 1, wherein described in the mini operating system environment
The image file installation carried has the final operating system of separately operable property, comprising:
In the mini operating system environment, the image file of downloading is decompressed into the memory of client, and will decompression
The image file afterwards is as the final operating system with separately operable property.
5. the method according to claim 1, wherein the starting guides file, the starting configuration file, institute
It states at least one of kernel file, the mini file system files and image file file and is stored in the server
In memory.
6. a kind of starter of operating system, which is characterized in that described device includes:
PXE starting module, for starting Pre-boot Execution Environment PXE;
Download module, for by plain text transport protocol TFTP from server get starting guidance file and starting match
After setting file, based on the starting guidance file and starting configuration file by TFTP from the server download kernel file with
Mini file system files;
First processing module, for starting mini operating system based on the kernel file and mini file system files;
Second processing module, in the mini operating system environment, by hypertext transfer protocol HTTP from the clothes
Be engaged in device downloading image file, and final operation system of the installation of the image file based on downloading with separately operable property
System, and switch the mini operating system to the final operating system.
7. device according to claim 6, which is characterized in that the Second processing module is used for:
In the mini operating system environment, carry networking component;
When getting IP address from the server by dynamic host configuration protocol DHCP based on the networking component, according to
The address for the image file recorded in the starting configuration file image file is downloaded from the server by HTTP.
8. device according to claim 7, which is characterized in that described device further include:
Cue module is had not been obtained from the server to IP address, Huo Zhetong based on the networking component by DHCP for working as
HTTP is crossed from when server downloading image file failure, prompts operating system of user starting abnormal.
9. device according to claim 6, which is characterized in that the Second processing module is used for:
In the mini operating system environment, the image file of downloading is decompressed into the memory of client, and will decompression
The image file afterwards is as the final operating system with separately operable property.
10. device according to claim 6, which is characterized in that starting guidance file, the starting configuration file,
At least one of the kernel file, the mini file system files and image file file is stored in the server
Memory in.
11. a kind of storage medium, is stored thereon with computer program, which is characterized in that real when described program is executed by processor
The step of any one of existing claim 1-5 the method.
12. a kind of client including memory, processor and stores the computer that can be run on a memory and on a processor
Program, which is characterized in that the processor realizes the step of any one of claim 1-5 the method when executing described program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910227478.0A CN109992311B (en) | 2019-03-25 | 2019-03-25 | Starting method and device of operating system, storage medium and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910227478.0A CN109992311B (en) | 2019-03-25 | 2019-03-25 | Starting method and device of operating system, storage medium and client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109992311A true CN109992311A (en) | 2019-07-09 |
CN109992311B CN109992311B (en) | 2022-07-29 |
Family
ID=67131401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910227478.0A Active CN109992311B (en) | 2019-03-25 | 2019-03-25 | Starting method and device of operating system, storage medium and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109992311B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110673992A (en) * | 2019-09-16 | 2020-01-10 | 苏州浪潮智能科技有限公司 | Multi-mirror image fusion self-starting method and system |
CN111475210A (en) * | 2020-03-20 | 2020-07-31 | 烽火通信科技股份有限公司 | Method and system for booting PXE (PCI extensions for instrumentation) by using memory without disk |
CN111683145A (en) * | 2020-06-08 | 2020-09-18 | 中国工商银行股份有限公司 | Configuration method of client device, electronic device and medium |
CN111736909A (en) * | 2020-06-24 | 2020-10-02 | 平安科技(深圳)有限公司 | Starting method and device of operating system, computer equipment and storage medium |
CN113259434A (en) * | 2021-05-13 | 2021-08-13 | 浪潮商用机器有限公司 | Remote operation system installation method, device, equipment and storage medium |
CN113645046A (en) * | 2021-06-30 | 2021-11-12 | 浪潮电子信息产业股份有限公司 | Network card driver installation method, main server and medium |
CN113900721A (en) * | 2021-10-15 | 2022-01-07 | 北京字节跳动网络技术有限公司 | Operating system starting method and device and electronic equipment |
CN114489702A (en) * | 2022-01-29 | 2022-05-13 | 北京有竹居网络技术有限公司 | Method, device, medium and electronic equipment for installing operating system |
US20230012979A1 (en) * | 2021-07-19 | 2023-01-19 | Dell Products L.P. | Containerized firmware services |
WO2023061287A1 (en) * | 2021-10-15 | 2023-04-20 | 北京字节跳动网络技术有限公司 | Operating system startup method and apparatus, and electronic device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101876940A (en) * | 2009-11-30 | 2010-11-03 | 北京飞天诚信科技有限公司 | Automatic test method and device |
CN102843397A (en) * | 2011-06-23 | 2012-12-26 | 神讯电脑(昆山)有限公司 | Distributed system and distributed method for automatically copying hard disk |
US20130263083A1 (en) * | 2012-04-02 | 2013-10-03 | Kony Solutions, Inc. | Systems and methods for application development |
CN103984575A (en) * | 2014-05-28 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Rapid deployment method of cluster Linux operation system in cloud-computing environment |
CN104035876A (en) * | 2014-07-02 | 2014-09-10 | 浪潮电子信息产业股份有限公司 | Method for implementing LINPACK cluster test in IB network environment based on PXE, SHELL and EXPECT |
CN106911729A (en) * | 2015-12-22 | 2017-06-30 | 中电科技(北京)有限公司 | A kind of operating system remote installation method suitable for domestic processor |
CN107172161A (en) * | 2017-05-24 | 2017-09-15 | 郑州云海信息技术有限公司 | A kind of method of rapid installing operating system, client and server cluster |
CN107800580A (en) * | 2016-08-30 | 2018-03-13 | 北京神州泰岳软件股份有限公司 | A kind of installment state monitoring method, server and the system of high-volume operating system |
CN108008962A (en) * | 2017-12-12 | 2018-05-08 | 郑州云海信息技术有限公司 | The collocation method and system of PXE server under a kind of linux system |
CN109144607A (en) * | 2018-08-06 | 2019-01-04 | 成都知道创宇信息技术有限公司 | A kind of large-scale server automatic deployment and configuration method |
CN109375953A (en) * | 2018-09-03 | 2019-02-22 | 新华三技术有限公司 | A kind of os starting method and device |
-
2019
- 2019-03-25 CN CN201910227478.0A patent/CN109992311B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101876940A (en) * | 2009-11-30 | 2010-11-03 | 北京飞天诚信科技有限公司 | Automatic test method and device |
CN102843397A (en) * | 2011-06-23 | 2012-12-26 | 神讯电脑(昆山)有限公司 | Distributed system and distributed method for automatically copying hard disk |
US20130263083A1 (en) * | 2012-04-02 | 2013-10-03 | Kony Solutions, Inc. | Systems and methods for application development |
CN103984575A (en) * | 2014-05-28 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Rapid deployment method of cluster Linux operation system in cloud-computing environment |
CN104035876A (en) * | 2014-07-02 | 2014-09-10 | 浪潮电子信息产业股份有限公司 | Method for implementing LINPACK cluster test in IB network environment based on PXE, SHELL and EXPECT |
CN106911729A (en) * | 2015-12-22 | 2017-06-30 | 中电科技(北京)有限公司 | A kind of operating system remote installation method suitable for domestic processor |
CN107800580A (en) * | 2016-08-30 | 2018-03-13 | 北京神州泰岳软件股份有限公司 | A kind of installment state monitoring method, server and the system of high-volume operating system |
CN107172161A (en) * | 2017-05-24 | 2017-09-15 | 郑州云海信息技术有限公司 | A kind of method of rapid installing operating system, client and server cluster |
CN108008962A (en) * | 2017-12-12 | 2018-05-08 | 郑州云海信息技术有限公司 | The collocation method and system of PXE server under a kind of linux system |
CN109144607A (en) * | 2018-08-06 | 2019-01-04 | 成都知道创宇信息技术有限公司 | A kind of large-scale server automatic deployment and configuration method |
CN109375953A (en) * | 2018-09-03 | 2019-02-22 | 新华三技术有限公司 | A kind of os starting method and device |
Non-Patent Citations (3)
Title |
---|
SUMIT JAIN.ETC: ""IHMU: Remote installation of OS/ system software/ application software/ patch installation/ version anomaly detection and system health monitoring in distributed system"", 《2017 3RD INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE & COMMUNICATION TECHNOLOGY (CICT)》 * |
朱华清: ""基于PXE的无盘网络的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
王鸿博: ""基于PXE的远程系统备份/还原模块设计与安全性认证"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110673992A (en) * | 2019-09-16 | 2020-01-10 | 苏州浪潮智能科技有限公司 | Multi-mirror image fusion self-starting method and system |
CN111475210A (en) * | 2020-03-20 | 2020-07-31 | 烽火通信科技股份有限公司 | Method and system for booting PXE (PCI extensions for instrumentation) by using memory without disk |
CN111683145A (en) * | 2020-06-08 | 2020-09-18 | 中国工商银行股份有限公司 | Configuration method of client device, electronic device and medium |
CN111736909A (en) * | 2020-06-24 | 2020-10-02 | 平安科技(深圳)有限公司 | Starting method and device of operating system, computer equipment and storage medium |
CN113259434A (en) * | 2021-05-13 | 2021-08-13 | 浪潮商用机器有限公司 | Remote operation system installation method, device, equipment and storage medium |
CN113645046B (en) * | 2021-06-30 | 2023-06-02 | 浪潮电子信息产业股份有限公司 | Network card driver installation method, main server and medium |
CN113645046A (en) * | 2021-06-30 | 2021-11-12 | 浪潮电子信息产业股份有限公司 | Network card driver installation method, main server and medium |
US11922176B2 (en) * | 2021-07-19 | 2024-03-05 | Dell Products L.P. | Containerized firmware services |
US20230012979A1 (en) * | 2021-07-19 | 2023-01-19 | Dell Products L.P. | Containerized firmware services |
CN113900721A (en) * | 2021-10-15 | 2022-01-07 | 北京字节跳动网络技术有限公司 | Operating system starting method and device and electronic equipment |
WO2023061287A1 (en) * | 2021-10-15 | 2023-04-20 | 北京字节跳动网络技术有限公司 | Operating system startup method and apparatus, and electronic device |
CN114489702B (en) * | 2022-01-29 | 2023-09-15 | 北京有竹居网络技术有限公司 | Method, device, medium and electronic equipment for installing operating system |
CN114489702A (en) * | 2022-01-29 | 2022-05-13 | 北京有竹居网络技术有限公司 | Method, device, medium and electronic equipment for installing operating system |
Also Published As
Publication number | Publication date |
---|---|
CN109992311B (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109992311A (en) | Starting method, apparatus, storage medium and the client of operating system | |
JP5805621B2 (en) | Device-dependent on-demand compilation and deployment of mobile applications | |
US11012385B2 (en) | App powered extensibility of messages on an existing messaging service | |
KR101496875B1 (en) | Apparatus and methods for retrieving/downloading content on a communication device | |
CN101438266A (en) | Booting an operating system in discrete stages | |
US20070245134A1 (en) | Testing device and testing method for computer | |
CN111921186B (en) | Sharing method, device and system for cloud game peripheral | |
CN103677807A (en) | Customizing program logic for booting a system | |
CN103716656A (en) | Video loading method and electronic device | |
US20130227565A1 (en) | Apparatus and method for managing application for guest operating system | |
CN110297658B (en) | Function component sharing method and device and computer equipment | |
CN104216998A (en) | Method and device for recommending application program and terminal equipment | |
US9253228B2 (en) | Cloud computing method, computing apparatus and server using the same | |
CN111796860A (en) | Micro front-end scheme implementation method and device | |
CN101593122A (en) | A kind of startup method and apparatus of embedded system | |
CN107861732A (en) | Application program silence update method and device | |
CN108810631A (en) | Playback method, device, electronic equipment and the computer storage media of startup advertisement | |
EP3848800B1 (en) | Method and apparatus for displaying message box, terminal and storage medium | |
CN104809122A (en) | Method and device for visiting web pages | |
CN112019781A (en) | Television function display method, storage medium and television terminal | |
CN104883398A (en) | File download method, device and system | |
CN112423099A (en) | Video loading method and device and electronic equipment | |
JP2009065553A (en) | Application management server and application program | |
US20130143667A1 (en) | Game system, game apparatus, storage medium and game controlling method | |
US20110124327A1 (en) | Method for Telecommunications Device Synchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230614 Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |