CN111163005B - Information processing method, device, terminal and storage medium - Google Patents
Information processing method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN111163005B CN111163005B CN201911295598.0A CN201911295598A CN111163005B CN 111163005 B CN111163005 B CN 111163005B CN 201911295598 A CN201911295598 A CN 201911295598A CN 111163005 B CN111163005 B CN 111163005B
- Authority
- CN
- China
- Prior art keywords
- forwarding
- network
- service request
- instance
- virtual network
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/306—Route determination based on the nature of the carried application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/48—Routing tree calculation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/70—Virtual switches
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 application provides an information processing method, an information processing device, a terminal and a storage medium, wherein the method comprises the following steps: configuring at least one different forwarding instance for each node device in the current network based on the attribute information of the current network; establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network; based on the virtual networks of different services, binding each forwarding instance with the virtual network to obtain a corresponding relation between the forwarding instance and the virtual network; responding to the received service request, and determining a target forwarding instance corresponding to the virtual network to which the service request belongs according to the corresponding relation; and forwarding the service request by adopting the target forwarding instance.
Description
Technical Field
The present invention relates to network communication technologies, and in particular, to an information processing method, an information processing apparatus, a terminal, and a storage medium.
Background
The mainstream design mode of the current cloud computing network is internet interconnection protocol intercommunication between basic networks, and a layer of virtual network is established on the basis to bear network traffic of tenants. Due to the popularization of cloud computing platforms, higher and higher requirements are put on platform networks, and high reliability and high utilization rate of redundant links become basic requirements of the current cloud computing networks. However, the existing network determines to calculate only the shortest planned path due to algorithm limitation, so that all data can be forwarded according to the shortest path, and only when a link fails, the redundant link is utilized to forward the data. The problem that the efficiency of data forwarding of the whole network is not high, and the link congestion is easy to occur, so that the service quality of the network is reduced is caused.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information processing method, an information processing apparatus, a terminal, and a storage medium to solve the problems in the prior art, so as to improve the forwarding utilization of a network and improve the quality of network service.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides an information processing method, which comprises the following steps:
configuring at least one different forwarding instance for each node device in the current network based on the attribute information of the current network;
establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network;
based on the virtual networks of different services, binding each forwarding instance with the virtual network to obtain a corresponding relation between the forwarding instance and the virtual network;
responding to the received service request, and determining a target forwarding instance corresponding to the virtual network to which the service request belongs according to the corresponding relation;
and forwarding the service request by adopting the target forwarding instance.
An embodiment of the present application provides an information processing apparatus, the apparatus including: the configuration module is used for configuring at least one different forwarding instance for each node device in the current network based on the attribute information of the current network;
the establishing module is used for establishing virtual networks corresponding to different services in the service set on the network based on the service set contained in the current network;
a binding module, configured to bind each forwarding instance with the virtual network based on the virtual networks of different services, so as to obtain a correspondence between the forwarding instance and the virtual network;
a determining module, configured to determine, in response to a received service request, a target forwarding instance corresponding to a virtual network to which the service request belongs according to the correspondence;
and the forwarding module is used for forwarding the service request by adopting the target forwarding example.
An embodiment of the present application provides a terminal, where the terminal at least includes: a controller and a storage medium configured to store executable instructions, wherein:
the controller is configured to execute stored executable instructions configured to perform the information processing method provided above.
An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are stored in the computer-readable storage medium, and are configured to execute the information processing method provided above.
The embodiment of the application provides an information processing method, an information processing device, a terminal and a storage medium, wherein, firstly, based on the attribute information of a current network, at least one different forwarding instance is configured for each node device in the current network, then based on a service set contained in the current network, a virtual network corresponding to different services in the service set is established on the network, then based on the virtual network of the different services, each forwarding instance is bound with the virtual network to obtain a corresponding relation between the forwarding instance and the virtual network, and finally, in response to a received service request, a target forwarding instance corresponding to the virtual network to which the service request belongs is determined according to the corresponding relation, and the service request is forwarded by adopting the target forwarding instance; therefore, by configuring a plurality of forwarding instances for the network node equipment and binding different virtual networks with the forwarding instances, when a service request is received, different service requests can be forwarded by adopting different forwarding instances in a targeted manner, so that the forwarding utilization rate of a network link is improved, and the network service quality is improved.
Drawings
Fig. 1 is a schematic diagram of a forwarding path of a service request provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a flow chart of an implementation of an information processing method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of another implementation of an information processing method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of another implementation of the information processing method according to the embodiment of the present application;
FIG. 5 is a schematic flow chart of another implementation of the information processing method according to the embodiment of the present application;
fig. 6 is a schematic view of a service processing flow of an information processing method according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating calculation of a forwarding path for each forwarding instance according to an embodiment of the present application;
fig. 8 is a schematic diagram of service request packet forwarding according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present application may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable terminal, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, the following description is made of related art of the embodiments of the present application.
In Internet Protocol (IP) network interworking design of an infrastructure layer network, a dynamic routing Protocol is usually adopted to ensure efficient forwarding of traffic and realize automatic convergence according to link failure. However, in the existing IP network, because the algorithm determines that only the shortest planned path is calculated, all traffic is forwarded according to the shortest path, and only when a link fails, redundant links are used for forwarding. The problem that the efficiency of data forwarding of the whole network is low, link congestion is easy to occur, and finally the service quality of the network is reduced is caused by the condition.
Fig. 1 is a schematic diagram of a forwarding path of a service request provided in an embodiment of the present application. As shown in fig. 1, the virtual network set 11 and the virtual network set 12 in the network: virtual network 1, · · · virtual network n, has 5 node devices, respectively: node device a101, node device B102, node device C103, node device D104, and node device E105, where node device a101 is an originating node and node device E105 is a destination node device. In the initial state of forwarding the service request, the path 1 of forwarding the service request is: node device a 101-node device B102-node device E105, and the link of forwarding path 1 is heavy, and another forwarding path 2 in the network: the link load of node device a 101-node device C103-node device D104-node device E105 is light. In the process of forwarding the service, when a link between the node device B107 and the node device E110 fails, a routing algorithm is adopted, so that a forwarding path 3 is obtained: node device a 106-node device B107-node device D109-node device E110, because the routing algorithm only calculates the shortest planned path, instead of adopting path 2 with light link load: the node device a106, the node device C108, the node device D109, and the node device E110 forward the Service request, so that a lot of traffic contends for the same link, and a redundant link cannot be used, thereby causing problems such as low network link utilization rate and Quality of Service (Qos) degradation.
Therefore, the following technical solutions of the embodiments of the present application are proposed, and in order to more thoroughly understand the features and technical contents of the embodiments of the present application, the embodiments of the present application will be described in detail below with reference to the accompanying drawings, which are provided for reference and are not intended to limit the embodiments of the present application.
An information processing method is provided in an embodiment of the present application, fig. 2 is a schematic flow chart illustrating an implementation of the information processing method in the embodiment of the present application, and as shown in fig. 2, the information processing method includes the following steps:
step S201: configuring at least one different forwarding instance for each node device in a current network based on attribute information of the current network.
Here, the attribute information of the current network refers to Qos metrics corresponding to different service requests processed by the current basic network, such as: rate, throughput, bandwidth, latency, utilization, cost, latency variation, availability, loss, and the like. In practical applications, a plurality of different forwarding instances corresponding to different network attribute information may be configured on each node device in the network according to the corresponding different Qos metrics of the current base network. And the number of forwarding instances configured may be determined based on the nodes and links in the current network. For example, take the average of all link paths.
Step S202: and establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network.
Here, the current network can handle different services and establish different tenants, and these different services form a service set, i.e., a service set included in the current network. In one specific example, the current network can handle various services such as a video-watching service, an online shopping service, a chat service, and a web page browsing service. If the same network is used to handle various different services or to carry various tenant networks, network paralysis can result. Therefore, according to the service set included in the current network, a virtual network, i.e., an overlay network, corresponding to a service different from that in the service set is established on the network, and after the virtual network is established, the service request corresponding to the virtual network or the service request of the tenant corresponding to the virtual network can be processed.
Step S203: and binding each forwarding instance with the virtual network based on the virtual networks of the different services to obtain the corresponding relation between the forwarding instance and the virtual network.
Here, the network requires different network attribute information when processing different services. Therefore, according to the network attribute required for processing the service, when the virtual network corresponding to the service is established, the virtual network corresponding to the service is bound with the forwarding instance corresponding to the network attribute, so as to obtain the corresponding relationship between the forwarding instance and the virtual network.
Step S204: and responding to the received service request, and determining a target forwarding instance corresponding to the virtual network to which the service request belongs according to the corresponding relation.
Here, when a service request is received, a virtual network corresponding to the service request may be found according to a VNI field in a data packet of the service request, and then a target forwarding instance corresponding to the virtual network that processes the service request is determined according to a correspondence between the virtual network and the forwarding instance.
Step S205: and forwarding the service request by adopting the target forwarding instance.
Here, after determining the target forwarding instance corresponding to the service request, the service request may be forwarded according to the routing table of the corresponding target forwarding instance, and the target forwarding instance may provide the best Qos.
In the embodiment of the application, forwarding examples corresponding to different attribute information are established in node equipment according to different attribute information of a network, and virtual networks corresponding to different services processed by the network are bound with the forwarding examples, so that when a service request is received, a corresponding target forwarding example is determined according to the virtual network corresponding to the service request to forward the service request, and the service request can be forwarded by using different forwarding examples according to different service requests, thereby improving the utilization rate of a network link and improving the quality of network service.
An information processing method is provided in an embodiment of the present application, fig. 3 is a schematic flow chart of another implementation of the information processing method in the embodiment of the present application, and as shown in fig. 3, the information processing method includes the following steps:
step S301: configuring at least one different forwarding instance for each node device in a current network based on attribute information of the current network.
Step S302: determining a link state of the current network based on the attribute information matched by each forwarding instance.
Here, the different attribute information corresponds to different forwarding instances, such as a forwarding instance corresponding to the shortest required delay, a forwarding instance corresponding to the bandwidth, and a forwarding instance corresponding to the cost. According to the attribute information corresponding to the forwarding instance, determining the link state of the current network may be determining the attribute information corresponding to each link in the current network.
Step S303: and determining a shortest path set of the current node equipment to any node equipment in the current network based on the link state.
Here, the link state may be based on attribute information of the link. Based on the link state, determining a shortest path set from the current node device to any node device in the current network, where the shortest path set from the current node device to any node device in the current network may be obtained by performing routing calculation on each forwarding instance by using a routing algorithm according to the attribute information of the link, so as to determine the shortest path set from the current node device to any node device in the current network corresponding to different attribute information. In a specific example, the any node device may be a destination node device for processing a service request by a network.
Step S304: and determining the shortest path corresponding to the attribute information matched with each forwarding instance in the path set as the forwarding path of each forwarding instance.
Here, in the path set, the shortest path corresponding to each attribute information is determined, and then according to the forwarding instance corresponding to each attribute information, the shortest path of each forwarding instance, that is, the forwarding path in the routing table corresponding to each forwarding instance, can be determined.
Step S305: and establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network.
Step S306: and binding each forwarding instance with the virtual network based on the virtual networks of the different services to obtain the corresponding relation between the forwarding instance and the virtual network.
Step S307: and responding to the received service request, and determining a target forwarding instance corresponding to the virtual network to which the service request belongs according to the corresponding relation.
Step S308: and forwarding the service request by adopting the target forwarding instance.
Here, the forwarding the service request by using the target forwarding instance may be that the service request is forwarded by using a forwarding path in a routing table corresponding to the target forwarding instance, so as to implement optimal forwarding.
In the embodiment of the application, the routing tables can be respectively calculated for a plurality of forwarding instances by determining the shortest path corresponding to each forwarding instance, namely the forwarding path in the routing table corresponding to each forwarding instance, so that when a service request is forwarded, optimal forwarding can be realized, and the service quality of a network is improved.
An information processing method is provided in an embodiment of the present application, and fig. 4 is a schematic flowchart of another implementation flow of the information processing method in the embodiment of the present application, and as shown in fig. 4, the information processing method includes the following steps:
step S401: configuring at least one different forwarding instance for each node device in a current network based on attribute information of the current network.
Step S402: and establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network.
Step S403: and determining target attribute information required by the service processed by each virtual network from the attribute information of the current network to obtain a target attribute information set of each virtual network.
Here, target attribute information required for a service handled by each virtual network is determined from the attribute information of the current network. In a specific example, a service is a red packet in WeChat, and processing the service requires a delay of a network, so that target attribute information required for processing the service is a short delay, and correspondingly, target attribute information of a virtual network for processing the service is a short delay. Similarly, a target set of attributes for each virtual network may be determined.
Step S404: and obtaining the corresponding relation between the forwarding instance and each virtual network based on the corresponding relation between the target attribute information set of each virtual network and the forwarding instance.
Here, the forwarding instance is configured based on the attribute set of the network, and thus, there is a correspondence between the forwarding instance and the attribute of the network. Corresponding to attribute information of the current network, when a node device configures a forwarding instance, the correspondence between the virtual network and the forwarding instance may be one-to-many. When a node device configures multiple forwarding instances, corresponding to attribute information of a current network, a correspondence between virtual networks and forwarding instances may be one-to-one.
Step S405: and determining a service message corresponding to the received service request.
Here, when the node device receives a service request, a service packet corresponding to the service request may be acquired.
Step S406: and determining the virtual network to which the service request belongs based on the service message.
Here, the virtual network corresponding to the service request may be determined according to a VNI field in the service message acquired by the node device.
Step S407: and determining a target forwarding instance corresponding to the virtual network to which the service request belongs based on the corresponding relation between the forwarding instance and the virtual network.
After the virtual network corresponding to the service request is determined, the target forwarding instance corresponding to the virtual network to which the service request belongs is determined according to the corresponding relationship between the forwarding instance and the virtual network.
Step S408: and forwarding the service request by adopting the target forwarding instance.
In the embodiment of the application, the target attribute information corresponding to each virtual network can be determined by determining the target attribute information required for processing the service request, the forwarding instance can be bound with the virtual network according to the corresponding relation between the target attribute information and the forwarding instance, and the corresponding target forwarding instance can be pertinently selected to forward the service request when the service request is received, so that the utilization rate of the network is improved, and the service quality of the network is improved.
An information processing method is provided in an embodiment of the present application, fig. 5 is a schematic flowchart of another implementation flow of the information processing method in the embodiment of the present application, and as shown in fig. 5, the information processing method includes the following steps:
step S501: configuring at least one different forwarding instance for each node device in a current network based on attribute information of the current network.
Step S502: and establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network.
Step S503: and binding each forwarding instance with the virtual network based on the virtual networks of the different services to obtain the corresponding relation between the forwarding instance and the virtual network.
Step S504: and responding to the received service request, and determining a target forwarding instance corresponding to the virtual network to which the service request belongs according to the corresponding relation.
Step S505: and forwarding the service request by adopting the target forwarding instance.
Step S506: determining a link state of a forwarding path of the target forwarding instance.
Here, in the process of forwarding the service request by using the target forwarding instance, the link state of the forwarding path of the target forwarding instance is monitored in real time, for example: whether a link fails, the traffic status of the link, whether the link is congested, and the like.
Step S507: and if the link state does not meet the link state required by forwarding the service request, adjusting the corresponding relation between the virtual network and the forwarding instance.
Here, if the link state does not satisfy the link state required for forwarding the service request, determining link states of other forwarding paths of the current node device; wherein the other forwarding paths are forwarding paths in other forwarding instances of the current node device.
And if the link states in the other forwarding paths meet the link state required by forwarding the service request, binding the virtual network with the forwarding instance to which the other forwarding paths belong, and removing the corresponding relation between the virtual network and the forwarding instance to which the current forwarding path belongs. And then, forwarding the service request by adopting the other forwarding paths.
In a specific example, the current node device has three different forwarding instances, forwarding instance 1, forwarding instance 2 and forwarding instance 3, which are respectively bound with a virtual network 1, a virtual network 2 and a virtual network 3, and monitor the link state of a forwarding path in a forwarding instance in real time in the process of respectively forwarding different service requests by adopting the forwarding instance 1, the forwarding instance 2 and the forwarding instance 3, when the link state of the forwarding path of forwarding instance 1 fails to satisfy the link state required for forwarding service request 1, the link states of forwarding instance 2 and forwarding instance 3 are determined, if the link state of the forwarding instance 2 meets the link state required for forwarding the service request 1, the corresponding relation between the forwarding instance 1 and the virtual network 1 is removed, the virtual network 1 and the forwarding instance 2 are bound, and the service request 1 is forwarded by adopting the forwarding instance 2. If the link states of other forwarding instances cannot meet the link state required for forwarding the service request 1, the forwarding instance 1 is continuously used for forwarding the service request 1, that is, the corresponding relationship between the virtual network 1 and the forwarding instance 1 is not adjusted.
In the embodiment of the application, in the process of forwarding the service request by using the target forwarding instance, the corresponding relation between the virtual network and the forwarding instance is adjusted in real time by monitoring the link state in the target forwarding path in real time, so that the utilization rate of the link can be continuously improved, and the network utilization rate can be improved.
The embodiment of the application provides an information processing method, which can adjust the corresponding relation between a forwarding instance and a virtual network by dynamically detecting the service quality of the network in real time. The method can be realized by the following steps:
step S511: configuring at least one different forwarding instance for each node device in a current network based on attribute information of the current network.
Step S512: and establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network.
Step S513: and binding each forwarding instance with the virtual network based on the virtual networks of the different services to obtain the corresponding relation between the forwarding instance and the virtual network.
Step S514: and responding to the received service request, and determining a target forwarding instance corresponding to the virtual network to which the service request belongs according to the corresponding relation.
Step S515: and forwarding the service request by adopting the target forwarding instance.
Step S516: and acquiring the current network attribute of the forwarding path of the target forwarding instance.
Here, in the process of forwarding the service request by using the target forwarding instance, the current network attribute of the forwarding path of the target forwarding instance is dynamically monitored in real time.
Step S517: and if the current network attribute of the forwarding path does not meet the network attribute required by forwarding the service request, adjusting the corresponding relation between the forwarding instance and the virtual network.
Here, if the current network attribute of the forwarding path does not satisfy the network attribute required for forwarding the service request, determining the current network attribute of other forwarding paths of the current node device; wherein the other forwarding paths are forwarding paths in other forwarding instances of the current node device.
And if the current network attribute of the other forwarding paths meets the network attribute required by forwarding the service request, binding the virtual network with the forwarding instances to which the other forwarding paths belong, and removing the corresponding relation between the virtual network and the forwarding instances to which the current forwarding paths belong. And then, forwarding the service request by adopting the other forwarding paths.
In a specific example, the current node device has three different forwarding instances, forwarding instance 1, forwarding instance 2, and forwarding instance 3, which are bound to virtual network 1, virtual network 2, and virtual network 3, respectively. In the process of respectively forwarding the service request 1, the service request 2 and the service request 3 by adopting the forwarding example 1, the forwarding example 2 and the forwarding example 3, monitoring the network attribute of the forwarding path in the forwarding example in real time, and when the network attribute of the forwarding path of the forwarding example 1 cannot meet the network attribute required by the forwarding of the service request 1, if the time delay is short, determining the network attributes of the forwarding example 2 and the forwarding example 3: and (3) delaying, if the delay attribute of the forwarding instance 2 meets the delay requirement required by the forwarding of the service request 1, removing the corresponding relation between the forwarding instance 1 and the virtual network 1, binding the virtual network 1 and the forwarding instance 2, and forwarding the service request 1 by adopting the forwarding instance 2. If the network attributes of other forwarding instances cannot meet the network attribute required for forwarding the service request 1, the forwarding instance 1 is continuously used for forwarding the service request 1, that is, the corresponding relationship between the virtual network 1 and the forwarding instance 1 is not adjusted.
In the embodiment of the application, in the process of forwarding the service request by using the target forwarding instance, the corresponding relation between the virtual network and the forwarding instance is adjusted in real time by monitoring the network attribute in the target forwarding path in real time, so that the network path can be optimized in real time according to the quantitative index of the quality of service (Qos) of the network, and the network utilization rate is improved.
An information processing method is provided in an embodiment of the present application, and fig. 6 is a schematic view of a business process flow of the information processing method in the embodiment of the present application, and as shown in fig. 6, the business process processing method includes the following steps:
step S601: multiple forwarding instances are configured on a node device in a network.
Here, the number of forwarding instances configured may be determined according to the number of nodes and links.
Step S602: and respectively carrying out routing calculation aiming at each forwarding instance, and determining the shortest path tree of each forwarding instance.
Here, a routing algorithm may be adopted to perform routing calculation on each forwarding instance to obtain a forwarding path tree corresponding to each forwarding instance, and further obtain a forwarding path in a routing table corresponding to each forwarding instance.
Fig. 7 is a schematic diagram of calculation of a forwarding path of each forwarding instance in the embodiment of the present application, and as shown in fig. 7, there are 5 node devices in a current network: node device a701, node device B702, node device C703, node device D704 and node device E705, where node device a701 is an originating node and node device E705 is a destination node device. Three forwarding instances are obtained through routing calculation: a Shortest Path Tree (SPT) corresponding to forwarding instance 7011, forwarding instance 7012, and forwarding instance 7013, and correspondingly, a forwarding Path of forwarding instance 7011 corresponding to virtual network 71 is a701-B702-E705, a forwarding Path of forwarding instance 7012 corresponding to virtual network 72 is a701-B702-D704-E705, and a forwarding Path of forwarding instance 7013 corresponding to virtual network 73 is a 701-C703-D704-E705.
Step S603: and binding the service virtual network and the lower-layer forwarding instance to obtain the corresponding relation between the forwarding instance and the virtual network.
Step S604: and the virtual network forwards the service request according to the forwarding path of the corresponding forwarding instance.
Here, when a service request is received, a virtual network corresponding to the service request is determined, and then the service request is forwarded by using a target forwarding instance corresponding to the virtual network according to a corresponding relationship between the virtual network and the forwarding instance.
Fig. 8 is a schematic diagram of service request packet forwarding according to an embodiment of the present application. As shown in fig. 8, are: the packet message of the service request handled by the virtual network 81, the packet message of the service request handled by the virtual network 82, and the packet message of the service request handled by the virtual network 83. Correspondingly, the virtual network 801 and the forwarding instance 81 are bound, and the forwarding path in the routing table 1 of the forwarding instance 801 is adopted to forward the service request 1; binding the virtual network 82 and the forwarding instance 802, and forwarding the service request 2 by adopting a forwarding path in a routing table 2 of the forwarding instance 802; and binding the virtual network 83 and the forwarding instance 3, and forwarding the service request 3 by using the forwarding path in the routing table 3 of the forwarding instance 803.
Step S605: in the process of forwarding the service request, the link flow condition is dynamically acquired so as to adjust the corresponding relation between the virtual network and the forwarding instance.
In the embodiment of the application, a plurality of forwarding instances are configured on each node device, the forwarding path of each forwarding instance is calculated respectively, then the virtual network is bound with the forwarding instances, when a service request is received, the corresponding target forwarding instance is adopted to forward the service request in a targeted manner according to the corresponding relation between the virtual network and the forwarding instances, and the link flow state in the forwarding path is monitored in real time to optimize the forwarding path of the service request in real time, so that the utilization rate of the network is improved, the network service quality is improved, and the user experience is improved.
An information processing apparatus according to an embodiment of the present application is provided, fig. 9 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application, and as shown in fig. 9, the apparatus 900 includes: a configuration module 901, an establishment module 902, a binding module 903, a first determination module 904, and a forwarding module 905, wherein:
the configuration module 901 is configured to configure at least one different forwarding instance for each node device in the current network based on attribute information of the current network;
the establishing module 902 is configured to establish, on the network, a virtual network corresponding to different services in the service set based on a service set included in the current network;
the binding module 903 is configured to bind each forwarding instance with the virtual network based on the virtual networks of different services, so as to obtain a corresponding relationship between the forwarding instance and the virtual network;
the first determining module 904 is configured to determine, in response to the received service request, a target forwarding instance corresponding to a virtual network to which the service request belongs according to the correspondence;
the forwarding module 905 is configured to forward the service request by using the target forwarding instance.
In the above apparatus, the apparatus further comprises:
the second determining module is used for determining the link state of the current network based on the attribute information matched with each forwarding instance;
a third determining module, configured to determine, based on the link state, a shortest path set from a current node device to any node device in a current network;
and a fourth determining module, configured to determine a shortest path corresponding to the attribute information matched with each forwarding instance in the path set as a forwarding path of each forwarding instance.
In the above apparatus, the binding module 903 includes:
a first determining unit, configured to determine, from the attribute information of the current network, target attribute information required by a service processed by each virtual network, to obtain a target attribute information set of each virtual network;
a second determining unit, configured to obtain a correspondence between the forwarding instance and each virtual network based on a correspondence between the target attribute information set of each virtual network and the forwarding instance.
In the foregoing apparatus, the first determining module 904 includes:
a third determining unit, configured to determine a service packet corresponding to the received service request;
a fourth determining unit, configured to determine, based on the service packet, a virtual network to which the service request belongs;
a fifth determining unit, configured to determine, based on a correspondence between the forwarding instance and the virtual network, a target forwarding instance corresponding to the virtual network to which the service request belongs.
In the above apparatus, the apparatus further comprises:
a fifth determining module, configured to determine a link state of a forwarding path of the target forwarding instance;
and the first adjusting module is used for adjusting the corresponding relation between the virtual network and the forwarding instance if the link state does not meet the link state required by the service request for forwarding.
In the above apparatus, the first adjusting module includes:
a sixth determining unit, configured to determine link states of other forwarding paths of the current node device if the link state does not satisfy the link state required for forwarding the service request; wherein the other forwarding paths are forwarding paths in other forwarding instances of the current node device;
a first binding unit, configured to bind the virtual network and the forwarding instance to which the other forwarding path belongs if a link state in the other forwarding path meets a link state required for forwarding the service request;
a first removing unit, configured to remove a correspondence between the virtual network and a forwarding instance to which a current forwarding path belongs;
and the first forwarding unit is used for forwarding the service request by adopting the other forwarding paths.
In the above apparatus, the apparatus further comprises:
the acquisition module is used for acquiring the current network attribute of the forwarding path of the target forwarding instance;
and the second adjusting module is used for adjusting the corresponding relation between the forwarding instance and the virtual network if the current network attribute of the forwarding path does not meet the network attribute required by the service request for forwarding.
In the above apparatus, the second adjusting module includes:
a seventh determining unit, configured to determine current network attributes of other forwarding paths of the current node device if the current network attribute of the forwarding path does not meet the network attribute required for forwarding the service request; wherein the other forwarding paths are forwarding paths in other forwarding instances of the current node device;
a second binding unit, configured to bind the virtual network and the forwarding instance to which the other forwarding path belongs if the current network attribute of the other forwarding path satisfies the network attribute required for forwarding the service request;
a second removing unit, configured to remove a correspondence between the virtual network and a forwarding instance to which the current forwarding path belongs;
and the second forwarding unit is used for forwarding the service request by adopting the other forwarding paths.
The embodiment of the present application further provides an information processing apparatus, which includes modules, and sub-modules and units included in the modules, and can be implemented by a processor in a terminal; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Correspondingly, an embodiment of the present application provides a terminal, fig. 10 is a schematic view of a composition structure of the terminal according to the embodiment of the present application, and as shown in fig. 10, the terminal 1000 at least includes: a controller 1001 and a storage medium 1002 configured to store executable instructions, wherein:
the controller 1001 is configured to execute stored executable instructions for implementing the provided information processing method.
It should be noted that the above description of the terminal embodiment is similar to the description of the method embodiment, and has similar beneficial effects to the method embodiment. For technical details not disclosed in the embodiments of the terminal of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Correspondingly, the embodiment of the present application provides a computer storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the information processing method provided in the other embodiments of the present application.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, etc.) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminals (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.
Claims (11)
1. An information processing method, the method comprising:
configuring at least one different forwarding instance for each node device in the current network based on the attribute information of the current network;
establishing a virtual network corresponding to different services in the service set on the network based on the service set contained in the current network;
based on the virtual networks of different services, binding each forwarding instance with the virtual network to obtain a corresponding relation between the forwarding instance and the virtual network;
responding to the received service request, and determining a target forwarding instance corresponding to the virtual network to which the service request belongs according to the corresponding relation;
and forwarding the service request by adopting the target forwarding instance.
2. The method of claim 1, after configuring at least one different forwarding instance for each node device in a current network based on attribute information of the current network, the method further comprising:
determining the link state of the current network based on the attribute information matched with each forwarding instance;
determining a shortest path set from the current node equipment to any node equipment in the current network based on the link state;
and determining the shortest path corresponding to the attribute information matched with each forwarding instance in the path set as the forwarding path of each forwarding instance.
3. The method of claim 1, wherein the binding each forwarding instance to the virtual network based on the virtual networks corresponding to the different services to obtain a correspondence between the forwarding instance and the virtual network comprises:
determining target attribute information required by the service processed by each virtual network from the attribute information of the current network to obtain a target attribute information set of each virtual network;
and obtaining the corresponding relation between the forwarding instance and each virtual network based on the corresponding relation between the target attribute information set of each virtual network and the forwarding instance.
4. The method according to claim 3, wherein the determining, in response to the received service request information and according to the correspondence, a target forwarding instance corresponding to a virtual network to which the service request belongs includes:
determining a service message corresponding to the received service request;
determining a virtual network to which the service request belongs based on the service message;
and determining a target forwarding instance corresponding to the virtual network to which the service request belongs based on the corresponding relation between the forwarding instance and the virtual network.
5. The method of claim 1, after forwarding the service request with the target forwarding instance, the method further comprising:
determining a link state of a forwarding path of the target forwarding instance;
and if the link state does not meet the link state required by forwarding the service request, adjusting the corresponding relation between the virtual network and the forwarding instance.
6. The method of claim 5, the adjusting the correspondence between the virtual network and the forwarding instance if the link state does not satisfy the link state required for forwarding the service request, comprising:
if the link state does not meet the link state required by forwarding the service request, determining the link states of other forwarding paths of the current node equipment; wherein the other forwarding paths are forwarding paths in other forwarding instances of the current node device;
if the link state in the other forwarding paths meets the link state required by forwarding the service request, binding the virtual network with the forwarding instance to which the other forwarding paths belong, and removing the corresponding relation between the virtual network and the forwarding instance to which the current forwarding path belongs;
correspondingly, the service request is forwarded by adopting the other forwarding paths.
7. The method of claim 1, after forwarding the service request with the target forwarding instance, the method further comprising:
acquiring the current network attribute of the forwarding path of the target forwarding instance;
and if the current network attribute of the forwarding path does not meet the network attribute required by forwarding the service request, adjusting the corresponding relation between the forwarding instance and the virtual network.
8. The method of claim 7, wherein if the current network attribute of the forwarding path does not satisfy the network attribute required for forwarding the service request, adjusting the corresponding relationship between the forwarding instance and the virtual network comprises:
if the current network attribute of the forwarding path does not meet the network attribute required by forwarding the service request, determining the current network attribute of other forwarding paths of the current node equipment; wherein the other forwarding paths are forwarding paths in other forwarding instances of the current node device;
if the current network attribute of the other forwarding paths meets the network attribute required by forwarding the service request, binding the virtual network with the forwarding instances to which the other forwarding paths belong, and removing the corresponding relation between the virtual network and the forwarding instances to which the current forwarding paths belong;
correspondingly, the service request is forwarded by adopting the other forwarding paths.
9. An information processing apparatus, the apparatus comprising:
the configuration module is used for configuring at least one different forwarding instance for each node device in the current network based on the attribute information of the current network;
the establishing module is used for establishing virtual networks corresponding to different services in the service set on the network based on the service set contained in the current network;
a binding module, configured to bind each forwarding instance with the virtual network based on the virtual networks of different services, so as to obtain a correspondence between the forwarding instance and the virtual network;
a first determining module, configured to determine, in response to a received service request, a target forwarding instance corresponding to a virtual network to which the service request belongs according to the correspondence;
and the forwarding module is used for forwarding the service request by adopting the target forwarding example.
10. A terminal for information processing, the terminal comprising at least: a controller and a storage medium configured to store executable instructions, wherein:
the controller is configured to execute stored executable instructions configured to perform the information processing method provided in any one of the preceding claims 1 to 8.
11. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, implement the information processing method provided in any one of claims 1 to 8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911295598.0A CN111163005B (en) | 2019-12-16 | 2019-12-16 | Information processing method, device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911295598.0A CN111163005B (en) | 2019-12-16 | 2019-12-16 | Information processing method, device, terminal and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111163005A CN111163005A (en) | 2020-05-15 |
| CN111163005B true CN111163005B (en) | 2021-06-15 |
Family
ID=70557196
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911295598.0A Active CN111163005B (en) | 2019-12-16 | 2019-12-16 | Information processing method, device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111163005B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119697018A (en) * | 2024-12-16 | 2025-03-25 | 中国电信股份有限公司技术创新中心 | Virtual network connection method, device, computer equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1472922A (en) * | 2003-07-11 | 2004-02-04 | 清华大学 | A Method of Selecting Routing by Statistical and Controlling Node Status |
| US9172649B2 (en) * | 2011-11-30 | 2015-10-27 | Juniper Networks, Inc. | Traffic classification and control on a network node |
| CN105306366A (en) * | 2014-05-29 | 2016-02-03 | 中国移动通信集团公司 | Data routing method and device |
| CN106452958A (en) * | 2016-09-30 | 2017-02-22 | 中国联合网络通信集团有限公司 | Flow control method and system, and centralized controller |
| CN108989207A (en) * | 2018-10-26 | 2018-12-11 | 北京邮电大学 | Route decision method, device and SDN equipment |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107465615B (en) * | 2017-08-03 | 2020-05-05 | 全球能源互联网研究院有限公司 | Routing determination method based on layered multi-domain and controller |
| CN110311865B (en) * | 2018-03-20 | 2021-07-09 | 华为技术有限公司 | A kind of video data transmission method and related equipment |
| CN110224937B (en) * | 2019-07-23 | 2021-10-15 | 中国联合网络通信集团有限公司 | A kind of satellite network routing method, equipment and device |
-
2019
- 2019-12-16 CN CN201911295598.0A patent/CN111163005B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1472922A (en) * | 2003-07-11 | 2004-02-04 | 清华大学 | A Method of Selecting Routing by Statistical and Controlling Node Status |
| US9172649B2 (en) * | 2011-11-30 | 2015-10-27 | Juniper Networks, Inc. | Traffic classification and control on a network node |
| CN105306366A (en) * | 2014-05-29 | 2016-02-03 | 中国移动通信集团公司 | Data routing method and device |
| CN106452958A (en) * | 2016-09-30 | 2017-02-22 | 中国联合网络通信集团有限公司 | Flow control method and system, and centralized controller |
| CN108989207A (en) * | 2018-10-26 | 2018-12-11 | 北京邮电大学 | Route decision method, device and SDN equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111163005A (en) | 2020-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106452958B (en) | Flow control method, system and centralized controller | |
| US8825867B2 (en) | Two level packet distribution with stateless first level packet distribution to a group of servers and stateful second level packet distribution to a server within the group | |
| JP4951717B2 (en) | How to select backup resources, system | |
| US9455916B2 (en) | Method and system for changing path and controller thereof | |
| CN106470165B (en) | Load sharing method, system and related equipment | |
| JP5816960B2 (en) | Communications system | |
| CN112087382B (en) | Service routing method and device | |
| CN101572667A (en) | Method for realizing equal cost multipath of IP route and device | |
| CN108881018B (en) | Methods, systems, and devices for routing DIAMETER messages at DIAMETER signaling routers | |
| CN109861925B (en) | Data transmission method, related device and network | |
| CN106850424A (en) | A kind of system of selection, the apparatus and system in IP layers of path | |
| CN108306824B (en) | Message sending method and device | |
| US20140025800A1 (en) | Systems and methods for multi-blade load balancing | |
| CN106656843A (en) | Load sharing method and related device | |
| CN103312607A (en) | Transmission path selection method and device | |
| CN105743816A (en) | Link aggregation method and device | |
| CN118714084A (en) | A network congestion processing method, device and related equipment | |
| CN104283801A (en) | Method and system for processing service data | |
| CN111163005B (en) | Information processing method, device, terminal and storage medium | |
| CN103188163A (en) | Load balancing method and device | |
| CN118612145A (en) | A link abnormality processing method, device and related equipment | |
| CN107770083A (en) | A kind of exchange network, controller and load-balancing method | |
| US8547829B1 (en) | Dynamically enhanced network performance for distributed wireless local area network (WLAN) architecture | |
| CN117938744A (en) | Method, device, equipment and medium for adjusting operation state of service management system | |
| CN116455817A (en) | Software-defined cloud network fusion architecture and route implementation method |
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 |