A method and device for sending data between a master gateway and a slave gateway based on FTTR

By dividing areas and configuring hub-connected devices in the FTTR network, classifying and marking the data of the lower-hook device and adjusting the network status, the data transmission synchronization problem between master and slave gateway devices is solved, and efficient utilization of network resources and improved user experience is achieved.

CN120151702BActive Publication Date: 2025-07-11YIBIN HUAXUN OPTICAL COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510616857.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-07-11
Estimated Expiration
2045-05-14

AI Technical Summary

Technical Problem

In the FTTR network, there is a synchronization problem in data transmission between master and slave gateway devices, especially the data volume and timeliness requirements generated by different types of devices are different, resulting in network congestion and a decline in user experience.

Method used

The FTTR network is divided into regions, and each region is equipped with a central connection device. By initially classifying and marking the data of the lower-end device, adjusting the data transmission strategy based on network status information, giving priority to ensuring high-timed data transmission, and predicting network congestion through machine learning, making collaborative decisions to optimize the data transmission strategy.

Benefits of technology

It improves network resource utilization, improves users' network stability and reliability, adapts to complex and changeable network environments, and significantly improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151702B_ABST
    Figure CN120151702B_ABST
Patent Text Reader

Abstract

The present application relates to a method and device for sending master-slave gateway data based on FTTR, belonging to the technical field of FTTR. The method includes: dividing the FTTR network into several regions; wherein, one of the slave gateway devices in each of the regions is configured as a central connection device; the central connection device is communicatively connected to all the slave gateway devices in the divided region and is connected to the master gateway device; receiving the data of the attached devices uploaded by the slave gateway devices; the slave gateway devices perform preliminary classification and marking on the data of the attached devices based on the device type, data service type, and timeliness requirements of data transmission; the central connection device determines the data classification situation based on the received data of the attached devices and the preliminary classification and marking; receiving the network status information sent by the slave gateway devices; and adjusting the data sending strategy to the master gateway device according to the network status information of each slave gateway device and the data classification situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of FTTR, and in particular, to a master-slave gateway data sending method and device based on FTTR. Background Art

[0002] With the rapid development of Internet technology, users' requirements for network bandwidth and stability are increasing day by day. As an emerging fiber access technology, FTTR (Fiber to The Room) can provide users with ultra-high-speed network connections up to gigabit or even ten-gigabit by directly extending optical fibers to each room, effectively meeting the needs of high-bandwidth services such as high-definition video transmission, online games, and cloud office in places such as homes and enterprises. Different from traditional FTTH (Fiber to The Home) which only lays optical fibers to the entrance of the home and then covers the indoor area through network cables or Wi-Fi, FTTR greatly improves the intensity and stability of indoor network signals and eliminates network dead spots.

[0003] However, during the actual operation of the FTTR network, the synchronization problem between the master and slave gateway devices has gradually emerged. Since there are multiple slave gateway devices in the FTTR network, these devices are distributed in different areas and are each connected to a large number of subordinate devices such as smartphones, smart home appliances, and computers. The slave gateway devices need to upload the data generated by the subordinate devices to the master gateway device. In this process, how to perform data transmission reasonably and efficiently becomes a key issue. The data volumes, data service types, and requirements for data transmission timeliness generated by different types of devices are different. For example, real-time video conferencing has extremely high requirements for the timeliness and stability of data transmission, and even a slight delay or packet loss will seriously affect the meeting quality; while the requirement for timeliness of ordinary file download services is relatively low. If these data cannot be effectively classified and managed, it is easy to cause network congestion, and high-priority data cannot be transmitted in time, seriously affecting the user experience.

[0004] How to solve the above technical problems is a technical problem that those skilled in the art need to overcome. Summary of the Invention

[0005] In order to at least partially solve the above technical problems, this application provides a master-slave gateway data sending method and device based on FTTR.

[0006] In the first aspect, a master-slave gateway data sending method based on FTTR provided by this application adopts the following technical solutions.

[0007] A master-slave gateway data sending method based on FTTR, comprising:

[0008] Divide the FTTR network into several regions; among them, one of the slave gateway devices in each region is configured as a central connection device; the central connection device is communicatively connected to all the slave gateway devices in the divided region and is connected to the master gateway device;

[0009] Receive the data of the attached devices uploaded by the slave gateway devices; the slave gateway devices perform preliminary classification and marking on the data of the attached devices based on the device type, data service type, and timeliness requirements of data transmission; the central connection device determines the data classification situation based on the received data of the attached devices and the preliminary classification and marking;

