An fttr sub-gateway service configuration method and system

CN123020362APending Publication Date: 2026-10-30CHENGDU CHANGHONG NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610997103.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-06
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0009]本发明提供一种FTTR子网关业务配置方法及系统,旨在解决FTTR子网关配置灵活性低,无法满足用户多样性业务需求的问题

Benefits of technology

[0035]本发明的有益效果:本发明通过建立按业务项划分的配置源控制矩阵,能够实现配置粒度细化到单个业务项的差异化配置,满足不同子网关的个性化业务配置需求;通过多配置源冲突检测与仲裁机制,能够自动根据预设优先级确定生效配置,同时屏蔽低优先级配置源的自动同步机制,避免独立配置被自动同步覆盖,避免多来源配置冲突,提升配置可靠性;针对不同能力型号的子网关,增加了能力适配处理环节,根据子网关实际能力对下发配置进行兼容处理,避免因能力差异导致配置不生效或设备异常,进一步提升了FTTR场景下子网关配置管理的灵活性与自动化水平,不仅满足了不同用户的个性化业务配置需求,还降低了人工介入调整的成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123020362A_ABST
    Figure CN123020362A_ABST
Patent Text Reader

Abstract

The present application mainly relates to the field of home network communication technology, in order to solve the problem of low configuration flexibility of sub gateway, which leads to the inability to meet the diverse business needs of users, the present application provides a kind of FTTR sub gateway service configuration method and system, by establishing the management model containing three kinds of configuration sources of global template, independent template and system automatic synchronization, respectively specify configuration source for each business item of target sub gateway, form the configuration source control matrix divided according to business item.When detecting that multiple configuration sources act on the same business item, the system arbitrates according to the priority of independent template being prior to automatic synchronization, automatic synchronization being prior to global template, and performs closing or shielding processing on the automatic synchronization mechanism of low priority. Before configuration is issued, the system performs adaptation processing according to the sub gateway capability information, and finally synchronizes the target service configuration to the sub gateway. The present application realizes the fine configuration of business item granularity and the automatic arbitration of multiple configuration source conflicts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of home network communication technology, and in particular to an FTTR sub-gateway service configuration method and system. Background Technology

[0002] With the widespread application of FTTR technology, the main gateway typically connects multiple sub-gateways via fiber optic, wired, or mesh methods to perform unified configuration management and service synchronization for the sub-gateways, achieving whole-house network coverage in home or enterprise scenarios. The main gateway typically configures the services of the sub-gateways in the following ways: 1. Synchronize the main gateway's service configuration to all sub-gateways; 2. Perform independent configuration at the system level for specific sub-gateways.

[0003] The above configuration method has the following problems:

[0004] (1) The configuration management granularity is coarse, and it only supports unified configuration of the whole device or independent configuration of the whole device. It cannot perform differentiated control according to business items.

[0005] (2) When the system's automatic synchronization configuration (such as MeshWi-Fi automatic synchronization) and manual independent configuration are applied to the same service item at the same time, configuration conflicts are likely to occur, causing the independent configuration to be automatically overwritten;

[0006] (3) There is a lack of a unified multi-configuration source conflict detection and arbitration mechanism, and the configuration activation logic is unclear;

[0007] (4) There are capability differences between sub-gateways of different models or capabilities, and compatibility issues may easily occur when unified configuration is distributed.

[0008] Therefore, there is an urgent need in this field to provide a sub-gateway service configuration scheme suitable for FTTR scenarios, so as to improve the flexibility, reliability and automated management capabilities of sub-gateway service configuration. Summary of the Invention

[0009] This invention provides a method and system for configuring FTTR sub-gateway services, aiming to solve the problem that FTTR sub-gateway configuration has low flexibility and cannot meet the diverse service needs of users.

[0010] The technical solution adopted by the present invention to solve the above-mentioned technical problems is as follows:

[0011] On one hand, the present invention provides an FTTR sub-gateway service configuration method, applied to an FTTR main gateway, comprising:

[0012] A multi-configuration source management model is established, which includes a global template configuration source, an independent template configuration source, and a system-automatically synchronized configuration source.

