CN115665262A - Request processing method and device, electronic equipment and storage medium - Google Patents

Request processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115665262A
CN115665262A CN202211214308.7A CN202211214308A CN115665262A CN 115665262 A CN115665262 A CN 115665262A CN 202211214308 A CN202211214308 A CN 202211214308A CN 115665262 A CN115665262 A CN 115665262A
Authority
CN
China
Prior art keywords
network
service
target
node
alternative
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211214308.7A
Other languages
Chinese (zh)
Inventor
秦娟
雷昭燕
朱仕银
常向青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202211214308.7A priority Critical patent/CN115665262A/en
Publication of CN115665262A publication Critical patent/CN115665262A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a request processing method, a request processing device, electronic equipment and a storage medium, which relate to the technical field of networks, and the method comprises the following steps: the management node receives a first service request; determining an alternative service module consistent with the service identifier; determining an alternative network path; determining a target network path and a target service module based on the network state information of each network node; sending a first service response to the user side, and sending forwarding information to each network node in the target network path; the user side sends a second service request carrying the network address of the target service module to the network node in the target network path; and each network node in the target network path forwards the received second service request according to the forwarding information until the computing node with the target service module receives the second service request, and responds to the second service request through the target service module. Thus, the service quality of the network service can be improved.

Description

Request processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a request processing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of network technology, different network services, such as VR (Virtual Reality) service, V2X (Vehicle To evolution) service, and the like, can be provided for users through nodes deployed in a network.
However, a network usually includes a plurality of nodes, and each node can provide at least one network service, and how to improve the service quality of the network service based on the plurality of nodes becomes an urgent problem to be solved.
Disclosure of Invention
An object of the embodiments of the present application is to provide a request processing method, an apparatus, an electronic device, and a storage medium, so as to improve service quality of a network service. The specific technical scheme is as follows:
in a first aspect, in order to achieve the above object, an embodiment of the present application discloses a request processing method, where the method is applied to a management node in a request processing system, and the request processing system further includes a plurality of network nodes and a plurality of computation nodes; each computing power node is in communication connection with a network node, and at least one service module for providing network services is deployed in each computing power node, wherein the method comprises the following steps:
receiving a first service request sent by a user side; the first service request carries a service identifier representing the network service requested by the user side;
determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module;
determining a network path between a computing node to which the alternative service module belongs and the user side as an alternative network path for each alternative service module;
based on the network state information of each network node, according to a path searching strategy corresponding to the type of the network service represented by the service identifier, determining a target network path from each alternative network path, and determining a target service module from alternative service modules contained in a computing power node corresponding to the target network path; the target service module is used for providing the network service requested by the user side;
sending a first service response carrying the network address of the target service module to the user side, sending forwarding information matched with the target network path to each network node in the target network path, so that the user side sends a second service request carrying the network address of the target service module to the network nodes in the target network path, and each network node in the target network path forwards the second service request according to the received forwarding information until a computing node with the target service module is deployed receives the second service request, and responding to the second service request through the target service module.
Optionally, the network service represented by the service identifier is a network service with a delay requirement; the network state information includes delays between network nodes;
the determining a target network path from the alternative network paths based on the network state information of each network node and according to the path search policy corresponding to the type of the network service represented by the service identifier includes:
for each alternative network path, calculating the delay between the user side and the computational power node to which the corresponding alternative service module belongs in the alternative network path as the delay of the alternative network path based on the delay between the network nodes in the alternative network path;
and determining the alternative network path with the minimum delay as the target network path.
Optionally, the network service represented by the type identifier is a network service with a bandwidth requirement; the network state information comprises bandwidth information of an interface of a network node;
the determining a target network path from the alternative network paths based on the network state information of each network node and according to the path search policy corresponding to the type of the network service represented by the service identifier includes:
for each alternative network path, calculating the available bandwidth of the alternative network path based on the bandwidth information of the interface of each network node in the alternative network path;
and determining the alternative network path with the maximum available bandwidth as the target network path.
Optionally, the first service request further carries a network address of the user side;
the step of determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module comprises the following steps:
and determining a service module which is consistent with the service identifier and belongs to the same area as the network address of the user side from the service modules contained in each computing power node to serve as an alternative service module.
Optionally, the forwarding information of one network node in the target network path includes: and the network node is used for indicating that when receiving a second service request carrying the network address of the target service module, the network node forwards the received second service request to the next hop in the target network path through the corresponding outgoing interface.
In a second aspect, in order to achieve the foregoing object, an embodiment of the present application discloses a request processing apparatus, where the apparatus is applied to a management node in a request processing system, the request processing system further includes a plurality of network nodes and a plurality of power nodes, each power node is communicatively connected to one network node, and at least one service module for providing a network service is deployed in each power node, the apparatus includes:
a first service request receiving unit, configured to receive a first service request sent by a user side; the first service request carries a service identifier representing the network service requested by the user side;
the alternative service module determining unit is used for determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module;
the alternative network path determining unit is used for determining a network path between the computational power node to which the alternative service module belongs and the user side as an alternative network path for each alternative service module;
a target network path determining unit, configured to determine a target network path from each alternative network path according to a path search policy corresponding to the type of the network service represented by the service identifier based on the network state information of each network node, and determine a target service module from alternative service modules included in a computational power node corresponding to the target network path; the target service module is used for providing the network service requested by the user side;
an information sending unit, configured to send a first service response carrying the network address of the target service module to the user side, and send forwarding information matched with the target network path to each network node in the target network path, so that the user side sends a second service request carrying the network address of the target service module to the network node in the target network path, and each network node in the target network path forwards the second service request according to the received forwarding information until the computing node in which the target service module is deployed receives the second service request, and responds to the second service request through the target service module.
Optionally, the network service represented by the service identifier is a network service with a delay requirement; the network state information includes delays between network nodes;
the target network path determining unit is specifically configured to calculate, for each alternative network path, a delay between the user side and a computational power node to which the corresponding alternative service module belongs in the alternative network path based on a delay between network nodes in the alternative network path, and use the delay as the delay of the alternative network path;
and determining the candidate network path with the minimum delay as the target network path.
Optionally, the network service represented by the type identifier is a network service with a bandwidth requirement; the network state information comprises bandwidth information of an interface of a network node;
the target network path determining unit is specifically configured to calculate, for each alternative network path, an available bandwidth of the alternative network path based on bandwidth information of an interface of each network node in the alternative network path;
and determining the alternative network path with the maximum available bandwidth as the target network path.
Optionally, the first service request further carries a network address of the user side;
the candidate service module determining unit is specifically configured to determine, from the service modules included in each computation node, a service module that is consistent with the service identifier and belongs to the same area as the network address of the user side, and that serves as a candidate service module.
Optionally, the forwarding information of one network node in the target network path includes: and the network node is used for indicating that when receiving a second service request carrying the network address of the target service module, the network node forwards the received second service request to the next hop in the target network path through the corresponding outgoing interface.
In a third aspect, in order to achieve the above object, an embodiment of the present application discloses a request processing system, where the system includes a management node, a plurality of network nodes, and a plurality of computation power nodes; each computing node is in communication connection with one network node, and at least one service module for providing network services is deployed in each computing node; wherein:
the management node is configured to execute any one of the request processing methods;
each network node is used for forwarding the received service request according to the forwarding information sent by the management node;
each computational force node is used for responding to the received service request through the service module corresponding to the network address carried in the received service request when receiving the service request.
In a fourth aspect, in order to achieve the above object, an embodiment of the present application discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing any one of the request processing methods described above when executing the program stored in the memory.
In a fifth aspect, in order to achieve the above object, an embodiment of the present application discloses a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any of the above request processing methods.
In a sixth aspect, in order to achieve the above object, an embodiment of the present application discloses a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the request processing methods described above.
The embodiment of the application has the following beneficial effects:
in the request processing method provided by the embodiment of the application, a management node receives a first service request sent by a user side; the first service request carries a service identifier representing the network service requested by the user side; determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module; determining a network path between a computing node to which the alternative service module belongs and a user side for each alternative service module to serve as an alternative network path; based on the network state information of each network node, determining a target network path from each alternative network path according to a path search strategy corresponding to the type of the network service represented by the service identifier, and determining a target service module from alternative service modules contained in a computational power node corresponding to the target network path; the target service module is used for providing network services requested by the user side; sending a first service response carrying the network address of the target service module to a user side, and sending forwarding information matched with the target network path to each network node in the target network path; the user side sends a second service request carrying the network address of the target service module to the network node in the target network path; and forwarding the second service request by each network node in the target network path according to the received forwarding information until the computing node deployed with the target service module receives the second service request, and responding to the second service request through the target service module.
Based on the above processing, because different types of network services have different requirements on the network, the target network path is determined based on the path lookup policy corresponding to the type of the network service and the network state information of each network node, and then the service request is processed according to the target network path, so that the service requirement of the service request can be met, that is, the service request can be processed in combination with the state of the network, and thus, the processing performance of the network can be fully utilized, and the service quality of the network service can be improved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the description below are only some embodiments of the present application, and other embodiments can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a block diagram of an edge network;
fig. 2 is a diagram illustrating a service request processing in the related art;
FIG. 3 is a block diagram of a request processing system according to an embodiment of the present application;
fig. 4 is an exemplary diagram of a request processing method according to an embodiment of the present application;
fig. 5 is a logic diagram illustrating a management node processing a service request according to an embodiment of the present application;
fig. 6 is a block diagram of a request processing apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the description herein are intended to be within the scope of the present disclosure.
With the wide application of AI (Artificial Intelligence) and 5G technologies, the rapid development of emerging services such as internet of things, large videos, internet of vehicles and the like is promoted, and the existing network architecture and cloud centralized deployment mode are difficult to meet the service requirements, so that the migration of networks and clouds along with the service flow direction edge by edge computing has become a new industrial trend.
In the related art, for a network angle, resources of a single edge station are limited, and a plurality of edge stations lack cooperation. Aiming at the service angle, the application layer is decoupled from the network layer, and the service cannot sense the network state. Therefore, in order to improve the quality of network Service, the network architecture needs to consider the network and the calculation fusion evolution cooperatively, so as to realize the global optimization of the network in the connection + calculation architecture, so that the network can sense the calculation and the Service, and realize the flexible scheduling of the Service and the reasonable distribution of the Service according to the real-time resource state and the user SLA (Service Level Agreement) requirements, thereby providing good experience for the user.
Referring to fig. 1, fig. 1 is a structural diagram of an edge network, where the edge network includes a central node and a plurality of edge nodes, each edge node may simultaneously deploy a plurality of service modules, and different edge nodes may simultaneously deploy the same service module, so as to provide different network services for users. For example, the edge node 1 and the edge node 2 are both provided with VR service modules.
For example, based on CDN (Content Delivery Network) technology, cache servers (CDN cache servers) may be deployed in regions or networks where user access is relatively centralized. When the user accesses the network service, the access of the user is directed to the cache server closest to the user by using the global load technology, and the cache server responds to the user request.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a service request processing method in the related art.
(1) When a user clicks a service option on an APP (Application, i.e., user side), the user side sends an IP address resolution request to a local DNS (Domain Name System) according to a URL (Uniform Resource Locator) of a Resource requested by the user.
(2) And the local DNS forwards an IP (Internet Protocol) address resolution request to a DNS server special for the CDN.
(3) And the DNS server special for the CDN sends the IP address of the CDN load balancing equipment to the user side.
(4) And the user side sends a URL access request to the CDN load balancing equipment.
(5) And the CDN load balancing equipment selects a CDN cache server from the area to which the user side belongs according to the IP address of the user side and the URL of the user request.
(6) And the CDN load balancing equipment sends the IP address of the CDN cache server to the user side.
(7) And the user side sends a resource request to the CDN cache server, and the CDN cache server sends a resource response to the user side.
(8) And if the CDN cache server does not have the resources requested by the user terminal, the CDN cache server requests the resources from the source server of the service and sends the requested resources to the user terminal.
It can be seen that, in the related art, the application layer is decoupled from the network layer, that is, the network service cannot sense the network state of the network. For example, in step (5) in the above process, when determining the CDN cache server, the CDN load balancing device does not consider a network condition between the user side and the CDN cache server, that is, the request is not processed in combination with a state of the network, and processing performance of the network is not fully utilized, so that quality of service of the network service is not high, and the service cannot meet the best experience of the user.
In order to solve the above problem, the present application provides a request processing method, which is applied to a management node in a request processing system. For example, referring to fig. 3, fig. 3 is a block diagram of a request processing system according to an embodiment of the present application. The management node in this application may also be referred to as a centralized manager. In fig. 3, the request processing system includes a centralized manager, a plurality of network nodes, and a plurality of compute power nodes; each computational power node is in communication connection with one network node, and at least one service module and a data transceiver module for providing network services are deployed in each computational power node. The data transceiver module is used for receiving a service request sent by a user side, forwarding the service request to a corresponding service module, receiving a service response sent by the service module, and forwarding the service response to the user side. For example, a service module 1-a service module n is deployed in the computing power node 1-1. Each service module is capable of providing a respective network service, e.g., VR service, V2X service, live video service, file storage service, etc.
Accordingly, referring to fig. 4, fig. 4 is an exemplary diagram of a request processing method provided in an embodiment of the present application, where the method may include the following steps:
s401: receiving a first service request sent by a user terminal.
The first service request carries a service identifier indicating a network service requested by the user terminal.
S402: and determining a service module consistent with the service identifier from the service modules contained in each computational force node as an alternative service module.
S403: and determining a network path between the computing node to which the alternative service module belongs and the user side as an alternative network path for each alternative service module.
S404: and determining a target network path from the alternative network paths based on the network state information of each network node and according to a path search strategy corresponding to the type of the network service represented by the service identifier, and determining a target service module from alternative service modules contained in the computational power node corresponding to the target network path.
The target service module is used for providing the network service requested by the user terminal.
S405: sending a first service response carrying the network address of the target service module to a user side, sending forwarding information matched with the target network path to each network node in the target network path, so that the user side sends a second service request carrying the network address of the target service module to the network nodes in the target network path, and forwarding the second service request by each network node in the target network path according to the received forwarding information until the computing node with the target service module receives the second service request, and responding to the second service request through the target service module.
Based on the request processing method provided by the embodiment of the application, because different types of network services have different requirements on the network, a target network path is determined based on the path search strategy corresponding to the type of the network service and the network state information of each network node, and then the service request is processed according to the target network path, so that the service requirement of the service request can be met, namely, the service request can be processed by combining the state of the network, the processing performance of the network can be fully utilized, and the service quality of the network service is improved.
For steps S401 and S402, the network node in the request processing system may be a router in the network. The computing node is a node for providing network services, for example, the computing node may be a physical server, or may also be a cloud platform with a virtual machine deployed therein. The service module in the computing node may be software that provides network services.
And a service module consistent with the service identification, that is, a service module capable of providing a corresponding network service. Because the request processing system comprises a plurality of computing power nodes, and each computing power node is provided with at least one service module, the service modules arranged in the computing power nodes can be the same or different. That is, in the request processing system, there may be a plurality of service modules capable of providing the same network service.
The user side can send a service request carrying the corresponding service identifier to the management node according to the requirement of the user. Further, after receiving the service request, the management node may determine, based on the service identifier, a network service requested by the user, and accordingly, may select a service module capable of providing the network service, so as to respond to the service request of the user through the selected service module.
In one implementation, all service modules in the request processing system that are consistent with the service identifier may be determined as alternative service modules.
In another implementation manner, in order to improve the service quality of the network service, the first service request also carries a network address of the user side; accordingly, the step S402 may include the following steps: and determining a service module which is consistent with the service identifier and belongs to the same area as the network address of the user side from the service modules contained in each computational force node to serve as an alternative service module.
In the embodiment of the present application, if the network address of the computing power node to which the service module belongs and the network address of the user side belong to the same area, it indicates that the computing power node to which the service module belongs is closer to the physical distance of the user side, and accordingly, if the service module responds to the service request of the user side, the service quality of the network service can be improved. Therefore, the service module, of which the network address of the computing node and the network address of the user side belong to the same area, can be determined as the alternative service module.
For step S403, one alternative service module may correspond to one alternative network path, or may correspond to multiple alternative network paths, that is, the user end may perform data communication with the same alternative service module through multiple different network paths.
It is understood that the alternative network path includes at least one network node through which the service request sent by the user side can be forwarded to the alternative service module in the corresponding computational power node.
For step S404 and step S405, the type of the web service may be determined according to a requirement of the web service, for example, for the V2X service, since the requirement delay is small to ensure safety of automatic driving, the type of the V2X service may be a delay requirement type, that is, for the delay requirement type web service, a response time of the service request needs to be reduced. For the VR service, because the data amount required to be transmitted is large and occupies a large bandwidth resource, the type of the VR service may be a bandwidth-demand type.
Because different types of network services have different requirements on the network, the target network path determined based on the path search strategy corresponding to the type of the network service and the network state information of the network node can meet the service requirement of the service request.
It is understood that the target network path includes at least one network node, through which the service request sent by the user side can be forwarded to the computing node to which the target service module belongs (which may be referred to as a target computing node), that is, the target computing node is communicatively connected to the last network node in the target network path.
Because the forwarding information is matched with the target network path, the network node forwards the service request according to the forwarding information, and can also forward the service request according to the target network path, so that the service request can be transmitted from the user side to the target computing power node according to the target network path, and further, the target computing power node can respond to the service request through the target service module.
If the target computing force node comprises an alternative service module for providing the network service requested by the user side, the alternative service module can be determined as the target service module.
If the target computing power node comprises a plurality of alternative service modules for providing the network service requested by the user side, one of the alternative service modules can be selected as the target service module according to a preset selection strategy.
For example, a target service module may be selected based on a load balancing policy. For example, the management node may determine the load of each candidate service module, and determine the candidate service module with the smallest load as the target service module. Or, a designated sequence is provided among the plurality of candidate service modules, and correspondingly, the management node may determine, according to the designated sequence, that the current candidate service module is the target service module.
For another example, the management node may randomly select an alternative service module as the target service module.
In addition, the management node may also send the network address of the first network node in the target network path to the user side. Furthermore, the user side may send a second service request carrying the network address of the target service module to the first network node in the target network path. And the first network node forwards the second service request to the second network node according to the forwarding information, and the like until the target force computing node receives the second service request.
In one embodiment, each computing node may comprise a data transceiver module. Each computing node may generate a corresponding network address for the deployed service module, for example, a VIP (Virtual Internet Protocol) address, and further, the computing node may notify the communicatively connected network node of its node identifier and the network address of the deployed service module through the data transceiver module. In addition, the data transceiver module may further forward the service request to the corresponding service module when receiving the service request, so that the service module responds to the service request.
Accordingly, each network node may advertise the node identifier of the computation force node and the network address of the service module deployed in the computation force node to the management node, and may advertise its own routing information to other network nodes and the management node.
In addition, each network node may also periodically send network status information to the management node.
For example, referring to fig. 5, fig. 5 is a logic diagram illustrating a management node processing a service request according to an embodiment of the present application. The management node may include an acquisition module, a decision module, an execution module, and a service management module. The acquisition module can acquire routing information, service information (including the identifier of the computational power node and the network address of the service module deployed in the computational power node) and network state information of the network nodes, which are uploaded by each network node. Accordingly, based on the recorded information, the routing information for each service module can be determined, and the service information is sent to the service management module, and the routing information and the network state information are sent to the decision module. The service management module can determine the service type corresponding to the service request, further determine the corresponding path search strategy and the alternative service module, and send the strategy and the alternative service module to the decision module. The decision module can determine a target network path from alternative network paths corresponding to the alternative service modules according to a path search strategy, determine a target service module from alternative service modules contained in a computational power node corresponding to the target network path, and send the target network path and a network address of the target service module to the execution module; the execution module can send the network address of the target service module to the user terminal and send forwarding information matched with the target network path to each network node in the target network path. Based on this, the management node can acquire the latest network state information, so that the determined target network path can be effectively matched with the current network state, and the service quality of the network service is further improved.
In one embodiment, the forwarding information for a network node in the target network path includes: and the network node is used for indicating that the network node forwards the received second service request to the next hop in the target network path through the corresponding outgoing interface when receiving the second service request carrying the network address of the target service module.
In the embodiment of the present application, after obtaining the routing information of each network node and the network address of the service module deployed in each computational power node, the management node may determine the target network path according to the corresponding path search policy, that is, may determine each network node from the user side to the target computational power node, and may determine the sequence of each network node in the target network path.
Correspondingly, for each network node in the target network path, the management node may determine a next network node of the network node (i.e., a corresponding next hop), that is, may determine an egress interface corresponding to the next hop, and correspondingly, the management node may send the network address of the target service module, the next hop, and a corresponding relationship between the egress interfaces to the network node.
Furthermore, when receiving a second service request carrying the network address of the target service module, the network node may query the corresponding relationship, that is, may forward the received second service request to the next hop in the target network path through the output interface recorded in the corresponding relationship.
It is to be appreciated that the last network node in the target network path may forward the second service request to the target computing force node. After the target computation force node resolves the network address of the target service module carried in the second service request, the target computation force node can respond to the second service request through the target service module. In addition, the target computing power node can also send the second service request to the user terminal through the target network path.
In one embodiment, the network service characterized by the service identifier is a network service of a delay demand type; the network state information includes delays between network nodes; accordingly, the step S404 may include the following steps:
the method comprises the following steps: and aiming at each alternative network path, calculating the delay between the user side in the alternative network path and the computational power node to which the corresponding alternative service module belongs based on the delay between the network nodes in the alternative network path, and taking the delay as the delay of the alternative network path.
Step two: and determining the alternative network path with the minimum delay as the target network path.
Wherein, the delay between two network nodes can be expressed as: the length of time required for network data to be transmitted from one network node to another.
In the embodiment of the present application, for network services requiring delay such as V2X services, since the required delay is small, that is, the response duration of the service request needs to be reduced to ensure the safety of automatic driving, when the network service represented by the service identifier is determined to be the network service requiring delay, the management node may obtain the delay between network nodes uploaded by each network node.
For example, for each alternative network path, the management node may obtain the delay between each two adjacent network nodes in the alternative network path, and then calculate a sum of the delays as the delay of the alternative network path.
Furthermore, the candidate network path with the minimum delay is determined as the target network path, so that the time for the target service module to respond to the service request can be reduced through the target network path, the service requirement of the delay-demand network service can be met, and the service quality of the network service is improved.
In one embodiment, the network service characterized by the type identifier is a bandwidth-demanding network service; the network state information includes bandwidth information of an interface of the network node; accordingly, the step S404 may include the following steps:
step 1: and calculating the available bandwidth of each alternative network path according to the bandwidth information of the interface of each network node in the alternative network path.
Step 2: and determining the alternative network path with the maximum available bandwidth as the target network path.
The bandwidth information of the interface may include a maximum bandwidth of the interface and a bandwidth currently used by the interface, or may also include a bandwidth utilization rate of the interface, that is, a ratio of the bandwidth currently used by the interface to the maximum bandwidth.
In the embodiment of the application, for bandwidth-demanding network services such as VR services and live video broadcasts, because the data volume to be transmitted is large and a large bandwidth resource is occupied, when it is determined that the network service represented by the service identifier is the bandwidth-demanding network service, the management node may obtain the bandwidth information of the interface of the network node uploaded by each network node.
For example, for each alternative network path, the management node may obtain bandwidth utilization rates of interfaces of network nodes in the alternative network path, and then take a maximum value of the bandwidth utilization rates as an available bandwidth of the alternative network path.
Alternatively, for each alternative network path, the management node may obtain the remaining bandwidths (i.e., the difference between the maximum bandwidth and the currently used bandwidth) of the interfaces of the network nodes in the alternative network path, and then use the minimum value of the remaining bandwidths as the available bandwidth of the alternative network path.
And then, determining the alternative network path with the largest available bandwidth as the target network path, so that the bandwidth requirement of the service request can be met through the target network path, and the service quality of the network service is improved.
Based on the same inventive concept, the application also provides a request processing system, which comprises a management node, a plurality of network nodes and a plurality of computing power nodes; each computing node is in communication connection with one network node, and at least one service module for providing network services is deployed in each computing node; wherein:
a management node, configured to execute the request processing method in the foregoing embodiment;
each network node is used for forwarding the received service request according to the forwarding information sent by the management node;
each computational force node is used for responding to the received service request through the service module corresponding to the network address carried in the received service request when receiving the service request.
Based on the same inventive concept, the present application further provides a request processing apparatus, referring to fig. 6, where fig. 6 is a structural diagram of a request processing apparatus provided in an embodiment of the present application, where the apparatus is applied to a management node in a request processing system, the request processing system further includes a plurality of network nodes and a plurality of computation nodes, each computation node is communicatively connected to one network node, and each computation node is deployed with at least one service module for providing a network service, and the apparatus includes:
a first service request receiving unit 601, configured to receive a first service request sent by a user side; the first service request carries a service identifier representing the network service requested by the user side;
an alternative service module determining unit 602, configured to determine, as an alternative service module, a service module that is consistent with the service identifier from service modules included in each computation force node;
an alternative network path determining unit 603, configured to determine, for each alternative service module, a network path between the computation node to which the alternative service module belongs and the user side, as an alternative network path;
a target network path determining unit 604, configured to determine a target network path from each alternative network path according to a path lookup policy corresponding to the type of the network service represented by the service identifier based on the network state information of each network node, and determine a target service module from alternative service modules included in a computational power node corresponding to the target network path; the target service module is used for providing the network service requested by the user side;
an information sending unit 605, configured to send a first service response carrying the network address of the target service module to the user side, and send forwarding information matched with the target network path to each network node in the target network path, so that the user side sends a second service request carrying the network address of the target service module to the network node in the target network path, and each network node in the target network path forwards the second service request according to the received forwarding information until the computing node in which the target service module is deployed receives the second service request, and responds to the second service request through the target service module.
Optionally, the network service represented by the service identifier is a network service with a delay requirement; the network state information includes delays between network nodes;
the target network path determining unit 604 is specifically configured to calculate, for each alternative network path, a delay between the user end and a computation node to which the corresponding alternative service module belongs in the alternative network path based on a delay between network nodes in the alternative network path, and use the delay as the delay of the alternative network path;
and determining the candidate network path with the minimum delay as the target network path.
Optionally, the network service represented by the type identifier is a network service with a bandwidth requirement; the network state information comprises bandwidth information of an interface of a network node;
the target network path determining unit 604 is specifically configured to calculate, for each alternative network path, an available bandwidth of the alternative network path based on bandwidth information of interfaces of network nodes in the alternative network path;
and determining the alternative network path with the maximum available bandwidth as the target network path.
Optionally, the first service request further carries a network address of the user side;
the candidate service module determining unit 602 is specifically configured to determine, as a candidate service module, a service module that is consistent with the service identifier and has a network address of the computing power node and a network address of the user side belonging to the same area from service modules included in each computing power node.
Optionally, the forwarding information of one network node of the target network path includes: and the network node is used for indicating that when receiving a second service request carrying the network address of the target service module, the network node forwards the received second service request to the next hop in the target network path through the corresponding outgoing interface.
An electronic device is further provided in the embodiment of the present application, as shown in fig. 7, and includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
receiving a first service request sent by a user side; the first service request carries a service identifier representing the network service requested by the user side;
determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module;
determining a network path between a computing node to which the alternative service module belongs and the user side as an alternative network path for each alternative service module;
based on the network state information of each network node, according to a path searching strategy corresponding to the type of the network service represented by the service identifier, determining a target network path from each alternative network path, and determining a target service module from alternative service modules contained in a computing power node corresponding to the target network path; the target service module is used for providing the network service requested by the user side;
sending a first service response carrying the network address of the target service module to the user side, sending forwarding information matched with the target network path to each network node in the target network path, so that the user side sends a second service request carrying the network address of the target service module to the network nodes in the target network path, and each network node in the target network path forwards the second service request according to the received forwarding information until a computing node with the target service module is deployed receives the second service request, and responding to the second service request through the target service module.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above request processing methods.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the request processing methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, system, computer-readable storage medium, and computer program product embodiments, because they are substantially similar to the method embodiments, the description is relatively simple, and for related matters, reference may be made to some descriptions of the method embodiments.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (12)

