Network optimization method and device, computer equipment and storage medium

By receiving registration signaling and using APN6 extension header parameters, the target terminal network in the converged edge network is detected and optimized, and the problem of complex maintenance optimization is solved, achieving rapid and effective network optimization and stable terminal operation is achieved.

CN119450528APending Publication Date: 2025-02-14CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411627999.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When encountering abnormal operation of the target terminal in the converged edge network, complex and tedious maintenance and optimization processes are required, resulting in large time and manpower consumption, affecting the continuous and stable operation of the terminal.

Method used

By receiving the registration signaling sent by the target terminal, the network operation abnormality is detected, and the network of the target terminal is optimized based on the network requirement parameters recorded by the application-aware network APN6 extension header parameters contained in the registration signaling. The optimization process includes determining conflicting terminals, acquiring candidate network addresses, adjusting terminal priorities and resource allocation to achieve network optimization.

Benefits of technology

It realizes rapid and targeted network optimization, avoids network address conflicts, network resource competition and application operation abnormalities, ensures the continuous and stable operation of the terminal, and reduces labor and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450528A_ABST
    Figure CN119450528A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of application aware networks, in particular to a network optimization method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a registration signaling sent by a target terminal; wherein the registration signaling comprises an application awareness network APN6 extension header parameter; network demand parameters are recorded in the APN6 extension header parameters; and when it is detected that the network operation of the target terminal is abnormal, optimizing the network of the target terminal according to the network demand parameters. According to the method and the device, abnormal conditions such as network address conflict, network resource competition and application operation abnormity can be effectively avoided in the operation process of the target terminal, and continuous and stable operation of the target terminal is ensured; the manpower cost and the time cost which need to be consumed in the anomaly detection and network optimization process of the target terminal are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of applied sensing network technology, and in particular to a network optimization method, apparatus, computer device, and storage medium. Background Technology

[0002] Converged edge networks integrate computing, storage, and networking functions at the edge, close to the data source, to combine the advantages of cloud computing and edge computing. This network architecture supports the needs for low latency, high bandwidth, and real-time data processing and can be widely used in scenarios such as cloud access for home and enterprise, Internet of Things, 5G (5th Generation Mobile Communication Technology), industrial automation, and smart manufacturing.

[0003] However, when encountering network operation anomalies in target terminals in converged edge networks, a complex and tedious maintenance and optimization process is often required. This process consumes a lot of time and manpower, affecting the continuous and stable operation of the target terminals. Summary of the Invention

[0004] Therefore, it is necessary to provide a network optimization method, apparatus, computer equipment, and storage medium that can quickly complete network optimization in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a network optimization method. The method includes:

[0006] Receive registration signaling sent by the target terminal; wherein, the registration signaling includes Application Aware Network APN6 extended header parameters; the APN6 extended header parameters record network requirement parameters;

[0007] If an abnormal network operation is detected in the target terminal, the network of the target terminal is optimized according to the network requirement parameters.

[0008] In one embodiment, the operational anomaly includes a network address conflict;

[0009] The optimization of the network for the target terminal based on the network requirement parameters includes:

[0010] Based on the network address requirements included in the network requirement parameters, identify conflicting terminals that have the same network address as the target terminal;

[0011] Obtain unused candidate network addresses;

[0012] The network of the target terminal is optimized based on the candidate network address and the conflicting terminal.

[0013] In one embodiment, optimizing the network of the target terminal based on the candidate network address and the conflicting terminal includes:

[0014] Based on the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority is selected as the first terminal from the conflicting terminal and the target terminal.

[0015] The first terminal is connected to the candidate network address to achieve network optimization for the target terminal.

[0016] In one embodiment, the operational anomaly includes network resource contention;

[0017] The optimization of the network for the target terminal based on the network requirement parameters includes:

[0018] Based on the network resource requirements included in the network requirement parameters, identify competing terminals that have a network resource competition relationship with the target terminal;

[0019] Adjust the network resources occupied by the target terminal or the competing terminal to optimize the network for the target terminal.

[0020] In one embodiment, adjusting the network resources occupied by the target terminal or the competing terminal includes:

[0021] Based on the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority among the competing terminal and the target terminal is designated as the second terminal, and the terminal with the higher terminal priority is designated as the third terminal.

[0022] The second terminal is controlled to use candidate resources, or, if the third terminal stops occupying the target network resources, the target network resources are allocated to the second terminal.

[0023] In one embodiment, the operational anomaly includes an application operational anomaly; wherein, the application operational anomaly refers to the real-time network status parameters of the target terminal not meeting the application operational requirements of the target application contained in the network requirement parameters;

[0024] The optimization of the network for the target terminal based on the network requirement parameters includes:

[0025] The target application is executed by invoking network resources that meet its operational requirements, thereby optimizing the network for the target terminal; or,

