Gateway management method and device, terminal and storage medium
By introducing a gateway management module into the FTTR network, the communication connection of the subgateway equipment is controlled by using the FTTR main gateway equipment device, the performance problem of the FTTR subgateway equipment management platform under high load conditions is solved, and efficient remote management is achieved and platform load is reduced.
Patent Information
- Application Number
- CN202411731211.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-04
AI Technical Summary
After the business volume of the existing FTTR sub-gateway equipment management platform increases, the processing capacity is insufficient, resulting in increased platform load, increased data processing delay, increased risk of failure, and large equipment access capacity, complex management, and poor scalability.
By using the FTTR main gateway device as the intermediate point connecting the private network and the public network, the gateway management module is used to control the communication connection between the FTTR main gateway device and the FTTR subgate device, remote management of the FTTR subgateway device is realized, and the workload of the central management platform is reduced.
Remote management of FTTR subgateway devices is effectively realized, reducing the workload of the central management platform, improving management efficiency, and reducing the risk of failure.
Smart Images

Figure CN119561936A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of gateway equipment, and in particular to a gateway management method, device, terminal and storage medium. Background Art
[0002] FTTR technology refers to a new type of internal network technology based on fiber-optic communication and fiber to the room. At present, fiber to the home is usually completed by the operator's fiber to the home, excluding the indoor network. Users need to use wireless routers, plc, moca and other technologies to arrange indoor networks as needed. FTTR is not only a fiber optic cable entering the home, but also a fiber optic network covering all rooms can be established through FTTR equipment.
[0003] At present, there are generally two ways to manage FTTR sub-gateway equipment: one is to assign a public network address to the FTTR sub-gateway equipment, and then the bureau's management platform continues to use the previous management method, using tr069, http, telnet, plug-in and other protocols for remote management. However, with the increase in business volume, the rapid growth of access volume and data traffic, the processing capacity of the central platform has also increased accordingly, which has increased the platform load, increased the data processing delay of the FTTR main and sub-gateways, and increased the risk of failure. At the same time, due to the huge equipment access capacity of FTTR, the following problems still exist in use: the total number of FTTR sub-gateways hanging down is growing exponentially, the workload of the centralized management platform is too large, a large number of public network addresses are occupied, the workload of management personnel is increased, and the scalability is not strong. Summary of the invention
[0004] The main purpose of this application is to provide a gateway management method, device, terminal and storage medium, aiming to use the FTTR main gateway device as the intermediate point connecting the private network and the public network, and use the gateway management module to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, effectively realize the remote management of the FTTR sub-gateway device, and reduce the workload of the central management platform.
[0005] To achieve the above-mentioned purpose, the present application provides a gateway management method, which is applied to a FTTR main gateway device, wherein the FTTR main gateway device, a central management platform, a gateway management module, a FTTR sub-gateway device and a remote management system are in the same communication network, the gateway management module is used to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, and the remote management system is used to remotely control the FTTR main gateway device and the FTTR sub-gateway device;
[0006] The method comprises:
[0007] In response to the management operation instruction sent by the remote management system, downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system;
[0008] Based on the encapsulated content in the management firmware, the management firmware is transmitted to the FTTR sub-gateway device, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
[0009] Specifically, before downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system in response to the management operation instruction sent by the remote management system, the method further includes:
[0010] Establishing an uplink connection channel and a downlink connection channel respectively, wherein the uplink connection channel is used to connect the FTTR main gateway device and the gateway management module, and the downlink connection channel is used to connect the FTTR main gateway device and the FTTR sub-gateway device;
[0011] Receive the management message sent by the central management platform, and send the response message corresponding to the management message to the gateway management module.
[0012] Specifically, the central management platform includes a server, and the server includes a central file server and a central server;
[0013] The step of responding to the management operation instruction sent by the remote management system and downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system comprises:
[0014] In response to the management operation instruction sent by the central server, the management firmware is downloaded through the network connection address sent by the central file server.
[0015] Specifically, the management operation instruction is a gateway upgrade instruction, and the management firmware is a gateway upgrade firmware;
[0016] The step of responding to the management operation instruction sent by the remote management system and downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system comprises:
[0017] In response to the gateway upgrade instruction sent by the remote management system, the gateway upgrade firmware is downloaded through the network connection address sent by the remote management system.
[0018] Specifically, the transmitting the management firmware to the FTTR sub-gateway device based on the encapsulated content in the management firmware includes:
[0019] Based on the encapsulated content in the gateway upgrade firmware, the gateway upgrade firmware is classified to obtain a classification result, wherein the classification result is used to characterize the corresponding relationship between each part in the encapsulated content and the FTTR sub-gateway device;
[0020] Based on the classification result, the gateway upgrade firmware is transmitted to the FTTR sub-gateway device.
[0021] Specifically, after transmitting the gateway upgrade firmware to the FTTR sub-gateway device based on the classification result, the method further includes:
[0022] Scan the network segment corresponding to the FTTR main gateway device, and if the network segment includes a survival gateway device adjacent to the FTTR main gateway device, activate the survival gateway device and perform a signaling verification operation, wherein the signaling verification operation is used to enable data transmission between the FTTR main gateway device and the survival gateway device;
[0023] Based on the device information of the survival gateway device, the gateway upgrade firmware is transmitted to the survival gateway device, so as to perform an upgrade operation on the survival gateway device through the gateway upgrade firmware.
[0024] Specifically, the device information includes a device model corresponding to the survivable gateway device and a software version corresponding to the survivable gateway device;
[0025] The transmitting the gateway upgrade firmware to the surviving gateway device based on the device information of the surviving gateway device includes:
[0026] Obtaining a device model corresponding to the survival gateway device and a software version corresponding to the survival gateway device;
[0027] Compare the device model corresponding to the surviving gateway device and the device model corresponding to the gateway upgrade firmware in the central file server to obtain a first comparison result;
[0028] Compare the software version corresponding to the surviving gateway device and the software version corresponding to the gateway upgrade firmware in the central file server to obtain a second comparison result;
[0029] If the first comparison result is that the device model corresponding to the surviving gateway device is the same as the device model corresponding to the gateway upgrade firmware in the central file server and the second comparison result is that the software version corresponding to the surviving gateway device is compatible with the software version corresponding to the gateway upgrade firmware in the central file server, then the gateway upgrade firmware is transmitted to the surviving gateway device.
[0030] To achieve the above-mentioned purpose, the present application also provides a gateway management device, which is applied to a FTTR main gateway device, wherein the FTTR main gateway device, the central management platform, the gateway management module, the FTTR sub-gateway device and the remote management system are in the same communication network, the gateway management module is used to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, and the remote management system is used to remotely control the FTTR main gateway device and the FTTR sub-gateway device;
[0031] The gateway management device comprises:
[0032] A first unit is used to respond to the management operation instruction sent by the remote management system and download the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system;
[0033] The second unit is used to transmit the management firmware to the FTTR sub-gateway device based on the encapsulated content in the management firmware, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
[0034] To achieve the above-mentioned purpose, the present application also provides a terminal, including a memory storing multiple instructions; the processor loads instructions from the memory to execute the steps in any one of the methods provided in the present application.
[0035] To achieve the above objectives, the present application also provides a storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any method provided in the present application.
[0036] The present application provides a gateway management method, device, terminal and storage medium, which can first respond to the management operation instruction sent by the remote management system, and download the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system; based on the encapsulated content in the management firmware, transmit the management firmware to the FTTR sub-gateway device, use the FTTR main gateway device as the intermediate point connecting the private network and the public network, and manage the FTTR sub-gateway device through the management firmware, so as to realize remote management of the FTTR sub-gateway device and reduce the workload of the central management platform.
[0037] This application can use the FTTR main gateway device as the intermediate point connecting the private network and the public network, and use the gateway management module to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, effectively realize the remote management of the FTTR sub-gateway device, and reduce the workload of the central management platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1A schematic diagram of a process flow provided for an embodiment of the present application;
[0039] Figure 2 A schematic diagram of the structure of a gateway management device provided in an embodiment of the present application;
[0040] Figure 3 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0042] As the volume of business, the number of visits and the rapid growth of data traffic increase, the processing capacity of the central platform also increases accordingly, which increases the platform load, increases the data processing delay of the FTTR main and sub-gateways, and increases the risk of failure. At the same time, due to the huge equipment access capacity of FTTR, the following problems still exist in use: the total number of sub-gateways attached to FTTR increases exponentially, the workload of the centralized management platform is too large, a large number of public network addresses are occupied, the workload of management personnel is increased, and the scalability is not strong.
[0043] Therefore, the embodiments of the present application provide a gateway management method, device, terminal and storage medium to solve practical technical problems.
[0044] In some embodiments, the device may be specifically integrated into an electronic device, which may be a terminal, a server or other device.
[0045] In some embodiments, the server may also be implemented in the form of a terminal.
[0046] Among them, the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0047] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, and this application does not limit this.
[0048] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
[0049] An embodiment of the present application provides a gateway management method, which can use the FTTR main gateway device as an intermediate point connecting the private network and the public network, and use the gateway management module to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, effectively realize the remote management of the FTTR sub-gateway device, and reduce the workload of the central management platform.
[0050] The method is applied to an FTTR main gateway device, wherein the FTTR main gateway device, the central management platform, the gateway management module, the FTTR sub-gateway device and the remote management system are in the same communication network, the gateway management module is used to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, and the remote management system is used to remotely control the FTTR main gateway device and the FTTR sub-gateway device.
[0051] FTTR (Fiber to the Room) refers to the technology of fiber to the room, which is a form of fiber access network. With the development of fiber optic communication technology and the increase in broadband demand, FTTR has gradually become a new way of network access, especially in high-end residential areas, hotels, hospitals and other places with high requirements for network quality. FTTR gateway equipment is one of the key components to realize fiber to the room technology, which is responsible for converting fiber optic network signals into electrical signals that can be used by various terminal devices (such as computers, smart phones, TVs, etc.).
[0052] In some embodiments, the FTTR gateway device is generally composed of the FTTR master gateway device (Master Gateway) and multiple FTTR sub-gateway devices (Sub-Gateways), and the FTTR gateway devices work together to achieve the goal of directly reaching each room with optical fiber: the FTTR master gateway device is the entry point of the entire FTTR system, and it receives high-speed Internet connection from the operator via optical fiber; the FTTR sub-gateway devices are deployed in each room to extend the network services provided by the master gateway to each individual space.
[0053] The remote management system is a software solution specially designed for managing and monitoring FTTR network infrastructure. The remote management system allows network administrators or service providers to remotely access, configure and maintain the main gateway devices and sub-gateway devices in the FTTR network via the Internet.
[0054] The gateway management module generally refers to a technology used to manage and control devices in a home or small business network. Specifically, the gateway management module includes the TR-069 protocol and the corresponding plug-in: TR-069 (Technical Report 069), the full name of which is "CPE Wide Area Network Management Protocol", is a standard developed by the Broadband Forum that allows service providers to remotely manage and configure customer premises equipment (CPE), such as modems, routers, etc.; a plug-in refers to a software component installed on a device to support TR-069 functions, and the plug-in enables the device to communicate with the service provider's ACS (Auto Configuration Server).
[0055] like Figure 1 , the specific process of the method can be as follows:
[0056] S110 . In response to the management operation instruction sent by the remote management system, download the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system.
[0057] In some embodiments, before responding to the management operation instruction sent by the remote management system and downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system, the method further includes steps R1 to R2 as shown below:
[0058] R1. Establish an uplink connection channel and a downlink connection channel respectively, wherein the uplink connection channel is used to connect the FTTR main gateway device and the gateway management module, and the downlink connection channel is used to connect the FTTR main gateway device and the FTTR sub-gateway device.
[0059] The uplink channel is a channel for transmitting data from a terminal device (such as a mobile phone, laptop, IoT device, etc.) to a base station or access point (such as a cellular tower, router, etc.), and is mainly used for uploading data, such as sending messages, uploading files, and voice calls; the downlink channel is a channel for transmitting data from a base station or access point to a terminal device, and is mainly used for downloading data, such as browsing web pages, watching videos, and receiving messages. Specifically, the FTTR main gateway device is used as an intermediate point connecting the private network and the public network to establish the uplink channel and the downlink channel.
[0060] R2. Receive the management message sent by the central management platform, and send the response message corresponding to the management message to the gateway management module.
[0061] In some embodiments, the central management platform sends management messages to the FTTR master gateway device, which is an important mechanism for achieving remote management and monitoring. It involves multiple technologies and protocols to ensure that management instructions can be accurately and efficiently delivered to the target device. Management messages can contain many different types of information. Common management message types include:
[0062] Configuration command: used to modify the configuration parameters of the device, such as IP address, subnet mask, gateway address, DNS server, etc.
[0063] Firmware update: used to push new firmware versions to fix vulnerabilities or add new features;
[0064] Status query: used to obtain the current status information of the device, such as CPU utilization, memory usage, network interface status, etc.
[0065] Log request: used to request the device's log files for fault diagnosis and analysis;
[0066] Performance monitoring: used to set and query performance monitoring parameters, such as bandwidth usage, packet loss rate, latency, etc.
[0067] Security Policy: Used to configure and manage security policies of devices, such as firewall rules, access control lists (ACLs), etc.
[0068] Specifically, the central management platform constructs a management message including a specific management command or request, and the management message is sent to the FTTR main gateway device via a selected protocol (such as SNMP, TR-069, HTTP / HTTPS, etc.).
[0069] In some embodiments, sending the response message corresponding to the management message to the gateway management module is an important part of FTTR network management, which ensures that the execution results of the management instructions can be fed back to the central management platform in a timely manner, thereby achieving efficient management and monitoring of network devices. The response message may contain the following content:
[0070] Operation status: indicates whether the operation is successful (such as success, failure, partial success, etc.);
[0071] Details: If the operation fails, it contains the specific error code and error description;
[0072] Return data: If the request needs to return data (such as status query, log request, etc.), it contains the corresponding data.
[0073] Specifically, the FTTR master gateway device sends a response message back to the central management platform via the selected communication protocol. If it is via HTTP / HTTPS protocol, the FTTR master gateway device will send an HTTP response message.
[0074] In some embodiments, the central management platform includes a server, and the server includes a central file server and a central server.
[0075] In some embodiments, the central file server can store the latest firmware files for download and update by the main gateway device and the sub-gateway device, and can also store the configuration file template of the device for batch configuration of the device. The central file server can push the latest firmware files to the FTTR main gateway device and the FTTR sub-gateway device through the network to ensure that the FTTR gateway device always runs the latest version of the software.
[0076] In some embodiments, the central server is responsible for the overall management of the device and the network, including device monitoring, configuration management, traffic monitoring, security management, etc.
[0077] In some embodiments, in response to the management operation instruction sent by the remote management system, downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system includes the following specific implementation process:
[0078] In response to the management operation instruction sent by the central server, the management firmware is downloaded through the network connection address sent by the central file server.
[0079] Specifically, the management operation instruction is a gateway upgrade instruction, and the management firmware is a gateway upgrade firmware. The response to the management operation instruction sent by the remote management system, downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system, includes the following specific implementation process:
[0080] In response to the gateway upgrade instruction sent by the remote management system, the gateway upgrade firmware is downloaded through the network connection address sent by the remote management system.
[0081] S120: Based on the encapsulated content in the management firmware, transmit the management firmware to the FTTR sub-gateway device, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
[0082] In some embodiments, the transmitting the management firmware to the FTTR sub-gateway device based on the encapsulated content in the management firmware includes the following steps S121 to S122:
[0083] S121. Based on the encapsulated content in the gateway upgrade firmware, classify the gateway upgrade firmware to obtain a classification result, wherein the classification result is used to characterize the corresponding relationship between each part in the encapsulated content and the FTTR sub-gateway device.
[0084] In some embodiments, the gateway upgrade firmware generally includes multiple parts, each of which may be for different devices or functional modules. Common gateway upgrade firmware encapsulation contents include:
[0085] Bootloader: used to start the device and load the operating system;
[0086] Operating system (OS): the core software of the device, managing hardware resources and running applications;
[0087] Applications: Software modules that provide specific functions, such as network management, security protection, etc.
[0088] Drivers: Software modules used to control hardware devices;
[0089] Configuration Files: Contains the initial configuration information of the device;
[0090] Firmware version information: records the firmware version number and release date.
[0091] In some embodiments, the classification process includes the following steps:
[0092] Decapsulation: Use dedicated tools or scripts to decompress the firmware package and extract the contents of each part. The decapsulation process usually involves file decompression and file format parsing;
[0093] Metadata parsing: Parse the metadata files in the firmware package. These files usually contain description information of each part of the firmware, such as file name, file type, applicable device model, version number, etc. The metadata files may be in JSON, XML or other formats, depending on the specifications of the firmware package;
[0094] Content analysis: Perform content analysis on each extracted part to determine the function and scope of application of each part. For example, analyze the code of the bootloader to determine whether it is applicable to a specific hardware platform, and use signatures or hash values to verify the integrity and authenticity of each part to ensure that the firmware has not been tampered with;
[0095] Classification tag: Classify and tag each part based on the results of content analysis. Classification tags can be labels, attributes, or other identifiers that characterize the characteristics and scope of application of the part; for example, tag a part as "applicable to FTTR sub-gateway device A" or "applicable to FTTR main gateway device B";
[0096] Generate classification results: Aggregate the classification tags and related information to generate classification results. The classification result is usually a data structure, such as a dictionary or a list, in which each entry contains the identifier of the firmware part and the corresponding device model. The classification result can be stored in a database for subsequent management and distribution.
[0097] S122: Based on the classification result, transmit the gateway upgrade firmware to the FTTR sub-gateway device.
[0098] In some embodiments, based on the classification results, the central management platform can control the FTTR main gateway device to distribute different parts of the firmware to the corresponding FTTR sub-gateway devices. For example, bootloader.bin, os.img, app1.bin, drivers.tar.gz, and config.json are distributed to FTTR-Sub-Gateway-A, and app2.bin is distributed to FTTR-Sub-Gateway-B. After receiving the firmware parts, the FTTR sub-gateway device performs corresponding update operations based on the classification results. For example, FTTR-Sub-Gateway-A will update the bootloader, operating system, network management application, driver, and configuration file in sequence.
[0099] In some embodiments, after transmitting the gateway upgrade firmware to the FTTR sub-gateway device based on the classification result, the method further includes steps T1 to T2 as shown below:
[0100] T1. Scan the network segment corresponding to the FTTR main gateway device. If the network segment includes a survival gateway device adjacent to the FTTR main gateway device, activate the survival gateway device and perform a signaling verification operation, wherein the signaling verification operation is used to enable data transmission between the FTTR main gateway device and the survival gateway device.
[0101] In some embodiments, all surviving devices in the same network segment are identified through scanning, especially sub-gateway devices adjacent to the main gateway device, so as to understand the topology of the network and provide basic information for subsequent management and optimization.
[0102] Specifically, obtain the IP address and subnet mask of the FTTR main gateway device to determine the network segment it is located in. For example, the IP address of the main gateway device is 192.168.1.1 and the subnet mask is 255.255.255.0, then the network segment is 192.168.1.0 / 24; use the Ping command of ICMP (Internet Control Message Protocol) or ARP (Address Resolution Protocol) request to send a probe message to all IP addresses in the network segment; extract the IP address and MAC address of the surviving gateway device from the response, and identify the surviving gateway device adjacent to the FTTR main gateway device according to the MAC address of the surviving gateway device or a specific identifier (such as device type, manufacturer information, etc.).
[0103] In some embodiments, signaling verification is used to ensure that communications between gateway devices are secure and reliable.
[0104] Specifically, a signaling request is sent to the survival gateway device to request the establishment of a data transmission channel. The signaling request may include the device's identity information, key and other security parameters. After receiving the signaling request, the survival gateway device performs verification and returns a response. The response includes the verification result and necessary configuration information. The signaling response is checked to confirm whether the verification is successful. If the verification fails, the error information is recorded and troubleshooting is performed.
[0105] T2. Based on the device information of the survival gateway device, the gateway upgrade firmware is transmitted to the survival gateway device, so as to perform an upgrade operation on the survival gateway device through the gateway upgrade firmware.
[0106] In some embodiments, the device information includes a device model corresponding to the survivable gateway device and a software version corresponding to the survivable gateway device.
[0107] Specifically, the transmitting of the gateway upgrade firmware to the surviving gateway device based on the device information of the surviving gateway device includes the contents of T21 to T24 as shown below:
[0108] T21. Obtain a device model corresponding to the survival gateway device and a software version corresponding to the survival gateway device.
[0109] T22. Compare the device model corresponding to the surviving gateway device and the device model corresponding to the gateway upgrade firmware in the central file server to obtain a first comparison result.
[0110] T23. Compare the software version corresponding to the surviving gateway device and the software version corresponding to the gateway upgrade firmware in the central file server to obtain a second comparison result.
[0111] T24. If the first comparison result is that the device model corresponding to the surviving gateway device is the same as the device model corresponding to the gateway upgrade firmware in the central file server and the second comparison result is that the software version corresponding to the surviving gateway device is compatible with the software version corresponding to the gateway upgrade firmware in the central file server, then the gateway upgrade firmware is transmitted to the surviving gateway device.
[0112] The embodiment of the present application first responds to the management operation instruction sent by the remote management system, and downloads the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system; based on the encapsulated content in the management firmware, the management firmware is transmitted to the FTTR sub-gateway device, and the FTTR main gateway device is used as the intermediate point connecting the private network and the public network. The FTTR sub-gateway device is managed through the management firmware, thereby realizing remote management of the FTTR sub-gateway device and reducing the workload of the central management platform.
[0113] In summary, the present application provides a gateway management method, which uses the FTTR main gateway device as the intermediate point connecting the private network and the public network, and uses the gateway management module to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, effectively realizing the remote management of the FTTR sub-gateway device and reducing the workload of the central management platform.
[0114] In order to better implement the above method, the embodiment of the present application also provides a gateway management device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0115] For example, in this embodiment, the method of the embodiment of the present application is described in detail by taking the gateway management device being specifically integrated into the terminal as an example.
[0116] For example, Figure 2As shown, the gateway management device 200 may include a first unit 201 and a second unit 202, which are applied to a FTTR main gateway device, wherein the FTTR main gateway device, the central management platform, the gateway management module, the FTTR sub-gateway device and the remote management system are in the same communication network, wherein the gateway management module is used to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, and the remote management system is used to remotely control the FTTR main gateway device and the FTTR sub-gateway device;
[0117] The gateway management device 200 includes:
[0118] The first unit 201 is used to respond to the management operation instruction sent by the remote management system and download the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system;
[0119] The second unit 202 is used to transmit the management firmware to the FTTR sub-gateway device based on the encapsulated content in the management firmware, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
[0120] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0121] From the above, it can be seen that the embodiment of the present application can use the FTTR main gateway device as the intermediate point connecting the private network and the public network, and use the gateway management module to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, effectively realize the remote management of the FTTR sub-gateway device, and reduce the workload of the central management platform.
[0122] The embodiment of the present application also provides an electronic device, which can be a terminal, a server, etc. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc. The server can be a single server or a server cluster composed of multiple servers, etc.
[0123] In some embodiments, the product processing device may also be integrated into multiple electronic devices. For example, the product processing device may be integrated into multiple servers, and the gateway management method of the present application may be implemented by multiple servers.
[0124] In this embodiment, the electronic device of this embodiment is a terminal as an example for detailed description, for example, Figure 3 As shown, it shows a schematic diagram of the structure of the terminal 300 involved in the embodiment of the present application, specifically:
[0125] The terminal 300 may include one or more processors 301 of processing cores, one or more storage media 302, a power supply 303, an input module 304, and a communication module 305. Those skilled in the art will appreciate that Figure 3 The structure of the terminal 300 shown in the figure does not constitute a limitation on the terminal 300, and the terminal 300 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0126] The processor 301 is the control center of the terminal 300. It uses various interfaces and lines to connect various parts of the entire terminal 300. It executes various functions of the terminal 300 and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, so as to monitor the terminal 300 as a whole. In some embodiments, the processor 301 may include one or more processing cores; in some embodiments, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 301.
[0127] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal 300, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
[0128] The terminal 300 also includes a power supply 303 for supplying power to various components. In some embodiments, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0129] The terminal 300 may further include an input module 304, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0130] The terminal 300 may also include a communication module 305. In some embodiments, the communication module 305 may include a wireless module. The terminal 300 may perform short-range wireless transmission through the wireless module of the communication module 305, thereby providing the user with wireless broadband Internet access. For example, the communication module 305 may be used to help the user send and receive emails, browse web pages, and access streaming media.
[0131] Although not shown, the terminal 300 may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 301 in the terminal 300 will load the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processor 301 will run the applications stored in the memory 302, thereby realizing various functions, as follows:
[0132] In response to the management operation instruction sent by the remote management system, downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system;
[0133] Based on the encapsulated content in the management firmware, the management firmware is transmitted to the FTTR sub-gateway device, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
[0134] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0135] From the above, it can be seen that the embodiment of the present application can use the FTTR main gateway device as the intermediate point connecting the private network and the public network, and use the gateway management module to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, effectively realize the remote management of the FTTR sub-gateway device, and reduce the workload of the central management platform.
[0136] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.
[0137] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any gateway management method provided in the embodiment of the present application. For example, the instructions can execute the following steps:
[0138] In response to the management operation instruction sent by the remote management system, downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system;
[0139] Based on the encapsulated content in the management firmware, the management firmware is transmitted to the FTTR sub-gateway device, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
[0140] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0141] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations provided in the above embodiments.
[0142] Since the instructions stored in the storage medium can execute the steps in any gateway management method provided in the embodiments of the present application, the beneficial effects that can be achieved by any gateway management method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0143] The above is a detailed introduction to a gateway management method, device, terminal and storage medium provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A gateway management method, characterized in that: Applied to FTTR main gateway device, the FTTR main gateway device, central management platform, gateway management module, FTTR sub-gateway device and remote management system are in the same communication network, the gateway management module is used to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, and the remote management system is used to remotely control the FTTR main gateway device and the FTTR sub-gateway device; The method comprises: In response to the management operation instruction sent by the remote management system, downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system; Based on the encapsulated content in the management firmware, the management firmware is transmitted to the FTTR sub-gateway device, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
2. The method according to claim 1, characterized in that Before downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system in response to the management operation instruction sent by the remote management system, the method further includes: Establishing an uplink connection channel and a downlink connection channel respectively, wherein the uplink connection channel is used to connect the FTTR main gateway device and the gateway management module, and the downlink connection channel is used to connect the FTTR main gateway device and the FTTR sub-gateway device; Receive the management message sent by the central management platform, and send the response message corresponding to the management message to the gateway management module.
3. The method according to claim 1, characterized in that The central management platform includes a server, and the server includes a central file server and a central server; The step of responding to the management operation instruction sent by the remote management system and downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system comprises: In response to the management operation instruction sent by the central server, the management firmware is downloaded through the network connection address sent by the central file server.
4. The method according to claim 3, characterized in that The management operation instruction is a gateway upgrade instruction, and the management firmware is a gateway upgrade firmware; The step of responding to the management operation instruction sent by the remote management system and downloading the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system comprises: In response to the gateway upgrade instruction sent by the remote management system, the gateway upgrade firmware is downloaded through the network connection address sent by the remote management system.
5. The method according to claim 4, characterized in that The transmitting the management firmware to the FTTR sub-gateway device based on the encapsulated content in the management firmware includes: Based on the encapsulated content in the gateway upgrade firmware, the gateway upgrade firmware is classified to obtain a classification result, wherein the classification result is used to characterize the corresponding relationship between each part in the encapsulated content and the FTTR sub-gateway device; Based on the classification result, the gateway upgrade firmware is transmitted to the FTTR sub-gateway device.
6. The method according to claim 5, characterized in that After transmitting the gateway upgrade firmware to the FTTR sub-gateway device based on the classification result, the method further includes: Scan the network segment corresponding to the FTTR main gateway device, and if the network segment includes a survival gateway device adjacent to the FTTR main gateway device, activate the survival gateway device and perform a signaling verification operation, wherein the signaling verification operation is used to enable data transmission between the FTTR main gateway device and the survival gateway device; Based on the device information of the survival gateway device, the gateway upgrade firmware is transmitted to the survival gateway device, so as to perform an upgrade operation on the survival gateway device through the gateway upgrade firmware.
7. The method according to claim 6, characterized in that The device information includes the device model corresponding to the survivable gateway device and the software version corresponding to the survivable gateway device; The transmitting the gateway upgrade firmware to the surviving gateway device based on the device information of the surviving gateway device includes: Obtaining a device model corresponding to the survival gateway device and a software version corresponding to the survival gateway device; Compare the device model corresponding to the surviving gateway device and the device model corresponding to the gateway upgrade firmware in the central file server to obtain a first comparison result; Compare the software version corresponding to the surviving gateway device and the software version corresponding to the gateway upgrade firmware in the central file server to obtain a second comparison result; If the first comparison result is that the device model corresponding to the surviving gateway device is the same as the device model corresponding to the gateway upgrade firmware in the central file server and the second comparison result is that the software version corresponding to the surviving gateway device is compatible with the software version corresponding to the gateway upgrade firmware in the central file server, then the gateway upgrade firmware is transmitted to the surviving gateway device.
8. A gateway management device, characterized in that: Applied to FTTR main gateway device, the FTTR main gateway device, central management platform, gateway management module, FTTR sub-gateway device and remote management system are in the same communication network, the gateway management module is used to control the communication connection between the FTTR main gateway device and the FTTR sub-gateway device, and the remote management system is used to remotely control the FTTR main gateway device and the FTTR sub-gateway device; The gateway management device comprises: A first unit is used to respond to the management operation instruction sent by the remote management system and download the management firmware corresponding to the management operation instruction through the network connection address sent by the remote management system; The second unit is used to transmit the management firmware to the FTTR sub-gateway device based on the encapsulated content in the management firmware, so as to perform management operations on the FTTR sub-gateway device through the management firmware.
9. A terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the method according to any one of claims 1 to 7.