CN102469152A - Network load adjusting method - Google Patents
Network load adjusting method Download PDFInfo
- Publication number
- CN102469152A CN102469152A CN2010105647240A CN201010564724A CN102469152A CN 102469152 A CN102469152 A CN 102469152A CN 2010105647240 A CN2010105647240 A CN 2010105647240A CN 201010564724 A CN201010564724 A CN 201010564724A CN 102469152 A CN102469152 A CN 102469152A
- Authority
- CN
- China
- Prior art keywords
- client
- protocol server
- file transfer
- transfer protocol
- configuration information
- 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
Links
Images
Abstract
The invention relates to a network load adjusting method, which is applied to a pre-loaded execution environment program. The network load adjusting method is characterized in that a manner for asking for a simple and easy file transfer protocol server of each client is adjusted. The network load adjusting method comprises the following steps of: setting an interface operation program in a communication protocol server in a dynamic host, so as to obtain configuration information sent by the client; modifying address information of the simple and easy file transfer protocol server in the configuration information by the interface program, and returning a connection request back to the client according to the modified configuration information; connecting the client to the corresponding simple and easy file transfer protocol server according to the address information of the connection request, and obtaining the pre-loaded execution environment program from the simple and easy file transfer protocol server.
Description
Technical field
The present invention relates to a kind of load regulation method, particularly a kind of networking load regulation method that is applied to be written in advance execution environment program.
Background technology
Along with the continuous lifting of networking transmission speed, no longer be confined to browsing page or data transmission for the application at networking.The somebody proposes to utilize existing network construction to build the conception of putting the networking computer.The networking computer is not provided with storage device exactly in client.But client is linked to service end through the networking, from service end, grasp the required data of client operation again.
The disk regular meeting that the general using networking links far-end adopts start execution environment (pre-boot execution environment is hereinafter to be referred as PXE) in advance.Except the data that can capture service end are supported action that client starts shooting, also can utilize service to bring in the installation of carrying out the system or the application program of client through PXE.Generally speaking, in order to realize the function of said distal ends operation, so can start ROM (Boot Rom) that support PXE be burned onto in the fast flash memory bank (Flash memory) on the card of networking.After client start, PXE then is the card address, networking of the service end received according to client, makes client be able to and the service end line.
Please refer to shown in Figure 1ly, it is the line sketch map of prior art tftp server.Though the processing that such practice can be installed each client 120 fast.But client 120 is when obtaining service end; May set communication protocol server 110 (Dynamic Host Configuration Protocol because of DynamicHost; The abbreviation Dynamic Host Configuration Protocol server) cause; Make all clients 120 all point to same simple and easy file transfer protocol server 130 (Trivial File Transfer Protocol is called for short tftp server).Thus, the load of service end will increase the weight of, the related set-up time that influences client.
Summary of the invention
Technical problem to be solved by this invention provides a kind of networking load regulation method, is applied to be written in advance among the execution environment program, adjusts the ask for mode of each client to simple and easy file transfer protocol server.
To achieve these goals, the invention provides a kind of networking load regulation method, may further comprise the steps: set runnable interface program in the communication protocol server at DynamicHost, in order to intercept and capture the configuration information that Dynamic Host Configuration Protocol server sent; Interface routine is revised the address information of the simple and easy file transfer protocol server in the configuration information, and returns connection request according to amended configuration information and give this client; Client is connected to corresponding simple and easy file transfer protocol server according to the address information of connection request, and from simple and easy file transfer protocol server, obtains and be written into execution environment program in advance.
Technique effect of the present invention is: the present invention is provided with interface routine in Dynamic Host Configuration Protocol server, sets the desired networking of communication protocol server package in order to the interception client to DynamicHost.And revise the relevant package that Dynamic Host Configuration Protocol server is replied, to let each client pointed to different simple and easy file transfer protocol servers.
Describe the present invention below in conjunction with accompanying drawing and specific embodiment, but not as to qualification of the present invention.
Description of drawings
Fig. 1 is the line sketch map of prior art tftp server;
Fig. 2 is a configuration diagram of the present invention;
Fig. 3 is an operation workflow sketch map of the present invention;
Fig. 4 is an interface routine running sketch map of the present invention;
Fig. 5 is an interface routine configuration diagram of the present invention.
Wherein, Reference numeral
110 Dynamic Host Configuration Protocol server
120 clients
130 tftp servers
210 Dynamic Host Configuration Protocol server
220 clients
230 tftp servers
240 interface routines
Embodiment
Below in conjunction with accompanying drawing structural principle of the present invention and operation principle are done concrete description:
Please refer to shown in Figure 2ly, it is a configuration diagram of the present invention.The present invention includes: DynamicHost is set communication protocol server 210 (Dynamic Host Configuration Protocol server), at least one client 220 and many simple and easy file transfer protocol servers 230 (tftp server).Each client 220 links Dynamic Host Configuration Protocol server 210 and tftp server 230 through Internet (internet), corporate intranet (intranet) or local-area network (Lan).
That tftp server 230 is adopted is simple and easy file transfer protocol (TFTP), and this is a kind of simple agreement that is used for transmitting archives, operate in UDP (User Datagram Protocol, UDP) on.Being designed to little of simple and easy file transfer protocol and simply be easy to operation, therefore, simple and easy file transfer protocol lacks FTP (File Transfer Protocol, many characteristics FTP).
(Application Programming Interface, API), interface routine 240 is in order to the networking package of interception from client 220 for storage interface program in the Dynamic Host Configuration Protocol server 210.When client 220 was activated, client 220 at first can be sent a broadcasting packages, required address, a dynamic networking (Internet Protocol address).Dynamic Host Configuration Protocol server 210 can provide an address, operational networking and subnet road shielding (subnet mask) to client 220 according to configured address at present.After client 220 was confirmed the address, networking of self, Dynamic Host Configuration Protocol server 210 will send other configuration information, in configuration information, has also comprised the address, networking of tftp server 230.
Therefore when 220 pairs of Dynamic Host Configuration Protocol server 210 of client required the address, networking of self, Dynamic Host Configuration Protocol server 210 of the present invention was handled according to following step accordingly, please refer to shown in Figure 3:
Step S310: runnable interface program in Dynamic Host Configuration Protocol server, in order to intercept and capture the configuration information that Dynamic Host Configuration Protocol server sends to client;
Step S320: interface routine is revised the address information of the tftp server in the configuration information, and returns connection request according to amended configuration information and give client; And
Step S330: client is connected to corresponding tftp server according to the address information of connection request, and from tftp server, obtains and be written into execution environment program in advance.
At first, runnable interface program 240 in Dynamic Host Configuration Protocol server 210.The configuration information that interface routine 240 real-time intercepting and capturing Dynamic Host Configuration Protocol server 210 are sent to client 220, and according to the content of configuration information whether decision revises relevant address information.The content of configuration information comprises at least: the place network segment of client 220, the rise time of package or to tftp server 230 desired addresses or the like.
Please be simultaneously with reference to figure 4 and shown in Figure 5, it is interface routine running of the present invention and configuration diagram.When the content of configuration information meets the condition of interface routine 240 interceptions, interface routine 240 will be revised the address information of the tftp server 230 in the configuration information, and return connection request according to amended configuration information and give client 220.At last, client 220 is connected to corresponding tftp server 230 according to the address information of connection request, from tftp server 230, obtains and is written into execution environment program in advance.And the mode of Dynamic Host Configuration Protocol server 210 distribution T ftp servers 230 can also can be distributed through the mode of load balance through the mode of distributing in regular turn.For instance, if the mode to distribute in regular turn, the tftp server 230 that interface routine 240 can will have is now tasked each client 220 according to the branch of order.If with the mode of load balance, then interface routine 240 need write down the quantity of the connection client 220 of each tftp server 230 separately.The quantity of the client 220 that is connected when tftp server 230 then assigns another tftp server 230 to give next client 220 during greater than threshold value.For the setting of threshold value, generally be the load capacity of setting TFTP, like the request quantity in the certain hour, the utilance of server central processing unit, server network bandwidth usages etc. are as threshold values.
Comprehensive above-mentioned institute says that the present invention sets in the communication protocol server 210 at DynamicHost and is provided with interface routine 240, sets the desired networking of communication protocol server package in order to interception client 220 to DynamicHost.And revise DynamicHost and set the relevant package that communication protocol server 210 is replied, to let each client 220 pointed to different simple and easy file transfer protocol servers 230.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (3)
1. a networking load regulation method is applied to one and is written in advance among the execution environment program, it is characterized in that, adjusts the ask for mode of each client to a simple and easy file transfer protocol server, and this networking load regulation method comprises the following steps:
Set operation one interface routine in the communication protocol server at a DynamicHost, set the configuration information that the communication protocol server sends to those clients in order to intercept and capture this DynamicHost;
This interface routine is revised an address information of this simple and easy file transfer protocol server in this configuration information, and returns a connection request according to amended this configuration information and give this client; And
This client is connected to corresponding this simple and easy file transfer protocol server according to this address information of this connection request, and from this simple and easy file transfer protocol server, obtains this and be written into execution environment program in advance.
2. networking as claimed in claim 1 load regulation method is characterized in that, also comprises in the step of this configuration information of modification: the order according to this simple and easy file transfer protocol server is distributed to this client in regular turn.
3. networking as claimed in claim 1 load regulation method is characterized in that, also comprises in the step of this amended this configuration information: distribute to this client according to the load capacity of this simple and easy file transfer protocol server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105647240A CN102469152A (en) | 2010-11-17 | 2010-11-17 | Network load adjusting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105647240A CN102469152A (en) | 2010-11-17 | 2010-11-17 | Network load adjusting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102469152A true CN102469152A (en) | 2012-05-23 |
Family
ID=46072315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105647240A Pending CN102469152A (en) | 2010-11-17 | 2010-11-17 | Network load adjusting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102469152A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070025253A1 (en) * | 2005-08-01 | 2007-02-01 | Enstone Mark R | Network resource teaming providing resource redundancy and transmit/receive load-balancing through a plurality of redundant port trunks |
CN101222395A (en) * | 2008-02-03 | 2008-07-16 | 华为技术有限公司 | Method, system and device for implementing selection of network guiding configuration information |
CN101778132A (en) * | 2010-01-22 | 2010-07-14 | 杭州华三通信技术有限公司 | Method, system and device for network installation based on load balance |
CN101815033A (en) * | 2010-03-12 | 2010-08-25 | 成都市华为赛门铁克科技有限公司 | Method, device and system for load balancing |
CN101827013A (en) * | 2009-03-05 | 2010-09-08 | 华为技术有限公司 | Method, device and system for balancing multi-gateway load |
-
2010
- 2010-11-17 CN CN2010105647240A patent/CN102469152A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070025253A1 (en) * | 2005-08-01 | 2007-02-01 | Enstone Mark R | Network resource teaming providing resource redundancy and transmit/receive load-balancing through a plurality of redundant port trunks |
CN101222395A (en) * | 2008-02-03 | 2008-07-16 | 华为技术有限公司 | Method, system and device for implementing selection of network guiding configuration information |
CN101827013A (en) * | 2009-03-05 | 2010-09-08 | 华为技术有限公司 | Method, device and system for balancing multi-gateway load |
CN101778132A (en) * | 2010-01-22 | 2010-07-14 | 杭州华三通信技术有限公司 | Method, system and device for network installation based on load balance |
CN101815033A (en) * | 2010-03-12 | 2010-08-25 | 成都市华为赛门铁克科技有限公司 | Method, device and system for load balancing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170295264A1 (en) | Network extended tcp splicing | |
CN110825394B (en) | Automatic initialization method, system and storage medium for application program of cloud mobile phone | |
KR101970054B1 (en) | Method and apparatus for scheduling the cloud servers | |
US8255536B2 (en) | Bandwidth and latency controller | |
CN101877710B (en) | Proxy gateway anti-virus implement method, pre-sorter and proxy gateway | |
US20060271665A1 (en) | IP telephone auto configuration system and method | |
CN102571996B (en) | IP (Internet Protocol) address assignment method, IP address assignment device and network system | |
US20170171301A1 (en) | Method, device and system for load balancing configuration | |
CN103475682A (en) | File transfer method and file transfer equipment | |
CN109450766B (en) | Access processing method and device for work area level VPN | |
US9537932B2 (en) | Emulating test distributed application on server | |
CN103414714A (en) | Method, device and equipment for processing messages | |
CN103744699A (en) | Method and device for software upgrading of intelligent electric equipment | |
CN101136929A (en) | Internet small computer system interface data transmission method and apparatus | |
US10140246B2 (en) | Optimizing remote direct memory access (RDMA) with cache aligned operations | |
CN106411742A (en) | Message transmission method and device | |
CN101699823A (en) | Method for realizing caching resource in curl library | |
CN101945053B (en) | Method and device for transmitting message | |
CN105933298B (en) | Apparatus and method for performing transmission control protocol handshaking | |
CN102916907A (en) | Download method and system based on home gateway, and home gateway | |
CN103970593A (en) | Multi-process interaction method and system | |
CN102469152A (en) | Network load adjusting method | |
CN106547600A (en) | A kind of remote auto installs the method and system of whole machine cabinet host operating system | |
CN100336373C (en) | Remote file transmission method | |
WO2020181598A1 (en) | Method for processing nginx network isolation spaces in batches and nginx server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120523 |