Home gateway configuration issuing method and system

By remotely connecting to the home gateway PON device and configuration management cloud server, intelligent routing policies and dynamic network updates are realized, solving the complex and costly configuration methods of existing home gateways, and improving configuration management efficiency and user experience.

CN119628986APending Publication Date: 2025-03-14SHENZHEN SDMC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411815263.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing home gateway configuration method is complicated and complicated, and the user experience is poor. When the gateway is restored to factory settings or crashes abnormally, a large number of operation and maintenance personnel need to be reconfigured, resulting in high labor and material costs.

Method used

By remotely connecting to the home gateway PON device and configuration management cloud server, intelligent allocation and provision of forwarding routing policies are realized, network status detection and dynamic update of network routing links are carried out, and configuration and management methods are simplified.

Benefits of technology

It improves the efficiency and reliability of home network configuration management, improves user experience, reduces the workload of operation and maintenance personnel, and reduces the labor and material costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119628986A_ABST
    Figure CN119628986A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of home intelligent networks, and particularly relates to a home gateway configuration issuing method and system, and the method comprises the steps: carrying out the interaction between home gateway PON equipment and OLT equipment, completing the creation of a WAN service, encrypting PPPoE information, and obtaining home gateway PON equipment with initial configuration; user parameter configuration is carried out based on the home gateway PON device with initialized configuration, a gateway device configuration management file is generated, and the gateway device configuration management file is reported to a far-end management system; remote connection is established between the home gateway PON equipment and the configuration management cloud server through the remote management system, network detection and network routing link dynamic updating are performed on the home gateway PON equipment based on the configuration management cloud server, and a latest configuration file is generated and issued to the home network PON equipment, so that configuration updating of the home gateway PON equipment is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of home intelligent networks, and in particular relates to a method and system for issuing home gateway configuration. Background Art

[0002] In recent years, with the in-depth development of informatization, home network has become an indispensable part of people's daily life, work, study and entertainment. As the core device of the home network, the home gateway is responsible for the access and management of home network terminals, and its importance is self-evident. The configuration management of gateway user parameters is directly related to the normal operation of the home network, the effectiveness of rules, and the optimization of quality and performance. The home gateway not only realizes the interconnection between the local area network and the wide area network, but also has key functions such as load balancing, preventing broadcast storms, controlling network traffic, and improving system fault tolerance. The destruction or incorrect modification of the configuration file of the home gateway will cause network communication failure, and the destruction of key configuration files may even cause the paralysis of the entire network. According to the data traffic link, timely updating of routing rules and adjustment of configuration files can ensure the smooth network of the home gateway. Forgetting or losing the home gateway account will affect the user's normal Internet access, and forgetting or losing the management account will affect the gateway configuration authority and then lose the management of the downstream devices, affecting the user experience; and when the home gateway is restored to factory settings or crashes abnormally or needs to be replaced, it is often necessary to reconfigure the Internet access parameters and device rules, which puts high requirements on the operator's emergency operation and maintenance scenarios, and requires a large number of operation and maintenance personnel to solve emergency configuration problems.

[0003] At present, when opening a home network service, users usually contact local operators and open a fiber broadband account by binding their mobile phone numbers. Subsequently, users need to configure the gateway device to connect to the Internet and set up a series of network rules according to the needs of the home network, such as child Internet protection, VPN, DDNS and special firewall rules required for cross-border communication. However, the current way to configure the home gateway mainly relies on connecting a personal computer to the gateway LAN port or performing command line configuration through the Telnet protocol. These methods are cumbersome and complex, not user-friendly, and require operation and maintenance personnel to have rich experience and strong professionalism in Internet protection rules; and if the account or password is lost, it is often necessary to contact the operator to restore the factory settings to retrieve it again, which requires a lot of manpower and material costs for the operator. Summary of the invention

[0004] The present invention provides a method and system for sending home gateway configuration, which can intelligently allocate and provide forwarding routing strategies by remotely connecting home gateway PON equipment and configuration management cloud servers, realize network status detection and dynamic update of network routing links, so that the network is always in the optimal state; it can simplify the configuration and management of home gateways, significantly improve the efficiency and reliability of home network configuration management, and improve user experience; at the same time, it can reduce the workload of operation and maintenance personnel and reduce manpower and material costs.

[0005] A method for issuing home gateway configuration, comprising: The home gateway PON device interacts with the OLT device to complete the WAN service creation and encrypt the PPPoE information to obtain the initialized configured home gateway PON device; Based on the home gateway PON device with initial configuration, perform user parameter configuration, generate a gateway device configuration management file, and report it to the remote management system; A remote connection is established between the home gateway PON device and the configuration management cloud server through the remote management system. Based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, the latest configuration file is generated and sent to the home network PON device to realize the configuration update of the home gateway PON device.

[0006] By remotely connecting the home gateway PON device and the configuration management cloud server, it is possible to intelligently allocate and provide forwarding routing strategies, realize network status detection and dynamic update of network routing links, so that the network is always in the optimal state; it can simplify the configuration and management of the home gateway, significantly improve the efficiency and reliability of home network configuration management, and improve user experience; at the same time, it can reduce the workload of operation and maintenance personnel and reduce manpower and material costs.

[0007] Further, the home gateway PON device interacts with the OLT device to complete the WAN service creation, and encrypts the PPPoE information to obtain the initialized configured home gateway PON device, including: The home gateway PON device establishes a connection with the central office OLT device through access optical fiber and exchanges information through the OMCI protocol; the information exchange includes ranging, home gateway PON device online information detection, and recording of home gateway PON device MAC address and SN information; The home gateway PON device receives and stores the encryption and decryption scripts sent by the central office OLT device through the private ME, and parses the automatic configuration WAN template sent by the central office OLT to create the corresponding WAN service; Based on the created WAN service, enter the PPPoE account and password corresponding to the broadband account, connect to the Internet and obtain the corresponding IP address to establish the PPPoE Internet access service; The two-stage AES algorithm is used to double-encrypt the PPPoE account and password, and the encrypted PPPoE account and password are reported to the local OLT device for storage.

[0008] By automatically sending users' important parameters and configuration files to the home gateway PON device, it can reduce the professional dependence on operation and maintenance personnel and optimize the user's initial networking and subsequent operation and maintenance experience.

[0009] Further, the two-stage AES algorithm is used to double-encrypt the PPPoE account and password, and the encrypted PPPoE account and password are reported to the central office OLT for storage, including: Using the MAC address of the home gateway PON device as the first key, encrypting the PPPoE account and password with AES to generate a first ciphertext; Based on the mobile phone number corresponding to the broadband account of the home gateway PON device, sha256 encryption is performed to generate a second key, and the first ciphertext is encrypted by AES using the second key to generate a second ciphertext as the final ciphertext; The final ciphertext is sent to the central office OLT device for storage.

[0010] By using a two-stage AES algorithm to encrypt sensitive information such as account numbers and passwords, and sending them to the central office OLT device for storage, subsequent users can quickly retrieve their account numbers and passwords when they forget them, thereby avoiding restoring the home gateway PON device to factory settings.

[0011] Furthermore, the remote management system establishes a remote connection between the home gateway PON device and the configuration management cloud server, and based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, generates the latest configuration file and sends it to the home network PON device to realize the configuration update of the home gateway PON device, including: The home gateway PON device is used as a client, and a remote connection is established with the configuration management cloud server through the remote management system to achieve two-way interaction between the home gateway PON device and the configuration management cloud server; The configuration management cloud server performs real-time network status detection on the home gateway PON device, and dynamically updates the network routing link based on the dynamic optimal routing rules to generate the optimal dynamic routing link; Based on the generated optimal dynamic routing link, the configuration file is updated and sent to the home gateway PON device of the client to ensure the optimal network configuration of the home gateway PON device.

[0012] Furthermore, the configuration management cloud server performs real-time network status detection on the home gateway PON device, and dynamically updates the network routing link based on the dynamic optimal routing rule to generate the optimal dynamic routing link, including: The home gateway PON device reports the access information of each terminal device to the configuration management cloud server, and receives the network diagnosis script regularly sent by the configuration management cloud server; Based on the received network diagnostic script, diagnose each terminal device on the public network server, obtain diagnostic information of each terminal device, and report the diagnostic information to the configuration management cloud server; Based on the received diagnostic information, the cloud management server is configured to calculate the shortest path from the source node to the public network server node for each terminal device, and weighted calculation is performed based on the network delay and the number of routing hops, and the path with the lowest cumulative cost is selected as the final path, and the routing table is updated to specify the best next hop to reach each destination; Based on the updated routing table, combined with the dynamic optimal routing rules, the home network routing link is dynamically updated to generate the optimal dynamic routing link.

[0013] Furthermore, when the user forgets the PPPoE account and password, the PPPoE account and password of the home gateway PON device are retrieved; the PPPoE account and password retrieval process includes: Obtain the mobile phone number bound to the home gateway PON device, combine it with the AES key to perform an encryption process, obtain a first encrypted message, and send the first encrypted message to the central office OLT device; Based on the first encrypted message sent by the home gateway PON device, the central office OLT device decrypts the first encrypted message and the PPPoE account and password; and performs secondary encryption processing on the decrypted PPPoE account and password to obtain a second encrypted message, and sends the second encrypted message to the home gateway PON device; Based on the second encrypted message sent, decryption is performed to obtain the PPPoE account and password of the home gateway PON device.

[0014] When users forget their account and password information, they can accurately retrieve their account and password information by binding their mobile phone numbers, which improves the user experience and reduces the workload of operation and maintenance personnel.

[0015] Furthermore, when the home gateway PON device needs to be restarted, restored to factory settings or replaced, the user configuration parameters need to be retrieved or reset; the retrieval or reset of the user configuration parameters includes: Network connection based on restarting, restoring factory settings or replacing the home gateway PON device; The mobile phone number bound to the user is obtained, and the new home gateway PON device performs encryption processing to obtain a third encrypted message, and reports the third encrypted message to the central office OLT device; Based on the third encrypted message sent by the new home gateway PON device, the central office OLT device decrypts the third encrypted message to obtain the user-bound mobile phone number; and updates the mapping table of the mobile phone number, the MAC address of the new home gateway PON device, and the SN information according to the MAC address and SN information of the new home gateway PON device; Dial-up the new home gateway PON device to the configuration management cloud server to reuse the original network information or create new network information.

[0016] For home gateway PON devices that need to be replaced or reconfigured, the configuration management cloud server can automatically restore them based on previously saved configuration information, avoiding users from having to manually configure them again, simplifying the operation process, and improving the user experience. It also detects the network status of the home gateway PON device in real time and continuously, and can promptly monitor and update changes in user account information, thereby ensuring that when users lose important configuration information, they can quickly and accurately restore it.

[0017] A system for a method for issuing a home gateway configuration, comprising: An initialization module is used for the home gateway PON device to interact with the OLT device, complete the WAN service creation, and encrypt the PPPoE information to obtain the initialized configured home gateway PON device; A parameter configuration module, which is used to configure user parameters based on the home gateway PON device with initial configuration, generate a gateway device configuration management file, and report it to the remote management system; The configuration update module is used to establish a remote connection between the home gateway PON device and the configuration management cloud server through the remote management system, and based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, generate the latest configuration file and send it to the home network PON device to realize the configuration update of the home gateway PON device.

[0018] An electronic device comprises a memory and a processor, wherein the memory stores a computer program and the processor executes the method as described above.

[0019] A computer-readable storage medium stores a computer program, wherein the computer program is executed by a processor to execute the method as described above The beneficial effects of the present invention are: The present invention remotely connects the home gateway PON device and the configuration management cloud server to intelligently allocate and provide forwarding routing strategies, realize network status detection and dynamic update of network routing links, so that the network is always in the optimal state; it can simplify the configuration and management of the home gateway, significantly improve the efficiency and reliability of home network configuration management, and improve user experience; at the same time, it can reduce the workload of operation and maintenance personnel and reduce manpower and material costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flow chart of the present invention; Figure 2 It is a structural schematic diagram of the system in the present invention; Figure 3 A schematic diagram of the structure of a computer device. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0023] In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples, and a person of ordinary skill in the art can understand the specific meanings of the above terms in this application under specific circumstances.

[0024] Example 1 Figure 1The method shown is a method for sending home gateway configuration. By remotely connecting the home gateway PON device and the configuration management cloud server, it can intelligently allocate and provide forwarding routing strategies, realize network status detection and dynamic update of network routing links, so that the network is always in the optimal state; it can simplify the configuration and management of the home gateway, significantly improve the efficiency and reliability of home network configuration management, and improve user experience; at the same time, it can reduce the workload of operation and maintenance personnel and reduce manpower and material costs.

[0025] S1: The home gateway PON device interacts with the OLT device to complete the WAN service creation and encrypt the PPPoE information to obtain the initialized configured home gateway PON device; In this embodiment, when the user of the home gateway PON device uses fiber-to-the-home, it is necessary to contact the local operator and activate a fiber broadband account by binding a mobile phone number before initializing the configuration of the home gateway PON device.

[0026] S11: The home gateway PON device establishes a connection with the central office OLT device through the access optical fiber and exchanges information through the OMCI protocol; the information exchange includes ranging, home gateway PON device online information detection, and recording of the home gateway PON device MAC address and SN information; S12: The home gateway PON device receives and stores the encryption and decryption script sent by the central office OLT device through the private ME, and parses the automatic configuration WAN template sent by the central office OLT to create the corresponding WAN service; S13: Based on the created WAN service, enter the PPPoE account and password corresponding to the broadband account, connect to the Internet and obtain the corresponding IP address to establish the PPPoE Internet access service; S14: The PPPoE account and password are double-encrypted using a two-stage AES algorithm, and the encrypted PPPoE account and password are reported to the central office OLT device for storage.

[0027] Among them, the two-stage AES algorithm is used to double-encrypt the PPPoE account and password, so that the subsequent user can quickly retrieve the account and password when they forget them, thereby avoiding the home gateway PON device from restoring the factory settings; the process includes the following steps: S141: Using the MAC address of the home gateway PON device as the first key Key1, encrypting the PPPoE account and password with AES to generate a first ciphertext Ciphertext1; S142: Perform sha256 encryption based on the mobile phone number corresponding to the broadband account of the home gateway PON device to generate a second key Key2, and perform AES encryption on the first ciphertext Ciphertext1 using the second key Key2 to generate a second ciphertext Ciphertext2 as the final ciphertext; S143: Send the final ciphertext to the central office OLT device for storage.

[0028] S2: Based on the home gateway PON device with initial configuration, perform user parameter configuration, generate a gateway device configuration management file, and report it to the remote management system; In this embodiment, user parameter configuration is performed based on the user's home network environment usage habits, including: Gateway self-management configuration, including WIFI SSID and password configuration, child Internet protection rule configuration, speed limit rule configuration; Gateway advanced configuration, including gateway scheduled restart settings, firewall rule management, advanced network configuration, storage of user account information, and bandwidth limitation for access downstream.

[0029] S3: Establish a remote connection between the home gateway PON device and the configuration management cloud server through the remote management system, and based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, generate the latest configuration file and send it to the home network PON device to realize the configuration update of the home gateway PON device.

[0030] S31: The home gateway PON device is used as a client, and a remote connection is established with the configuration management cloud server through the remote management system to achieve two-way interaction between the home gateway PON device and the configuration management cloud server; In this embodiment, the two-way interaction between the home gateway PON device and the configuration management cloud server includes: The configuration management remote server communicates and interacts with the home grid PON device through the Tr069 protocol to achieve the management of the home gateway PON device.

[0031] The home gateway PON device exchanges data with the configuration management cloud server through the MQTT protocol to achieve network traffic data analysis, network status reporting, device status updates, and automatic configuration delivery.

[0032] S32: The configuration management cloud server performs real-time network status detection on the home gateway PON device, and dynamically updates the network routing link based on the dynamic optimal routing rule to generate the optimal dynamic routing link; S321: The home gateway PON device reports the access information of each terminal device to the configuration management cloud server, and receives the network diagnosis script regularly sent by the configuration management cloud server; S322: Based on the received network diagnosis script, diagnose each terminal device on the public network server, obtain diagnostic information of each terminal device, and report the diagnostic information to the configuration management cloud server; In this embodiment, the home gateway PON device or the terminal device performs diagnosis on a ping or traceroute public network server, such as Baidu, Ali, Google, etc.

[0033] S323: Based on the received diagnostic information, configure the cloud management server to calculate the shortest path from the source node to the public network server node of each terminal device, and perform weighted calculation based on the network delay and the number of routing hops, select the path with the lowest cumulative cost as the final path, and update the generated routing table to specify the best next hop to reach each destination; S324: Based on the updated routing table and in combination with the dynamic optimal routing rule, the home network routing link is dynamically updated to generate the optimal dynamic routing link; Among them, when the network environment supports higher configurations such as built-in DDNS service, the cloud management server is configured to issue rules according to the status of the routing link to perform DNS dynamic updates; the issued rules include DNS server addresses, domain name resolution rules, etc.

