CN102999345B - The method, apparatus and system that a kind of operating system loads - Google Patents

The method, apparatus and system that a kind of operating system loads Download PDF

Info

Publication number
CN102999345B
CN102999345B CN201210519460.6A CN201210519460A CN102999345B CN 102999345 B CN102999345 B CN 102999345B CN 201210519460 A CN201210519460 A CN 201210519460A CN 102999345 B CN102999345 B CN 102999345B
Authority
CN
China
Prior art keywords
main controlled
node
service node
operating system
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.)
Active
Application number
CN201210519460.6A
Other languages
Chinese (zh)
Other versions
CN102999345A (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

Landscapes

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

Abstract

The invention provides a kind of method that operating system loads, equipment and system, relate to technical field of the computer network, the method comprises: the operating system load request that main controlled node is sent by the virtual firewall port accepts service node pre-set, described main controlled node stores the operating system mirror image of each service node in system, described virtual firewall port is for the treatment of the message relevant to each service node load operation system business, the source IP address of described operating system load request is described main controlled node is the virtual ip address of described service node distribution in advance, main controlled node sends configuration information by described virtual firewall port to described service node, the title of the operating system mirror image of described service node is included, so that described service node can be downloaded described operating system mirror image according to the title of described operating system mirror image from described main controlled node and load in described configuration information.This method reduce the cost of business board load operation system.

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, particularly relate to the method, apparatus and system that a kind of operating system loads.
Background technology
In boxlike distributed system, each business board runs and has respective operating system, and carry 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 of business board is stored on the storage medium of master control borad, and use independently bus to be separated physically with service channel by management channels, the business relevant to load operation system can be transmitted separately through management channels, when starting business board and carrying out system loads, send operating system mirror image to business board by Ethernet protocol and load.
Inventor finds, when adopting the loading of the operating system of carrying out business board in this way, the message transmitting method that can be separated physically by management channels and service channel solves the transmission of service message to the impact of operating system loading message transmissions, but owing to adopting management channels to need to adopt independent bus line respectively with the message transmitting method that service channel is separated physically, cause 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 adopted when reducing business board load operation system.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, a kind of method providing operating system to load, comprising:
The operating system load request that main controlled node is sent by the virtual firewall port accepts service node pre-set, described main controlled node stores the operating system mirror image of each service node in system, described virtual firewall port is for the treatment of the message relevant to each service node load operation system business, and the source IP address of described operating system load request is described main controlled node is the virtual ip address of described service node distribution in advance;
Described main controlled node sends configuration information by described virtual firewall port to described service node, the title of the operating system mirror image of described service node is included, so that described service node can be downloaded described operating system mirror image according to the title of described operating system mirror image from described main controlled node and load in described configuration information.
In conjunction with first aspect, in the implementation that the first is possible, described method also comprises:
The virtual ip address that described main controlled node is sent by service node described in described virtual firewall port accepts distributes request;
Described main controlled node is sent as the virtual ip address of described service node distribution to described service node by described virtual firewall port, described virtual ip address is used for the communication between described service node and described main controlled node.
In conjunction with first aspect, in the implementation that the second is possible, described method also comprises:
Described main controlled node arranges loading message identification in the message relevant to load operation system business sending to described service node, so that the described message relevant to load operation system business can be forwarded by high-priority queue.
Second aspect, a kind of method providing operating system to load, 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 is sent by the virtual firewall port pre-set, the mirror image title of the operating system of described service node is included in described configuration information, wherein, described virtual firewall port, for the treatment of the main controlled node message relevant to each service node load operation system business, stores the operating system mirror image of each service node in 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 first possible implementation 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 is sent by described virtual firewall port, described virtual ip address is used for the communication between described service node and described main controlled node.
In the implementation that the second of second aspect is possible, described method also comprises:
The described message relevant to load operation system business loading message identification be set in the message relevant to load operation system business sending to described main controlled node, so that can be forwarded by high-priority queue.
In conjunction with the first possible implementation 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:
Described virtual ip address is used 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, for the operating system load request that the virtual firewall port accepts service node by pre-setting sends, described main controlled node stores the operating system mirror image of each service node in system, described virtual firewall port is for the treatment of the message relevant to each service node load operation system business, and the source IP address of described operating system load request is described main controlled node is the virtual ip address of described service node distribution in advance;
Transmitting element, for sending configuration information by described virtual firewall port to described service node, the title of the operating system mirror image of described service node is included, so that described service node can be downloaded described operating system mirror image according to the title of described operating system mirror image from described main controlled node and load in described configuration information.
In the first possible implementation of the third aspect, described receiving element, the virtual ip address also for being sent by service node described in described virtual firewall port accepts distributes request;
Described main controlled node also comprises: allocation unit, for being sent as the virtual ip address of described service node distribution to described service node by described virtual firewall port, described virtual ip address is used for the communication between described service node and described main controlled node.
In the implementation that the second of the third aspect is possible, described transmitting element, also for arranging loading message identification in the message relevant to load operation system business sending to described service node, so that the described message relevant to load operation system business can be forwarded by high-priority queue.
Fourth aspect, provides a kind of service node, comprising:
Sending module, 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, for receiving the configuration information that described main controlled node is sent by the virtual firewall port pre-set, the mirror image title of the operating system of described service node is included in described configuration information, wherein, described virtual firewall port, for the treatment of the main controlled node message relevant to each service node load operation system business, stores the operating system mirror image of each service node in described main controlled node;
Download module, for obtaining the title of 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, for loading described operating system mirror image.
In the first possible implementation of fourth aspect, described transmitting element, also distributes request for sending virtual ip address to described main controlled node;
Described receiver module, also for receiving the virtual ip address that described main controlled node is sent by described virtual firewall port, described virtual ip address is used for the communication between described service node and described main controlled node.
In the implementation that the second of fourth aspect is possible, described sending module, also for arranging loading message identification in the message relevant to load operation system business sending to described main controlled node, so that the described message relevant to load operation system business can be forwarded by high-priority queue.
In conjunction with the implementation that the second of the first possible implementation of fourth aspect, fourth aspect, fourth aspect is possible, in the third possible implementation of fourth aspect, in conjunction with the said equipment, described download module, downloads the operating system mirror image corresponding with the title of described operating system mirror image specifically for using described virtual ip address according to TFTP from described main controlled node.
5th aspect, provides a kind of operating system loading system, comprising: the service node that main controlled node is connected with described main controlled node with at least one,
Wherein said main controlled node is main controlled node arbitrary described in the third aspect, and described service node is service node arbitrary described in fourth aspect.
The method, apparatus and system that the operating system that the embodiment of the present invention provides loads, described main controlled node processes the message relevant to each service node load operation system business by virtual firewall port on the virtual ip address distributed for service node in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation of a kind of operating system loading system that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the method that a kind of operating system that Fig. 2 provides for the embodiment of the present 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 present invention;
The structural representation of the another kind of main controlled node that Fig. 6 provides for the embodiment of the present 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 present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
With reference to shown in Fig. 1, the embodiment of the present invention is applied under the system be made up 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 for service node 1 provide need load operating system mirror image, the main controlled node 2 mentioned in the present embodiment can comprise a DynamicHost and arrange agreement (DynamicHostConfigurationProtocol, DHCP) server 21 (DHCPserver) and a Boot Server 22 (Bootserver), 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 to arrange agreement (DynamicHostConfigurationProtocol to service node, DHCP) service and TFTP (TrivialFileTransferProtocol, TFTP) serve, service node by switching network to main controlled node IP address requesting, by the TFTP TFTP in Boot Server Bootserver to load the mode down operation system (OperatingSystem of message, OS) mirror image, this process interface follows Pre-boot Execution Environment (PrebooteXecuteEnvironment, PXE) agreement, service node can be PXE client 11, certain loading message is here not limited to operating system mirror image, also can be transmit relevant request message etc. to 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 present invention loads, the method can be performed by main controlled node, and with reference to shown in Fig. 2, the method comprises:
101, the operating system load request that sent by the virtual firewall port accepts service node that pre-sets of main controlled node.
Wherein, this main controlled node stores the operating system mirror image of each service node in system, this virtual firewall port is for the treatment of the message relevant to each service node load operation system business, and the source IP address of this operating system load request is described main controlled node is the virtual ip address of described service node distribution in advance; Here on main controlled node, configure a virtual firewall port, this virtual firewall port is responsible for the communication with service node, and the message entered from other outside ports like this would not be mistaken for the loading communication message of service node.
Optionally, can also comprise before step 101:
The virtual ip address that 101a, main controlled node are sent by virtual firewall port accepts service node distributes request.
Here virtual ip address distributes request for the message relevant to service node load operation system business, and therefore this virtual ip address distributes request is also by the process of virtual firewall port.
Service node distributes virtual IP address (agreement interconnected between network, the InternetProtocol) address asking to be used for the loading of operating system mirror image to main controlled node request by virtual ip address.Wherein, it is that the DynamicHost that the DynamicHost of main controlled node arranges protocol server DHCPserver and provides arranges agreement request DHCPrequest message that this virtual ip address distributes request, wherein, owing to being separate network between virtual firewalls different on main controlled node, therefore the virtual ip address, route etc. of main controlled node are all isolation mutually, thus the virtual ip address that main controlled node distributes to service node can not clash with external network IP address.
101b, main controlled node are sent as the virtual ip address of this service node distribution to service node by virtual firewall port, this virtual ip address is used for the communication between service node and main controlled node.
Here main controlled node to the virtual ip address that service node distributes be main controlled node after the virtual ip address request receiving service node, by DynamicHost arrange protocol server DHCPserver to the DynamicHost that service node sends arrange Protocol answers DHCPreplay message distribute virtual ip address.
102, main controlled node sends configuration information by this virtual firewall port to service node.
This service node wherein, in this configuration information, includes the title of the operating system mirror image of service node, so that can be downloaded this operating system mirror image according to the title of operating system mirror image from main controlled node and load.
Optionally, in each step above-mentioned, relate to the message relevant to load operation system business when sending, the method also comprises: main controlled node arranges loading message identification in the message relevant to load operation system business sending to service node, should can be forwarded by high-priority queue by the message relevant to load operation system business.
Concrete, with reference to following example:
For the built-in message between main controlled node and service node, when message is sent to service node by main controlled node, message can be sent at main controlled node and add an encapsulation as message flag to during service node to message, namely the type field in two layers of Ethernet header of message or vlantag arrange specific value, such as type field is set to 0x6203,0x6204; The value differentiated service message that such service node is arranged by specific type field and load message.The message received directly is given to by service node for the external interface by switching network; In this case, service node can carry out the differentiated service message message relevant to load operation system business by the message module No. received with port numbers.
Or, forwarding after can directly being identified message by switching network, namely a logic chip or exchange chip are set at switching network, this chip is responsible for each node of UNICOM (certainly comprising main controlled node and service node), now switching network can by the content of chip detection message specific fields, such as, type field in Ethernet header or vlantag etc., also can be known the information of message inlet end by this chip simultaneously, according to the content of specific fields, or ingress port information, can determine that this detection messages is service message, or loading message.Wherein, if arrange a vlantag to message, then only need the vlantag field of detection messages, do not need to identify load operation system business message by the such as information such as port.
Here the logic chip in as relevant to load operation system business in above-mentioned differentiation message and the switching network as described in service message or exchange chip, the function of priority query is had at the outbound port of chip, after being distinguished by the said method pair message relevant to load operation system business, make loading message can enter higher order precedence's queue by chip and be sent to service node, and then can the priority processing message relevant to load operation system business, avoid system transfers to block the impact of the loading velocity on service node system or application program.
The method that the operating system that the embodiment of the present invention provides loads, described main controlled node processes the message relevant to each service node load operation system business by virtual firewall port on the virtual ip address distributed for service node in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Fig. 3 is the process flow diagram embodiments providing the method that another kind of operating system loads, and the method can be performed by service node, and with reference to shown in Fig. 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, load request according to virtual ip address transmission is the loading message that service node is sent to main controlled node, this loading message is the load images of loading message to main controlled node solicit operation system of service node transmission, wherein, this loading message is that DynamicHost arranges agreement request DHCPrequest message.
Optionally, can also comprise before step 201:
201a, service node send virtual ip address to main controlled node and distribute request.
Here service node distributes virtual IP address (agreement interconnected between network, the InternetProtocol) address asking to be used for the loading of operating system mirror image to main controlled node request by virtual ip address.Wherein, it is that the DynamicHost that the DynamicHost of main controlled node arranges protocol server DHCPserver and provides arranges agreement request DHCPrequest message that this virtual ip address distributes request, wherein, it is separate network between virtual firewalls different on main controlled node, the virtual ip address of main controlled node, route etc. are all that isolation is mutually so that the virtual ip address to service node distribution can not clash with external network IP address.
201b, service node receive the virtual ip address that main controlled node is sent by virtual firewall port, and this virtual ip address is used for the communication between service node and main controlled node.
Here service node receive main controlled node send virtual ip address be main controlled node after the virtual ip address request receiving service node, by DynamicHost arrange protocol server DHCPserver to the DynamicHost that service node sends arrange Protocol answers DHCPreplay message distribution virtual ip address.
202, service node receives the configuration information that this main controlled node is sent by the virtual firewall port pre-set.
Here the mirror image title of the operating system of this service node is included in this configuration information, wherein, this virtual firewall port, for the treatment of the main controlled node message relevant to each service node load operation system business, stores the operating system mirror image of each service node 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 (TrivialFileTransferProtocol is called for short TFTP).This TFTP agreement is the agreement that in transmission control protocol/Internet Interconnection TCP/IP protocol suite is used for carrying out between clients and a server simple files transmission, provides uncomplicated, file transfer services that expense is little.
205, service node loads this operating system mirror image.
Optionally, in each step above-mentioned, relate to the message relevant to load operation system business when sending, the method also comprises: service node arranges loading message identification in the message relevant to load operation system business sending to main controlled node, should can be forwarded by high-priority queue by the message relevant to load operation system business.
Concrete, with reference to following example:
For the built-in message between main controlled node and service node, when message is sent to main controlled node by service node, message can be sent at service node and add an encapsulation as message flag to during main controlled node to message, namely the type field in two layers of Ethernet header of message or vlantag arrange specific value, such as type field is set to 0x6203,0x6204; The value differentiated service message that such main controlled node is arranged by specific type field and load message.The message received directly is given to by main controlled node for the external interface by switching network, in this case, main controlled node can come differentiated service message and the message relevant to load operation system business by information such as the message module No. of reception or port numbers.
Or, in other situations, forwarding after can also directly being identified message by switching network, namely a logic chip or exchange chip are set at switching network, this chip is responsible for each node of UNICOM (certainly comprising main controlled node and service node), now switching network can by the content of chip detection message specific fields, such as, type field in Ethernet header or vlantag etc., also can be known the information of message inlet end by this chip simultaneously, determine that this detection messages is service message or loads message according to the content of specific fields or ingress port information.Wherein, if arrange a vlantag to message, then only need the vlantag field of detection messages, do not need to identify load operation system business message by the such as information such as port.
Here the logic chip in as relevant to load operation system business in above-mentioned differentiation message and the switching network as described in service message or exchange chip, the function of priority query is had at the outbound port of chip, after being distinguished by the said method pair message relevant to load operation system business, make loading message enter higher order precedence's queue by chip and be sent to main controlled node, so that the message relevant to load operation system business of main controlled node priority processing service node.
The method that the operating system that the embodiment of the present invention provides loads, described service node is by the virtual firewall port accepts main controlled node message that process is relevant to each service node load operation system business on virtual ip address in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Fig. 4 is the method flow diagram embodiments providing the loading of another operating system, with reference to shown in Fig. 4, in the embodiment of the present invention, main controlled node is described for a Dynamic Host Configuration Protocol server and a Boot server, wherein Dynamic Host Configuration Protocol server is used for for service node provides address to load Message Service, wherein Boot server is for providing the loading Message Service of application program or operating system mirror image for service node, and the method can comprise:
301, service node send DHCPrequest message to main controlled node, wherein DHCPrequest message is the virtual ip address request message that service node sends to main controlled node.
DHCPrequest message is that DynamicHost arranges agreement request (DynamicHostConfigurationProtocolrequest) message.
302, the Dynamic Host Configuration Protocol server of main controlled node is after receiving this DHCPrequest message, DHCPreplay message is sent to service node by this virtual firewall port, wherein, it is that virtual ip address replys message that DynamicHost arranges Protocol answers (DynamicHostConfigurationProtocolreplay) DHCPreplay message, and it is the virtual ip address that service node distributes that DHCPreplay message comprises main controlled node.
Here virtual firewall port is the virtual firewall port that main controlled node pre-sets, and this virtual firewall port is used for being responsible for the communication with service node, and the message entered from other outside ports like this would not be mistaken for the loading message of service node.
Here main controlled node replys message to the virtual ip address that service node sends is that main controlled node is after the virtual ip address request receiving service node, arrange protocol server DHCPserver by DynamicHost and distribute virtual ip address to the DHCPreplay message that service node sends, wherein main controlled node arranges server DHCPServer by DynamicHost and sends DHCPreplay message.
303, after service node receives the DHCPreplay message of main controlled node transmission, the virtual ip address of self is configured to this virtual ip address, and sends the follow-up message relevant to load operation system business to main controlled node according to this virtual ip address.
Wherein, DHCPreplay message is that virtual ip address replys message, and it is the virtual ip address that service node distributes that DHCPreplay message comprises main controlled node.The follow-up message relevant to load operation system business that the Boot server of such main controlled node just can be sent on virtual ip address by this virtual firewall port accepts service node.
Concrete, the embodiment of the present invention for load operation system image, operating system (OperatingSystem the is called for short OS) mirror image that service node will load to main controlled node request, and download OS mirror image by tftp server.Concrete interactive step is as follows:
304, service node arranges agreement guide service discovery DHCPBootservicediscovery message to the Boot server transmission DynamicHost of main controlled node, and described DHCPBootservicediscovery message is used for starting configuration file to main controlled node request.
305, main controlled node sends guide service confirmation by Boot server to service node and replys BootserviceACKreplay message, and described BootserviceACKreplay 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 the virtual ip address preset to service node according to OS image download request message and loads message, so that service node loads message according to the OS mirror image downloaded load OS mirror image.
Here tftp server supports TFTP transmission service, and this tftp server colonizes in BOOT server.
Optional main controlled node or service node are when as message source, also comprise for arranging loading message identification in the message relevant to load operation system business, so that the described message relevant to load operation system business can be forwarded by high-priority queue, the concrete embodiment corresponding with reference to Fig. 2 and Fig. 3, repeats no more here.
The method that the operating system that the embodiment of the present invention provides loads, described main controlled node processes the message relevant to each service node load operation system business by virtual firewall port on the virtual ip address distributed for service node in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Embodiments provide a kind of main controlled node 4, with reference to shown in Fig. 5, comprising: receiving element 41 and transmitting element 42, wherein,
Receiving element 41, for the operating system load request that the virtual firewall port accepts service node by pre-setting sends, this main controlled node stores the operating system mirror image of each service node in system, this virtual firewall port is for the treatment of the message relevant to each service node load operation system business, and the source IP address of this operating system load request is main controlled node is the virtual ip address of service node distribution in advance;
Transmitting element 42, for sending configuration information by this virtual firewall port to service node, the title of the operating system mirror image of service node is included, so that service node can be downloaded described operating system mirror image according to the title of operating system mirror image from described main controlled node and load in this configuration information.
Optionally, receiving element 41, the virtual ip address also for being sent by virtual firewall port accepts service node distributes request;
With reference to shown in Fig. 5, main Control point 4 also comprises: allocation unit 43, wherein,
Allocation unit 43, for being sent as the virtual ip address of service node distribution to service node by virtual firewall port, this virtual ip address is used for the communication between service node and main controlled node.
Further, optionally, with reference to shown in Fig. 5, transmitting element 42, also for arranging loading message identification in the message relevant to load operation system business sending to service node, so that the message relevant to load operation system business can be forwarded by high-priority queue.
The main controlled node that the embodiment of the present invention provides, described main controlled node processes the message relevant to each service node load operation system business by virtual firewall port on the virtual ip address distributed for service node in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Embodiments provide a kind of service node 5, with reference to shown in Fig. 6, comprising: sending module 51, receiver module 52, download module 53 and load-on module 54, wherein,
Sending module 51, 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, for receiving the configuration information that this main controlled node is sent by the virtual firewall port pre-set, the mirror image title of the operating system of service node is included in this configuration information, wherein, this virtual firewall port, for the treatment of the main controlled node message relevant to each service node load operation system business, stores the operating system mirror image of each service node in this main controlled node;
Download module 53, for obtaining the title of 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, for load operation system image.
Optionally, sending module 51, also distributes request for sending virtual ip address to main controlled node;
Receiver module 52, also for receiving the virtual ip address that main controlled node is sent by virtual firewall port, this virtual ip address is used for the communication between service node and main controlled node.
Optionally, sending module 51, also for arranging loading message identification in the message relevant to load operation system business sending to main controlled node, so that the message relevant to load operation system business can be forwarded by high-priority queue;
Download module 53, specifically for using 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 present invention provides, described service node is by the virtual firewall port accepts main controlled node message that process is relevant to each service node load operation system business on virtual ip address in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Embodiments provide a kind of main controlled node 6, with reference to shown in Fig. 7, this equipment can embed or inherently micro-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 and communication interface 63 are connected by bus 64 and complete mutual communication.
This bus 64 can be industry standard architecture (IndustryStandardArchitecture, referred to as ISA) bus, peripheral component interconnect (PeripheralComponent, referred to as PCI) bus or extended industry-standard architecture (ExtendedIndustryStandardArchitecture, referred to as EISA) bus etc.This bus 64 can be divided into address bus, data bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 7, but not representing the bus only having a bus or a type.Wherein:
Storer 62 is for stores executable programs code, and this program code comprises computer-managed instruction.Storer 62 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disk memory.Store in described memory device: operating system, application program, for realizing the program code of the embodiment of the present invention.The processing capacity that described operating system performs for controlling and realize described processing unit.Described application program comprises program code, as Word, email software.
Processor 61 may be a central processing unit (CentralProcessingUnit, referred to as CPU), or specific integrated circuit (ApplicationSpecificIntegratedCircuit, referred to as ASIC), or be configured to the one or more integrated circuit implementing the embodiment of the present invention.
Communication interface 63, is mainly used in realizing the communication between the device in the present embodiment.
Wherein, processor 61, for the operating system load request that the virtual firewall port accepts service node by pre-setting sends, this main controlled node stores the operating system mirror image of each service node in system, this virtual firewall port is for the treatment of the message relevant to each service node load operation system business, and the source IP address of this operating system load request is main controlled node is the virtual ip address of service node distribution in advance;
Processor 61, for sending configuration information by this virtual firewall port to service node, the title of the operating system mirror image of service node is included, so that service node can be downloaded described operating system mirror image according to the title of operating system mirror image from described main controlled node and load in this configuration information.
Optionally, processor 61, the virtual ip address also for being sent by virtual firewall port accepts service node distributes request;
Processor 61, also for being sent as the virtual ip address of service node distribution to service node by virtual firewall port, this virtual ip address is used for the communication between service node and main controlled node.
Optionally, processor 61, also for arranging loading message identification in the message relevant to load operation system business sending to service node, so that the message relevant to load operation system business can be forwarded by high-priority queue.
The main controlled node that the embodiment of the present invention provides, described main controlled node processes the message relevant to each service node load operation system business by virtual firewall port on the virtual ip address distributed for service node in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Embodiments provide a kind of service node 7, with reference to shown in Fig. 8, this equipment can embed or inherently micro-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 and communication interface 73 are connected by bus 74 and complete mutual communication.
This bus 74 can be industry standard architecture (IndustryStandardArchitecture, referred to as ISA) bus, peripheral component interconnect (PeripheralComponent, referred to as PCI) bus or extended industry-standard architecture (ExtendedIndustryStandardArchitecture, referred to as EISA) bus etc.This bus 74 can be divided into address bus, data bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 8, but not representing the bus only having a bus or a type.Wherein:
Storer 72 is for stores executable programs code, and this program code comprises computer-managed instruction.Storer 72 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disk memory.Store in described memory device: operating system, application program, for realizing the program code of the embodiment of the present invention.The processing capacity that described operating system performs for controlling and realize described processing unit.Described application program comprises program code, as Word, email software.
Processor 71 may be a central processing unit (CentralProcessingUnit, referred to as CPU), or specific integrated circuit (ApplicationSpecificIntegratedCircuit, referred to as ASIC), or be configured to the one or more integrated circuit implementing the embodiment of the present invention.
Communication interface 73, is mainly used in realizing the communication between the device in the present embodiment.
Wherein, processor 71, 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 for receiving the configuration information that this main controlled node is sent by the virtual firewall port pre-set, the mirror image title of the operating system of service node is included in this configuration information, wherein, this virtual firewall port, for the treatment of the main controlled node message relevant to each service node load operation system business, stores the operating system mirror image of each service node in this main controlled node;
Processor 71, also for obtaining the title of 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 for load operation system image.
Optionally, processor 71, also distributes request for sending virtual ip address to main controlled node;
Processor 71, also for arranging loading message identification in the message relevant to load operation system business sending to main controlled node, so that the message relevant to load operation system business can be forwarded by high-priority queue;
Processor 71, specifically for using 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 present invention provides, described service node is by the virtual firewall port accepts main controlled node message that process is relevant to each service node load operation system business on virtual ip address in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Embodiments provide a kind of operating system loading system, with reference to shown in Fig. 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, with reference to above-mentioned embodiment of the method and device embodiment, repeats no more here.
The operating system loading system that the embodiment of the present invention provides, described main controlled node processes the message relevant to each service node load operation system business by virtual firewall port on the virtual ip address distributed for service node in advance, avoid and many data buss are set between main controlled node and each service node, and then the cost of the loading system adopted when reducing business board load operation system.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed coupling each other or direct-coupling or communication connection can be indirect coupling by some interfaces, device or unit or communication connection, also can be electric, machinery or other form connect.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of embodiment of the present invention scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, and also can be that the independent physics of unit exists, also can be that two or more unit are in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is in essence in other words to the part that prior art contributes, or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, 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. a method for operating system loading, is characterized in that, comprising:
The operating system load request that main controlled node is sent by the virtual firewall port accepts service node pre-set, described main controlled node stores the operating system mirror image of each service node in system, described virtual firewall port is for the treatment of the message relevant to each service node load operation system business, the source IP address of described operating system load request is described main controlled node is the virtual ip address that described service node distributes in advance, is provided with loading message identification in the message relevant to described each service node load operation system business;
Described main controlled node sends configuration information by described virtual firewall port to described service node, the title of the operating system mirror image of described service node is included, so that described service node can be downloaded described operating system mirror image according to the title of described operating system mirror image from described main controlled node and load in described configuration information.
2. operating system loading method according to claim 1, is characterized in that, described method also comprises:
The virtual ip address that described main controlled node is sent by service node described in described virtual firewall port accepts distributes request;
Described main controlled node is sent as the virtual ip address of described service node distribution to described service node by described virtual firewall port, described virtual ip address is used for the communication between described service node and 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 loading message identification in the message relevant to load operation system business sending to described service node, so that the described message relevant to load operation system business can be forwarded by high-priority queue.
4. a method for operating system loading, 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 is sent by the virtual firewall port pre-set, the title of the operating system mirror image of described service node is included in described configuration information, wherein, described virtual firewall port is for the treatment of the main controlled node message relevant to each service node load operation system business, store the operating system mirror image of each service node in described main controlled node, in the message relevant to described each service node load operation system business, be provided with loading message identification;
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 is sent by described virtual firewall port, described virtual ip address is used for the communication between described service node and described main controlled node.
6. method according to claim 4, is characterized in that, described method also comprises:
The described message relevant to load operation system business loading message identification be set in the message relevant to load operation system business sending to described main controlled node, so that can be forwarded by high-priority queue.
7. the method according to claim 4 ~ 6 any one, is characterized in that, 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:
Described virtual ip address is used 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, for the operating system load request that the virtual firewall port accepts service node by pre-setting sends, described main controlled node stores the operating system mirror image of each service node in system, described virtual firewall port is for the treatment of the message relevant to each service node load operation system business, the source IP address of described operating system load request is described main controlled node is the virtual ip address that described service node distributes in advance, is provided with loading message identification in the message relevant to described each service node load operation system business;
Transmitting element, for sending configuration information by described virtual firewall port to described service node, the title of the operating system mirror image of described service node is included, so that described service node can be downloaded described operating system mirror image according to the title of described operating system mirror image from described main controlled node and load in described configuration information.
9. main controlled node according to claim 8, is characterized in that,
Described receiving element, the virtual ip address also for being sent by service node described in described virtual firewall port accepts distributes request;
Described main controlled node also comprises:
Allocation unit, for being sent as the virtual ip address of described service node distribution to described service node by described virtual firewall port, described virtual ip address is used for the communication between described service node and described main controlled node.
10. main controlled node according to claim 8, is characterized in that,
Described transmitting element, also for arranging loading message identification in the message relevant to load operation system business sending to described service node, so that the described message relevant to load operation system business can be forwarded by high-priority queue.
11. 1 kinds of service nodes, is characterized in that, comprising:
Sending module, 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, for receiving the configuration information that described main controlled node is sent by the virtual firewall port pre-set, the title of the operating system mirror image of described service node is included in described configuration information, wherein, described virtual firewall port is for the treatment of the main controlled node message relevant to each service node load operation system business, store the operating system mirror image of each service node in described main controlled node, in the message relevant to described each service node load operation system business, be provided with loading message identification;
Download module, 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, for loading described operating system mirror image.
12. service nodes according to claim 11, is characterized in that,
Described sending module, also distributes request for sending virtual ip address to described main controlled node;
Described receiver module, also for receiving the virtual ip address that described main controlled node is sent by described virtual firewall port, described virtual ip address is used for the communication between described service node and described main controlled node.
13. service nodes according to claim 11, is characterized in that,
Described sending module, also for arranging loading message identification in the message relevant to load operation system business sending to described main controlled node, so that the described message relevant to load operation system business can be forwarded by high-priority queue.
14. service nodes according to claim 11 ~ 13 any one, is characterized in that,
Described download module, downloads the operating system mirror image corresponding with the title of described operating system mirror image specifically for using described virtual ip address according to TFTP from described main controlled node.
15. 1 kinds of operating system loading systems, is characterized in that, comprising: the service node that main controlled node is connected with described main controlled node with at least one,
Wherein said main controlled node comprises the main controlled node as described in any one of claim 8 ~ 10, and described service node comprises the service node as described in any one 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 CN102999345A (en) 2013-03-27
CN102999345B true 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)