[0013] Assign target configuration sources to each service item of each FTTR sub-gateway to form a configuration source control matrix divided by service item;

[0014] When it is detected that an FTTR sub-gateway has accessed the FTTR network or that its configuration has changed, the target configuration source for each service item of the target FTTR sub-gateway is determined according to the configuration source control matrix.

[0015] The system detects whether multiple configuration sources are simultaneously applied to the same service item. If multiple configuration sources are detected simultaneously applied to the same service item, the effective configuration source is determined according to the preset priority, and the target service configuration is generated based on the effective configuration source.

[0016] Obtain the capability information of the target FTTR sub-gateway, perform capability adaptation processing on the target service configuration based on the capability information, and then synchronize it to the target FTTR sub-gateway.

[0017] Furthermore, the system's automatic synchronization configuration sources include: Mesh automatic synchronization configuration source, system default derived configuration source, and topology automatic generation configuration source.

[0018] Furthermore, the service items include: Wi-Fi configuration items, IPTV configuration items, QoS configuration items, VLAN configuration items, indicator light configuration items, time zone configuration items, login account configuration items, and timed restart policy configuration items.

[0019] Furthermore, when the target service item is a Wi-Fi configuration item and the effective configuration source is an independent template configuration source, disable the MeshWi-Fi automatic synchronization function of the target FTTR sub-gateway, or disable the synchronization of the Wi-Fi configuration item by the MeshWi-Fi automatic synchronization function.

[0020] Furthermore, the preset priority is as follows: the priority of the independent template configuration source is higher than that of the system automatically synchronized configuration source, and the priority of the system automatically synchronized configuration source is higher than that of the global template configuration source.

[0021] Furthermore, the capability information includes: the target FTTR sub-gateway's model identifier, firmware version, supported Wi-Fi standards, maximum supported bandwidth, supported modulation methods, number of supported VLANs, maximum number of supported QoS queues, and indicator light control methods.

[0022] Furthermore, the capability adaptation process includes:

[0023] (1) If a configuration item in the target service configuration is not supported by the target FTTR sub-gateway, delete the corresponding configuration item;

[0024] (2) Downgrade the advanced parameters in the configuration items to the low-level parameters supported by the target FTTR sub-gateway;

[0025] (3) Replace incompatible parameters in the configuration items with compatible parameters;

[0026] (4) Reconstruct the dependency configuration items based on the capability information of the target FTTR sub-gateway.

[0027] Furthermore, the FTTR master gateway and the target FTTR sub-gateway synchronize their configurations via the MQTT protocol.

[0028] Furthermore, when an FTTR sub-gateway first accesses the FTTR network, the main gateway establishes a configuration source control matrix for the FTTR sub-gateway and stores the configuration source control matrix locally on the main gateway.

[0029] On the other hand, the present invention also provides an FTTR sub-gateway service configuration system, configured in the FTTR main gateway, the system comprising:

[0030] The multi-configuration source management module is used to establish a multi-configuration source management model, which includes a global template configuration source, an independent template configuration source, and a system-automatically synchronized configuration source.

[0031] The configuration source control module is used to specify the target configuration source for each service item of each FTTR sub-gateway, forming a configuration source control matrix divided by service item. When it is detected that the target FTTR sub-gateway has accessed the FTTR network or the configuration has changed, the target configuration source of each service item is determined according to the configuration source control matrix.

[0032] The conflict detection and arbitration module detects whether multiple configuration sources are simultaneously acting on the same business item. If so, it determines the effective configuration source based on the preset priority and generates the target business configuration based on the effective configuration source.

[0033] The capability adaptation module is used to obtain the capability information of the target FTTR sub-gateway and perform capability adaptation processing on the target service configuration based on the capability information.

[0034] The configuration synchronization module is used to synchronize the target service configuration after the target service configuration capability adaptation processing to the target FTTR sub-gateway.

