Information processing method and device and related equipment
By deploying FP and DSP modules in the network elements of the NFV platform, the network connection delay problem caused by the long forwarding path during the NFV platform data transmission is solved, and more efficient information forwarding and lower network delay are achieved.
Patent Information
- Application Number
- CN202410535543.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-04-30
AI Technical Summary
The existing NFV platform has a long forwarding path during data transmission, resulting in network connection delay.
Deploy fast path FP module and distributed slow path DSP module in each network element of the network function virtualization platform. The session information is obtained through the DSP module and the fast transfer table is updated. The FP module forwards messages based on the updated fast transfer table. information, thereby reducing forwarding paths during data transmission.
By reducing the communication and forwarding paths between network elements, the information forwarding efficiency is improved, the network connection delay is reduced, and the new network connection is improved.
Smart Images

Figure CN119484608A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network function virtualization, and in particular to an information processing method, device and related equipment. Background Art
[0002] Based on Network Function Virtualization (NFV), a flexible and controllable network function platform can be built, which reduces the economic cost and operation and maintenance cost of the network and is favored by major cloud computing providers. At present, NFV platforms generally adopt a 2-layer or 3-layer architecture. However, the existing NFV platform has a long forwarding path during data transmission, which is prone to network connection delays. Summary of the invention
[0003] The embodiments of the present invention provide an information processing method, apparatus and related equipment to solve the problem that the forwarding path of the existing NFV platform is long during data transmission and network connection delay is prone to occur.
[0004] To solve the above technical problems, the present invention is achieved as follows:
[0005] In a first aspect, an embodiment of the present invention provides an information processing method, which is applied to a network function virtualization platform, wherein the platform includes multiple network elements, and each network element includes a fast path FP module and a distributed slow path DSP module, and the method includes:
[0006] When a first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element, acquiring the session information corresponding to the request information based on the DSP module of the first network element;
[0007] The FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information.
[0008] Optionally, the DSP module based on the first network element obtains session information corresponding to the request information, including:
[0009] Obtaining local port information corresponding to the request information;
[0010] Based on the local port information and a preset global port mapping table, determining a second network element from the multiple network elements, wherein the fast forwarding table of the second network element includes session information corresponding to the request information;
[0011] Determining network element status information of the second network element;
[0012] When the network element status information indicates that the second network element is in an available state, the DSP module of the first network element receives the session information corresponding to the request information sent by the DSP module of the second network element.
[0013] Optionally, the platform further includes a session recovery SR module;
[0014] After determining the network element status information of the second network element, the method further includes:
[0015] When the network element status information indicates that the second network element is in an unavailable state, the DSP module of the first network element receives the session information corresponding to the request information sent by the SR module.
[0016] Optionally, the DSP module based on the first network element obtains session information corresponding to the request information, including:
[0017] The DSP module of the first network element creates session information corresponding to the request information.
[0018] Optionally, the FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information, including:
[0019] The DSP module of the first network element updates the fast forwarding table of the first network element based on the session information corresponding to the request information to obtain a target fast forwarding table;
[0020] The FP module of the first network element forwards the message information corresponding to the request information based on the target fast forwarding table.
[0021] Optionally, the method further comprises:
[0022] When a first network element among the multiple network elements receives the request information and session information corresponding to the request information is queried in the fast forwarding table of the first network element, message information corresponding to the request information is forwarded based on the fast forwarding table of the first network element.
[0023] Optionally, the platform further includes a network element controller, and the network element controller is used to add or delete network elements.
[0024] In a second aspect, an embodiment of the present invention provides an information processing device, which is applied to a network function virtualization platform, wherein the platform includes a plurality of network elements, and each network element includes a fast path FP module and a distributed slow path DSP module, and the device includes:
[0025] an acquisition module, configured to acquire the session information corresponding to the request information based on the DSP module of the first network element when the first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element;
[0026] The first forwarding module is used for the FP module of the first network element to forward the message information corresponding to the request information based on the session information corresponding to the request information.
[0027] In a third aspect, an embodiment of the present invention provides a network function virtualization platform, including a transceiver and a processor.
[0028] The transceiver is configured to, when a first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element, obtain the session information corresponding to the request information based on the DSP module of the first network element;
[0029] The processor is used for the FP module of the first network element to forward the message information corresponding to the request information based on the session information corresponding to the request information.
[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the information processing method described in the first aspect are implemented.
[0031] In a fifth aspect, an embodiment of the present invention provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of the information processing method as described in the first aspect.
[0032] In the embodiment of the present invention, the FP module and the DSP module are deployed in the same network element, which reduces the communication between network elements. When the first network element among multiple network elements receives the request information, and the session information corresponding to the request information is not found in the fast forwarding table of the first network element, the DSP module of the first network element obtains the session information corresponding to the request information; the FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information. The forwarding path in the data transmission process is reduced, the information forwarding efficiency is improved, and the network connection delay is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 It is one of the flow charts of an information processing method provided by an embodiment of the present invention;
[0035] Figure 2 This is the second flowchart of an information processing method provided by an embodiment of the present invention;
[0036] Figure 3 This is a flowchart of an information processing method provided by an embodiment of the present invention;
[0037] Figure 4 This is a fourth flowchart of an information processing method provided by an embodiment of the present invention;
[0038] Figure 5 This is a fifth flow chart of an information processing method provided by an embodiment of the present invention;
[0039] Figure 6 This is the sixth flowchart of an information processing method provided by an embodiment of the present invention;
[0040] Figure 7 This is the seventh flowchart of an information processing method provided by an embodiment of the present invention;
[0041] Figure 8 is a structural schematic diagram of an information processing device provided by an embodiment of the present invention;
[0042] Fig. 9 It is a structural diagram of a network function virtualization platform provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] Network Function Virtualization (NFV) can provide a flexible and controllable network function platform to reduce the economic cost and operation and maintenance cost of the network.
[0045] In some related technologies, the NFV platform can be a three-layer architecture, for example, AWS HyperPlane NFV platform. The first layer is Top, which is used to establish network connections. Forwarding can be completed at the Top layer. The second layer is Flow Master, which is used to record network connection information. The third layer is Decider, which is used to implement network functions. For the Network Address Translation (NAT) function, Internet Protocol (IP) and transport layer port conversion are required.
[0046] In other related technologies, the NFV platform can be a two-layer architecture, including a session layer and a forwarding layer. The session layer, also known as the slow path (SP), is responsible for the implementation of business logic, creating and caching session information according to business requests; the forwarding layer, also known as the fast path (FP), forwards business traffic according to session information. It is stateless, and the number of cluster nodes can be horizontally expanded according to business needs. The session layer adopts the active-standby mode, and the forwarding layer adopts the distributed cluster deployment mode, and the session layer and the forwarding layer are deployed in different network elements respectively.
[0047] In the related art, whether it is a three-layer or two-layer architecture, network connection delays are prone to occur during data transmission due to the long forwarding path, the new network connection performance is poor, and more computing resources are consumed. To solve the above technical problems, the embodiments of the present invention provide an information processing method, apparatus and related equipment.
[0048] See also Figure 1 , Figure 1 is one of the flow charts of an information processing method provided by an embodiment of the present invention, which is applied to a network function virtualization platform, wherein the platform includes multiple network elements, and each network element includes a fast path FP module and a distributed slow path DSP module, such as Figure 1 As shown, the method comprises the following steps:
[0049] Step 101: When a first network element among the multiple network elements receives request information and session information corresponding to the request information is not found in a fast forwarding table of the first network element, the DSP module of the first network element is used to obtain session information corresponding to the request information;
[0050] In one example, for a cloud network NFV scenario, multiple network elements are set, each of which includes a fast path FP module and a distributed slow path (Distribution Slow Path, DSP) module, and each network element can be recorded as an FP-DSP network element, that is, an FD network element. The FP module is used to quickly forward the information to be processed, and the DSP module is used to build a fast forwarding table.
[0051] The first network element may be any network element among multiple FD network elements. When the first network element receives the request information, in the first network element, the FP module queries the request information based on the fast-forward table constructed by the DSP module. When the session information corresponding to the request information is not found in the fast-forward table, the session information corresponding to the request information may be obtained based on the DSP module of the first network element. Among them, there may be multiple ways to obtain the session information corresponding to the request information based on the DSP module of the first network element. For example, the DSP module of the first network element may create session information corresponding to the request information; the DSP module of the first network element may obtain session information corresponding to the request information from other network elements; the DSP module of the first network element may obtain session information corresponding to the request information from the Session Recovery (SR) module, and the SR module backs up the fast-forward tables created by the DSP modules of multiple network elements respectively.
[0052] In this example, the slow path is deployed in a distributed manner, and the fast path and the distributed slow path are modularized and deployed in the same network element. In other words, the same FD network element includes FP modules and DSP modules. This reduces the forwarding paths in the data transmission process, improves information forwarding efficiency, and reduces network connection delays.
[0053] Step 102: The FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information.
[0054] The message information may be a Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) message. The first network element may perform port address translation (PAT) on the message information to allow multiple devices to use the same public IP address on the internal network for Internet communication, but each connection may be distinguished by a different port number.
[0055] In the embodiment of the present invention, the FP module and the DSP module are deployed in the same network element, which reduces the communication between network elements. When the first network element among multiple network elements receives the request information, and the session information corresponding to the request information is not found in the fast forwarding table of the first network element, the DSP module of the first network element obtains the session information corresponding to the request information; the FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information. The forwarding path in the data transmission process is reduced, the information forwarding efficiency is improved, and the network connection delay is reduced.
[0056] Optionally, the DSP module based on the first network element obtains session information corresponding to the request information, including:
[0057] Obtaining local port information corresponding to the request information;
[0058] Based on the local port information and a preset global port mapping table, determining a second network element from the multiple network elements, wherein the fast forwarding table of the second network element includes session information corresponding to the request information;
[0059] Determining network element status information of the second network element;
[0060] When the network element status information indicates that the second network element is in an available state, the DSP module of the first network element receives the session information corresponding to the request information sent by the DSP module of the second network element.
[0061] In some optional embodiments, each network element may store a pre-set global port mapping table (GPMT), which includes a network element identifier (ID), network element status information, network element IP, and a port list. The network element ID of each network element may be a continuous number starting from 0; the network element status information may include an available state (Active), an unavailable state (Inactive), and a deleted state (Deleting); the network element IP is used for communication between network elements; each port can only appear in one port list, and each network element can use its own port list to allocate ports.
[0062] like Figure 2As shown, in this example, ① when the first network element receives the request information, in the first network element, the FP module queries the request information based on the fast-forward table constructed by the DSP module. When the session information corresponding to the request information is not found in the fast-forward table of the first network element, that is, when the message fails to query the session in the FP module of the first network element, the local port information (local port) corresponding to the request information is obtained. ② Based on the local port and GPMT, the second network element is determined from multiple network elements, and the fast-forward table of the second network element includes the session information corresponding to the request information; when it is determined that the network element status information of the second network element indicates that the second network element is in an available state (that is, the network element status information of the second network element is Active), the DSP module of the first network element receives the session information corresponding to the request information sent by the DSP module of the second network element. Specifically, the target DSP module can be determined based on GPMT and the local port corresponding to the request information. The target DSP module is the DSP module of the second network element. The DSP module of the second network element performs two actions at the same time: ③ The message information corresponding to the request information is handed over to the FP module of the second network element, and the message is forwarded through the FP module of the second network element; ④ The session information corresponding to the request information is sent to the DSP module of the first network element, and the DSP module of the first network element establishes a fast forwarding table associated with the current session information to quickly forward subsequent messages and improve the message forwarding efficiency.
[0063] After the configuration of each network element is completed, a local IP address table will be generated. The IP in the local IP address table can be the local IP configured by the server load balancing (SLB) network element or the public IP address of the NAT network element. If the destination IP corresponding to the request information is in the local IP address table, the local port is the destination port of the request information. After obtaining the local port corresponding to the request information, the network element ID corresponding to the local port can be searched in GPMT, so that the second network element can be determined among multiple network elements.
[0064] In this way, the DSP module of the first network element obtains the session information corresponding to the request information from the DSP module of the second network element, and establishes a fast forwarding table associated with the current session information to quickly forward subsequent messages, thereby improving the message forwarding efficiency; and locates the message session to create a network element based on the destination IP and port, thereby improving the efficiency of querying the second network element, reducing network connection delays, and improving the performance of new network connections; at the same time, reducing the computing resources required to be consumed.
[0065] Optionally, the platform further includes a session recovery SR module;
[0066] After determining the network element status information of the second network element, the method further includes:
[0067] When the network element status information indicates that the second network element is in an unavailable state, the DSP module of the first network element receives the session information corresponding to the request information sent by the SR module.
[0068] In some optional embodiments, a session recovery (SR) module is also provided. The SR module is used to restore the session when an abnormality occurs in a certain network element, so that the platform has high availability. The SR module can be integrated in a certain network element among multiple network elements, or deployed in the NFV architecture.
[0069] like Figure 3 As shown, in this example, ① when the first network element receives the request information, in the first network element, the FP module queries the request information based on the fast forwarding table constructed by the DSP module. When the session information corresponding to the request information is not found in the fast forwarding table of the first network element, that is, when the message fails to query the session in the FP module of the first network element, the local port corresponding to the request information is obtained. ② Based on the local port and GPMT, the second network element is determined from multiple network elements. When it is determined that the network element status information of the second network element indicates that the second network element is in an unavailable state (that is, the network element status information of the second network element is Inactive), the DSP module of the first network element receives the session information corresponding to the request information sent by the SR module. ③ The DSP module of the first network element establishes a fast forwarding table associated with the current session information based on the session information sent by the SR module. ④ The message information corresponding to the request information is forwarded through the FP module of the first network element.
[0070] In this way, the DSP module of the first network element obtains the backup session information corresponding to the request information from the SR module to quickly forward subsequent messages, thereby improving the message forwarding efficiency; and, when there is an abnormality in the second network element, causing the second network element to be unavailable, the SR module can be set to restore the session, thereby reducing the network connection failure and improving the performance of the network connection.
[0071] Optionally, the DSP module based on the first network element obtains session information corresponding to the request information, including:
[0072] The DSP module of the first network element creates session information corresponding to the request information.
[0073] like Figure 4As shown, in this example, ① when the first network element receives the request information, in the first network element, the FP module queries the request information based on the fast-forward table constructed by the DSP module. ② When the session information corresponding to the request information is not found in the fast-forward table of the first network element, that is, when the message fails to query the session in the FP module of the first network element, the session information corresponding to the request information can be created based on the DSP module of the first network element. Afterwards, the DSP module of the first network element performs two actions simultaneously: ③ The message information corresponding to the request information is handed over to the FP module of the first network element, and the message is forwarded through the FP module of the first network element; ④ The session information corresponding to the request information is sent to the SR module to create the current session backup information in the SR module.
[0074] In this way, the DSP module of the first network element creates session information corresponding to the request information to quickly forward subsequent messages, thereby improving the message forwarding efficiency; and, when there is an abnormality in the first network element, causing the first network element to be unavailable, the session can be restored by setting the SR module, thereby reducing the number of network connection failures and improving the performance of the network connection.
[0075] Optionally, the FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information, including:
[0076] The DSP module of the first network element updates the fast forwarding table of the first network element based on the session information corresponding to the request information to obtain a target fast forwarding table;
[0077] The FP module of the first network element forwards the message information corresponding to the request information based on the target fast forwarding table.
[0078] In this embodiment, when the first network element receives the request information, in the first network element, the FP module queries the request information based on the first fast-forward table constructed by the DSP module. When the session information corresponding to the request information is not found in the first fast-forward table, the session information corresponding to the request information can be obtained based on the DSP module of the first network element. Among them, there can be multiple ways to obtain the session information corresponding to the request information based on the DSP module of the first network element. For example, the DSP module of the first network element can create session information corresponding to the request information; the DSP module of the first network element can obtain session information corresponding to the request information from other network elements; the DSP module of the first network element can obtain session information corresponding to the request information from the SR module. Please refer to the above content for details, which will not be repeated here.
[0079] In one example, after the first network element obtains the session information corresponding to the request information, the DSP module of the first network element can update the first fast forward table based on the session information corresponding to the request information to obtain the target fast forward table. In another example, after the first network element obtains the session information corresponding to the request information, the DSP module of the first network element can also directly establish the target fast forward table based on the session information corresponding to the request information.
[0080] Then, the FP module of the first network element forwards the corresponding message information of the request information based on the target fast forwarding table, which improves the forwarding efficiency of the first network element for subsequent messages; and the first network element can store the target fast forwarding table in the SR module, which is convenient for other network elements to obtain the target fast forwarding table, and also improves the forwarding efficiency of other network elements for related messages. Thereby improving the efficiency of the NFV platform and making the platform more robust.
[0081] Optionally, the method further comprises:
[0082] When a first network element among the multiple network elements receives the request information and session information corresponding to the request information is queried in the fast forwarding table of the first network element, message information corresponding to the request information is forwarded based on the fast forwarding table of the first network element.
[0083] like Figure 5 As shown, in this example, ① when the first network element receives the request information, in the first network element, the FP module queries the request information based on the fast forwarding table constructed by the DSP module. ② When the session information corresponding to the request information is queried in the fast forwarding table of the first network element, that is, when the message successfully queries the session in the FP module of the first network element, the message information corresponding to the request information is forwarded based on the FP module of the first network element. In this way, the FP module and the DSP module are deployed in the same network element, which reduces the communication between network elements. The forwarding path in the data transmission process is reduced, the information forwarding efficiency is improved, and the network connection delay is reduced.
[0084] Optionally, the platform further includes a network element controller, and the network element controller is used to add or delete network elements.
[0085] In some optional examples, network elements can be added (or expanded) through the network element controller to meet the forwarding requirements of greater traffic. Figure 6 As shown, the following steps may be specifically included:
[0086] ① The NE controller creates a new NE and assigns a NE ID; ② Generates a new global port mapping table (GPMT), the NE status of the newly added NE is inactive, and sends the GPMT to each NE (in order to avoid synchronization of existing NE sessions, the port list of existing NEs is only reduced but not increased); ③ Based on the new GPMT, the new NE requests session synchronization from the SR module; ④ The SR module synchronizes the session to the newly added NE; ⑤ After the synchronization is completed, the NE controller is notified; ⑥ The NE controller updates the GPMT table, changes the NE status of the newly added NE to active, and sends it to all NEs; ⑦ Enables the NE and directs traffic to the new FD NE.
[0087] In some optional examples, the network element controller may delete (or shrink) the network element to reduce the waste of resources. Figure 7 As shown, the following steps may be specifically included:
[0088] ① The NE controller updates GPMT: the state of the NE being reduced is deleting, and is sent to each NE; ② Switch traffic; ③ Delete the NE. The state represented by the ID of the reduced NE can remain deleting until it can be reused for the next expansion. This improves the utilization of CPU resources.
[0089] See also Figure 8 , Figure 8 8 is a structural diagram of an information processing device provided by an embodiment of the present invention. The information processing device 800 is applied to a network function virtualization platform. The platform includes multiple network elements, and each network element includes a fast path FP module and a distributed slow path DSP module. The information processing device 800 includes:
[0090] The acquisition module 801 is configured to acquire the session information corresponding to the request information based on the DSP module of the first network element when the first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element;
[0091] The first forwarding module 802 is used for the FP module of the first network element to forward the message information corresponding to the request information based on the session information corresponding to the request information.
[0092] Optionally, the acquisition module 801 includes:
[0093] An acquisition submodule, used to acquire local port information corresponding to the request information;
[0094] A first determination submodule, configured to determine a second network element from the plurality of network elements based on the local port information and a preset global port mapping table, wherein the fast forwarding table of the second network element includes session information corresponding to the request information;
[0095] A second determining submodule, used to determine the network element state information of the second network element;
[0096] The first receiving submodule is used to, when the network element status information indicates that the second network element is in an available state, receive, by the DSP module of the first network element, the session information corresponding to the request information sent by the DSP module of the second network element.
[0097] Optionally, the platform further includes a session recovery SR module;
[0098] The acquisition module 801 further includes:
[0099] The second receiving submodule is used for, when the network element status information indicates that the second network element is in an unavailable state, the DSP module of the first network element receives the session information corresponding to the request information sent by the SR module.
[0100] Optionally, the acquisition module 801 further includes:
[0101] A creation submodule is used to create session information corresponding to the request information based on the DSP module of the first network element.
[0102] Optionally, the first forwarding module 802 includes:
[0103] An updating submodule, configured for the DSP module of the first network element to update the fast forwarding table of the first network element based on the session information corresponding to the request information, so as to obtain a target fast forwarding table;
[0104] A forwarding submodule, used for the FP module of the first network element to forward the message information corresponding to the request information based on the target fast forwarding table.
[0105] Optionally, the device further comprises:
[0106] The second forwarding module is used to forward the message information corresponding to the request information based on the fast forwarding table of the first network element when the first network element among the multiple network elements receives the request information and the session information corresponding to the request information is queried in the fast forwarding table of the first network element.
[0107] Optionally, the platform further includes a network element controller, and the network element controller is used to add or delete network elements.
[0108] The information processing device 800 is capable of implementing each process of each embodiment of the above-mentioned information processing method applied to the network function virtualization platform. The technical features correspond one to one and can achieve the same technical effect. To avoid repetition, they will not be described here.
[0109] An embodiment of the present invention also provides a network function virtualization platform, including: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, each process of the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0110] For details, see Fig. 9 An embodiment of the present invention further provides a network function virtualization platform, including a bus 901, a transceiver 902, an antenna 903, a bus interface 904, a processor 905 and a memory 906.
[0111] The transceiver 902 is configured to, when a first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element, obtain the session information corresponding to the request information based on the DSP module of the first network element;
[0112] Processor 905 is configured for the FP module of the first network element to forward the message information corresponding to the request information based on the session information corresponding to the request information.
[0113] Optionally, the DSP module based on the first network element obtains session information corresponding to the request information, including:
[0114] Obtaining local port information corresponding to the request information;
[0115] Based on the local port information and a preset global port mapping table, determining a second network element from the multiple network elements, wherein the fast forwarding table of the second network element includes session information corresponding to the request information;
[0116] Determining network element status information of the second network element;
[0117] When the network element status information indicates that the second network element is in an available state, the DSP module of the first network element receives the session information corresponding to the request information sent by the DSP module of the second network element.
[0118] Optionally, the platform further includes a session recovery SR module;
[0119] The transceiver 902 is also used for, when the network element status information indicates that the second network element is in an unavailable state, the DSP module of the first network element receives the session information corresponding to the request information sent by the SR module.
[0120] Optionally, the DSP module based on the first network element obtains session information corresponding to the request information, including:
[0121] The DSP module of the first network element creates session information corresponding to the request information.
[0122] Optionally, the FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information, including:
[0123] The DSP module of the first network element updates the fast forwarding table of the first network element based on the session information corresponding to the request information to obtain a target fast forwarding table;
[0124] The FP module of the first network element forwards the message information corresponding to the request information based on the target fast forwarding table.
[0125] Optionally, the transceiver 902 is also used to forward the message information corresponding to the request information based on the fast-forward table of the first network element when the first network element among the multiple network elements receives the request information and the session information corresponding to the request information is queried in the fast-forward table of the first network element.
[0126] Optionally, the platform further includes a network element controller, and the network element controller is used to add or delete network elements.
[0127] exist Fig. 9 In the embodiment, the bus architecture (represented by bus 901) may include any number of interconnected buses and bridges, and bus 901 links various circuits including one or more processors represented by processor 905 and memory represented by memory 906. Bus 901 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 904 provides an interface between bus 901 and transceiver 902. Transceiver 902 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 905 is transmitted on a wireless medium via antenna 903, and further, antenna 903 also receives data and transmits the data to processor 905.
[0128] The processor 905 is responsible for managing the bus 901 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 906 can be used to store data used by the processor 905 when performing operations.
[0129] Optionally, the processor 905 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD).
[0130] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0131] The embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned information processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0132] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present invention is not limited to performing functions in the order discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0134] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. An information processing method, characterized in that: Applied to a network function virtualization platform, the platform includes a plurality of network elements, and each network element includes a fast path FP module and a distributed slow path DSP module, the method includes: When a first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element, acquiring the session information corresponding to the request information based on the DSP module of the first network element; The FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information.
2. The method according to claim 1, characterized in that The DSP module based on the first network element obtains session information corresponding to the request information, including: Obtaining local port information corresponding to the request information; Based on the local port information and a preset global port mapping table, determining a second network element from the multiple network elements, wherein the fast forwarding table of the second network element includes session information corresponding to the request information; Determining network element status information of the second network element; When the network element status information indicates that the second network element is in an available state, the DSP module of the first network element receives the session information corresponding to the request information sent by the DSP module of the second network element.
3. The method according to claim 2, characterized in that The platform also includes a session recovery SR module; After determining the network element status information of the second network element, the method further includes: When the network element status information indicates that the second network element is in an unavailable state, the DSP module of the first network element receives the session information corresponding to the request information sent by the SR module.
4. The method according to claim 1, characterized in that: The DSP module based on the first network element obtains session information corresponding to the request information, including: The DSP module of the first network element creates session information corresponding to the request information.
5. The method according to any one of claims 1 to 4, characterized in that The FP module of the first network element forwards the message information corresponding to the request information based on the session information corresponding to the request information, including: The DSP module of the first network element updates the fast forwarding table of the first network element based on the session information corresponding to the request information to obtain a target fast forwarding table; The FP module of the first network element forwards the message information corresponding to the request information based on the target fast forwarding table.
6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: When a first network element among the multiple network elements receives the request information and session information corresponding to the request information is queried in the fast forwarding table of the first network element, message information corresponding to the request information is forwarded based on the fast forwarding table of the first network element.
7. The method according to any one of claims 1 to 4, characterized in that The platform also includes a network element controller, and the network element controller is used to add or delete network elements.
8. An information processing device, characterized in that: Applied to a network function virtualization platform, the platform includes multiple network elements, and each network element includes a fast path FP module and a distributed slow path DSP module, the device includes: an acquisition module, configured to acquire the session information corresponding to the request information based on the DSP module of the first network element when the first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element; The first forwarding module is used for the FP module of the first network element to forward the message information corresponding to the request information based on the session information corresponding to the request information.
9. A network function virtualization platform, characterized in that: Including transceiver and processor, The transceiver is configured to, when a first network element among the multiple network elements receives the request information and the session information corresponding to the request information is not found in the fast forwarding table of the first network element, obtain the session information corresponding to the request information based on the DSP module of the first network element; The processor is used for the FP module of the first network element to forward the message information corresponding to the request information based on the session information corresponding to the request information.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the information processing method according to any one of claims 1 to 7 are implemented.
11. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the information processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for protecting basic session in DSN (Distributed Service Network) VoIP (Voice over Internet Protocol) service system
CN102685163A
Session reconstruction method, device and system
CN115915495A
Message interaction method and network function virtualization network element
CN116132295A
Capacity adjustment method, device and equipment of traffic forwarding network element, and storage medium
CN116708191A
Information processing method, forwarding network element and related equipment
CN117675941A