Real-time routing method, system, electronic device and medium for telecommunication identification network
By processing TIN network characteristics through artificial intelligence and improving the A* algorithm, the routing problem of TIN in dynamically changing networks is solved, the dynamic selection of intelligent routing strategies is realized, and the performance of the telecommunications identification network is improved.
Patent Information
- Application Number
- CN202211212400.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-09-29
AI Technical Summary
Existing routing algorithms, especially the A* algorithm, are difficult to meet the real-time dynamic routing requirements of Telecom Identification Network (TIN) in dynamically changing networks, cannot effectively optimize multi-directional identification data types and diverse network evaluation indicators, and lack learning. and memory capacity, resulting in insufficient performance.
Use artificial intelligence to process the network characteristics of TIN to meet the requirements of the A* algorithm, and improve the A* algorithm to have learning capabilities, dynamically select the optimal path, and use the preset A* optimization algorithm and neural network design to achieve intelligent inspiration Functional algorithms to adapt to multiple types of identity data and network characteristics.
It improves the overall performance of TIN, meets the requirements of real-time dynamic routing, optimizes routing strategies, and improves network performance and efficiency.
Smart Images

Figure CN115589380B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of network communication technology, and in particular to a real-time routing method of a telecommunication identification network, a real-time routing system of a telecommunication identification network, an electronic device and a computer-readable storage medium. Background Art
[0002] Identity resolution technology refers to the process of mapping object identifiers to the information required for actual information services, such as addresses, items, spatial locations, etc. Identity resolution can accurately and efficiently obtain the corresponding information of object identifiers. Identity resolution technology is applied to various fields of society. For example, in the industrial field, resolution technology can connect all production factors such as equipment, machines and materials within the enterprise, connect fragmented data and applications, and realize the grasp of information such as the source, flow process, and purpose of data. It can also connect products, machines, workshops, and factories to achieve large-scale collection of underlying identification data, data sharing between information systems, and analysis and application of identification data. From outside the enterprise, upstream and downstream enterprises can also use identity resolution to share data on demand, thereby connecting the entire life cycle of design, manufacturing, logistics, and use, and realizing true full life cycle management.
[0003] The core of the identification resolution system includes identification coding, identification resolution system and identification data service. Among them, the identification coding corresponds to the unique identification of the object, the identification resolution system uniquely locates the object and performs information query, and the identification data service can use the identification coding resources and identification resolution system to carry out identification data management and cross-industry, cross-regional and cross-national data sharing and use, which can be widely used in various fields such as industry, commerce, art, residents, tourism, transportation, logistics, etc., giving rise to a large number of application ecosystems.
[0004] The Telecommunication Identification Network (TIN) is an identification network based on the rich network resources and user resources of communication operators. Its storage is based on the MEC (Mobile Edge Computing) of the communication operator. The identification code contains the identification storage code (IMC), which is encoded based on the storage location of the identification. The identification storage code IMC includes 4 parts: {national center node code} + {regional center / provincial capital node code} + {local core / edge node code} + {edge internal node code};
[0005] There are many types of TIN identification data, such as low latency and latency insensitive, high security isolation and public open service, high cost and low cost. There are also many routes to choose from for reading identification data, such as high-speed tunnel links, low-speed shared links, etc. Different types of identification data reading choose different routes, and their performance and cost vary greatly. Since TIN adopts the principle of storing identification data nearby, reading identification data requires crossing the network to reach the MEC where the identification data is stored. How to implement various routing strategies during the reading process, such as low-cost routing strategies that meet performance, system performance optimal routing strategies, etc., requires rich global parameters and highly complex routing algorithms.
[0006] Due to the large number of TIN nodes, the diverse system performance requirements, and the dynamic state of the network, how to achieve real-time routing of TIN has become a difficult problem; when determining the route, it is generally determined by the network's routing algorithm. The network's routing algorithm is an important part of the network and one of the most active directions in the field of network technology. The purpose of the routing algorithm is to find an optimal path from the source to the destination. Routing algorithms usually revolve around optimization, simplicity, low consumption, robustness, stability, fast aggregation, flexibility and other goals.
[0007] However, most of the current routing algorithms are only suitable for static road optimization or routing scenarios, and it is difficult to achieve good results for the optimization of complex dynamic roads. Moreover, due to the multi-directionality of TIN identification data types and the diversity of network and link evaluation indicators, different categories of TIN identification codes have different optimization target requirements, the large number of network nodes, and the dynamic changes in node status, there is currently no real-time dynamic routing method that can meet the characteristics of TIN. Among the existing routing algorithms, the A* algorithm is a direct search method with relatively high efficiency in solving the shortest path in a static road network. Its advantage is that it integrates known global information when selecting the next node, so that the probability of the next node selected becoming the node set on the optimal path finally obtained is higher, thereby effectively improving the convergence speed of the algorithm. Although the A* algorithm has good performance, there are several problems when it is applied to TIN routing:
[0008] 1) The classic use of the A* algorithm is the shortest path in navigation algorithms and has achieved great success. When applied to TIN routing problems, it is necessary to convert the states of each TIN node and the links between nodes into virtual distances that meet the requirements of the A* algorithm. However, due to the multi-directionality of the TIN identification data type and the diversity of network and link evaluation indicators, it is impossible to directly solve and convert using a fixed calculation formula;
[0009] 2) The A* algorithm is suitable for static networks and cannot adapt to dynamically changing networks. Although Anthony Stentz proposed the dynamic A* algorithm (Dynamic A*, D*) to find the optimal path in a dynamic environment and successfully applied it to the path search algorithm of the Mars rover, this dynamic A* algorithm searches from the target point to the starting point (backward propagation, reverse search) and only checks the changes of the upper and lower nodes or adjacent nodes of the shortest path, without global dynamic change information;
[0010] 3) The A* algorithm is not suitable for multiple optimization objectives. Different types of TIN identification codes have different optimization requirements. For low-latency TIN identification codes, such as high-speed production lines and logistics sorting centers, the optimization objectives are latency and reliability, and economy is not its main goal. For low-cost, high-latency TIN identification codes, such as supermarkets and traceability, the latency requirements are not high, but due to the large number, the identification reading cost is its main optimization goal;
[0011] 4) Due to the large number of network nodes and the dynamic changes in node status, if all nodes participate in the optimization, the algorithm convergence time is long and cannot keep up with the node status changes.
[0012] 5) The A* algorithm has no learning and memory capabilities. After the network has been running for a certain period of time, its state has a relatively fixed regularity. The A* algorithm only integrates known global information and has no learning and memory capabilities. This defect is not reflected in static routing. However, it is applied to the scenario of the present invention where the number of nodes is huge and the network is in a dynamically changing state, which seriously affects the performance of the algorithm.
[0013] It can be seen that the existing A* algorithm cannot meet the requirements of real-time dynamic routing of TIN network characteristics. Summary of the invention
[0014] In order to solve the technical problem that the existing technology cannot meet the real-time dynamic routing characteristics of the TIN network, the present disclosure provides a real-time routing method of a telecommunication identification network, a real-time routing system of a telecommunication identification network, an electronic device and a computer-readable storage medium. The network characteristics of the TIN are processed by artificial intelligence so that the characteristics meet the requirements of the A* algorithm, and then the traditional A* algorithm is improved by artificial intelligence so that the A* algorithm has the ability to learn and dynamically select the optimal path according to the real-time status of the network, thereby meeting the requirements of the real-time dynamic routing of the TIN network characteristics and improving the overall performance of the TIN.
[0015] In a first aspect, the present disclosure provides a real-time routing method for a telecommunications identification network TIN, the method comprising:
[0016] Get the parameter information of TIN and update it dynamically;
[0017] Summarize the real-time dynamic status data of TIN and the reading and writing performance parameters of TIN identification data;
[0018] Processing the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data by artificial intelligence, so that the characteristics of the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data meet the requirements of the A* algorithm;
[0019] The routing strategy is obtained through the preset A* optimization algorithm and sent to each node of TIN.
[0020] Furthermore,
[0021] The parameter information of the TIN includes: the location and node code of the MEC deployed by the TIN, the level of the MEC, the affiliation of the MEC, the performance of the MEC, and the performance and configuration of the network between the MECs;
[0022] The real-time dynamic status data of the TIN includes: real-time network parameters of bandwidth, utilization, computing and storage resources, and network delay of TIN nodes;
[0023] The read and write performance parameters of the TIN identification data include the read and write data block size, speed, delay, consumption and corresponding routing.
[0024] Furthermore, the method further comprises:
[0025] According to the performance requirements of TIN identification data for reading, different requirement categories are set, and various requirement categories are combined respectively to form classification parameters of TIN identification data.
[0026] Furthermore, the preset A* optimization algorithm includes:
[0027] Step S1: Initialize the starting point i and two table arrays, including the table array open list and the table array closelist; wherein the open list corresponds to different identification data types through a multi-layer table structure, and is used to store identification data of different data types for a list of all possible next nodes for different network characteristics. The path can be cross-connected between multiple tables, and different close lists store the optimal values after evaluation;
[0028] Step S2: put all next reachable node sets Ω on each plane connected to i into an open list under constraints, where the constraints are determined by (Formula 1);
[0029]
[0030] Where j is the next node belonging to Ω, B(i,j), D(i,j), and C(i,j) are the bandwidth, delay, and resource consumption between (i, j), respectively. c , D c , C c The corresponding threshold value set for the Class C identification data system;
[0031] Step S3: traverse the open list, evaluate the nodes in the open list using the evaluation function of (Formula 2), and put the node with the smallest evaluation value into the close list;
[0032] F(x)=G(x)+H(x) (Formula 2)
[0033] Among them, F(x) is the evaluation result, G(x) is the length of the distance that has been traveled, and H(x) is the heuristic function, which indicates the distance from the next node to the end point;
[0034] Step S4: Check the surrounding nodes according to the constraint results of (Formula 1). If the node does not meet the constraint conditions or the node is already in the close list, it is ignored and skipped; otherwise, the node is added to the open list, and the current node is used as the parent node of the node. If the node is already in the open list, check whether the normalized distance from the current node to the node is smaller. If the normalized distance is smaller, the parent node of the node is set as the current node, and F(x) and G(x) are recalculated according to (Formula 2);
[0035] Step S5: Repeat steps S3 and S4 until: the next node is the end point and the search stops, or the open list is empty and the end point cannot be found;
[0036] Step S6: Starting from the end point, each node moves in the reverse direction along the parent node until it reaches the starting point to form the shortest path.
[0037] Furthermore, the method further comprises:
[0038] When calculating G(x), the distance between different types of identification data and the classic A* algorithm is normalized for the distance in G(x). The conversion process includes:
[0039] The dynamic network characteristic data of the TIN nodes collected from the network is encoded through an encoder, and then the output of the encoder is used as the input of the decoder, and the output of the decoder is obtained through the decoder;
[0040] The output of the decoder is passed through the decision maker and the feedback of different types of identification data collected from the network to calculate the deviation through the loss function;
[0041] If the calculated deviation is better than the preset threshold value, the real-time data is marked with characteristics between the network nodes and the identification data, and converted into a normalized distance through a corresponding table set by the system according to the markings of each node.
[0042] Furthermore, the specific algorithm in the conversion process includes:
[0043] Reset the encoder’s weight adjustment matrix ΔW=0 and bias adjustment matrix Δb=0;
[0044] The collected dynamic network characteristics x of the TIN nodes are input into the encoder, and the output of the encoder is shown in (Equation 3):
[0045] h=f1(W 1 x+b 1 ) (Formula 3)
[0046] Where h represents the output of the encoder, f1 is the nonlinear transformation function of the encoder, and W 1 is the weight of the encoder, b 1 is the encoder bias;
[0047] The output h of the encoder is input into the decoder for decoding. The output of the decoder is shown in (Equation 4):
[0048] y=f2(W 2 h+b 2 ) (Formula 4)
[0049] Among them, y represents the reconstruction result, f 21 is the nonlinear transformation function of the decoder, W 2 is the weight of the decoder, b 2 is the bias of the decoder;
[0050] Using the historical data of TIN and the corresponding results of network feedback, a supervised training evaluation and identification function is constructed. The network is supervised trained through the back propagation algorithm. The collected historical data and the corresponding feedback results are used to comprehensively adjust the weights of the autoencoder through the comprehensive evaluation and identification function. The comprehensive adjustment of the weights of the autoencoder is shown in (Formula 5):
[0051]
[0052] Among them, f w and f bThe evaluation and identification functions for (W, b) are respectively completed, and the evaluation and identification of the loss function are completed. The evaluation and identification functions are constructed using a supervised learning decision tree, including: starting from the root node, the corresponding features of the network are tested for different TIN identification categories respectively, and the nodes are assigned to the child nodes of the corresponding TIN identification data category according to the test results. After all are completed, each child node corresponds to a value of the network feature and the TIN identification data type. All nodes are recursively tested and assigned in the same way until the vertex is reached to complete the node evaluation and identification. J(W, b; x, y) is the performance feedback result x of a certain TIN identification type data x through network reading, writing and operation and the loss function of the decoder output in the weight and bias (W, b);
[0053] Update the parameters by (Equation 6):
[0054]
[0055] Until the loss function reaches the value set by the system.
[0056] Furthermore, the method further comprises:
[0057] Through neural network design, an intelligent heuristic function algorithm that can meet the needs of multiple TIN identification data types, diverse network characteristics, and dynamically predict the distance from the current node to the end point by learning network historical data and real-time network data;
[0058] Calculate H(x) by the intelligent heuristic function algorithm;
[0059] Wherein, the intelligent heuristic function algorithm includes:
[0060] Assume that the neurons in the lth layer are transmitted to the l+1th layer, then the output of the i-th neuron in the l+1th layer is shown in (Equation 7)
[0061]
[0062] Among them, f(·) is a nonlinear activation function. The corresponding comprehensive weighted processing is added to the Maxout activation function to meet the multi-type representation of data and the diversity of decision parameters. The operation is shown in (Equation 8):
[0063]
[0064] Among them, max is the operator of the Maxout activation function, which realizes the nonlinear transformation between the input variable and the output normalized value [0, 1] by adding k neurons and then outputting the value with the maximum activation value; R(·) is the random weighting processing, and the operation is shown in (Equation 9):
[0065] R(x)=∑Q sx (Equation 9)
[0066] Where Q is a random number between [0, 1], s is the normalized weight of each indicator assigned, the indicators include delay and security, x is the input of the weighted processing, R(x) is the output of the weighted processing, (Equation 8) Through (Formula 10) we can obtain:
[0067]
[0068] in, is the weight of connecting the lth layer neuron j to the l+1th layer neuron i, is the bias of neuron i;
[0069] The optimal connection weights and bias matrix (W, b) of the neural network are obtained by minimizing the loss function. The loss function is shown in (Equation 11):
[0070]
[0071] in, To fine-tune the parameters in the list, the calculation method is shown in (Equation 12):
[0072]
[0073] Among them, y i is the actual expected output value of neuron i in layer L, obtained from the feedback information of the identification data reading and writing, is the fitted output value of neuron i in layer L, output from the neural network; is the parameter in the non-fine optimization list, and the calculation method is shown in (Equation 13):
[0074]
[0075] Among them, s i is the threshold value corresponding to neuron i, G is the threshold operator, which can be greater than, less than, belongs to, and does not belong to. It is set according to the requirements of specific threshold parameters. If the calculation result of G meets the set threshold parameter, it is 0, and if it does not meet the set threshold, it is 1;
[0076] Using the back propagation BP algorithm and the gradient descent algorithm, in the real-time data learning process with feedback results, the loss function is minimized by adjusting the connection weights and the bias of each neuron;
[0077] The real-time data without endpoint feedback results is input into the continuously learning neural network to obtain the performance prediction of the corresponding category TIN identification data from the current node to the endpoint, and the result is converted into a normalized distance.
[0078] In a second aspect, the present disclosure provides a real-time routing system for a telecommunications identification network, the system comprising:
[0079] An acquisition module is configured to acquire parameter information of TIN and dynamically update it;
[0080] A summary module configured to summarize the real-time dynamic status data of the TIN and the read and write performance parameters of the TIN identification data;
[0081] a processing module configured to process the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data through artificial intelligence, so that the characteristics of the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data meet the requirements of the A* algorithm;
[0082] The calculation and routing module is configured to obtain the routing strategy through a preset A* optimization algorithm and send it to each node of the TIN.
[0083] In a third aspect, the present disclosure provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the real-time routing method of the telecommunications identification network as described in any one of the first aspects.
[0084] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the real-time routing method of the telecommunications identification network described in any one of the first aspects above is implemented.
[0085] Beneficial effects:
[0086] The real-time routing method of the telecommunication identification network, the real-time routing system of the telecommunication identification network, the electronic device and the computer-readable storage medium provided by the present disclosure process the network characteristics of TIN through artificial intelligence so that the characteristics meet the requirements of the A* algorithm, and then use artificial intelligence to improve the traditional A* algorithm so that the A* algorithm has the ability to learn and dynamically select the optimal path according to the real-time status of the network, meet the requirements of real-time dynamic routing of the TIN network characteristics, and improve the overall performance of the TIN. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] Figure 1 A schematic diagram of a flow chart of a real-time routing method of a telecommunication identification network provided in the first embodiment of the present disclosure;
[0088] Figure 2 An architectural diagram of a real-time routing system for a telecommunications identification network provided in Embodiment 2 of the present disclosure;
[0089] Figure 3 This is an architecture diagram of an electronic device provided in Embodiment 3 of the present disclosure. DETAILED DESCRIPTION
[0090] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the present disclosure is further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention, rather than to limit the present invention.
[0091] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence; and, in the absence of conflict, the embodiments in the present disclosure and the features in the embodiments can be arbitrarily combined with each other.
[0092] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms of "a", "said" and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings.
[0093] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present disclosure, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0094] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems existing in the prior art. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0095] Figure 1 A schematic diagram of a telecommunication identification network real-time routing method provided in the first embodiment of the present disclosure, such as Figure 1 As shown, the method includes:
[0096] Step S101: Obtain parameter information of TIN and dynamically update it;
[0097] Step S102: Summarize the real-time dynamic status data of the TIN and the read and write performance parameters of the TIN identification data;
[0098] Step S103: Processing the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data by artificial intelligence, so that the characteristics of the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data meet the requirements of the A* algorithm;
[0099] Step S104: Obtain the routing strategy through the preset A* optimization algorithm and send it to each node of the TIN.
[0100] Real-time routing is a routing algorithm that adjusts the optimal route at any time according to the network status. Compared with static or dynamic routing, real-time routing has better performance, but it also places high demands on the computing power of routing algorithms and equipment. For real-time routing algorithms, complexity and fast convergence are important characteristics. Since the nodes of TIN are laid out based on the hierarchy and geographical location of MEC, making full use of this feature of TIN can effectively reduce the complexity of TIN routing algorithms. The disclosed embodiment first obtains the parameter information of TIN through the TIN network management module and performs dynamic management. The real-time dynamic status data of the TIN network is collected through the network real-time status collection module of MEC in TIN, and the read and write performance of the identification data is collected at the edge of TIN corresponding to the network status. At the same time, the collected information is uploaded to the TIN network management module, the real-time dynamic status data of the network and the read and write performance of the TIN identification data are summarized, and the network structure information is queried by other modules through the interface.
[0101] According to the different reading performance requirements of different identification data, the identification data is classified and set into different categories. The network characteristics of TIN are processed by artificial intelligence. The network characteristics include TIN parameter information, TIN real-time dynamic status data and TIN identification data reading and writing performance parameters, so that the network characteristics of TIN meet the requirements of A* algorithm. The artificial intelligence parameter processing process and the improvement process of traditional A* algorithm are carried out in coordination to obtain the preset A* optimization algorithm to meet the diversity of TIN identification data and the characteristics of TIN network:
[0102] 1) The open list and close list of the algorithm are implemented in the form of table arrays. The arrays can be mutually negative to satisfy the mapping of one-to-many relationships between TIN network nodes;
[0103] 2) When putting nodes into the open list, the performance constraints are preprocessed using TIN identification data to reduce invalid nodes in the open list and improve the convergence speed of the algorithm;
[0104] 3) Based on deep learning, the automatic encoder combines the multi-type characteristics of TIN identification data and the diversity of network characteristics to complete the intelligent normalized distance conversion of TIN multi-type identification data and multi-network characteristics, and realizes the conversion of the distance between different types of identification data and virtual paths when passing through network nodes and links of multi-evaluation indicators;
[0105] 4) Using neural networks, we designed an intelligent heuristic function algorithm that can dynamically predict the distance from the current node to the end point based on real-time network data by learning historical network data, so as to solve the problem that the heuristic function in the classic algorithm can only be applied to static path networks;
[0106] The improved A* algorithm has the ability to learn and dynamically select the optimal path according to the real-time status of the network; according to the real-time status of the network of the TIN network management module and the read and write performance of the TIN identification data, the routing strategy is obtained through the preset A* optimization algorithm and sent to each node of the TIN; the requirements of real-time dynamic routing of the TIN network characteristics are met, and the overall performance of the TIN is improved.
[0107] Furthermore,
[0108] The parameter information of the TIN includes: the location and node code of the MEC deployed by the TIN, the level of the MEC, the affiliation of the MEC, the performance of the MEC, and the performance and configuration of the network between the MECs;
[0109] The real-time dynamic status data of the TIN includes: real-time network parameters of bandwidth, utilization, computing and storage resources, and network delay of TIN nodes;
[0110] The read and write performance parameters of the TIN identification data include the read and write data block size, speed, delay, consumption and corresponding routing.
[0111] The embodiment of the present disclosure obtains and updates the parameter information of TIN in real time. The parameter information of TIN includes the MEC location and node coding, hierarchy, affiliation, performance, and performance and configuration of the network between MECs deployed in the TIN network. The parameter information of TIN is dynamically managed. At the same time, the real-time dynamic status data of the network and the read and write performance of TIN identification data are summarized, and the network structure information is queried by other modules through the interface.
[0112] The real-time dynamic status data of TIN is collected through the network real-time status collection module of MEC in TIN, including real-time network parameters such as bandwidth, utilization, computing and storage resources, network delay, etc. of TIN network nodes, and reported to the network management module for summary;
[0113] The read and write performance parameters of TIN identification data are collected by the TIN identification data read and write real-time collection module. Corresponding to the network status, the read and write performance of identification data is collected at the TIN edge, including data block size, speed, delay, consumption, etc., as well as the corresponding routing, and reported to the TIN network management module.
[0114] By summarizing the network characteristics of TIN and managing them in real time, the necessary parameters are provided for the routing algorithm, ensuring that the optimized algorithm can meet the requirements of real-time dynamic routing of TIN network characteristics, thereby improving the overall performance of TIN.
[0115] Furthermore, the method further comprises:
[0116] According to the performance requirements of TIN identification data for reading, different requirement categories are set, and various requirement categories are combined respectively to form classification parameters of TIN identification data.
[0117] The TIN identification code is the user's identification data, which contains the storage area and location of the identification data, so it has the function of fast routing. Due to the large number of TIN identification codes, the identification data is stored in the MEC according to the access location of the user terminal. This method facilitates direct addressing based on the storage location, is also conducive to identifying users to manage identification data, and can also meet the needs of users to change production and business sites.
[0118] Different identification data have different reading performance requirements. Some have strict time limits for data reading but the data volume is small, while some are queried by a large number of users but do not have high requirements for latency. Identification data is classified to meet the needs of reading and operating different types of identification data.
[0119] The Identification and Memory Code (IMC) of TIN consists of 4 parts:
[0120] {National center node code}+{Regional center / provincial capital node code}+{Local core / edge node code}+{Edge internal node code}
[0121] The identification number uses the code of the existing data node to build the IMC, and the identification data can be routed according to the IMC part of the identification number. SIMC is the service identification storage code, which is the IMC corresponding to the service network when the phone number leaves the home network. If the home network is the same as the service network, the IMC is the same as the SIMC, otherwise the routing uses SIMC for addressing, which can meet the changes and movements of the user's phone number and realize the routing of identification data.
[0122] Different identification data have different reading performance requirements. Some have strict time limits for data reading, such as high-speed production lines, high-speed automatic sorting of logistics, and other scenarios; some are large-scale user queries, but do not have high latency requirements, such as retail product information reading, traceability, and other scenarios. According to the characteristics of the data, the system sets different categories, such as low latency and latency-insensitive categories, dedicated high-security isolation and public open service categories, high cost and low cost categories, and combines these categories to form classification parameters for identification data, such as Class A (low latency, high-security isolation, high cost), Class B (low latency, public open service, high cost), ..., Class F (latency-insensitive, public open service, low cost) and other data.
[0123] Furthermore, the preset A* optimization algorithm includes:
[0124] Step S1: Initialize the starting point i and two table arrays, including the table array open list and the table array closelist; wherein the open list corresponds to different identification data types through a multi-layer table structure, and is used to store identification data of different data types for a list of all possible next nodes for different network characteristics. The path can be cross-connected between multiple tables, and different close lists store the optimal values after evaluation;
[0125] Step S2: put all next reachable node sets Ω on each plane connected to i into an open list under constraints, where the constraints are determined by (Formula 1);
[0126]
[0127] Where j is the next node belonging to Ω, B(i,j), D(i,j), and C(i,j) are the bandwidth, delay, and resource consumption between (i, j), respectively. c , D c , C c The corresponding threshold value set for the Class C identification data system;
[0128] Step S3: traverse the open list, evaluate the nodes in the open list using the evaluation function of (Formula 2), and put the node with the smallest evaluation value into the close list;
[0129] F(x)=G(x)+H(x) (Formula 2)
[0130] Among them, F(x) is the evaluation result, G(x) is the length of the distance that has been traveled, and H(x) is the heuristic function, which indicates the distance from the next node to the end point;
[0131] Step S4: Check the surrounding nodes according to the constraint results of (Formula 1). If the node does not meet the constraint conditions or the node is already in the close list, it is ignored and skipped; otherwise, the node is added to the open list, and the current node is used as the parent node of the node. If the node is already in the open list, check whether the normalized distance from the current node to the node is smaller. If the normalized distance is smaller, the parent node of the node is set as the current node, and F(x) and G(x) are recalculated according to (Formula 2);
[0132] Step S5: Repeat steps S3 and S4 until: the next node is the end point and the search stops, or the open list is empty and the end point cannot be found;
[0133] Step S6: Starting from the end point, each node moves in the reverse direction along the parent node until it reaches the starting point to form the shortest path.
[0134] The A* algorithm is a relatively efficient direct search method for solving the shortest path in a static road network, but there are several problems when applied to TIN routing. The embodiment of the present disclosure is based on the A* algorithm and combines the optimization algorithm steps designed by a neural network to meet the requirements of TIN real-time routing.
[0135] In step S3, the distance length in G(x) needs to be converted from the normalized distance of the network characteristics to the distance. Since this embodiment needs to realize the normalized conversion of the distance between different types of identification data and the classic A* algorithm, and the network characteristics and the expression types are both diverse, this involves a many-to-many normalized distance conversion problem. For example, the normalized distance conversion of identification data type A through a low-latency network and identification data type B through a low-cost network needs to be performed according to the type of identification data and the characteristics of the network, and cannot be directly converted through a fixed formula. Therefore, during the calculation, the automatic encoder based on deep learning, combined with the multi-type characteristics of TIN identification data and the diversity of network characteristics, realizes the intelligent normalized distance conversion of TIN multi-type identification data and multi-network characteristics, and realizes the conversion of different types of identification data and virtual path distance when passing through network nodes and links of multi-evaluation indicators.
[0136] In step S3, the heuristic function of H(x) of the classic A* algorithm is the Manhattan distance (lateral displacement + longitudinal displacement) from the current node to the end point. This simple distance algorithm can only be applied to static simple path networks, while the distance prediction from the current node to the end point in this embodiment needs to be comprehensively predicted based on the type of identification data, the real-time dynamic characteristics of the network, and the historical data of the network to obtain good performance. In actual calculation, this embodiment uses a neural network to design an intelligent heuristic function algorithm that meets multiple TIN identification data types and multivariate network characteristics, and can dynamically predict the distance from the current node to the end point by learning the historical data of the network, so as to meet the problems encountered by TIN application of the classic A* algorithm.
[0137] In step S5, if the next node is the end point and the search stops, it means that the path has been found; if the open list is empty and the end point cannot be found, it means that there is no path.
[0138] Furthermore, the method further comprises:
[0139] When calculating G(x), the distance between different types of identification data and the classic A* algorithm is normalized for the distance in G(x). The conversion process includes:
[0140] The dynamic network characteristic data of the TIN nodes collected from the network is encoded through an encoder, and then the output of the encoder is used as the input of the decoder, and the output of the decoder is obtained through the decoder;
[0141] The output of the decoder is passed through the decision maker and the feedback of different types of identification data collected from the network to calculate the deviation through the loss function;
[0142] If the calculated deviation is better than the preset threshold value, the real-time data is marked with characteristics between the network nodes and the identification data, and converted into a normalized distance through a corresponding table set by the system according to the markings of each node.
[0143] Different types of TIN identification data pass through networks and links with different characteristics. According to the type of TIN identification data and network characteristics, the performance of the identification data passing through this network is normalized into distance, so as to facilitate the optimization using the shortest path algorithm of the classic A* algorithm. The intelligent normalized distance conversion algorithm uses the network characteristics of the autoencoder input node in deep learning, and then constructs a node processing network based on different categories of identification data using the autoencoder, so that the output data matches the node group expected by different types of identification data, and uses real-time node network characteristic data to continuously train and adjust the weights of each layer to achieve the best normalized distance conversion effect. Since the network characteristics of the node (such as delay, resource occupancy) and the requirements of different types of identification data (such as delay, cost) are not single, but a many-to-many relationship, the complexity of the matching algorithm is very high. The autoencoder can use nonlinear neural networks to reduce the dimension of normalized distance conversion, thereby reducing the complexity of the algorithm.
[0144] The automatic encoder consists of an encoder and a decoder. The dynamic data of the network characteristics of the nodes collected from the network are encoded by the encoder, and then used as the input of the decoder, and the output is obtained through the decoder. The output of the decoder is then used by the judge to calculate the deviation through the loss function with the feedback of different types of identification data collected from the network. When the deviation is better than the threshold value, the real-time data is marked with the characteristics between the network nodes and the identification data, and then converted into a normalized distance according to the corresponding table set by the system according to the marking of each node.
[0145] Furthermore, the specific algorithm in the conversion process includes:
[0146] Reset the encoder’s weight adjustment matrix ΔW=0 and bias adjustment matrix Δb=0;
[0147] The collected dynamic network characteristics x of the TIN nodes are input into the encoder, and the output of the encoder is shown in (Equation 3):
[0148] h=f1(W 1 x+b 1 ) (Formula 3)
[0149] Where h represents the output of the encoder, f1 is the nonlinear transformation function of the encoder, and W 1 is the weight of the encoder, b 1 is the encoder bias;
[0150] The output h of the encoder is input into the decoder for decoding. The output of the decoder is shown in (Equation 4):
[0151] y=f2(W 2 h+b 2 ) (Formula 4)
[0152] Among them, y represents the reconstruction result, f 21 is the nonlinear transformation function of the decoder, W 2 is the weight of the decoder, b 2 is the bias of the decoder;
[0153] Using the historical data of TIN and the corresponding results of network feedback, a supervised training evaluation and identification function is constructed. The network is supervised trained through the back propagation algorithm. The collected historical data and the corresponding feedback results are used to comprehensively adjust the weights of the autoencoder through the comprehensive evaluation and identification function. The comprehensive adjustment of the weights of the autoencoder is shown in (Formula 5):
[0154]
[0155] Among them, f w and f b The evaluation and identification functions for (W, b) are respectively completed, and the evaluation and identification of the loss function are completed. The evaluation and identification functions are constructed using a supervised learning decision tree, including: starting from the root node, the corresponding features of the network are tested for different TIN identification categories respectively, and the nodes are assigned to the child nodes of the corresponding TIN identification data category according to the test results. After all are completed, each child node corresponds to a value of the network feature and the TIN identification data type. All nodes are recursively tested and assigned in the same way until the vertex is reached to complete the node evaluation and identification. J(W, b; x, y) is the performance feedback result x of a certain TIN identification type data x through network reading, writing and operation and the loss function of the decoder output in the weight and bias (W, b);
[0156] Update the parameters by (Equation 6):
[0157]
[0158] Until the loss function reaches the value set by the system.
[0159] Auto-encoders (AE) are a generative model based on unsupervised learning. They use some sparse high-order features to reconstruct the input data, which can effectively encode the input data and are mainly used for data dimension reduction or feature extraction. The auto-encoder includes an encoding stage and a decoding stage. Its structure is symmetrical, and the input and output vector dimensions are the same. When the weights of the auto-encoder are adjusted comprehensively, since the single auto-encoder can only reconstruct the error of the input data and cannot realize the complex loss function calculation between the output and the actual network feedback, it is necessary to use the historical data of the TIN network and the corresponding results of the network feedback to construct a supervised training evaluation and identification function. The network is supervised by the back propagation algorithm, and finally the collected historical data and the corresponding feedback results can be used. Then, the weights of the auto-encoder are adjusted comprehensively by the comprehensive evaluation and identification function. Using the network characteristics of the auto-encoder input nodes in deep learning, according to different categories of identification data, a node processing network is constructed using the auto-encoder, so that the output data matches the node group expected by different types of identification data, and the weights of each layer are continuously trained and adjusted using real-time node network characteristic data to achieve the best normalized distance conversion effect.
[0160] Since the network characteristics and TIN identification data types are diverse, and since a large amount of historical data of TIN identification types being read, written and operated through the network, as well as the performance feedback results of these operations, are known, a supervised learning decision tree is used to construct an evaluation and identification function. The specific algorithm is to start from the root node, test different TIN identification categories for a certain feature of the network, and assign the node to a child node corresponding to the TIN identification data category based on the test results. After all is completed, each child node corresponds to a value of the network feature and the TIN identification data type. All nodes are tested and assigned recursively in this way until the vertex is reached, completing the node evaluation and identification (identification is to identify the result as a system-set category, such as low latency and high cost level I).
[0161] A supervised training evaluation and identification function is constructed using the historical data of the TIN network and the corresponding results of network feedback. The network is supervised trained through the back-propagation algorithm. Finally, the collected historical data and the corresponding feedback results can be used, and then the weights of the autoencoder can be comprehensively adjusted by combining the evaluation and identification functions to solve the problem that a single autoencoder can only reconstruct the error of the input data, but cannot realize the complex loss function calculation between the output and the actual network feedback.
[0162] Furthermore, the method further comprises:
[0163] Through neural network design, an intelligent heuristic function algorithm that can meet the needs of multiple TIN identification data types, diverse network characteristics, and dynamically predict the distance from the current node to the end point by learning network historical data and real-time network data;
[0164] Calculate H(x) by the intelligent heuristic function algorithm;
[0165] Wherein, the intelligent heuristic function algorithm includes:
[0166] Assume that the neurons in the lth layer are transmitted to the l+1th layer, then the output of the i-th neuron in the l+1th layer is shown in (Equation 7)
[0167]
[0168] Among them, f(·) is a nonlinear activation function. The corresponding comprehensive weighted processing is added to the Maxout activation function to meet the multi-type representation of data and the diversity of decision parameters. The operation is shown in (Equation 8):
[0169]
[0170] Among them, max is the operator of the Maxout activation function, which realizes the nonlinear transformation between the input variable and the output normalized value [0, 1] by adding k neurons and then outputting the value with the maximum activation value; R(·) is the random weighting processing, and the operation is shown in (Equation 9):
[0171] R(x)=∑Q s x (Equation 9)
[0172] Where Q is a random number between [0, 1], s is the normalized weight of each indicator assigned, the indicators include delay and security, x is the input of the weighted processing, R(x) is the output of the weighted processing, (Equation 8) Through (Equation 10), we can obtain:
[0173]
[0174] in, is the weight of connecting the lth layer neuron j to the l+1th layer neuron i, is the bias of neuron i;
[0175] The optimal connection weights and bias matrix (W, b) of the neural network are obtained by minimizing the loss function. The loss function is shown in (Equation 11):
[0176]
[0177] in, To fine-tune the parameters in the list, the calculation method is shown in (Equation 12):
[0178]
[0179] Among them, y i is the actual expected output value of neuron i in layer L, obtained from the feedback information of the identification data reading and writing, is the fitted output value of neuron i in layer L, output from the neural network; is the parameter in the non-fine optimization list, and the calculation method is shown in (Equation 13):
[0180]
[0181] Among them, s i is the threshold value corresponding to neuron i, G is the threshold operator, which can be greater than, less than, belongs to, and does not belong to. It is set according to the requirements of specific threshold parameters. If the calculation result of G meets the set threshold parameter, it is 0, and if it does not meet the set threshold, it is 1;
[0182] Using the back propagation BP algorithm and the gradient descent algorithm, in the real-time data learning process with feedback results, the loss function is minimized by adjusting the connection weights and the bias of each neuron;
[0183] The real-time data without endpoint feedback results is input into the continuously learning neural network to obtain the performance prediction of the corresponding category TIN identification data from the current node to the endpoint, and the result is converted into a normalized distance.
[0184] The heuristic function of the classic A* algorithm is the Manhattan distance from the current node to the end point. In the TIN identification network, the network parameters are diverse (for example, the delay index is excellent and the security index is average), and the characteristics of the type of identification data are also diverse (for example, latency is prioritized and security only needs to meet the set standards). The comprehensive prediction of the performance from the current node to the end point is relatively complex, and the Manhattan distance cannot complete the role of the heuristic function in the classic A* algorithm.
[0185] The intelligent heuristic algorithm of the disclosed embodiment is implemented based on a neural network, avoiding the requirement for weight accuracy and the complexity of solving correlation coefficients, and satisfies the performance prediction of networks with different parameters for different types of identification data by modifying weight parameters.
[0186] TIN network can continuously collect the status of each node of the network and the corresponding reading and writing performance of a large amount of identification data. Therefore, it can continuously learn the collected data. If these data are used to improve the traditional A* algorithm through artificial intelligence, the artificial neural network can also have preliminary adaptive and self-organizing capabilities. Neural network is the basis of artificial intelligence. Neurons are divided into multiple layers. Neurons between layers are connected, and neurons within a layer are not connected. Each connection line represents the connection weight between neurons. The learning process of neural network is to minimize the loss function by using BP (backpropagation) algorithm and gradient descent algorithm, so as to adjust the connection weight and bias of each neuron to adapt to changes in the surrounding environment. Neural network is a system with learning ability. There are two types of learning and training methods. One is supervised learning, in which calibrated samples are used for learning; the other is unsupervised learning, which only stipulates certain rules, and the system can automatically discover environmental characteristics and regularity.
[0187] The basic neural network unit consists of an input layer, a hidden layer and an output layer. The input layer nodes input the output of the encoder, the output layer nodes play a linear weighting role, and the hidden layer nodes perform mathematical processing based on the identification feature elements corresponding to the module to achieve performance prediction based on Maxout processing of multiple types of identification data and diverse network parameters.
[0188] The purpose of designing random numbers in (Equation 9) is to avoid setting fixed weight parameters that affect the flexibility of optimization. Similar to the scoring of gymnastics competitions, if the weight of each referee is always the same, some biased referees may continue to affect the overall score of a game. If these referees cannot be determined, this problem can be effectively avoided by using a random weight for each referee.
[0189] The classic neural network continuously learns and obtains the optimal connection weights and bias matrix of the neural network by minimizing the loss function. Since multiple indicators are involved in the identification data judgment and marking, each indicator does not necessarily need to be optimized to the minimum, otherwise it will cause performance waste. For example, for some application scenarios, delay is the target that needs to be optimized, while in other scenarios, the delay only needs to be not less than the threshold value and does not need to be finely optimized to the minimum. In this way, if the delay is put into the optimization parameter list, it will affect the optimization of other parameters. Therefore, the loss function is determined by (Formula 11).
[0190] In the intelligent heuristic function algorithm, for the TIN identification network, the network parameters are multivariate, and the characteristics of the types of identification data are also multivariate. Based on the neural network, the requirements for weight accuracy and the complexity of solving the correlation coefficient are avoided, and the performance prediction of networks with different parameters for different types of identification data is met by modifying the weight parameters; when different levels of neurons are transmitted, the corresponding comprehensive weighted processing is added to the Maxout activation function to meet the multi-type of data and the diversity of decision parameters; the functions of fine optimization of neuron output processing and threshold optimization are added to solve the problem that multiple indicators are involved in identification data judgment and marking, and each indicator does not necessarily need to be optimized to the minimum.
[0191] The disclosed embodiments are aimed at optimizing the A* algorithm for complex dynamic roads, but due to the limitations of the algorithm itself, good results cannot be achieved. Also, when applied to TIN routing, there are problems such as being unable to use fixed calculation formulas for direct solution and conversion, being unsuitable for multiple optimization objectives, having a long algorithm convergence time, and having a relatively fixed algorithm network state that seriously affects the performance of the algorithm.
[0192] TIN network can continuously collect the status of each node of the network and the corresponding reading and writing performance of a large amount of identification data. Therefore, it can continuously learn the collected data. If these data are used to improve the traditional A* algorithm through artificial intelligence, the artificial neural network can also have preliminary adaptive and self-organizing capabilities. Neural network is the basis of artificial intelligence. Neurons are divided into multiple layers. Neurons between layers are connected, and neurons within a layer are not connected. Each connection line represents the connection weight between neurons. The learning process of neural network is to minimize the loss function by using BP (backpropagation) algorithm and gradient descent algorithm, so as to adjust the connection weight and bias of each neuron to adapt to changes in the surrounding environment. Neural network is a system with learning ability. There are two types of learning and training methods. One is supervised learning, in which calibrated samples are used for learning; the other is unsupervised learning, which only stipulates certain rules, and the system can automatically discover environmental characteristics and regularity.
[0193] Since the node deployment of TIN relies on MEC and has geographical characteristics, and there are different levels and subordinate relationships between nodes, the embodiment of the present disclosure processes the network characteristics of TIN through artificial intelligence, so that the characteristics meet the requirements of the A* algorithm, and then uses artificial intelligence to enable the A* algorithm to have the ability to learn and dynamically select the optimal path according to the real-time status of the network, explore the real-time dynamic routing algorithm that meets the characteristics of TIN, which has a positive significance for improving the network performance of TIN.
[0194] Figure 2This is an architecture diagram of a real-time routing system of a telecommunications identification network provided in the second embodiment of the present disclosure, such as Figure 2 As shown, the system comprises:
[0195] An acquisition module 11 is configured to acquire parameter information of the TIN and perform dynamic updates;
[0196] A summarizing module 12, which is configured to summarize the real-time dynamic status data of the TIN and the read and write performance parameters of the TIN identification data;
[0197] A processing module 13, which is configured to process the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data through artificial intelligence, so that the characteristics of the parameter information of the TIN, the real-time dynamic state data of the TIN, and the read / write performance parameters of the TIN identification data meet the requirements of the A* algorithm;
[0198] The calculation and routing module 14 is configured to obtain a routing strategy through a preset A* optimization algorithm and send it to each node of the TIN.
[0199] Furthermore,
[0200] The parameter information of the TIN includes: the location and node code of the MEC deployed by the TIN, the level of the MEC, the affiliation of the MEC, the performance of the MEC, and the performance and configuration of the network between the MECs;
[0201] The real-time dynamic status data of the TIN includes: real-time network parameters of bandwidth, utilization, computing and storage resources, and network delay of TIN nodes;
[0202] The read and write performance parameters of the TIN identification data include the read and write data block size, speed, delay, consumption and corresponding routing.
[0203] Furthermore, the system further comprises a setting module 15:
[0204] The setting module 15 is configured to set different requirement categories according to the performance requirements of the TIN identification data for reading, and to combine the various requirement categories to form classification parameters of the TIN identification data.
[0205] Furthermore, the preset A* optimization algorithm includes:
[0206] Step S1: Initialize the starting point i and two table arrays, including the table array open list and the table array closelist; wherein the open list corresponds to different identification data types through a multi-layer table structure, and is used to store identification data of different data types for a list of all possible next nodes for different network characteristics. The path can be cross-connected between multiple tables, and different close lists store the optimal values after evaluation;
[0207] Step S2: put all next reachable node sets Ω on each plane connected to i into an open list under constraints, where the constraints are determined by (Formula 1);
[0208]
[0209] Where j is the next node belonging to Ω, B(i,j), D(i,j), and C(i,j) are the bandwidth, delay, and resource consumption between (i, j), respectively. c , D c , C c The corresponding threshold value set for the Class C identification data system;
[0210] Step S3: traverse the open list, evaluate the nodes in the open list using the evaluation function of (Formula 2), and put the node with the smallest evaluation value into the close list;
[0211] F(x)=G(x)+H(x) (Formula 2)
[0212] Among them, F(x) is the evaluation result, G(x) is the length of the distance that has been traveled, and H(x) is the heuristic function, which indicates the distance from the next node to the end point;
[0213] Step S4: Check the surrounding nodes according to the constraint results of (Formula 1). If the node does not meet the constraint conditions or the node is already in the close list, it is ignored and skipped; otherwise, the node is added to the open list, and the current node is used as the parent node of the node. If the node is already in the open list, check whether the normalized distance from the current node to the node is smaller. If the normalized distance is smaller, the parent node of the node is set as the current node, and F(x) and G(x) are recalculated according to (Formula 2);
[0214] Step S5: Repeat steps S3 and S4 until: the next node is the end point and the search stops, or the open list is empty and the end point cannot be found;
[0215] Step S6: Starting from the end point, each node moves in the reverse direction along the parent node until it reaches the starting point to form the shortest path.
[0216] Furthermore, the calculation and routing module 14 is also configured to:
[0217] When calculating G(x), the distance between different types of identification data and the classic A* algorithm is normalized for the distance in G(x). The conversion process includes:
[0218] The dynamic network characteristic data of the TIN nodes collected from the network is encoded through an encoder, and then the output of the encoder is used as the input of the decoder, and the output of the decoder is obtained through the decoder;
[0219] The output of the decoder is passed through the decision maker and the feedback of different types of identification data collected from the network to calculate the deviation through the loss function;
[0220] If the calculated deviation is better than the preset threshold value, the real-time data is marked with characteristics between the network nodes and the identification data, and converted into a normalized distance through a corresponding table set by the system according to the markings of each node.
[0221] Furthermore, the specific algorithm in the conversion process includes:
[0222] Reset the encoder’s weight adjustment matrix ΔW=0 and bias adjustment matrix Δb=0;
[0223] The collected dynamic network characteristics x of the TIN nodes are input into the encoder, and the output of the encoder is shown in (Equation 3):
[0224] h=f1(W 1 x+b 1 ) (Formula 3)
[0225] Where h represents the output of the encoder, f1 is the nonlinear transformation function of the encoder, and W 1 is the weight of the encoder, b 1 is the encoder bias;
[0226] The output h of the encoder is input into the decoder for decoding. The output of the decoder is shown in (Equation 4):
[0227] y=f2(W 2 h+b 2 ) (Formula 4)
[0228] Among them, y represents the reconstruction result, f 21 is the nonlinear transformation function of the decoder, W 2 is the weight of the decoder, b 2 is the bias of the decoder;
[0229] Using the historical data of TIN and the corresponding results of network feedback, a supervised training evaluation and identification function is constructed. The network is supervised trained through the back propagation algorithm. The collected historical data and the corresponding feedback results are used to comprehensively adjust the weights of the autoencoder through the comprehensive evaluation and identification function. The comprehensive adjustment of the weights of the autoencoder is shown in (Formula 5):
[0230]
[0231] Among them, f w and f b The evaluation and identification functions for (W, b) are respectively completed, and the evaluation and identification of the loss function are completed. The evaluation and identification functions are constructed using a supervised learning decision tree, including: starting from the root node, the corresponding features of the network are tested for different TIN identification categories respectively, and the nodes are assigned to the child nodes of the corresponding TIN identification data category according to the test results. After all are completed, each child node corresponds to a value of the network feature and the TIN identification data type. All nodes are recursively tested and assigned in the same way until the vertex is reached to complete the node evaluation and identification. J(W, b; x, y) is the performance feedback result x of a certain TIN identification type data x through network reading, writing and operation and the loss function of the decoder output in the weight and bias (W, b);
[0232] Update the parameters by (Equation 6):
[0233]
[0234] Until the loss function reaches the value set by the system.
[0235] Furthermore, the calculation and routing module 14 is also configured to:
[0236] Through neural network design, an intelligent heuristic function algorithm that can meet the needs of multiple TIN identification data types, diverse network characteristics, and dynamically predict the distance from the current node to the end point by learning network historical data and real-time network data;
[0237] Calculate H(x) by the intelligent heuristic function algorithm;
[0238] Wherein, the intelligent heuristic function algorithm includes:
[0239] Assume that the neurons in the lth layer are transmitted to the l+1th layer, then the output of the i-th neuron in the l+1th layer is shown in (Equation 7)
[0240]
[0241] Among them, f(·) is a nonlinear activation function. The corresponding comprehensive weighted processing is added to the Maxout activation function to meet the multi-type representation of data and the diversity of decision parameters. The operation is shown in (Equation 8):
[0242]
[0243] Among them, max is the operator of the Maxout activation function, which realizes the nonlinear transformation between the input variable and the output normalized value [0, 1] by adding k neurons and then outputting the value with the maximum activation value; R(·) is the random weighting processing, and the operation is shown in (Equation 9):
[0244] R(x)=∑Q s x (Equation 9)
[0245] Where Q is a random number between [0, 1], s is the normalized weight of each indicator assigned, the indicators include delay and security, x is the input of the weighted processing, R(x) is the output of the weighted processing, (Equation 8) Through (Equation 10), we can obtain:
[0246]
[0247] in, is the weight of connecting the lth layer neuron j to the l+1th layer neuron i, is the bias of neuron i;
[0248] The optimal connection weights and bias matrix (W, b) of the neural network are obtained by minimizing the loss function. The loss function is shown in (Equation 11):
[0249]
[0250] in, To fine-tune the parameters in the list, the calculation method is shown in (Equation 12):
[0251]
[0252] Among them, y i is the actual expected output value of neuron i in layer L, obtained from the feedback information of the identification data reading and writing, is the fitted output value of neuron i in layer L, output from the neural network; is the parameter in the non-fine optimization list, and the calculation method is shown in (Equation 13):
[0253]
[0254] Among them, s iis the threshold value corresponding to neuron i, G is the threshold operator, which can be greater than, less than, belongs to, and does not belong to. It is set according to the requirements of specific threshold parameters. If the calculation result of G meets the set threshold parameter, it is 0, and if it does not meet the set threshold, it is 1;
[0255] Using the back propagation BP algorithm and the gradient descent algorithm, in the real-time data learning process with feedback results, the loss function is minimized by adjusting the connection weights and the bias of each neuron;
[0256] The real-time data without endpoint feedback results is input into the continuously learning neural network to obtain the performance prediction of the corresponding category TIN identification data from the current node to the endpoint, and the result is converted into a normalized distance.
[0257] The disclosed embodiments dynamically manage the MEC position and node coding, hierarchy, affiliation, performance, and network performance and configuration between MECs deployed in the TIN network, summarize the real-time dynamic status data of the network and the read and write performance of TIN identification data, and implement intelligent routing of TIN in conjunction with an algorithm with real-time routing capabilities.
[0258] The real-time routing system of the telecommunication identification network in the embodiment of the present disclosure is used to implement the real-time routing method of the telecommunication identification network in the method embodiment 1, so the description is relatively simple. For details, please refer to the relevant description in the previous method embodiment 1, which will not be repeated here.
[0259] In addition, if Figure 3 As shown, the third embodiment of the present disclosure further provides an electronic device, including a memory 100 and a processor 200, wherein the memory 100 stores a computer program, and when the processor 200 runs the computer program stored in the memory 100, the processor 200 executes the above-mentioned various possible methods.
[0260] The memory 100 is connected to the processor 200. The memory 100 may be a flash memory, a read-only memory or other memory, and the processor 200 may be a central processing unit or a single-chip microcomputer.
[0261] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the above-mentioned various possible methods.
[0262] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), Digital Video Disc (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
[0263] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.
Claims
1. A real-time routing method for a telecommunications identification network TIN, characterized in that: The method comprises: Get the parameter information of TIN and update it dynamically; Summarize the real-time dynamic status data of TIN and the reading and writing performance parameters of TIN identification data; According to the performance requirements of TIN identification data for reading, different requirement types are set, and various requirement types are combined respectively to form classification parameters of TIN identification data; Processing the network characteristics of TIN through artificial intelligence so that the network characteristics of TIN meet the requirements of A* algorithm, wherein the network characteristics include parameter information of TIN, real-time dynamic status data of TIN and read and write performance parameters of TIN identification data; The routing strategy is obtained through the preset A* optimization algorithm and sent to each node of TIN; The processing of the network features of TIN by artificial intelligence so that the network features of TIN meet the requirements of the A* algorithm includes: The deep learning-based autoencoder combines the multi-type characteristics of TIN identification data and the diversity of network characteristics to complete the intelligent normalized distance conversion of TIN multi-type identification data and multi-network characteristics, and realizes the conversion of the distance between different types of identification data and virtual paths when passing through network nodes and links of multi-evaluation indicators; The intelligent normalized distance conversion process includes: The dynamic network characteristic data of the TIN nodes collected from the network is encoded through an encoder, and then the output of the encoder is used as the input of the decoder, and the output of the decoder is obtained through the decoder; The output of the decoder is passed through the decision maker and the feedback of different types of identification data collected from the network to calculate the deviation through the loss function; If the calculated deviation is better than the preset threshold value, the real-time data is marked with characteristics between the network nodes and the identification data, and converted into a normalized distance through the corresponding table set by the system according to the marking of each node; The preset A* optimization algorithm includes: Step S1: Initialize the starting point i and two table arrays, including the table array openlist and the table array closelist; wherein the openlist corresponds to different identification data types through a multi-layer table structure, and is used to store the identification data of different data types for the list of all possible next nodes for different network characteristics. The path can be cross-connected between multiple tables, and different closelists store the optimal values after evaluation; Step S2: put all next reachable node sets Ω on each plane connected to i into the openlist under constraints, where the constraints are determined by (Formula 1); Where j is the next node belonging to Ω, B(i,j), D(i,j), and C(i,j) are the bandwidth, delay, and resource consumption between (i, j), respectively. c , D c , C c The corresponding threshold value set for the Class C identification data system; Step S3: traverse the open list, evaluate the nodes in the open list using the evaluation function of (Formula 2), and put the node with the smallest evaluation value into the closelist; F(x)=G(x)+H(x) (Formula 2) Among them, F(x) is the evaluation result, G(x) is the length of the distance that has been traveled, and H(x) is the heuristic function, which indicates the distance from the next node to the end point; Step S4: Check the surrounding nodes according to the constraint results of (Formula 1). If the node does not meet the constraint conditions or the node is already in the close list, it is ignored and skipped; otherwise, the node is added to the open list, and the current node is used as the parent node of the node. If the node is already in the open list, check whether the normalized distance from the current node to the node is smaller. If the normalized distance is smaller, the parent node of the node is set as the current node, and F(x) and G(x) are recalculated according to (Formula 2); Step S5: Repeat steps S3-S4 until: the next node is the end point and the search stops, or the openlist is empty and the end point cannot be found; Step S6: Starting from the end point, each node moves in the reverse direction along the parent node until it reaches the starting point to form the shortest path.
2. The real-time routing method according to claim 1, characterized in that: The parameter information of the TIN includes: the location and node code of the mobile edge computing MEC deployed by the TIN, the level of the MEC, the affiliation of the MEC, the performance of the MEC, and the performance and configuration of the network between the MECs; The real-time dynamic status data of the TIN includes: real-time network parameters of bandwidth, utilization, computing and storage resources, and network delay of TIN nodes; The read and write performance parameters of the TIN identification data include the read and write data block size, speed, delay, consumption and corresponding routing.
3. The real-time routing method according to claim 1, characterized in that: The specific algorithms in the conversion process include: Reset the encoder’s weight adjustment matrix ΔW=0 and bias adjustment matrix Δb=0; The collected dynamic network characteristics x of the TIN nodes are input into the encoder, and the output of the encoder is shown in (Equation 3): h = f1(W 1 x + b 1 ) (Equation 3) Where h represents the output of the encoder, f1 is the nonlinear transformation function of the encoder, and W 1 is the weight of the encoder, b 1 is the encoder bias; The output h of the encoder is input into the decoder for decoding. The output of the decoder is shown in (Equation 4): y = f2(W 2 h + b 2 ) (Equation 4) Among them, y represents the reconstruction result, f 21 is the nonlinear transformation function of the decoder, W 2 is the weight of the decoder, b 2 is the bias of the decoder; Using the historical data of TIN and the corresponding results of network feedback, a supervised training evaluation and identification function is constructed. The network is supervised trained through the back propagation algorithm. The collected historical data and the corresponding feedback results are used to comprehensively adjust the weights of the autoencoder through the comprehensive evaluation and identification function. The comprehensive adjustment of the weights of the autoencoder is shown in (Formula 5): Among them, f w and f b The evaluation and identification functions for (W, b) are respectively completed, and the evaluation and identification of the loss function are completed. The evaluation and identification functions are constructed using a supervised learning decision tree, including: starting from the root node, the corresponding features of the network are tested for different TIN identification categories respectively, and the nodes are assigned to the child nodes of the corresponding TIN identification data category according to the test results. After all are completed, each child node corresponds to a value of the network feature and the TIN identification data type. All nodes are recursively tested and assigned in the same way until the vertex is reached to complete the node evaluation and identification. J(W, b; x, y) is the performance feedback result x of a certain TIN identification type data x through network reading, writing and operation and the loss function of the decoder output in the weight and bias (W, b); Update the parameters by (Equation 6): Until the loss function reaches the value set by the system.
4. The real-time routing method according to claim 1, characterized in that: The method further comprises: Through neural network design, an intelligent heuristic function algorithm that can meet the needs of multiple TIN identification data types, diverse network characteristics, and dynamically predict the distance from the current node to the end point by learning network historical data and real-time network data; Calculate H(x) by the intelligent heuristic function algorithm; Wherein, the intelligent heuristic function algorithm includes: Assume that the neurons in the lth layer are transmitted to the l+1th layer, then the output of the i-th neuron in the l+1th layer is shown in (Equation 7) Among them, f(·) is a nonlinear activation function. The corresponding comprehensive weighted processing is added to the Maxout activation function to meet the multi-type representation of data and the diversity of decision parameters. The operation is shown in (Equation 8): Among them, max is the operator of the Maxout activation function, which realizes the nonlinear transformation between the input variable and the output normalized value [0, 1] by adding k neurons and then outputting the value with the maximum activation value; R(·) is the random weighting processing, and the operation is shown in (Equation 9): R(x)=ΣQ s x (Equation 9) Where Q is a random number between [0, 1], s is the normalized weight of each indicator assigned, the indicators include delay and security, x is the input of the weighted processing, R(x) is the output of the weighted processing, (Equation 8) Through (Equation 10), we can obtain: in, is the weight of connecting the lth layer neuron j to the l+1th layer neuron i, is the bias of neuron i; The optimal connection weights and bias matrix (W, b) of the neural network are obtained by minimizing the loss function. The loss function is shown in (Equation 11): in, To fine-tune the parameters in the list, the calculation method is shown in (Equation 12): Among them, y i is the actual expected output value of neuron i in layer L, obtained from the feedback information of the identification data reading and writing, is the fitted output value of neuron i in layer L, output from the neural network; is the parameter in the non-fine optimization list, and the calculation method is shown in (Formula 13): Among them, s i is the threshold value corresponding to neuron i, G is the threshold operator, which can be greater than, less than, belongs to, and does not belong to. It is set according to the requirements of specific threshold parameters. If the calculation result of G meets the set threshold parameter, it is 0, and if it does not meet the set threshold, it is 1; Using the back propagation BP algorithm and the gradient descent algorithm, in the real-time data learning process with feedback results, the loss function is minimized by adjusting the connection weights and the bias of each neuron; The real-time data without endpoint feedback results is input into the continuously learning neural network to obtain the performance prediction of the corresponding category TIN identification data from the current node to the endpoint, and the result is converted into a normalized distance.
5. A real-time routing system for a telecommunications identification network, characterized in that: The system comprises: An acquisition module is configured to acquire parameter information of TIN and dynamically update it; A summary module configured to summarize the real-time dynamic status data of the TIN and the read and write performance parameters of the TIN identification data; A setting module, which is configured to set different requirement types according to the performance requirements of the TIN identification data for reading, and to combine the various requirement types respectively to form classification parameters of the TIN identification data; A processing module configured to process the network characteristics of the TIN through artificial intelligence so that the network characteristics of the TIN meet the requirements of the A* algorithm, wherein the network characteristics include parameter information of the TIN, real-time dynamic status data of the TIN, and read and write performance parameters of the TIN identification data; The calculation and routing module is configured to obtain the routing strategy through a preset A* optimization algorithm and send it to each node of the TIN. The processing of the network features of TIN by artificial intelligence so that the network features of TIN meet the requirements of the A* algorithm includes: The deep learning-based autoencoder combines the multi-type characteristics of TIN identification data and the diversity of network characteristics to complete the intelligent normalized distance conversion of TIN multi-type identification data and multi-network characteristics, and realizes the conversion of the distance between different types of identification data and virtual paths when passing through network nodes and links of multi-evaluation indicators; The intelligent normalized distance conversion process includes: The dynamic network characteristic data of the TIN nodes collected from the network is encoded through an encoder, and then the output of the encoder is used as the input of the decoder, and the output of the decoder is obtained through the decoder; The output of the decoder is passed through the decision maker and the feedback of different types of identification data collected from the network to calculate the deviation through the loss function; If the calculated deviation is better than the preset threshold value, the real-time data is marked with characteristics between the network nodes and the identification data, and converted into a normalized distance through the corresponding table set by the system according to the marking of each node; The preset A* optimization algorithm includes: Step S1: Initialize the starting point i and two table arrays, including the table array openlist and the table array closelist; wherein the openlist corresponds to different identification data types through a multi-layer table structure, and is used to store the identification data of different data types for the list of all possible next nodes for different network characteristics. The path can be cross-connected between multiple tables, and different closelists store the optimal values after evaluation; Step S2: put all next reachable node sets Ω on each plane connected to i into the openlist under constraints, where the constraints are determined by (Formula 1); Where j is the next node belonging to Ω, B(i,j), D(i,j), and C(i,j) are the bandwidth, delay, and resource consumption between (i, j), respectively. c , D c , C c The corresponding threshold value set for the Class C identification data system; Step S3: traverse the open list, evaluate the nodes in the open list using the evaluation function of (Formula 2), and put the node with the smallest evaluation value into the closelist; F(x)=G(x)+H(x) (Formula 2) Among them, F(x) is the evaluation result, G(x) is the length of the distance that has been traveled, and H(x) is the heuristic function, which indicates the distance from the next node to the end point; Step S4: Check the surrounding nodes according to the constraint results of (Formula 1). If the node does not meet the constraint conditions or the node is already in the close list, it is ignored and skipped; otherwise, the node is added to the open list, and the current node is used as the parent node of the node. If the node is already in the open list, check whether the normalized distance from the current node to the node is smaller. If the normalized distance is smaller, the parent node of the node is set as the current node, and F(x) and G(x) are recalculated according to (Formula 2); Step S5: Repeat steps S3-S4 until: the next node is the end point and the search stops, or the openlist is empty and the end point cannot be found; Step S6: Starting from the end point, each node moves in the reverse direction along the parent node until it reaches the starting point to form the shortest path.
6. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the real-time routing method of the telecommunication identification network according to any one of claims 1 to 4.
7. A computer-readable storage medium, comprising: A computer program, when running on a computer, enables the computer to execute the real-time routing method of a telecommunication identification network according to any one of claims 1-4.
