Master-slave gateway equipment synchronization method and device based on FTTR

By dividing areas and configuring hub-connected devices in the FTTR network, the data transmission synchronization problem between master and slave gateway devices is solved, efficient management of diversified data services and optimized utilization of network resources are achieved, and user experience is significantly improved.

CN120151702AActive Publication Date: 2025-06-13YIBIN HUAXUN OPTICAL COMM CO LTD

Patent Information

Application Number
CN202510616857.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-06-13
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, resulting in network congestion and high-priority data cannot be transmitted in time, seriously affecting the user experience.

Method used

By dividing the FTTR network into multiple areas, each area is configured with a hub connection device, which is connected to all slave gateway devices and main gateway devices, receives lower device data and network status information, classifies the data based on multi-dimensional classification, and adjusts the data sending strategy according to network status.

Benefits of technology

It realizes efficient classification and management of data of downhook equipment, adapts to complex and changeable network environments and diversified data business needs, improves the utilization rate of network resources, and significantly improves the user's network usage experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151702A_ABST
    Figure CN120151702A_ABST
Patent Text Reader

Abstract

The invention relates to an FTTR-based master-slave gateway equipment synchronization method and device, and relates to the technical field of FTTRs, and the method comprises the steps: dividing an FTTR network into a plurality of regions; wherein each area configures one of the slave gateway devices as a central connection device; the central connection device is in communication connection with all the slave gateway devices in the divided area and is connected with the main gateway device; receiving under-hanging device data uploaded from the gateway device; the slave gateway equipment preliminarily classifies and marks the data of the lower equipment based on the equipment type, the data service type and the timeliness requirement of data transmission; the central connection device determines a data classification condition based on the received lower-mounted device data and the preliminary classification mark; receiving network condition information sent from the gateway equipment; and according to the network condition information and the data classification condition of each slave gateway device, adjusting a data sending strategy of the master gateway device.
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 method and device for synchronizing master and slave gateway devices 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 of 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 strength and stability of indoor network signals and eliminates network dead spots. 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 smart phones, 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. Slight delays or packet losses 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. How to solve the above technical problems is a technical problem that those skilled in the art need to overcome. Summary of the Invention

[0003] To at least partially solve the above technical problems, this application provides a method and device for synchronizing master and slave gateway devices based on FTTR.

[0004] In the first aspect, a method for synchronizing master and slave gateway devices based on FTTR provided by this application adopts the following technical solutions.

[0005] A method for synchronizing master and slave gateway devices based on FTTR includes: 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; Receive the data of the subordinate devices uploaded by the slave gateway device; the slave gateway device preliminarily classifies and marks 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 marks; Receive the network status information sent by the slave gateway device; 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.

[0006] By adopting the above technical solution, the gateway device preliminarily classifies and marks the data of the subordinate 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 device, the data sending strategy to the master gateway device is adjusted in combination with the data classification situation. For example, if the network status of 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.

[0007] 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: After receiving the network status information and data classification situation of the slave gateway device, 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; According to the prediction result and the current data classification situation, the central connection device generates a 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.

[0008] Optionally, the method further includes: The central connection device determines the adjacent regions of the region based on the topology structure information of the FTTR network; The central connection device periodically conducts handshake communication with the central connection devices in the 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 the adjacent regions; 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 conditions in the adjacent area and the network conditions in this area; When the evaluation result shows that the network conditions in the adjacent area have a significant impact on this area, the central connection devices in the adjacent area make collaborative decisions to formulate an optimized data sending strategy.

[0009] Optionally, evaluating the correlation between the network conditions in the adjacent area and the network conditions in this area includes: The central connection device integrates the received network condition information and data sending strategy in the adjacent area and the corresponding information in this area 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 low-priority data sending frequency; 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 area within the first time period; 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 area and this area; When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that the network conditions in the adjacent area have a significant impact on the network conditions in this area.

[0010] Optionally, the central connection devices in the adjacent area make collaborative decisions to formulate an optimized data sending strategy, including: Based on the received network condition information and data sending strategy in the adjacent area, the central connection device evaluates the current data sending strategies in each area with the goal of maximizing the overall network throughput, minimizing the data transmission latency, and balancing the device load; the overall network throughput is the total amount of data successfully transmitted in each area 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 area; According to the evaluation result, combined with the business characteristics and network requirements of the current area, propose a preliminary data sending strategy adjustment plan to determine the adjustment parameter range and the expected network performance indicators to be achieved; Adjust each preliminary plan based on the principle of optimal overall network performance to determine the final optimized data sending strategy; Send the finally determined optimized data sending strategy to the slave gateway devices in this area so that the slave gateway devices send data according to the new strategy.

[0011] Optionally, based on the evaluation results, combined with the business characteristics and network requirements of the current region, a preliminary data transmission strategy adjustment plan is proposed to determine the adjustment parameter range and the expected network performance indicators to be achieved, including: A multi-objective optimization model is constructed with the goals of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load; 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 second past period for each region, which are recorded as network condition 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 region in the second past period, which are recorded as data transmission strategy characteristics; Input the extracted network condition characteristics and data transmission strategy characteristics into the multi-objective optimization model, evaluate the data transmission strategies of each current region to calculate the scores of each strategy under each goal, and calculate the comprehensive score according to the set weights; 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; Analyze the business characteristics of the current region, and the business characteristics include business type, business volume, and the time distribution law of the business; A preliminary data transmission strategy adjustment plan is proposed according to the strategy evaluation results and business characteristics; the data transmission strategy adjustment plan includes adjustment suggestions for data transmission frequency, bandwidth allocation, and data priority setting.

[0012] Optionally, the method further includes: 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 feedbacks the data reception situation; 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 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 this time.

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

[0014] A master-slave gateway device synchronization device based on FTTR includes: A first processing module, configured to: divide the FTTR network into several regions; wherein, 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; A second processing module, configured to: receive the data of the subordinate devices uploaded from the gateway device; the gateway device preliminarily classifies and marks the data of the subordinate devices based on the device type, data service type, and timeliness requirement 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 marks; A third processing module, configured to: receive the network status information sent from the gateway device; A fourth processing module, configured to: adjust the data sending strategy to the main gateway device according to the network status information of each subordinate gateway device and the data classification situation.

[0015] In a third aspect, the present application discloses an electronic device, including a memory and a processor, where a computer program for loading and executing any of the above methods is stored on the memory.

[0016] 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 execute any of the above methods. Description of the Drawings

[0017] Figure 1 is a flowchart of a method for synchronizing master and slave gateway devices based on FTTR according to an embodiment of the present application; Figure 2 is a system block diagram of a device for synchronizing master and slave gateway devices based on FTTR according to an embodiment of the present application; In the figure, 201 is a first processing module; 202 is a second processing module; 203 is a third processing module; 204 is a fourth processing module. Detailed Embodiments

[0018] The following combines the attached Figure 1-2 and specific embodiments to further illustrate the present application: The embodiment of the present application discloses a method for synchronizing master and slave gateway devices based on FTTR, including the following steps: Step S101: Divide the FTTR network into several regions. Among them, in each region, 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 also connected to the master gateway device. Specifically, FTTR stands for Fiber to The Room, which means fiber optic to the room. On the one hand, the central connection device is responsible for establishing communication connections 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 relevant information to the master gateway device, and at the same time receives instructions from the master gateway device and conveys them to the slave gateway devices. As a distributed node device in the FTTR network, the slave gateway device is directly connected to the attached devices such as computers, mobile phones, and smart home appliances, is responsible for collecting the data generated by the attached devices, and preliminarily classifies and marks these data according to the device type (such as different devices like smart cameras and smart speakers), data service type (such as video services and file transfer services), and the timeliness requirements of data transmission (such as real-time video conference data requiring low latency and ordinary file downloads having relatively lower timeliness requirements), and then uploads the data and marking information to the central connection device Step S102: Receive the data of the attached devices uploaded by the slave gateway devices. The slave gateway devices preliminarily classify and mark 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

[0019] Step S103: Receive the network status information sent by the slave gateway devices

[0020] 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

[0021] Specifically, the slave gateway devices preliminarily classify and mark 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 the complex and changeable network environment 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 users' network usage experience