Families Citing this family (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
CN104580475B (en) * 2015-01-13 2018-03-09 华为技术有限公司 Long-range control method, terminal device, management server and tele-control system
CN107707656A (en) * 2017-10-10 2018-02-16 李梓彤 The remote loading method and system of operating system
CN111061521B (en) * 2019-12-13 2023-06-09 恒为科技(上海)股份有限公司 Method and system for starting equipment
CN111294279B (en) * 2020-02-03 2022-02-22 苏州浪潮智能科技有限公司 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

Also Published As

Publication number Publication date
CN102999345A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
EP3522451B1 (en) Method for implementing network virtualization and related apparatus and communications system
CN102999345B (en) The method, apparatus and system that a kind of operating system loads
CN112217746A (en) Method, host and system for processing message in cloud computing system
WO2011109778A1 (en) System and method for connecting network sockets between applications
CN111163130B (en) Network service system and data transmission method thereof
CN111901177B (en) Bare metal server network configuration method, system and related equipment
CN108347351B (en) Method, device and system for compatibility of dual Ethernet cards of equipment
CN109617816B (en) Data message transmission method and device
CN112235175B (en) Access method and access device of network bridge equipment and network bridge equipment
CN110392002B (en) Message processing method, device, equipment and readable storage medium
CN112995247A (en) Method, device and system for transmitting or processing data
JP2012531646A (en) Method of booting a computing device in a network, server for implementing the method and network of computing devices
CN109194589B (en) MDC (media data center) implementation method and device
EP2662775B1 (en) Memory card device
CN102594886A (en) Method and device for direct communication between browsers, and communication system
WO2011017648A1 (en) System and method for sharing a payload among multiple homed networks
CN104426816A (en) Virtual machine communication method and device
CN111786989B (en) Communication processing method and device and electronic equipment
CN110636149B (en) Remote access method, device, router and storage medium
CN113783914A (en) Data processing method, device and equipment
CN110351394B (en) Network data processing method and device, computer device and readable storage medium
CN112383617B (en) Method, device, terminal equipment and medium for performing long connection
CN110943975B (en) Service registration method, device, computer equipment and storage medium
CN114301989A (en) Information transmission method, device and system
CN108965169B (en) Message transmission method, network card controller, network card and electronic equipment

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