[0035] The beneficial effects of this invention are as follows: By establishing a configuration source control matrix divided by business items, this invention can achieve differentiated configuration with granularity down to individual business items, meeting the personalized business configuration needs of different sub-gateways; through a multi-configuration source conflict detection and arbitration mechanism, it can automatically determine the effective configuration according to preset priorities, while shielding the automatic synchronization mechanism of low-priority configuration sources, avoiding independent configurations being automatically overwritten by synchronization, avoiding multi-source configuration conflicts, and improving configuration reliability; for sub-gateways with different capability models, a capability adaptation processing step is added, and the issued configuration is processed for compatibility according to the actual capabilities of the sub-gateway, avoiding configuration failure or device abnormalities due to capability differences, further improving the flexibility and automation level of sub-gateway configuration management in FTTR scenarios, not only meeting the personalized business configuration needs of different users, but also reducing the cost of manual intervention and adjustment. Attached Figure Description

[0036] Figure 1 This is a schematic diagram of an FTTR sub-gateway service configuration system according to the present invention;

[0037] Figure 2 This is a flowchart of an FTTR sub-gateway service configuration method according to the present invention;

[0038] Figure 3 Flowchart for multi-source conflict arbitration;

[0039] Figure 4 Here is a flowchart of the Mesh mutual exclusion control process;

[0040] Figure 5 This is a timing diagram of the MQTT interaction between the FTTR master gateway and the FTTR sub-gateway. Detailed Implementation

[0041] In existing technologies, the service configuration of FTTR master gateways to FTTR sub-gateways is usually achieved by uniformly synchronizing the service configuration of the master gateway to all sub-gateways or by performing independent configuration at the whole machine level for specific sub-gateways. This approach cannot meet the differentiated control requirements of different users for different service items.

[0042] Based on this, the present invention provides an FTTR sub-gateway service configuration method and system. By establishing a management model comprising three types of configuration sources—global templates, independent templates, and automatic system synchronization—configuration sources are assigned to each service item of the target sub-gateway, forming a configuration source control matrix divided by service item. When multiple configuration sources are detected acting on the same service item, the system arbitrates according to the priority order: independent templates take precedence over automatic synchronization, and automatic synchronization takes precedence over global templates, disabling or blocking lower-priority automatic synchronization mechanisms. Before configuration is distributed, the system performs adaptation processing based on the sub-gateway capability information, ultimately synchronizing the target service configuration to the sub-gateway. This achieves fine-grained configuration at the service item level and automatic arbitration of conflicts between multiple configuration sources.

[0043] To make the technical solution, objective, and beneficial effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the following embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. The embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0044] like Figure 1 As shown, the FTTR sub-gateway service configuration system is deployed locally on the FTTR main gateway. The FTTR main gateway establishes connections with each FTTR sub-gateway via MQTT communication links to manage the configuration of the sub-gateways. The FTTR sub-gateway service configuration system described in this invention includes a multi-configuration source management module, a configuration source control module, a conflict detection and arbitration module, a capability adaptation module, and a configuration synchronization module.

[0045] The multi-configuration source management module is used to establish a multi-configuration source management model based on sub-gateway service items. The multi-configuration source management model includes at least a global template configuration source, an independent template configuration source, and a system-automatically synchronized configuration source. System-automatically synchronized configuration sources include Mesh automatic synchronization configuration sources, system default derived configuration sources, and topology automatically generated configuration sources. Service items include Wi-Fi configuration items, IPTV configuration items, QoS configuration items, VLAN configuration items, indicator light configuration items, time zone configuration items, login account configuration items, and scheduled restart policy configuration items, etc.

[0046] The configuration source control module is used to configure the corresponding target configuration source for each service item of the target FTTR sub-gateway, and to establish a configuration source control matrix divided by service item. When the FTTR sub-gateway first accesses the FTTR network, the main gateway establishes a configuration source control matrix for the FTTR sub-gateway and stores it locally on the main gateway.

[0047] I. The process of configuring FTTR sub-gateway services according to the present invention is as follows: Figure 2 As shown, the specific steps include:

