CN104753708A - Client-side startup configuration system and method - Google Patents

Client-side startup configuration system and method Download PDF

Info

Publication number
CN104753708A
CN104753708A CN201310743822.4A CN201310743822A CN104753708A CN 104753708 A CN104753708 A CN 104753708A CN 201310743822 A CN201310743822 A CN 201310743822A CN 104753708 A CN104753708 A CN 104753708A
Authority
CN
China
Prior art keywords
client
configuration
information
special project
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310743822.4A
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201310743822.4A priority Critical patent/CN104753708A/en
Publication of CN104753708A publication Critical patent/CN104753708A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a client-side startup configuration system and method. The client-side startup configuration method comprises the steps of sending position information including a packet and a preset startup guide file to a client-side and receiving exemplary case information sent by the client-side when receiving a startup signal sent by the client-side; obtaining configuration information corresponding to the exemplary case information sent by the client-side from a second memory device of a DHCP server; crating a corresponding configuration file for the client-side by utilizing the obtained configuration information, sending the configuration file to the client-side and enabling the client-side to utilize the position information with the startup guide file and the configuration information for startup. By utilizing the client-side startup configuration system and method, configuration can be conveniently and quickly conducted on different client-sides so as to quickly start different client-sides.

Description

Start configuration-system and the method for client
Technical field
The present invention relates to a kind of configuration-system and the method that start client.
Background technology
At present when testing (such as L2 test) to server rack (RACK), in server rack, every station server is all by PXE(preboot execute environment, Pre-Boot eXecution Environment) network remote guidance system technology starts.PXE server can only provide the steady testing environment special project (project) that (such as, comprising test desired parameters and test program etc.) carries out testing for client usually.When testing for different special projects, if when between special project, otherness is little, it is feasible that each special project uses same test environment to carry out starting jointly.Such as, but when there is larger difference between each special project, when hardware structure required between two special projects differs greatly, this each special project just cannot use same test environment jointly.Therefore, PXE server cannot quickly and easily for different special projects provides corresponding test environment.
Summary of the invention
In view of above content, be necessary to provide a kind of configuration-system and the method that start client, utilize the configuration information corresponding to special project information of the different special projects set up in advance, rapidly different clients is configured, thus start different clients fast.
The collocation method of described startup client, be applied to and be integrated with Dynamic Host Configuration Protocol server and start on the server of server, this server is connected with multiple user client communication by network.The method comprises: the first forwarding step: when receiving the enabling signal that the client that is connected with server communication sends, send a positional information comprising package and default starting factor file to this client, this package comprises the IP address distributing to this client and the IP starting server; Receiving step: receive the special project information that this client sends; Configuration step: according to received special project information, obtains the configuration information corresponding to special project information of this client from the second storage device of Dynamic Host Configuration Protocol server; Second forwarding step: will be that this client creates a corresponding configuration file with the configuration information of above-mentioned acquisition, and this configuration file is sent to this client, client is made to utilize the positional information of starting factor file to download starting factor file in startup server, and according to downloading corresponding configuration in the first storage device in the configuration information in configuration file to server, to start this client.
The configuration-system of described startup client, be applied to and be integrated with Dynamic Host Configuration Protocol server with on server on the server of startup server, this server is connected with multiple user client communication by network.This system comprises: the first sending module, for when receiving the enabling signal that the client that is connected with server communication sends, send a positional information comprising package and default starting factor file to this client, this package comprises the IP address distributing to this client and the IP starting server; Receiver module, for receiving the special project information that this client sends; Configuration module, for according to received special project information, obtains the configuration information corresponding to special project information of this client from the second storage device of Dynamic Host Configuration Protocol server; Second sending module, for will be that this client creates a corresponding configuration file with the configuration information of above-mentioned acquisition, and this configuration file is sent to this client, client is made to utilize the positional information of starting factor file to download starting factor file in startup server, and according to downloading corresponding configuration in the first storage device in the configuration information in configuration file to server, to start this client.
Compared to prior art, the configuration-system of startup client of the present invention and method, it passes through the configuration information of the special project information foundation correspondence being the different special projects in different clients in advance, make when receiving the enabling signal of client, the configuration information of this client is determined fast according to the special project information received, configuration information described in server by utilizing can be configured different clients quickly and easily, thus starts different clients fast.
Accompanying drawing explanation
Fig. 1 is the configuration diagram that the present invention starts the configuration-system preferred embodiment of client.
Fig. 2 is the functional block diagram that the present invention starts the configuration-system preferred embodiment of client.
Fig. 3 is the flow chart that the present invention starts the collocation method preferred embodiment of client.
Main element symbol description
Server 1
Dynamic Host Configuration Protocol server 2
Start server 3
Client 4
Network 5
First storage device 10
Configuration-system 11
Second storage device 12
Creation module 110
First sending module 111
Receiver module 112
Configuration module 113
Second sending module 114
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the configuration diagram that the present invention starts the configuration-system preferred embodiment of client.The configuration-system 11(of described startup client is hereinafter referred to as " configuration-system 11 ") run on DHCP(Dynamic Host Configuration Protocol on server 1, DynamicHost arranges agreement) on server 2.Described server 1 is PXE(preboot execute environment, Pre-Boot eXecution Environment) server, be integrated with Dynamic Host Configuration Protocol server 2 and start (bootup) server 5 on this server 1.This server 1 only illustrates three by network 5 with one or more client 4(Fig. 1) communication is connected.It should be noted that in other preferred embodiment, described server 1, Dynamic Host Configuration Protocol server 2 and multiple startup server 3 also can unconformity together, carry out data communication to be configured client 4, to start and the process such as test by network communication.
In this preferred embodiment, store for carrying out special project (project) (not shown in figure 1) of testing in each client 4 accordingly, the special project information special project of its special project and other type being carried out distinguishing is stored in DMI (Desktop Management Interface, Desktop Management Interface) in the mainboard chip (not shown) of each client 4.Described special project information can utilize the one or more keywords in this each client 4 in special project to arrange.The keyword that special project comprises can be special project name, mainboard sequence number, network interface card model etc.
Described server 1 also comprises one first storage device 10, for the various configurations that storage server 1 can provide in this first storage device 10, such as, and various kernel program, operating system and test program etc.Described Dynamic Host Configuration Protocol server 2 comprises one second storage device 12, for storing the data of Dynamic Host Configuration Protocol server 2.Described startup server 3 stores starting factor file.This starting factor file is downloaded by client 4 and after performing, client 4 can be made to ask configuration information to server 1, to perform the remote activation of this client 4.Described configuration information comprises the information such as such as kernel program, operating system and test program.
As shown in Figure 2, be the functional block diagram that the present invention starts the configuration-system preferred embodiment of client.The configuration-system 11 of described startup client comprises creation module 110, first sending module 111, receiver module 112, configuration module 113 and and the second sending module 114.Module alleged by the present invention has been the program segment of a specific function, is more suitable for describing software implementation in the chips, therefore all describes with module in software description below the present invention than program.
Described creation module 110, for according to client 4 data of configuration information that adopt of history special project and the characteristic of each special project in the past, is the configuration information of different its correspondences of special project information creating in the second storage device 12.Described creation module 110 can be edited, delete, increase the configuration information stored in the second storage device 12 newly.
The first described sending module 111, for when receiving enabling signal (the power on signal) that a client 4 sends, sends the positional information of a DHCP package and default starting factor file to this client 4.This package comprises the information such as the IP address distributing to this client 4, the IP starting server 3.The positional information of described transmission starting factor file can transmit this to client 4 by the mode of tftp.
Now, after this client 4 receives described DHCP package, can obtain the special project information stored in this client 4, the IP address then utilizing this to receive sends this special project information and DHCP confirmation to Dynamic Host Configuration Protocol server 2.
Described receiver module 112 is for receiving special project information and the DHCP confirmation of the transmission of this client 4.
Described configuration module 113, for according to received special project information, obtains the configuration information of this client 4 from the second storage device 12.Described configuration module 113 obtains the configuration information of its correspondence according to the keyword query in described special project information.
This configuration file and one for will be that this client 4 creates a corresponding configuration file with the configuration information of above-mentioned acquisition, and be confirmed that feedback information is sent to this client 4 by the second described sending module 114.Now client 4 utilizes the positional information of starting factor file to download starting factor file in startup server 3, and according to downloading corresponding configuration in the first storage device 10 in the configuration information in configuration file to server 1, to start this client 4, this client 4 is then made to start to enter testing process.
As shown in Figure 3, be the flow chart that the present invention starts the collocation method preferred embodiment of client.Should understand, the collocation method of startup client of the present invention is not limited to step in flow chart shown in Fig. 3 and order.According to different embodiments, the step in flow chart shown in Fig. 3 can increase, remove or change order.
Step S100, described creation module 110, according to client 4 data of configuration information that adopt of history special project and the characteristic of each special project in the past, is the configuration information of different its correspondences of special project information creating in the second storage device 12.
Step S101, when receiving enabling signal (the power on signal) that a client 4 sends, the first described sending module 111 sends the positional information of a DHCP package and default starting factor file to this client 4.This package comprises the information such as the IP address distributing to this client 4, the IP starting server 3.Now, after this client 4 receives described DHCP package, can obtain the special project information stored in this client 4, the IP address then utilizing this to receive sends this special project information and DHCP confirmation to Dynamic Host Configuration Protocol server 2.
Step S102, described receiver module 112 receives special project information and the DHCP confirmation of the transmission of this client 4.
Step S103, described configuration module 113, according to received special project information, obtains the configuration information of this client 4 from the second storage device 12.Described configuration module 113 obtains the configuration information of its correspondence according to the keyword query in described special project information.
Step S104, the second described sending module 114 utilizes the configuration information of above-mentioned acquisition to be that this client 4 creates a corresponding configuration file, and this configuration file and one are confirmed that feedback information is sent to this client 4.Now client 4 utilizes the positional information of starting factor file to download starting factor file in startup server 3, and according to downloading corresponding configuration in the first storage device 10 in the configuration information in configuration file to server 1, to start this client 4, then this client 4 starts to enter testing process.
It should be noted that, if do not receive the special project information that client 4 sends in above-mentioned steps S102, or when in step S103, configuration module cannot inquire the configuration information corresponding with received special project information, described configuration module 113 can utilize a default configuration information preset to be that this client 4 creates corresponding configuration file.
Finally it should be noted that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not depart from the spirit and scope of technical solution of the present invention.