[0010] Receive the network status information sent by the slave gateway devices;

[0011] Adjust the data sending strategy to the master gateway device according to the network status information and data classification situation of each slave gateway device.

[0012] By adopting the above technical solution, the gateway device performs preliminary classification and marking on the data of the attached devices based on multiple dimensions, and then the central connection device determines the data classification situation to identify the importance and urgency of the data; after receiving the network status information sent by the slave gateway devices, the data sending strategy to the master gateway device is adjusted in combination with the data classification situation. For example, if the network status in a certain region is poor and high-timeliness video conference data is being transmitted, the transmission of such data can be preferentially guaranteed, and the sending frequency of low-priority data can be reduced, which can adapt to complex and changeable network environments and diverse data service requirements, improve the utilization rate of network resources, thereby providing users with stable and reliable network services and significantly enhancing the user's network usage experience.

[0013] Optionally, adjusting the data sending strategy to the master gateway device according to the network status information and data classification situation of each slave gateway device includes:

[0014] After receiving the network status information and data classification situation of the slave gateway devices, the central connection device inputs the network status information into the trained machine learning model to predict the possible congestion or interference situation in the network in the next period of time;

[0015] According to the prediction result and the current data classification situation, the central connection device generates the corresponding data sending strategy; if it is predicted that the network is about to be congested, the transmission of high-priority data is guaranteed, and the sending frequency of low-priority data is reduced.

[0016] Optionally, the method further includes:

[0017] The central connection device determines the adjacent regions of the region where it is located based on the topology structure information of the FTTR network;

[0018] The central connection device periodically conducts handshake communication with the central connection devices in adjacent regions to confirm the online status of the adjacent central connection devices; among them, when the data sending strategy of one of the central connection devices is adjusted, the adjusted data sending strategy is broadcast to the central connection devices in adjacent regions.

[0019] After the current central connection device receives the data sending strategy sent by the central connection device in the adjacent region, it evaluates the correlation between the network conditions in the adjacent region and the network conditions in this region.

[0020] When the evaluation result shows that the network conditions in the adjacent region have a significant impact on this region, the central connection devices in the adjacent regions make collaborative decisions to formulate an optimized data sending strategy.

[0021] Optionally, evaluating the correlation between the network conditions in the adjacent region and the network conditions in this region includes:

[0022] The central connection device integrates the received network condition information and data sending strategy in the adjacent region and the corresponding information in this region into a multi-dimensional array for storage according to the time series; each dimension of the array corresponds to different network metrics or policy parameters; each element of the array represents the data at the corresponding time point; the network condition information includes bandwidth utilization rate, latency, and packet loss rate; the data sending strategy includes the sending frequency of low-priority data.

[0023] Based on the data in the multi-dimensional array, calculate the average bandwidth utilization rate, packet loss rate, and the proportion of low-priority data transmission volume in the total transmission volume in each region within the first time period.

[0024] Calculate the correlation coefficient between the corresponding characteristics of the average bandwidth utilization rate, packet loss rate, and low-priority data transmission ratio in the adjacent region and this region.

[0025] When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that the network conditions in the adjacent region have a significant impact on the network conditions in this region.

[0026] Optionally, the central connection devices in the adjacent regions make collaborative decisions to formulate an optimized data sending strategy, including:

[0027] The central connection device evaluates the current data sending strategies in each region with the goal of maximizing the overall network throughput, minimizing the data transmission latency, and balancing the device load based on the received network condition information and data sending strategy in the adjacent region; the overall network throughput is the total amount of data successfully transmitted in each region per unit time; the data transmission latency is the average time for data to travel from the sender to the receiver; the device load balancing is to minimize the variance of the device loads in each region.

[0028] Based on the evaluation results, combined with the business characteristics and network requirements of the current region, propose a preliminary data sending strategy adjustment plan to determine the range of adjustment parameters and the expected network performance indicators to be achieved;

[0029] Adjust each preliminary plan based on the principle of optimal overall network performance to determine the final optimized data sending strategy;

[0030] Send the finally determined optimized data sending strategy to the slave gateway devices within this region so that the slave gateway devices send data according to the new strategy.

[0031] Optionally, based on the evaluation results, combined with the business characteristics and network requirements of the current region, propose a preliminary data sending strategy adjustment plan to determine the range of adjustment parameters and the expected network performance indicators to be achieved, including:

[0032] Construct a multi-objective optimization model with the goals of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load; set corresponding weights for each goal;