[0048] Step S101: Detect FTTR sub-gateway access to the network or configuration change events. The main gateway continuously monitors the network status, and triggers the configuration process when it detects that an FTTR sub-gateway has accessed the FTTR network or that the sub-gateway's configuration has changed.

[0049] Step S102: Obtain the target sub-gateway device identifier and capability information. The main gateway obtains the device identifier of the target FTTR sub-gateway and its capability information. The capability information includes the sub-gateway's model identifier, firmware version, supported Wi-Fi standards, maximum supported bandwidth, supported modulation methods, number of supported VLANs, maximum number of supported QoS queues, and indicator light control methods, etc.

[0050] Step S103: Query the target sub-gateway configuration source control matrix. The main gateway queries the configuration source control matrix corresponding to the target FTTR sub-gateway from the local persistent storage based on the device identifier of the target sub-gateway.

[0051] Step S104: Determine the configuration source corresponding to each service item. The main gateway determines the target configuration source for each service item of the target FTTR sub-gateway based on the configuration source control matrix.

[0052] Step S105: Detect whether multiple configuration sources are acting on the same service item. The burst detection arbitration module detects each service item to determine whether multiple configuration sources are simultaneously acting on that service item.

[0053] Step S106: If there are no multiple configuration sources acting on the same service item, the target service configuration is generated directly based on the unique configuration source.

[0054] In step S107, if multiple configuration sources act on the same business item simultaneously, the conflict detection and arbitration module performs conflict detection and priority arbitration according to the preset priority rules.

[0055] Step S108: Determine the target effective configuration source according to the preset priority rules, select the highest priority configuration source as the target effective configuration source, and mark the low priority configuration sources as invalid. If the low priority configuration source belongs to the automatic synchronization mechanism, then turn off or disable the automatic synchronization mechanism.

[0056] Step S109: Generate the target service configuration based on the target effective configuration source.

[0057] Step S110: Perform capability adaptation processing. After the target service configuration is generated and before it is synchronized to the target FTTR sub-gateway, the capability adaptation module obtains the capability information of the target FTTR sub-gateway and performs capability adaptation processing on the target service configuration based on the capability information.

[0058] Specifically, capability adaptation processing includes: (1) deleting unsupported configuration items when there are configuration items in the target service configuration that are not supported by the target FTTR sub-gateway; (2) downgrading high-level parameters to low-level parameters supported by the target FTTR sub-gateway; (3) replacing incompatible parameters with compatible parameters; and (4) reconstructing dependent configuration items based on the capability information of the target FTTR sub-gateway. Reconstructing dependent configuration items includes supplementing missing basic configuration items to make dependent configuration items have the prerequisites for effectiveness, adjusting the order of configuration item distribution to ensure that basic configuration items are distributed to the target sub-gateway before dependent configuration items, splitting dependent configuration items into multiple sub-configuration items supported by the target sub-gateway, and using alternative dependent links to achieve the same or similar service effects as the original configuration scheme.

[0059] Step S111: Synchronize the target service configuration after service adaptation processing to the target FTTR sub-gateway. The configuration synchronization module will synchronize the target service configuration generated from the target effective configuration source and processed by capability adaptation to the target FTTR sub-gateway via the MQTT protocol.

[0060] II. The conflict arbitration process for multiple configuration sources acting on the same service in steps S105-S107 is as follows: Figure 3 As shown, it includes steps S201-208.

[0061] Step S201: The conflict detection and arbitration module detects the number of target business item configuration sources.

[0062] Step S202: Determine whether the number of configuration sources acting on the corresponding business project is greater than 1. If the number of configuration sources is equal to 1, arbitration is not required, and the target business configuration is directly generated using that configuration source.

[0063] Step S203: If the number of configuration sources is greater than 1, then obtain the priority of each configuration source.

[0064] Step S204: Select the highest priority configuration source as the target effective configuration source according to the preset priority rules. The preset priority rules are: the priority of independent template configuration sources is higher than that of system-automatically synchronized configuration sources, and the priority of system-automatically synchronized configuration sources is higher than that of global template configuration sources.

[0065] Step S205: Mark the low-priority configuration source as invalid.