Claims (8)

1. start a collocation method for client, be applied to and be integrated with Dynamic Host Configuration Protocol server and start on the server of server, it is characterized in that, the method comprises:
First forwarding step: when receiving the enabling signal that the client that is connected with server communication sends, send a positional information comprising package and default starting factor file to this client, this package comprises the IP address distributing to this client and the IP starting server;
Receiving step: receive the special project information that this client sends;
Configuration step: according to received special project information, obtains the configuration information corresponding to special project information of this client from the second storage device of Dynamic Host Configuration Protocol server; And
Second forwarding step: will be that this client creates a corresponding configuration file with the configuration information of above-mentioned acquisition, and this configuration file is sent to this client, client is made to utilize the positional information of starting factor file to download starting factor file in startup server, and according to downloading corresponding configuration in the first storage device in the configuration information in configuration file to server, to start this client.
2. the collocation method starting client as claimed in claim 1, it is characterized in that, before the first forwarding step, the method also comprises:
Foundation step: the configuration information being different its correspondences of special project information creating in the second storage device, one or more keywords in described special project Information Pull client in special project are arranged, and described keyword comprises special project name, mainboard sequence number, network interface card model.
3. the collocation method starting client as claimed in claim 1, it is characterized in that, the method also comprises:
When not receiving the special project information of client transmission, or when cannot inquire the configuration information corresponding with received special project information, a default configuration information preset is utilized to be that this client creates corresponding configuration file.
4. start the collocation method of client as described in claim 1, it is characterized in that, after this client receives described package, obtain the special project information stored in this client, the IP address then utilizing this to receive sends this special project information to Dynamic Host Configuration Protocol server.
5. start a configuration-system for client, be applied to and be integrated with Dynamic Host Configuration Protocol server and start on the server of server, it is characterized in that, this system comprises:
First sending module, for when receiving the enabling signal that the client that is connected with server communication sends, send a positional information comprising package and default starting factor file to this client, this package comprises the IP address distributing to this client and the IP starting server;
Receiver module, for receiving the special project information that this client sends;
Configuration module, for according to received special project information, obtains the configuration information corresponding to special project information of this client from the second storage device of Dynamic Host Configuration Protocol server; And
Second sending module, for will be that this client creates a corresponding configuration file with the configuration information of above-mentioned acquisition, and this configuration file is sent to this client, client is made to utilize the positional information of starting factor file to download starting factor file in startup server, and according to downloading corresponding configuration in the first storage device in the configuration information in configuration file to server, to start this client.
6. the configuration-system starting client as claimed in claim 5, it is characterized in that, this system also comprises:
Creation module, for being the configuration information of different its correspondence of special project information creating in the second storage device, one or more keywords in described special project Information Pull client in special project are arranged, and described keyword comprises special project name, mainboard sequence number, network interface card model.
7. the configuration-system starting client as claimed in claim 5, it is characterized in that, described configuration module is not also for receiving the special project information that client sends, or when cannot inquire the configuration information corresponding with received special project information, utilize a default configuration information preset to be that this client creates corresponding configuration file.
8. start the configuration-system of client as described in claim 5, it is characterized in that, after this client receives described package, obtain the special project information stored in this client, the IP address then utilizing this to receive sends this special project information to Dynamic Host Configuration Protocol server.
CN201310743822.4A 2013-12-30 2013-12-30 Client-side startup configuration system and method Pending CN104753708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310743822.4A CN104753708A (en) 2013-12-30 2013-12-30 Client-side startup configuration system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310743822.4A CN104753708A (en) 2013-12-30 2013-12-30 Client-side startup configuration system and method