[0033] Calculate the change trend of the average bandwidth utilization rate, the fluctuation range of the delay, and the peak and valley values of the packet loss rate in the past second time period for each region, which are recorded as network condition characteristics; calculate the sending ratio of high-priority data to low-priority data and the data sending time interval in the past half hour for each region in the past second time period, which are recorded as data sending strategy characteristics;

[0034] Input the extracted network condition characteristics and data sending strategy characteristics into the multi-objective optimization model to evaluate the current data sending strategies of each region, calculate the scores of each strategy under each goal, and calculate the comprehensive score according to the set weights;

[0035] Analyze the influence degree of each strategy on each goal to find out the deficiencies in the current strategy to obtain the strategy evaluation results;

[0036] Analyze the business characteristics of the current region, and the business characteristics include business type, business volume size, and the time distribution law of the business;

[0037] Propose a preliminary data sending strategy adjustment plan according to the strategy evaluation results and business characteristics; the data sending strategy adjustment plan includes adjustment suggestions for data sending frequency, bandwidth allocation, and data priority setting.

[0038] Optionally, the method further includes:

[0039] After receiving the data sent by the central connection device, the slave gateway device verifies the data, and the central connection device starts a feedback monitoring timer to monitor whether the slave gateway device feeds back the data reception situation;

[0040] If the central connection device receives the data reception success information feedback from the gateway device before the timer times out, stop the feedback monitoring timer and record the successful data transmission log for this time; if it receives the data reception failure or data verification error information feedback from the gateway device, the central connection device marks the data transmission failure for this time.

[0041] In a second aspect, a master-slave gateway data sending device based on FTTR provided by the present application adopts the following technical solution.

[0042] A master-slave gateway data sending device based on FTTR includes:

[0043] A first processing module, configured to: divide the FTTR network into several regions; wherein, one of the slave gateway devices in each of the regions is configured as a central connection device; the central connection device is communicatively connected to all the slave gateway devices in the divided region and is connected to the master gateway device;

[0044] A second processing module, configured to: receive the data of the attached devices uploaded by the slave gateway devices; the slave gateway devices perform preliminary classification and marking on the data of the attached devices based on the device type, data service type, and data transmission timeliness requirements; the central connection device determines the data classification situation based on the received data of the attached devices and the preliminary classification and marking;

[0045] A third processing module, configured to: receive the network status information sent by the slave gateway devices;

[0046] A fourth processing module, configured to: adjust the data sending strategy to the master gateway device according to the network status information of each slave gateway device and the data classification situation.

[0047] In a third aspect, the present application discloses an electronic device, including a memory and a processor, and a computer program that is stored on the memory and is loaded and executed by the processor to implement any of the above methods.

[0048] In a fourth aspect, the present application discloses a computer-readable storage medium, storing a computer program that can be loaded and executed by a processor to implement any of the above methods. Description of the Drawings

[0049] Figure 1 is a flowchart of a master-slave gateway data sending method based on FTTR according to an embodiment of the present application;

[0050] Figure 2 is a system block diagram of a master-slave gateway data sending device based on FTTR according to an embodiment of the present application;

[0051] In the figure, 201, the first processing module; 202, the second processing module; 203, the third processing module; 204, the fourth processing module. Specific embodiments

[0052] The following will further illustrate the present application in conjunction with the appended Figure 1-2 drawings and specific embodiments:

[0053] An embodiment of the present application discloses a method for sending master - slave gateway data based on FTTR, including the following steps:

[0054] Step S101: Divide the FTTR network into several regions; among them, one of the slave gateway devices in each region is configured as a central connection device; the central connection device is communicatively connected to all the slave gateway devices in the divided region and is connected to the master gateway device. Specifically, FTTR means Fiber to The Room, which means fiber to the room. On the one hand, the central connection device is responsible for establishing a communication connection with all the slave gateway devices in the region and collecting various types of information uploaded by the slave gateway devices, including data of the attached devices and network status information; on the other hand, the central connection device is connected to the master gateway device, transmits the processed data and related information to the master gateway device, and at the same time receives the instructions from the master gateway device and conveys them to the slave gateway devices. The slave gateway device, as a distributed node device in the FTTR network, is directly connected to the attached devices such as computers, mobile phones, smart home appliances, etc., and is responsible for collecting the data generated by the attached devices, and preliminarily classifying and marking these data according to the device type (such as different devices like smart cameras, smart speakers, etc.), data service type (such as video service, file transfer service, etc.) and the timeliness requirements of data transmission (such as real - time video conference data requires low latency, and ordinary file download has relatively lower requirements for timeliness), and then uploading the data and marking information to the central connection device