[0026] Based on the application's operational requirements, an application behavior constraint threshold for the target application is determined, and the application operation of the target application is constrained according to the application behavior constraint threshold to achieve network optimization for the target terminal.

[0027] Secondly, this application also provides a network optimization device. The device includes:

[0028] The receiving module is used to receive registration signaling sent by the target terminal; wherein, the registration signaling includes application-aware network APN6 extension header parameters; the APN6 extension header parameters record network requirement parameters;

[0029] The optimization module is used to optimize the network of the target terminal according to the network requirement parameters when an abnormal network operation is detected.

[0030] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0031] Receive registration signaling sent by the target terminal; wherein, the registration signaling includes Application Aware Network APN6 extended header parameters; the APN6 extended header parameters record network requirement parameters;

[0032] If an abnormal network operation is detected in the target terminal, the network of the target terminal is optimized according to the network requirement parameters.

[0033] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0034] Receive registration signaling sent by the target terminal; wherein, the registration signaling includes Application Aware Network APN6 extended header parameters; the APN6 extended header parameters record network requirement parameters;

[0035] If an abnormal network operation is detected in the target terminal, the network of the target terminal is optimized according to the network requirement parameters.

[0036] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0037] Receive registration signaling sent by the target terminal; wherein, the registration signaling includes Application Aware Network APN6 extended header parameters; the APN6 extended header parameters record network requirement parameters;

[0038] If an abnormal network operation is detected in the target terminal, the network of the target terminal is optimized according to the network requirement parameters.

[0039] The aforementioned network optimization method, apparatus, computer equipment, and storage medium, by receiving registration signaling sent by the target terminal, optimize the target terminal's network based on network requirement parameters recorded in the application-aware network APN6 extension header parameters contained in the registration signaling when network operation anomalies are detected. As can be seen from the above, since the network requirement parameters in this application are carried in the APN6 extension header parameters when the target terminal sends the registration signaling, this application can perform targeted network optimization for the target terminal without needing to obtain the network requirement parameters again during the network optimization process. Furthermore, it ensures the health of the optimized target terminal's network status during network optimization, effectively preventing anomalies such as network address conflicts, network resource contention, and application operation abnormalities during operation, ensuring the continuous and stable operation of the target terminal, and reducing the manpower and time costs required for anomaly detection and network optimization. Attached Figure Description

[0040] Figure 1 An application environment diagram of a network optimization method provided in this application embodiment;

[0041] Figure 2 A flowchart illustrating the first network optimization method provided in this application embodiment;

[0042] Figure 3 A flowchart illustrating the second network optimization method provided in this application embodiment;

[0043] Figure 4 A flowchart illustrating the third network optimization method provided in this application embodiment;

[0044] Figure 5 A flowchart illustrating the fourth network optimization method provided in this application embodiment;

[0045] Figure 6 A structural block diagram of a network optimization device provided in an embodiment of this application;

[0046] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0048] The network optimization method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. By receiving registration signaling sent by the target terminal, the system optimizes the target terminal's network based on the network requirement parameters recorded in the Application Aware Network (APN6) extended header parameters contained in the registration signaling when an abnormal network operation is detected. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.

[0049] In one embodiment, such as Figure 2 As shown, a network optimization method is provided, which is applied to... Figure 1 Taking server 104 as an example, the following steps are included:

[0050] S201, Receive registration signaling sent by the target terminal.

[0051] The registration signaling includes Application Aware Network (APN6) extension header parameters; the APN6 extension header parameters record network requirement parameters.

[0052] It should be noted that, in order to ensure that the subsequent edge gateway can effectively perform targeted network optimization for different types of target terminal network anomalies, the network requirement parameters may include a variety of relevant network parameters that characterize the network requirements of the target terminal. The contents included in the network requirement parameters are not limited here.

[0053] In one embodiment of this application, the edge gateway can obtain the application type information (APN ID) and network requirement parameters (APN Parameters) of the identifying terminal by parsing network requirement parameters. Furthermore, it may also include conflict detection mechanism options, terminal priority, application level, application indicator requirements, terminal load indicators, heterogeneous Layer 2 protocols that may cause conflicts, and the range of terminal identification identifiers (heterogeneous Layer 2 identifier range). By identifying the application type and its requirements, the edge gateway can obtain the context information of the target terminal in real time, providing a basis for subsequent address conflict detection and resource allocation.

[0054] To further explain, an APN6 (Application-aware Networking 6) awareness module can be configured within the edge gateway; an APN6 generation awareness module can be configured in the target terminal; the APN6 generation awareness module and the APN6 awareness module can generate, announce, and maintain the application group and user group (heterogeneous node type group) identification information in the APN6 extension header, and the APN6 awareness module can identify the application type, user attributes, and node network attributes carried by the target terminal.

