CN102999345A - Operating system loading method, equipment and system - Google Patents

Operating system loading method, equipment and system Download PDF

Info

Publication number
CN102999345A
CN102999345A CN2012105194606A CN201210519460A CN102999345A CN 102999345 A CN102999345 A CN 102999345A CN 2012105194606 A CN2012105194606 A CN 2012105194606A CN 201210519460 A CN201210519460 A CN 201210519460A CN 102999345 A CN102999345 A CN 102999345A
Authority
CN
China
Prior art keywords
operating system
main controlled
service node
node
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012105194606A
Other languages
Chinese (zh)
Other versions
CN102999345B (en
Inventor
李昶
吴昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210519460.6A priority Critical patent/CN102999345B/en
Publication of CN102999345A publication Critical patent/CN102999345A/en
Application granted granted Critical
Publication of CN102999345B publication Critical patent/CN102999345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an operating system loading method, operating system loading equipment and an operating system loading system and relates to the technical field of computer networks. The method comprises the following steps that: a master control node receives an operating system loading request transmitted by a service node through a preset virtual firewall port, wherein the operating system mirror images of various service nodes in the system are stored on the master control node, the virtual firewall port is used for processing a message related to the operating system service loaded by each service node, and a source IP address of the operating system loading request is a virtual IP address distributed by the master control node for the service node in advance; and the master control node transmits configuration information to the service node through the virtual firewall port, wherein the configuration information comprises the names of the operating system mirror images of the service nodes, so that the service nodes can download the operating system mirror images from the master control node according to the names of the operating system mirror images and performs loading. With the method, the cost of the service board loaded operating system is reduced.

Description

The method, apparatus and system that a kind of operating system loads
Technical field
The present invention relates to technical field of the computer network, relate in particular to the method, apparatus and system that a kind of operating system loads.
Background technology
In the boxlike distributed system, operation has operating system separately on each business board, and carries out data communication by switching network and master control borad.
In the prior art, when business board loads the operating system of oneself, usually the operating system mirror image with business board is stored on the storage medium of master control borad, and use independently bus that management channels is separated physically with service channel, so that can transmit by management channels separately with the business of load operation System Dependent, when the startup business board carries out system loads, send the operating system mirror image to business board by Ethernet protocol and load.
The inventor finds, when adopting this mode to carry out the loading of operating system of business board, the transmission that can solve by the message transmitting method that management channels and service channel separate physically service message loads the impact of message transmissions on operating system, but owing to adopt management channels need to adopt respectively independent bus line with the message transmitting method that service channel separates physically, cause the whole system cost to improve.
Summary of the invention
The method, apparatus and system that embodiments of the invention provide a kind of operating system to load, the cost of the loading system that has adopted when having reduced business board load operation system.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the method that provides a kind of operating system to load comprises:
Main controlled node receives the operating system load request that service node sends by the virtual firewall port that sets in advance, store the operating system mirror image of each service node in the system on the described main controlled node, described virtual firewall port is for the treatment of the message relevant with each service node load operation system business, and the source IP address of described operating system load request is the virtual ip address that described main controlled node distributes for described service node in advance;
Described main controlled node sends configuration information by described virtual firewall port to described service node, the title that includes the operating system mirror image of described service node in the described configuration information is so that described service node can be downloaded described operating system mirror image and loads from described main controlled node according to the title of described operating system mirror image.
In conjunction with first aspect, in the possible implementation of the first, described method also comprises:
Described main controlled node receives the virtual ip address distribution request that described service node sends by described virtual firewall port;
Described main controlled node is sent as the virtual ip address that described service node distributes by described virtual firewall port to described service node, and described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
In conjunction with first aspect, in the possible implementation of the second, described method also comprises:
Described main controlled node arranges the loading message identification in sending to the message relevant with the load operation system business of described service node, so that the described message relevant with the load operation system business can be transmitted by high-priority queue.
Second aspect, the method that provides a kind of operating system to load comprises:
Service node uses the pre-assigned virtual ip address of main controlled node to the request of described main controlled node transmit operation system loads;
Described service node receives the configuration information that described main controlled node sends by the virtual firewall port that sets in advance, the mirror image title that includes the operating system of described service node in the described configuration information, wherein, described virtual firewall port stores the operating system mirror image of each service node for the treatment of the main controlled node message relevant with each service node load operation system business in the described main controlled node;
Described service node obtains the title of the operating system mirror image that will download according to described configuration information;
Described service node uses described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node;
Described service node loads described operating system mirror image.
In the possible implementation of the first of second aspect, described method also comprises:
Send virtual ip address to described main controlled node and distribute request;
Receive the virtual ip address that described main controlled node sends by described virtual firewall port, described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
In the possible implementation of the second of second aspect, described method also comprises:
The described message relevant with the load operation system business in sending to the message relevant with the load operation system business of described main controlled node, the loading message identification be set, so that can be transmitted by high-priority queue.
In conjunction with the possible implementation of the first of second aspect, second aspect and the possible implementation of the second of second aspect, in the third possible implementation of second aspect, in conjunction with said method, the described virtual ip address of described use is downloaded the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node and is comprised:
Use described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node according to TFTP.
The third aspect provides a kind of main controlled node, comprising:
Receiving element, be used for receiving the operating system load request that service node sends by the virtual firewall port that sets in advance, store the operating system mirror image of each service node in the system on the described main controlled node, described virtual firewall port is for the treatment of the message relevant with each service node load operation system business, and the source IP address of described operating system load request is the virtual ip address that described main controlled node distributes for described service node in advance;
Transmitting element, be used for sending configuration information by described virtual firewall port to described service node, the title that includes the operating system mirror image of described service node in the described configuration information is so that described service node can be downloaded described operating system mirror image and loads from described main controlled node according to the title of described operating system mirror image.
In the possible implementation of the first of the third aspect, described receiving element also is used for receiving the virtual ip address distribution request that described service node sends by described virtual firewall port;
Described main controlled node also comprises: allocation unit, be used for being sent as the virtual ip address that described service node distributes by described virtual firewall port to described service node, described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
In the possible implementation of the second of the third aspect, described transmitting element, the described message relevant with the load operation system business also be used at the message relevant with the load operation system business that sends to described service node the loading message identification being set, so that can be transmitted by high-priority queue.
Fourth aspect provides a kind of service node, comprising:
Sending module is used for using the pre-assigned virtual ip address of main controlled node to the request of described main controlled node transmit operation system loads;
Receiver module, be used for receiving the configuration information that described main controlled node sends by the virtual firewall port that sets in advance, the mirror image title that includes the operating system of described service node in the described configuration information, wherein, described virtual firewall port stores the operating system mirror image of each service node for the treatment of the main controlled node message relevant with each service node load operation system business in the described main controlled node;
Download module is for the title of obtaining the operating system mirror image that will download according to described configuration information; And use described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node;
Load-on module is used for loading described operating system mirror image.
In the possible implementation of the first of fourth aspect, described transmitting element also is used for sending virtual ip address to described main controlled node and distributes request;
Described receiver module also is used for receiving the virtual ip address that described main controlled node sends by described virtual firewall port, and described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
In the possible implementation of the second of fourth aspect, described sending module, the described message relevant with the load operation system business also be used at the message relevant with the load operation system business that sends to described main controlled node the loading message identification being set, so that can be transmitted by high-priority queue.
The possible implementation of the second in conjunction with the possible implementation of the first of fourth aspect, fourth aspect, fourth aspect, in the third possible implementation of fourth aspect, in conjunction with the said equipment, described download module, concrete being used for uses described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node according to TFTP.
The 5th aspect provides a kind of operating system loading system, comprising: main controlled node be connected the service node that is connected with described main controlled node,
Wherein said main controlled node is arbitrary main controlled node described in the third aspect, and described service node is arbitrary service node described in the fourth aspect.
The method, apparatus and system that the operating system that the embodiment of the invention provides loads, described main controlled node is processed the message relevant with each service node load operation system business by the virtual firewall port at the virtual ip address that distributes for service node in advance, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The structural representation of a kind of operating system loading system that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet of the method that a kind of operating system that Fig. 2 provides for the embodiment of the invention loads;
The schematic flow sheet of the method that a kind of operating system that Fig. 3 provides for another embodiment of the present invention loads;
The schematic flow sheet of the method that a kind of operating system that Fig. 4 provides for further embodiment of this invention loads;
The structural representation of a kind of main controlled node that Fig. 5 provides for the embodiment of the invention;
The structural representation of the another kind of main controlled node that Fig. 6 provides for the embodiment of the invention;
The structural representation of a kind of main controlled node that Fig. 7 provides for another embodiment of the present invention;
The structural representation of a kind of service node that Fig. 8 provides for further embodiment of this invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
With reference to shown in Figure 1, the embodiment of the invention is applied under the system that is comprised of at least one service node 1 and main controlled node 2, the operating system that can realize service node 1 loads, wherein main controlled node 2 provides the operating system mirror image that needs loading for service node 1, the main controlled node 2 of mentioning in the present embodiment can comprise that a DynamicHost arranges agreement (Dynamic Host Configuration Protocol, DHCP) server 21 (DHCP server) and a Boot Server 22 (Boot server), main controlled node 2 provides the service of service node 1 load operation system, comprise and deposit service node operating system mirror image, main controlled node provides DynamicHost that agreement (Dynamic Host Configuration Protocol is set to service node, DHCP) service and TFTP (Trivial File Transfer Protocol, TFTP) service, service node by switching network to the main controlled node IP address requesting, by mode down operation system (the Operating System of the TFTP TFTP among the Boot Server Boot server with the loading message, OS) mirror image, this process interface is followed Pre-boot Execution Environment (Preboot eXecute Environment, PXE) agreement, service node can be PXE client 11, certain loading message here is not limited to the operating system mirror image, also can be to transmit relevant request message etc. with the load operation system image.
The schematic flow sheet of the method that a kind of operating system that Fig. 2 provides for the embodiment of the invention loads, the method can be carried out by main controlled node, and with reference to shown in Figure 2, the method comprises:
101, main controlled node receives the operating system load request that service node sends by the virtual firewall port that sets in advance.
Wherein, store the operating system mirror image of each service node in the system on this main controlled node, this virtual firewall port is for the treatment of the message relevant with each service node load operation system business, and the source IP address of this operating system load request is the virtual ip address that described main controlled node distributes for described service node in advance; Here at virtual firewall port of main controlled node configuration, this virtual firewall port is responsible for and the communicating by letter of service node, and the message that enters from other outside ports so just can not be mistaken for the loading communication message of service node.
Optionally, before step 101, can also comprise:
101a, main controlled node receive the virtual ip address distribution request that service node sends by the virtual firewall port.
Here virtual ip address distributes request to be the message relevant with service node load operation system business, so this virtual ip address distribution request also is to be processed by the virtual firewall port.
Service node distributes request to be used for virtual IP address (agreement that interconnects between the network, the Internet Protocol) address that the operating system mirror image loads to the main controlled node request by virtual ip address.Wherein, the DynamicHost that this virtual ip address distributes request to provide for the DynamicHost of main controlled node arranges protocol server DHCP server arranges agreement request DHCP request message, wherein, owing to be separate network between the different virtual firewall on the main controlled node, therefore the virtual ip address of main controlled node, route etc. all are mutually isolation, thereby main controlled node can not clash with external network IP address to the virtual ip address that service node distributes.
101b, main controlled node are sent as the virtual ip address that this service node distributes by the virtual firewall port to service node, and this virtual ip address is used for communicating by letter between service node and the main controlled node.
Here the virtual ip address that distributes to service node of main controlled node be main controlled node after the virtual ip address request that receives service node, by DynamicHost DynamicHost that protocol server DHCP server sends service node is set and agreement is set replys DHCP replay message and distribute virtual ip address.
102, main controlled node sends configuration information by this virtual firewall port to service node.
This service node wherein, includes the title of the operating system mirror image of service node in this configuration information, so that can be downloaded this operating system mirror image and loads from main controlled node according to the title of operating system mirror image.
Optionally, in above-mentioned each step, when relating to the message transmission relevant with the load operation system business, the method also comprises: main controlled node arranges the loading message identification in sending to the message relevant with the load operation system business of service node, in order to should can transmit by high-priority queue by the message relevant with the load operation system business.
Concrete, the following example of reference:
For the built-in message between main controlled node and the service node, when main controlled node is sent to service node with message, can when sending message to service node, main controlled node add an encapsulation as message flag to message, namely type field or the vlantag in two layers of Ethernet header of message arranges specific value, be set to 0x6203 such as the type field, 0x6204; Service node is by value differentiated service message and the loading message of specific type field setting like this.For external interface by switching network the message that receives directly is given to service node; In this case, service node can come the differentiated service message message relevant with the load operation system business with port numbers by the message module No. that receives.
Perhaps, transmitting after can directly identifying message by switching network, namely at switching network a logic chip or exchange chip are set, this chip is responsible for each node of UNICOM (certainly comprising main controlled node and service node), this moment, switching network can be by the content of chip detection message specific fields, such as the type field in the Ethernet header or vlan tag etc., also can know simultaneously the information of message inlet end by this chip, content according to specific fields, perhaps ingress port information, can determine that this detection messages is service message, or load message.Wherein, if to message a vlan tag is set, then only need the vlan tag field of detection messages to get final product, do not need by identify load operation system business message such as information such as ports.
Here as the above-mentioned differentiation message relevant with the load operation system business and logic chip or the exchange chip in the described switching network of service message, the function that priority query is arranged at the outbound port of chip, after distinguishing by the said method pair message relevant with the load operation system business, so that can entering higher order precedence's formation by chip, the loading message is sent to service node, and then can the priority processing message relevant with the load operation system business, avoid system transmissions to block impact on the loading velocity of service node system or application program.
The method that the operating system that the embodiment of the invention provides loads, described main controlled node is processed the message relevant with each service node load operation system business by the virtual firewall port at the virtual ip address that distributes for service node in advance, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
Fig. 3 provides the process flow diagram of the method that another kind of operating system loads for the embodiment of the invention, and the method can be carried out by service node, and with reference to shown in Figure 3, the method comprises:
201, service node uses the pre-assigned virtual ip address of main controlled node to the request of main controlled node transmit operation system loads.
Wherein, the load request that sends according to virtual ip address is the loading message that service node is sent to main controlled node, this loading message is that the loading message of service node transmission is to the load images of main controlled node solicit operation system, wherein, this loading message is that DynamicHost arranges agreement request DHCP request message.
Optionally, before step 201, can also comprise:
201a, service node send virtual ip address to main controlled node and distribute request.
Here service node distributes request to be used for virtual IP address (agreement that interconnects between the network, the Internet Protocol) address that the operating system mirror image loads to the main controlled node request by virtual ip address.Wherein, the DynamicHost that this virtual ip address distributes request to provide for the DynamicHost of main controlled node arranges protocol server DHCP server arranges agreement request DHCP request message, wherein, separate network between the different virtual firewall on the main controlled node, the virtual ip address of main controlled node, route etc. all be mutually isolation so that the virtual ip address that distributes to service node can not clash with external network IP address.
201b, service node receive the virtual ip address that main controlled node sends by the virtual firewall port, and this virtual ip address is used for communicating by letter between service node and the main controlled node.
Here service node receive the virtual ip address that main controlled node sends be main controlled node after the virtual ip address request that receives service node, by DynamicHost DynamicHost that protocol server DHCP server sends service node is set and agreement is set replys DHCP replay message and distribute virtual ip address.
202, service node receives the configuration information that this main controlled node sends by the virtual firewall port that sets in advance.
Here the mirror image title that includes the operating system of this service node in this configuration information, wherein, this virtual firewall port stores the operating system mirror image of each service node for the treatment of the main controlled node message relevant with each service node load operation system business in this main controlled node.
203, service node obtains the title of the operating system mirror image that will download according to this configuration information.
204, service node uses this virtual ip address to download the operating system mirror image corresponding with the title of operating system mirror image from main controlled node.
Here, service node uses virtual ip address to download the operating system mirror image corresponding with the title of operating system mirror image from main controlled node according to TFTP (Trivial File Transfer Protocol is called for short TFTP).This TFTP agreement is in transmission control protocol/Internet Interconnection TCP/IP protocol suite is used for carrying out the simple files transmission between client computer and server agreement, the file transfer services of provide uncomplicated, expense is little.
205, service node loads this operating system mirror image.
Optionally, in above-mentioned each step, when relating to the message transmission relevant with the load operation system business, the method also comprises: service node arranges the loading message identification in sending to the message relevant with the load operation system business of main controlled node, in order to should can transmit by high-priority queue by the message relevant with the load operation system business.
Concrete, the following example of reference:
For the built-in message between main controlled node and the service node, when service node is sent to main controlled node with message, can when sending message to main controlled node, service node add an encapsulation as message flag to message, namely type field or the vlan tag in two layers of Ethernet header of message arranges specific value, be set to 0x6203 such as the type field, 0x6204; Main controlled node is by value differentiated service message and the loading message of specific type field setting like this.For external interface by switching network the message that receives directly is given to main controlled node, in this case, main controlled node can come differentiated service message and the message relevant with the load operation system business by information such as the message module No. that receives or port numbers.
Perhaps, in another situation, transmitting after can also directly identifying message by switching network, namely at switching network a logic chip or exchange chip are set, this chip is responsible for each node of UNICOM (certainly comprising main controlled node and service node), this moment, switching network can be by the content of chip detection message specific fields, such as the type field in the Ethernet header or vlan tag etc., also can know simultaneously the information of message inlet end by this chip, determine that according to content or the ingress port information of specific fields this detection messages is service message or loads message.Wherein, if to message a vlan tag is set, then only need the vlan tag field of detection messages to get final product, do not need by identify load operation system business message such as information such as ports.
Here as the above-mentioned differentiation message relevant with the load operation system business and logic chip or the exchange chip in the described switching network of service message, the function that priority query is arranged at the outbound port of chip, after distinguishing by the said method pair message relevant with the load operation system business, so that entering higher order precedence's formation by chip, the loading message is sent to main controlled node, so that the message relevant with the load operation system business of main controlled node priority processing service node.
The method that the operating system that the embodiment of the invention provides loads, described service node receives main controlled node at the in advance virtual ip address processing message relevant with each service node load operation system business by the virtual firewall port, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
The method flow diagram that Fig. 4 provides another operating system to load for the embodiment of the invention, with reference to shown in Figure 4, main controlled node describes as an example of a Dynamic Host Configuration Protocol server and Boot server example in the embodiment of the invention, wherein Dynamic Host Configuration Protocol server is used to service node to provide the address to load the message service, wherein the Boot server is used to service node that the loading message service of application program or operating system mirror image is provided, and the method can comprise:
301, service node send DHCP request message to main controlled node, wherein the DHCPrequest message is the virtual ip address request message that service node sends to main controlled node.
DHCP request message is that DynamicHost arranges agreement request (Dynamic Host Configuration Protocol request) message.
302, the Dynamic Host Configuration Protocol server of main controlled node is after receiving this DHCP request message, send DHCP replay message by this virtual firewall port to service node, wherein, it is that virtual ip address is replied message that DynamicHost arranges agreement answer (Dynamic Host Configuration Protocol replay) DHCP replay message, and it is the virtual ip address that service node distributes that DHCP replay message comprises main controlled node.
The virtual firewall port here is the virtual firewall port that main controlled node pre-sets, and this virtual firewall port be used for to be responsible for and the communicating by letter of service node, and the message that enters from other outside ports so just can not be mistaken for the loading message of service node.
Here main controlled node is that main controlled node is after the virtual ip address request that receives service node to the virtual ip address answer message that service node sends, by DynamicHost protocol server DHCP server is set the DHCP replay message that service node sends is distributed virtual ip address, wherein main controlled node arranges server DHCP Server by DynamicHost and sends DHCP replay message.
303, after service node receives the DHCP replay message that main controlled node sends, self virtual ip address is configured to this virtual ip address, and sends the follow-up message relevant with the load operation system business to main controlled node according to this virtual ip address.
Wherein, DHCP replay message is that virtual ip address is replied message, and it is the virtual ip address that service node distributes that DHCP replay message comprises main controlled node.The Boot server of main controlled node just can receive the follow-up message relevant with the load operation system business that service node sends at virtual ip address by this virtual firewall port like this.
Concrete, the embodiment of the invention is take the load operation system image as example, the operating system that service node will load to the main controlled node request (Operating System is called for short OS) mirror image, and download the OS mirror image by tftp server.Concrete interactive step is as follows:
304, service node arranges agreement guide service discovery DHCP Boot service discovery message to the Boot server transmission DynamicHost of main controlled node, and described DHCP Boot service discovery message is used for starting configuration file to the main controlled node request.
305, main controlled node sends the guide service affirmation by the Boot server to service node and replys Boot service ACK replay message, and described Boot service ACK replay message comprises the configuration information of described service node request.
306, service node obtains the OS mirror image name that will download according to configuration information, and sends OS image download request message to the tftp server of main controlled node.
307, the tftp server of main controlled node sends OS mirror image by default virtual ip address to service node according to OS image download request message and loads message, loads the OS mirror image so that service node loads message according to the OS mirror image of downloading.
Here tftp server is supported the TFTP transmission service, and this tftp server colonizes in the BOOT server.
Optional main controlled node or service node are as message source the time, also be included as in the message relevant with the load operation system business loading message identification is set, so that the described message relevant with the load operation system business can be transmitted by high-priority queue, specifically with reference to Fig. 2 and embodiment corresponding to Fig. 3, repeat no more here.
The method that the operating system that the embodiment of the invention provides loads, described main controlled node is processed the message relevant with each service node load operation system business by the virtual firewall port at the virtual ip address that distributes for service node in advance, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
The embodiment of the invention provides a kind of main controlled node 4, with reference to shown in Figure 5, comprising: receiving element 41 and transmitting element 42, wherein,
Receiving element 41, be used for receiving the operating system load request that service node sends by the virtual firewall port that sets in advance, store the operating system mirror image of each service node in the system on this main controlled node, this virtual firewall port is for the treatment of the message relevant with each service node load operation system business, and the source IP address of this operating system load request is the virtual ip address that main controlled node distributes for service node in advance;
Transmitting element 42, be used for sending configuration information by this virtual firewall port to service node, the title that includes the operating system mirror image of service node in this configuration information is so that service node can be downloaded described operating system mirror image and loads from described main controlled node according to the title of operating system mirror image.
Optionally, receiving element 41 also is used for receiving the virtual ip address distribution request that service node sends by the virtual firewall port;
With reference to shown in Figure 5, master control point 4 also comprises: allocation unit 43, wherein,
Allocation unit 43 is used for being sent as the virtual ip address that service node distributes by the virtual firewall port to service node, and this virtual ip address is used for communicating by letter between service node and the main controlled node.
Further, optionally, with reference to shown in Figure 5, transmitting element 42, the message relevant with the load operation system business also be used at the message relevant with the load operation system business that sends to service node the loading message identification being set, so that can be transmitted by high-priority queue.
The main controlled node that the embodiment of the invention provides, described main controlled node is processed the message relevant with each service node load operation system business by the virtual firewall port at the virtual ip address that distributes for service node in advance, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
The embodiment of the invention provides a kind of service node 5, with reference to shown in Figure 6, comprising: sending module 51, and receiver module 52, download module 53 and load-on module 54, wherein,
Sending module 51 is used for using the pre-assigned virtual ip address of main controlled node to the request of main controlled node transmit operation system loads;
Receiver module 52, be used for receiving the configuration information that this main controlled node sends by the virtual firewall port that sets in advance, the mirror image title that includes the operating system of service node in this configuration information, wherein, this virtual firewall port stores the operating system mirror image of each service node for the treatment of the main controlled node message relevant with each service node load operation system business in this main controlled node;
Download module 53 is for the title of obtaining the operating system mirror image that will download according to this configuration information; And use virtual ip address to download the operating system mirror image corresponding with the title of operating system mirror image from main controlled node;
Load-on module 54 is used for the load operation system image.
Optionally, sending module 51 also is used for sending virtual ip address to main controlled node and distributes request;
Receiver module 52 also be used for to receive the virtual ip address that main controlled node sends by the virtual firewall port, and this virtual ip address is used for communicating by letter between service node and the main controlled node.
Optionally, sending module 51 also is used at the message relevant with the load operation system business that sends to main controlled node the loading message identification being set, so that the message relevant with the load operation system business can be transmitted by high-priority queue;
Download module 53, concrete being used for uses virtual ip address to download the operating system mirror image corresponding with the title of operating system mirror image from main controlled node according to TFTP.
The service node that the embodiment of the invention provides, described service node receives main controlled node at the in advance virtual ip address processing message relevant with each service node load operation system business by the virtual firewall port, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
The embodiment of the invention provides a kind of main controlled node 6, with reference to shown in Figure 7, this equipment can embed or itself be exactly little process computer, such as: the portable equipments such as multi-purpose computer, customization machine, mobile phone terminal or purl machine, comprise: at least one processor 61, storer 62, communication port 63 and bus 64, this at least one processor 61, storer 62 are connected by bus 64 connections and are finished mutual communication with communication interface.
This bus 64 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture is referred to as EISA) bus etc.This bus 64 can be divided into address bus, data bus, control bus etc.For ease of expression, only represent with a thick line among Fig. 7, but do not represent only to have the bus of a bus or a type.Wherein:
Storer 62 is used for the stores executable programs code, and this program code comprises computer-managed instruction.Storer 62 may comprise the high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.Store in the described memory device: operating system, application program, for the program code of realizing the embodiment of the invention.Described operating system is used for control and realizes the processing capacity that described processing unit is carried out.Described application program comprises program code, such as Word, email software.
Processor 61 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuit of the embodiment of the invention.
Communication interface 63 is mainly used in realizing the communication between the device in the present embodiment.
Wherein, processor 61, be used for receiving the operating system load request that service node sends by the virtual firewall port that sets in advance, store the operating system mirror image of each service node in the system on this main controlled node, this virtual firewall port is for the treatment of the message relevant with each service node load operation system business, and the source IP address of this operating system load request is the virtual ip address that main controlled node distributes for service node in advance;
Processor 61, be used for sending configuration information by this virtual firewall port to service node, the title that includes the operating system mirror image of service node in this configuration information is so that service node can be downloaded described operating system mirror image and loads from described main controlled node according to the title of operating system mirror image.
Optionally, processor 61 also is used for receiving the virtual ip address distribution request that service node sends by the virtual firewall port;
Processor 61 also is used for being sent as the virtual ip address that service node distributes by the virtual firewall port to service node, and this virtual ip address is used for communicating by letter between service node and the main controlled node.
Optionally, processor 61 also is used at the message relevant with the load operation system business that sends to service node the loading message identification being set, so that the message relevant with the load operation system business can be transmitted by high-priority queue.
The main controlled node that the embodiment of the invention provides, described main controlled node is processed the message relevant with each service node load operation system business by the virtual firewall port at the virtual ip address that distributes for service node in advance, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
The embodiment of the invention provides a kind of service node 7, with reference to shown in Figure 8, this equipment can embed or itself be exactly little process computer, such as: the portable equipments such as multi-purpose computer, customization machine, mobile phone terminal or purl machine, comprise: at least one processor 71, storer 72, communication port 73 and bus 74, this at least one processor 71, storer 72 are connected by bus 74 connections and are finished mutual communication with communication interface.
This bus 74 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture is referred to as EISA) bus etc.This bus 74 can be divided into address bus, data bus, control bus etc.For ease of expression, only represent with a thick line among Fig. 8, but do not represent only to have the bus of a bus or a type.Wherein:
Storer 72 is used for the stores executable programs code, and this program code comprises computer-managed instruction.Storer 72 may comprise the high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.Store in the described memory device: operating system, application program, for the program code of realizing the embodiment of the invention.Described operating system is used for control and realizes the processing capacity that described processing unit is carried out.Described application program comprises program code, such as Word, email software.
Processor 71 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuit of the embodiment of the invention.
Communication interface 73 is mainly used in realizing the communication between the device in the present embodiment.
Wherein, processor 71 is used for using the pre-assigned virtual ip address of main controlled node to the request of main controlled node transmit operation system loads;
Processor 71, also be used for receiving the configuration information that this main controlled node sends by the virtual firewall port that sets in advance, the mirror image title that includes the operating system of service node in this configuration information, wherein, this virtual firewall port stores the operating system mirror image of each service node for the treatment of the main controlled node message relevant with each service node load operation system business in this main controlled node;
Processor 71 is also for the title of obtaining the operating system mirror image that will download according to this configuration information; And use virtual ip address to download the operating system mirror image corresponding with the title of operating system mirror image from main controlled node;
Processor 71 also is used for the load operation system image.
Optionally, processor 71 also is used for sending virtual ip address to main controlled node and distributes request;
Processor 71 also is used at the message relevant with the load operation system business that sends to main controlled node the loading message identification being set, so that the message relevant with the load operation system business can be transmitted by high-priority queue;
Processor 71, concrete being used for uses virtual ip address to download the operating system mirror image corresponding with the title of operating system mirror image from main controlled node according to TFTP.
The service node that the embodiment of the invention provides, described service node receives main controlled node at the in advance virtual ip address processing message relevant with each service node load operation system business by the virtual firewall port, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
The embodiment of the invention provides a kind of operating system loading system, with reference to shown in Figure 1, comprising: main controlled node 2 and at least one service node 1, wherein, arbitrary main controlled node that main controlled node 2 provides for above-described embodiment, arbitrary service node that service node provides for above-described embodiment; Its structure working principle repeats no more here with reference to above-mentioned embodiment of the method and device embodiment.
The operating system loading system that the embodiment of the invention provides, described main controlled node is processed the message relevant with each service node load operation system business by the virtual firewall port at the virtual ip address that distributes for service node in advance, avoided many data buses are set between main controlled node and each service node, and then the cost of the loading system that adopts when having reduced business board load operation system.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described in general manner according to function in the above description.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
In several embodiment that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.In addition, the shown or coupling each other discussed or direct-coupling or communication connection can be indirect coupling or the communication connections by some interfaces, device or unit, also can be electric, machinery or other form connect.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of embodiment of the invention scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics of unit exists, and also can be that two or more unit are integrated in the unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words, perhaps all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), the various media that can be program code stored such as random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (15)

1. the method that operating system loads is characterized in that, comprising:
Main controlled node receives the operating system load request that service node sends by the virtual firewall port that sets in advance, store the operating system mirror image of each service node in the system on the described main controlled node, described virtual firewall port is for the treatment of the message relevant with each service node load operation system business, and the source IP address of described operating system load request is the virtual ip address that described main controlled node distributes for described service node in advance;
Described main controlled node sends configuration information by described virtual firewall port to described service node, the title that includes the operating system mirror image of described service node in the described configuration information is so that described service node can be downloaded described operating system mirror image and loads from described main controlled node according to the title of described operating system mirror image.
2. operating system loading method according to claim 1 is characterized in that, described method also comprises:
Described main controlled node receives the virtual ip address distribution request that described service node sends by described virtual firewall port;
Described main controlled node is sent as the virtual ip address that described service node distributes by described virtual firewall port to described service node, and described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
3. operating system loading method according to claim 1 is characterized in that, described method also comprises:
Described main controlled node arranges the loading message identification in sending to the message relevant with the load operation system business of described service node, so that the described message relevant with the load operation system business can be transmitted by high-priority queue.
4. the method that operating system loads is characterized in that, comprising:
Service node uses the pre-assigned virtual ip address of main controlled node to the request of described main controlled node transmit operation system loads;
Described service node receives the configuration information that described main controlled node sends by the virtual firewall port that sets in advance, the mirror image title that includes the operating system of described service node in the described configuration information, wherein, described virtual firewall port stores the operating system mirror image of each service node for the treatment of the main controlled node message relevant with each service node load operation system business in the described main controlled node;
Described service node obtains the title of the operating system mirror image that will download according to described configuration information;
Described service node uses described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node;
Described service node loads described operating system mirror image.
5. method according to claim 4 is characterized in that, described method also comprises:
Send virtual ip address to described main controlled node and distribute request;
Receive the virtual ip address that described main controlled node sends by described virtual firewall port, described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
6. method according to claim 4 is characterized in that, described method also comprises:
The described message relevant with the load operation system business in sending to the message relevant with the load operation system business of described main controlled node, the loading message identification be set, so that can be transmitted by high-priority queue.
7. the described method of any one is characterized in that according to claim 4~6, and the described virtual ip address of described use is downloaded the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node and comprised:
Use described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node according to TFTP.
8. a main controlled node is characterized in that, comprising:
Receiving element, be used for receiving the operating system load request that service node sends by the virtual firewall port that sets in advance, store the operating system mirror image of each service node in the system on the described main controlled node, described virtual firewall port is for the treatment of the message relevant with each service node load operation system business, and the source IP address of described operating system load request is the virtual ip address that described main controlled node distributes for described service node in advance;
Transmitting element, be used for sending configuration information by described virtual firewall port to described service node, the title that includes the operating system mirror image of described service node in the described configuration information is so that described service node can be downloaded described operating system mirror image and loads from described main controlled node according to the title of described operating system mirror image.
9. equipment according to claim 8 is characterized in that,
Described receiving element also is used for receiving the virtual ip address distribution request that described service node sends by described virtual firewall port;
Described main controlled node also comprises:
Allocation unit is used for being sent as the virtual ip address that described service node distributes by described virtual firewall port to described service node, and described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
10. equipment according to claim 8 is characterized in that,
Described transmitting element also is used at the message relevant with the load operation system business that sends to described service node the loading message identification being set, so that the described message relevant with the load operation system business can be transmitted by high-priority queue.
11. a service node is characterized in that, comprising:
Sending module is used for using the pre-assigned virtual ip address of main controlled node to the request of described main controlled node transmit operation system loads;
Receiver module, be used for receiving the configuration information that described main controlled node sends by the virtual firewall port that sets in advance, the mirror image title that includes the operating system of described service node in the described configuration information, wherein, described virtual firewall port stores the operating system mirror image of each service node for the treatment of the main controlled node message relevant with each service node load operation system business in the described main controlled node;
Download module is used for obtaining the title of the operating system mirror image that will download according to described configuration information, and uses described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node;
Load-on module is used for loading described operating system mirror image.
12. equipment according to claim 11 is characterized in that,
Described sending module also is used for sending virtual ip address to described main controlled node and distributes request;
Described receiver module also is used for receiving the virtual ip address that described main controlled node sends by described virtual firewall port, and described virtual ip address is used for communicating by letter between described service node and the described main controlled node.
13. equipment according to claim 11 is characterized in that,
Described sending module also is used at the message relevant with the load operation system business that sends to described main controlled node the loading message identification being set, so that the described message relevant with the load operation system business can be transmitted by high-priority queue.
14. described equipment is characterized in that according to claim 11~13,
Described download module, concrete being used for uses described virtual ip address to download the operating system mirror image corresponding with the title of described operating system mirror image from described main controlled node according to TFTP.
15. an operating system loading system is characterized in that, comprising: main controlled node be connected the service node that is connected with described main controlled node,
Wherein said main controlled node comprises that such as each described main controlled node of claim 8~10, described service node comprises such as each described service node of claim 11~14.
CN201210519460.6A 2012-12-06 2012-12-06 The method, apparatus and system that a kind of operating system loads Active CN102999345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210519460.6A CN102999345B (en) 2012-12-06 2012-12-06 The method, apparatus and system that a kind of operating system loads

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210519460.6A CN102999345B (en) 2012-12-06 2012-12-06 The method, apparatus and system that a kind of operating system loads

Publications (2)

Publication Number Publication Date
CN102999345A true CN102999345A (en) 2013-03-27
CN102999345B CN102999345B (en) 2016-03-30

Family

ID=47927951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210519460.6A Active CN102999345B (en) 2012-12-06 2012-12-06 The method, apparatus and system that a kind of operating system loads

Country Status (1)

Country Link
CN (1) CN102999345B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539485A (en) * 2015-01-04 2015-04-22 成都盟升科技有限公司 Automatic topology identification method of point-to-point bidirectional link
WO2016112825A1 (en) * 2015-01-13 2016-07-21 华为技术有限公司 Remote control method, terminal device, management server, and remote control system
CN107707656A (en) * 2017-10-10 2018-02-16 李梓彤 The remote loading method and system of operating system
CN111061521A (en) * 2019-12-13 2020-04-24 恒为科技(上海)股份有限公司 Method and system for starting equipment
CN111294279A (en) * 2020-02-03 2020-06-16 苏州浪潮智能科技有限公司 Device and method for setting backup port of network aggregation group in PXE environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197715A (en) * 2007-12-29 2008-06-11 中国移动通信集团湖北有限公司 Method for centrally capturing mobile data service condition
CN101593122A (en) * 2009-06-24 2009-12-02 中兴通讯股份有限公司 A kind of startup method and apparatus of embedded system
CN101778136A (en) * 2010-01-15 2010-07-14 山东高效能服务器和存储研究院 Method for installing operating systems for client through remote real-time monitoring of network
WO2010127610A1 (en) * 2009-05-04 2010-11-11 成都市华为赛门铁克科技有限公司 Method, equipment and system for processing visual private network node information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197715A (en) * 2007-12-29 2008-06-11 中国移动通信集团湖北有限公司 Method for centrally capturing mobile data service condition
WO2010127610A1 (en) * 2009-05-04 2010-11-11 成都市华为赛门铁克科技有限公司 Method, equipment and system for processing visual private network node information
CN101593122A (en) * 2009-06-24 2009-12-02 中兴通讯股份有限公司 A kind of startup method and apparatus of embedded system
CN101778136A (en) * 2010-01-15 2010-07-14 山东高效能服务器和存储研究院 Method for installing operating systems for client through remote real-time monitoring of network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539485A (en) * 2015-01-04 2015-04-22 成都盟升科技有限公司 Automatic topology identification method of point-to-point bidirectional link
WO2016112825A1 (en) * 2015-01-13 2016-07-21 华为技术有限公司 Remote control method, terminal device, management server, and remote control system
CN107707656A (en) * 2017-10-10 2018-02-16 李梓彤 The remote loading method and system of operating system
CN111061521A (en) * 2019-12-13 2020-04-24 恒为科技(上海)股份有限公司 Method and system for starting equipment
CN111061521B (en) * 2019-12-13 2023-06-09 恒为科技(上海)股份有限公司 Method and system for starting equipment
CN111294279A (en) * 2020-02-03 2020-06-16 苏州浪潮智能科技有限公司 Device and method for setting backup port of network aggregation group in PXE environment
CN111294279B (en) * 2020-02-03 2022-02-22 苏州浪潮智能科技有限公司 Device and method for setting backup port of network aggregation group in PXE environment