[0055] Step S102: Receive the data of the attached devices uploaded by the slave gateway device; the slave gateway device preliminarily classifies and marks the data of the attached devices based on the device type, data service type and the timeliness requirements of data transmission; the central connection device determines the data classification situation based on the received data of the attached devices and the preliminary classification marks.

[0056] Step S103: Receive the network status information sent by the slave gateway device.

[0057] Step S104: Adjust the data sending strategy to the master gateway device according to the network status information of each slave gateway device and the data classification situation.

[0058] Specifically, the gateway device preliminarily classifies and tags the data of the attached devices based on multiple dimensions, and then the central connection device determines the data classification situation to identify the importance and urgency of the data; after receiving the network status information sent from the gateway device, it adjusts the data sending strategy for the main gateway device in combination with the data classification situation. For example, if the network status in a certain area is poor and high-timeliness video conference data is being transmitted, the transmission of such data can be prioritized to reduce the sending frequency of low-priority data, which can adapt to complex and changeable network environments and diverse data service requirements, improve the utilization rate of network resources, and thus provide users with stable and reliable network services, significantly enhancing the user's network usage experience.

[0059] The following is an example for illustration:

[0060] With the popularization of smart homes, each family in the community has a large number of smart devices connected to the network, such as smart door locks, cameras, household appliances, etc. The slave gateway device is responsible for collecting the data of the internal devices of the family, but for the overall network management of the community, directly connecting the main gateway to numerous slave gateways will lead to too high a management complexity. The central connection device can act as an intermediate layer to preliminarily process and classify the data of the slave gateways of each family in the community. For example, distinguish the data of security devices (such as smart camera monitoring data) from the data of ordinary household appliance control, and optimize the data sending strategy to the main gateway according to the importance, timeliness and network status of the data, improve the security and stability of the community network, and ensure the smart life experience of residents.

[0061] As a specific implementation manner of a method for sending data between a master gateway and a slave gateway based on FTTR, the network status information includes bandwidth utilization rate, latency and packet loss rate; the data sending strategy includes the sending frequency of low-priority data.

[0062] As a specific implementation manner of a method for sending data between a master gateway and a slave gateway based on FTTR, the method further includes:

[0063] The central connection device determines the adjacent areas of the area based on the topology structure information of the FTTR network;

[0064] The central connection device periodically conducts handshake communication with the central connection devices in the adjacent areas to confirm the online status of the adjacent central connection devices; among them, when the data sending strategy of one of the central connection devices is adjusted, it broadcasts the adjusted data sending strategy to the central connection devices in the adjacent areas;

[0065] After the current central connection device receives the data sending strategy sent by the central connection device in the adjacent area, it evaluates the correlation between the network status of the adjacent area and the network status of the local area;

[0066] When the evaluation results show that the network conditions of adjacent regions have a significant impact on this region, the central connection devices in the adjacent regions make collaborative decisions to formulate an optimized data transmission strategy.

[0067] Specifically, the central connection device conducts handshake communication with the central connection devices in adjacent regions to ensure that the adjacent central connection devices are online. When a central connection device adjusts its data transmission strategy and broadcasts this change to adjacent regions, after receiving the strategy, the central connection devices in the adjacent regions will evaluate the correlation of the network conditions between the two parties. When the evaluation results indicate that the network conditions of the adjacent regions have a significant impact on this region, the central connection devices in the adjacent regions make collaborative decisions. For example, when a large amount of data transmission suddenly occurs in a certain region, causing network congestion, its adjacent regions can flexibly adjust their own data transmission frequencies or reasonably allocate bandwidth resources through collaborative decisions, avoiding more data from flowing into the congested region. At the same time, they can utilize their relatively abundant network resources to assist in sharing part of the data transmission tasks, improving the ability of the entire FTTR network to cope with complex dynamic environments and enhancing the stability and reliability of the network.

[0068] As a specific implementation manner of a master-slave gateway data transmission method based on FTTR, the evaluation of the correlation between the network conditions of adjacent regions and the network conditions of this region includes:

[0069] The central connection device integrates the received network condition information and data transmission strategy of the adjacent region and the corresponding information of this region into a multi-dimensional array for storage according to the time series; each dimension of the array corresponds to different network metrics or policy parameters; each element of the array represents the data at the corresponding time point;