Publications (1)

Publication Number Publication Date
CN104753708A true CN104753708A (en) 2015-07-01

Family

ID=53592860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310743822.4A Pending CN104753708A (en) 2013-12-30 2013-12-30 Client-side startup configuration system and method

Country Status (1)

Country Link
CN (1) CN104753708A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326051A (en) * 2016-08-22 2017-01-11 浪潮电子信息产业股份有限公司 Method for realizing automatic switchover of OS (Operating System) in PXE (Pre-boot Execution Environment) testing environment
CN108121662A (en) * 2017-12-29 2018-06-05 广东欧珀移动通信有限公司 The collocation method and its device of test equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326051A (en) * 2016-08-22 2017-01-11 浪潮电子信息产业股份有限公司 Method for realizing automatic switchover of OS (Operating System) in PXE (Pre-boot Execution Environment) testing environment
CN108121662A (en) * 2017-12-29 2018-06-05 广东欧珀移动通信有限公司 The collocation method and its device of test equipment

Similar Documents

Publication Publication Date Title
CN102752137B (en) The apparatus and method of virtual machine network parameter are initiatively set
CN1988535B (en) Synchronous method, system for file storage and customer terminal
CN103200271B (en) The method of ARM server and automation installation system thereof
US9002787B2 (en) Method and apparatus for tracking device management data changes
CN101808131B (en) Method for automatically upgrading network terminal edition
CN106572200A (en) IP address configuration method and IP address configuration device for baseboard management controller BMC
WO2015143794A1 (en) Creating and upgrading methods, server, terminal, upgrading system, and storage media
CN106873970B (en) Installation method and device of operating system
CN106713004B (en) Router adaptation method and system
CN108376078A (en) Upgrade method, device and the household appliance of equipment
CN104518910B (en) Apparatus for configuring Ethernet device and method for configuring Ethernet device
CN103744699A (en) Method and device for software upgrading of intelligent electric equipment
EP2897053B1 (en) Device management method and apparatus
CN103987064A (en) Access point (AP) upgrading method and device
CN104618388A (en) Quick registration and login method and corresponding reset server and information server
WO2022179353A1 (en) Domain name resolution method and apparatus, and computer device
CN105656661B (en) Single board software management method and system
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN104753708A (en) Client-side startup configuration system and method
US20130097228A1 (en) Network storage system, data manipulation method in network storage system, storage device and computer program product for controlling client device
CN105281944B (en) Method for setting network protocol address and service management system
CN103220327B (en) user information storage method and device
CN106559503A (en) A kind of communication means and device based on Internet of Things
CN110769462B (en) Network access control method and device
CN110971716B (en) Address configuration method, device, system and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150701