A method and related apparatus for node path determination
By receiving user request instructions and intent databases to determine user intent characteristics, and combining network parameters to calculate node path quality, the problem of network instability caused by long distances between servers and nodes is solved, thereby achieving stability of network service quality and cost reduction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2023-07-05
- Publication Date
- 2026-07-03
AI Technical Summary
In existing technologies, when determining usable nodes based on IP address information, the long distance between the server and the node leads to unstable network quality and affects user experience.
By receiving user request instructions, the system uses a pre-created intent library to determine the user's intent characteristics, combines this with current network parameter information to quantify the intent, calculates the network line quality of multiple node paths, and selects a reasonable target node path.
It improved the stability of network service quality and reduced network service costs.
Smart Images

Figure CN116915698B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of network technology and security technology, and in particular to a method and related apparatus for determining node paths. Background Technology
[0002] Currently, to ensure ubiquitous network and security availability, and to guarantee a good user experience after network edge delivery, Secure Access Service Edge (SASE) typically employs a distributed architecture. Service providers often offer usable nodes based on Internet Protocol (IP) address information used to interconnect enterprise networks. However, the enterprise's servers or clients may not be geographically close to these usable nodes. Therefore, simply using IP address information to determine usable nodes can lead to excessively long distances between servers, affecting network quality and stability. Summary of the Invention
[0003] This application provides a method and related apparatus for determining node paths, thereby improving the stability of network service quality by utilizing appropriate target nodes.
[0004] In a first aspect, one embodiment of this application provides a method for determining a node path, the method comprising:
[0005] Receive user request instructions and obtain network parameter information at the current time;
[0006] Based on the user's request command and a pre-created intent library, the user's intent feature information is determined; wherein the user's intent feature information includes at least the user's address information;
[0007] Based on the user's intent feature information and the network parameter information at the current moment, intent quantization is constructed to obtain network quality parameter information;
[0008] Based on the network quality parameter information and the network parameter information at the current moment, the network line quality of multiple node paths is calculated respectively;
[0009] The target node path is determined based on the network line quality of the multiple node paths.
[0010] Compared to existing technologies, this application determines the user's intent characteristics, constructs network quality parameters, and then accurately calculates the network line quality of multiple node paths. This allows for the determination of the target node path, thereby improving the stability of network service quality by utilizing appropriate target nodes.
[0011] In one possible design, determining the user's intent feature information based on the user's request command and a pre-created intent library includes:
[0012] Search the pre-created intent library for target keywords in the user's request instructions;
[0013] Based on the search results, the user's intent characteristics are determined.
[0014] This application accurately obtains the user's intent feature information from a pre-built intent library by matching target keywords.
[0015] In one possible design, when the network parameter information at the current moment includes line congestion, line packet loss rate, and line transmission ratio, the first node path is any one of the plurality of node paths; based on the network quality parameter information and the network parameter information at the current moment, the network line quality of the first node path is calculated, including:
[0016] Determine the weight ratios of the network quality parameter information and the line congestion, the line packet loss rate, and the line transmission ratio in the first node path;
[0017] Based on the network quality parameter information and the weighted proportions of the line congestion, the line packet loss rate, and the line transmission ratio in the first node path, the network line quality of the first node path is calculated.
[0018] This application improves the accuracy of network path quality calculations for node paths in different scenarios by assigning weights to different parameters.
[0019] In one possible design, the construction of intent quantization based on the user's intent feature information and the network parameter information at the current moment to obtain network quality parameter information includes:
[0020] The user's intent feature information and the network parameter information at the current moment are respectively input into the pre-trained network model to obtain the network quality parameter information output by the network model.
[0021] Secondly, one embodiment of this application provides a node path determination apparatus, the apparatus comprising:
[0022] The receiving module is used to receive user request commands and obtain network parameter information at the current time.
[0023] The first determining module is used to determine the user's intent feature information based on the user's request instruction and a pre-created intent library; wherein the user's intent feature information includes at least the user's address information;
[0024] The construction module is used to construct intent quantization based on the user's intent feature information and the network parameter information at the current moment, and obtain network quality parameter information;
[0025] The calculation module is used to calculate the network line quality of multiple node paths based on the network quality parameter information and the network parameter information at the current time.
[0026] The second determining module is used to determine the target node path where the target node is located based on the network line quality of the multiple node paths.
[0027] In one possible design, the first determining module is specifically used for:
[0028] Search the pre-created intent library for target keywords in the user's request instructions;
[0029] Based on the search results, the user's intent characteristics are determined.
[0030] In one possible design, when the network parameter information at the current moment includes line congestion, line packet loss rate, and line transmission ratio, the first node path is any one of the multiple node paths; the calculation module is specifically used for:
[0031] Determine the weight ratios of the network quality parameter information and the line congestion, the line packet loss rate, and the line transmission ratio in the first node path;
[0032] Based on the network quality parameter information and the weighted proportions of the line congestion, the line packet loss rate, and the line transmission ratio in the first node path, the network line quality of the first node path is calculated.
[0033] In one possible design, the building module is specifically used for:
[0034] The user's intent feature information and the network parameter information at the current moment are respectively input into the pre-trained network model to obtain the network quality parameter information output by the network model.
[0035] Thirdly, one embodiment of this application provides a terminal device, including:
[0036] Processor and display;
[0037] The display is used to show the user interface;
[0038] The processor is configured to perform any of the methods provided in the first aspect above.
[0039] Fourthly, an embodiment of this application also provides a computer-readable storage medium that, when the instructions in the computer-readable storage medium are executed by a processor of a terminal device, enables the terminal device to perform any of the methods provided in the first aspect above.
[0040] Fifthly, one embodiment of this application provides a computer program product including a computer program / instructions that, when executed by a processor, implement any of the methods provided in the first aspect of this application.
[0041] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a schematic diagram illustrating a system application scenario for a node path determination method provided in an embodiment of this application.
[0044] Figure 2 This is a schematic flowchart of a node path determination method provided in an embodiment of this application;
[0045] Figure 3 A schematic diagram of a node path determination device provided in an embodiment of this application;
[0046] Figure 4 This is a schematic diagram of a terminal device provided in an embodiment of this application. Detailed Implementation
[0047] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0048] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data used can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0049] The following explanations of some terms used in the embodiments of this application are provided to facilitate understanding by those skilled in the art.
[0050] (1) In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0051] (2) "And / or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three cases: A alone, A and B at the same time, and B alone. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.
[0052] (3) The server serves the terminal and provides services such as determining the user's intent characteristics or determining the target node path. The server corresponds to the application installed on the terminal and works in conjunction with the application on the terminal.
[0053] (4) Terminal devices can refer to both software applications (APPs) and client devices. They have a visual display interface that allows interaction with the user; they correspond to the server and provide local services to the customer. For software applications, except for some applications that only run locally, they are generally installed on ordinary client terminals and need to work in conjunction with the server.
[0054] Currently, to ensure ubiquitous network and security availability, and to guarantee a good user experience after network edge delivery, SASE typically employs a distributed architecture. Service providers often offer usable nodes based on a company's IP address information. However, the company's servers or clients may not be geographically close to these usable nodes. Therefore, simply using IP address information to determine usable nodes can lead to excessively long distances between servers, affecting network stability.
[0055] To this end, this application provides a method and related apparatus for determining node paths. First, the user's intent feature information is determined through the user's request command and a pre-created intent database. Then, based on the user's intent feature information and the network parameter information at the current moment, intent quantification is constructed to obtain network quality parameter information. Next, based on the network quality parameter information and the network parameter information at the current moment, the network line quality of multiple node paths is calculated respectively. Finally, based on the network line quality of multiple node paths, the target node path where the target node is located is determined. This allows for the use of reasonable target nodes to improve the stability of network service quality and reduce the cost of network services.
[0056] After introducing the design concept of the embodiments of this application, the following is a brief introduction to the application scenarios to which the technical solutions of the embodiments of this application can be applied. It should be noted that the application scenarios described below are only for illustrating the embodiments of this application and are not intended to limit the scope. In specific implementation, the technical solutions provided by the embodiments of this application can be flexibly applied according to actual needs.
[0057] refer to Figure 1 This diagram illustrates an application scenario for the node path determination method provided in this application. The application scenario includes multiple terminal devices 101 (including terminal device 101-1, terminal device 101-2, ..., terminal device 101-n) and a server 102. The terminal devices 101 and the server 102 are connected via wireless or wired networks. The terminal devices 101 include, but are not limited to, desktop computers, mobile phones, mobile computers, tablets, media players, smart wearable devices, smart TVs, and other electronic devices. The server 102 can be a single server, a server cluster consisting of several servers, or a cloud computing center. The server 102 can be an independent physical server, a server cluster consisting of multiple physical servers, or a distributed system. It can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0058] Taking the interaction between terminal device 101-1 and server 102 as an example, user 1 sends a request command to server 102 through terminal device 101-1. Server 102 obtains the network parameter information at the current moment. Then, based on user 1's request command and a pre-created intent database, it determines the user's intent feature information. By constructing network quality parameter information, it can accurately calculate the network line quality of multiple node paths, thereby determining the target node's path. Server 102 sends the determined target node and target node path to terminal device 101-1, where the target node and target node path are displayed.
[0059] Here, the target node and target node path can be determined in the terminal device 101-1, or they can be determined partly in the terminal device 101-1 and partly in the server 102. This application does not limit the specific method of determining the target node and target node path.
[0060] Of course, the methods provided in the embodiments of this application are not limited to... Figure 1 The application scenarios shown can also be used in other possible scenarios, and this application does not impose any limitations. Figure 1 The functions that each device in the application scenario shown can achieve will be described in subsequent method embodiments, and will not be elaborated on here.
[0061] To further illustrate the technical solutions provided in the embodiments of this application, a detailed description is provided below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiments of this application provide method operation steps as shown in the following embodiments or drawings, the method may include more or fewer operation steps based on conventional or non-inventive methods. In steps where there is no logically necessary causal relationship, the execution order of these steps is not limited to the execution order provided in the embodiments of this application.
[0062] The following is combined Figure 1 The application scenarios shown illustrate the technical solutions provided in the embodiments of this application.
[0063] refer to Figure 2 This application provides a method for determining node paths, including the following steps:
[0064] S201 receives the user's request instruction and obtains the network parameter information at the current moment.
[0065] For example, current network parameter information may include line congestion, packet loss rate, and transmission ratio. A user's request could be to find the nearest node with high network service quality.
[0066] S202, based on the user's request instructions and a pre-created intent library, determines the user's intent feature information.
[0067] Optionally, the system searches for target keywords in the user's request instructions within a pre-created intent library, and then determines the user's intent feature information based on the search results. This user intent feature information includes at least the user's address information, and may also include information about nodes the user has historically connected to.
[0068] For example, if a user's request is to find the nearest node with high network service quality, the target keywords could be "high network service quality" and "nearest node." This is merely an example, and this application does not limit the specific method for determining the keywords of the request instruction.
[0069] S203, based on the user's intent feature information and the network parameter information at the current moment, construct intent quantization to obtain network quality parameter information.
[0070] Optionally, the user's intent feature information and the network parameter information at the current moment can be input into the pre-trained network model to obtain the network quality parameter information output by the network model.
[0071] Alternatively, the business graph within the network can be inferred using user intent characteristics and current network parameter information. Intent quantification is used to construct and translate these intents, thereby obtaining network quality parameter information.
[0072] S204. Based on network quality parameter information and network parameter information at the current moment, calculate the network line quality of multiple node paths respectively.
[0073] Assuming the current network parameters include line congestion, line packet loss rate, and line transmission ratio, and the first node path is any one of multiple node paths, then firstly, the weight ratios of the network quality parameters and the line congestion, line packet loss rate, and line transmission ratio in the first node path are determined. Then, based on these weight ratios, the network quality of the first node path is calculated.
[0074] For example, line congestion JaC i,j It can be calculated using the following formula, where i and j represent different nodes, and A i,j The line load level between node i and node j can be calculated using the following formula: M(a i a j ) represents the maximum flow between node i and node j, n i,j Indicates the total number of paths, OW i,j This represents the remaining bandwidth of the line between node i and node j.
[0075]
[0076]
[0077] Line packet loss rate L i,j It can be calculated using the following formula 3, where i and j represent different nodes, and Rj S represents the total number of data packets received by node j. i This represents the total number of data packets sent by node i.
[0078]
[0079] Line transmission ratio t i,j It can be calculated using the following formula, where i and j represent different nodes, and T i ,j trans T represents the transmission time from node i to node j. i,j line T represents the time T takes for data to wait between nodes i and j. i,j A This represents the time it takes to process data from node i to node j. Here, t i,j The smaller the value, the better. i,j line and T i,j A The larger the value, the worse the data transmission along the path of that node.
[0080]
[0081] The network quality f of the first node path i,j The QoS can be calculated using the following formula, where i and j represent different nodes. i,j This represents network quality parameter information, where ω1, ω2, ω3, and ω4 are the corresponding weighting coefficients. Here, QoS... i,j The QoS value will be affected by the user's intent; for example, when the user needs to transfer media files, the QoS value will be adjusted accordingly. i,j The QoS value will be adjusted based on line congestion; when a user needs to transmit information, the QoS will be adjusted accordingly. i,j The value will be adjusted according to the packet loss rate of the line.
[0082] f i,j =ω1JaC i,j +ω2L i,j +ω3t i,j +ω4QoS i,j Formula 5
[0083] After calculating the network line quality for multiple node paths, step S205 is executed to determine the target node path where the target node is located based on the network line quality of multiple node paths.
[0084] For example, if the network quality of node path 1 is 0.3, the network quality of node path 2 is 0.4, and the network quality of node path 3 is 0.6, then the target node path is node path 3.
[0085] This application constructs network quality parameter information by determining the user's intent feature information, and then accurately calculates the network line quality of multiple node paths, thereby determining the target node path where the target node is located, and realizing the stability of improving network service quality by using reasonable target nodes.
[0086] refer to Figure 3 This application provides a node path determination device, the device 300 including:
[0087] The receiving module 301 is used to receive the user's request instruction and obtain the network parameter information at the current time;
[0088] The first determining module 302 is used to determine the user's intent feature information based on the user's request command and a pre-created intent library; wherein the user's intent feature information includes at least the user's address information.
[0089] The construction module 303 is used to construct intent quantization based on the user's intent feature information and the network parameter information at the current moment, so as to obtain network quality parameter information;
[0090] Calculation module 304 is used to calculate the network line quality of multiple node paths based on network quality parameter information and network parameter information at the current time.
[0091] The second determining module 305 is used to determine the target node path where the target node is located based on the network line quality of multiple node paths.
[0092] In one possible design, the first determining module 302 is specifically used for:
[0093] Search for target keywords in the user's request instructions in a pre-created intent library;
[0094] Based on the search results, determine the user's intent characteristics.
[0095] In one possible design, when the network parameter information at the current moment includes line congestion, line packet loss rate, and line transmission ratio, the first node path can be any one of multiple node paths; the calculation module 304 is specifically used for:
[0096] Determine the weighting ratios of network quality parameters and line congestion, packet loss rate, and transmission ratio in the first node path;
[0097] Based on network quality parameters and the weighted proportions of line congestion, packet loss rate, and transmission ratio in the first node path, the network line quality of the first node path is calculated.
[0098] In one possible design, building module 303 is specifically used for:
[0099] The user's intent features and the network parameters at the current moment are input into the pre-trained network model to obtain the network quality parameters output by the network model.
[0100] After introducing a method and related apparatus for determining a node path according to an exemplary embodiment of this application, the following describes a terminal device according to another exemplary embodiment of this application.
[0101] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."
[0102] In some possible implementations, the terminal device according to this application may include at least one processor and at least one memory. The memory stores program code that, when executed by the processor, causes the processor to perform the steps of the node path determination method according to various exemplary embodiments of this application described above. For example, the processor may perform steps such as those in the node path determination method.
[0103] The following reference Figure 4 To describe a terminal device 40 according to this embodiment of the present application. Figure 4 The terminal device 40 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0104] like Figure 4 As shown, terminal device 40 is presented in the form of a general-purpose terminal device. The components of terminal device 40 may include, but are not limited to: at least one processor 41, at least one memory 42, and a bus 43 connecting different system components (including memory 42 and processor 41).
[0105] Bus 43 represents one or more of several bus structures, including a memory bus or memory controller, peripheral bus, processor, or a local bus using any of the multiple bus structures.
[0106] The memory 42 may include a readable medium in the form of volatile memory, such as random access memory (RAM) 421 and / or cache memory 422, and may further include read-only memory (ROM) 423.
[0107] The memory 42 may also include a program / utility 425 having a set (at least one) of program modules 424, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0108] Terminal device 40 can also communicate with one or more external devices 44 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with terminal device 40, and / or any device that enables terminal device 40 to communicate with one or more other terminal devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 45. Furthermore, terminal device 40 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 46. As shown, network adapter 46 communicates with other modules used in terminal device 40 via bus 43. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with terminal device 40, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0109] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 42 including instructions, which can be executed by a processor 41 to perform the above-described method. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0110] In an exemplary embodiment, a computer program product is also provided, including a computer program / instructions that, when executed by a processor 41, implement any of the methods for determining node paths as provided in this application.
[0111] In an exemplary embodiment, various aspects of the node path determination method provided in this application can also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to cause the computer device to perform the steps of the node path determination method according to the various exemplary embodiments of this application described above.
[0112] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0113] The program product for unlocking a terminal device according to embodiments of this application can employ a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a terminal device. However, the program product of this application is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0114] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. This propagated data signal may take many forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0115] The program code contained on the readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wired, fiber optic, RF, etc., or any suitable combination thereof.
[0116] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user terminal device, partially on the user device, as a standalone software package, partially on the user terminal device and partially on a remote terminal device, or entirely on a remote terminal device or server. In cases involving remote terminal devices, the remote terminal device can be connected to the user terminal device via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external terminal device (e.g., via the Internet using an Internet service provider).
[0117] It should be noted that although several units or sub-units of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units.
[0118] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0119] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0120] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable terminal device, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0121] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable terminal device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0122] These computer program instructions can also be loaded onto a computer or other programmable terminal device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0123] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0124] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for determining node paths, characterized in that, The method includes: Receive user request instructions and obtain network parameter information at the current time; Based on the user's request command and a pre-created intent library, the user's intent feature information is determined; wherein the user's intent feature information includes at least the user's address information; Based on the user's intent feature information and the network parameter information at the current moment, intent quantization is constructed to obtain network quality parameter information; Based on the network quality parameter information and the network parameter information at the current moment, the network line quality of multiple node paths is calculated respectively; The target node path where the target node is located is determined based on the network line quality of the multiple node paths. When the current network parameter information includes line congestion, line packet loss rate, and line transmission ratio, the first node path is any one of the multiple node paths; based on the network quality parameter information and the current network parameter information, the network line quality of the first node path is calculated, including: The weight ratios of the network quality parameter information and the line congestion, line packet loss rate, and line transmission ratio in the first node path are determined; wherein, the network quality parameter information influences the value according to the user's intent; Based on the network quality parameter information and the weighted proportions of the line congestion, the line packet loss rate, and the line transmission ratio in the first node path, the network line quality of the first node path is calculated.
2. The method according to claim 1, characterized in that, The process of determining the user's intent feature information based on the user's request command and a pre-created intent library includes: Search the pre-created intent library for target keywords in the user's request instructions; Based on the search results, the user's intent characteristics are determined.
3. The method according to claim 1, characterized in that, The process of constructing intent quantization based on the user's intent feature information and the network parameter information at the current moment to obtain network quality parameter information includes: The user's intent feature information and the network parameter information at the current moment are respectively input into the pre-trained network model to obtain the network quality parameter information output by the network model.
4. A device for determining node paths, characterized in that, The device includes: The receiving module is used to receive user request commands and obtain network parameter information at the current time. The first determining module is used to determine the user's intent feature information based on the user's request instruction and a pre-created intent library; wherein the user's intent feature information includes at least the user's address information; The construction module is used to construct intent quantization based on the user's intent feature information and the network parameter information at the current moment, and obtain network quality parameter information; The calculation module is used to calculate the network line quality of multiple node paths based on the network quality parameter information and the network parameter information at the current time. The second determining module is used to determine the target node path where the target node is located based on the network line quality of the multiple node paths. When the current network parameter information includes line congestion, line packet loss rate, and line transmission ratio, the first node path is any one of the multiple node paths; the calculation module is specifically used for: The weight ratios of the network quality parameter information and the line congestion, line packet loss rate, and line transmission ratio in the first node path are determined; wherein, the network quality parameter information influences the value according to the user's intent; Based on the network quality parameter information and the weighted proportions of the line congestion, the line packet loss rate, and the line transmission ratio in the first node path, the network line quality of the first node path is calculated.
5. The apparatus according to claim 4, characterized in that, The first determining module is specifically used for: Search the pre-created intent library for target keywords in the user's request instructions; Based on the search results, the user's intent characteristics are determined.
6. The apparatus according to claim 4, characterized in that, The building module is specifically used for: The user's intent feature information and the network parameter information at the current moment are respectively input into the pre-trained network model to obtain the network quality parameter information output by the network model.
7. A terminal device, characterized in that, include: Processor and display; The display is used to show the user interface; The processor is configured to perform the method as described in any one of claims 1-3.
8. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the terminal device, the terminal device is enabled to perform the method as described in any one of claims 1-3.