[0034] When the network environment does not support higher configurations such as built-in DDNS services, the cloud management server is configured to dynamically update the DNS by downloading and updating the third-party DDNS client software, which includes the following steps: A1: Configure the cloud management server to send the DDNS client software installation package and configuration file to the home gateway PON device; A2: The home gateway PON device receives and installs the DDNS client software, and updates the DNS configuration according to the configuration file; A3: Configure the cloud management server to interact with the DNS server through the DDNS client to implement DNS resolution and update.

[0035] S33: Based on the generated optimal dynamic routing link, the configuration file is updated and sent to the home gateway PON device of the client to ensure the optimal network configuration of the home gateway PON device.

[0036] In this embodiment, when the user forgets the PPPoE account and password, the PPPoE account and password of the home gateway PON device are retrieved; the PPPoE account and password retrieval process includes: S41: Obtain the mobile phone number bound to the home gateway PON device, combine it with the AES key to perform an encryption process, obtain a first encrypted message, and send the first encrypted message to the central office OLT device; In this embodiment, the home gateway PON device sends the first encrypted message to the central office OLT device through the OMCI protocol private ME.

[0037] S42: Based on the first encrypted message sent by the home gateway PON device, the central office OLT device decrypts the first encrypted message and the PPPoE account and password; and performs secondary encryption on the decrypted PPPoE account and password to obtain a second encrypted message, and sends the second encrypted message to the home gateway PON device; When the central office OLT device decrypts the first encrypted message, it uses a decryption method corresponding to the first encryption process to decrypt the message, and obtains the MAC address and SN information of the home gateway PON device.

[0038] Among them, when the central office OLT device decrypts the PPPoE account and password, it uses a two-stage AES algorithm to decrypt, including: S421: Based on the central office OLT device, the final second ciphertext Ciphertext2 is decrypted using the second key Key2 to obtain the first ciphertext Ciphertext1; S422: Decrypt the first ciphertext Ciphertext1 using the first key Key1 to obtain the original PPPoE account and password.

[0039] Among them, the local OLT device performs secondary encryption on the original PPPoE account and password, and transmits them to the home gateway PON device in the form of a private ME response.

[0040] S43: Decrypt the second encrypted message sent to obtain the PPPoE account and password of the home gateway PON device.

[0041] In this embodiment, the home gateway PON device uses the decryption method corresponding to the second encryption process to decrypt and obtain the user's PPPoE account and password information. When the user forgets the account and password information, the user's account and password information can be accurately retrieved by binding the mobile phone number, which improves the user experience and reduces the workload of the operation and maintenance personnel.

[0042] In this embodiment, when the configuration file is damaged or the gateway system crashes, the gateway device needs to be restarted or restored to factory settings, or a new home gateway PON device needs to be replaced, the user configuration parameters need to be retrieved or reset. The process of retrieving or resetting the user configuration parameters includes: S51: Performing a network connection based on the home gateway PON device after restarting, restoring factory settings or replacing; In this embodiment, before the new home gateway PON device is connected to the network, it needs to be powered on again and then connected to the optical fiber for network connection.

[0043] S52: The mobile phone number bound to the user is obtained, and the new home gateway PON device performs encryption processing to obtain a third encrypted message, and reports the third encrypted message to the central office OLT device; S53: Based on the third encrypted message sent by the new home gateway PON device, the central office OLT device decrypts the third encrypted message to obtain the user-bound mobile phone number; and updates the mapping table of the mobile phone number, the MAC address of the new home gateway PON device, and the SN information according to the MAC address and SN information of the new home gateway PON device; In this embodiment, according to the MAC address and SN information of the new home gateway PON device, the mapping relationship between the mobile phone number, the MAC address and the SN information is updated, and the corresponding account information mapping table is updated.

[0044] S54: dialing the new home gateway PON device to connect to the configuration management cloud server, and sending a prompt for reuse of original network information or creation of new network information; S541: When the user chooses to reuse the original network information, the configuration management cloud server promptly sends the previous network configuration parameters and configuration rules, and the new home gateway PON device reuses the network configuration parameters and configuration rules of the previous home gateway PON device; S542: When the user chooses to create new network information, the process returns to S1 to re-create the service.

