CN1121008C - Remoteboot method of computer in network environment - Google Patents
Remoteboot method of computer in network environment Download PDFInfo
- Publication number
- CN1121008C CN1121008C CN 01142033 CN01142033A CN1121008C CN 1121008 C CN1121008 C CN 1121008C CN 01142033 CN01142033 CN 01142033 CN 01142033 A CN01142033 A CN 01142033A CN 1121008 C CN1121008 C CN 1121008C
- Authority
- CN
- China
- Prior art keywords
- client
- host
- server
- protocol
- option
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 210
- 238000013515 script Methods 0.000 claims abstract description 90
- 230000005540 biological transmission Effects 0.000 claims abstract description 86
- 230000015654 memory Effects 0.000 claims abstract description 77
- 230000008569 process Effects 0.000 claims description 127
- 230000004913 activation Effects 0.000 claims description 20
- 230000004044 response Effects 0.000 claims description 11
- 238000012384 transportation and delivery Methods 0.000 claims description 8
- 238000012546 transfer Methods 0.000 claims description 6
- 238000004064 recycling Methods 0.000 claims description 5
- 230000003139 buffering effect Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 3
- 230000000717 retained effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 14
- 238000013404 process transfer Methods 0.000 description 12
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 description 8
- 238000012360 testing method Methods 0.000 description 7
- 235000008694 Humulus lupulus Nutrition 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 2
- 210000001072 colon Anatomy 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000036961 partial effect Effects 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 206010019233 Headaches Diseases 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000006854 communication Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 235000014510 cooky Nutrition 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 231100000869 headache Toxicity 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 230000000116 mitigating effect Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
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/4416—Network booting; Remote initial program loading [RIPL]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention belongs to the field of computer networks. The steps comprise that after a computer is switched on and is started, initial starting codes in a read only memory use a dynamic host configuration expansion protocol for obtaining an identifier of the computer of a client end; then, a driving program transmission protocol is used for downloading a script language interpretive execution program from a server and loading execution; under the environment of script language explanation interpretive execution, the client end makes a user select an operating system which needs loading through the interpretive execution to a language script; the client end uses the driving program transmission protocol for downloading a core mirror image in the operating system from the server for loading execution; consequently, the remote start-up of the computer is realized. The present invention has the characteristics of reliability, safety, high efficiency and simple use, and can support the start-up of a plurality of operating systems. The present invention can be used for the remote start-up of network computers and the operating systems of PC, and can also be used for the remote start-up of intelligent household electric appliances. The present invention has a good application prospect in the field of information household electric appliances.
Description
Technical field
The invention belongs to computer network field, particularly the method for net environment computer remote startup.
Background technology
The appearance of personal computer, so that computer becomes more handy than the mainframe computer in past, friendly interface, thus make computer come into human daily life. Yet along with the development of computer, software is more and more huger, from and make the maintenance workload of computer very large. The maintenance management of this Public Computer Room of enterprise and school especially makes the system manager feel the problem of headache. Therefore, people are seeking a kind of method always, and hope can alleviate the workload of maintenance calculations machine system, make the use of computer more and more simpler, and can reduce cost again.
The appearance of computer network, so that variation has occured the computation schema of PC, by the calculating of original dispersion, each incoherent independently computer system has developed into mutually intercoming, and carries out the network system of resource-sharing. This is for addressing the above problem the basis that a technology is provided.
It is exactly the starting method that is based upon a kind of computer on the computer networking technology basis that computer remote starts. Its basic operation principle is that system is connected to network, and then downloads operating system software by agreement from the server of network and is also carried out. Computer remote starts greatly mitigation system maintenance workload, and can reduce the overall cost of system. Simultaneously, because operating system and other application all be stored on the server, therefore so that terminal system is very healthy and strong.
Computer remote start-up technique, the startup that refers to computer do not need read operation system image from the memory device of this locality, but from the long-range server download software image and carry out in this locality. Produced " non-disk workstation " and other computation schema (such as thin client technology) etc. on the basis of remote activation technology, they are owing to the favor that is highly susceptible to maintenance and management and has been subject to people. Novell, inc. is one of the company of remote activation technology that early releases. It has proposed a kind of RPL for remote activation (Remote Program Load) agreement, but owing to use RPL must use the Novell networking, its order is various, and the installation configuration is very complicated; Support that the RPL technology versatility of WIN95 remote boot is poor, technology is immature, almost has been eliminated.
Because all benefits of remote activation, the remote activation technology that market demand is new especially can be supported the remote activation technology of WIN98. Under this requirement, Intel Company proposed the remote activation technology of a kind of PXE of being called (Preboot Execution Environment) in 1998. The version of up-to-date PXE standard is 2.0. The PXE standard has proposed a kind of new remote start-up method based on ICP/IP protocol bunch. Because PXE is based upon on the basis that becomes the Internet of industrial standard technical specification, so its is stable relatively good. But the PXE technology is also not full-fledged, and market is still among growing up. And the PXE technology is also strong not to the startup support of multiple operating system, and it does not propose the way that multiple operating system starts.
The PXE agreement is a kind of agreement based on CLIENT/SERVER MODEL, is divided into client and server two parts. The basic principle of its startup is at first to use DHCP (DHCP) to obtain the IP address of the machine, the address of startup server, then utilizes TFTP (TFTP) to download start-up routine and execution.
The step of PXE remote activation is as follows:
Step 1: client broadcasting dhcp discover is grouped into the DHCP port 67 of standard. Have option field (option field) in the grouping of this message, the theing contents are as follows of option field:
1) unique identification of client (Universally Unique ID, UUID) label (tag).
2) client universal network equipment interface release label.
3) FTP client FTP architecture label.
4) No. 60 label of DHCP, its implication is classification logotype (Class ID), its value is set to: " PXEClient:Arch:xxxx:UNDI:yyyzzz ".
Step 2:DHCP or DHCP proxy service send DHCPOFFER message by the normal response port 68 to client client are responded. If the DHCP proxy server responds, then the value of client IP address is empty (0.0.0.0). If Dynamic Host Configuration Protocol server responds, then the value of client IP address is virtual value.
If client is not received response, then arrived certain hour after, client will resend broadcast.
Step 3: client records following information from the DHCPOFFER message that it is received:
1) DHCP or the BOOTP client ip address that provides of service and other parameter.
2) from DHCPOFFER, obtain starting server list in the startup server domain of PXE label.
3) if possible, the content of control (Discovery Control) label found in record.
4) if possible, record Multicast Discovery IP address.
Step 4: if client has been selected an IP address that Dynamic Host Configuration Protocol server provides, then it must be replied to the agreement that Dynamic Host Configuration Protocol server sends a request and waiting for server according to the DHCP agreement of standard. If client is used a bootp server response, then can use simply this address.
Step 5: server is selected and found to start to client. The packet that selection and discovery start server may be broadcasted (by port 67), may be multicast (by port 4011), also may be by clean culture (by port 4011). This depends on the value of finding abstract factory in the PXE extension tag of the said DHCPOFFER message in front. The format and content of this grouping is the same with said DHPCDISCOVER message grouping in the step 1, and just the type of message is DHCPREQUEST. This grouping comprises following content:
1) Dynamic Host Configuration Protocol server is distributed to the IP address of client.
2) unique identification of client (UUID) label.
3) client universal network equipment interface release label.
4) FTP client FTP architecture label.
5) No. 60 label of DHCP, its implication are product category signs (Class ID), and its value is set to: " PXEClient:Arch:xxxx:UNDI:yyyzzz ".
6) the startup type of server in the PXE option field.
Step 6: start the mode of server by utilizing clean culture to DHCPACK acknowledgment packet of source port transmission of client. This grouping comprises following content:
1) name of startup file.
2) MTFTP (Multicast Trivial File Transfer Protocol) configuration parameter.
3) other options of network startup program successful execution needs.
Step 7: the executable file of client downloads, this download can be by TFTP agreement (port 69) or the MTFTP agreement (starting the port that distributes in the server acknowledge grouping) of standard. The deposit position of executable code in the client internal memory depends on the architecture of client CPU.
Whether step 8:PXE client need determines the file to downloading to authorize test. If need test, then client sends another DHCPREQUEST message to the startup server that startup file was provided originally, and the request authentication file is downloaded authentication document by TFTP agreement or MTFTP, then carries out and authorizes test.
Step 9: last, if mandate is tested successfully or do not needed to authorize test, then the PXE client terminal start-up is carried out the code of downloading.
The PXE protocol method is owing to adopted the ICP/IP protocol bunch of standard, and is therefore relatively more healthy and stronger, also realizes than being easier to. The configuration of PXE and use make things convenient for manyly than RPL, but it has following deficiency:
One, security. The TFTP agreement is a simple agreement, does not have authentication mechanism, therefore provides the main frame possibility of TFTP service under attack. PXE provides a kind of method by the authentication document mandate to guarantee safety. If but to distort in the coated malice of the process Program of TFTP transmission, the PXE method has no idea to identify.
Its two, PXE realizes by the expansion to DHCP. PXE has not only expanded the option definition of DHCP, also expanded the reciprocal process of DHCP service, this causes the function of Dynamic Host Configuration Protocol server unclear with the function boundary that starts server, is not easy to realize, also is not easy to adopt existing DHCP to serve the service of framework remote activation.
Its three, can not support the startup of multiple operating system. PXE can only allow client select for it startup server of service, can not allow their operating system that need to load of user selection.
Therefore, present popular computer remote start-up technique, at robustness, can not be satisfactory on security and the versatility, and effective support can not be provided the startup of multiple operating system. Therefore can not satisfying the market to the requirement of computer remote start-up technique.
Summary of the invention
The present invention is directed to the deficiencies in the prior art part, proposed the method that a kind of net environment computer remote starts, have reliable, safety, efficient, use is simple, and can support the characteristics of the startup of multiple operating system. Can be used for the remote activation of network computer, the multiple operating system remote activation of PC, can also be used for the remote activation of intelligent appliance, in the information household appliances field good application prospect is arranged.
Method of the present invention is divided into server and client side's two parts based on CLIENT/SERVER MODEL. Here said server and client side is the concept of a service model. Server refers to provide the computer of remote activation service, usually be referred to as to start server, and client need to refer to the computer of remote activation.
The method that a kind of net environment computer remote that the present invention proposes starts, at first on the computer motherboard of client or network interface card a read-only storage (ROM) or EPROM (EPROM) are set, may further comprise the steps during remote activation:
1) the initial start code in the read-only storage powers up at this computer and starts the rear sign of using DynamicHost configuration Extended Protocol (DynamicHost configuration Extended Protocol is to carry out self-defined obtaining by the option to dynamic host configuration protocol DHCP) acquisition client computer;
2) then download a script by the active process host-host protocol from server and explain performing a programme and load and execution;
3) explain under the environment of carrying out at this script that client is carried out the operating system that user selection need to be loaded by the explanation to language scripts;
4) client recycling active process host-host protocol is downloaded kernel mirror image and the load and execution of operating system from server, thereby has realized the computer remote startup.
Wherein 2) and 4) employed host-host protocol can be existing any host-host protocol in the step, such as TFTP. Step 3) script in both can be the script that proposes in the embodiment of the present invention, also can be existing other a kind of scripts.
The detailed step of net environment computer remote starting method of the present invention as shown in Figure 1, wherein:
(1) the initial start code is initialized: this process comprises legitimacy and the integrality that checks code self; Initialize the machine environment and network environment etc.;
(2) the initial start code drives network interface card work, and the grouping of broadcasting dhcp discover, the IP address of request the machine, and gateway address starts server address, and script is explained the signs such as performing a programme;
(3) after server receives the dhcp discover grouping, check No. 60 and No. 43 options, if the message grouping of DynamicHost configuration Extended Protocol then sends the DHCPOFFER message grouping of replying to client; Message grouping if not DynamicHost configuration Extended Protocol then abandons it;
(4) after client is received the grouping of DHCPOFFER message, verify the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of this message, if this message grouping is the message grouping of DynamicHost configuration Extended Protocol, then record relevant DHCP parameter, server address, script is explained the contents such as performing a programme, otherwise abandons this message grouping, and the agreement of simultaneously user end to server transmission DHCPREQUEST message grouping and waiting for server is replied;
(5) after server is received the grouping of DHCPREQUEST message, send the grouping of DHCPACK message as replying to client.
(1) after client is received the grouping of DHCPACK message, verify the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of this message, if this message grouping is the message grouping of DynamicHost configuration Extended Protocol, then records relevant content, otherwise abandon this message grouping; Client is sent the transmission request of request Download Script linguistic interpretation performing a programme to server according to the content of returning simultaneously;
(2) after server receives the request of program transmission service of client, utilize the unicast or multicast mode of active process host-host protocol to transmit script to client and explain performing a programme.
(3) the complete script of client is explained performing a programme, and it is stored in the local internal memory; Client load and execution script is explained performing a programme, initial start code delivery system control, and script is explained the environment that the linguistic interpretation of performing a programme initializtion script is carried out;
(4) the environment interpretation execution language script of client script linguistic interpretation execution, in this stage, the user uses keyboard need to select the operating system of loading.
(1) client is sent the program transmission request of request down operation system kernel mirror image according to program name, path or the summary of the kernel mirror image of the operating system of user selection to server;
(2) after server receives the request of the program transmission service that client sends, utilize the unicast or multicast mode of active process host-host protocol to client transfer operation system kernel mirror image;
(3) client operating system nucleus mirror image and it is stored in the local internal memory, client recycling multiple operating system loader load and execution operating system nucleus mirror image, so far, the operating system loaded.
The composition of above-mentioned said initial start code comprises four following parts as shown in Figure 2:
1) network interface card drives and related protocol;
2) client code of DynamicHost configuration Extended Protocol;
3) active process host-host protocol client code;
4) script is explained the performing a programme loader.
The process that the initial start code starts as shown in Figure 3, its step comprises:
1) computer powers up;
2) initial start code ROM initializes;
3) carry out BIOS INT 19h;
4) integrality of initial start code check self code;
5) the local initialization;
6) initialize network environment.
Above-mentioned said DynamicHost configuration Extended Protocol carries out self-defined obtaining to the option of dynamic host configuration protocol DHCP, comprises following content:
1) tag number is 60 option, and the value of this option is defined as " MRBM-EDHCPSEClient ";
2) tag number is 43 option, and the value of this option is defined as " 03:05:08:00:00:00:ff:ff ";
3) tag number is 165 option, and this option is used for passing to the parameter that script is explained performing a programme;
4) tag number is 138 option, the multicast address that this option is defined as the active process host-host protocol when carrying out transmission procedure;
5) tag number is 139 option, the implication of this option be the active process host-host protocol during with multicast mode transmission procedure client monitor the udp port of active process transmission protocol data bag;
6) tag number is 140 option, the implication of this option be the active process host-host protocol during with multicast mode transmission procedure server monitor the udp port of active process host-host protocol request;
7) tag number is 141 option, and the implication of this option is that client is retransmitted the time of waiting for before the request of active process host-host protocol;
8) tag number is 142 option, and the implication of this option is the time delay that server is monitored the request of active process host-host protocol;
9) tag number is 143 option, and the implication of this option is the summary that the active process host-host protocol is wanted transmission procedure.
Above-mentioned said active process host-host protocol comprises following three kinds of packets:
1) read request packet;
2) data answering bag;
3) erroneous packets.
The step of active process host-host protocol when the client downloads program is as follows:
1) client is sent read request packet, includes the piece number of the data block of the title of program or summary and request in this packet, is initially 1;
2) after server was received the read request packet of client, whether audit program existed, if exist, then sent packet, otherwise sent erroneous packets;
3) if client is received packet, check then whether the piece in the packet number exists, if exist then abandon this packet, if there is no, then be retained in buffering area. If 512 bytes of data block size less than of receiving then turn 6), otherwise piece number is added 1, turn 1);
4) if client is received wrong bag, then stop transmission course, and prompting user;
5) if client behind certain hour (being determined by the active process transmission latency option in the DHCPACK message grouping), if do not receive the response message of server, re-send request may then is if sending times has arrived 10 times, then stop transmission course, and to user report;
6) if transmission uses is the method for summary, then program is carried out inspection based on summary, if program then turns 8 normally by checking), otherwise turn 7);
7) show that mistake has appearred in transmission course, need to restart transmission, if the number of times that restarts has surpassed 3 times, then stop transmission, and to user report. Otherwise turn 1);
8) transmission is correct, the normal termination transmission course.
The process of above-mentioned said active process host-host protocol client downloads program when multicast, its step is as follows:
1) multicast is monitored;
2) multicast is opened;
3) multicast is closed.
The form of the kernel mirror image of above-mentioned said operating system thes contents are as follows as shown in Figure 7:
1) kernel mirror image sign, present value is 05h, 0ah, 0ah, 05h is as the sign of kernel mirror image;
2) the loading address of kernel mirror image in internal memory;
3) the first executive address of kernel mirror image after the kernel mirror image loading procedure successfully is loaded into the loading address, jumps to the executive address place and carries out, thus the control of delivery system;
4) size of kernel mirror image, this length refer to that kernel mirror image is the size before the decompress(ion);
5) shared memory size behind the kernel mirror image decompress(ion);
6) the authentic data district of program.
The technical characteristics of method of the present invention is:
One, use one section code that is called the initial start code in client, this code resides among the ROM or EPROM of mainboard or network card equipment. The initial start code mainly is comprised of four parts: network interface card drives and relevant procotol code; DynamicHost configuration Extended Protocol client code; Active process host-host protocol client code; Script is explained the performing a programme loader. Server provides service for the startup of client, mainly comprises the program transmission service of DHCP service and active process host-host protocol. By a series of reciprocal process of client and server, realize that client is from the kernel mirror image of the operating system of server download user selection.
Two, use the DHCP of expansion. The impact of the DHCP that other Dynamic Host Configuration Protocol server provide this method on the network, this method utilizes 60 and 43 labels of DHCP to identify the employed DHCP service of this method. This makes this method have reliability. Simultaneously, we are also to 165 of DHCP, the 138-143 label is defined, and the main purpose of this definition is in order to make the active process transmission service can support multicast, thus when reducing by many concurrent startups of computer to the impact of network traffics. This makes this method have very strong extended capability.
Three, the employed active process host-host protocol of this method is simple, safety. This host-host protocol is based on udp protocol, thereby realizes simple. The digital signature technology of active process host-host protocol, defence program is not maliciously tampered in transmission course, has guaranteed transmission accurately and reliably yet. This agreement is a stateless protocol, and it is very healthy and strong so that can automatically recover at the transmission course Computer. Simultaneously, the active process host-host protocol can be supported multicast transmission, has greatly reduced the dependence of this method to the network bandwidth.
Four, script explains that the load and execution of performing a programme provides the environment of a similar operations system for the explanation execution of script. By the explanation of script is carried out, can accept user's input, allow user selection operating system. This is so that this method can be supported the remote activation of multiple operating system.
Five, by the form of operating system nucleus mirror image being unified regulation, this method can be avoided specific operating system and be carried in the inconsistent of the aspect such as Memory Allocation. Thereby reached the effect that can load with consistent method multiple operating system.
Table 1 is method of the present invention and traditional RPL remote start-up method and the comparative result of PXE starting method.
In sum, the inventive method is reliable, safety, efficient, uses simply, and can support the startup of multiple operating system. Can be used for the remote activation of network computer, the multiple operating system remote activation of PC, can also be used for the remote activation of intelligent appliance, in the information household appliances field good application prospect is arranged.
Description of drawings
Fig. 1 is the flow chart that the net environment computer remote that proposes of the present invention starts.
Fig. 2 is the structure chart of present embodiment initial start code.
Fig. 3 is the schematic diagram of present embodiment initial start code start-up course.
Fig. 4 is the schematic diagram of present embodiment active process host-host protocol packet format.
Fig. 5 is the flow chart of present embodiment active process host-host protocol multicast snoop procedure.
Fig. 6 is the flow chart of present embodiment active process host-host protocol multicast opening procedure.
Fig. 7 is the schematic diagram that operating system nucleus mirror-image format of the present invention forms.
The specific embodiment
Below in conjunction with drawings and Examples content of the present invention is described in further detail.
The present invention proposes the embodiment that a kind of net environment computer remote starts method. This embodiment is based on CLIENT/SERVER MODEL, is divided into server and client side's two parts. Server starts service for client computer provides.
The concrete methods of realizing of present embodiment may further comprise the steps:
1 initial start code initializes. This process comprises legitimacy and the integrality that checks code self; Initialize the machine environment and network environment etc.
2 initial start codes drive network interface card work, and the grouping of broadcasting dhcp discover, the IP address of request the machine, and gateway address starts server address, and script is explained performing a programme etc. In the present embodiment, comprise following content in the dhcp discover grouping of client broadcasting:
1) No. 60 label, its implication are product category signs (Class ID), are set to: " MRBM-EDHCPSEClient ".
2) No. 43 label, the implication of this option is the customizing messages relevant with product, is set to " 03:05:08:00:00:00:ff:ff ".
According to above two option field, the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of the message that just can judge a DHCP.
3 servers check No. 60 and No. 43 options after receiving the dhcp discover grouping, if the message grouping of DynamicHost configuration Extended Protocol then sends the DHCPOFFER message grouping of replying to client. Message grouping if not DynamicHost configuration Extended Protocol then abandons it.
After 4 clients are received the grouping of DHCPOFFER message, verify the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of this message, if this message grouping is the message grouping of DynamicHost configuration Extended Protocol, then records relevant information, otherwise abandon this message grouping. The content of its record comprises:
1) client ip address and other parameters that provide of DynamicHost configuration service.
2) address of server.
3) script is explained the program name (if use summary identification, then being the summary of program) of performing a programme.
4) if having, the employed port of client and server during record active process host-host protocol multicast mode.
5) other necessary parameters.
The agreement of simultaneously user end to server transmission DHCPREQUEST message grouping and waiting for server is replied.
After 5 servers are received the grouping of DHCPREQUEST message, send the grouping of DHCPACK message as replying to client. The grouping of this message comprise in have:
1) client ip address and other parameters that provide of DHCP service.
2) address of server.
3) script is explained program name or the summary of performing a programme.
4) the employed port of client and server during active process host-host protocol multicast mode.
5) other parameters.
After 6 clients are received the grouping of DHCPACK message, verify the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of this message, if this message grouping is the message grouping of DynamicHost configuration Extended Protocol, then records relevant content, otherwise abandon this message grouping. Client is sent the transmission request of request Download Script linguistic interpretation performing a programme to server according to the content of returning simultaneously.
After 7 servers receive the request of program transmission service of client, utilize the unicast or multicast mode of active process host-host protocol to transmit script to client and explain performing a programme.
The complete script of 8 clients is explained performing a programme, and it is stored in the local internal memory. Client load and execution script is explained performing a programme, initial start code delivery system control. Script is explained the environment that the linguistic interpretation of performing a programme initializtion script is carried out.
The environment interpretation execution language script that 9 client script linguistic interpretations are carried out, in this stage, the user uses keyboard need to select the operating system of loading.
10 clients refer to program name, path or the summary of operating system mirror image according to the information of the operating system of user selection, send the program transmission request of request down operation system kernel mirror image to server.
11 servers utilize the unicast or multicast mode of active process host-host protocol to client transfer operation system kernel mirror image after receiving the request of the program transmission service that client sends.
12 client operating system nucleus mirror images also are stored in it in local internal memory. Client recycling multiple operating system loader load and execution operating system nucleus mirror image. So far, operating system loaded.
The below is described in detail the enforcement of each step, and provides corresponding embodiment.
The detailed description of the step 1 of present embodiment:
The method of shelving of initial start code.
Start standard (BIOS Boot Specification) according to present standard BIOS, after the computer Power-On Self-Test passes through, mainly can be used for starting the equipment of OS below the search:
1) BIOS consciousness equipment (BIOS Aware IPL Devices, BAID) refers to floppy disk, hard disk and scsi device.
2) PnP card apparatus. Refer generally to the network equipment with optional ROM, the method can be divided into again BCV (Boot Connection Vector) method and BEV (Bootstrap Entry Vector) method. The BCV method utilizes INT 13h hook program to realize. The BEV method is indicated OS loading procedure among the ROM by the start-up routine entrance in PnP extension header (PnP Expansion Header) structure vector (BEV).
3) legacy card equipment. Finger is with the non-PnP card apparatus (for example ISA card apparatus) of optional ROM. The address of the optional ROM of this method must be in the internal memory unified addressing 2k boundary between C0000h and EFFFFh.
Shelving of the initial start code of present embodiment utilizes the BEV method to realize, namely increases the way of an optional ROM at the PnP network interface card. Resident initial start code in this ROM behind the computer Power-On Self-Test, will be given the initial start code control of computer. But from the principle, the resident and startup of initial start code also can realize by the method for distinguishing in above-mentioned. When being used for embedded device, initial start code ROM also can be placed on the mainboard.
The chief component of present embodiment initial start code as shown in Figure 2, the function of various piece is described below respectively:
1) network interface card drives and related protocol. The function of this partial code mainly is to initialize network interface card, makes network interface card work. Different these partial codes of network card equipment are different. In an embodiment of the present invention, the driving code that only has this network interface card on the network equipment among the optional ROM. Relevant agreement mainly is based on the protocol stack of TCP/IP. But in the initial start code of embodiment, be not a complete ICP/IP protocol, this protocol stack has only been realized simple functions (giving out a contract for a project and packet receiving) and the udp protocol of IP layer. There is not in realization the concept in strict accordance with layer yet. These all means all are for can be in the scope of code constraints at 32KB.
2) client code of DynamicHost configuration Extended Protocol. The function of this part mainly is to utilize the DHCP service on DHCP and the server to carry out alternately, thereby obtains correlated identities and other information of the machine. About the particular content in the enforcement of DynamicHost configuration Extended Protocol, we are described in detail in the back.
3) active process host-host protocol client code. The active process host-host protocol is a program host-host protocol, utilizes this protocol client can be from the server the machine that downloads. About the particular content of active process host-host protocol, we will be described in detail in the back.
4) script is explained the performing a programme loader. This loader is mainly used to script and explains performing a programme. Because script explains that the code of performing a programme is short and small, is the explanation execution environment of a script, the function of this part code is fairly simple.
The header structure of initial start code ROM. This header structure is that BIOS and optional ROM carry out mutual descriptive information. The structure of the optional ROM of standard is as shown in table 2:
The header structure of the optional ROM of table 2 standard
Skew | Long | Value | Describe | Remarks |
0h | 2h | AA55 | Signature | Standard |
2h | 1h | Variable | Optional ROM length | Standard |
3h | 4h | Variable | Initialization vector | Standard |
7h | 13 | Variable | Keep | Standard |
1Ah | 2h | Variable | Extension header structure side-play amount | PnP |
For compatible with the optional ROM of standard, only the reserved area is expanded. The header structure of initial start code ROM is as shown in table 3 in the present embodiment:
The header structure of table 3 initial start code ROM
Side-play amount | Length | Title | Content |
0h | 2h | Signature | 55h,0AAh |
2h | 1h | ROM length | Optional ROM length is take 512 bytes as unit |
3h | 4h | Initialize entrance | Initialization vector |
7h | Bh | Keep | Indefinite |
12h | 8h | The initial start marking code | ‘MRBMv1.0’ |
1Ah | 2h | Variable | Extension header structure side-play amount |
The start-up course of present embodiment initial start code as shown in Figure 3. Its step is as follows:
1 computer powers up:
After powering up, computer will carry out self check (Power-On Self Test), i.e. so-called POST process. BIOS will initialize the equipment of computer, and interruption is set, and initializes input-output equipment, and equipment is carried out the distribution etc. of resource. After this work was finished, the operating position of internal memory was as follows:
Table 4 computer powers up the internal memory operating position after video initializes
Base memory address | Length | Describe |
0h | 400h | Interrupt vector table |
400h | 100h | The system bios data segment |
500h | Variable | Idle base memory (subregion may be used by system bios) |
9F800 | Variable | The expanded BIOS data field |
The high memory address | Length | Describe |
A0000h | 20000h | Video RAM (in typical case) |
C0000h | 8000h | Video ROM (in typical case) |
C8000h | Variable | Optional ROM and high memory |
E0000h | 10000h | System bios |
F0000h | 10000h | System bios |
Exented memory | Length | Describe |
100000h | Variable | Idle exented memory |
2 initial start code ROM initialize:
BIOS will be checked through the existence of initial start code ROM in initialized process, and will read the initialization vector among the ROM, see Table 3. Then BIOS will carry out initialization procedure. This initialization procedure will carry out necessary configuration to network interface card. After this process finished, the operating position of internal memory was as follows:
Internal memory operating position after table 5 initial start code ROM initializes
Base memory address | Length | Describe |
0h | 400h | Interrupt vector table |
400h | 100h | The system bios data segment |
500h | Variable | Idle base memory (subregion may be used by system bios) |
9F800 | Variable | The expanded BIOS data field |
The high memory address | Length | Describe |
A0000h | 20000h | Video RAM (in typical case) |
C0000h | 8000h | Video ROM (in typical case) |
C8000h | 8000h | Initial start code ROM |
D0000h | Variable | Other optional ROM and high memories |
E0000h | 10000h | System bios |
F0000h | 10000h | System bios |
Exented memory | Length | Describe |
100000h | Variable | Idle exented memory |
3 carry out BIOS INT 19h:
INT 19h is the final step in the BIOS POST process, the equipment that can start the operating system in the INT 19h scanning system. If can find the starting device of system, INT 19h also transfers control on the starting device start-up routine. INT 19h will according to the extension header structure offset address in the initial start code ROM header structure, find the extension header structure. The extension header structure of PnP device is as shown in table 6:
Table 6 PnP device extension header structure
Side-play amount | Length | Value | Describe | Remarks |
0h | 4 bytes | ‘$PNP’ | The signature sign | Device independent |
04h | Byte | Indefinite | Keep | 01h |
05h | Byte | Indefinite | Length is take 16 bytes as unit | Device independent |
06h | Word | Indefinite | The offset address of next header structure (if not then be 0000h) | Device independent |
08h | Byte | 00h | Keep | Device independent |
09h | Byte | Indefinite | Verification and | Device independent |
0Ah | Double word | Indefinite | Device identification | Relevant with PnP |
0Eh | Word | Indefinite | Producer's character string pointer (optional) | Relevant with PnP |
10h | Word | Indefinite | Product name character string pointer (optional) | Relevant with |
12h | ||||
3 bytes | Indefinite | Device type code | Relevant with PnP | |
15h | Byte | Indefinite | Device indicator | Relevant with PnP |
16h | Word | Indefinite | If BCV vector is not then be 0000h | Relevant with PnP |
18h | Word | Indefinite | Disconnecting vector (Disconnect Vector), then is not 0000h | Relevant with PnP |
1Ah | Word | Indefinite | Start-up routine entry point vector (BEV) is not if then be 0000h | Relevant with PnP |
1Ch | Word | 0000h | Keep | Relevant with PnP |
1Eh | Word | Indefinite | Static resource information vector (Static Resource Information Vector) is not if then be 0000h | Relevant with PnP |
According to the start-up routine entrance in the extension header structure, BIOS jumps to herein and carries out, and arrives this, and the initial start code has been grasped the control of computer.
The integrality of 4 initial start code check codes:
The integrity checking of initial start code mainly is to check by the identity code " AA:00:55:00:FF:FF " to the code ending, guarantees the complete errorless of code. If imperfect, then this process need again reads the initial start code or automatically abandons, and gives INT 19h with control.
5 local initialization:
The initialization of initial start code. The memorymodel of detection computations machine (real pattern or protected mode). If protected mode then needs to switch to real pattern. The initial start code will be set up the code segment of oneself, data segment, stack segment.
6 initialize network environment:
The initial start code starts network interface card starts working, and sets up the ICP/IP protocol stack. Arrive this, the initial start code is started working.
After this process finished, the distribution operating position of internal memory was as follows:
Internal memory operating position after table 7 initial start code ROM starts
The detailed description of the step 2 of present embodiment:
Base memory address | Length | Describe |
0h | 400h | Interrupt vector table |
400h | 100h | The system bios data segment |
500h | Variable | Idle base memory (subregion may be used by system bios) |
95800h | 2000h | The CPU stack segment |
97800h | 4000h | The data segment of initial start code |
9B800h | 4000h | The code segment of initial start code |
9F800h | Variable | The expanded BIOS data field |
The high memory address | Length | Describe |
A0000h | 20000h | Video RAM (in typical case) |
C0000h | 8000h | Video ROM (in typical case) |
C8000h | 8000h | Initial start code ROM |
D0000h | Variable | Other optional ROM and high memories |
E0000h | 10000h | System bios |
F0000h | 10000h | System bios |
Exented memory | Length | Describe |
100000h | Variable | Idle exented memory |
The problem that relates in the step 2 be exactly this method be expanded definition DHCP how, i.e. definition and the usage of DynamicHost configuration Extended Protocol.
DynamicHost configuration Extended Protocol is to obtain by the message field of definition DHCP and the implication of option on the basis of IETF RFC2131. DHCP can provide network configuration parameters for the main frame on the Internet, such as the IP address of computer, and routing iinformation, TTL and maximum bag are long etc. Dhcp packet has been drawn together the content of two aspects, and one is the configuration parameter delivery protocol from the server to the main frame; Another is the mechanism to the host assignment network address. DHCP has two types message, and a kind of is requirement message (BOOTREQUEST), and a kind of is response message (BOOTREPLY). The length in each territory of dynamic host configuration protocol messages packet format (take OCTETS as unit, 8 bits) and implication are as shown in table 8.
The explanation of each territory implication of table 8 dynamic host configuration protocol messages
Domain name | Length | Describe |
| 1 | Message code, 1 is BOOTREQUEST, 2 is |
htype | ||
1 | Hardware address type | |
hlen | 1 | Hardware address length |
hops | 1 | Client is set to 0 with it, if use relay agent, then can use this territory |
xid | 4 | Affairs ID is by the random number of client selection, in order to represent the sign of client and a communication process of |
secs | ||
2 | Filled in by client, its implication is that client is initiated the front number of seconds of waiting for of dhcp process again | |
flags | 2 | Sign, if be broadcasting, then first is ' B ', other are for being 0 |
| 4 | Client ip address only is in BOUND in client, just fills when RENEW or |
yiaddr | ||
4 | Client | |
siaddr | ||
4 | The address that is used for next server of start-up | |
giaddr | ||
4 | The IP address of relay agent | |
chaddr | 16 | Client hardware address |
sname | 64 | The server host name finishes option with NULL |
file | 128 | The startup file name finishes with NULL |
options | Indefinite | Optional parameter field. The detailed description of defined optional parameters is arranged in IETF RFC2132. |
In the present embodiment, utilize DHCP to dispose the host parameter of client, and utilize the file territory to transmit the script that to download and explain performing a programme.
When having a plurality of Dynamic Host Configuration Protocol server on the network, according to the regulation of DHCP, client will select a server to be its service at random. In the present embodiment, this situation will cause confusion. For robustness and the security that strengthens this method, present embodiment has carried out expanded definition to the optional parameters territory of DHCP. Simultaneously, in order to satisfy the requirement of active process host-host protocol multicast, present embodiment also expanded definition some other label. Present embodiment sees Table 9 to the expanded definition of DHCP. Regulation 69 later labels according to IETF RFC2132 all are undefined label.
Table 9 DynamicHost configuration Extended Protocol is to the expanded definition of option field
Tag name | Label | Length | Describe |
Number | |||
Businessman's sign | 60 | 18 | This option is used for showing that this message grouping is the message grouping of DynamicHost configuration Extended Protocol, and its value is necessary for " MRBM-EDHCPSEClient ". |
Businessman's relevant information | 43 | 8 | Service related information, DynamicHost configuration Extended Protocol is defined as " 03:05:08:00:00:00:ff:ff ". Use 60 and 43 two labels, this method can avoid client that the message grouping from non-dynamic host configuration Extended Protocol is responded. |
Type of message | 53 | 1 | Type of message, 1=DHCPDISCOVER, 2=DHCPOFFER, 3=DHCPREQUEST, 4=DHCPDECLINE, 5=DHCPACK, 6=DHCPNAK, 7=DHCPRELEASE, 8=DHCPINFORM |
Script is explained the performing a programme parameter | 165 | Indefinite | Refer to pass to the parameter that script is explained performing a programme. |
Active process host-host protocol multicast address | 138 | 4 | Multicast address during active process transfer protocol server convey program. |
Active process host-host protocol client port | 139 | 2 | Active process host-host protocol client is monitored the udp port of replying when using the multicast mode. |
Active process transfer protocol server port | 140 | 2 | The udp port of active process transfer protocol server interception request when using the multicast mode. |
The active process host-host protocol stand-by period | 141 | 2 | The time of waiting for before the active process host-host protocol client re-send request may, take second as unit. |
The active process host-host protocol is monitored time delay | 142 | 2 | The time delay of active process transfer protocol server interception request, take second as unit. |
Program digest | 143 | Indefinite | The summary of the program that next step active process host-host protocol need to transmit. This summary uses the MD5 one-way Hash function to generate, the accurate transmission of energy assurance program, and the program that also can prevent is maliciously tampered in the process of transmission. |
Dhcp discover grouping by client to standard Dynamic Host Configuration Protocol server udp port 67 broadcast transmissions. The content of DHCPDISCOVER grouping must be according to the regulation of RFC 2131, and adds expansion content of the present invention. Its format and content is as shown in table 10.
Form and the content of the grouping of table 10 dhcp discover
The DHCP head | |||||
Territory (length) | Value | Remarks | |||
op(1) | 1 | BOOTP REQUEST command code | |||
Htype(1) | * | ||||
hlen(1) | * | ||||
hops(1) | * | ||||
xid(4) | * | ||||
secs(2) | * | ||||
flags(2) | * | ||||
ciaddr(4) | 0.0.0.0 | Client must be set to 0.0.0.0 | |||
yiaddr(4) | * | The IP address of client end is provided by server | |||
siaddr(4) | * | Next step provides the server ip address of service | |||
giaddr(4) | * | ||||
chaddr(16) | xx-xx-xx-xx-xx-xx-xx-xx | Client mac address | |||
sname(64) | * | Can be covered by 66 labels in the option | |||
bootfile(128) | * | Can be covered by 67 labels in the option | |||
(99.130.83.99 Magic Cookie, the beginning flag in DHCP option territory) | |||||
Dynamic host machine configuring protocol option | |||||
Tag name | Tag number | Length | Explanation | ||
Type of message | 53 | 1 | 1=DHCPDISCOVER | ||
Message-length | 57 | 2 | Maximum dynamic host configuration protocol messages block length | ||
Businessman's sign | 60 | 18 | This option is used for showing that this message grouping is the message grouping of DynamicHost configuration Extended Protocol, and its value is necessary for " MRBM-EDHCPSEClient " |
Businessman's relevant information | 43 | 8 | Value is " 03:05:08:00:00:00:ff:ff ". |
After client was sent dhcp discover, client must prepare to receive response.
The detailed description of the step 3 of present embodiment:
After server is received the dhcp discover grouping, will send the grouping of DHCPOFFER response message. The format and content of DHCPOFFER message grouping also must be followed the pertinent regulations of RFC 2131 and RFC 2132. The content of DHCPOFFER message grouping is as shown in table 11.
Form and the content of the grouping of table 11DHCPOFFER message
The DHCP head | |||||
Territory (length) | Value | Remarks | |||
op(1) | 2 | BOOTP REPLY command code | |||
htype(1) | * | ||||
hlen(1) | * | ||||
hops(1) | * | ||||
xid(4) | * | ||||
secs(2) | * | ||||
flags(2) | * | ||||
ciaddr(4) | 0.0.0.0 | Server always is set to 0.0.0.0 | |||
yiaddr(4) | a0,a1,a2,a3 | The IP address of client is provided by server | |||
siaddr(4) | a0,a1,a2,a3 | Next step starts the server ip address of server | |||
Giaddr(4) | * | ||||
Chaddr(16) | * | Client mac address | |||
Sname(64) | * | Can be covered by 66 labels in the option | |||
Bootfile(128) | * | Can be covered by 67 labels in the option | |||
99.130.83.99 | |||||
Dynamic host machine configuring protocol option | |||||
Tag name | Tag number | Length | Explanation | ||
Type of message | 53 | 1 | 2=DHCPOFFER | ||
Message-length | 57 | 2 | Maximum dynamic host configuration protocol messages block length | ||
Businessman's sign | 60 | 18 | This option is used for showing that this message grouping is the message grouping of DynamicHost configuration Extended Protocol, and its value is necessary for " MRBM-EDHCPSEClient ". | ||
Businessman's relevant information | 43 | 8 | Value is " 03:05:08:00:00:00:ff:ff ". | ||
Script is explained the performing a programme parameter | 165 | Indefinite | Refer to pass to the parameter that script is explained performing a programme. | ||
Active process host-host protocol multicast address | 138 | 4 | Multicast address when the active process transfer protocol server transmits file. When not using the Multicast function of active process host-host protocol, this label does not use. | ||
Active process host-host protocol client port | 139 | 2 | Active process host-host protocol client is monitored the udp port of replying when using the multicast mode. | ||
Active process transfer protocol server port | 140 | 2 | The udp port of active process transfer protocol server interception request when using the multicast mode. | ||
The active process host-host protocol stand-by period | 141 | 2 | The time of waiting for before the active process host-host protocol client re-send request may, take second as unit. | ||
The active process host-host protocol is monitored time delay | 142 | 2 | The time delay of active process transfer protocol server interception request when using the multicast mode, take second as unit. When not using the Multicast function of active process host-host protocol, this label does not use. | ||
Program digest | 143 | Indefinite | The summary of the program that next step active process host-host protocol need to transmit. If used the bootfile territory, then this territory is empty. |
After the grouping of DHCPOFFER message is sent, if client does not receive that then client will resend the dhcp discover grouping according to overtime situation. Client will resend dhcp discover grouping four times, and the time-out time of wait is respectively 4,8,16 and 32 seconds. If also do not receive the grouping of DHCPOFFER response message after sending for four times, client will be abandoned attempting, and the report user.
The detailed description of the step 4 of present embodiment:
Client is verified the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of this message, if not then abandoning this grouping after receiving DHCPOFFER message grouping. Otherwise must record all relevant information that the grouping of DHCPOFFER message provides, its content comprises:
1) client ip address and other parameters that provide of DynamicHost configuration service.
2) address of server.
3) script is explained the program name (if use summary identification, then being the summary of program) of performing a programme.
4) if having, the employed port of client and server during record active process host-host protocol multicast mode.
5) other necessary parameters.
Simultaneously, client must send DHCPREQUEST message grouping request affirmation. The format and content of DHCPREQUEST message grouping is as shown in table 12.
Form and the content of the grouping of table 12 DHCPREQUEST message
The DHCP head | ||||
Territory (length) | Value | Remarks | ||
op(1) | 1 | BOOTP REQUEST command code | ||
htype(1) | * | |||
hlen(1) | * | |||
hops(1) | * | |||
xid(4) | * | |||
secs(2) | * | |||
flags(2) | * | |||
ciaddr(4) | a0,a1,a2,a3 | Server always is set to 0.0.0.0 | ||
yiaddr(4) | 0.0.0.0 | The IP address of client end is provided by server | ||
siaddr(4) | 0.0.0.0 | Next step starts the server ip address of server | ||
giaddr(4) | 0.0.0.0 | |||
chaddr(16) | xx-xx-xx-xx-xx-xx-xx-xx | Client mac address | ||
sname(64) | * | Can be covered by 66 labels in the option | ||
bootfile(128) | * | Can be covered by 67 labels in the option | ||
99.130.83.99 | ||||
Dynamic host machine configuring protocol option | ||||
Tag name | Tag number | Length | Explanation | |
Type of message | 53 | 1 | 3=DHCPREQUEST | |
Message-length | 57 | 2 | Maximum dynamic host configuration protocol messages block length | |
Businessman's sign | 60 | 18 | This option is used for showing that this message grouping is the message grouping of DynamicHost configuration Extended Protocol, and its value is necessary for " MRBM-EDHCPSEClient ". | |
Businessman's relevant information | 43 | 8 | Value is " 03:05:08:00:00:00:ff:ff ". |
The detailed description of the step 5 of present embodiment:
Server upgrades local IP address assignment database, and divides into groups as replying the grouping of DHCPREQUEST message with DHCPACK message after the DHCPREQUEST message grouping of receiving client. In the grouping of DHCPREQUEST message, have in comprising:
1) client ip address and other parameters that provide of DHCP service.
2) address of server.
3) script is explained program name or the summary of performing a programme.
4) the employed port of client and server during active process host-host protocol multicast mode.
5) other parameters.
The format and content of DHCPACK message grouping is as shown in table 13.
Form and the content of the grouping of table 13 DHCPRACK message
The DHCP head | |||||
Territory (length) | Value | Remarks | |||
op(1) | 2 | BOOTP REPLY command code | |||
htype(1) | * | ||||
hlen(1) | * | ||||
hops(1) | * | ||||
xid(4) | * | ||||
secs(2) | * | ||||
flags(2) | * | ||||
ciaddr(4) | 0.0.0.0 | Server always is set to 0.0.0.0 | |||
yiaddr(4) | A0,a1,a2,a3 | The IP address of client end is provided by server | |||
siaddr(4) | A0,a1,a2,a3 | Next step starts the server ip address of server | |||
giaddr(4) | * | ||||
chaddr(16) | * | Client mac address | |||
sname(64) | * | Can be covered by 66 labels in the option | |||
bootfile(128) | The startup file title | Can be covered by 67 labels in the option | |||
99.130.83.99 | |||||
Dynamic host machine configuring protocol option | |||||
Tag name | Tag number | Length | Explanation | ||
Type of message | 53 | 1 | 3=DHCPREQUEST | ||
Message-length | 57 | 2 | Maximum dynamic host configuration protocol messages block length | ||
Businessman's sign | 60 | 18 | This option is used for showing that dhcp message is EDHCP message, and its value is necessary for " MRBM-EDHCPSEClient ". | ||
Businessman's relevant information | 43 | 8 | Value is " 03:05:08:00:00:00:ff:ff ". | ||
Script is explained the performing a programme parameter | 165 | Indefinite | Refer to pass to the parameter that script is explained performing a programme. | ||
Active process host-host protocol multicast address | 138 | 4 | Multicast address when the active process transfer protocol server transmits file. When not using the Multicast function of active process host-host protocol, this label does not use. | ||
Active process host-host protocol client port | 139 | 2 | Active process host-host protocol client is monitored the udp port of replying when using the multicast mode. | ||
Active process transfer protocol server port | 140 | 2 | The udp port of active process transfer protocol server interception request when using the multicast mode. | ||
The active process host-host protocol stand-by period | 141 | 2 | The time of waiting for before the active process host-host protocol client re-send request may, take second as unit. | ||
The active process host-host protocol is monitored time delay | 142 | 2 | The time delay of active process transfer protocol server interception request when using the multicast mode, take second as unit. When not using the Multicast function of active process host-host protocol, this label does not use. | ||
Program digest | 143 | Indefinite | The summary of the program that next step active process host-host protocol need to transmit. If used the bootfile territory, then this territory is empty. |
The detailed description of the step 6 of present embodiment:
Client will be determined the operable IP address information of the machine after the grouping of DHCPACK message. And record other information, can be referring to table 13. Its content comprises:
1) client ip address and other parameters that provide of DynamicHost configuration service.
2) address of server.
3) script is explained title or the summary of performing a programme.
4) if having, the employed port of client and server during the multicast of record active process host-host protocol.
5) other necessary parameters.
Till now, the reciprocal process of DynamicHost configuration Extended Protocol finishes fully. Ensuing process is exactly that client utilizes the active process host-host protocol to explain the process of performing a programme to server request transmission script.
Above-mentioned explanation explains the implementation details of DynamicHost configuration Extended Protocol. In an embodiment of the present invention, the realization of DynamicHost configuration Extended Protocol is to realizing by the configuration file setting to existing DHCP. The below is an example (wherein the # back is explanatory notes) of the configuration file of DynamicHost configuration Extended Protocol server:
{ # this method option option dhcp-class-identifier " MRBM-EDHCPSEClient " that is correlated with; Option vendor-encapsulated-options 03:05:08:00:00:00:ff:ff; # global option option subnet-mask 255.255.255.0; Default-lease-time-1; Option option 138 255.255.255.0s relevant with the active process host-host protocol in # this method; Option 139 1005; Option 140 1006; Option 141 8; The option subnet 192.168.0.0 netmask 255.255.255.0{ option routers 192.168.0.2 that # is relevant with subnet; Option dynamic-bootp 192.168.0.100 192.168.0.180; Filename " tftpboot/ald.image ";
The detailed description of the step 7 of present embodiment:
1) agreement is simple, is convenient to realize. Therefore this agreement can be used for Embedded environment as the host-host protocol of program; Function is simple, the service that it does not have catalogue that FTP FTP provides and program to browse.
2) security is good. In the name of program, the method that the active process host-host protocol can adopt the one-way Hash function based on MD5 to make an abstract, the arrival client that the program that can realize is correct, and the program that prevents is maliciously tampered in the process of transmission. This agreement does not have write operation simultaneously, can not cause the safety problem that produces owing to writing to server.
3) based on UDP. Reason mainly is that TCP is too complicated, is not easy to use in the method. For the transmission of data reliably, this agreement has adopted the method for client timeout re-send request may.
4) Stateless. The active process host-host protocol does not have the establishment of connection process.
5) support the multicast mode. In order to support a large number of client, solve the performance issue of concurrent startup, this agreement can transmit data in the multicast mode, thus when having greatly reduced concurrent start to the impact of the network bandwidth.
The active process host-host protocol adopts fixing data block size to transmit. When client needed the transmission of data, user end to server was filed a request. The piece number that in the request bag of client, comprises the data block of the information of program and needs transmission. In this agreement, the data block of the data fixed size of transmission (512 Byte) is transmitted, so the piece of the data block in the server request bag that can propose according to client number calculates the data that transmit. In the process of transmission, the active process host-host protocol does not have the establishment of connection process. On server, do not preserve the transmission state of each connection. Data transfer is brought in control by the client, and client must have record to the state of the data transmitted. If client is not received data within a certain period of time, it just sends request again.
Selecting of active process host-host protocol client and server udp port. When not using multicast transmission, client is used 1050 ports. Server is monitored 1051 ports. When using the multicast mode to transmit data, the port that client and server uses is determined by the value in the respective selection territory in DHCPOFFER and the DHCPACK message. Referring to table 9.
The process of active process host-host protocol transmission procedure data is as follows:
1 client is sent read request packet, includes the piece number of the data block of the title of program or summary and request in this packet, is initially 1.
After 2 servers were received the read request packet of client, whether audit program existed. If exist, then send packet, otherwise send erroneous packets.
If 3 clients are received packet, check then whether the piece in the packet number exists, if exist then abandon this packet, if there is no, then be retained in buffering area. If 512 bytes of data block size less than of receiving then turn 6, otherwise piece number is added 1, turn 1.
If 4 clients are received wrong bag, then stop transmission course, and prompting user.
If 5 clients are behind certain hour (being determined by the active process host-host protocol stand-by period option in the DHCPACK message), if do not receive the response message of server, re-send request may then is if sending times has arrived 10 times, then stop transmission course, and to user report.
If what 6 transmission were used is the method for summary, then program is carried out based on the inspection of making a summary, if program then turns 8, otherwise turns 7 normally by checking.
7 show that mistake has appearred in transmission course, need to restart transmission, if the number of times that restarts has surpassed 3 times, then stop transmission and to user report, otherwise turn 1.
8 transmission are correct, the normal termination transmission course.
The packet format of active process host-host protocol. This agreement has bag in three, is respectively read request packet, data answering bag, erroneous packets. The form of various bags as shown in Figure 4. Its usage is respectively described below:
Read request packet:
Command code represents the kind of wrapping. Numeral in the bracket is the length (as follows) in this territory. Type is to represent that the service routine name identified the program that needs transmit at 1 o'clock, is to represent to identify the program that needs transmit with MD5 digest in 1 o'clock. Option 1 and value 1 represent respectively first option and its value. When option is ' MUL ' expression request multicast transmission packet.
The data answering bag:
Piece wherein is number since 1 serial number.
Erroneous packets:
When transmission course makes a mistake, server will send erroneous packets to client, after client is received erroneous packets, stop immediately transmission course, and to user report.
The active process host-host protocol is to the support of multicast. When active process transmitted, if sent the parameter of multicast in the option field of DHCPOFFER and DHCPACK message, and client also was ready to come the receive data bag with the multicast mode, and then client can receive the active process transmission protocol data bag of multicast. The client multicast packets is divided into four-stage: monitor, open, receive and close.
Active process host-host protocol multicast listen phase:
The flow chart of snoop procedure as shown in Figure 5. Client is collected the active data bag by the multicast port of monitoring the active process host-host protocol. If can collect the packet that all need, then client does not need to have entered opening stage.
Active process host-host protocol multicast opening stage:
When the listen phase client is not collected a packet, then enter opening stage, use mode of unicast from the server receive data. If client has been received a multicast packets, then enter again listen phase. Its process as shown in Figure 6.
The multicast reception stage:
Client receives the multicast packets of sending from server in this stage.
The multicast dwell period:
After client arrived all packets, then client had been finished all transmission work. Enter next step work.
Active process host-host protocol in the present embodiment is served always listening port 1051. The job step of transmission service server is substantially as follows:
1 monitors UDP 1051 ports.
2 receive active process host-host protocol read request, and whether judge needs the program of transmission to exist, if there is no, then to turn 10.
3 judge whether to use multicast, if use then turn 7.
4 calculate the data block of required transmission.
If the Thread Count in 5 systems less than 50, is then newly set up a thread. If greater than 50, then choose an old thread.
6 get one at random greater than 1024 not use port, use new thread or the old thread chosen uses this port to send data to client. Turn 1.
7 if use multicast to transmit data, then at first sends the first blocks of data.
8 increase the numbering of data block, continue to send multi-case data.
If the whole multicasts of 9 routine datas finish, then stop multicast transmission. Turn 1.
10 send erroneous packets. Turn 1.
The detailed description of the step 8 of present embodiment:
Script is explained will be untied after performing a programme is downloaded and is placed into the place that memory address is 0x1000:0000. After this process finished, the operating position of internal memory was as follows:
Table 14 script is explained the operating position of the rear internal memory of performing a programme download
The detailed description of the step 9 of present embodiment: script is explained the performing a programme execution, obtains system's control. The internal memory operating position of this moment is as follows:
Base memory address | Length | Describe |
0h | 400h | Interrupt vector table |
400h | 100h | The system bios data segment |
500h | EB00h | Idle base memory (subregion may be used by system bios) |
10000h | 4000h | Script is explained performing a programme |
14000h | Indefinite | Idle base memory |
97000h | 800h | The CPU stack segment |
97800h | 4000h | The data segment of initial start code |
9B800h | 4000h | The code segment of initial start code |
9F800h | Variable | The expanded BIOS data field |
The high memory address | Length | Describe |
A0000h | 20000h | Video RAM (in typical case) |
C0000h | 8000h | Video ROM (in typical case) |
C8000h | 8000h | The optional ROM of initial start code |
D0000h | Variable | Other optional ROM and high memories |
E0000h | 10000h | System bios |
F0000h | 10000h | System bios |
Exented memory | Length | Describe |
100000h | Variable | Idle exented memory |
Table 15 script explains that the environment of carrying out loads the operating position of rear internal memory
Base memory address | Length | Describe |
0h | 400h | Interrupt vector table |
400h | 100h | The system bios data segment |
500h | 92F00h | Idle base memory (subregion may be used by system bios) |
93400h | 400h | Script is explained the stack segment of execution environment |
93800h | 4000h | Script is explained the code segment of execution environment |
97800h | 4000h | Script is explained the data segment of execution environment |
9B800h | 4000h | The code segment of initial start code |
9F800h | Variable | The expanded BIOS data field |
The high memory address | Length | Describe |
A0000h | 20000h | Video RAM (in typical case) |
C0000h | 8000h | Video ROM (in typical case) |
C8000h | 8000h | The optional ROM of initial start code |
D0000h | Variable | Other optional ROM and high memories |
E0000h | 10000h | System bios |
F0000h | 10000h | System bios |
Exented memory | Length | Describe |
100000h | Variable | Idle exented memory |
The existence of the code segment of initial start code is the code for multiplexing part, drives and the ICP/IP protocol stack such as network interface card. Certainly in realization, we also can not consider to use the initial start code, and directly utilize script to explain that performing a programme carries out the initialization of network environment, but must inherit the host configuration information that the initial start code obtains.
Script explains that the environment of carrying out passes through the explanation of script is carried out, and accepts user's input. According to user's selection, client is utilized active process host-host protocol down operation system kernel mirror image.
In the present embodiment, provided the example of a script. Its major function is to accept user's input, and loads corresponding operating system nucleus mirror image according to user's selection.
This script is based on order line, and the order back is the parameter of order, and its form is:
The below is the language format of script.
Syntax rule:
1 order is resolved with behavior unit, uses line feed or carriage return isolation between row and the row
The maximum length of 2 row is 255 characters
3 keywords or variable capital and small letter are insensitive
4 " is the separator of character string
The string representation variable that 5 $ begin
The use of 6 escape characters:
B retreat
N line feed
The r carriage return
\t Tab
Nnn be that the ASCII character of octal number nnn replaces with value
X represent the not character X in above-mentioned character
String expression
Character string refer to " beginning and with " a string character of finishing. As:
“Hello World!”
Numerical expression
This script only uses the 10 system integers of 32bitd, from-2, and 147,483,646 to 2,147,483,647. Numerical expression uses
Can comprise positive number and negative in the numerical expression.
The form of expression formula is: expr1 op expr2, wherein the value of op can for :+,-, * ,/, %; For simplicity, do not have the difference of priority between each operator, represent the order of computing with bracket.
For example: ((4*6)+8)
Deferred command
Delay order can be used for postponing, parameter take second as unit.
For example:
Delay3 postpones 3 seconds
Delay0.5 postpones 0.5 second
The name of file
File is called character string. They must bracket with double quotation marks, and filename is case sensitive, can represent special character with escape character.
If filename is not with/beginning, then is defaulted as under/tftpboot catalogue and seeks.
If occur colon in the filename, then the part before the colon will be interpreted as computer name.
For example:
" ald.image " be illustrated in/ file under the tftpboot catalogue
"/tftpboot/ald.image " refers to the file of the file of absolute path under/tftpboot ald.image by name.
" 192.168.0.72:/tftpboot/ald.image " is illustrated in the IP address is ald.image file under 192.168.0.72 computer/tftpboot/ catalogue.
Monitor command
Echo:
The form of this order is: Echo " text ", its purposes is in screen existing character string last time " text "
Beep:
This order will make computer send sound.
Control command
Goto label:
Refer to jump to the place explanation execution that label is label.
If…:
The If order checks just whether the value of expression formula is true, is the order of very then carrying out the back in this script, otherwise just continues down to carry out.
For example:
If $val=”ERROR”Turnon
Beep
…
Top script represenation when the value of variable val is " ERROR " time, then restart computer, otherwise make the computer sounding, and continue down to carry out.
Set:
The value of variable is set.
For example:
Set Val1=”sopca computer”
Poweroff:
Shut down computer.
Turnon:
Restart computer.
The order relevant with keyboard
GetKey(var):
Wait for that the user inputs a key assignments, and be stored among the variable var.
WaitForKey duration:
Before pressing any key, the user postpones duration second.
Input(var):
Read in a character string with the carriage return end from keyboard. Only support at present 30 characters.
The text output order
Print“text”:
Go out the printable character string at current screen
The kernel mirror image loading command
LoadImage“kernel image name”:
Load kernel mirror image.
The below is the up and down menu script example of arrow selection of a usefulness. Two menus start respectively windows98 and linux system.
Set MenuNum=2 Set MenuItem={”Starting Windows98”,”Starting Linux”} Set CurrentItem=1 :menu Set exitemenu=”” Print“Boot selection” Set i=1 :loop Setj= ( $ i-1 ) Print“ $ MenuItem”{ $ j} Print“ \ r \-n” Set I= ( $ I+1 ) If $ I<= $ MenuNum goto loop GetKey Key # If“ $ key”=””if $ CurrentItem>1 Set Current= ( $ CurrentItem-1 ) # If“ $ key”=””if $ CurrentItem<$ MenuNum Set Current= ( $ CurrentItem+1 ) # if“ $ key”=” \ r”Set ExitMenu=”OK” if“ $ ExitMenu” unequal to “OK”goto menu if $ CurrentItem==1 goto a1 if $ CurrentItem==2 goto a2 :a1 LoadImage“192.168.0.72:/tftpboot/WIN $ SOP.SYS” :a2 LoadImage“192.168.0.72:/tftpboot/LInux.image”
The detailed description of the step 10 of present embodiment:
Client is according to user's selection, the transmission request of sending down operation system kernel mirror image to server (active process transmission service).
The detailed description of the step 11 of present embodiment:
The request of the down operation system kernel mirror image of server (active process transmission service) customer in response end, transmission operating system nucleus mirror image.
The detailed description of the step 12 of present embodiment:
If the kernel mirror image of operating system is little, after then client was utilized active process host-host protocol down operation system kernel mirror image, the operating position of internal memory was shown in table 16:
The operating position of internal memory (little mirror image) behind the table 16 operating system nucleus image download
Base memory address | Length | Describe |
0h | 400h | Interrupt vector table |
400h | 100h | The system bios data segment |
500h | FB00 | Idle base memory (subregion may be used by system bios) |
10000h | Indefinite | Free memory |
93400h | 400h | Script is explained the stack segment of execution environment |
93800h | 4000h | Script is explained the code segment of execution environment |
97800h | 4000h | Script is explained the data segment of execution environment |
9B800h | 4000h | The code segment of initial start code |
9F800h | Variable | The expanded BIOS data field |
The high memory address | Length | Describe |
A0000h | 20000h | Video RAM (in typical case) |
C0000h | 8000h | Video ROM (in typical case) |
C8000h | 8000h | The optional ROM of initial start code |
D0000h | Variable | Other optional ROM and high memories |
E0000h | 10000h | System bios |
F0000h | 10000h | System bios |
Exented memory | Length | Describe |
300000h | Variable | Idle exented memory |
If the kernel mirror image of operating system is larger, after then client was utilized the kernel mirror image of active process host-host protocol down operation system, the operating position of internal memory was shown in 17:
The operating position of internal memory behind the table 17 operating system nucleus image download (large mirror image)
Base memory address | Length | Describe |
0h | 400h | Interrupt vector table |
400h | 100h | The system bios data segment |
500h | Indefinite | Idle base memory (subregion may be used by system bios) |
93400h | 400h | Script is explained the stack segment of execution environment |
93800h | 4000h | Script is explained the code section of execution environment |
97800h | 4000h | Script is explained the data segment of execution environment |
9B800h | 4000h | The code segment of initial start code |
9F800h | Variable | The expanded BIOS data field |
The high memory address | Length | Describe |
A0000h | 20000h | Video RAM (in typical case) |
C0000h | 8000h | Video ROM (in typical case) |
C8000h | 8000h | The optional ROM of initial start code |
D0000h | Variable | Other optional ROM and high memories |
E0000h | 10000h | System bios |
F0000h | 10000h | System bios |
Exented memory | Length | Describe |
100000h | 200000h | The operating system nucleus mirror image |
300000h | Variable | Idle exented memory |
After the operating system nucleus image download finishes, the control of system will be given the multiple operating system loader. The multiple operating system loader will be according to the form of kernel mirror image, load operation system kernel mirror image.
In order to load the kernel mirror image of multiple operating system, must be stipulated that to the form of kernel mirror image use unified kernel mirror image form, loader just can load the kernel mirror image of various operating systems pellucidly like this. In Linux, loader is operated under the real pattern, and the size of operating system nucleus mirror image can not surpass 1M. This satisfies the demand in embedded system fully. But just unworkable when loading resembles the Windows system. At this moment need to load first the DOS kernel, in the DOS environment, utilize again DOS instrument start-up Windows system. But for the loader of Linux, it does not need to know these details, and it is placed on kernel mirror image the internal memory physical region of regulation just according to the call format of kernel mirror image under real pattern. Then the multiple operating system loader jumps to this place's execution, thus the control of delivery system.
In this method the form of the kernel mirror image of operating system as shown in Figure 7, relevant implication is described as follows:
The kernel mirror image sign. Present value is 05h, 0ah, and 0ah, 05h is as the sign of kernel mirror image.
The loading address of kernel mirror image in internal memory.
The first executive address of kernel mirror image. When kernel mirror image be loaded program successfully be loaded into load the address after, loading procedure will jump to the executive address place and carry out, thus the control of delivery system.
The size of kernel mirror image. This size refers to the size before the kernel mirror image decompress(ion).
Shared memory size behind the kernel mirror image decompress(ion). This size is the size of the shared internal memory of kernel behind the kernel mirror image decompress(ion).
The authentic data district of program. The size that refers to the data field that kernel mirror image uses.
So far; the all implementation steps about net environment computer remote starting method of the present invention all have been described in detail; present embodiment only provides a kind of concrete methods of realizing of the present invention; when not limiting protection scope of the present invention; all any equivalents to method described in the present embodiment all should belong to the protection domain described in claims of the present invention.
Claims (8)
1, the method that starts of a kind of net environment computer remote, at first on the computer motherboard of client or network interface card a read-only storage or EPROM are set, may further comprise the steps during remote activation:
1) the initial start code in the read-only storage powers up at this computer and starts the rear sign of using DynamicHost configuration Extended Protocol to obtain client computer;
2) then download a script by the active process host-host protocol from server and explain performing a programme and load and execution;
3) explain under the environment of carrying out at this script that client is carried out the operating system that user selection need to be loaded by the explanation to language scripts;
4) client recycling active process host-host protocol is downloaded kernel mirror image and the load and execution of this operating system from server, thereby has realized the computer remote startup.
2, the method for net environment computer remote startup as claimed in claim 1 is characterized in that, said DynamicHost configuration Extended Protocol carries out self-defined obtaining to the option of dynamic host configuration protocol DHCP, comprises following content:
1) tag number is 60 option, and the value of this option is defined as " MRBM-EDHCPSEClient ";
2) tag number is 43 option, and the value of this option is defined as " 03:05:08:00:00:00:ff:ff ";
3) tag number is 165 option, and this option is used for passing to the parameter that script is explained performing a programme;
4) tag number is 138 option, the multicast address that this option is defined as the active process host-host protocol when carrying out transmission procedure;
5) tag number is 139 option, the implication of this option be the active process host-host protocol during with multicast mode transmission procedure client monitor the udp port of active process transmission protocol data bag;
6) tag number is 140 option, the implication of this option be the active process host-host protocol during with multicast mode transmission procedure server monitor the udp port of active process host-host protocol request;
7) tag number is 141 option, and the implication of this option is that client is retransmitted the time of waiting for before the request of active process host-host protocol;
8) tag number is 142 option, and the implication of this option is the time delay that server is monitored the request of active process host-host protocol;
9) tag number is 143 option, and the implication of this option is the summary that the active process host-host protocol is wanted transmission procedure.
3, the method that starts of net environment computer remote as claimed in claim 1 or 2 is characterized in that said step 1) specifically comprise following step:
(1) the initial start code is initialized: this process comprises legitimacy and the integrality that checks code self; Initialize the machine environment and network environment;
(2) the initial start code drives network interface card work, and the grouping of broadcasting dhcp discover, the IP address of request the machine, and gateway address starts server address, and script is explained the performing a programme sign;
(3) after server receives the dhcp discover grouping, check No. 60 and No. 43 options, if the message grouping of DynamicHost configuration Extended Protocol then sends the DHCPOFFER message grouping of replying to client; Message grouping if not DynamicHost configuration Extended Protocol then abandons it;
(4) after client is received the grouping of DHCPOFFER message, verify the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of this message, if this message grouping is the message grouping of DynamicHost configuration Extended Protocol, then record relevant DHCP parameter, server address, script is explained the performing a programme content, otherwise abandons this message grouping, and the agreement of simultaneously user end to server transmission DHCPREQUEST message grouping and waiting for server is replied;
(5) after server is received the grouping of DHCPREQUEST message, send the grouping of DHCPACK message as replying to client.
4, the method for net environment computer remote startup as claimed in claim 1 is characterized in that,
Said step 2) specifically comprise following step:
(1) after client is received the grouping of DHCPACK message, verify the whether message grouping of DynamicHost configuration Extended Protocol of dividing into groups of this message, if this message grouping is the message grouping of DynamicHost configuration Extended Protocol, then records relevant content, otherwise abandon this message grouping; Client is sent the transmission request of request Download Script linguistic interpretation performing a programme to server according to the content of returning simultaneously;
(2) after server receives the request of program transmission service of client, utilize the unicast or multicast mode of active process host-host protocol to transmit script to client and explain performing a programme.
5, such as the method for claim 1 or 4 described net environment computer remotes startups, it is characterized in that the step of said active process host-host protocol when the client downloads program is as follows:
1) client is sent read request packet, includes the piece number of the data block of the title of program or summary and request in this packet, is initially 1;
2) after server was received the read request packet of client, whether audit program existed, if exist, then sent packet, otherwise sent erroneous packets;
3) if client is received packet, check then whether the piece in the packet number exists, if exist then abandon this packet, if there is no, then be retained in buffering area; If 512 bytes of data block size less than of receiving then turn 6), otherwise piece number is added 1, turn 1);
4) if client is received wrong bag, then stop transmission course, and prompting user;
5) if client behind certain hour, if do not receive the response message of server, then re-send request may if sending times has arrived 10 times, then stops transmission course, and to user report;
6) if transmission uses is the method for summary, then program is carried out inspection based on summary, if program then turns 8 normally by checking), otherwise turn 7);
7) show that mistake has appearred in transmission course, need to restart transmission, if the number of times that restarts has surpassed 3 times, then stop transmission, and to user report; Otherwise turn 1);
8) transmission is correct, the normal termination transmission course.
6, the method for net environment computer remote startup as claimed in claim 1 is characterized in that,
Said step 3) specifically comprise following step:
(1) the complete script of client is explained performing a programme, and it is stored in the local internal memory; Client load and execution script is explained performing a programme, initial start code delivery system control, and script is explained the environment that the linguistic interpretation of performing a programme initializtion script is carried out;
(2) the environment interpretation execution language script of client script linguistic interpretation execution, in this stage, the user uses keyboard need to select the operating system of loading.
7, such as the method for claim 1 or 6 described net environment computer remotes startups, it is characterized in that the format content of the kernel mirror image of said operating system specifically comprises:
1) kernel mirror image sign, present value is 05h, 0ah, 0ah, 05h is as the sign of kernel mirror image;
2) the loading address of kernel mirror image in internal memory;
3) the first executive address of kernel mirror image after the kernel mirror image loading procedure successfully is loaded into the loading address, jumps to the executive address place and carries out, thus the control of delivery system;
4) size of kernel mirror image, this length refer to that kernel mirror image is the size before the decompress(ion);
5) shared memory size behind the kernel mirror image decompress(ion);
6) the authentic data district of program.
8, the method for net environment computer remote startup as claimed in claim 1; It is characterized in that said step 4) specifically comprise following step;
(1) client is sent the program transmission request of request down operation system kernel mirror image according to program name, path or the summary of the kernel mirror image of the operating system of user selection to server;
(2) after server receives the request of the program transmission service that client sends, utilize the unicast or multicast mode of active process host-host protocol to the kernel mirror image of client transfer operation system;
(3) client operating system nucleus mirror image and it is stored in the local internal memory, client recycling multiple operating system loader load and execution operating system nucleus mirror image, so far, the operating system loaded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01142033 CN1121008C (en) | 2001-09-07 | 2001-09-07 | Remoteboot method of computer in network environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01142033 CN1121008C (en) | 2001-09-07 | 2001-09-07 | Remoteboot method of computer in network environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1334510A CN1334510A (en) | 2002-02-06 |
CN1121008C true CN1121008C (en) | 2003-09-10 |
Family
ID=4676577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 01142033 Expired - Fee Related CN1121008C (en) | 2001-09-07 | 2001-09-07 | Remoteboot method of computer in network environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1121008C (en) |
Families Citing this family (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1317660C (en) * | 2003-03-31 | 2007-05-23 | 联想(北京)有限公司 | Realizing method of sharing virtual optical disk network and its system |
GB2405711B (en) * | 2003-09-05 | 2006-08-09 | Sun Microsystems Inc | Method and apparatus for performing configuration over a network |
CN100378673C (en) * | 2004-03-25 | 2008-04-02 | 广达电脑股份有限公司 | Method and system for operating and controlling far-end computer |
CN100390736C (en) * | 2004-04-23 | 2008-05-28 | 广达电脑股份有限公司 | Method and system for allocating multiple computers at far end |
JP2006099234A (en) * | 2004-09-28 | 2006-04-13 | Aruze Corp | Network terminal device, distribution server, and client/server system |
CN1333339C (en) * | 2005-04-06 | 2007-08-22 | 清华大学 | Transparent computing based computing apparatus and method |
CN1314229C (en) * | 2004-11-29 | 2007-05-02 | 清华大学 | Automatic distributing and acquiring method based on network computer configurating parameter |
CN100397338C (en) * | 2005-01-10 | 2008-06-25 | 英业达股份有限公司 | Program installation system and method |
US20070150713A1 (en) * | 2005-12-22 | 2007-06-28 | International Business Machines Corporation | Methods and arrangements to dynamically modify the number of active processors in a multi-node system |
CN100383739C (en) * | 2006-03-15 | 2008-04-23 | 浙江大学 | Mirror starting optimization of built-in operation system |
CN100365576C (en) * | 2006-03-16 | 2008-01-30 | 浙江大学 | Memory mirror starting optimization of built-in operation system |
KR101157846B1 (en) * | 2007-10-11 | 2012-07-13 | 퀄컴 인코포레이티드 | Scheduled downloads: enabling background processes to receive broadcast data |
US8463873B2 (en) * | 2010-03-30 | 2013-06-11 | Lenovo (Singapore) Pte. Ltd. | Streaming client system base images |
WO2012048459A1 (en) * | 2010-10-12 | 2012-04-19 | 北京中科院软件中心有限公司 | Method and systeme for loading running environments of remote terminal |
CN104679542A (en) * | 2013-11-29 | 2015-06-03 | 英业达科技有限公司 | Server staring method and computer system |
CN103729596B (en) * | 2013-12-20 | 2017-10-31 | 合肥联宝信息技术有限公司 | A kind of method for realizing fail-safe computer |
CN104158859A (en) * | 2014-07-30 | 2014-11-19 | 华为技术有限公司 | PXE-based information acquisition method, PXE (pre-boot execution environment) client, PXE server and system |
CN104935468A (en) * | 2015-06-24 | 2015-09-23 | 宋敏 | PXE technology-based interactive system and method for realizing operation of operating system thereof |
CN105389190B (en) * | 2015-12-08 | 2019-05-24 | 华为技术有限公司 | A kind of method, apparatus and system of os starting |
CN106126200B (en) * | 2016-06-13 | 2019-07-19 | 房玮 | A kind of cloud computing system that can remotely guide client computer |
CN106940769B (en) * | 2017-03-01 | 2020-04-28 | 广州大学 | Safe remote loading method for operating system |
CN112073558A (en) * | 2020-11-11 | 2020-12-11 | 南京乐韵瑞信息技术有限公司 | Method and device for accessing Internet of things, Internet of things equipment and storage medium |
CN115002077B (en) * | 2021-03-01 | 2024-03-22 | 炬芯科技股份有限公司 | Method for DHCP client to acquire IP address and related equipment |
-
2001
- 2001-09-07 CN CN 01142033 patent/CN1121008C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1334510A (en) | 2002-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1121008C (en) | Remoteboot method of computer in network environment | |
CN1286039C (en) | Method and device for maintaining internet field names data | |
CN1255977C (en) | Method and appts. for session management and user authentication | |
CN1703016A (en) | Virtual network topology generation | |
CN1302650C (en) | Server and method provide access to network by computer connected to different network | |
CN1206837C (en) | Method and system of implementing IP data transmission on multi-service-unit according to defined strategy | |
CN1256824C (en) | Architecture for home network on world wide web with private-public IP address/URL mapping | |
CN1296585A (en) | Method and apparatus for universal data exchange gateway | |
CN1592259A (en) | Exchanger for network,route managing server,network interface device and its controlling method | |
CN1163029C (en) | Method for making data interchange by data network user and its network system | |
CN1781087A (en) | Method and system for providing secure access to private networks with client redirection | |
CN1599344A (en) | Architecture structure and realizing method of home network system | |
CN1761256A (en) | XML schema for network device constitution | |
CN1773545A (en) | Message based network configuration of domain name purchase | |
CN1499794A (en) | Method of processing data pack in third layer of communicating appts. | |
CN1729442A (en) | Method and arrangement for use of shared resources in a network | |
US8886776B2 (en) | Communication apparatus and storing medium | |
CN1845505A (en) | Household network device controlling method and equipment management apparatus | |
CN1754351A (en) | Communication model, signal, method, and device for confirming reachability in network where host reachability is accomplished by relating static identifier to dynamic address | |
CN1756197A (en) | System, equipment, method and computer program product for managing equipment | |
CN1624657A (en) | Security-related programming interface | |
CN1788258A (en) | Apparatus, method, and program for executing protocol converting process | |
EP1835702A2 (en) | Image processing device | |
CN1495602A (en) | Imaging device, information processing device, program executive method and program generating method | |
CN1669018A (en) | Handheld client framework system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20030910 Termination date: 20180907 |
|
CF01 | Termination of patent right due to non-payment of annual fee |