[0022] The following is an example for illustration With the popularization of smart homes, a large number of smart devices in each household within the community are connected to the network, such as smart door locks, cameras, home appliances, etc. The slave gateway device is responsible for collecting data of internal household devices. However, for the overall network management of the community, directly connecting the master gateway to numerous slave gateways will lead to an excessively high management complexity. The central connection device can serve as an intermediate layer to preliminarily process and classify the data of the slave gateways of each household in the community. For example, it separates the data of security devices (such as the monitoring data of smart cameras) from the control data of ordinary home appliances, and optimizes the data sending strategy to the master gateway according to the importance, timeliness, and network conditions of the data, improving the security and stability of the community network and ensuring the smart life experience of residents.

[0023] As a specific implementation manner of a master-slave gateway device synchronization method based on FTTR, 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.

[0024] As a specific implementation manner of a master-slave gateway device synchronization method based on FTTR, the method further includes: The central connection device determines the adjacent areas of the area where it is located based on the topology structure information of the FTTR network; 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; 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 conditions of the adjacent area and the network conditions of the local area; When the evaluation result shows that the network condition of the adjacent area has a significant impact on the local area, the central connection devices in the adjacent areas make a collaborative decision to formulate an optimized data sending strategy.

[0025] Specifically, the central connection device conducts handshake communication with the central connection devices in adjacent areas to ensure that the adjacent central connection devices are online. When a central connection device adjusts its data transmission policy and broadcasts this change to the adjacent areas, after receiving the policy, the central connection devices in the adjacent areas will evaluate the correlation of the network conditions between the two parties. When the evaluation result shows that the network conditions in the adjacent area have a significant impact on this area, the central connection devices in the adjacent area will make collaborative decisions. For example, when a large amount of data transmission suddenly occurs in a certain area, causing network congestion, its adjacent areas can flexibly adjust their own data transmission frequencies or reasonably allocate bandwidth resources through collaborative decision-making, avoiding more data from pouring into the congested area. At the same time, they can use 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.

[0026] As a specific implementation of a master-slave gateway device synchronization method based on FTTR, the evaluation of the correlation between the network conditions of the adjacent area and the network conditions of this area includes: The central connection device integrates the received network condition information and data transmission policy of the adjacent area and the corresponding information of this area 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; 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 area within the first time period; Calculate the correlation coefficient between the corresponding features of the adjacent area and this area in terms of average bandwidth utilization rate, packet loss rate, and low-priority data transmission ratio; When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that the network conditions in the adjacent area have a significant impact on the network conditions in this area.

[0027] Specifically, the central connection device integrates the network condition 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 to the total transmission volume in 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 the average bandwidth utilization rate of the adjacent region and this region being a pair of corresponding features, and the same is true for the packet loss rate and the low-priority data transmission ratio, which will not be 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 high and greater than the threshold, it indicates that the bandwidth usage situations of the two are 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 network conditions between regions are effectively improved, ensuring the stable operation of the network.

[0028] As one of the implementation manners of a master-slave gateway device synchronization method based on FTTR, the central connection devices in adjacent regions perform collaborative decision-making to formulate an optimized data sending policy, including: Based on the received network condition information and data sending policies of adjacent regions, the central connection device evaluates the current data sending policies of each region 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 in 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. According to the evaluation results, combined with the service 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. Adjust each preliminary plan with the principle of the optimal overall network performance to determine the final optimized data sending policy. 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.

[0029] Specifically, the central connection device evaluates the current data sending strategies of each region with the goals of maximizing the overall network throughput, minimizing the data transmission delay, and balancing the device load. 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 engage in 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 in response to these differences, making the strategy adjustment more suitable for the actual application scenario. The preliminary plan is adjusted again with the principle of optimizing the overall network performance to ensure coordination among regions and avoid damaging the overall performance due to local optimization. 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. When the slave gateway device sends data according to the new strategy, the overall operation condition of the network can be effectively improved. For example, during peak network hours, by means of strategies such as reasonably allocating bandwidth and adjusting the data sending priority, 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 orderly without affecting the overall performance.