1. A request processing method is applied to a management node in a request processing system, and the request processing system also comprises a plurality of network nodes and a plurality of computation power nodes; each computing power node is in communication connection with a network node, and at least one service module for providing network services is deployed in each computing power node, wherein the method comprises the following steps:
receiving a first service request sent by a user side; the first service request carries a service identifier representing the network service requested by the user side;
determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module;
determining a network path between a computing node to which the alternative service module belongs and the user side as an alternative network path for each alternative service module;
based on the network state information of each network node, determining a target network path from each alternative network path according to a path search strategy corresponding to the type of the network service represented by the service identifier, and determining a target service module from alternative service modules contained in a computational power node corresponding to the target network path; the target service module is used for providing the network service requested by the user side;
sending a first service response carrying the network address of the target service module to the user side, sending forwarding information matched with the target network path to each network node in the target network path, so that the user side sends a second service request carrying the network address of the target service module to the network nodes in the target network path, and each network node in the target network path forwards the second service request according to the received forwarding information until a computing node with the target service module is deployed receives the second service request, and responding to the second service request through the target service module.
2. The method of claim 1, wherein the network service characterized by the service identifier is a network service requiring delay; the network state information includes delays between network nodes;
the determining a target network path from the alternative network paths based on the network state information of each network node and according to the path search policy corresponding to the type of the network service represented by the service identifier includes:
for each alternative network path, calculating the delay between the user side and the computational power node to which the corresponding alternative service module belongs in the alternative network path as the delay of the alternative network path based on the delay between the network nodes in the alternative network path;
and determining the alternative network path with the minimum delay as the target network path.
3. The method of claim 1, wherein the network service characterized by the type identifier is a bandwidth-demanding network service; the network state information includes bandwidth information of an interface of a network node;
the determining a target network path from the alternative network paths based on the network state information of each network node and according to the path search policy corresponding to the type of the network service represented by the service identifier includes:
for each alternative network path, calculating the available bandwidth of the alternative network path based on the bandwidth information of the interface of each network node in the alternative network path;
and determining the alternative network path with the maximum available bandwidth as the target network path.
4. The method according to claim 1, wherein the first service request further carries a network address of the ue;
the step of determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module comprises the following steps:
and determining a service module which is consistent with the service identifier and belongs to the same area as the network address of the user side from the service modules contained in each computing power node to serve as an alternative service module.
5. The method of claim 1, wherein forwarding information for a network node in the target network path comprises: and the network node is used for indicating that when receiving a second service request carrying the network address of the target service module, the network node forwards the received second service request to the next hop in the target network path through the corresponding outgoing interface.
6. A request processing apparatus applied to a management node in a request processing system, the request processing system further comprising a plurality of network nodes and a plurality of computing power nodes, each computing power node being communicatively connected to one network node, each computing power node having at least one service module deployed therein for providing network services, the apparatus comprising:
a first service request receiving unit, configured to receive a first service request sent by a user side; the first service request carries a service identifier representing the network service requested by the user side;
the alternative service module determining unit is used for determining a service module consistent with the service identifier from service modules contained in each computational power node as an alternative service module;
the alternative network path determining unit is used for determining a network path between the computational power node to which the alternative service module belongs and the user side as an alternative network path for each alternative service module;
a target network path determining unit, configured to determine a target network path from each alternative network path according to a path search policy corresponding to the type of the network service represented by the service identifier based on the network state information of each network node, and determine a target service module from alternative service modules included in a computational power node corresponding to the target network path; the target service module is used for providing the network service requested by the user side;
an information sending unit, configured to send a first service response carrying the network address of the target service module to the user side, and send forwarding information matched with the target network path to each network node in the target network path, so that the user side sends a second service request carrying the network address of the target service module to the network node in the target network path, and each network node in the target network path forwards the second service request according to the received forwarding information until the computing node in which the target service module is deployed receives the second service request, and responds to the second service request through the target service module.
7. The apparatus of claim 6, wherein the network service characterized by the service identifier is a network service requiring delay; the network state information includes delays between network nodes;
the target network path determining unit is specifically configured to calculate, for each alternative network path, a delay between the user side and a computational power node to which the corresponding alternative service module belongs in the alternative network path based on a delay between network nodes in the alternative network path, and use the delay as the delay of the alternative network path;
and determining the alternative network path with the minimum delay as the target network path.
8. The apparatus of claim 6, wherein the network service characterized by the type identifier is a bandwidth-demanding network service; the network state information comprises bandwidth information of an interface of a network node;
the target network path determining unit is specifically configured to calculate, for each alternative network path, an available bandwidth of the alternative network path based on bandwidth information of an interface of each network node in the alternative network path;
and determining the alternative network path with the maximum available bandwidth as the target network path.
9. The apparatus according to claim 6, wherein the first service request further carries a network address of the ue;
the candidate service module determining unit is specifically configured to determine, from the service modules included in each computational power node, a service module that is consistent with the service identifier and has a network address of the computational power node and a network address of the user side belonging to the same area, and use the service module as the candidate service module.
10. The apparatus of claim 6, wherein the forwarding information for a network node in the target network path comprises: and the network node is used for indicating that when receiving a second service request carrying the network address of the target service module, the network node forwards the received second service request to the next hop in the target network path through the corresponding outgoing interface.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN202211214308.7A 2022-09-30 2022-09-30 Request processing method and device, electronic equipment and storage medium Pending CN115665262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211214308.7A CN115665262A (en) 2022-09-30 2022-09-30 Request processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211214308.7A CN115665262A (en) 2022-09-30 2022-09-30 Request processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115665262A true CN115665262A (en) 2023-01-31