[0055] Furthermore, the APN6 perception module can also parse network requirement parameters (including APN parameters) to generate, announce, and maintain information such as conflict detection mechanism options, terminal priority, application level, application indicator requirements, terminal load indicators, heterogeneous Layer 2 protocols that may cause conflicts, and terminal identification ID range (heterogeneous Layer 2 identifier range) carried in the APN parameters on demand. It can also analyze the network requirements of terminal applications for bandwidth, latency, priority, etc., and allocate the identifier range of heterogeneous Layer 2 protocols.

[0056] The APN parameters may include the node status of the target terminal, such as node performance, sleep state, wireless signal strength, and heterogeneous Layer 2 protocol type.

[0057] Among them, the APN parameters include allowing specific APN fields to be exposed to trusted nodes via API interfaces to write application layer quality information, so as to reflect changes in actual application conditions, such as: DNS query latency of terminal applications, TCP handshake latency, TLS latency, first byte latency, content download latency, etc.; allowing dynamic changes in application quality to trigger network adjustments.

[0058] Terminal priority allocation refers to assigning priority to each node and application based on terminal application type and load, ensuring that critical applications receive higher resource scheduling priority in the event of address conflicts or resource constraints.

[0059] S202, if an abnormal network operation is detected in the target terminal, optimize the network of the target terminal according to the network requirement parameters.

[0060] It should be noted that network malfunctions of the target terminal may include, but are not limited to, network address conflicts, network resource contention, and application malfunctions. Specifically, when it is necessary to detect whether the target terminal's network operation is abnormal, the following can be included:

[0061] In one embodiment of this application, when it is necessary to detect the network operation status of a target terminal, the network operation parameters of the target terminal can be obtained in real time to determine whether the network operation status of the target terminal is abnormal based on the network operation parameters. Specifically, it is determined whether the network operation parameters of the target terminal obtained in real time meet the network requirement parameters recorded in the APN6 extended header parameters. If they meet, it is determined that the network operation status of the target terminal is normal at the current moment; if they do not meet, it is determined that the network operation status of the target terminal is abnormal at the current moment.

[0062] Since the network requirement parameters include many types of parameters, when obtaining whether the network operation parameters of the target terminal conform to the network requirement parameters recorded in the APN6 extended header parameters in real time, it is necessary to select different verification methods based on the different parameter types in the network requirement parameters in order to ensure the accuracy of determining the network operation status of the target terminal at the current moment.

[0063] In another embodiment of this application, when it is necessary to detect the network operation status of the target terminal, the predicted operation parameters after the target terminal accesses the network can be predicted, so as to determine whether the network operation status of the target terminal is abnormal based on the predicted operation parameters; if it is in accordance with the predicted operation parameters, it is determined that the network operation status of the target terminal is normal at the current time; if it is not in accordance with the predicted operation parameters, it is determined that the network operation status of the target terminal is abnormal at the current time.

[0064] The methods described above for detecting the network operating status of the target terminal can be selected based on the actual situation and the historical experience of the operation and maintenance personnel. No specific method is limited here for checking the network operating status of the target terminal.

[0065] To further explain, when optimizing the network of a target terminal based on network demand parameters, the network resource requirements of the target terminal for network operation can be determined based on the network demand parameters. Then, based on the network resource requirements, the network resources of the target terminal can be scheduled to ensure that the scheduled network resources can meet the network resource requirements of the target terminal for network operation, thereby realizing the operation of optimizing the network of the target terminal.

[0066] The aforementioned network optimization method receives registration signaling from the target terminal. Upon detecting network anomalies in the target terminal's network operation, it optimizes the target terminal's network based on network requirement parameters recorded in the Application-Aware Network (APN6) extension header parameters contained in the registration signaling. As can be seen from the above, since the network requirement parameters in this application are carried in the APN6 extension header parameters when the target terminal sends the registration signaling, this application can perform targeted network optimization for the target terminal without needing to obtain the network requirement parameters again during the optimization process. Furthermore, it ensures the health of the target terminal's network status after optimization, effectively preventing anomalies such as network address conflicts, network resource contention, and application malfunctions during operation. This guarantees the continuous and stable operation of the target terminal and reduces the manpower and time costs required for anomaly detection and network optimization.

[0067] In one embodiment, such as Figure 3 As shown, operational anomalies include network address conflicts. Therefore, when it is necessary to optimize the network of the target terminal based on network requirement parameters, the following can be included:

[0068] S301, based on the network address requirements included in the network requirement parameters, identify conflicting terminals that have the same network address as the target terminal.

[0069] It should be noted that when it is necessary to identify conflicting terminals that have the same network address as the target terminal, the target network address that the target terminal needs to access can be determined based on the network address requirements contained in the network requirement parameters. Then, other terminals are traversed to query whether there are conflicting terminals that access the same target network address. Thus, the step of determining conflicting terminals that have the same network address as the target terminal based on the network address requirements contained in the network requirement parameters is implemented.

[0070] Furthermore, when the edge gateway detects an address conflict or application performance degradation, it sends a conflict announcement to the relevant terminal in real time through the APN6 extension header, providing detailed address adjustment information and optimizing the path and priority configuration of the corresponding application flow.

[0071] S302, obtain unoccupied candidate network addresses.

[0072] It should be noted that, in order to ensure that the network of the target terminal can be successfully optimized through the candidate network address, at least one unoccupied candidate network address needs to be set in advance. The candidate network address is a lightweight IPv6 (Internet Protocol version 6) address.

[0073] To further explain, after identifying a conflicting terminal with the same network address as the target terminal, the target terminal will stop invoking the embedded link-layer address generation mechanism, thereby reducing the risk of conflicts caused by random address generation and improving the efficiency of address allocation. APN6 introduces a bidirectional communication mechanism in the control plane, enabling the converged edge gateway to notify the terminal in real time to receive a new delegated address after detecting a conflict. Simultaneously, the terminal will stop reassembling an IPv6 address using the conflicting embedded link-layer address. This mechanism significantly reduces the probability of registration failures caused by link-layer address conflicts, improving device registration speed and network performance. At the same time, the edge gateway can publish and execute network optimization strategies based on the matching degree of application performance indicators announced by the APN.

[0074] S303 optimizes the network of the target terminal based on the candidate network address and the conflicting terminal.

[0075] It should be noted that when it is necessary to optimize the network of the target terminal based on the candidate network address and the conflicting terminal, the following may be included: based on the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, select the terminal with the lower terminal priority from the conflicting terminal and the target terminal as the first terminal; connect the first terminal to the candidate network address to achieve network optimization of the target terminal.

[0076] In one embodiment of this application, a lightweight IPv6 terminal node initiates a registration request to the edge gateway through the APN6 generation / awareness module, including an APN ID and network requirement parameters (APN parameters), such as terminal priority, application level, and load. The edge gateway receives / maintains the registration information, calls the address conflict detection module to parse the link-layer address, and detects in real time whether there is an address conflict between the terminals. After identifying the conflicting terminal, the address conflict detection module feeds back the conflict information through the APN6 extension header, selecting the conflicting terminal with the lower terminal priority (i.e., the first terminal, while the high-priority terminal retains its original registration and address request) from the conflicting terminal and the target terminal, triggering the conflict resolution process. The intelligent address delegation module dynamically allocates a unique candidate network address to the conflicting terminal based on the terminal's priority and network requirement parameters, ensuring that the conflicting terminal can reconnect to the network. The target terminal receives the new address and feeds it back to the edge gateway through APN6, confirming that the conflict has been resolved and completing the registration process.

[0077] In another embodiment of this application, the edge gateway can periodically monitor the load of the target terminal, enabling the converged edge gateway to dynamically adjust the IPv6 address allocation strategy of the terminal based on the terminal load indicators, optimize traffic priority in high-load scenarios, and improve network transmission efficiency. Furthermore, the edge gateway also performs heterogeneous Layer 2 identifier range detection. By managing heterogeneous Layer 2 protocols and terminal identification identifier ranges that may cause conflicts, the gateway can more accurately detect link-layer conflicts and perform intelligent scheduling, reducing the registration failure rate caused by conflicts.

[0078] The aforementioned network optimization method identifies conflicting terminals with the same network address as the target terminal, selects the terminal with lower priority from the conflicting terminals and the target terminal as the first terminal, and connects the first terminal to the candidate network address. This optimizes the network for the target terminal and assigns a unique lightweight IPv6 address to the first terminal, ensuring that the target terminal can effectively avoid network address conflicts during operation, improving registration efficiency and reducing the impact of conflicts.

[0079] In one embodiment, such as Figure 4 As shown, if the operational anomaly includes network resource contention, then when it is necessary to optimize the network of the target terminal based on network demand parameters, the following can be included:

[0080] S401, based on the network resource requirements included in the network requirement parameters, identify competing terminals that have a network resource competition relationship with the target terminal.

[0081] Network resources may include, but are not limited to, network bandwidth, network latency, and network path.

[0082] It should be noted that when it is necessary to identify competing terminals that have a network resource competition relationship with the target terminal, the target network resources required by the target terminal can be determined based on the network resource requirements contained in the network requirement parameters. Furthermore, it is necessary to verify whether there are other terminals that also require the target network resources. If so, these other terminals that also require the target network resources are considered as competing terminals that have a network resource competition relationship with the target terminal.

[0083] In one embodiment of this application, the edge gateway receives resource requests from two terminal groups, analyzes APN parameters (such as terminal priority, application level, load, etc.) to identify the conflicts of these terminal groups for network resources such as bandwidth and path, and then identifies the terminals with conflicting relationships as the target terminal and the competing terminal, respectively.

[0084] S402 adjusts the network resources occupied by the target terminal or competing terminal to optimize the network for the target terminal.

[0085] It should be noted that when it is necessary to adjust the network resources occupied by the target terminal or competing terminal, the following may be included: based on the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority among the competing terminal and the target terminal is designated as the second terminal, and the terminal with the higher terminal priority is designated as the third terminal; control the second terminal to use candidate resources, or, when the third terminal stops occupying the target network resources, allocate the target network resources to the second terminal.

[0086] In one embodiment of this application, after identifying the competing terminals that have a network resource competition relationship with the target terminal, it is also necessary to perform an arbitration conflict operation on the competing terminals and the target terminal to determine the terminal with the lower terminal priority as the second terminal and the terminal with the higher terminal priority as the third terminal based on the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters; then, network resource adjustments are made to the second terminal and the third terminal respectively to achieve network optimization for the target terminal.

[0087] Furthermore, when the network resources corresponding to the target terminal are sufficient, the second terminal is controlled to use candidate resources; when the network resources corresponding to the target terminal are insufficient, and the third terminal stops occupying the target network resources, the target network resources are allocated to the second terminal to achieve staggered occupation of the target network resources.

[0088] Among them, by classifying terminals by priority, the edge gateway can dynamically allocate network resources for terminals with different priorities based on the terminal priority parameters in the APN6 extension header, ensuring that important terminals are processed first and reducing the failure rate of critical tasks.

[0089] The aforementioned network optimization method, after identifying competing terminals that have network resource competition with the target terminal, can designate the terminal with lower priority among the competing terminals and the target terminal as the second terminal, and the terminal with higher priority as the third terminal. Then, it controls the second terminal to use candidate resources, or, when the third terminal stops occupying the target network resources, it allocates the target network resources to the second terminal, so as to achieve network optimization for the target terminal, prevent abnormal situations of network resource competition, and ensure the continuous and stable operation of the terminal.

[0090] In one embodiment, if the operational anomaly includes application operational anomaly, wherein the application operational anomaly refers to the target terminal's real-time network status parameters not meeting the application operational requirements of the target application included in the network requirement parameters; therefore, when optimizing the target terminal's network according to the network requirement parameters, the optimization may specifically include the following:

[0091] The target application is executed by calling network resources that meet the application's running requirements, thereby optimizing the network for the target terminal; or, based on the application's running requirements, the application behavior constraint threshold of the target application is determined, and the application's running behavior is constrained according to the application behavior constraint threshold, thereby optimizing the network for the target terminal.

[0092] It should be noted that when optimizing the network of a target terminal, the actual network resources corresponding to the target terminal can be considered. Specifically, if the network resources corresponding to the target terminal are sufficient, since there are idle network resources, network resources that meet the application's running requirements can be used to execute the target application, thereby optimizing the network of the target terminal. If the network resources corresponding to the target terminal are insufficient, since there are insufficient network resources, it is not possible to use unused network resources. In this case, the application behavior constraint threshold of the target application is determined according to the application's running requirements, and the application's running behavior is constrained according to the application behavior constraint threshold to optimize the network of the target terminal, thereby reducing the application behavior consumption of the target terminal and ensuring the stability of the application's running on the target terminal.

[0093] In one embodiment of this application, a lightweight IPv6 terminal node sends application identification information and requirement parameters to the edge gateway (routing nodes along the path) through the APN6 field generation / awareness module in the registration signaling. This includes significant changes to traditional APN requirement declarations and actual application parameters, such as application level, network bandwidth requirements, and latency requirements. These changes include significant changes to terminal application DNS query latency, TCP handshake latency, TLS latency, first-byte latency, and content download latency. The edge gateway analyzes the specific requirements of the terminal application through its optimization and resource scheduling module, assesses whether the current network meets these requirements, and identifies network components that need targeted optimization. If the network resources corresponding to the target terminal are sufficient, the edge gateway optimizes the application based on application priority and real-time network conditions. In this system, the edge gateway intelligently schedules resources, announces policies to routing nodes along the path and to itself, selects the optimal path for the requesting terminal application, and adjusts network components corresponding to application-layer parameters that have undergone significant changes received via APN to ensure that the network and computing resources required by the application are met. If the network resources corresponding to the target terminal are insufficient, the edge gateway embeds APN extension header information in the feedback message, announces the current guaranteed network quality constraint threshold, and sends resource constraint announcement information to the terminal. Furthermore, the terminal receives the optimized path and resource allocation policy feedback from the edge gateway via the APN6 extension header and adjusts the application's behavior (e.g., reducing message sending frequency, reducing the resolution of certain storage formats, etc., to meet critical requirements). The edge gateway monitors the operating status of terminal applications in real time through APN6, especially under conditions of high network load, low node power consumption, and degraded application quality, dynamically adjusting resource allocation policies through the feedback mechanism.

[0094] The aforementioned network optimization methods optimize the network of the target terminal by calling network resources that meet the application's operational requirements to execute the target application; or by imposing behavioral constraints on the target application's operation based on application behavior constraint thresholds to optimize the network of the target terminal. This allows for dynamic optimization of network resources based on application requirements, ensuring the stability and efficiency of the application.

[0095] In one embodiment, such as Figure 5 As shown, when network optimization for a target terminal is required, the following can be included:

[0096] S501, Receive registration signaling sent by the target terminal; wherein, the registration signaling contains application-aware network APN6 extension header parameters; the APN6 extension header parameters record network requirement parameters.

[0097] S502, if an abnormal network operation of the target terminal is detected, determine the conflicting terminal that has the same network address as the target terminal based on the network address requirements contained in the network requirement parameters.

[0098] S503, obtain unused candidate network addresses.

[0099] S504: Based on the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, select the terminal with the lower terminal priority from the conflicting terminal and the target terminal as the first terminal.

[0100] S505 connects the first terminal to the candidate network address to achieve network optimization for the target terminal.

[0101] The aforementioned network optimization method receives registration signaling from the target terminal. Upon detecting network anomalies in the target terminal's network operation, it optimizes the target terminal's network based on network requirement parameters recorded in the Application-Aware Network (APN6) extension header parameters contained in the registration signaling. As can be seen from the above, since the network requirement parameters in this application are carried in the APN6 extension header parameters when the target terminal sends the registration signaling, this application can perform targeted network optimization for the target terminal without needing to obtain the network requirement parameters again during the optimization process. Furthermore, it ensures the health of the target terminal's network status after optimization, effectively preventing anomalies such as network address conflicts, network resource contention, and application malfunctions during operation. This guarantees the continuous and stable operation of the target terminal and reduces the manpower and time costs required for anomaly detection and network optimization.

[0102] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0103] Based on the same inventive concept, this application also provides a network optimization apparatus for implementing the network optimization method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more network optimization apparatus embodiments provided below can be found in the limitations of the network optimization method described above, and will not be repeated here.

[0104] In one embodiment, such as Figure 6 As shown, a network optimization device is provided, including: a receiving module 10 and an optimization module 20, wherein:

[0105] The receiving module 10 is used to receive the registration signaling sent by the target terminal; wherein the registration signaling includes the application-aware network APN6 extension header parameters; the APN6 extension header parameters record network requirement parameters.

[0106] The optimization module 20 is used to optimize the network of the target terminal according to the network requirement parameters when an abnormal network operation of the target terminal is detected.

[0107] In one embodiment, a conflicting terminal with the same network address as the target terminal is determined based on the network address requirements included in the network requirement parameters.

[0108] Obtain unused candidate network addresses;

[0109] Based on the candidate network addresses and conflicting terminals, the network of the target terminal is optimized.

[0110] In one embodiment, based on the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority is selected as the first terminal from the conflicting terminal and the target terminal.

[0111] The first terminal is connected to a candidate network address to optimize the network for the target terminal.

[0112] In one embodiment, competing terminals that have a network resource competition relationship with the target terminal are determined based on the network resource requirements included in the network requirement parameters.

[0113] Adjust network resources used by the target terminal or competing terminals to optimize the network for the target terminal.

[0114] In one embodiment, based on the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority among the competing terminal and the target terminal is designated as the second terminal, and the terminal with the higher terminal priority is designated as the third terminal.

[0115] Control the second terminal to use candidate resources, or allocate target network resources to the second terminal when the third terminal stops occupying target network resources.

[0116] In one embodiment, network resources that meet the application's runtime requirements are invoked to execute the target application, thereby achieving network optimization for the target terminal; or,

[0117] Based on the application's operational requirements, determine the application behavior constraint thresholds for the target application, and then impose behavioral constraints on the target application's operation based on these thresholds to achieve network optimization for the target terminal.

[0118] The aforementioned network optimization device receives registration signaling sent by the target terminal. Upon detecting network malfunctions in the target terminal's network, it optimizes the target terminal's network based on network requirement parameters recorded in the application-aware network APN6 extension header parameters contained in the registration signaling. As can be seen from the above, since the network requirement parameters in this application are carried in the APN6 extension header parameters when the target terminal sends the registration signaling, this application can perform targeted network optimization for the target terminal without needing to obtain the network requirement parameters again during the network optimization process. Furthermore, it ensures the health of the target terminal's network status after optimization, effectively preventing network address conflicts, network resource contention, and application malfunctions during operation, thus guaranteeing the continuous and stable operation of the target terminal and reducing the manpower and time costs required for anomaly detection and network optimization.

[0119] Each module in the aforementioned network optimization device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0120] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a network optimization method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0121] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0122] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0123] Receive registration signaling sent by the target terminal; the registration signaling contains application-aware network APN6 extension header parameters; the APN6 extension header parameters record network requirement parameters;

[0124] If an abnormal network operation is detected in the target terminal, the network of the target terminal will be optimized according to the network requirement parameters.

[0125] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0126] Operational errors include network address conflicts;

[0127] Based on network requirement parameters, optimize the network for the target terminal, including:

[0128] Based on the network address requirements included in the network requirement parameters, identify the conflicting terminals that have the same network address as the target terminal;

[0129] Obtain unused candidate network addresses;

[0130] Based on the candidate network addresses and conflicting terminals, the network of the target terminal is optimized.

[0131] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0132] Based on the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority is selected as the first terminal from the conflicting terminal and the target terminal.

[0133] The first terminal is connected to a candidate network address to optimize the network for the target terminal.

[0134] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0135] Operational anomalies include network resource contention;

[0136] Based on network requirement parameters, optimize the network for the target terminal, including:

[0137] Based on the network resource requirements included in the network demand parameters, identify competing terminals that have a network resource competition relationship with the target terminal;

[0138] Adjust network resources used by the target terminal or competing terminals to optimize the network for the target terminal.

[0139] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0140] Based on the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority among the competing terminal and the target terminal is designated as the second terminal, and the terminal with the higher terminal priority is designated as the third terminal.

[0141] Control the second terminal to use candidate resources, or allocate target network resources to the second terminal when the third terminal stops occupying target network resources.

[0142] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0143] Operational anomalies include application operation anomalies; among them, application operation anomalies refer to situations where the real-time network status parameters of the target terminal do not meet the application operation requirements of the target application contained in the network requirement parameters.

[0144] Based on network requirement parameters, optimize the network for the target terminal, including:

[0145] Call upon network resources that meet the application's runtime requirements to execute the target application, thereby optimizing the network for the target terminal; or,

[0146] Based on the application's operational requirements, determine the application behavior constraint thresholds for the target application, and then impose behavioral constraints on the target application's operation based on these thresholds to achieve network optimization for the target terminal.

[0147] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0148] Receive registration signaling sent by the target terminal; the registration signaling contains application-aware network APN6 extension header parameters; the APN6 extension header parameters record network requirement parameters;

[0149] If an abnormal network operation is detected in the target terminal, the network of the target terminal will be optimized according to the network requirement parameters.

[0150] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0151] Operational errors include network address conflicts;

[0152] Based on network requirement parameters, optimize the network for the target terminal, including:

[0153] Based on the network address requirements included in the network requirement parameters, identify the conflicting terminals that have the same network address as the target terminal;

[0154] Obtain unused candidate network addresses;

[0155] Based on the candidate network addresses and conflicting terminals, the network of the target terminal is optimized.

[0156] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0157] Based on the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority is selected as the first terminal from the conflicting terminal and the target terminal.

[0158] The first terminal is connected to a candidate network address to optimize the network for the target terminal.

[0159] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0160] Operational anomalies include network resource contention;

[0161] Based on network requirement parameters, optimize the network for the target terminal, including:

[0162] Based on the network resource requirements included in the network demand parameters, identify competing terminals that have a network resource competition relationship with the target terminal;

[0163] Adjust network resources used by the target terminal or competing terminals to optimize the network for the target terminal.

[0164] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0165] Based on the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority among the competing terminal and the target terminal is designated as the second terminal, and the terminal with the higher terminal priority is designated as the third terminal.

[0166] Control the second terminal to use candidate resources, or allocate target network resources to the second terminal when the third terminal stops occupying target network resources.

[0167] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0168] Operational anomalies include application operation anomalies; among them, application operation anomalies refer to situations where the real-time network status parameters of the target terminal do not meet the application operation requirements of the target application contained in the network requirement parameters.

[0169] Based on network requirement parameters, optimize the network for the target terminal, including:

[0170] Call upon network resources that meet the application's runtime requirements to execute the target application, thereby optimizing the network for the target terminal; or,

[0171] Based on the application's operational requirements, determine the application behavior constraint thresholds for the target application, and then impose behavioral constraints on the target application's operation based on these thresholds to achieve network optimization for the target terminal.

[0172] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0173] Receive registration signaling sent by the target terminal; the registration signaling contains application-aware network APN6 extension header parameters; the APN6 extension header parameters record network requirement parameters;

[0174] If an abnormal network operation is detected in the target terminal, the network of the target terminal will be optimized according to the network requirement parameters.

[0175] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0176] Operational errors include network address conflicts;

[0177] Based on network requirement parameters, optimize the network for the target terminal, including:

