CN111901240B - Route updating method, network acceleration system, server and switch - Google Patents

Route updating method, network acceleration system, server and switch Download PDF

Info

Publication number
CN111901240B
CN111901240B CN202010690566.7A CN202010690566A CN111901240B CN 111901240 B CN111901240 B CN 111901240B CN 202010690566 A CN202010690566 A CN 202010690566A CN 111901240 B CN111901240 B CN 111901240B
Authority
CN
China
Prior art keywords
switch
information
server
routing
updating
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
CN202010690566.7A
Other languages
Chinese (zh)
Other versions
CN111901240A (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.)
Xiamen Wangsu Co Ltd
Original Assignee
Xiamen Wangsu 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 Xiamen Wangsu Co Ltd filed Critical Xiamen Wangsu Co Ltd
Priority to CN202010690566.7A priority Critical patent/CN111901240B/en
Publication of CN111901240A publication Critical patent/CN111901240A/en
Application granted granted Critical
Publication of CN111901240B publication Critical patent/CN111901240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a route updating method, a network acceleration system, a server and a switch, wherein the method comprises the following steps: the transfer server receives address configuration information of the application server; the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table based on the first routing information; the transit server sends first updating information to a first switch, wherein the first updating information is used for indicating the first switch to update a local routing table. In the scheme, when the transit server locally updates the application server, the updating information is sent to the first switch, so that the first switch can dynamically and automatically update the local routing information of the first switch according to the change of the routing information of the transit server, and the purpose of dynamically updating the routing information locally at the first switch can be realized.

Description