Family

ID=84985315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211214308.7A Pending CN115665262A (en) 2022-09-30 2022-09-30 Request processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115665262A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024016856A1 (en) * 2022-07-22 2024-01-25 中兴通讯股份有限公司 Network resource allocation method, network device, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024016856A1 (en) * 2022-07-22 2024-01-25 中兴通讯股份有限公司 Network resource allocation method, network device, and storage medium

Similar Documents

Publication Publication Date Title
CN107517228B (en) Dynamic acceleration method and device in content distribution network
US9503308B2 (en) Method, device and system for processing content
US10404790B2 (en) HTTP scheduling system and method of content delivery network
WO2018152919A1 (en) Path selection method and system, network acceleration node, and network acceleration system
JP7521005B2 (en) Method for determining user plane function, method for providing information, device, and medium
CN102281190B (en) Networking method for load balancing apparatus, server and client access method
CN109040243B (en) Message processing method and device
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN107306279B (en) Data processing method, content distribution network node and resident gateway
CN113300962A (en) Path acquisition method, access method, device and equipment
WO2021056314A1 (en) System for providing exact communication delay protection of request response for distributed service
CN109873855A (en) A kind of resource acquiring method and system based on block chain network
CN113301079B (en) Data acquisition method, system, computing device and storage medium
CN112087382B (en) Service routing method and device
WO2019156935A1 (en) Latency guarantee for multimedia streaming service to a moving subscriber
CN115665262A (en) Request processing method and device, electronic equipment and storage medium
CN108401040B (en) Content receiving method, content sending method, device and system for NDN
US20140317272A1 (en) Method of collecting information, content network management system, and node apparatus using management interface in content network based on information-centric networking
CN110247847B (en) Method and device for back source routing between nodes
CN111600929A (en) Transmission line detection method, route strategy generation method and proxy server
Seyyed Hashemi et al. Analytical characterization of cache replacement policy impact on content delivery time in information‐centric networks
JP5894981B2 (en) Accessing a network of nodes distributed across a communication architecture using a topology server with multiple criteria selection
US20230102122A1 (en) Methods, systems, and computer readable media for identifying alternate delivery endpoints for mobile originated data and monitoring reports in a communications network
CN115514981A (en) Video stream scheduling system and related product

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