Also Published As

Publication number Publication date
CN102999345B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN104219127B (en) A kind of creation method and equipment of virtual network example
US8024469B1 (en) System and method for connecting network sockets between applications
US6314459B1 (en) Home-network autoconfiguration
CN108347351B (en) Method, device and system for compatibility of dual Ethernet cards of equipment
CN102999345B (en) The method, apparatus and system that a kind of operating system loads
CN102027732B (en) Providing access over ip network to server application program
US7774511B2 (en) Addressing multiple devices on a shared bus
CN111163130B (en) Network service system and data transmission method thereof
CN111901177B (en) Bare metal server network configuration method, system and related equipment
CN105306368B (en) A kind of transmission method and device of data message
CN112235175B (en) Access method and access device of network bridge equipment and network bridge equipment
US20120106429A1 (en) Method for interconnecting mobile communication terminals in ad-hoc network
JP2012531646A (en) Method of booting a computing device in a network, server for implementing the method and network of computing devices
CN112995247A (en) Method, device and system for transmitting or processing data
CN102594886A (en) Method and device for direct communication between browsers, and communication system
CN104426816A (en) Virtual machine communication method and device
JP4411344B2 (en) A method for recognizing incompatibility in a bus system with multiple control devices
CN110636149A (en) Remote access method, device, router and storage medium
CN114726905B (en) Method, device, equipment and storage medium for accessing Tbox network into Android system
CN112383617B (en) Method, device, terminal equipment and medium for performing long connection
CN110943975B (en) Service registration method, device, computer equipment and storage medium
CN104104594A (en) Methods of transmitting and receiving protocol message of VSU, devices and system
US8176138B1 (en) Method and apparatus for system description and provisioning
CN108965169B (en) Message transmission method, network card controller, network card and electronic equipment
CN115469961A (en) Method and device for creating container group, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant