Network service guarantee method and device, terminal and medium
By transferring the redundant bandwidth resources of the main gateway to the alternative gateway connected by the user terminal, the problem of inefficient network maintenance in the prior art is solved, the effect of quickly restoring the network connection of the user terminal is achieved, and the reliability and stability of network services are improved.
Patent Information
- Application Number
- CN202510089106.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-06-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing network maintenance methods require manual participation, resulting in inefficiency and erroneous operations, and the inability to quickly restore the network connection of the user terminal, affecting the reliability and stability of network services.
By transferring the redundant bandwidth resources of the main gateway to the alternative gateway connected by the user terminal, the topology structure of the FTTR network and the bandwidth transfer information generation model can be used to quickly restore the network connection of the user terminal.
It quickly restores the network connection of the user terminal, ensures that users can continue to use the network services provided by the FTTR network normally, and improves the reliability and stability of the network services.
Smart Images

Figure CN120091240A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of network maintenance, and particularly to a network service guarantee method, apparatus, terminal, and medium. Background Art
[0002] In the current home gateway industry, the FTTR technology can provide an upstream capacity of up to gigabit, directly lay optical fibers to each room, achieve a true gigabit network speed, and meet the needs of users for high bandwidth, important meetings, watching games, etc. When a failure occurs in the gateway, the network signal strength decreases, and the devices connected thereto will be directly affected, and the network speed will become very slow. For example, the web page loading time will be significantly extended, and the file download speed will also be greatly reduced.
[0003] To solve the above problems, network operators usually regularly check the hardware status of the gateway, and timely perform firmware updates to repair known security vulnerabilities and performance problems, and prevent potential failures; at the same time, some operators provide remote monitoring services, which can monitor the working status of the gateway in real time, and quickly respond when problems occur, providing technical support or dispatching technical personnel to repair on-site.
[0004] However, the existing traditional maintenance methods usually require a certain degree of manual participation. Whether it is on-site service or remote support, it may be inefficient or misoperated due to human factors, and the network connection of the user terminal cannot be quickly restored in a short time, and the reliability and stability of the network service cannot be further improved. Summary of the Invention
[0005] The main purpose of this application is to provide a network service guarantee method, apparatus, terminal, and medium, aiming to quickly restore the network connection of the user terminal by transferring the redundant bandwidth resources of the main gateway to the alternative gateway connected to the user terminal, so that the user can continue to normally use the network service provided by the FTTR network where the alternative gateway is located.
[0006] To achieve the above purpose, this application provides a network service guarantee method, which is applied to a main gateway management system. The main gateway management system is used to manage the FTTR network. The FTTR network includes an FTTR main gateway and FTTR slave gateways. The FTTR slave gateways include a first slave gateway and a second slave gateway;
[0007] The method includes:
[0008] Based on the topological structure of the FTTR network, determine the second slave gateway as the alternative connection object for the user terminal connected to the first slave gateway;
[0009] Based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, bandwidth transfer information is obtained, where the bandwidth transfer information is used to characterize the bandwidth resources that need to be transferred from the FTTR master gateway to the second slave gateway by the master gateway management system to ensure the stable operation of the FTTR network;
[0010] Based on the bandwidth transfer information, transfer the bandwidth resources from the FTTR master gateway to the second slave gateway, so that the user terminal can normally use network services by connecting to the second slave gateway.
[0011] Specifically, before determining the second slave gateway as the alternative connection object for the user terminal connected to the first slave gateway based on the topological structure of the FTTR network, the method further includes:
[0012] Monitor the signal strength of the first slave gateway. If the signal strength of the first slave gateway is equal to or less than the preset signal strength threshold, control the first slave gateway to send the signal strength alarm information to the master gateway management system.
[0013] Specifically, the signal strength alarm information includes the signal status data of the first slave gateway;
[0014] The obtaining of the bandwidth transfer information based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway includes:
[0015] Generate the bandwidth transfer information according to the signal status data and the load status information through a preset bandwidth transfer information generation model.
[0016] Specifically, the preset bandwidth transfer information generation model includes an input layer, a convolutional layer, a max pooling layer, a long short-term memory layer, a merging layer, a fully connected layer, and an output layer. The signal status data includes the signal strength data corresponding to the first slave gateway and the timestamp data corresponding to the signal strength data;
[0017] The generating of the bandwidth transfer information according to the signal status data and the load status information through the preset bandwidth transfer information generation model includes:
[0018] Generate a signal status matrix through the input layer according to the signal strength data and the timestamp data;
[0019] Generate a load status vector through the input layer according to the load status information;
[0020] Generate a signal status feature map through the convolutional layer according to the signal status matrix;
[0021] Through the max pooling layer, a reduced signal state feature map is generated according to the signal state feature map.
[0022] Through the long short-term memory layer, a signal state feature vector is generated according to the reduced signal state feature map.
[0023] Through the merging layer, a feature merging vector is generated according to the signal state feature vector and the load condition vector.
[0024] Through the fully connected layer, a feature extraction vector is generated according to the feature merging vector.
[0025] Through the output layer, an output matrix is generated according to the feature extraction vector, where the output matrix is used to represent the bandwidth transfer information.
[0026] Specifically, the fully connected layer includes a first fully connected layer and a second fully connected layer. The activation function corresponding to the first fully connected layer is the ReLU function, and the activation function corresponding to the second fully connected layer is the Sigmoid function. The number of neurons in the first fully connected layer is twice the number of neurons in the second fully connected layer.
[0027] The step of generating a feature extraction vector through the fully connected layer according to the feature merging vector includes:
[0028] Through the first fully connected layer, an intermediate vector is obtained according to the feature merging vector.
[0029] Through the second fully connected layer, the feature extraction vector is obtained according to the intermediate vector.
[0030] Specifically, before transferring the bandwidth resource from the FTTR master gateway to the second slave gateway based on the bandwidth transfer information, the method further includes:
[0031] Based on the bandwidth transfer information, the network configuration of the second slave gateway is adjusted to make the second slave gateway ready to receive the bandwidth resource.
[0032] Specifically, after transferring the bandwidth resource from the FTTR master gateway to the second slave gateway based on the bandwidth transfer information, the method further includes:
[0033] Monitoring the signal strength of the first slave gateway. If the signal strength of the first slave gateway is higher than a preset signal strength threshold, the first slave gateway is controlled to send signal strength recovery information to the master gateway management system.
[0034] To achieve the above object, the present application further provides a network service guarantee device, which is applied to a master gateway management system for managing an FTTR network. The FTTR network includes an FTTR master gateway and FTTR slave gateways, and the FTTR slave gateways include a first slave gateway and a second slave gateway;
[0035] The device includes:
[0036] A first unit, configured to determine the second slave gateway as an alternative connection object for a user terminal connected to the first slave gateway based on the topological structure of the FTTR network;
[0037] A second unit, configured to obtain bandwidth transfer information based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, where the bandwidth transfer information is used to characterize the bandwidth resources that need to be transferred from the FTTR master gateway to the second slave gateway by the master gateway management system to ensure the stable operation of the FTTR network;
[0038] A third unit, configured to transfer the bandwidth resources from the FTTR master gateway to the second slave gateway based on the bandwidth transfer information, so that the user terminal can normally use network services by connecting to the second slave gateway.
[0039] To achieve the above object, the present application further provides a terminal, including a memory storing multiple instructions; the processor loads the instructions from the memory to execute the steps in any of the methods provided by the present application.
[0040] To achieve the above object, the present application further provides a medium storing multiple instructions, and the instructions are suitable for being loaded by a processor to execute the steps in any of the methods provided by the present application.
[0041] A network service guarantee method, device, terminal, and medium provided by this application are applied to a main gateway management system. The main gateway management system is used to manage an FTTR network, and the FTTR network includes an FTTR main gateway and FTTR slave gateways. The FTTR slave gateways include a first slave gateway and a second slave gateway. First, based on the topological structure of the FTTR network, the second slave gateway is determined as an alternative connection object for user terminals connected to the first slave gateway. Then, based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, bandwidth transfer information is obtained. The bandwidth transfer information is used to represent the bandwidth resources that need to be transferred from the FTTR main gateway to the second slave gateway by the main gateway management system to ensure the stable operation of the FTTR network. Finally, based on the bandwidth transfer information, the bandwidth resources are transferred from the FTTR main gateway to the second slave gateway, so that user terminals can normally use network services by connecting to the second slave gateway, thereby quickly restoring the network connection of the user terminals and enabling users to continue to normally use the network services provided by the FTTR network where the alternative gateway is located.
[0042] This application can quickly restore the network connection of user terminals by transferring the redundant bandwidth resources of the main gateway to the alternative gateway connected by the user terminals, enabling users to continue to normally use the network services provided by the FTTR network where the alternative gateway is located, and thus continuously enjoying a smooth and delay-free network experience. Brief Description of the Drawings
[0043] Figure 1 It is a flowchart of the method provided by an embodiment of this application;
[0044] Figure 2 It is a structural diagram of the device provided by an embodiment of this application;
[0045] Figure 3 It is a structural diagram of the terminal provided by an embodiment of this application. Detailed Description of the Embodiments
[0046] Next, the technical solutions in the embodiments of this application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of this application.
[0047] Since the existing traditional maintenance methods usually require a certain degree of manual participation, whether it is on-site service or remote support, it may lead to low efficiency or incorrect operations due to human factors, and it is impossible to quickly restore the network connection of the user terminal in a short time, and the reliability and stability of the network service cannot be further improved.
[0048] Therefore, the embodiments of the present application provide a network service guarantee method, device, terminal and medium to solve actual technical problems.
[0049] In some embodiments, the device can be specifically integrated in an electronic device, and the electronic device can be a device such as a terminal or a server.
[0050] In some embodiments, the server can also be implemented in the form of a terminal.
[0051] Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0052] Among them, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, and the present application does not limit this.
[0053] The following will be described in detail respectively. It should be noted that the serial numbers of the following embodiments do not limit the preferred order of the embodiments.
[0054] The embodiments of the present application provide a network service guarantee method. The method can quickly restore the network connection of the user terminal by transferring the redundant bandwidth resources of the main gateway to the alternative gateway connected to the user terminal, so that the user can continue to normally use the network service provided by the FTTR network where the alternative gateway is located.
[0055] In some embodiments, the method is applied to a main gateway management system, and the main gateway management system is used to manage the FTTR network. The FTTR network includes an FTTR main gateway and an FTTR slave gateway, and the FTTR slave gateway includes a first slave gateway and a second slave gateway.
[0056] FTTR (Fiber to The Room) is a full - fiber network solution designed to extend high - speed Internet connections directly to each room in a home or office environment through optical fibers. The FTTR main gateway device is usually the core component of this solution, responsible for converting the optical fiber signals from the ISP (Internet Service Provider) into network signals that can be used inside the home and further distributing them to the subordinate devices in each room. A notable feature of the FTTR solution is that it not only improves network speed but also enhances network stability because optical fibers have better transmission performance and anti - interference capabilities than traditional copper cables. In addition, by deploying optical fibers in each room, a stable network connection can be ensured in every corner, which is particularly useful for large residences or offices.
[0057] In the FTTR (Fiber to The Room) network architecture, the FTTR main gateway and the FTTR slave gateway are the core components for achieving full - house fiber network coverage. They work together to provide high - speed, stable, and low - latency network connections to each room.
[0058] The FTTR main gateway usually has one or more uplink interfaces (such as GPON, XG(S) - PON, etc.) for connecting to the optical fiber lines provided by the operator, responsible for introducing broadband services from the Internet into the home network. As the heart of the entire home network, the FTTR main gateway undertakes functions such as packet forwarding, address allocation (DHCP), network security (firewall), and quality of service (QoS) control to ensure that all devices can access the Internet safely and efficiently.
[0059] The FTTR slave gateway is directly connected to the main gateway through an optical fiber, achieving gigabit or even higher - speed network connections at the room level. This connection method avoids the signal attenuation problem caused by traditional copper wires, ensuring stable network performance. The FTTR slave gateway can be placed in rooms that require additional network coverage, such as the study, bedroom, living room, etc., to expand the wired and wireless network range of the FTTR main gateway. They are usually connected to the FTTR main gateway through optical fibers and at the same time provide local Ethernet ports and Wi - Fi signals.
[0060] As Figure 1 shown, the specific process of the method can be as follows:
[0061] S110. Based on the topological structure of the FTTR network, determine the second slave gateway as an alternative connection object for the user terminal connected to the first slave gateway.
[0062] In some embodiments, before determining the second slave gateway as an alternative connection object for the user terminal connected to the first slave gateway based on the topology of the FTTR network, the method further includes the following specific implementation process:
[0063] Monitor the signal strength of the first slave gateway. If the signal strength of the first slave gateway is equal to or less than a preset signal strength threshold, control the first slave gateway to send the signal strength alarm information to the master gateway management system.
[0064] Specifically, the first slave gateway can be controlled to continuously monitor its own signal strength, and the threshold is set to a 30% signal drop. Once the detected signal strength drop reaches 30%, immediately send an alarm message of signal drop to the master gateway management system, and record the current signal status information, including detailed data such as signal strength and timestamp.
[0065] In some embodiments, the master gateway management system analyzes the topology of the entire FTTR network to determine the relative positions and network connection relationships of the failed first slave gateway and the second slave gateway serving as the alternative gateway, and at the same time obtains the current load conditions of the second slave gateway, including information such as the number of connected devices and bandwidth usage.
[0066] In some embodiments, when a user terminal such as a mobile phone connects to the Wi-Fi network of the first slave gateway, it will real-time sense the network connection speed. When the connection speed is lower than the set normal threshold, the mobile phone automatically scans the surrounding available Wi-Fi networks, discovers and attempts to connect to the network Wi-Fi of the nearest second slave gateway. During the connection process, the mobile phone sends a connection request to the second slave gateway and waits for the response and authentication of the second slave gateway.
[0067] S120. Obtain bandwidth transfer information based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, where the bandwidth transfer information is used to characterize the bandwidth resources that need to be transferred from the FTTR master gateway to the second slave gateway by the master gateway management system to ensure the stable operation of the FTTR network.
[0068] In some embodiments, according to the load conditions of the second slave gateway, the master gateway management system can calculate how much bandwidth needs to be allocated from the redundant broadband to the second slave gateway to meet the current customer needs and ensure the stable operation of the network. The master gateway management system divides the corresponding bandwidth resources from its own redundant broadband resource pool and marks them as allocated for use by the second slave gateway.
[0069] In some embodiments, the signal strength alarm information includes the signal status data of the first slave gateway.
[0070] Specifically, obtaining the bandwidth transfer information based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway includes the following specific implementation process:
[0071] Generate the bandwidth transfer information through a preset bandwidth transfer information generation model according to the signal status data and the load status information.
[0072] Continuing the description based on the above embodiment, the preset bandwidth transfer information generation model includes an input layer, a convolutional layer, a max pooling layer, a long short-term memory layer, a merging layer, a fully connected layer, and an output layer. The signal status data includes the signal strength data corresponding to the first slave gateway and the timestamp data corresponding to the signal strength data.
[0073] Specifically, generating the bandwidth transfer information through the preset bandwidth transfer information generation model according to the signal status data and the load status information includes the following steps A1 to A8:
[0074] A1. Through the input layer, generate a signal status matrix according to the signal strength data and the timestamp data.
[0075] A2. Through the input layer, generate a load status vector according to the load status information.
[0076] In some embodiments, the signal status data may include signal strength data (with a length of s), timestamp data (with a length of t), and the length of the load status information is l. Combine the signal strength data and the timestamp data into a two-dimensional matrix as the input, that is, the signal status matrix, with a shape of (batch_size, t, s + 1), where batch_size is the batch size, t is the length of the time series, and s + 1 is the number of features (signal strength data and timestamp) at each time step. At the same time, use the load status information as another input, and the shape of the output load status vector is (batch_size, l).
[0077] In some embodiments, for the signal status data, arrange the signal strength and timestamp at different time points in chronological order into a matrix; for the load status information, combine elements such as CPU usage rate and memory usage rate into a vector.
[0078] A3. Through the convolutional layer, generate a signal status feature map according to the signal status matrix.
[0079] In some embodiments, the convolutional layer can be set to f1 filters (for example, 32), the filter size is (k1, k2) (for example, (3, 3)), and the activation function of the convolutional layer uses the ReLU function.
[0080] Specifically, a signal state matrix with the shape of (batch_size, t, s + 1) is input into the convolutional layer to generate a feature map with the shape of (batch_size, t - k1 + 1, s - k2 + 1, f1), that is, the signal state feature map, which contains local features extracted by the convolutional operation.
[0081] A4. Through the max pooling layer, a reduced signal state feature map is generated according to the signal state feature map.
[0082] In some embodiments, the max pooling layer uses a pooling window of (p1, p2) (for example, (2, 2)).
[0083] Specifically, through the max pooling layer, the signal state feature map is reduced to obtain a reduced signal state feature map with the shape of (batch_size, (t - k1 + 1) / / p1, (s - k2 + 1) / / p2, f1).
[0084] A5. Through the long short-term memory layer, a signal state feature vector is generated according to the reduced signal state feature map.
[0085] The long short-term memory layer is a network layer based on the LSTM network, and is set to have n1 neurons (for example, 64).
[0086] Specifically, the long short-term memory layer receives the reduced signal state feature map, reshapes it into a sequence data of (batch_size, (t - k1 + 1) / / p1 * (s - k2 + 1) / / p2 * f1), and generates a signal state feature vector with the shape of (batch_size, n1) according to the sequence data, which contains the long short-term memory processing results of the time series information.
[0087] A6. Through the merging layer, a feature merging vector is generated according to the signal state feature vector and the load condition vector.
[0088] In some embodiments, the signal state feature vector and the load condition vector are merged into a vector with the shape of (batch_size, n1 + l), that is, the feature merging vector.
[0089] A7. Through the fully connected layer, a feature extraction vector is generated according to the feature merging vector.
[0090] In some embodiments, the fully connected layer includes a first fully connected layer and a second fully connected layer. The activation function corresponding to the first fully connected layer is the ReLU function, and the activation function corresponding to the second fully connected layer is the Sigmoid function. The number of neurons in the first fully connected layer is twice the number of neurons in the second fully connected layer.
[0091] Specifically, through the fully connected layer, according to the feature merging vector, generating a feature extraction vector includes the step contents from A71 to A72 as shown below:
[0092] A71. Through the first fully connected layer, according to the feature merging vector, obtain an intermediate vector.
[0093] In some embodiments, the first fully connected layer is set to have n2 neurons (e.g., 128). The first fully connected layer receives a (batch_size, n1 + l) vector from the merging layer and generates an intermediate vector with a shape of (batch_size, n2).
[0094] A72. Through the second fully connected layer, according to the intermediate vector, obtain the feature extraction vector.
[0095] In some embodiments, the second fully connected layer is set to have n3 neurons (e.g., 64). The second fully connected layer receives the intermediate vector with a shape of (batch_size, n2) from the first fully connected layer and generates a feature extraction vector with a shape of (batch_size, n3).
[0096] A8. Through the output layer, according to the feature extraction vector, generate an output matrix, where the output matrix is used to represent the bandwidth transfer information.
[0097] In some embodiments, the output layer is set to have r neurons. Input the feature extraction vector with a shape of (batch_size, n3) into the output layer, and output an output matrix with a shape of (batch_size, r), where batch_size represents the number of samples, and r represents the dimension of the bandwidth transfer information for each sample. Specifically, r represents the number of features of the bandwidth transfer information. For example, r can include the following aspects:
[0098] Bandwidth size: Represents the specific size of the bandwidth that needs to be transferred from the FTTR main gateway to the second slave gateway, which can be expressed in different units such as Mbps, Gbps, etc.;
[0099] Bandwidth transfer ratio: Represents the ratio of the transferred bandwidth to the total bandwidth, which is a value in the range of [0, 1];
[0100] Bandwidth type: It may represent different types of bandwidth, such as upload bandwidth, download bandwidth, or bandwidth with different priorities (such as video stream bandwidth, file download bandwidth, etc.);
[0101] Transfer duration: It represents the length of time that this bandwidth transfer needs to last, for example, in seconds, minutes, or hours.
[0102] Specifically, batch_size can represent the number of samples, and the samples can represent the status information of the FTTR network at different times. Each sample contains the signal status data of the first slave gateway (such as signal strength data, timestamp, etc.) and the load status information of the second slave gateway (such as CPU usage rate, memory usage rate, number of network connections, etc.), and these information together constitute a sample. Assuming that the FTTR network is monitored for one day, the relevant data of the first slave gateway and the second slave gateway can be recorded every minute. Then, after one day, there will be 1440 samples (assuming no data loss). Among them, each sample contains the signal status data (signal strength, timestamp, etc.) of the first slave gateway at that moment and the load status information of the second slave gateway.
[0103] S130. Based on the bandwidth transfer information, transfer the bandwidth resource from the FTTR master gateway to the second slave gateway so that the user terminal can normally use the network service by connecting to the second slave gateway.
[0104] In some embodiments, before transferring the bandwidth resource from the FTTR master gateway to the second slave gateway based on the bandwidth transfer information, the method further includes the following specific implementation process:
[0105] Based on the bandwidth transfer information, adjust the network configuration of the second slave gateway so that the second slave gateway is ready to receive the bandwidth resource.
[0106] Specifically, the master gateway management system sends the allocated redundant broadband resource information to the second slave gateway through the internal network communication protocol, notifying the second slave gateway to prepare to receive the supplementary bandwidth. After receiving the notification, the second slave gateway adjusts its own network configuration to prepare to receive the additional bandwidth resource from the master gateway, including operations such as opening the corresponding receiving channel and updating the network traffic management policy.
[0107] In some embodiments, the main gateway management system starts a bandwidth transmission process, and gradually transmits the data traffic in the redundant broadband to the second slave gateway according to the set transmission protocol and rate. During the transmission process, the main gateway management system continuously monitors the bandwidth transmission status to ensure that the bandwidth resources are accurately transmitted to the second slave gateway, and dynamically adjusts the transmission rate according to the actual situation to cope with network fluctuations or other abnormal conditions. After receiving the bandwidth resources supplemented by the FTTR main gateway, the second slave gateway integrates them into its own network resources and updates the network service quality (QoS) policy to prioritize ensuring the network connection speed and stability of important terminal devices such as mobile phones. The second slave gateway reallocates network traffic according to the new bandwidth resources and reasonably schedules different types of network data (such as video streams, file downloads, web browsing, etc.) to ensure that the overall network performance meets the user's requirements.
[0108] In some embodiments, after transferring the bandwidth resources from the FTTR main gateway to the second slave gateway based on the bandwidth transfer information, the method further includes the following specific implementation process:
[0109] Monitor the signal strength of the first slave gateway. If the signal strength of the first slave gateway is higher than the preset signal strength threshold, control the first slave gateway to send signal strength recovery information to the main gateway management system.
[0110] Continuing with the above embodiment, after the user's mobile phone connects to the network of the second slave gateway, as the second slave gateway receives the bandwidth resources supplemented by the FTTR main gateway, the network speed gradually returns to normal. The mobile phone continuously monitors the network connection speed, and when the speed reaches the normal usage standard, it feedbacks to the user that the network connection has returned to the normal state.
[0111] Specifically, the main gateway management system continuously monitors the network operation status of the second slave gateway, including key indicators such as the signal strength, bandwidth usage, and number of connected devices of the second slave gateway. The first slave gateway also continues to monitor its own signal recovery situation. Once the signal strength recovers to the normal level, it sends signal strength recovery information to the main gateway management system. The main gateway management system dynamically adjusts the network resource allocation policy according to the monitoring data of each slave gateway to ensure that the entire FTTR network is always in an efficient and stable operating state. If a similar failure occurs again during the subsequent operation, repeat the above processing flow for network service guarantee to ensure the continuity and reliability of network services.
[0112] In summary, the present application provides a network service guarantee method. By transferring the redundant bandwidth resources of the main gateway to the alternative gateway connected to the user terminal, the network connection of the user terminal can be quickly restored, enabling the user to continue to normally use the network service provided by the FTTR network where the alternative gateway is located, so as to continuously enjoy a smooth and latency-free network experience.
[0113] To better implement the above method, the embodiment of the present application further provides a network service guarantee device. This device can be specifically integrated in an electronic device, and the electronic device can be devices such as a terminal, a server, etc. Among them, the terminal can be devices such as a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0114] For example, in this embodiment, taking the network service guarantee device being specifically integrated in the terminal as an example, the method of the embodiment of the present application will be described in detail.
[0115] For example, as Figure 2 shown, the device is applied to a main gateway management system, and the main gateway management system is used to manage the FTTR network. The FTTR network includes an FTTR main gateway and FTTR slave gateways, and the FTTR slave gateways include a first slave gateway and a second slave gateway;
[0116] The network service guarantee device may include a first unit 201, a second unit 202, and a third unit 203, as follows:
[0117] The first unit 201 is used to determine the second slave gateway as an alternative connection object for the user terminal connected to the first slave gateway based on the topological structure of the FTTR network;
[0118] The second unit 202 is used to obtain bandwidth transfer information based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, where the bandwidth transfer information is used to represent the bandwidth resources that need to be transferred from the FTTR main gateway to the second slave gateway by the main gateway management system to ensure the stable operation of the FTTR network;
[0119] The third unit 203 is used to transfer the bandwidth resources from the FTTR main gateway to the second slave gateway based on the bandwidth transfer information, so that the user terminal can normally use the network service by connecting to the second slave gateway.
[0120] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined and implemented as the same or several entities. For the specific implementation of the above units, reference can be made to the method embodiments described above, and details will not be repeated here.
[0121] As can be seen from the above, the embodiments of the present application can transfer the redundant bandwidth resources of the main gateway to the alternative gateway connected to the user terminal, quickly restore the network connection of the user terminal, so that the user can continue to normally use the network services provided by the FTTR network where the alternative gateway is located.
[0122] The embodiments of the present application also provide an electronic device, which can be a device such as a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers, etc.
[0123] In some embodiments, the product processing device can also be integrated in multiple electronic devices. For example, the product processing device can be integrated in multiple servers, and the network service guarantee method of the present application can be implemented by multiple servers.
[0124] In this embodiment, the electronic device of this embodiment will be described in detail by taking the example that the electronic device is a terminal. For example, as Figure 3 shown, it shows a schematic structural diagram of the terminal 300 involved in the embodiments of the present application. Specifically:
[0125] The terminal 300 may include a processor 301 with one or more processing cores, a memory 302 with one or more media, a power supply 303, an input module 304, a communication module 305 and other components. Those skilled in the art can understand that Figure 3 the structure of the terminal 300 shown in does not constitute a limitation on the terminal 300, and it may include more or fewer components than shown in the figure, or combine some components, or arrange different components. Among them:
[0126] The processor 301 is the control center of the terminal 300, connecting various parts of the entire terminal 300 through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, it executes various functions of the terminal 300 and processes data, thereby monitoring the terminal 300 as a whole. In some embodiments, the processor 301 may include one or more processing cores; in some embodiments, the processor 301 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 301 either.
[0127] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 mainly includes a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.); the data storage area can store data created according to the use of the terminal 300. In addition, the memory 302 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 302 can also include a memory controller to provide the processor 301 with access to the memory 302.
[0128] The terminal 300 further includes a power supply 303 for powering each component. In some embodiments, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0129] The terminal 300 may further include an input module 304, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0130] The terminal 300 may further include a communication module 305. In some embodiments, the communication module 305 can include a wireless module. The terminal 300 can perform short-distance wireless transmission through the wireless module of the communication module 305, thereby providing users with wireless broadband Internet access. For example, the communication module 305 can be used to help users send and receive emails, browse the web, and access streaming media, etc.
[0131] Although not shown, the terminal 300 may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 301 in the terminal 300 will load the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 will run the application programs stored in the memory 302 to realize various functions as follows:
[0132] Based on the topology of the FTTR network, determine the second slave gateway as an alternative connection object for the user terminal connected to the first slave gateway;
[0133] Based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, bandwidth transfer information is obtained, where the bandwidth transfer information is used to characterize the bandwidth resources that need to be transferred from the FTTR master gateway to the second slave gateway by the master gateway management system to ensure the stable operation of the FTTR network;
[0134] Based on the bandwidth transfer information, the bandwidth resources are transferred from the FTTR master gateway to the second slave gateway, so that the user terminal can normally use network services by connecting to the second slave gateway.
[0135] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated here.
[0136] As can be seen from the above, the embodiments of the present application can quickly restore the network connection of the user terminal by transferring the redundant bandwidth resources of the master gateway to the alternative gateway connected by the user terminal, so that the user can continue to normally use the network services provided by the FTTR network where the alternative gateway is located.
[0137] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions. The instructions can be stored in a medium and loaded and executed by a processor.
[0138] For this reason, the embodiments of the present application provide a medium, in which multiple instructions are stored, and the instructions can be loaded by a processor to execute the steps in any network service guarantee method provided by the embodiments of the present application. For example, the instructions can execute the following steps:
[0139] Based on the topology of the FTTR network, the second slave gateway is determined as the alternative connection object for the user terminal connected to the first slave gateway;
[0140] Based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, bandwidth transfer information is obtained, where the bandwidth transfer information is used to characterize the bandwidth resources that need to be transferred from the FTTR master gateway to the second slave gateway by the master gateway management system to ensure the stable operation of the FTTR network;
[0141] Based on the bandwidth transfer information, the bandwidth resources are transferred from the FTTR master gateway to the second slave gateway, so that the user terminal can normally use network services by connecting to the second slave gateway.
[0142] Among them, the medium may include: Read Only Memory (ROM), Random Access Memory (RAM), magnetic disk, optical disc, etc.
[0143] According to one aspect of the present application, there is provided a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a medium. A processor of a computer device reads the computer instructions from the medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various alternative implementations provided in the above embodiments.
[0144] Since the instructions stored in the medium can execute the steps in any of the network service guarantee methods provided in the embodiments of the present application, the beneficial effects achievable by any of the network service guarantee methods provided in the embodiments of the present application can be realized. For details, see the previous embodiments and will not be elaborated here.
[0145] The above has introduced in detail a network service guarantee method, apparatus and medium provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A network service assurance method, characterized in that: Applied to a master gateway management system, the master gateway management system is used to manage an FTTR network, the FTTR network includes an FTTR master gateway and an FTTR slave gateway, the FTTR slave gateway includes a first slave gateway and a second slave gateway; The method comprises: Based on the topology of the FTTR network, determining the second slave gateway as a replacement connection object for the user terminal connected to the first slave gateway; Based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, bandwidth transfer information is obtained, wherein the bandwidth transfer information is used to characterize the bandwidth resources transferred from the FTTR master gateway to the second slave gateway required by the master gateway management system to ensure the stable operation of the FTTR network; Based on the bandwidth transfer information, the bandwidth resources are transferred from the FTTR master gateway to the second slave gateway, so that the user terminal can use the network service normally by connecting to the second slave gateway.
2. The method according to claim 1, characterized in that Before determining the second slave gateway as a replacement connection object of the user terminal connected to the first slave gateway based on the topology of the FTTR network, the method further includes: The signal strength of the first slave gateway is monitored, and if the signal strength of the first slave gateway is equal to or less than a preset signal strength threshold, the first slave gateway is controlled to send the signal strength alarm information to the master gateway management system.
3. The method according to claim 2, characterized in that The signal strength alert information includes signal status data of the first slave gateway; The obtaining bandwidth transfer information based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway includes: The bandwidth transfer information is generated according to the signal state data and the load status information by using a preset bandwidth transfer information generation model.
4. The method according to claim 3, characterized in that The preset bandwidth transfer information generation model includes an input layer, a convolution layer, a maximum pooling layer, a long short-term memory layer, a merging layer, a fully connected layer and an output layer, and the signal status data includes signal strength data corresponding to the first slave gateway and timestamp data corresponding to the signal strength data; The generating the bandwidth transfer information by presetting the bandwidth transfer information generating model according to the signal state data and the load status information includes: Generate a signal state matrix through the input layer according to the signal strength data and the timestamp data; Generate a load status vector according to the load status information through the input layer; Generate a signal state feature map according to the signal state matrix through the convolution layer; Generate a reduced signal state feature map according to the signal state feature map through the maximum pooling layer; Generate a signal state feature vector according to the reduced signal state feature graph through the long short-term memory layer; Generate a feature merging vector through the merging layer according to the signal state feature vector and the load condition vector; Generate a feature extraction vector according to the feature merging vector through the fully connected layer; An output matrix is generated through the output layer according to the feature extraction vector, wherein the output matrix is used to represent the bandwidth transfer information.
5. The method according to claim 4, characterized in that The fully connected layer includes a first fully connected layer and a second fully connected layer, the activation function corresponding to the first fully connected layer is a ReLU function, the activation function corresponding to the second fully connected layer is a Sigmoid function, and the number of neurons in the first fully connected layer is twice the number of neurons in the second fully connected layer; The step of generating a feature extraction vector according to the feature merging vector through the fully connected layer includes: Merging vectors according to the features through the first fully connected layer to obtain an intermediate vector; The feature extraction vector is obtained according to the intermediate vector through the second fully connected layer.
6. The method according to claim 1, characterized in that Before transferring the bandwidth resource from the FTTR master gateway to the second slave gateway based on the bandwidth transfer information, the method further includes: Based on the bandwidth transfer information, the network configuration of the second slave gateway is adjusted to prepare the second slave gateway to receive the bandwidth resources.
7. The method according to claim 1, characterized in that After transferring the bandwidth resource from the FTTR master gateway to the second slave gateway based on the bandwidth transfer information, the method further includes: The signal strength of the first slave gateway is monitored, and if the signal strength of the first slave gateway is higher than a preset signal strength threshold, the first slave gateway is controlled to send signal strength recovery information to the master gateway management system.
8. A network service guarantee device, characterized in that: Applied to a master gateway management system, the master gateway management system is used to manage an FTTR network, the FTTR network includes an FTTR master gateway and an FTTR slave gateway, the FTTR slave gateway includes a first slave gateway and a second slave gateway; The device comprises: A first unit is configured to determine the second slave gateway as a replacement connection object for a user terminal connected to the first slave gateway based on a topological structure of the FTTR network; A second unit is used to obtain bandwidth transfer information based on the load status information of the second slave gateway and the signal strength alarm information sent by the first slave gateway, wherein the bandwidth transfer information is used to represent the bandwidth resources transferred from the FTTR master gateway to the second slave gateway required by the master gateway management system to ensure the stable operation of the FTTR network; The third unit is used to transfer the bandwidth resource from the FTTR master gateway to the second slave gateway based on the bandwidth transfer information, so that the user terminal can use the network service normally by connecting to the second slave gateway.
9. A terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the method according to any one of claims 1 to 7.
10. A medium, characterized in that The medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Network flow adjusting method, device and network system
CN115086240A
Terminal roaming method and system in passive optical network system
CN116055925A