[0016] The load balancing method based on the transmission pervasive network architecture of the present invention will be further described in detail through the embodiments and drawings below, which does not limit the present invention.
[0017] The present invention mainly solves the following problems through the load balancing method based on the transmission pervasive network architecture: first, how to reduce the repeated transmission of redundant data in the network, because most of the content transmitted in the network currently has redundancy problems; the second Two, how to solve the influence of factors such as the load of the web server and the transmission distance, and improve the response speed; third, how to solve the load balancing problem during the network transmission process for content distribution is also a key technical problem that needs to be solved.
[0018] In order to achieve the above-mentioned purpose, the load balancing method based on the distributed network architecture of the present invention provides a new type of network component mode, which is a strategic overall deployment system through global load balancing traffic; the method distributes network content by analyzing or It is the redirection of network requests, redundantly processing the data transmitted by the network, minimizing repeated transmission, and this method uses a cache mechanism to preprocess the data in network transmission, with the help of cache servers or remote mirror sites. Complete the transmission and synchronous update of the content. By adding a new layer of network architecture to the existing network, the cache server is deployed close to the server, and the network content is published to the edge of the network closest to the client. The client can obtain the required information nearby. content, which solves the network congestion situation and improves the response time when accessing;
[0019] The load balancing method based on the transmission pervasive network architecture of the present invention mainly includes two parts: a core module and a peripheral module; the peripheral module is a part for implementing a solution strategy for the client, and as a node, mainly consists of a load balancing device and a cache The server consists of two parts;
[0020] The core module is the network management center and the distribution content redirection center of the method, which is mainly responsible for the load balancing problem in the network transmission process, and the placement position of the core module is mainly in the management center;
[0021] The peripheral module is a remote node of the method, and as a distribution carrier of network transmission information, it is mainly responsible for cache processing and content load in network transmission, and can effectively achieve the purpose of load balancing;
[0022] The load balancing device is the core part of the peripheral module. It refers to the distributed solution of the Internet in the selection of the load balancing device, and is responsible for the load balancing of each cache in each node, ensuring the working efficiency of the node in the whole process, and collecting Nodes maintain communication with surrounding environment information to achieve global load balancing; strengthen network data processing capabilities and improve network flexibility and availability;
[0023] The cache server is a storage device for network data, and is responsible for storing a large amount of information of the website, which is analogous to a network server close to users to respond to access requests.
[0024] In summary, the method of the present invention is a network coverage layer optimized for traditional IP network bandwidth requirements when it is relatively high. It is a strategic overall deployment system, including distributed storage, load balancing, and redirection of network requests. and content management etc. The main technologies used in the present invention are high-speed cache, mirror server, etc., among which more emphasis is placed on the load balancing of network content in the distribution process, and the management of network content and global network traffic management are the core. In the process of network transmission, it needs to be integrated with the existing network protocols to support the technical fields involved in the network transmission process; in the content load balancing part, more emphasis is placed on the distribution of network content, because in a certain bandwidth In the case of , improving the efficiency of distribution is the key issue to improve the transmission efficiency of the overall network. Compared with the current existing model, this method emphasizes the importance of the network in content publishing, and introduces the content management layer (core module) and global load balancing (load balancing equipment), which can effectively utilize the value of bandwidth. Solve the problem of effective publishing of content during network transmission.
[0025] Referring to the accompanying drawings, a specific example is used to describe the implementation process of the load balancing method based on the transmission pervasive network architecture of the present invention, as figure 2 As shown, the specific implementation process of this architecture is as follows:
[0026] Step 1. The user provides the browser with the domain name to be accessed, which can be input through the browser;
[0027] Step 2: After the browser invokes the domain name resolution library, the domain name is resolved, and the resolution function library is used to obtain the cache conversion record corresponding to the domain name. The browser needs to analyze the obtained cache conversion record again to obtain the IP address of the cache server; here In the process, the global load balancing analysis used, such as analyzing the corresponding IP address according to the geographic location information, enables users to access nearby;
[0028] Step 3: After obtaining the IP address of the cache server, the browser sends an access request to the cache server according to the IP address of the cache server;
[0029] Step 4, the cache server obtains the destination host IP address of the domain name through its internal DNS (domain name resolution system) according to the domain name to be accessed provided by the browser, and then submits the access request to the destination host IP address by the cache server;
[0030] Step 5: After the cache server obtains the request data from the IP address of the destination host, it saves it locally on the one hand for future use, and on the other hand returns the obtained request data to the client to complete the data service process;
[0031] Step 6: After obtaining the request data returned by the cache server, the client displays it, and completes the entire browsing data request process.
[0032] attached figure 1 Uncached access flow chart for the traditional network, through figure 1 It can be seen that the access process under the traditional network architecture is:
[0033] Step 1. The user provides the browser with the domain name to be accessed;
[0034] Step 2: The browser calls the domain name resolution library to resolve the domain name;
[0035] Step 3, obtain the IP address of the destination host corresponding to the domain name through step 2;
[0036] Step 4, the browser sends an access request to the destination host according to the IP address of the destination host;
[0037] Step 5. The destination host returns the obtained request data to the client, and the client obtains the request data and echoes it back, and completes the entire data request process;
[0038] The specific implementation process of the network architecture provided by the above-mentioned method (as shown in the attached figure 2 As shown), the comparison of the two network access processes shows that the method of the present invention provides a new type of network component mode, and a cache server is added at the edge of the network close to the client, so that the network response speed close to that of the local area network can be obtained, and can Effectively reduce the consumption of wide-area bandwidth; the client can obtain the required content nearby, solve the network congestion situation, and improve the response time when accessing.
[0039] It is a schematic diagram of the interaction between the browser and the server in the present invention. The above is only an embodiment of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in this document. within the scope of protection of the invention.