[0030] As one of the implementation manners of a master-slave gateway device synchronization 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: 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 objective; 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 in each region, which are recorded as the 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 in each region in the past second time period, which are recorded as the data sending strategy characteristics; Input the extracted network condition features and data sending strategy features into a multi-objective optimization model to evaluate the current data sending strategies in each region, calculate the scores of each strategy under each objective, and calculate the comprehensive score according to the set weights; Analyze the influence degree of each strategy on each objective to find out the deficiencies in the current strategy and obtain the strategy evaluation results; Analyze the service characteristics of the current region, where the service characteristics include service type, service volume, and the time distribution law of the service; Propose a preliminary data sending strategy adjustment plan based on the strategy evaluation results and service characteristics; the data sending strategy adjustment plan includes adjustment suggestions for data sending frequency, bandwidth allocation, and data priority setting.

[0031] 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 goal; 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 goal 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, 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 results, propose a preliminary data sending strategy adjustment plan. Provide adjustment suggestions for data sending frequency, bandwidth allocation, and data priority setting.

[0032] For the peak service volume period, increase the data sending frequency, reasonably allocate the bandwidth, and preferentially ensure 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, increase the overall network throughput; reduce latency fluctuations and reduce data transmission delay; balance the device load and avoid overloading or idling of devices due to uneven services.

[0033] As one of the implementation manners of a master-slave gateway device synchronization method based on FTTR, the method further includes: 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; If, before the timer times out, the central connection device receives a data reception success message fed back from the gateway device, it stops the feedback monitoring timer and records the successful data transmission log for 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 the data transmission as failed for this time.

[0034] This application also provides a master-slave gateway device synchronization device based on FTTR, including: 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; 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; A third processing module 203, configured to: receive the network status information sent by the slave gateway devices; A fourth processing module 204, configured to: 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.

[0035] An embodiment of this application also discloses an electronic device.

[0036] 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, which is any one of the above-mentioned master-slave gateway device synchronization methods based on FTTR.

[0037] An embodiment of this application also discloses a computer-readable storage medium. Specifically, the computer-readable storage medium stores a computer program capable of being loaded and executed by the processor, such as the above-mentioned master-slave gateway device synchronization method. 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 (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0038] 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 the present 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 master-slave gateway device synchronization method based on FTTR, characterized in that: include: The FTTR network is divided into several areas; wherein each of the areas configures one of the slave gateway devices as a central connection device; the central connection device is connected to all the slave gateway devices in the divided areas and is connected to the master gateway device; Receiving the downstream device data uploaded from the gateway device; the gateway device preliminarily classifies and marks the downstream device data based on the device type, data service type and timeliness requirement of data transmission; the central connection device determines the data classification based on the received downstream device data and the preliminary classification mark; Receive network status information sent from a gateway device; According to the network status information and data classification of each slave gateway device, adjust the data sending strategy for the master gateway device.

2. A master-slave gateway device synchronization method based on FTTR according to claim 1, characterized in that: The network status information includes bandwidth utilization, delay and packet loss rate; the data sending strategy includes the frequency of sending low priority data.

3. A master-slave gateway device synchronization method based on FTTR according to claim 2, characterized in that: The method further comprises: The central connection device determines the neighboring areas of the area based on the topological information of the FTTR network; The central connection device regularly performs handshake communication with the central connection devices in the adjacent areas to confirm the online status of the adjacent central connection devices; wherein, when the data transmission strategy of one of the central connection devices is adjusted, the adjusted data transmission strategy is broadcast to the central connection devices in the adjacent areas; After receiving the data transmission strategy sent by the central connection device in the adjacent area, the current central connection device evaluates the correlation between the network status of the adjacent area and the network status of the current area; When the evaluation results show that the network conditions in adjacent areas have a significant impact on the local area, the central connection devices in the adjacent areas make collaborative decisions to develop an optimized data transmission strategy.

4. The method for synchronizing master-slave gateway devices based on FTTR according to claim 3, characterized in that: Evaluate the correlation between the network status of the adjacent area and the network status of the local area, including: The central connection device integrates the received network status information and data transmission strategy of the adjacent area and the corresponding information of the local area into a multi-dimensional array according to the time series for storage; each dimension of the array corresponds to a different network indicator or strategy parameter; each element of the array represents the data at the corresponding time point; Calculate the average bandwidth utilization, packet loss rate, and proportion of low-priority data transmission volume to total transmission volume in each area within the first time period based on the data in the multidimensional array; Calculate the correlation coefficient between the neighboring area and the local area in terms of average bandwidth utilization, packet loss rate, and low-priority data transmission ratio; When the absolute value of the correlation coefficient is greater than the corresponding threshold, it is determined that the network status of the adjacent area has a significant impact on the network status of the local area.