Route updating method, network acceleration system, server and switch
Technical Field
The present invention relates to the field of network communications, and in particular, to a route updating method, a network acceleration system, a server, and a switch.
Background
Currently, network operators need to provide different service qualities for different traffic types, for example, acceleration services can be provided for video traffic or game traffic, and a common way is that the network operators can access service providers to achieve traffic acceleration.
The service provider receives traffic to be accelerated, which is imported by a network operator, determines traffic needing to be accelerated from the traffic, and performs acceleration proxy on the traffic needing to be accelerated. However, due to the complex environment of the related network devices, many routing entries, complex configuration, long response time, and the like, the currently adopted manual configuration method is very inflexible and consumes labor and time, which not only greatly affects user experience, but also consumes labor cost.
Disclosure of Invention
The embodiment of the invention provides a route updating method, a server and a switch, which can be used for realizing automatic issuing of network configuration in a network acceleration service system so as to solve the problem that the routing information of the switch and/or the server cannot be flexibly updated in the prior art.
In a first aspect, an embodiment of the present invention provides a route updating method, which is applied to a transit server, and the method includes: the transfer server receives address configuration information aiming at the application server and sent by the operation and maintenance platform; the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table based on the first routing information; the first routing information comprises a routing strategy provided by the transfer server for a user to access the application server; the transit server sends first updating information to a first switch, wherein the first updating information is used for indicating the first switch to update a local routing table.
Based on the scheme, after the transit server receives the address configuration information aiming at the application server and sent by the operation and maintenance platform, the corresponding first routing information can be automatically generated based on the address configuration information, the local routing table is updated based on the address configuration information, and meanwhile, the first updating information is sent to the first switch to indicate the first switch to synchronously update the local routing table of the first switch, so that the routing automatic updating of the related network equipment is realized without depending on manual configuration.
In a possible implementation method, the address configuration information includes an IP of a newly added application server; the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table based on the first routing information, including: the transfer server detects each access path of the application server; determining an acceleration path of the application server based on the detection result; generating the first routing information according to the corresponding relation between the acceleration path and the IP of the application server; adding the first routing information to a local routing table of the transit server; alternatively, it comprises: the transit server determines whether to start a cache acceleration strategy according to the service content provided by the application server; and if so, selecting a cache server for providing cache acceleration for the application server, and correspondingly generating the first routing information, wherein the first routing information comprises a route for forwarding the traffic of the user accessing the application server to the cache server by the transit server, and/or a route for requesting the origin from the application server by the cache server.
Based on the scheme, when the transit server sets a routing strategy for the newly added application server, the transit server can select a preferred acceleration path based on the detection result of the access path, so that the request sent to the application server can obtain acceleration service; furthermore, whether to implement the acceleration proxy of the traffic based on the cache mechanism can be selected according to the actual requirement, so that a perfect acceleration proxy server is provided for the traffic sent to the application server.
In a possible implementation method, the address configuration information includes deleting an application server IP; the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table of the transit server based on the first routing information, including: and the transfer server inquires all first routing information corresponding to the IP of the application server from a local routing table according to the address configuration information and deletes the first routing information.
Based on the scheme, the transit server can automatically delete the corresponding first routing information according to the exit of the application server or the stop of the IP, so as to avoid the error forwarding of the flow.
In a possible implementation method, the sending, by the transit server, the first update information to the first switch includes: the transit server sends the first update information to the first switch based on a first dynamic routing protocol.
Based on the scheme, the transfer server sends the first updating information to the first switch based on the first dynamic routing protocol, and can realize automatic synchronization of the routing updating information.
In a second aspect, an embodiment of the present invention provides a route updating method, which is applied to a first switch, and the method includes: the first switch receives first updating information sent by a transit server; the first updating information is sent by the transfer server after updating a local routing table based on first routing information, and the first routing information is obtained by the transfer server based on received address configuration information of the application server; the first switch determines second routing information based on the first updating information and updates a local routing table based on the second routing information; the first switch forwards the received traffic based on a local routing table; and the first switch sends second updating information to a second switch, wherein the second updating information is used for indicating the second switch to update a local routing table based on the second routing information, and the second switch forwards the traffic of the user accessing the application server based on the local routing table. Based on the scheme, the route updating information is transmitted to the second switch through the first switch, so that synchronous route updating of the related network equipment is realized.
In one possible implementation, the method in which the first switch sends the second update information to the second switch includes: the first switch sends the second update information to the second switch based on a second dynamic routing protocol.
Based on the scheme, the first switch sends the updating information to the second switch based on the second dynamic routing protocol, and the automatic synchronization of the routing updating information can be realized.
In one possible implementation method, the address configuration information includes an IP of the newly added application server; the first switch determines second routing information based on the first updating information, and updates a local routing table based on the second routing information, including: the first switch generates the second routing information based on the first updated information and adds the second routing information in a local routing table.
Based on the scheme, the first switch can generate second routing information according to the first updating information, and record the generated second routing information in the local routing table, so that the routing information of the user accessing the newly-added application server is dynamically recorded in the local routing table of the first switch.
In one possible implementation, the address configuration information includes a deletion of an application server IP; the first switch determines second routing information based on the first updating information, and updates a local routing table based on the second routing information, including: and the first switch determines the IP of the application server based on the first updating information, inquires second routing information corresponding to the IP of the application server from a local routing table and deletes the second routing information.
Based on the scheme, when the address configuration information sent to the transit server by the operation and maintenance platform is the deletion application server, the transit server can dynamically delete the routing information from the user to the application server which is confirmed to be deleted, and then the transit server sends first update information to the first switch, so that the first switch can determine the address information of the application server to be deleted according to the update information, and inquires all second routing information corresponding to the application server to be deleted from the local routing table according to the determined address information of the application server to be deleted, and deletes the second routing information, thereby dynamically deleting the routing information corresponding to the application server in the local routing table of the first switch, and avoiding misforwarding of the flow.
In a third aspect, an embodiment of the present invention provides a network acceleration system, where the system includes at least one transit server, a first switch, and a second switch, where the first switch establishes network connections with the transit server and the second switch, respectively; the transit server updates a local routing table according to the method of any one of the first aspect, and sends first routing update information to the first switch; the first switch updating a local routing table and sending second routing update information to the second switch according to the method of any one of the second aspects; and the second switch updates a local routing table based on the second routing information and forwards the received user traffic based on the local routing table.
In a fourth aspect, an embodiment of the present invention provides a server, including a memory for storing program instructions; a processor for calling program instructions stored in said memory to perform a method according to any one of the first aspect in accordance with the obtained program.
In a fifth aspect, an embodiment of the present invention provides a switch, including a memory, configured to store program instructions; a processor for calling program instructions stored in said memory to perform the method according to any of the second aspects in accordance with the obtained program.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the method according to any one of the first or second aspects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a diagram of a possible system architecture according to an embodiment of the present invention;
fig. 2 is a method for updating a route according to an embodiment of the present invention;
fig. 3 is a server according to an embodiment of the present invention;
fig. 4 is a switch according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, in a network service scenario, to improve user experience, an acceleration agent for traffic is generally involved. For example, the user is least willing to have a stuck event during the game playing process; for another example, the user may not want to pause while watching a live video. Therefore, the traffic of the user is accelerated, and the improvement of the experience of the user is particularly important.
As shown in fig. 1, a possible system architecture diagram provided in the embodiment of the present invention may be used to accelerate traffic of a user. The system includes a client 110, a second switch 120, a first switch 130, a transit server 140, and an application server 150.
The client 110 includes a device directly operated by a user, and sends a request traffic to a corresponding application server based on the user operation, for example, a terminal device such as a mobile phone or a computer.
The second switch 120 is configured to receive request traffic sent by all clients 110 within its service range, and forward the request traffic according to the local routing table. In an application scenario, the second switch 120 may be one or more switches of an operator to which the client 110 belongs, and in the case of multiple switches, the second switch 120 still appears as one external switch through a Virtual Switching Unit (VSU) technology.
The first switch 130 is configured to receive the request traffic sent by the second switch 120, and process the request traffic again based on the local routing table, including forwarding to the transit server 140 or discarding the request traffic, and at the same time, when the local routing table is changed, trigger the second switch 120 to update the local routing table. The first switch 130 may be a service provider-deployed switch at the carrier office, communicatively coupled to the second switch 120 via a network. The service provider may deploy the first switch at each office end of the operator, where the number of the first switches deployed at each office end may be one or multiple, and in the case of multiple office ends, the first switch 130 still appears as one outward through the VSU technology.
The transit server 140 may be configured to accelerate the request traffic sent by the first switch 130, including transmitting the request traffic to the application server 150 through an acceleration path, or forwarding the request traffic to a corresponding cache acceleration server, where the acceleration of the traffic may be implemented by a proxy service program by introducing the traffic into the proxy service program of the application layer, and the acceleration of the traffic may also be implemented based on a preconfigured routing policy. The transit server 140 may also be configured to receive configuration information sent by an operation and maintenance platform (not shown), update the local routing table, and trigger the first switch 130 to update the local routing table. The transit server 140 may be a server deployed by a service provider, and may be a single server or a server cluster, and establishes a network connection with the first switch 130. It should be noted that the operation and maintenance platform may be used to manage the status and configuration information of each device, and the user may configure the information of the application server through the operable interface provided by the operation and maintenance platform, including adding or deleting the IP address of the application server.
The application server 150 is used to provide resource content, such as video files, game data, etc., accessed by a user, typically attributed to a content provider, and is available to respond to the user's request traffic.
For the problems in the prior art, and based on the system architecture shown in fig. 1, an embodiment of the present invention provides a route updating method, as shown in fig. 2, the method includes:
in step 201, the transit server receives address configuration information of the application server.
The address configuration information of the application server received by the transit server may include address configuration information for the same application server, or address configuration information for different application servers.
Step 202, the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table based on the first routing information.
The first routing information comprises a routing strategy provided by the transit server for a user to access the application server.
Step 203, the transit server sends first update information to the first switch, where the first update information is used to instruct the first switch to update the local routing table.
Accordingly, after receiving the first update information sent by the transit server, the first switch may perform the following steps.
And step 204, the first switch determines second routing information based on the first updating information, and updates a local routing table based on the second routing information.
And the second routing information comprises a routing strategy provided by the first switch for a user to access the application server.
Step 205, the first switch sends the second update information to the second switch.
The second updating information is used for instructing the second switch to update a local routing table based on the second routing information, so that the second switch forwards the traffic of the user accessing the application server according to the updated local routing table.
The above steps will be described below with reference to examples, respectively.
In step 201, the address configuration information received by the transit server may be sent by the operation and maintenance platform, and the operation and maintenance personnel may input corresponding address configuration information through the operation and maintenance platform according to the address change condition of the application server, and may issue the address configuration information for the application server to the transit server through the operation and maintenance platform.
The address configuration information of the application server issued by the operation and maintenance platform may include: the IP address of the application server, the gateway, the mask code and the interface IP address of the outlet exchanger.
In one implementation of step 202, when a new application server IP is added, for example, when a new application server is accessed, or an IP address of an existing application server is newly added, a new application server IP is added, and a configurator may issue address configuration information for the application server IPs through the operation and maintenance platform, where the address configuration information may further include an instruction of the newly added application server IP to instruct the transit server to perform an address adding operation.
When receiving the address configuration information of the newly added application server, the transit server may update the local routing table based on the content in the address configuration information, so as to add the routing information corresponding to the IP of the newly added application server in the local routing table.
Furthermore, the transit server may implement an acceleration proxy of traffic by setting a routing policy, and in this scenario, the transit server may configure a corresponding routing policy for the newly added application server IP, and specifically, may update the local routing table in the following two manners.
In the mode 1, the transfer server can acquire the IP address of each application server from the address configuration information, detect each access path of the application server based on the IP address, and determine the acceleration path of the application server based on the detection result; generating the first routing information according to the corresponding relation between the acceleration path and the application server; and adding the first routing information to a local routing table of the transit server to update the local routing table.
In order to realize the acceleration proxy of the traffic, the service provider may arrange a transmission network between the relay server and the application server, based on the transmission network, the relay server may access the application server through different transmission lines, and the detecting of each access path may include detecting evaluation indexes such as time delay, bandwidth, cost, packet loss rate, and the like of each transmission line. When the index value of each transmission line is obtained, the line can be selected according to the actual requirement, so as to obtain an acceleration path, for example, the acceleration path with the lowest time delay or lower cost is selected, or different weights are set for each index, and the acceleration path which best meets the service requirement is selected based on the calculation results of the weights and the index values.
In order to reduce the processing pressure of the transit server, a control server for periodically detecting each transmission line can be arranged in the transmission network, and the transit server can directly obtain the detection quality of the relevant line from the control server and select an acceleration path.
In the mode 2, the transit server determines whether to start a cache acceleration strategy according to the service content provided by the application server; and if so, selecting a cache server for providing cache acceleration for the application server, and correspondingly generating the first routing information, wherein the first routing information comprises a route for forwarding the traffic of the user accessing the application server to the cache server by the transit server, and/or a route for requesting the origin from the application server by the cache server. In implementation, the transit server may determine the type of the service content provided by the application server through the identification information in the address configuration information, or may confirm the service content provided by the application server based on the correspondence stored in advance locally.
For example, if the content resources provided by the application server mainly include static resources such as videos and pictures, the transit server may directly enable the cache acceleration policy for the application server.
It should be noted that, in the embodiment of the present invention, the transit server may implement acceleration proxy for the requested traffic based on a proxy program of its application layer, including returning to the source through an acceleration path, or implementing acceleration based on a cache acceleration mechanism, in this implementation, the transit server only needs to add basic routing information for these IP addresses in the local routing table, that is, the transit server may generate routing information corresponding to the IP of the application server directly according to the IP address of the application server, the gateway, the mask, and the interface IP address of the egress switch in the address configuration information, and update the routing information in the local routing table.
In one implementation, a corresponding acceleration mode may be selected for the IP of the newly added application server, and based on a static routing policy or an agent program, in this case, when the transit server receives the requested traffic, the transit server may first query the local routing policy to determine whether there is an acceleration policy corresponding to the configured destination IP, and if not, the transit server may send the acceleration policy to the agent program of the application layer for further processing. By the method, flexible application of an acceleration mode can be realized, and processing resources are saved.
In one implementation of step 202, when there is an application server IP exiting the service, for example, the application server exits the service or the IP address of the application server is changed, and some IP addresses are not used, the configuration personnel may issue, through the operation and maintenance platform, address configuration information for the application server IP exiting the service, where the address configuration information may further include an instruction to delete the application server IP, so as to instruct the transit server to perform an address deletion operation. When receiving the address configuration information of the deletion application server issued by the operation and maintenance platform, the transit server can delete the routing policy corresponding to the application server IP, i.e. the first routing information, in the local routing table, so as to avoid subsequent misguidance of the flow.
In one implementation of step 203, the transit server may run a monitoring program to monitor the state of the local routing table, and when it is found that the local routing table is updated, obtain the updated content and issue the updated content to the outside. Specifically, the transit server and the First switch may be installed with dynamic Routing software, and perform Routing Information interaction based on a First dynamic Routing Protocol, based on which, the transit server may send First update Information to the First switch based on the First dynamic Routing Protocol, where the First update Information includes update content of a local Routing table of the transit server, and the First dynamic Routing Protocol may be selected from OSPF (Open short Path First router Protocol), RIP (Routing Information Protocol ), IS-IS (Intermediate System-to-Intermediate System, intermediate System to Intermediate System), IGRP (Intermediate Gateway Routing Protocol, interior Gateway Routing Protocol), EIGRP (Enhanced Interior Gateway Routing Protocol), BGP (Border Gateway Protocol, and the like) according to actual network requirements.
Accordingly, when the first switch receives the first update information sent by the transit server, the first switch may update the local routing table based on the first update information. Compared with the scheme in the background art, the method can automatically update the local routing table of the first switch without manually configuring the transit server and the local routing table of the first switch.
In one implementation of the foregoing step 204, according to different types of address configuration information, the content included in the first update information sent by the transit server to the first switch is also different, and the manner in which the first switch updates the local routing table based on the first update information is also correspondingly different. Specifically, when the address configuration information includes an IP of the newly added application server, the first switch may determine, based on the first update information, second routing information that needs to be newly added, that is, respectively generate, according to the IP of the application server to be newly added in the first update information, corresponding routing information as the second routing information, and update the local routing table based on the second routing information, where the method includes: the first switch generates the second routing information based on the first updating information and adds the second routing information in a local routing table; when the address configuration information includes the deleted application server IP, the first switch determines the second routing information based on the first update information, that is, according to the application server IP to be deleted in the first update information, finds out the corresponding routing information from the local routing table as the second routing information, and updates the local routing table based on the second routing information, including: the first switch deletes the second routing information based on the first update information.
In one implementation of step 205 described above, the second switch has dynamic routing software installed and may perform routing interactions with the first switch based on a second dynamic routing protocol. The First switch may send second update Information to the second switch based on a second dynamic Routing Protocol, where the second dynamic Routing Protocol may be selected from OSPF (Open short Path First router Gateway Protocol), RIP (Routing Information Protocol), IS-IS (Intermediate System-to-Intermediate System), IGRP (Intermediate Gateway Routing Protocol, interior Gateway Routing Protocol), EIGRP (Enhanced Interior Gateway Routing Protocol), BGP (Border Gateway Protocol), and the like, according to actual network requirements.
Correspondingly, the second switch can update the local routing table according to the second update information, and can forward the traffic of the user accessing the application server according to the updated local routing table.
In the embodiment of the present invention, the automatic configuration of the routing policy may be implemented based on the above method, and after the routing update is completed, the second switch may forward the traffic addressed to the target application server to the first switch based on the local routing table, and forward the traffic to the transit server via the first switch according to the local routing table, so that the transit server performs accelerated proxy on the traffic.
In summary, based on the route updating method provided by the embodiment of the present invention, the local routes of the transit server, the first switch, and the second interactive machine can be automatically updated, so that the configuration personnel can complete the route updating of each relevant network routing device only by issuing the relevant address configuration information to the transit server through the operation and maintenance platform, the operation is simple and efficient, and meanwhile, errors caused by manual configuration are avoided.
It is to be noted that, in the foregoing embodiment, only the transit server, the first switch, and the second switch are taken as examples to describe the route updating method, in an actual application scenario, other routing devices may also be arranged among the transit server, the first switch, and the second switch to implement communication of network lines, in this case, all the routing devices involved in the whole line from the second switch to the transit server may implement interaction of routing information and transfer of update content based on the same manner, so as to complete automatic update of routes of all the routing devices in the whole line.
Based on the same concept, the embodiment of the present invention further provides a network acceleration system, which can refer to the system in fig. 1, the system includes at least one transit server 140, a first switch 130 and a second switch 120, wherein the first switch 130 communicates with the transit server 140 and the second switch 120 respectively based on a network.
The transit server is used for executing the method in the steps 201 to 203, updating the local routing table and sending first routing update information to the first switch;
a first switch, configured to execute the method in steps 204-205, update the local routing table, and send second routing update information to the second switch;
and the second switch can be used for updating the local routing table based on the second routing information and forwarding the received user traffic based on the local routing table.
Based on the same concept, the embodiment of the present invention further provides a server, which may correspond to the transit server 140 in the system shown in fig. 1, as shown in fig. 3, and includes at least a memory 301 and a processor 302, where the memory is used for storing program instructions; the processor is used for calling the program instructions stored in the memory, and at least the following method is realized by executing the obtained program: receiving address configuration information aiming at an application server sent by an operation and maintenance platform; determining corresponding first routing information according to the address configuration information, and updating a local routing table based on the first routing information; the first routing information comprises a routing strategy provided by the transfer server for a user to access the application server; sending first updating information to a first switch, wherein the first updating information is used for instructing the first switch to update a local routing table based on the first routing information.
It should be noted that, the method that can be implemented by the transit server in this embodiment may specifically refer to the corresponding description in the foregoing method embodiment, and is not described again.
Based on the same concept, the embodiment of the present invention further provides a switch, which may correspond to the first switch 130 in the system shown in fig. 1, as shown in fig. 4, and includes at least a memory 401 and a processor 402, where the memory is used for storing program instructions; the processor is used for calling the program instructions stored in the memory, and at least the following method is realized by executing the obtained program: receiving first updating information sent by a transfer server; the first updating information is sent by the transfer server after updating a local routing table based on first routing information, and the first routing information is obtained by the transfer server based on received address configuration information of the application server; determining second routing information based on the first updating information, and updating a local routing table based on the second routing information; wherein the second routing information comprises a routing policy provided by the first switch for a user to access the application server; and sending second updating information to a second switch, wherein the second updating information is used for instructing the second switch to update a local routing table based on the second routing information, so that the second switch forwards the traffic of the user accessing the application server based on the local routing table.
It should be noted that, for the method that can be implemented by the first switch in this embodiment, reference may be specifically made to the corresponding description in the foregoing method embodiment, and details are not described again.
The embodiment of the invention also provides a computing device, which can be specifically a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA) and the like. The computing device may include a Central Processing Unit (CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
Memory, which may include Read Only Memory (ROM) and Random Access Memory (RAM), provides the processor with program instructions and data stored in the memory. In an embodiment of the invention, the memory may be configured to store program instructions for a route update method;
and the processor is used for calling the program instruction stored in the memory and executing the route updating method according to the obtained program.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a route updating method.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A route updating method is applied to a network acceleration system, the network acceleration system comprises at least one transit server, a first switch of which a service provider is deployed at an operator local side and a second switch of an operator to which a client belongs, the first switch establishes network connection with the transit server and the second switch respectively, and the route updating method is characterized by comprising the following steps:
the transfer server receives address configuration information of an application server issued by the operation and maintenance platform;
the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table based on the first routing information; the first routing information comprises a routing strategy provided by the transfer server for a user to access the application server;
the transit server sends first updating information to the first switch, wherein the first updating information is used for indicating the first switch to update a local routing table, and the first updating information comprises the updating content of the local routing table of the transit server;
the first switch determines second routing information based on the first updating information and updates a local routing table based on the second routing information; the first switch forwards the received traffic based on a local routing table;
and the first switch sends second updating information to a second switch, wherein the second updating information is used for indicating the second switch to update a local routing table based on the second routing information, and the second switch forwards the traffic of the user accessing the application server based on the local routing table.
2. The method of claim 1, wherein the address configuration information comprises a new application server IP;
the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table based on the first routing information, including:
the transfer server detects each access path of the application server;
determining an acceleration path of the application server based on the detection result;
generating the first routing information according to the corresponding relation between the acceleration path and the IP of the application server;
adding the first routing information to a local routing table of the transit server;
alternatively, the method comprises the following steps:
the transfer server determines whether to start a cache acceleration strategy according to the service content provided by the application server;
and if so, selecting a cache server for providing cache acceleration for the application server, and correspondingly generating the first routing information, wherein the first routing information comprises a route for forwarding the traffic of the user accessing the application server to the cache server by the transit server, and/or a route for requesting the origin from the application server by the cache server.
3. The method of claim 1, wherein the address configuration information comprises deleting an application server IP;
the transit server determines corresponding first routing information according to the address configuration information, and updates a local routing table of the transit server based on the first routing information, including:
and the transfer server inquires first routing information corresponding to the IP of the application server from a local routing table according to the address configuration information and deletes the first routing information.
4. The method of claim 1,
the transit server sends first update information to the first switch, and the first update information comprises:
and the transit server sends the first updating information to the first switch based on a first dynamic routing protocol.
5. A route updating method is applied to a first switch deployed at an operator office side by a service provider, and is characterized by comprising the following steps:
the first switch receives first updating information sent by a transit server; the first updating information is sent by the transit server after updating a local routing table based on first routing information, the first routing information is obtained by the transit server based on received address configuration information of the application server, the address configuration information of the application server is issued through an operation and maintenance platform, and the first updating information comprises updating contents of the local routing table of the transit server;
the first switch determines second routing information based on the first updating information and updates a local routing table based on the second routing information; the first switch forwards the received traffic based on a local routing table;
and the first switch sends second updating information to a second switch of an operator to which the client belongs, wherein the second updating information is used for indicating the second switch to update a local routing table based on the second routing information, and the second switch forwards the flow of the user accessing the application server based on the local routing table.
6. The method of claim 5,
the first switch sends second update information to a second switch, including:
the first switch sends the second update information to the second switch based on a second dynamic routing protocol.
7. The method of claim 5, wherein the address configuration information comprises a new application server IP;
the first switch determines second routing information based on the first updating information, and updates a local routing table based on the second routing information, including:
the first switch generates the second routing information based on the first update information and adds the second routing information in a local routing table.
8. The method of claim 5, wherein the address configuration information comprises deleting an application server IP;
the first switch determines second routing information based on the first updating information, and updates a local routing table based on the second routing information, including:
and the first switch determines the IP of the application server based on the first updating information, inquires second routing information corresponding to the IP of the application server from a local routing table and deletes the second routing information.
9. A network acceleration system is characterized in that the system comprises at least one transit server, a first switch and a second switch, wherein the first switch establishes network connection with the transit server and the second switch respectively;
the transit server is configured to update the local routing table according to the method of any one of claims 1 to 4, and send first routing update information to the first switch;
the first switch is configured to update a local routing table and send second routing update information to the second switch according to the method of any of claims 5-8; and (c) a second step of,
and the second switch is used for updating a local routing table based on the second routing information and forwarding the received user traffic based on the local routing table.
10. A server, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 4 in accordance with the obtained program.
11. A switch, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 5 to 8 in accordance with the obtained program.
12. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1-4 or 5-8.
CN202010690566.7A 2020-07-17 2020-07-17 Route updating method, network acceleration system, server and switch Active CN111901240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010690566.7A CN111901240B (en) 2020-07-17 2020-07-17 Route updating method, network acceleration system, server and switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010690566.7A CN111901240B (en) 2020-07-17 2020-07-17 Route updating method, network acceleration system, server and switch

Publications (2)

Publication Number Publication Date
CN111901240A CN111901240A (en) 2020-11-06
CN111901240B true CN111901240B (en) 2023-04-18

Family

ID=73189434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010690566.7A Active CN111901240B (en) 2020-07-17 2020-07-17 Route updating method, network acceleration system, server and switch

Country Status (1)

Country Link
CN (1) CN111901240B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910791B (en) * 2021-02-08 2023-06-30 网宿科技股份有限公司 Diversion system and method thereof
CN113098750A (en) * 2021-03-11 2021-07-09 网宿科技股份有限公司 Site interconnection method, system and transfer equipment
CN116389342A (en) * 2022-09-08 2023-07-04 中电信数智科技有限公司 Non-invasive acceleration system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581805A (en) * 2018-06-08 2019-12-17 杭州海康威视数字技术股份有限公司 Routing table updating method, device, switch and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656994B (en) * 2014-12-31 2019-02-05 华为技术有限公司 A kind of business acceleration method and device
US9942130B2 (en) * 2015-01-07 2018-04-10 Cisco Technology, Inc. Selective routing of network traffic for remote inspection in computer networks
CN108600010A (en) * 2018-04-26 2018-09-28 昆明俊云科技有限公司 Data transmission method and device
CN111277630B (en) * 2020-01-13 2022-09-09 腾讯科技(深圳)有限公司 Routing control method and device, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581805A (en) * 2018-06-08 2019-12-17 杭州海康威视数字技术股份有限公司 Routing table updating method, device, switch and storage medium

Also Published As

Publication number Publication date
CN111901240A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
JP7252356B2 (en) MOBILE EDGE COMPUTING NODE SELECTION METHOD, APPARATUS AND SYSTEM AND COMPUTER PROGRAM
CN111901240B (en) Route updating method, network acceleration system, server and switch
JP7278679B2 (en) Mobile edge computing node selection method, device and system
US20210320896A1 (en) Domain name server allocation method and apparatus
CN106031130B (en) Content distribution network framework with edge proxies
US6324177B1 (en) Method and apparatus for managing connections based on a client IP address
US11463511B2 (en) Model-based load balancing for network data plane
US9838333B2 (en) Software-defined information centric network (ICN)
US9722950B2 (en) Processing resource access request in network
CN108667575B (en) Backup method and device for BRAS transfer control separation
CN111345008B (en) Mobile edge host service notification method and device
CN110808857B (en) Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster
US11936755B2 (en) Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute
US20230412456A1 (en) Data communication method and apparatus, electronic device, and storage medium
CN111741508B (en) Method, controller, forwarding device, device and medium for establishing communication connection
CN113301079B (en) Data acquisition method, system, computing device and storage medium
JP5526015B2 (en) Gateway system, gateway device, and load balancing method
US20180343194A1 (en) Network-aware routing in information centric networking
US8805993B2 (en) System and method for bulk network data collection
CN109788075B (en) Private network system, data acquisition method and edge server
CN110247847B (en) Method and device for back source routing between nodes
JP2019041241A (en) Distribution system
CN114024968A (en) Message sending method and device based on intermediate equipment and electronic equipment
CN113169936B (en) Service chaining mechanism for data stream processing
CN111866100A (en) Method, device and system for controlling data transmission rate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant