Home gateway non-manageability diagnosis method and device, electronic equipment and computer program product

By obtaining and analyzing the registration information, historical manageability and real-time manageability of the home gateway, the inability of the home gateway is solved, and the problem of inability of the home gateway during the VLAN re-cultivation process of access network is improved, and the efficiency and reliability of the re-cultivation is improved.

CN120075092APending Publication Date: 2025-05-30CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510213938.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

During the VLAN re-cultivation process of access network, the lack of multi-dimensional perception and real-time monitoring means makes it difficult to achieve unmanageable diagnosis of home gateways and the rate of re-cultivation obstacles is high.

Method used

By obtaining the gateway registration information of the home gateway, pulling its historical manageability and real-time manageability, detecting the real-time manageability of the home gateway that is unmanaged, determining the real-time unmanaged home gateway as an unmanaged gateway, and conducting online status detection to determine the reason for the unmanaged.

Benefits of technology

Real-time unmanageable diagnosis of home gateways is achieved, reducing the barriers to re-cultivation, and improving network efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075092A_ABST
    Figure CN120075092A_ABST
Patent Text Reader

Abstract

The invention discloses a home gateway non-manageability diagnosis method and device, electronic equipment and a computer program product. The method comprises the steps that gateway registration information of at least one home gateway hung under an optical line terminal is acquired, and the gateway registration information comprises a unique registration value of each home gateway; according to the registration value, the historical manageability of each home gateway is pulled, a historical manageability list is obtained, and the historical manageability list is used for recording the historical manageability of the multiple home gateways; according to the registration value, detecting the real-time manageability of the home gateway whose historical manageability is historical non-manageability in a historical manageability list to obtain a real-time manageability list, the real-time manageability list being used for recording the real-time manageability of the plurality of home gateways; and determining the home gateway of which the real-time manageability is real-time non-manageability as a non-manageability gateway. The technical problem that non-manageable diagnosis cannot be carried out on the home gateway in real time is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular, to a method, apparatus, electronic device, and computer program product for diagnosing the unmanageability of a home gateway. Background Art

[0002] With the advent of the 5G era, the 2B business is undergoing a transformation from traditional ICT to DICT (digitalization, informatization, communicationization, and technicalization). This not only involves the integration of technologies (such as cloud, network, and edge computing) but also means a shift to a more flexible and open business model. This transformation poses new and more efficient requirements for the network architecture. However, the traditional IP network, with its architecture of separation between fixed and mobile, can no longer meet the current requirements for flexibility and efficiency. This network structure has obvious shortcomings in terms of automated deployment and intelligent operation and maintenance, especially in the scenario of cloud-network integration. To adapt to this change in demand, operators are turning to a new metro area network architecture centered on edge clouds.

[0003] In the new metro area network, the reasonable planning and reclamation of VLANs in the access network are crucial. Currently, the VLAN planning rules vary in different regions, and at the same time, the old division rules lead to uneven resource allocation, seriously affecting the network efficiency and expansion ability, and also unable to adapt to the construction requirements of the upper-layer new metro area network. Reasonable VLAN reclamation not only optimizes resource utilization but also supports a wider range of business requirements, meeting the usage requirements of the extremely intelligent interconnection of the new metro area network.

[0004] Through the analysis of the existing technology, in the process of VLAN reclamation in the access network, there is a lack of means for multi-dimensional perception of the connectivity of the quality state of the alternating online of old and new city services during VLAN reclamation: During the multi-level distribution of the VLAN reclamation configuration in the transformation of the new metro area network access network, it involves the modification of the user's interrupted VLAN binding value, and at the same time, a new concept of gateway VLAN for the new metro area network is added. At the same time, the amount of data involved in the synchronous configuration distribution of the OLT-DCSW-MSE level configuration is extremely large.

[0005] In traditional business connectivity monitoring methods, reliance is often placed on AAA server authentication, ONU management server manageability monitoring, or immediate collection and detection of terminal online information on the OLT. The disadvantages and deficiencies of these methods are as follows: The above methods fail to introduce the concept of gateway VLAN in the new type of access network and fail to monitor such management VLANs immediately; The AAA server authentication lacks business online connectivity auditing for home broadband, ITV, and dedicated line services carried by FTTBC services, and this method is not instantaneous. There are characteristics such as delayed feedback for a large number of service up and downlines, so real-time monitoring cannot be achieved. At the same time, real-time monitoring cannot be performed on AP services, fixed-line services, and management channel services either; The OLT carrying terminal online information can only one-sidedly reflect whether the ONU is normally registered and cannot show in real time and in detail the specific information of real-time business connectivity during the configuration replacement process of different service types; After VLAN reclamation, the service VLAN values are all within the new planned VLAN value range of the province or city. The above methods cannot dynamically identify the VLAN service information of new and old cities, and thus cannot achieve real-time monitoring during the alternating online process of new and old city services.

[0006] Therefore, during the VLAN reclamation process in the access network, in the case of a high reclamation obstacle rate caused by unmanageable home gateways, it is currently impossible to perform unmanageability diagnosis on home gateways in real time.

[0007] Regarding the above problem of being unable to perform unmanageability diagnosis on home gateways in real time, no effective solution has been proposed yet. Summary of the Invention

[0008] Embodiments of the present invention provide a method, device, electronic device, and computer program product for diagnosing the unmanageability of a home gateway to at least solve the technical problem of being unable to perform unmanageability diagnosis on a home gateway in real time.

[0009] According to one aspect of the embodiments of the present invention, a method for diagnosing the unmanageability of a home gateway is provided, including: obtaining the gateway registration information of at least one home gateway hanging under an optical line terminal, where the gateway registration information includes a unique registration value for each home gateway; pulling the historical manageability of each home gateway according to the registration value to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; detecting the real-time manageability of the home gateways with historical unmanageability in the historical manageability list according to the registration value to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; and determining the home gateways with real-time unmanageability as unmanageable gateways.

[0010] Optionally, after determining that the home gateway with real-time manageability being non-real-time manageable is an unmanageable gateway, the method further includes: performing an online status detection on the unmanageable gateway to obtain an online status detection result, where the online status detection result is used to represent the server online status of the authentication server of the home gateway and the gateway online status of the home gateway; and detecting the reason for the unmanageability of the unmanageable gateway according to the server online status and the gateway online status.

[0011] Optionally, detecting the reason for the unmanageability of the unmanageable gateway according to the server online status and the gateway online status includes: when the server online status is that the server is online and the gateway online status is that the gateway is not online, determining that the reason for the unmanageability is that the unmanageable gateway has been cut over; when the server online status is that the server is not online and the gateway online status is that the gateway is online, determining that the reason for the unmanageability is that there is an abnormal communication between the unmanageable gateway and the authentication server; and when the server online status is that the server is not online and the gateway online status is that the gateway is not online, determining that the reason for the unmanageability is that the unmanageable gateway has been powered off.

[0012] Optionally, the method further includes: when the server online status is that the server is not online and the gateway online status is that the gateway is online, remotely restarting the unmanageable gateway; and after remotely restarting the unmanageable gateway, detecting the real-time manageability of the unmanageable gateway according to the registration value.

[0013] Optionally, obtaining the gateway registration information of at least one home gateway connected to the optical line terminal includes: identifying the configuration type of the optical line terminal, where the configuration type at least includes: cascade configuration and non-cascade configuration; and using an information collection device pre-configured for the configuration type to collect the global user configuration information of the optical line terminal, where the global user configuration information at least includes: the gateway registration information.

[0014] Optionally, using an information collection device pre-configured for the configuration type, collecting the global user configuration information of the optical line terminal includes: when the configuration type is the non-cascaded configuration, scanning the gateway configuration information of each of the home gateways connected under the optical line terminal line by line, and writing the gateway configuration information between the interface configuration symbol and the exit configuration symbol into a step-by-step interpretation memory to obtain the global user configuration information, where the step-by-step interpretation memory is the information collection device, the interface configuration symbol is the identification bit for enabling the collection of user configuration, the exit configuration symbol is the identification bit for disabling the collection of user configuration, and the global user configuration information is the gateway configuration information written in the step-by-step interpretation memory; when the configuration type is the cascaded configuration, using a regular scanner to asynchronously perform module-by-module scanning on multiple optical line terminals of the cascaded configuration to obtain the global user configuration information, where the regular scanner uses multiple service scanners pre-configured for different services to respectively scan the service configuration information corresponding to each service on multiple optical line terminals, and splices the scanning results into the global user configuration information.

[0015] Optionally, the method further includes: calling a preset service registration classification model to analyze the gateway configuration information to obtain the registration type of the home gateway, where the preset service registration classification model is a machine learning model pre-trained; among a plurality of preset service data recognition models set in advance, selecting a target service data recognition model corresponding to the registration type to analyze the gateway configuration information to obtain the unique registration value of the home gateway, where the preset service data recognition model is a machine learning model pre-trained, and the preset service data recognition model corresponds to the registration type one by one.

[0016] According to another aspect of the embodiments of the present invention, there is also provided a non-manageability diagnosis device for a home gateway, including: an acquisition module for acquiring the gateway registration information of at least one home gateway connected under an optical line terminal, where the gateway registration information includes the unique registration value of each home gateway; a pulling module for pulling the historical manageability of each home gateway according to the registration value to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; a detection module for detecting the real-time manageability of the home gateways with historical non-manageability in the historical manageability list according to the registration value to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; and a determination module for determining the home gateways with real-time non-manageability as non-manageable gateways.

[0017] According to another aspect of the embodiments of the present invention, an electronic device is further provided, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to execute the above-mentioned unmanageability diagnosis method of the home gateway through the computer program.

[0018] According to another aspect of the embodiments of the present invention, a computer program product is further provided, including computer instructions, and when the computer instructions are executed by a processor, the steps of the above-mentioned unmanageability diagnosis method of the home gateway are implemented.

[0019] In the embodiments of the present invention, the gateway registration information of at least one home gateway connected under the optical line terminal is obtained, wherein the gateway registration information includes a unique registration value for each home gateway; according to the registration value, the historical manageability of each home gateway is pulled to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; according to the registration value, the real-time manageability of the home gateways with historical unmanageability in the historical manageability list is detected to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; the home gateways with real-time unmanageability are determined as unmanageable gateways, achieving the purpose of real-time monitoring of unmanageable gateways, thereby realizing the technical effect of real-time diagnosis of the unmanageability of home gateways, and further solving the technical problem of unable to perform real-time unmanageability diagnosis on home gateways. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present invention, form a part of this application, and the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute an improper limitation to the present invention. In the drawings:

[0021] Figure 1 is a flowchart of an unmanageability diagnosis method of a home gateway according to an embodiment of the present invention;

[0022] Figure 2 is a schematic diagram of the logic of the pre-diagnosis and governance model for the reclamation of the unmanageability of a home gateway according to an embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of an OLT global configuration acquisition and parsing model according to an embodiment of the present invention;

[0024] Figure 4 is a schematic diagram of a dedicated line period parsing model according to an embodiment of the present invention;

[0025] Figure 5 is a schematic diagram of a dedicated line period parsing model according to an embodiment of the present invention;

[0026] Figure 6It is a schematic diagram of a monitoring process for batch uploading and establishing a broadband service account according to an embodiment of the present invention;

[0027] Figure 7 It is a schematic diagram of a process for generating a process ID and batch verification result data after pre-verification according to an embodiment of the present invention;

[0028] Figure 8 It is a schematic diagram of a non-manageability diagnosis device for a home gateway according to an embodiment of the present invention;

[0029] Figure 9 It is a block diagram of the structure of a computer terminal according to an embodiment of the present invention. Detailed implementation manners

[0030] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0032] First, some nouns or terms that appear in the process of describing the embodiments of the present application are applicable to the following explanations:

[0033] VLAN (Virtual Local Area Network): It is a technology that creates a separated network hierarchy through software configuration without physically reorganizing hardware devices. In a VLAN, a group of selected network devices can communicate through logical separation as if they are interconnected, even though they may actually be distributed in different network segments or geographical locations.

[0034] OLT (Optical Line Terminal): It is a device in the Fiber to the Home (FTTH) network and is usually installed in the central office of the service provider. It is responsible for converting traditional electrical signals into optical signals and distributing them to users through the fiber optic network. The OLT is the main device in the optical network and corresponds to the ONT (Optical Network Terminal) or ONU (Optical Network Unit) in the user's home.

[0035] DCSW (Data Center Switch): It is a high-performance switch used to connect servers, storage devices, and other network components within the data center. They usually support high-speed data transmission and advanced network management functions to optimize the network traffic and performance of the data center.

[0036] MSE (Multi-Service Edge): It is a network device that is usually deployed near the user network, i.e., at the "network edge". The purpose of this device is to process data from multiple services, such as Internet access, VoIP (Voice over Internet Protocol), video streaming, and enterprise VPN services.

[0037] Telnet protocol: It is a network protocol used to provide two-way interactive text communication functions on remote computers. It allows users to connect to a remote server through a terminal or terminal emulation program (client).

[0038] SNMP protocol (Simple Network Management Protocol): It is a network management protocol used to monitor and manage devices on the network. It allows network administrators to collect information about network devices (such as routers, switches, servers, etc.) by sending and receiving data packets and make configuration changes to these devices.

[0039] Unmanageable home gateway: It is impossible to configure and issue commands, manage services, etc. for the home optical modem through the telecom ITMS platform for faulty terminal optical modems or illegally modified optical modems.

[0040] According to an embodiment of the present invention, an embodiment of a method for diagnosing the unmanageability of a home gateway is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0041] Figure 1 It is a flowchart of a method for diagnosing the unmanageability of a home gateway according to an embodiment of the present invention. As Figure 1 shown, the method includes the following steps:

[0042] Step S102: Obtain the gateway registration information of at least one home gateway connected to the optical line terminal, where the gateway registration information includes a unique registration value for each home gateway.

[0043] Step S104: Pull the historical manageability of each home gateway according to the registration value to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways.

[0044] Step S106: Detect the real-time manageability of the home gateways with historical non-manageability in the historical manageability list according to the registration value to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways.

[0045] Step S108: Determine the home gateways with real-time non-manageability as non-manageable gateways.

[0046] In an embodiment of the present invention, obtain the gateway registration information of at least one home gateway connected to the optical line terminal, where the gateway registration information includes a unique registration value for each home gateway; pull the historical manageability of each home gateway according to the registration value to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; detect the real-time manageability of the home gateways with historical non-manageability in the historical manageability list according to the registration value to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; determine the home gateways with real-time non-manageability as non-manageable gateways, achieving the purpose of real-time monitoring of non-manageable gateways, thereby realizing the technical effect of real-time diagnosis of the non-manageability of home gateways, and further solving the technical problem of inability to perform real-time diagnosis of the non-manageability of home gateways.

[0047] In the above step S102, the optical fiber router OLT is a device in the fiber to the home FTTH network, responsible for converting electrical signals into optical signals, corresponding to the optical network terminal ONT or optical network unit ONU in the user's home.

[0048] In the above step S102, the home gateway can be an optical network terminal ONT or a router connected to the optical network unit ONU.

[0049] In the above step 102, the registration value is the unique code of the home gateway.

[0050] In the above steps 104 and S106, through the terminal integrated management system ITMS, the registration value can be used to query the historical manageability and real-time manageability of each home gateway.

[0051] It should be noted that the Integrated Terminal Management System (ITMS) is the deployment and control platform for the home gateway service and also the remote management platform for home gateway devices. ITMS is mainly used for device registration, initialization and automatic configuration, remote fault diagnosis and repair, and device monitoring of home gateways. This ITMS supports the remote configuration of terminals such as home gateways and the viewing of various metric parameters. Therefore, through ITMS, the historical objectivity and real-time objectivity of each home gateway can be queried based on the registration value.

[0052] Optionally, the manageability of the home gateway is mainly reflected in its support for functions such as remote configuration management, automatic upgrade, and active fault reporting. These functions enable the operator to more effectively manage and maintain the home network, reducing operation and maintenance and subsequent construction costs.

[0053] Optionally, the manageability of the home gateway is used to indicate whether it is manageable or not. If the manageability of the home gateway is manageable, it means that the home gateway can perform functions such as remote configuration management, automatic upgrade, and active fault reporting; if the manageability of the home gateway is not manageable, it means that the home gateway cannot perform functions such as remote configuration management, automatic upgrade, and active fault reporting.

[0054] Optionally, historical manageability is used to indicate the manageability of the home gateway during historical use.

[0055] Optionally, real-time manageability is used to indicate the manageability of the home gateway during current use.

[0056] In the above step S104, the historical manageability list is used to record the manageability of multiple home gateways during historical applications. However, the historical non-manageability of a home gateway does not mean that the home gateway is non-manageable at the current moment. Therefore, real-time manageability detection can be further performed on home gateways with historical non-manageability.

[0057] Optionally, if the historical manageability of the home gateway is historically manageable, then the home gateway has a relatively high probability of still being manageable at the current moment. Therefore, real-time manageability detection is not performed on home gateways with historically manageable manageability, which can reduce the number of home gateways for real-time objectivity detection and improve the detection efficiency.

[0058] In the above step S106, by detecting the real-time manageability of home gateways with historical non-manageability, the real-time manageability of each home gateway with historical non-manageability can be obtained, realizing the real-time manageability detection of home gateways.

[0059] In the above step S106, for a home gateway with non - manageable real - time manageability in the real - time manageability list, the historical manageability of this home gateway is also non - manageable. Therefore, it is very likely that this home gateway is a faulty gateway. Subsequently, the reason for non - manageability of this home gateway can be further investigated. Thus, historical manageability and real - time manageability detection can be carried out in the terminal integrated management system (ITMS) through registration values, which can reduce the number of non - manageable gateways to be investigated, reduce the investigation workload, and improve the investigation efficiency.

[0060] As an optional embodiment, after determining a home gateway with non - manageable real - time manageability as a non - manageable gateway, the method further includes: performing an online status detection on the non - manageable gateway to obtain an online status detection result, where the online status detection result is used to represent the server online status of the authentication server of the home gateway and the gateway online status of the home gateway; and detecting the reason for non - manageability of the non - manageable gateway according to the server online status and the gateway online status.

[0061] In the above embodiments of the present application, after performing real - time manageability detection on a home gateway based on the terminal integrated management system (ITMS), an online status detection can be performed on a home gateway with non - manageable real - time objectivity. Through the online status detection, the server online status of the authentication server of this home gateway and the gateway online status of the home gateway can be detected; and then, according to the server online status and the gateway online status, the reason for non - manageability of the non - manageable gateway can be detected, realizing the investigation of the reason for non - manageability of the non - manageable gateway.

[0062] Optionally, the authentication server is an AAA server, which is a network device that provides authentication, authorization, and accounting services, mainly used to manage user access to network servers to ensure the security and compliance of network access.

[0063] Optionally, the server online status is used to represent whether the authentication server is connected to the network, and the gateway online status is used to represent whether the home gateway is connected to the network. Only when both the home gateway and its authentication server are online can this home gateway be used normally. Therefore, as long as either the home gateway or its authentication server is not online, this home gateway is a non - manageable gateway.

[0064] As an optional embodiment, detecting the reason for the unmanageable gateway according to the online status of the server and the online status of the gateway includes: when the online status of the server is that the server is online and the online status of the gateway is that the gateway is not online, determining that the reason for the unmanageable gateway is that the unmanageable gateway has been cut over; when the online status of the server is that the server is not online and the online status of the gateway is that the gateway is online, determining that the reason for the unmanageable gateway is that there is an abnormal communication between the unmanageable gateway and the authentication server; when the online status of the server is that the server is not online and the online status of the gateway is that the gateway is not online, determining that the reason for the unmanageable gateway is that the unmanageable gateway has been powered off.

[0065] In the above embodiments of the present application, the home gateway and the authentication server of the home gateway are used in combination. When the online status of the server is that the server is online and the online status of the gateway is that the gateway is not online, it indicates that the home gateway has been cut over to another path for Internet access, so the reason for the unmanageable gateway is that the unmanageable gateway has been cut over; when the online status of the server is that the server is not online and the online status of the gateway is that the gateway is online, it indicates that the reason for the manageable gateway is that there is an abnormal communication between the unmanageable gateway and the authentication server, and the manageability of the home gateway can be restored by remotely controlling the home gateway to restart; when the online status of the server is that the server is not online and the online status of the gateway is that the gateway is not online, it indicates that the reason for the unmanageable gateway is that the unmanageable gateway has been powered off, and the unmanageable gateway will not receive remote control instructions, so the unmanageable gateway can only be troubleshot offline.

[0066] As an optional embodiment, the method further includes: when the online status of the server is that the server is not online and the online status of the gateway is that the gateway is online, remotely restarting the unmanageable gateway; after remotely restarting the unmanageable gateway, detecting the real-time manageability of the unmanageable gateway according to the registration value.

[0067] In the above embodiments of the present application, after the unmanageable gateway is remotely restarted, the unmanageable gateway, that is, the home gateway, will register again using the Terminal Integrated Management System (ITMS). Then, according to the registration value of the home gateway, the real-time manageability can be detected again in the Terminal Integrated Management System (ITMS), and the management of the home gateway by the Terminal Integrated Management System (ITMS) can be restored.

[0068] As an optional embodiment, obtaining the gateway registration information of at least one home gateway hanging under the optical line terminal includes: identifying the configuration type of the optical line terminal, where the configuration type at least includes: cascaded configuration and non-cascaded configuration; using the information collection device pre-configured for the configuration type to collect the global user configuration information of the optical line terminal, where the global user configuration information at least includes: gateway registration information.

[0069] In the above embodiments of the present application, the optical line terminal can adopt different configuration types. Among them, the optical line terminal configured according to different configuration types uses different information collection devices to collect the gateway registration information. Therefore, by identifying the configuration type of the optical line terminal, the information collection device used to collect the gateway registration information for the optical line terminal can be selected, so as to realize the collection of the gateway registration information.

[0070] As an alternative embodiment, using the information collection device pre-configured for the configuration type, collecting the global user configuration information of the optical line terminal includes: in the case where the configuration type is a non-cascaded configuration, scanning the gateway configuration information of each home gateway connected under the optical line terminal line by line, and writing the gateway configuration information between the interface configuration symbol and the exit configuration symbol into the step-by-step interpretation memory to obtain the global user configuration information. The step-by-step interpretation memory is the information collection device, the interface configuration symbol is the identification bit for starting to collect user configuration, the exit configuration symbol is the identification bit for closing the collection of user configuration, and the global user configuration information is the gateway configuration information written in the step-by-step interpretation memory; in the case where the configuration type is a cascaded configuration, using a regular scanner to asynchronously scan multiple optical line terminals with cascaded configuration in modules to obtain the global user configuration information. The regular scanner uses multiple service scanners pre-configured for different services to scan the service configuration information corresponding to each service in multiple optical line terminals respectively, and splices the scan results into the global user configuration information.

[0071] In the above embodiments of the present application, for the optical line terminal with non-cascaded configuration, the line-by-line scanning method can be adopted to obtain the gateway configuration information of each home gateway connected under the optical line terminal, and then extract the global user configuration information including the gateway registration information from the gateway configuration information of each home gateway; for the optical line terminal with cascaded configuration, a regular scanner can be used to asynchronously scan multiple optical line terminals with cascaded configuration in modules, and then splice the scan results to obtain the global user configuration information including the gateway registration information, realizing the distributed scanning of multiple optical line terminals and improving the scanning efficiency.

[0072] As an alternative embodiment, it includes: calling a preset service registration classification model to analyze the global user configuration information to obtain the registration type of the home gateway. The preset service registration classification model is a machine learning model pre-trained; among multiple preset service data recognition models set in advance, select the target service data recognition model corresponding to the registration type to analyze the global user configuration information to obtain the unique registration value of the home gateway. The preset service data recognition model is a machine learning model pre-trained, and the preset service data recognition model corresponds to the registration type one by one.

[0073] In the above embodiments of the present application, the home gateway can use different registration types. When registering using different registration types, the format of the global user configuration information carrying the registration value is also different. Therefore, after obtaining the global user configuration information of the home gateway, the corresponding preset service data recognition model can be selected according to the registration type of the home gateway to identify the unique registration value of the home gateway from the global user configuration information, realizing the acquisition of the registration value.

[0074] Optionally, the registration type can be: loid / sn / mac.

[0075] The present invention also provides an alternative embodiment, which provides a pre-diagnosis and governance model for the non-manageability reclamation of home gateways, which can manage the non-inertia of home gateways in the access network VLAN before automatic reclamation of the access network VLAN, reducing the reclamation obstacles caused by the non-manageability of home gateways.

[0076] The pre-diagnosis and governance model for the non-manageability reclamation of home gateways provided by the present application can reduce the network transformation obstacles caused by the inability of the ITMS platform to issue the new city VLAN to the home gateway after the VLAN reclamation due to the non-manageability of the home gateway. It classifies and compares the models based on three-dimensional data such as the periodic non-manageable terminal historical data provided by ITMS, the real-time API interface to collect and detect the connectivity status of the terminal, the real-time encapsulated interface to detect the online service status of the terminal in the OLT, and the batch collection of the real-time broadband service online status by the AAA authentication server, and gives abnormal judgments and rectification suggestions. The abnormal judgment is normal or abnormal, and the reasons for the abnormality are divided into situations such as problem terminals, terminal hang-ups, cutover migrations, and user closures. The rectification suggestions are three methods: remotely restarting the optical modem, user cutover confirmation, and replacing the problem terminal. After the rectification is completed, the model will be triggered again for secondary confirmation, finally realizing the pre-diagnosis and governance of the non-manageability reclamation of home gateways.

[0077] As an alternative example, the technical details of the pre-diagnosis and governance model for the non-manageability reclamation of home gateways are used to intelligently audit and rectify non-manageable terminals before the VLAN reclamation configuration is issued, reducing user network service failures caused by the reclamation network transformation.

[0078] Figure 2 It is a schematic diagram of the logic of a pre-diagnosis and governance model for the non-manageability reclamation of home gateways according to an embodiment of the present invention, as Figure 2 shown, and specifically includes the following steps:

[0079] Step 21: Through OLT global configuration parsing, cache the service data configuration information fields of reclaimed users under a single OLT (i.e., optical line terminal) that need to apply the non-manageable terminal pre-diagnosis and governance model (such as global user configuration information). Among them, extract the corresponding sample data with the registration methods of "LOID" and "SN", and perform data configuration trimming, retaining fields such as ponid, registration method, and registration value.

[0080] Step 22: Establish four-dimensional feature field data. The first dimension is the ITMS gateway historical non-manageable terminal list (such as the historical manageability list). According to the LOID / SN registration values of the reclaimed users under a single OLT to be audited (i.e., the unique registration value of each home gateway), query the ITMS historical non-manageable terminal database through the interface to obtain the non-manageable terminal list under the single OLT and bring out the broadband account. The second dimension is the real-time collected manageability. Through the management VLAN interface, perform a connectivity ping test on the real-time terminals. The results are divided into "manageable" and "non-manageable" and placed in the ITMS real-time terminal manageability feature field of the terminals under the single OLT to obtain the real-time manageability list. The third dimension is the online service status of the home gateways currently hung under the OLT. The results are divided into "online" and "offline" and placed in the real-time online service status field of the terminals under the OLT. The fourth dimension is the real-time detection of the broadband service status of the AAA authentication server. Through batch AAA interface service status detection of the broadband accounts of the terminals under the OLT, the results are divided into "online" and "offline" and placed in the AAA service status feature field of the terminals under the single OLT.

[0081] Step 23: Establish a home gateway non-manageability diagnosis and governance model. The specific logic is as follows: When the historical gateway non-manageable field is "non-manageable" (i.e., the historical manageability of the home gateway is historically non-manageable), perform the following detections:

[0082] a. When the "real-time collected manageability" is manageable (i.e., the real-time manageability of the home gateway is real-time manageable), it is considered that the home gateway is manageable.

[0083] b. When the "real-time collected manageability" is non-manageable, and when the AAA authentication field (i.e., the server online status of the authentication server) is online, and the OLT real-time terminal online status (i.e., the gateway online status of the home gateway) is offline, it is considered that the user has been cut over and migrated.

[0084] c. When the "real-time collected manageability" is non-manageable, the AAA authentication field (i.e., the server online status of the authentication server) is offline, and the OLT real-time terminal online status (i.e., the gateway online status of the home gateway) is online, it is considered abnormal. The processing suggestion is to remotely restart the terminal. The remote restart uses the telnet protocol to encapsulate the terminal restart instruction for downward execution and take effect.

[0085] d. "Real-time acquisition manageability" is unmanageable. When the AAA authentication field (i.e., the server online status of the authentication server) is offline and the OLT real-time terminal online service status (i.e., the gateway online status of the home gateway) is offline, it is regarded as normal and considered to be caused by the user turning off the terminal.

[0086] e. For the full-scale diagnosis suggestion, after the remote terminal restart sample data restart is completed, the real-time acquisition manageability secondary test will be carried out again. If it is still diagnosed as unmanageable, it is regarded as a faulty terminal optical cat and the hardware needs to be replaced on-site.

[0087] Before the above step S21, use the OLT and MSE whole-machine configuration to real-time parse the service information parser of the device global configuration file, and construct the OLT hierarchical global configuration parsing and mapping algorithm. For the device models covered by the current OLT, the algorithm logic implementation method is: obtain the global user configuration information for the non-cascaded configuration, and obtain the global user configuration information for the non-cascaded configuration.

[0088] Figure 3 It is a schematic diagram of an OLT global configuration acquisition and parsing model according to an embodiment of the present invention. As Figure 3 shown, for the non-cascaded configuration type, a step-by-step interpreter is designed. The interface configuration symbol is used as the single-user configuration acquisition start flag bit, and the final exit configuration symbol (exit / quit) is used as the single-user configuration acquisition stop flag bit. The whole-machine configuration is scanned line by line. When a specific service board and PON port type are recognized, the specific frame, slot, and bit are written into the step-by-step interpretation memory, and the user service data write tag bit is set to the on state. Then scan the next line of this line configuration, call the service registration classification model (including loid / sn / mac, etc.) to identify the registration service model. Then, when the interpreter service step tag bit is the corresponding service model, at the same time, call the service data recognition model of this type of OLT. This model includes the service VLAN, priority, broadband service, management service, ITV service, fixed voice service, AWIFI service, FTTBC class sub-card registration information, etc. of the recognized service. Then, the scanned data is written because the tag bit is on. For the service progress tag bit being the specified corresponding service registration model, different corresponding service model data acquisitions can be enabled for different services. When scanning to the "#" end symbol, the interpreter write tag bit is closed, and only detect whether the tag bit is on for the following scans, otherwise skip directly.

[0089] Optionally, as Figure 3As shown in the figure, for the cascaded configuration type, the algorithm logic is to design a regular scanner for different hierarchical configurations, which can be specifically divided into a registration method scanner, a service flow configuration scanner, a sub-interface service configuration scanner, a service VLAN scanner, and various types of service data configuration scanners (including the above-mentioned management, ITV, voice, AWIFI, broadband, FTTBC device sub-card registration information, etc.). Asynchronously scan the entire OLT global configuration in modules. After the scan is completed, call the mapping module to splice the fields of the matching PON port and registration ID, so as to interpret the complete global user configuration data (that is, the global user configuration information).

[0090] Optionally, after obtaining the global user configuration data (that is, the global user configuration information), legal audit can be performed. The rules are that the service-port field cannot be empty, and for FTTBC services, according to different OLT models, ensure that the sub-card configuration information is not empty. Among them, for the FTTBC service data under the C600 / C300 devices, specific sub-card configuration information must be available.

[0091] Figure 4 It is a schematic diagram of a dedicated line cycle parsing model according to an embodiment of the present invention. As Figure 4 shown, construct an MSE global configuration dedicated line synchronous parsing algorithm. Its dedicated line service acquisition and storage step-by-step interpreter algorithm architecture is designed with a configuration scanner, an interface service identification carry symbol, a static dedicated line service identification carry symbol, dedicated line service configuration parsing (including a rate parsing module, a VLAN parsing module, a dedicated line sub-interface parsing module, a user IP parsing module, a service status parsing module, a service description parsing module), dedicated line type parsing, and cascaded configuration regular parsing. The dedicated line service acquisition and storage step-by-step interpreter scanning and identification logic is as follows: when it is a non-cascaded global configuration, first scan the global configuration line by line. When a specific dedicated line interface is scanned, set the interface service identification carry symbol to 1, and call the dedicated line type parsing and dedicated line service configuration parsing modules to parse the data configuration therein, and collect the specific IP address, rate template, service status, service VLAN value, dedicated line type (including Internet dedicated line, AP dedicated line, networking dedicated line, layer 2 networking), dedicated line sub-interface value, etc. of a professional user. When the end identifier of this interface is scanned, integrate and store the above field information, and set the interface service identification carry symbol to 0, and only check whether the following line-by-line configuration contains a professional interface identifier; when it is a cascaded configuration, directly call the cascaded configuration regular parsing module, and the regular parsing module includes a service IP identification module, a VLAN configuration identification module, a rate configuration identification module, and an interface status identification module, and perform asynchronous parsing at the same time. After the parsing is completed, associate according to the dedicated line sub-interface value to form a complete MSE dedicated line user configuration for storage.

[0092] Figure 5Schematic diagram of a dedicated line period parsing model according to an embodiment of the present invention. As Figure 5 shown, an OLT-MSE dedicated line synchronization mapper is constructed to realize real-time mapping and parsing of dedicated line service data, and shield the defects that various resource systems cannot guarantee in terms of real-time performance and accuracy. Using the LLDP (Link Layer Discovery Protocol) protocol, this algorithm is first encapsulated into an efficient API interface to realize automatic collection of data on the interconnected ports and aggregated ports between the OLT device and its upstream MSE device; call the OLT and MSE involved in the above multi-level device configuration service parsing algorithm for real-time configuration parsing and client caching; screen the parsed MSE whole machine dedicated line service data for the corresponding interconnected ports and logical aggregated ports to obtain the full amount of dedicated line service data carried by the OLT upstream; compare the SVLAN and CVLAN values in the OLT whole machine service collection information with the SVLAN and CVLAN values in the MSE dedicated line service data information after screening, and map the completely equal data information to the service-port of the OLT whole machine service collection information, and finally realize real-time and accurate mapping of OLT-MSE whole machine data.

[0093] As an example, during the VLAN reclamation configuration distribution, the authentication server batch broadband service authentication module is called to batch verify all the broadband services of the users hanging under the OLT, aiming to monitor the online status of the users' full broadband services in the AAA server in real time during the VLAN reclamation data configuration distribution process based on the OLT as the basic unit, associate the monitoring group according to the generated process ID, and realize real-time monitoring and early warning of the reclamation user service status and intervene in a timely manner.

[0094] Figure 6 Schematic diagram of a monitoring process established by batch uploading of broadband service accounts hanging under according to an embodiment of the present invention. As Figure 6 shown, the reclamation AAA service online status batch monitoring process ID is used to upload all the broadband accounts hanging under the optical line terminal to the system according to the upload template.

[0095] Figure 7 Schematic diagram of generating a process ID and batch verification result data after pre-verification according to an embodiment of the present invention. As Figure 7 shown, click Figure 6After the "Confirm to Establish 3A Service Monitoring Process ID Button" in [the above-mentioned example], the authentication server's batch broadband service authentication module will be called to batch verify all broadband user accounts attached to the optical line terminal, and establish storage fields for the pre - online status and the actual result of the pre - verification, so as to perform immediate post - verification monitoring after the subsequent VLAN re - cultivation configuration is issued. The creation rule of the process ID is the city name plus the name plus the current timestamp. In this example, the process ID is created, and the attached verification result data is stored in the database.

[0096] In the above - mentioned embodiments of the present application, the pre - diagnosis and governance model for the non - manageable re - cultivation of the home gateway can be used for the pre - intelligent auditing and classified rectification of the non - manageable home gateway before VLAN re - cultivation. By comparing the IMTS non - manageable terminal data list, the real - time collected OLT - attached terminal manageability data list, the OLT terminal online service status, and the AAA authentication server real - time online status list data, etc., the non - manageability of the terminal is analyzed from four dimensions, and the intelligent discrimination processing suggestions are made through the classification model, corresponding to restarting the optical modem, having been cut over to other OLTs, replacing the optical modem of the problem terminal, etc., and calling the relevant APIs for rectification and re - verification. This model significantly reduces the proportion of non - manageable home terminals attached to a single OLT and reduces the number of service failures caused by non - manageable home terminals during the VLAN re - cultivation work.

[0097] According to the embodiments of the present invention, an embodiment of a non - manageability diagnosis device for a home gateway is also provided. It should be noted that this non - manageability diagnosis device for a home gateway can be used to execute the non - manageability diagnosis method for a home gateway in the embodiments of the present invention, and the non - manageability diagnosis method for a home gateway in the embodiments of the present invention can be executed in this non - manageability diagnosis device for a home gateway.

[0098] Figure 8 is a schematic diagram of a non - manageability diagnosis device for a home gateway according to an embodiment of the present invention, as Figure 8 shown, the device may include: an acquisition module 82, which is used to acquire the gateway registration information of at least one home gateway attached to the optical line terminal, where the gateway registration information includes a unique registration value for each home gateway; a pulling module 84, which is used to pull the historical manageability of each home gateway according to the registration value to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; a detection module 86, which is used to detect the real - time manageability of the home gateways with historical non - manageability in the historical manageability list according to the registration value to obtain a real - time manageability list, where the real - time manageability list is used to record the real - time manageability of multiple home gateways; a determination module 88, which is used to determine the home gateways with real - time non - manageability as non - manageable gateways.

[0099] It should be noted that the obtaining module 82 in this embodiment may be used to execute step S102 in the embodiment of the present application, the pulling module 84 in this embodiment may be used to execute step S104 in the embodiment of the present application, the detecting module 86 in this embodiment may be used to execute step S106 in the embodiment of the present application, and the determining module 88 in this embodiment may be used to execute step S108 in the embodiment of the present application. The examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiments.

[0100] In an embodiment of the present invention, the network gateway registration information of at least one home gateway under the optical line terminal is obtained, where the network gateway registration information includes a unique registration value for each home gateway; according to the registration value, the historical manageability of each home gateway is pulled to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; according to the registration value, the real-time manageability of the home gateways with historical unmanageability in the historical manageability list is detected to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; the home gateways with real-time unmanageability are determined as unmanageable gateways, achieving the purpose of real-time monitoring of unmanageable gateways, thereby realizing the technical effect of real-time diagnosis of the unmanageability of home gateways, and further solving the technical problem of inability to diagnose the unmanageability of home gateways in real time.

[0101] As an optional embodiment, the device further includes: a first detection sub-module, configured to perform an online status detection on the unmanageable gateway after determining the home gateway with real-time unmanageability as an unmanageable gateway, to obtain an online status detection result, where the online status detection result is used to represent the server online status of the authentication server of the home gateway and the gateway online status of the home gateway; a second detection sub-module, configured to detect the unmanageable reason of the unmanageable gateway according to the server online status and the gateway online status.

[0102] As an optional embodiment, the second detection sub-module includes: a first determination unit, configured to determine that the unmanageable reason is that the unmanageable gateway has been cut over when the server online status is server online and the gateway online status is gateway offline; a second determination unit, configured to determine that the unmanageable reason is that there is a communication anomaly between the unmanageable gateway and the authentication server when the server online status is server offline and the gateway online status is gateway online; a third determination unit, configured to determine that the unmanageable reason is that the unmanageable gateway has been powered off when the server online status is server offline and the gateway online status is gateway offline.

[0103] As an alternative embodiment, the apparatus further includes: a restart sub-module, configured to remotely restart an unmanageable gateway when the online status of the server is that the server is offline and the online status of the gateway is that the gateway is online; a third detection module, configured to detect the real-time manageability of the unmanageable gateway according to the registration value after the unmanageable gateway is remotely restarted.

[0104] As an alternative embodiment, the obtaining module includes: an identifying unit, configured to identify the configuration type of the optical line terminal, where the configuration type at least includes: a cascaded configuration and a non-cascaded configuration; a collecting unit, configured to collect the global user configuration information of the optical line terminal by using an information collecting device pre-configured for the configuration type, where the global user configuration information at least includes: gateway registration information.

[0105] As an alternative embodiment, the collecting unit includes: a first collecting sub-unit, configured to, when the configuration type is a non-cascaded configuration, scan line by line the gateway configuration information of each home gateway connected to the optical line terminal, and write the gateway configuration information between the interface configuration symbol and the exit configuration symbol into a step-by-step interpretation memory to obtain the global user configuration information, where the step-by-step interpretation memory is the information collecting device, the interface configuration symbol is the identification bit for starting to collect user configuration, the exit configuration symbol is the identification bit for closing the collection of user configuration, and the global user configuration information is the gateway configuration information written in the step-by-step interpretation memory; a second collecting sub-unit, configured to, when the configuration type is a cascaded configuration, asynchronously scan multiple optical line terminals with a cascaded configuration by using a regular scanner to obtain the global user configuration information, where the regular scanner uses multiple service scanners pre-configured for different services to respectively scan the service configuration information corresponding to each service in multiple optical line terminals, and splices the scanning results into the global user configuration information.

[0106] As an alternative embodiment, the apparatus further includes: an analysis sub-unit, configured to analyze the global user configuration information by invoking a preset service registration classification model to obtain the registration type of the home gateway, where the preset service registration classification model is a machine learning model pre-trained; a selection sub-unit, configured to select a target service data identification model corresponding to the registration type from multiple preset service data identification models pre-set to analyze the global user configuration information to obtain the unique registration value of the home gateway, where the preset service data identification model is a machine learning model pre-trained, and the preset service data identification model corresponds to the registration type one by one.

[0107] Embodiments of the present invention may provide an electronic device, which is a computer terminal, and the computer terminal may be any one of the computer terminal devices in a computer terminal group. Optionally, in this embodiment, the above computer terminal may also be replaced with a terminal device such as a mobile terminal.

[0108] Optionally, in this embodiment, the above computer terminal may be at least one network device among multiple network devices of a computer network.

[0109] In this embodiment, the above computer terminal may execute the program code of the following steps in the unmanageability diagnosis method of a home gateway: obtain the gateway registration information of at least one home gateway under a optical line terminal, where the gateway registration information includes a unique registration value for each home gateway; pull the historical manageability of each home gateway according to the registration value to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; detect the real-time manageability of the home gateways with historical unmanageability in the historical manageability list according to the registration value to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; determine the home gateways with real-time unmanageability as unmanageable gateways.

[0110] Figure 9 is a structural block diagram of a computer terminal according to an embodiment of the present invention, as Figure 9 shown, the computer terminal 90 may include: one or more (only one is shown in the figure) processors 92, and a memory 94.

[0111] Among them, the memory may be used to store software programs and modules, such as the program instructions / modules corresponding to the unmanageability diagnosis method and device of the home gateway in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implements the above unmanageability diagnosis method of the home gateway. The memory may include a high-speed random access memory, and may further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory may further include a memory remotely disposed relative to the processor, and these remote memories may be connected to the terminal A through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0112] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: Obtain the gateway registration information of at least one home gateway connected to the optical line terminal. The gateway registration information includes a unique registration value for each home gateway; According to the registration value, pull the historical manageability of each home gateway to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; According to the registration value, detect the real-time manageability of the home gateways with historical unmanageability in the historical manageability list to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; Determine the home gateways with real-time unmanageability as unmanageable gateways.

[0113] Optionally, the above-mentioned processor can also execute the program code of the following steps: Perform an online status detection on the unmanageable gateway to obtain an online status detection result, where the online status detection result is used to represent the server online status of the authentication server of the home gateway and the gateway online status of the home gateway; According to the server online status and the gateway online status, detect the reason for the unmanageability of the unmanageable gateway.

[0114] Optionally, the above-mentioned processor can also execute the program code of the following steps: When the server online status is server online and the gateway online status is gateway offline, determine that the reason for unmanageability is that the unmanageable gateway has been cut over; When the server online status is server offline and the gateway online status is gateway online, determine that the reason for unmanageability is the communication anomaly between the unmanageable gateway and the authentication server; When the server online status is server offline and the gateway online status is gateway offline, determine that the reason for unmanageability is that the unmanageable gateway has been powered off.

[0115] Optionally, the above-mentioned processor can also execute the program code of the following steps: When the server online status is server offline and the gateway online status is gateway online, perform a remote restart on the unmanageable gateway; After the unmanageable gateway is remotely restarted, detect the real-time manageability of the unmanageable gateway according to the registration value.

[0116] Optionally, the above-mentioned processor can also execute the program code of the following steps: Identify the configuration type of the optical line terminal, where the configuration type at least includes: cascade configuration and non-cascade configuration; Use the information collection device pre-configured for the configuration type to collect the global user configuration information of the optical line terminal, where the global user configuration information at least includes: gateway registration information.

[0117] Optionally, the above-mentioned processor may also execute the program code of the following steps: in the case where the configuration type is a non-cascaded configuration, scan the gateway configuration information of each home gateway connected to the optical line terminal line by line, and write the gateway configuration information between the interface configuration symbol and the exit configuration symbol into the step-by-step interpretation memory to obtain the global user configuration information, where the step-by-step interpretation memory is an information collection device, the interface configuration symbol is the identification bit for enabling the collection of user configuration, the exit configuration symbol is the identification bit for disabling the collection of user configuration, and the global user configuration information is the gateway configuration information written in the step-by-step interpretation memory; in the case where the configuration type is a cascaded configuration, use a regular scanner to asynchronously scan multiple optical line terminals in the cascaded configuration in modules to obtain the global user configuration information, where the regular scanner uses multiple service scanners pre-configured for different services to scan the service configuration information corresponding to each service in multiple optical line terminals respectively, and splices the scan results into the global user configuration information.

[0118] Optionally, the above-mentioned processor may also execute the program code of the following steps: call a preset service registration classification model to analyze the global user configuration information to obtain the registration type of the home gateway, where the preset service registration classification model is a machine learning model pre-trained; among multiple preset service data recognition models set in advance, select the target service data recognition model corresponding to the registration type to analyze the global user configuration information to obtain the unique registration value of the home gateway, where the preset service data recognition model is a machine learning model pre-trained, and the preset service data recognition model corresponds to the registration type one by one.

[0119] Those of ordinary skill in the art can understand that the structure shown in the figure is only schematic, and the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile Internet device (MID), a PAD and other terminal devices. The figure () does not limit the structure of the above-mentioned electronic device. For example, the computer terminal () may also include more or fewer components (such as a network interface, a display device, etc.) than those shown in the figure (), or have a different configuration from that shown in the figure ().

[0120] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware of the terminal device through a computer program, and the computer program can be stored in a non-volatile medium. The non-volatile storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disc, etc.

[0121] An embodiment of the present invention further provides a non-volatile storage medium. Optionally, in this embodiment, the above non-volatile storage medium can be used to store the program code executed by the unmanageability diagnosis method of the home gateway provided in the above embodiment.

[0122] Optionally, in this embodiment, the above non-volatile storage medium can be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.

[0123] Optionally, in this embodiment, the non-volatile storage medium is set to store the program code for performing the following steps: obtaining the gateway registration information of at least one home gateway connected to the optical line terminal, where the gateway registration information includes a unique registration value for each home gateway; pulling the historical manageability of each home gateway according to the registration value to obtain a historical manageability list, where the historical manageability list is used to record the historical manageability of multiple home gateways; detecting the real-time manageability of the home gateways with historical unmanageability in the historical manageability list according to the registration value to obtain a real-time manageability list, where the real-time manageability list is used to record the real-time manageability of multiple home gateways; and determining the home gateways with real-time unmanageability as unmanageable gateways.

[0124] Optionally, in this embodiment, the non-volatile storage medium is set to store the program code for performing the following steps: performing an online status detection on the unmanageable gateway to obtain an online status detection result, where the online status detection result is used to represent the server online status of the authentication server of the home gateway and the gateway online status of the home gateway; and detecting the unmanageable reason of the unmanageable gateway according to the server online status and the gateway online status.

[0125] Optionally, in this embodiment, the non-volatile storage medium is set to store the program code for performing the following steps: when the server online status is server online and the gateway online status is gateway offline, determining that the unmanageable reason is that the unmanageable gateway has been cut over; when the server online status is server offline and the gateway online status is gateway online, determining that the unmanageable reason is that there is a communication anomaly between the unmanageable gateway and the authentication server; and when the server online status is server offline and the gateway online status is gateway offline, determining that the unmanageable reason is that the unmanageable gateway has been powered off.

[0126] Optionally, in this embodiment, the non-volatile storage medium is set to store the program code for performing the following steps: when the server online status is server offline and the gateway online status is gateway online, performing a remote restart on the unmanageable gateway; and after the remote restart of the unmanageable gateway, detecting the real-time manageability of the unmanageable gateway according to the registration value.

[0127] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: identifying the configuration type of the optical line terminal, where the configuration type at least includes: cascade configuration and non-cascade configuration; using an information acquisition device pre-configured for the configuration type to acquire the global user configuration information of the optical line terminal, where the global user configuration information at least includes: gateway registration information.

[0128] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: in the case where the configuration type is a non-cascade configuration, scanning the gateway configuration information of each home gateway connected to the optical line terminal line by line, and writing the gateway configuration information between the interface configuration symbol and the exit configuration symbol into the step-by-step interpretation memory to obtain the global user configuration information, where the step-by-step interpretation memory is the information acquisition device, the interface configuration symbol is the identification bit for starting to acquire user configuration, the exit configuration symbol is the identification bit for closing the acquisition of user configuration, and the global user configuration information is the gateway configuration information written in the step-by-step interpretation memory; in the case where the configuration type is a cascade configuration, using a regular scanner to asynchronously scan multiple optical line terminals with cascade configuration in modules to obtain the global user configuration information, where the regular scanner uses multiple service scanners pre-configured for different services to scan the service configuration information corresponding to each service in multiple optical line terminals respectively, and splices the scan results into the global user configuration information.

[0129] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: calling a preset service registration classification model to analyze the global user configuration information to obtain the registration type of the home gateway, where the preset service registration classification model is a machine learning model pre-trained; among multiple preset service data recognition models pre-set, selecting the target service data recognition model corresponding to the registration type to analyze the global user configuration information to obtain the unique registration value of the home gateway, where the preset service data recognition model is a machine learning model pre-trained, and the preset service data recognition model corresponds to the registration type one by one.

[0130] An embodiment of the present invention further provides a computer program product, including a computer program. Optionally, in this embodiment, it is characterized in that when the computer program is executed by a processor, it implements the steps of the method for diagnosing the unmanageability of the home gateway provided in the above embodiment.

[0131] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.

[0132] In the above embodiments of the present invention, the descriptions of the various embodiments each have their own emphasis. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0133] In several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.

[0134] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0135] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0136] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a non-volatile storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned non-volatile storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs, etc., which can store program codes.

[0137] The above are only the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.

Claims

1. A method for diagnosing the unmanageability of a home gateway, characterized in that: include: Obtaining gateway registration information of at least one home gateway connected to the optical line terminal, wherein the gateway registration information includes a unique registration value of each home gateway; According to the registration value, pull the historical manageability of each home gateway to obtain a historical manageability list, wherein the historical manageability list is used to record the historical manageability of multiple home gateways; According to the registration value, detecting the real-time manageability of the home gateway whose historical manageability is historically unmanageable in the historical manageability list, and obtaining a real-time manageability list, wherein the real-time manageability list is used to record the real-time manageability of a plurality of the home gateways; The home gateway whose real-time manageability is real-time unmanageable is determined as an unmanageable gateway.

2. The method according to claim 1, characterized in that: After determining the home gateway whose real-time manageability is real-time unmanageable as an unmanageable gateway, the method further includes: Performing an online status detection on the unmanageable gateway to obtain an online status detection result, wherein the online status detection result is used to indicate the server online status of the authentication server of the home gateway and the gateway online status of the home gateway; The unmanageable reason of the unmanageable gateway is detected according to the online status of the server and the online status of the gateway.

3. The method according to claim 2, characterized in that Detecting the unmanageable reason of the unmanageable gateway according to the online status of the server and the online status of the gateway includes: When the server online state is server online and the gateway online state is gateway offline, determining that the unmanageable reason is that the unmanageable gateway has been cutover; When the server online status is server offline and the gateway online status is gateway online, determining that the unmanageable reason is abnormal communication between the unmanageable gateway and the authentication server; When the server online status is server offline and the gateway online status is gateway offline, it is determined that the unmanageable reason is that the unmanageable gateway is powered off.

4. The method according to claim 3, characterized in that The method further comprises: When the server online status is server offline and the gateway online status is gateway online, remotely restart the unmanageable gateway; After the unmanageable gateway is remotely restarted, the real-time manageability of the unmanageable gateway is detected according to the registration value.

5. The method according to claim 1, characterized in that: The obtaining of gateway registration information of at least one home gateway connected to the optical line terminal comprises: Identifying a configuration type of the optical line terminal, wherein the configuration type includes at least: a cascaded configuration and a non-cascaded configuration; Using an information collection device pre-configured for the configuration type, the global user configuration information of the optical line terminal is collected, wherein the global user configuration information at least includes: the gateway registration information.

6. The method according to claim 5, characterized in that Using an information collection device pre-configured for the configuration type, collecting the global user configuration information of the optical line terminal includes: In the case where the configuration type is the non-cascade configuration, the gateway configuration information of each home gateway hung under the optical line terminal is scanned line by line, and the gateway configuration information between the interface configuration symbol and the exit configuration symbol is written into a step-by-step interpretation memory to obtain the global user configuration information, wherein the step-by-step interpretation memory is the information collection device, the interface configuration symbol is a flag for turning on the collection of user configuration, the exit configuration symbol is a flag for turning off the collection of user configuration, and the global user configuration information is the gateway configuration information written in the step-by-step interpretation memory; In the case where the configuration type is the cascade configuration, a regular scanner is used to asynchronously scan the multiple optical line terminals of the cascade configuration in modules to obtain the global user configuration information, wherein the regular scanner uses multiple service scanners pre-configured for different services to scan the service configuration information corresponding to each service in the multiple optical line terminals respectively, and splices the scanning results into the global user configuration information.

7. The method according to claim 6, characterized in that The method further comprises: Calling a preset service registration classification model to analyze the global user configuration information to obtain the registration type of the home gateway, wherein the preset service registration classification model is a pre-trained machine learning model; Among the pre-set multiple preset business data identification models, select the target business data identification model corresponding to the registration type to analyze the global user configuration information to obtain the unique registration value of the home gateway, wherein the preset business data identification model is a pre-trained machine learning model, and the preset business data identification model corresponds one-to-one to the registration type.

8. A device for diagnosing the unmanageability of a home gateway, characterized in that: include: An acquisition module, in which a user acquires gateway registration information of at least one home gateway connected to an optical line terminal, wherein the gateway registration information includes a unique registration value of each home gateway; A pulling module, used for pulling the historical manageability of each home gateway according to the registration value, and obtaining a historical manageability list, wherein the historical manageability list is used to record the historical manageability of a plurality of the home gateways; a detection module, configured to detect, according to the registration value, the real-time manageability of the home gateway whose historical manageability is historically unmanageable in the historical manageability list, and obtain a real-time manageability list, wherein the real-time manageability list is used to record the real-time manageability of a plurality of the home gateways; The determination module is used to determine the home gateway whose real-time manageability is real-time unmanageable as an unmanageable gateway.

9. An electronic device, comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the unmanageability diagnosis method of a home gateway according to any one of claims 1 to 7 through the computer program.

10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method for diagnosing the unmanageability of a home gateway described in any one of claims 1 to 7 are implemented.