[0178] Based on the network address requirements included in the network requirement parameters, identify the conflicting terminals that have the same network address as the target terminal;

[0179] Obtain unused candidate network addresses;

[0180] Based on the candidate network addresses and conflicting terminals, the network of the target terminal is optimized.

[0181] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0182] Based on the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority is selected as the first terminal from the conflicting terminal and the target terminal.

[0183] The first terminal is connected to a candidate network address to optimize the network for the target terminal.

[0184] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0185] Operational anomalies include network resource contention;

[0186] Based on network requirement parameters, optimize the network for the target terminal, including:

[0187] Based on the network resource requirements included in the network demand parameters, identify competing terminals that have network resource competition with the target terminal;

[0188] Adjust network resources used by the target terminal or competing terminals to optimize the network for the target terminal.

[0189] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0190] Adjusting network resources used by the target terminal or competing terminals, including:

[0191] Based on the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameters, the terminal with the lower terminal priority among the competing terminal and the target terminal is designated as the second terminal, and the terminal with the higher terminal priority is designated as the third terminal.

[0192] Control the second terminal to use candidate resources, or allocate target network resources to the second terminal when the third terminal stops occupying target network resources.

[0193] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0194] Operational anomalies include application operation anomalies; among them, application operation anomalies refer to situations where the real-time network status parameters of the target terminal do not meet the application operation requirements of the target application contained in the network requirement parameters.

[0195] Based on network requirement parameters, optimize the network for the target terminal, including:

[0196] Call upon network resources that meet the application's runtime requirements to execute the target application, thereby optimizing the network for the target terminal; or,

[0197] Based on the application's operational requirements, determine the application behavior constraint thresholds for the target application, and then impose behavioral constraints on the target application's operation based on these thresholds to achieve network optimization for the target terminal.

[0198] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0199] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0200] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0201] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A network optimization method, characterized in that: Applied to an edge gateway, the method includes: Receive a registration signaling sent by a target terminal; wherein the registration signaling includes an application-aware network APN6 extension header parameter; the APN6 extension header parameter records a network requirement parameter; When it is detected that the network of the target terminal is operating abnormally, the network of the target terminal is optimized according to the network demand parameters.

2. The method according to claim 1, characterized in that The operation anomaly includes a network address conflict; Optimizing the network of the target terminal according to the network requirement parameter includes: Determining, according to the network address requirements included in the network requirement parameters, a conflicting terminal having the same network address as the target terminal; Obtain unoccupied candidate network addresses; The network of the target terminal is optimized according to the candidate network address and the conflicting terminal.

3. The method according to claim 2, characterized in that The optimizing the network of the target terminal according to the candidate network address and the conflicting terminal includes: According to the terminal priority corresponding to the conflicting terminal and the terminal priority corresponding to the target terminal included in the network requirement parameter, selecting a terminal with a lower terminal priority from the conflicting terminal and the target terminal as the first terminal; The first terminal is connected to the candidate network address to achieve network optimization for the target terminal.

4. The method according to claim 1, characterized in that: The operation anomaly includes network resource competition; Optimizing the network of the target terminal according to the network requirement parameter includes: Determining, according to the network resource requirements included in the network requirement parameters, competing terminals that have a network resource competition relationship with the target terminal; The network resources occupied by the target terminal or the competing terminal are adjusted to achieve network optimization for the target terminal.

5. The method according to claim 4, characterized in that The adjusting the network resources occupied by the target terminal or the competing terminal includes: According to the terminal priority corresponding to the competing terminal and the terminal priority corresponding to the target terminal included in the network requirement parameter, a terminal with a lower terminal priority among the competing terminal and the target terminal is used as the second terminal, and a terminal with a higher terminal priority is used as the third terminal; The second terminal is controlled to adopt the candidate resource, or, when the third terminal stops occupying the target network resource, the target network resource is allocated to the second terminal.

6. The method according to claim 1, characterized in that The operation abnormality includes an application operation abnormality; wherein the application operation abnormality refers to that the real-time network status parameter of the target terminal does not meet the application operation requirement of the target application included in the network requirement parameter; Optimizing the network of the target terminal according to the network requirement parameter includes: Calling network resources that meet the application running requirements to execute the target application to achieve network optimization for the target terminal; or, According to the application operation requirement, an application behavior constraint threshold of the target application is determined, and behavior constraints are performed on the application operation of the target application according to the application behavior constraint threshold, so as to achieve network optimization for the target terminal.

7. A network optimization device, characterized in that: The device comprises: A receiving module, configured to receive a registration signaling sent by a target terminal; wherein the registration signaling includes an application-aware network APN6 extension header parameter; and the APN6 extension header parameter records a network requirement parameter; The optimization module is used to optimize the network of the target terminal according to the network demand parameters when detecting that the network operation of the target terminal is abnormal.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.