5. A master-slave gateway device synchronization method based on FTTR according to claim 4, characterized in that: The hub connection devices in adjacent areas make collaborative decisions to develop optimized data transmission strategies, including: The central connection device evaluates the current data transmission strategy of each area based on the received network status information and data transmission strategy of the adjacent area with the goal of maximizing the overall network throughput, minimizing the data transmission delay and balancing the equipment load; the overall network throughput is the total amount of data successfully transmitted in each area per unit time; the data transmission delay is the average time from the sender to the receiver; the equipment load balancing is to minimize the variance of the equipment load in each area; Based on the evaluation results and the service characteristics and network requirements of the current area, a preliminary data transmission strategy adjustment plan is proposed to determine the adjustment parameter range and the expected network performance indicators; Based on the principle of optimizing overall network performance, each preliminary plan is adjusted to determine the final optimized data transmission strategy; The finally determined optimized data transmission strategy is sent to the slave gateway devices in the area so that the slave gateway devices can transmit data according to the new strategy.

6. A master-slave gateway device synchronization method based on FTTR according to claim 5, characterized in that: Based on the evaluation results and the current regional business characteristics and network requirements, a preliminary data transmission strategy adjustment plan is proposed to determine the adjustment parameter range and the expected network performance indicators, including: A multi-objective optimization model is constructed with the goal of maximizing the overall network throughput, minimizing data transmission delay, and balancing device load; corresponding weights are set for each objective; Calculate the average bandwidth utilization change trend, delay fluctuation range, and peak and valley values ​​of packet loss rate in the past second period of each region, and record them as network status characteristics; calculate the transmission ratio of high-priority data and low-priority data in the past half hour and data transmission time interval in each region, and record them as data transmission strategy characteristics; The extracted network status features and data transmission strategy features are input into the multi-objective optimization model, and the current data transmission strategies of each region are evaluated to calculate the scores of each strategy under each goal and calculate the comprehensive score according to the set weights; Analyze the impact of each strategy on each goal and find out the deficiencies in the current strategy to obtain the strategy evaluation results; Analyze the business characteristics of the current area, including business type, business volume, and time distribution of the business; A preliminary data transmission strategy adjustment plan is proposed based on the strategy evaluation results and business characteristics; the data transmission strategy adjustment plan includes adjustment suggestions for data transmission frequency, bandwidth allocation, and data priority setting.

7. A master-slave gateway device synchronization method based on FTTR according to claim 6, characterized in that: The method further comprises: 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 status; If the central connection device receives a successful data reception message from the gateway device before the timer times out, it stops the feedback monitoring timer and records a successful data transmission log. If it receives a failed data reception message or a data verification error message from the gateway device, the central connection device marks the data transmission as failed.

8. A master-slave gateway device synchronization device based on FTTR, characterized in that: include: The first processing module is used to: divide the FTTR network into several areas; wherein each of the areas configures one of the slave gateway devices as a central connection device; the central connection device is connected to all the slave gateway devices in the divided areas and is connected to the master gateway device; The second processing module is used to: receive the downstream device data uploaded from the gateway device; the gateway device performs preliminary classification and marking on the downstream device data based on the device type, data service type and timeliness requirement of data transmission; the central connection device determines the data classification based on the received downstream device data and the preliminary classification mark; The third processing module is used to: receive network status information sent from the gateway device; The fourth processing module is used to adjust the data sending strategy for the master gateway device according to the network status information and data classification of each slave gateway device.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program according to any one of the methods of claims 1 to 7 which is loaded and executed by the processor.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Connection establishment method and apparatus

    CN108156160A

  • Monitoring of distributed systems

    GB201814131D0

  • The apparatus and method of collaborative contents with position of smart phone

    KR101069834B1

  • Collaborative optimization method and system for multi-region energy storage and thermal power participation adequacy control

    WO2025061027A1

Cited By

  • FTTR-B multi-tenant distributed anomaly detection method and device, equipment and medium

    CN121000641A

  • Fttr-b multi-tenant distributed anomaly detection method and device, equipment and medium

    CN121000641B