Multi-channel routing strategy management method, device and electronic equipment
Through the multi-channel routing strategy management method, routing strategies are aggregated, identified and digitalized to form a digital collection in the repository, solving the routing black hole and transmission delay problems in the data center network, and achieving rapid matching of routing policies and improving network efficiency.
Patent Information
- Application Number
- CN202311678813.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2043-12-08
AI Technical Summary
In data center networks, routing aggregation process may lead to problems of routing black holes and slow transmission and hysteresis, and it is difficult for the existing technology to properly organize and call routing policies.
Using multi-channel routing strategy management method, collect, identify, digitize and store routing policies, extract keywords, form digital node combinations and subsets, and store them in the policy repository, quickly match them during data transmission, and select the smallest path length Routing policy.
It realizes unified classification and organization of routing policies and fast matching, improves network disposal efficiency, and avoids routing black holes and transmission delay problems.
Smart Images

Figure CN117675681B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and specifically to a multi-channel routing strategy management method, device and electronic equipment. Background Art
[0002] With the continuous development and expansion of data center networks, in current data center scenarios, multi-device peer redundancy is usually used, and route aggregation is used when there are many similar routes to reduce the number of routes and achieve faster route convergence. However, in the process of route aggregation, if some of the detailed routes that are aggregated are lost, a route black hole may occur. At the same time, if the various route strategies after aggregation cannot properly and clearly organize the data, it will cause slow transmission and delays during the data transmission process. Therefore, a reliable routing strategy technology is urgently needed.
[0003] Invention subcategory
[0004] The purpose of this application is to provide a multi-channel routing strategy management method, device and electronic device to solve the technical problems raised in the above background technology.
[0005] To achieve the above objectives, this application discloses the following technical solutions:
[0006] In a first aspect, the present application provides a multi-channel routing policy management method, the method comprising policy handling and policy calling;
[0007] The policy handling specifically includes the following steps:
[0008] A routing strategy that brings together all channels;
[0009] Identify the content of the routing policy;
[0010] According to the policy content of each routing policy, the network nodes corresponding to the routing policy are analyzed, and all the network nodes analyzed by each routing policy are aggregated into node groups;
[0011] According to the preset digital definition rules, the network nodes in the node group are converted into digital form to obtain a digital node combination [A1, A2, A3...A n ];
[0012] According to the preset policy features, keywords are extracted from the interaction relationship between each network node corresponding to each routing policy based on the policy content recognition result, and the extracted keywords are inserted between the corresponding network nodes to obtain several digital node subsets;
[0013] Combine the digital nodes [A1, A2, A3...A n] and several digital node subsets are combined to form a digital set corresponding to the routing strategy of a single channel {[A1, A2, A3....A n ], digital node subset 1, digital node subset 2...digital node subset m};
[0014] Storing the digital set corresponding to the routing strategies of multiple channels in a strategy repository;
[0015] The strategy call specifically includes the following steps:
[0016] When data routing is required, the keywords corresponding to the required network nodes and the interaction relationships between network nodes are analyzed according to the type of data transmission;
[0017] Convert the required network nodes into digital form, and search for matches in the strategy repository after combining them with the analyzed keywords;
[0018] At least one of the multiple routing strategies that are successfully retrieved and matched is used as the routing strategy for the data routing.
[0019] Preferably, the network node at least includes a gateway.
[0020] Preferably, the digital node subset w corresponds to the form: [A w ,Keywords,A k ] or [A w ,Keyword 1,A k ,Keyword 2,A t ], where Aw, Ak and At are all digital representations of the network nodes, and w, k and t are all less than n.
[0021] Preferably, in the strategy call, when the successfully matched routing strategies include two or more, a path length analysis is performed on each routing strategy, and the routing strategy with the smallest path length is selected as the routing strategy for the data routing.
[0022] Preferably, the path length analysis includes: extracting the last element A in the digital node combination corresponding to each routing strategy 1n , A 2n ......A hn , where the smaller the value corresponding to hn is, the smaller the path length of the routing strategy is.
[0023] In a second aspect, the present application discloses a multi-channel routing strategy management device, including a strategy collection module, a content identification module, a digital transformation module, a keyword assignment module, a collection arrangement module, a strategy repository, and a retrieval matching module;
[0024] The strategy aggregation module is configured to: aggregate routing strategies of all channels;
[0025] The content identification module is configured to: identify the policy content of the routing policy, and analyze the network nodes corresponding to the routing policy according to the policy content of each routing policy, and aggregate all the network nodes analyzed for each routing policy into a node group;
[0026] The digital transformation module is configured to: transform the network nodes in the node group into digital form according to the preset digital definition rules to obtain a digital node combination [A1, A2, A3...A n ]; and further configured to: convert the network nodes of data transmission corresponding to the data routing into digital form according to the preset digital definition rules;
[0027] The keyword assignment module is configured to: extract keywords from the interaction relationship between each network node corresponding to each routing strategy based on the policy content recognition result according to the preset policy features, and insert the extracted keywords between the corresponding network nodes to obtain a number of digital node subsets; and is also configured to: obtain keywords corresponding to the interaction relationship between the network nodes of the data transmission corresponding to the data routing;
[0028] The set arrangement module is configured to: combine the digital nodes [A1, A2, A3...A n ] and several digital node subsets are combined to form a digital set corresponding to the routing strategy of a single channel {[A1, A2, A3...A n ], digital node subset 1, digital node subset 2...digital node subset m};
[0029] The policy repository is configured to: store digital sets corresponding to routing policies of multiple channels;
[0030] The retrieval and matching module is configured as follows: when data routing is required, based on the digital form of the network node for data transmission corresponding to the data routing obtained by the digital conversion module and the keyword combination corresponding to the interactive relationship between the network nodes for data transmission corresponding to the data routing obtained by the keyword assignment module, the strategy repository is searched for a match, and at least one of the several routing strategies that have been successfully retrieved and matched is used as the routing strategy for the data routing.
[0031] Preferably, the digital node subset w corresponds to the form: [A w ,Keywords,A k ] or [A w ,Keyword 1,A k ,Keyword 2,A t], where Aw, Ak and At are all digital representations of the network nodes, and w, k and t are all less than n.
[0032] Preferably, the retrieval and matching module is further configured to: when the successfully retrieved and matched routing strategies include 2 or more, perform path length analysis on each routing strategy, and select the routing strategy with the smallest path length as the routing strategy for the data routing.
[0033] Preferably, the path length analysis includes: extracting the last element A in the digital node combination corresponding to each routing strategy 1n , A 2n ......A hn , where the smaller the value corresponding to hn is, the smaller the path length of the routing strategy is.
[0034] In a third aspect, the present application discloses an electronic device comprising at least one processor and at least one memory, wherein the memory is communicatively connected to the processor, and the memory stores computer-readable instructions that can be executed by the processor. When the computer-readable instructions are executed, the multi-channel routing strategy management method as described above is implemented.
[0035] Beneficial effects: The multi-channel routing strategy management method, device and electronic device of the present application can classify and organize the routing strategies of multiple channels in a unified format, and can express the functions of the routing strategies intuitively and simply, so as to achieve a fast matching effect when the relevant routing strategies are subsequently called, thereby improving network processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 A flowchart of a multi-channel routing strategy management method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0039] In this article, the term "comprising" is 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 includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0040] In a first aspect, this embodiment discloses Figure 1 A multi-channel routing policy management method is shown, which includes policy handling and policy calling.
[0041] The policy handling specifically includes the following steps:
[0042] A routing strategy that brings together all channels;
[0043] Identify the content of the routing policy;
[0044] According to the policy content of each routing policy, the network nodes corresponding to the routing policy are analyzed, and all the network nodes analyzed by each routing policy are aggregated into node groups;
[0045] According to the preset digital definition rules, the network nodes in the node group are converted into digital form to obtain a digital node combination [A1, A2, A3...A n ];
[0046] According to the preset policy features, keywords are extracted from the interaction relationship between each network node corresponding to each routing policy based on the policy content recognition result, and the extracted keywords are inserted between the corresponding network nodes to obtain several digital node subsets;
[0047] Combine the digital nodes [A1, A2, A3...A n ] and several digital node subsets are combined to form a digital set corresponding to the routing strategy of a single channel {[A1, A2, A3...A n ], digital node subset 1, digital node subset 2...digital node subset m};
[0048] The digital collection corresponding to the multi-channel routing strategies is stored in the strategy repository.
[0049] In this embodiment, the digital node subset w corresponds to the form: [A w ,Keywords,A k ] or [A w ,Keyword 1,A k ,Keyword 2,At ], where Aw, Ak and At are all digital representations of the network nodes, and w, k and t are all less than n.
[0050] For example, the digital node combination of network nodes corresponding to a routing strategy is: [1, 5, 3, 11], and the corresponding nodes in the data link are: client, POP3 switch server, authentication server, background server; the corresponding keywords are data upload and conversion, data authentication, data processing and feedback, then the digital set corresponding to the routing strategy is: {[1, 5, 3, 11], [1, data upload and conversion, 5], [5, data authentication, 3], [3, data processing and feedback, 11]}.
[0051] The strategy call specifically includes the following steps:
[0052] When data routing is required, the keywords corresponding to the required network nodes and the interaction relationships between network nodes are analyzed according to the type of data transmission;
[0053] Convert the required network nodes into digital form, and search for matches in the strategy repository after combining them with the analyzed keywords;
[0054] At least one of the multiple routing strategies that are successfully retrieved and matched is used as the routing strategy for the data routing.
[0055] Correspondingly, in the above routing strategy example, the corresponding data route is: uploading data to the background server. The network nodes corresponding to the data transmission include the client, the switch server, the authentication server, the background server, and the keywords corresponding to the interaction relationship are: data upload, data processing and feedback. Then, when the data route is generated, the routing strategy of the previous example can be adopted, that is, the digitized set is: {[1, 5, 3, 11], [1, data upload and conversion, 5], [5, data authentication, 3], [3, data processing and feedback, 11]} The corresponding routing strategy is used to perform the data transmission task.
[0056] It should be understood that the network node may be, but is not limited to, various gateway devices.
[0057] As a preferred implementation of this embodiment, in the strategy call, when the successfully matched routing strategies include 2 or more, a path length analysis is performed on each routing strategy, and the routing strategy with the smallest path length is selected as the routing strategy for the data routing. The path length analysis includes: extracting the last element A in the digital node combination corresponding to each routing strategy 1n , A 2n ......A hn, where the smaller the value corresponding to hn is, the smaller the path length of the routing strategy is.
[0058] In a second aspect, the present embodiment discloses a multi-channel routing policy management device applicable to the aforementioned multi-channel routing policy management method, the device comprising a policy collection module, a content identification module, a digital transformation module, a keyword assignment module, a collection organization module, a policy repository and a retrieval matching module.
[0059] Specifically, the strategy aggregation module is configured to aggregate routing strategies of all channels.
[0060] Specifically, the content identification module is configured to: identify the policy content of the routing policy, and analyze the network nodes corresponding to the routing policy according to the policy content of each routing policy, and aggregate all the network nodes analyzed for each routing policy into a node group.
[0061] Specifically, the digital conversion module is configured to: convert the network nodes in the node group into digital form according to the preset digital definition rules to obtain a digital node combination [A1, A2, A3...A n ]; It is also configured to: convert the network nodes of data transmission corresponding to the data routing into digital form according to preset digital definition rules.
[0062] Specifically, the keyword assignment module is configured to: extract keywords from the interaction relationship between each network node corresponding to each routing strategy based on the policy content identification result according to the preset policy features, and insert the extracted keywords between the corresponding network nodes to obtain several digital node subsets; and is also configured to: obtain keywords corresponding to the interaction relationship between the network nodes of data transmission corresponding to the data routing.
[0063] Specifically, the set arrangement module is configured to: combine the digital nodes [A1, A2, A3...A n ] and several digital node subsets are combined to form a digital set corresponding to the routing strategy of a single channel {[A1, A2, A3...A n ], digital node subset 1, digital node subset 2...digital node subset m}.
[0064] Specifically, the policy repository is configured to store digital sets corresponding to routing policies of multiple channels.
[0065] Specifically, the retrieval and matching module is configured as follows: when data routing is required, based on the digital form of the network nodes for data transmission corresponding to the data routing obtained by the digital conversion module and the keyword combination corresponding to the interactive relationship between the network nodes for data transmission corresponding to the data routing obtained by the keyword assignment module, the strategy repository is searched for a match, and at least one of the several routing strategies that have been successfully retrieved and matched is used as the routing strategy for the data routing.
[0066] In this embodiment, the digital node subset w corresponds to the form: [A w ,Keywords,A k ] or [A w ,Keyword 1,A k ,Keyword 2,A t ], where Aw, Ak and At are all digital representations of the network nodes, and w, k and t are all less than n.
[0067] In this embodiment, the retrieval and matching module is further configured to: when the successfully retrieved and matched routing strategies include 2 or more, perform path length analysis on each routing strategy, and select the routing strategy with the smallest path length as the routing strategy for the data routing.
[0068] Furthermore, the path length analysis includes: extracting the last element A in the digital node combination corresponding to each routing strategy 1n , A 2n ......A hn , where the smaller the value corresponding to hn is, the smaller the path length of the routing strategy is.
[0069] It should be noted that, as mentioned above, the interactive control device is applicable to the aforementioned interactive control method. Therefore, other functions, principles and other related technical contents of the components of the interactive control device can be referred to the aforementioned description in the interactive control method, and this text will not elaborate on them here.
[0070] In a third aspect, this embodiment discloses an electronic device, comprising at least one processor and at least one memory, wherein the memory is communicatively connected to the processor, and the memory stores computer-readable instructions that can be executed by the processor. When the computer-readable instructions are executed, the multi-channel routing strategy management method as described above is implemented.
[0071] In the embodiments provided in the present application, it should be understood that the embodiments described herein can be implemented with hardware, software, firmware, middleware, code or any appropriate combination thereof. For hardware implementation, the processor can be implemented in one or more of the following units: application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, other electronic units or combinations thereof designed to implement the functions described herein. For software implementation, part or all of the processes of the embodiments can be completed by instructing the relevant hardware through computer-readable instructions. When implemented, the above-mentioned computer-readable instructions can be stored in a computer-readable storage medium (memory) or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein the communication medium includes any medium that is convenient for transmitting computer-readable instructions from one place to another. The storage medium can be any available medium that a computer can access. Computer-readable storage media may include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired instruction codes in the form of instructions or data structures and that can be accessed by a computer.
[0072] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A multi-channel routing strategy management method, characterized in that: The method includes policy disposal and policy invocation; The policy handling specifically includes the following steps: A routing strategy that brings together all channels; Identify the content of the routing policy; According to the policy content of each routing policy, the network nodes corresponding to the routing policy are analyzed, and all the network nodes analyzed by each routing policy are aggregated into node groups; According to the preset digital definition rules, the network nodes in the node group are converted into digital form to obtain a digital node combination [A1, A2, A3...A n ]; According to the preset policy features, keywords are extracted from the interaction relationship between each network node corresponding to each routing policy based on the policy content recognition result, and the extracted keywords are inserted between the corresponding network nodes to obtain several digital node subsets; Combine the digital nodes [A1, A2, A3...A n ] and several digital node subsets are combined to form a digital set corresponding to the routing strategy of a single channel {[A1, A2, A3...A n ], digital node subset 1, digital node subset 2...digital node subset m}; Storing the digital set corresponding to the routing strategies of multiple channels in a strategy repository; The strategy call specifically includes the following steps: When data routing is required, the keywords corresponding to the required network nodes and the interaction relationships between network nodes are analyzed according to the type of data transmission; Convert the required network nodes into digital form, and search for matches in the strategy repository after combining them with the analyzed keywords; At least one of the several routing strategies that are successfully retrieved and matched is used as the routing strategy for the data route: The form corresponding to the digital node subset w is: w ,Keywords,A k ] or [A w ,Keyword 1,A k ,Keyword 2,A t ], where Aw, Ak and At are the digital representation results corresponding to the network nodes, and w, k and t are all less than n; In the strategy call, when the successfully matched routing strategies include 2 or more, a path length analysis is performed on each routing strategy, and the routing strategy with the smallest path length is selected as the routing strategy for the data routing; the path length analysis includes: extracting the last element A in the digital node combination corresponding to each routing strategy 1n , A 2n ......A hn , where the smaller the value corresponding to hn is, the smaller the path length of the routing strategy is.
2. The multi-channel routing strategy management method according to claim 1, characterized in that: The network nodes include at least a gateway.
3. A multi-channel routing strategy management device, characterized in that: It includes a strategy collection module, a content identification module, a digital transformation module, a keyword assignment module, a collection arrangement module, a strategy repository and a retrieval matching module; The strategy aggregation module is configured to: aggregate routing strategies of all channels; The content identification module is configured to: identify the policy content of the routing policy, and analyze the network nodes corresponding to the routing policy according to the policy content of each routing policy, and aggregate all the network nodes analyzed for each routing policy into a node group; The digital transformation module is configured to: transform the network nodes in the node group into digital form according to the preset digital definition rules to obtain a digital node combination [A1, A2, A3...A n ]; and further configured to: convert the network nodes of data transmission corresponding to the data routing into digital form according to the preset digital definition rules; The keyword assignment module is configured to: extract keywords from the interaction relationship between each network node corresponding to each routing strategy based on the policy content recognition result according to the preset policy features, and insert the extracted keywords between the corresponding network nodes to obtain a number of digital node subsets; and is also configured to: obtain keywords corresponding to the interaction relationship between the network nodes of the data transmission corresponding to the data routing; The set arrangement module is configured to: combine the digital nodes [A1, A2, A3...A n ] and several digital node subsets are combined to form a digital set corresponding to the routing strategy of a single channel {[A1, A2, A3...A n ], digital node subset 1, digital node subset 2...digital node subset m}; The policy repository is configured to: store a digital set corresponding to routing policies of multiple channels; The retrieval and matching module is configured to: when data routing is required, based on the digital form of the network node of the data transmission corresponding to the data routing obtained by the digital conversion module and the keyword combination corresponding to the interactive relationship between the network nodes of the data transmission corresponding to the data routing obtained by the keyword assignment module, search for a match in the strategy repository, and use at least one of the several routing strategies that have been successfully retrieved and matched as the routing strategy of the data routing; The form corresponding to the digital node subset w is: w ,Keywords,A k ] or [A w ,Keyword 1,A k ,Keyword 2,A t ], where Aw, Ak and At are the digital representation results corresponding to the network nodes, and w, k and t are all less than n; The retrieval and matching module is further configured to: when the successfully retrieved and matched routing strategies include 2 or more, perform path length analysis on each routing strategy, and select the routing strategy with the smallest path length as the routing strategy for the data routing; the path length analysis includes: extracting the last element A in the digital node combination corresponding to each routing strategy 1n , A 2n ......A hn , where the smaller the value corresponding to hn is, the smaller the path length of the routing strategy is.
4. An electronic device, characterized in that: It includes at least one processor and at least one memory, the memory is communicatively connected to the processor, the memory stores computer-readable instructions that can be executed by the processor, and when the computer-readable instructions are executed, the multi-channel routing strategy management method as described in claims 1-2 is implemented.
Citation Information
Patent Citations
Service chain realization method and strategy control platform
CN106487537A