[0045] In this embodiment, the configuration management cloud server detects the network status in real time, dynamically adjusts the network parameters, monitors and updates the changes in the user's account information, and promptly updates the maintained data mapping library, thereby ensuring that the user can quickly and promptly retrieve the account information when they forget it or important configurations are lost, thus avoiding the trouble of restoring the factory settings.

[0046] Example 2 Based on the same technical concept, Figure 2 As shown, this embodiment also provides a home gateway configuration delivery system, including an initialization module, a parameter configuration module, and a configuration delivery update module.

[0047] Specifically, the initialization module is used for the home gateway PON device to interact with the OLT device, complete the WAN service creation, and encrypt the PPPoE information to obtain the initialized configured home gateway PON device; Specifically, the parameter configuration module is used to configure user parameters based on the home gateway PON device with initial configuration, generate a gateway device configuration management file, and report it to the remote management system; Specifically, the configuration update module is used to establish a remote connection between the home gateway PON device and the configuration management cloud server through the remote management system, and based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, generate the latest configuration file and send it to the home network PON device to realize the configuration update of the home gateway PON device.

[0048] Example 3 Based on the same technical concept, the embodiment of the present application also provides a computer device, including a memory 1 and a processor 2, such as Figure 3 As shown, the memory 1 stores a computer program, and the processor 2 implements any of the above-mentioned methods when executing the computer program.

[0049] Among them, the memory 1 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 1 can be an internal storage unit of the home gateway configuration delivery system, such as a hard disk. In other embodiments, the memory 1 can also be an external storage device of the home gateway configuration delivery system, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 1 can also include both an internal storage unit and an external storage device of the home gateway configuration delivery system. The memory 1 can not only be used to store application software and various types of data installed in the home gateway configuration delivery system, such as the code of the home gateway configuration delivery system program, but also can be used to temporarily store data that has been output or is to be output.

[0050] In some embodiments, the processor 2 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run program codes stored in the memory 1 or process data, such as executing a home gateway configuration and issuing a system program.

[0051] The disclosed embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the steps of the method described in the above method embodiment. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0052] The computer program product of the application page content refresh method provided in the disclosed embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the steps of the method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0053] The disclosed embodiment of the present invention further provides a computer program, which implements any one of the methods of the aforementioned embodiments when executed by a processor. The computer program product can be implemented in hardware, software, or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium, and in another optional embodiment, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0054] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0055] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0056] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0057] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0058] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0059] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0060] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0061] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0062] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for issuing home gateway configuration, characterized in that: include: The home gateway PON device interacts with the OLT device to complete the WAN service creation and encrypt the PPPoE information to obtain the initialized configured home gateway PON device; Based on the home gateway PON device with initial configuration, perform user parameter configuration, generate a gateway device configuration management file, and report it to the remote management system; A remote connection is established between the home gateway PON device and the configuration management cloud server through the remote management system. Based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, the latest configuration file is generated and sent to the home network PON device to realize the configuration update of the home gateway PON device.

2. A method and system for sending home gateway configuration according to claim 1, characterized in that: The home gateway PON device interacts with the OLT device to complete the WAN service creation and encrypt the PPPoE information to obtain the home gateway PON device with initial configuration, including: The home gateway PON device establishes a connection with the central office OLT device through access optical fiber and exchanges information through the OMCI protocol; the information exchange includes ranging, home gateway PON device online information detection, and recording of home gateway PON device MAC address and SN information; The home gateway PON device receives and stores the encryption and decryption scripts sent by the central office OLT device through the private ME, and parses the automatic configuration WAN template sent by the central office OLT to create the corresponding WAN service; Based on the created WAN service, enter the PPPoE account and password corresponding to the broadband account, connect to the Internet and obtain the corresponding IP address to establish the PPPoE Internet access service; The two-stage AES algorithm is used to double-encrypt the PPPoE account and password, and the encrypted PPPoE account and password are reported to the local OLT device for storage.

3. A method and system for sending home gateway configuration according to claim 2, characterized in that: The method of using a two-stage AES algorithm to double-encrypt the PPPoE account and password, and reporting the encrypted PPPoE account and password to the central office OLT for storage, includes: Using the MAC address of the home gateway PON device as the first key, encrypting the PPPoE account and password with AES to generate a first ciphertext; Based on the mobile phone number corresponding to the broadband account of the home gateway PON device, sha256 encryption is performed to generate a second key, and the first ciphertext is encrypted by AES using the second key to generate a second ciphertext as the final ciphertext; The final ciphertext is sent to the central office OLT device for storage.