[0070] Based on the data in the multi-dimensional array, calculate the average bandwidth utilization rate, packet loss rate, and the proportion of low-priority data transmission volume in the total transmission volume of each region within the first time period;

[0071] Calculate the correlation coefficient between the corresponding features of the average bandwidth utilization rate, packet loss rate, and low-priority data transmission ratio of the adjacent region and this region;

[0072] When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that the network conditions of the adjacent region have a significant impact on the network conditions of this region.

[0073] Specifically, the central connection device integrates the network status information and data sending policies of adjacent regions and this region into a multi-dimensional array for storage according to the time series. Each dimension corresponds to different network metrics or policy parameters, and each element represents the data at the corresponding time point. Based on this multi-dimensional array data, calculate the average bandwidth utilization rate, packet loss rate, and the proportion of low-priority data transmission volume in the total transmission volume of each region within the first time period, and quantify the network operation status of each region during this period. Then calculate the correlation coefficient between the adjacent region and this region for these key features. The corresponding features can be understood as a pair of corresponding features, such as the average bandwidth utilization rate of the adjacent region and this region, and the same is true for the packet loss rate and the proportion of low-priority data transmission. Details are not elaborated here. When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that there is a significant impact. For example, when the correlation coefficient between the average bandwidth utilization rate of the adjacent region and this region is relatively high and greater than the threshold, it indicates that the bandwidth usage of the two is closely related. If the adjacent region experiences a bandwidth shortage, this region can make preparations in advance, such as adjusting the data sending policy and reasonably allocating bandwidth, to avoid a decline in the network performance of this region due to network fluctuations in the adjacent region. In this way, the perception ability and response ability of the FTTR network to changes in the network status between regions are effectively improved, ensuring the stable operation of the network.

[0074] As one of the implementation methods of the master-slave gateway data sending method based on FTTR, the central connection devices between adjacent regions make collaborative decisions to formulate an optimized data sending policy, including:

[0075] Based on the received network status information and data sending policies of adjacent regions, the central connection device evaluates the current data sending policies of each region with the goal of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load. The overall network throughput is the total amount of data successfully transmitted by each region per unit time. The data transmission delay is the average time for data to travel from the sender to the receiver. The device load balancing is to minimize the variance of the device loads in each region.

[0076] According to the evaluation results, combined with the business characteristics and network requirements of the current region, propose a preliminary data sending policy adjustment plan to determine the adjustment parameter range and the expected network performance indicators to be achieved.

[0077] Adjust each preliminary plan with the principle of optimal overall network performance to determine the final optimized data sending policy.

[0078] Send the finally determined optimized data sending policy to the slave gateway devices within this region so that the slave gateway devices send data according to the new policy.

[0079] Specifically, with the goal of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load, the central connection device evaluates the current data sending strategies of each region. By analyzing the total amount of data successfully transmitted per unit time in each region (i.e., the overall network throughput), the actual utilization of network resources in different regions can be understood; by focusing on the average time for data to travel from the sender to the receiver (data transmission delay), the bottleneck points in the data transmission process can be identified; and by minimizing the variance of the device load in each region (device load balancing), it is ensured that the network devices do not experience the situation of some being overloaded and some being idle. Based on the evaluation results, a preliminary adjustment plan is proposed in combination with the business characteristics and network requirements of the current region. Different regions have different business types. For example, some regions may mainly focus on real-time video services, which are extremely sensitive to data transmission delay; while other regions may focus on file storage and transmission and are more concerned about the overall network throughput. The central connection device determines the adjustment parameter range and expects to achieve the corresponding network performance indicators according to these differences, making the strategy adjustment more suitable for the actual application scenario. The preliminary plan is adjusted again with the principle of the optimal overall network performance to ensure coordination among regions and avoid local optimization that may damage the overall performance. For example, if a region over-occupies bandwidth to improve its own throughput, it may cause a significant increase in the data transmission delay of adjacent regions, and such a situation can be avoided through overall optimization. The determined optimization strategy is sent to the slave gateway device for execution. By sending data according to the new strategy, the slave gateway device can effectively improve the overall operation status of the network. For example, during peak network hours, through strategies such as reasonable bandwidth allocation and adjustment of data sending priorities, the smooth progress of high-priority services (such as online video conferencing) can be guaranteed, and at the same time, low-priority services (such as ordinary file downloads) can also be carried out in an orderly manner without affecting the overall performance.