[0066] Step S206: Determine whether the low-priority configuration source belongs to the automatic synchronization configuration source.

[0067] Step S207: If the low-priority configuration source is an automatic synchronization configuration source, then turn off the overall switch of the automatic synchronization function of the target FTTR sub-gateway, or block the automatic synchronization function from overwriting the configuration value of the current service item.

[0068] Step S208: Output the arbitration result and determine the target effective configuration source.

[0069] 3. To ensure that user-configured Wi-Fi settings are not automatically overwritten by the system, when the target service item is a Wi-Fi configuration item and the effective configuration source is an independent template configuration source, disable the MeshWi-Fi automatic synchronization function of the target FTTR sub-gateway, or disable the MeshWi-Fi automatic synchronization function from synchronizing Wi-Fi configuration items. The specific process is as follows: Figure 4 As shown, steps S301-S306 are included:

[0070] Step S301: Detect whether the Wi-Fi configuration source is an independent template configuration source.

[0071] Step S302: If the Wi-Fi configuration source is an independent template configuration source, check whether the Mesh automatic synchronization function is enabled.

[0072] Step S303: If the Mesh automatic synchronization function is enabled, then disable the Mesh automatic synchronization function of the target FTTR sub-gateway.

[0073] Step S304: If the Mesh automatic synchronization function cannot be completely disabled, then the synchronization of Wi-Fi configuration items by the Mesh automatic synchronization module is blocked. Specifically, the blocking operation is as follows: In the execution logic of Mesh automatic synchronization, a skip condition for Wi-Fi configuration items is added. When the synchronization task traverses to the Wi-Fi configuration item, the configuration item is skipped directly without performing the configuration overwrite operation.

[0074] Step S305: Send the Wi-Fi target service configuration generated based on the independent template configuration source to the target FTTR sub-gateway.

[0075] Step S306: If the Wi-Fi configuration source is not an independent template configuration source, then maintain the Mesh automatic synchronization configuration and have the Wi-Fi configuration provided by the Mesh automatic synchronization configuration source.

[0076] IV. The timing of configuration synchronization interaction between the FTTR master gateway and the FTTR sub-gateway via the MQTT communication link is as follows: Figure 5 As shown, it includes the following steps.

[0077] In step S401, the FTTR sub-gateway initiates an MQTT connection request to the FTTR main gateway using its own device identifier and authentication information.

[0078] In step S402, the FTTR master gateway authenticates the connection request. After successful authentication, it responds to the FTTR sub-gateway with the connection request and establishes an MQTT connection.

[0079] In step S403, after the connection is established, the FTTR sub-gateway subscribes to the registration response topic and operation request topic to receive the registration response message and configuration operation request message sent by the main gateway.

[0080] In step S404, the FTTR sub-gateway sends a registration request to the main gateway through the subscribed topics. This registration request carries the sub-gateway's device identifier, capability information, current configuration version number, and operating status information.

[0081] In step S405, the FTTR master gateway receives the registration request, completes the sub-gateway registration, records the device identifier and capability information of the sub-gateway, and returns a registration response to the sub-gateway through the registration response topic.

[0082] In step S406, after generating the target service configuration based on the configuration source control matrix and the conflict detection arbitration result, the FTTR master gateway sends a configuration query request or a configuration setting request to the target FTTR sub-gateway. The configuration query request is used to obtain the current configuration value of the sub-gateway for comparison, and the configuration setting request is used to distribute the target service configuration to the sub-gateway.

[0083] In step S407, the FTTR sub-gateway receives a configuration query request or configuration setting request, performs the corresponding operation, and then returns an operation response to the main gateway through the operation response topic. The operation response includes the current configuration value returned by the configuration query, the status code indicating whether the configuration setting was successful or failed, and the reason for the failure.

Claims