4. A method and system for sending home gateway configuration according to claim 1, characterized in that: The remote management system establishes a remote connection between the home gateway PON device and the configuration management cloud server, and based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, generates the latest configuration file and sends it to the home network PON device to realize the configuration update of the home gateway PON device, including: The home gateway PON device is used as a client, and a remote connection is established with the configuration management cloud server through the remote management system to achieve two-way interaction between the home gateway PON device and the configuration management cloud server; The configuration management cloud server performs real-time network status detection on the home gateway PON device, and dynamically updates the network routing link based on the dynamic optimal routing rules to generate the optimal dynamic routing link; Based on the generated optimal dynamic routing link, the configuration file is updated and sent to the home gateway PON device of the client to ensure the optimal network configuration of the home gateway PON device.

5. A method and system for sending home gateway configuration according to claim 1, characterized in that: The configuration management cloud server performs real-time network status detection on the home gateway PON device, and dynamically updates the network routing link based on the dynamic optimal routing rule to generate the optimal dynamic routing link, including: The home gateway PON device reports the access information of each terminal device to the configuration management cloud server, and receives the network diagnosis script regularly sent by the configuration management cloud server; Based on the received network diagnostic script, diagnose each terminal device on the public network server, obtain diagnostic information of each terminal device, and report the diagnostic information to the configuration management cloud server; Based on the received diagnostic information, the cloud management server is configured to calculate the shortest path from the source node to the public network server node for each terminal device, and weighted calculation is performed based on the network delay and the number of routing hops, and the path with the lowest cumulative cost is selected as the final path, and the routing table is updated to specify the best next hop to reach each destination; Based on the updated routing table, combined with the dynamic optimal routing rules, the home network routing link is dynamically updated to generate the optimal dynamic routing link.

6. A method and system for sending home gateway configuration according to claim 1, characterized in that: The process also includes retrieving the PPPoE account and password of the home gateway PON device when the user forgets the PPPoE account and password; the PPPoE account and password retrieving process includes: Obtain the mobile phone number bound to the home gateway PON device, combine it with the AES key to perform an encryption process, obtain a first encrypted message, and send the first encrypted message to the central office OLT device; Based on the first encrypted message sent by the home gateway PON device, the central office OLT device decrypts the first encrypted message and the PPPoE account and password; and performs secondary encryption processing on the decrypted PPPoE account and password to obtain a second encrypted message, and sends the second encrypted message to the home gateway PON device; Based on the second encrypted message sent, decryption is performed to obtain the PPPoE account and password of the home gateway PON device.

7. A method and system for sending home gateway configuration according to claim 2, characterized in that: It also includes when the home gateway PON device needs to be restarted, restored to factory settings or replaced, the user configuration parameters need to be retrieved or reset; the retrieval or reset of user configuration parameters includes: Network connection based on restarting, restoring factory settings or replacing the home gateway PON device; The mobile phone number bound to the user is obtained, and the new home gateway PON device performs encryption processing to obtain a third encrypted message, and reports the third encrypted message to the central office OLT device; Based on the third encrypted message sent by the new home gateway PON device, the central office OLT device decrypts the third encrypted message to obtain the user-bound mobile phone number; and updates the mapping table of the mobile phone number, the MAC address of the new home gateway PON device, and the SN information according to the MAC address and SN information of the new home gateway PON device; Dial-up the new home gateway PON device to the configuration management cloud server to reuse the original network information or create new network information.

8. A system for the method for sending home gateway configuration according to claim 1, characterized in that: include: An initialization module is used for the home gateway PON device to interact with the OLT device, complete the WAN service creation, and encrypt the PPPoE information to obtain the initialized configured home gateway PON device; A parameter configuration module, which is used to configure user parameters based on the home gateway PON device with initial configuration, generate a gateway device configuration management file, and report it to the remote management system; The configuration update module is used to establish a remote connection between the home gateway PON device and the configuration management cloud server through the remote management system, and based on the network detection and network routing link dynamic update of the home gateway PON device by the configuration management cloud server, generate the latest configuration file and send it to the home network PON device to realize the configuration update of the home gateway PON device.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.