[0080] As one of the implementation manners of a master-slave gateway data sending method based on FTTR, according to the evaluation results and combined with the business characteristics and network requirements of the current region, a preliminary adjustment plan for the data sending strategy is proposed to determine the adjustment parameter range and the expected network performance indicators to be achieved, including:

[0081] With the goal of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load, a multi-objective optimization model is constructed; corresponding weights are set for each objective;

[0082] Calculate the change trend of the average bandwidth utilization rate, the fluctuation range of the delay, and the peak and valley values of the packet loss rate in the past second time period for each region, which are recorded as network condition characteristics; calculate the sending ratio of high-priority data to low-priority data and the data sending time interval in the past half hour for each region in the past second time period, which are recorded as data sending strategy characteristics;

[0083] Input the extracted network condition features and data sending strategy features into the multi-objective optimization model, evaluate the current data sending strategies in each region to calculate the scores of each strategy under each objective, and calculate the comprehensive score according to the set weights;

[0084] Analyze the influence degree of each strategy on each objective to find out the deficiencies in the current strategy to obtain the strategy evaluation result;

[0085] Analyze the service characteristics of the current region, where the service characteristics include service type, service volume size, and time distribution law of the service;

[0086] Propose a preliminary data sending strategy adjustment plan according to the strategy evaluation result and service characteristics; the data sending strategy adjustment plan includes adjustment suggestions for data sending frequency, bandwidth allocation, and data priority setting.

[0087] Specifically, construct a multi-objective optimization model with the goals of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load, and set weights for each objective; for example, in a certain time period, if the proportion of real-time video services in the region is relatively large, the weight of the objective of minimizing the data transmission delay can be appropriately increased to ensure smooth video playback. Calculate the network condition features and data sending strategy features of each region in the past second time period, input these features into the multi-objective optimization model for evaluation, calculate the scores and comprehensive scores of each strategy under each objective, analyze the influence degree of each strategy on each objective, and find out the deficiencies in the current strategy. If a certain strategy has a low score under the goal of maximizing the overall network throughput, it is found through analysis that the bandwidth allocation is unreasonable, resulting in idle bandwidth in some regions and tight bandwidth in some regions. Analyze the service characteristics of the current region, including service type, service volume size, and time distribution law. If the service volume in a certain region increases significantly during the evening period, and mainly consists of online games and high-definition video services, these services have high requirements for network latency and bandwidth. Based on this, combined with the strategy evaluation result, propose a preliminary data sending strategy adjustment plan. Provide adjustment suggestions for data sending frequency, bandwidth allocation, and data priority setting.

[0088] For the peak service volume period, increase the data sending frequency, reasonably allocate the bandwidth, and give priority to ensuring the data transmission of high-priority services such as online games and high-definition videos, which can better adapt to the service requirements in the region and effectively improve the overall network performance. Through more reasonable bandwidth allocation, the overall network throughput can be increased; the latency fluctuation can be reduced, and the data transmission delay can be decreased; the device load can be balanced, and the device can be prevented from being overloaded or idle due to uneven services.

[0089] As one of the implementation manners of a master-slave gateway data sending method based on FTTR, the method further includes:

[0090] After the gateway device receives the data sent by the central connection device, it verifies the data, and the central connection device starts a feedback monitoring timer to monitor whether the gateway device feeds back the data reception status;

[0091] If the central connection device receives a data reception success message fed back from the gateway device before the timer times out, it stops the feedback monitoring timer and records the log of successful data transmission this time; if it receives a data reception failure or data verification error message fed back from the gateway device, the central connection device marks this data transmission as failed.

[0092] This application also provides a master-slave gateway data sending device based on FTTR, including:

[0093] A first processing module 201, configured to: divide the FTTR network into several regions; wherein, one of the slave gateway devices in each of the regions is configured as a central connection device; the central connection device is communicatively connected to all the slave gateway devices in the divided region and is connected to the master gateway device;

[0094] A second processing module 202, configured to: receive the data of the attached devices uploaded by the slave gateway devices; the slave gateway devices perform preliminary classification and marking on the data of the attached devices based on the device type, data service type, and data transmission timeliness requirements; the central connection device determines the data classification situation based on the received data of the attached devices and the preliminary classification and marking;

[0095] A third processing module 203, configured to: receive the network status information sent by the slave gateway devices;

[0096] A fourth processing module 204, configured to: adjust the data sending policy to the master gateway device according to the network status information and data classification situation of each slave gateway device.

[0097] This application embodiment also discloses an electronic device.