1. A method for configuring FTTR sub-gateway services, characterized in that, Applied to FTTR master gateways, including: A multi-configuration source management model is established, which includes a global template configuration source, an independent template configuration source, and a system-automatically synchronized configuration source. Assign target configuration sources to each service item of each FTTR sub-gateway to form a configuration source control matrix divided by service item; When it is detected that an FTTR sub-gateway has accessed the FTTR network or that its configuration has changed, the target configuration source for each service item of the target FTTR sub-gateway is determined according to the configuration source control matrix. The system detects whether multiple configuration sources are simultaneously applied to the same service item. If multiple configuration sources are detected simultaneously applied to the same service item, the effective configuration source is determined according to the preset priority, and the target service configuration is generated based on the effective configuration source. Obtain the capability information of the target FTTR sub-gateway, perform capability adaptation processing on the target service configuration based on the capability information, and then synchronize it to the target FTTR sub-gateway.

2. The FTTR sub-gateway service configuration method according to claim 1, characterized in that, The system's automatic synchronization configuration sources include: Mesh automatic synchronization configuration source, system default derived configuration source, and topology automatic generation configuration source.

3. The FTTR sub-gateway service configuration method according to claim 1, characterized in that, The service items include: Wi-Fi configuration items, IPTV configuration items, QoS configuration items, VLAN configuration items, indicator light configuration items, time zone configuration items, login account configuration items, and scheduled restart policy configuration items.

4. The FTTR sub-gateway service configuration method according to claim 3, characterized in that, When the target service item is a Wi-Fi configuration item and the effective configuration source is an independent template configuration source, disable the MeshWi-Fi automatic synchronization function of the target FTTR sub-gateway, or disable the synchronization of the Wi-Fi configuration item by the MeshWi-Fi automatic synchronization function.

5. The FTTR sub-gateway service configuration method according to claim 1, characterized in that, The preset priorities are as follows: the priority of the independent template configuration source is higher than that of the system automatically synchronized configuration source, and the priority of the system automatically synchronized configuration source is higher than that of the global template configuration source.

6. The FTTR sub-gateway service configuration method according to claim 1, characterized in that, The capability information includes: the target FTTR sub-gateway's model identifier, firmware version, supported Wi-Fi standards, maximum supported bandwidth, supported modulation methods, number of supported VLANs, maximum number of supported QoS queues, and indicator light control methods.

7. The FTTR sub-gateway service configuration method according to claim 6, characterized in that, The capability adaptation process includes: (1) If a configuration item in the target service configuration is not supported by the target FTTR sub-gateway, delete the corresponding configuration item; (2) Downgrade the advanced parameters in the configuration items to the low-level parameters supported by the target FTTR sub-gateway; (3) Replace incompatible parameters in the configuration items with compatible parameters; (4) Reconstruct the dependency configuration items based on the capability information of the target FTTR sub-gateway.

8. The FTTR sub-gateway service configuration method according to claim 1, characterized in that, The FTTR master gateway and the target FTTR sub-gateway synchronize configurations via the MQTT protocol.

9. The FTTR sub-gateway service configuration method according to claim 1, characterized in that, When an FTTR sub-gateway first accesses the FTTR network, the main gateway establishes a configuration source control matrix for the FTTR sub-gateway and stores the configuration source control matrix locally on the main gateway.

10. An FTTR sub-gateway service configuration system, configured in an FTTR main gateway, characterized in that, The system includes: The multi-configuration source management module is used to establish a multi-configuration source management model, which includes a global template configuration source, an independent template configuration source, and a system-automatically synchronized configuration source. The configuration source control module is used to specify the target configuration source for each service item of each FTTR sub-gateway, forming a configuration source control matrix divided by service item. When it is detected that the target FTTR sub-gateway has accessed the FTTR network or the configuration has changed, the target configuration source of each service item is determined according to the configuration source control matrix. The conflict detection and arbitration module detects whether multiple configuration sources are simultaneously acting on the same business item. If so, it determines the effective configuration source based on the preset priority and generates the target business configuration based on the effective configuration source. The capability adaptation module is used to obtain the capability information of the target FTTR sub-gateway and perform capability adaptation processing on the target service configuration based on the capability information. The configuration synchronization module is used to synchronize the target service configuration after the target service configuration capability adaptation processing to the target FTTR sub-gateway.