[0098] Specifically, the device includes a memory and a processor, and a computer program capable of being loaded and executed by the processor is stored on the memory, and the computer program is used to execute any one of the above-mentioned master-slave gateway data sending methods based on FTTR.

[0099] The embodiments of the present application also disclose a computer-readable storage medium. Specifically, the computer-readable storage medium stores a computer program that can be loaded and executed by a processor and is the same as any one of the above-mentioned master-slave gateway data sending methods based on FTTR. The computer-readable storage medium includes, for example, various media that can store program codes such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs.

[0100] It should be noted that the above embodiments are only used to illustrate the present application and do not limit the technical solutions described in the present application. Although this specification has described the present application in detail with reference to the above embodiments, those of ordinary skill in the art should understand that those skilled in the art can still modify or equivalently replace the present application, and all technical solutions and improvements that do not depart from the spirit and scope of the present application should be covered within the scope of the claims of the present application.

Claims

1. A method for sending master-slave gateway data based on FTTR, characterized in that, Including: Dividing the FTTR network into several regions; wherein, in each of the regions, one of the slave gateway devices is configured as a central connection device; the central connection device is communicatively connected to all the slave gateway devices in the divided region and is connected to the master gateway device; Receiving the data of the subordinate devices uploaded by the slave gateway devices; the slave gateway devices perform preliminary classification and marking on the data of the subordinate devices based on the device type, data service type, and timeliness requirements of data transmission; the central connection device determines the data classification situation based on the received data of the subordinate devices and the preliminary classification and marking; Receiving the network status information sent by the slave gateway devices; Adjusting the data sending strategy to the master gateway device according to the network status information of each slave gateway device and the data classification situation; The method further includes: The central connection device determines the adjacent regions of the region where it is located based on the topology structure information of the FTTR network; The central connection device periodically performs handshake communication with the central connection devices in the adjacent regions to confirm the online status of the adjacent central connection devices; wherein, when the data sending strategy of one of the central connection devices is adjusted, the adjusted data sending strategy is broadcast to the central connection devices in the adjacent regions; After the current central connection device receives the data sending strategy sent by the central connection device in the adjacent region, it evaluates the correlation between the network status of the adjacent region and the network status of the region where it is located; When the evaluation result shows that the network status of the adjacent region has a significant impact on the region where it is located, the central connection devices in the adjacent regions perform collaborative decision-making to formulate an optimized data sending strategy; Evaluating the correlation between the network status of the adjacent region and the network status of the region where it is located includes: The central connection device integrates the received network status information and data sending strategy of the adjacent region and the corresponding information of the region where it is located into a multi-dimensional array according to the time series for storage; each dimension of the array corresponds to different network metrics or policy parameters; each element of the array represents the data at the corresponding time point; Calculating the average bandwidth utilization rate, packet loss rate, and the proportion of low-priority data transmission volume in the total transmission volume of each region within the first time period based on the data in the multi-dimensional array; Calculating the correlation coefficient between the corresponding features of the average bandwidth utilization rate, packet loss rate, and low-priority data transmission ratio of the adjacent region and the region where it is located; When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that the network status of the adjacent region has a significant impact on the network status of the region where it is located.

2. The method for sending master-slave gateway data based on FTTR according to claim 1, wherein, The network status information includes bandwidth utilization rate, latency, and packet loss rate; the data sending strategy includes the low-priority data sending frequency.

3. A method for sending master-slave gateway data based on FTTR according to claim 2, characterized in that The central connection devices in the adjacent regions perform collaborative decision-making to formulate an optimized data sending strategy, including: Based on the received adjacent area network status information and data transmission policies, the central connection device evaluates the current data transmission policies of each area with the goals of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load; the overall network throughput is the total amount of data successfully transmitted by each area per unit time; the data transmission delay is the average time for data to travel from the sender to the receiver; and the device load balance is to minimize the variance of the device loads of each area. Based on the evaluation results, combined with the business characteristics and network requirements of the current area, a preliminary data transmission policy adjustment plan is proposed to determine the adjustment parameter range and the expected network performance indicators to be achieved. Adjust each preliminary plan with the principle of optimal overall network performance to determine the final optimized data transmission policy. The finally determined optimized data transmission policy is sent to the slave gateway devices within this area so that the slave gateway devices send data according to the new policy.

4. A master-slave gateway data sending method based on FTTR according to claim 3, characterized in that Based on the evaluation results, combined with the business characteristics and network requirements of the current area, a preliminary data transmission policy adjustment plan is proposed to determine the adjustment parameter range and the expected network performance indicators to be achieved, including: With the goals of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load, a multi-objective optimization model is constructed; corresponding weights are set for each goal. Calculate the change trend of the average bandwidth utilization rate, the fluctuation range of the delay, and the peak and valley values of the packet loss rate in the past second time period for each area, which are recorded as network status characteristics; calculate the transmission ratio of high-priority data to low-priority data and the data transmission time interval in the past half hour for each area in the past second time period, which are recorded as data transmission policy characteristics. Input the extracted network status characteristics and data transmission policy characteristics into the multi-objective optimization model to evaluate the current data transmission policies of each area, calculate the scores of each policy under each goal, and calculate the comprehensive score according to the set weights. Analyze the influence degree of each policy on each goal to find out the deficiencies in the current policy to obtain the policy evaluation results. Analyze the business characteristics of the current area, where the business characteristics include the business type, the volume of business, and the time distribution law of the business. Based on the policy evaluation results and business characteristics, a preliminary data transmission policy adjustment plan is proposed; the data transmission policy adjustment plan includes adjustment suggestions for the data transmission frequency, bandwidth allocation, and data priority setting.

5. A master-slave gateway data sending method based on FTTR according to claim 4, characterized in that, The method further includes: After receiving the data sent by the central connection device, the slave gateway device verifies the data, and the central connection device starts a feedback monitoring timer to monitor whether the slave gateway device feedbacks the data reception situation. If before the timer times out, the central connection device receives the data reception success information feedback from the slave gateway device, stop the feedback monitoring timer and record the successful data transmission log this time; if it receives the data reception failure or data verification error information feedback from the slave gateway device, the central connection device marks this data transmission as failed.

6. A master-slave gateway data sending device based on FTTR, characterized in that, Including: The first processing module is used to: divide the FTTR network into several regions; wherein, in each of the regions, one of the slave gateway devices is configured as a central connection device; the central connection device is communicatively connected to all the slave gateway devices in the divided region and is connected to the master gateway device; The second processing module is used to: receive the data of the attached devices uploaded by the slave gateway devices; the slave gateway devices perform preliminary classification and marking on the data of the attached devices based on the device type, data service type, and timeliness requirements of data transmission; the central connection device determines the data classification situation based on the received data of the attached devices and the preliminary classification and marking; The third processing module is used to: receive the network status information sent by the slave gateway devices; The fourth processing module is used to: adjust the data sending strategy to the master gateway device according to the network status information of each slave gateway device and the data classification situation; Wherein, the central connection device determines the adjacent regions of the region where it is located based on the topology structure information of the FTTR network; The central connection device periodically performs handshake communication with the central connection devices in the adjacent regions to confirm the online status of the adjacent central connection devices; wherein, when the data sending strategy of one of the central connection devices is adjusted, the adjusted data sending strategy is broadcast to the central connection devices in the adjacent regions; After the current central connection device receives the data sending strategy sent by the central connection device in the adjacent region, it evaluates the correlation between the network status of the adjacent region and the network status of this region; When the evaluation result shows that the network status of the adjacent region has a significant impact on this region, the central connection devices in the adjacent regions perform collaborative decision-making to formulate an optimized data sending strategy; Evaluating the correlation between the network status of the adjacent region and the network status of this region includes: The central connection device integrates the received network status information and data sending strategy of the adjacent region and the corresponding information of this region into a multi-dimensional array for storage according to the time series; each dimension of the array corresponds to different network metrics or policy parameters; each element of the array represents the data at the corresponding time point; Based on the data in the multi-dimensional array, calculate the average bandwidth utilization rate, packet loss rate, and the proportion of low-priority data transmission volume in the total transmission volume of each region within the first time period; Calculate the correlation coefficient between the corresponding features of the average bandwidth utilization rate, packet loss rate, and low-priority data transmission ratio of the adjacent region and this region; When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that the network status of the adjacent region has a significant impact on the network status of this region.

7. An electronic device, characterized in that, It includes a memory and a processor, and a computer program of any one of the methods as claimed in claims 1 to 5 is stored on the memory and loaded and executed by the processor.

8. A computer-readable storage medium, characterized in that, Stores a computer program that can be loaded and executed by the processor, such as any one of the methods as claimed in claims 1 to 5.

Citation Information

Patent Citations

  • Connection establishment method and apparatus

    CN108156160A

  • Monitoring of distributed systems

    GB201814131D0