Method, apparatus and storage medium for configuring intelligent gateway device

By configuring the target configuration information of the smart gateway device remotely through the configuration and maintenance system, the problem of low configuration and activation efficiency of the smart gateway device is solved, the remote management of the device is realized, and the networking efficiency and automation level are improved.

CN119728415BActive Publication Date: 2026-01-13CHINA TELECOM CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411752546.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2026-01-13
Estimated Expiration
2044-12-02

AI Technical Summary

Technical Problem

Existing technologies for smart gateway devices suffer from low configuration and activation efficiency, uneven resource allocation, untimely detection of on-site faults, and difficulty in guaranteeing verification quality, all of which negatively impact customer experience.

Method used

By configuring the installation and maintenance system, the device type and service subscription information of the smart gateway device are obtained, the target configuration information is remotely configured, and automatically distributed after the device successfully connects to the network, thus realizing the remote configuration and activation of the smart gateway device.

Benefits of technology

It significantly improves the configuration and activation efficiency of smart gateway devices, enhances automation and intelligence levels, reduces reliance on on-site personnel, and ensures configuration quality and customer experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728415B_ABST
    Figure CN119728415B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a configuration method and device of an intelligent gateway, equipment and a storage medium. The device type of the intelligent gateway and subscription information of a target service of the intelligent gateway are acquired. Target configuration information required by the intelligent gateway is configured according to the device type and the subscription information of the target service. When the intelligent gateway successfully accesses, the target configuration information is sent to the intelligent gateway to complete the configuration of the intelligent gateway. Embodiments of the present application preposition the installation and maintenance service. Before the intelligent gateway successfully accesses the network, the target configuration information required by the intelligent gateway can be configured in advance according to the demand. After the intelligent gateway successfully accesses the network, the configuration information is automatically sent to the intelligent gateway, thereby realizing the remote installation and maintenance of the intelligent gateway and significantly improving the networking efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network engineering technology, and in particular to a configuration method and apparatus for a smart gateway device, an electronic device, and a storage medium. Background Technology

[0002] With the rapid development of SD-WAN (Software-Defined Wide Area Network) technology, the demand for edge intelligent gateway devices has increased significantly, placing higher demands on the configuration and activation efficiency of intelligent gateway devices.

[0003] In related technologies, after a customer places an order, the supplier typically ships the device first. Once the customer receives the smart gateway, maintenance personnel are then dispatched to configure and activate it. However, this process has several problems: First, device configuration and activation can only be performed after the customer receives the device, leading to inefficiency. Second, all customer locations require readily available installation and maintenance personnel, and the mismatch between personnel availability and the number of customers often results in insufficient or wasted resources, increasing service costs and reducing customer experience. Furthermore, occasional faults during configuration and activation can only be discovered during on-site setup and activation, resulting in delayed problem detection and limited time for the supplier to troubleshoot and resolve issues, further impacting customer experience. Finally, manual verification is required after configuration and activation, but the varying skill levels of installation and maintenance personnel make it difficult to guarantee verification quality and maintain high standards in adhering to verification requirements.

[0004] Therefore, how to improve the automation and intelligence level of smart gateway device configuration and activation has become an important problem that urgently needs to be solved in this field. Summary of the Invention

[0005] This application provides a configuration method for a smart gateway device to address the problem of how to improve the automation and intelligence level of smart gateway device configuration and activation.

[0006] Accordingly, embodiments of this application also provide a configuration device for a smart gateway device, an electronic device, and a storage medium to ensure the implementation and application of the above methods.

[0007] To address the aforementioned issues, this application discloses a configuration method for a smart gateway device, applied to a configuration and maintenance system. The configuration and maintenance system supports ordering services from the smart gateway device. The method includes:

[0008] Obtain the device type of the smart gateway device and the subscription information of the target service of the smart gateway device;

[0009] Configure the target configuration information required for the smart gateway device based on the device type and the subscription information of the target service.

[0010] When the smart gateway device successfully connects, the target configuration information is sent to the smart gateway device to complete the configuration of the smart gateway device.

[0011] Optionally, before configuring the target configuration information required for the smart gateway device based on the device type and the subscription information of the target service, the method further includes:

[0012] Receive a system login request sent by a terminal device, the system login request including account, password and verification code;

[0013] The terminal device is authenticated based on the account, the password, and the verification code to obtain the authentication result;

[0014] If the authentication result is successful, a network session is created between the terminal device and the configuration and maintenance system;

[0015] An access token is generated based on the account, the password, and the verification code;

[0016] The authentication result and the access token are returned to the terminal device through the network session.

[0017] Optionally, the configuration and maintenance system is communicatively connected to the controller. After configuring the target configuration information required by the smart gateway device according to the device type and the subscription information of the target service, the method further includes:

[0018] The target configuration information is sent to the controller;

[0019] When the target configuration information does not need to be directly sent to the smart gateway device, the controller is controlled to send the target configuration information to a preset network element component.

[0020] When the smart gateway device successfully connects, the target configuration information is activated;

[0021] When the target configuration information needs to be directly sent to the smart gateway device, the controller is controlled to store the target configuration information.

[0022] Optionally, the controller has a corresponding protocol stack, which is communicatively connected to the smart gateway device. The method further includes:

[0023] Obtain the target device identifier of the smart gateway device;

[0024] Register the target device identifier to the protocol stack;

[0025] Obtain the device identifier of the currently connected smart gateway device;

[0026] Compare the target device identifier in the protocol stack with the device identifier of the currently accessing smart gateway device;

[0027] If the comparison passes, the smart gateway device is confirmed to have successfully connected.

[0028] Optionally, sending the target configuration information to the smart gateway device includes:

[0029] The target configuration information is sent from the controller to the protocol stack;

[0030] Based on the target configuration information, control the protocol stack to generate configuration distribution information;

[0031] The configuration information is sent to the smart gateway device via the protocol stack.

[0032] If the smart gateway device successfully receives the configuration information, then the smart gateway device is confirmed to have completed the configuration.

[0033] If the smart gateway device fails to receive the configuration information, it receives the error information uploaded by the controller.

[0034] Adjust the target configuration information based on the error message.

[0035] Optionally, before sending the target configuration information to the smart gateway device, the method further includes:

[0036] The network environment in which the smart gateway device is located is detected;

[0037] If the network environment in which the smart gateway device is located meets the target network configuration conditions, then the target configuration information is sent to the smart gateway device;

[0038] If the network environment in which the smart gateway device is located does not meet the target network configuration conditions, then the distribution of the target configuration information will be suspended.

[0039] The target network configuration conditions are displayed so that the user can adjust the network environment according to the target network configuration conditions.

[0040] Optionally, the configuration and maintenance system is communicatively connected to a cloud platform, which is used to receive configuration orders. The step of obtaining the device type of the smart gateway device and the order information for the target service of the smart gateway device includes:

[0041] Receive configuration and maintenance orders issued by the cloud platform; the configuration and maintenance orders are generated by the cloud platform based on the configuration orders;

[0042] The configuration and maintenance list is categorized.

[0043] When the configuration and maintenance order includes the smart gateway device and the target service, obtain the device type of the smart gateway device and the ordering information of the target service of the smart gateway device from the configuration and maintenance order.

[0044] This application also discloses a configuration device for a smart gateway device, applied to a configuration and maintenance system, wherein the configuration and maintenance system supports ordering services from the smart gateway device, and the device includes:

[0045] The installation and maintenance order information acquisition module is used to acquire the device type of the smart gateway device and the ordering information of the target business services of the smart gateway device.

[0046] A pre-configuration module is used to configure the target configuration information required by the smart gateway device according to the device type and the subscription information of the target service;

[0047] The configuration distribution module is used to distribute the target configuration information to the smart gateway device when the smart gateway device successfully connects, so as to complete the configuration of the smart gateway device.

[0048] This application also discloses an electronic device, including: a processor; and a memory storing executable code thereon, which, when executed, causes the processor to perform a configuration method for one or more smart gateway devices as described in this application.

[0049] This application also discloses one or more machine-readable media storing executable code thereon, which, when executed, causes a processor to perform a configuration method for one or more smart gateway devices as described in this application.

[0050] Compared with the prior art, the embodiments of this application have the following advantages:

[0051] In this embodiment, the device type and target service subscription information of the smart gateway device are obtained; based on the device type and target service subscription information, the target configuration information required by the smart gateway device is configured; when the smart gateway device successfully connects to the network, the target configuration information is sent to the smart gateway device to complete the configuration of the smart gateway device. This embodiment, by bringing installation and maintenance services forward, allows the target configuration information required by the smart gateway device to be configured in advance as needed before the smart gateway device successfully connects to the network; after the smart gateway device successfully connects to the network, the configuration information is automatically sent to the smart gateway device, thereby realizing remote installation and maintenance of the smart gateway device, significantly improving networking efficiency, and greatly enhancing the automation and intelligence level of smart gateway device configuration and activation. Attached Figure Description

[0052] Figure 1 This is a flowchart illustrating the steps of an embodiment of a configuration method for a smart gateway device according to this application;

[0053] Figure 2 This is a system login flowchart of an embodiment of a configuration method for a smart gateway device according to this application;

[0054] Figure 3 This is an architecture diagram of an embodiment of a configuration method for a smart gateway device according to this application;

[0055] Figure 4 This is a flowchart of an embodiment of a configuration method for a smart gateway device according to this application;

[0056] Figure 5 This is a structural block diagram of an embodiment of a configuration device for a smart gateway device according to this application;

[0057] Figure 6 This is a schematic diagram of the structure of a device provided in an embodiment of this application. Detailed Implementation

[0058] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0059] Reference Figure 1 This is a flowchart illustrating the steps of a configuration method embodiment for a smart gateway device according to this application, including the following steps:

[0060] Step 101: Obtain the device type of the smart gateway device and the subscription information of the target service of the smart gateway device.

[0061] The configuration method for a smart gateway device shown in this application embodiment is applied to the configuration and maintenance system.

[0062] The configuration and maintenance system supports ordering smart gateway devices and their associated services. Installation and maintenance personnel can log in to the system to view configuration and maintenance orders generated from customer purchases of smart gateway devices and / or their associated services. These orders include the device type and the order information for the target services. Based on this information, personnel can perform remote configuration and maintenance for the site corresponding to the current configuration and maintenance order within the system.

[0063] In this embodiment, in step 101, the configuration installation and maintenance system first obtains the device type of the smart gateway device and the subscription information of the target service of the smart gateway device on the configuration installation and maintenance order.

[0064] Step 102: Configure the target configuration information required for the smart gateway device according to the device type and the subscription information of the target service.

[0065] Upon receiving a configuration and maintenance order, installation and maintenance personnel can configure the smart gateway device with the required target configuration information for the site corresponding to the current configuration and maintenance order on the configuration and maintenance system, based on the device type and the order information for the target service. Throughout the entire process, installation and maintenance personnel do not need to wait for the customer to receive the smart gateway device, nor do they need to travel to the customer's site.

[0066] In one optional embodiment, installation and maintenance personnel can configure and plan the WAN (Wide Area Network), LAN (Local Area Network), related routing policies, DNS whitelists (Domain Name System), ACL (Access Control List), SD-WAN (Software-Defined Wide Area Network), intelligent routing applications, cross-border traffic aggregation, and other related services of the smart gateway device according to the customer's business requirements on the configuration and maintenance form; and save the relevant configuration information to the configuration and maintenance system. Before the target configuration information is issued, installation and maintenance personnel can adjust the configuration at any time according to actual needs.

[0067] Step 103: When the smart gateway device successfully connects, the target configuration information is sent to the smart gateway device to complete the configuration of the smart gateway device.

[0068] When the smart gateway device is successfully connected, that is, after the smart gateway device is successfully online, the target configuration information is sent to the smart gateway device to complete the configuration and activation of the smart gateway device.

[0069] In one embodiment, after the smart gateway device is configured and activated, it returns a feedback message indicating that installation and maintenance is complete to the configuration and maintenance system. Upon receiving this feedback, the configuration and maintenance system automatically verifies all service requests sent to the current smart gateway device. If the verification passes, the customer is notified that the device can be used normally; if the verification fails, a verification report is generated and sent to the installation and maintenance personnel, who then modify the target configuration information in the configuration and maintenance system and reissue the modified target configuration information.

[0070] In this embodiment, the device type and target service subscription information of the smart gateway device are obtained; based on the device type and target service subscription information, the target configuration information required by the smart gateway device is configured; when the smart gateway device successfully connects to the network, the target configuration information is sent to the smart gateway device to complete the configuration of the smart gateway device. This embodiment, by bringing installation and maintenance services forward, allows the target configuration information required by the smart gateway device to be configured in advance as needed before the smart gateway device successfully connects to the network; after the smart gateway device successfully connects to the network, the configuration information is automatically sent to the smart gateway device, thereby realizing remote installation and maintenance of the smart gateway device, significantly improving networking efficiency, and greatly enhancing the automation and intelligence level of smart gateway device configuration and activation.

[0071] Optionally, before step 102, that is, before configuring the target configuration information required for the smart gateway device according to the device type and the subscription information of the target service, the method further includes:

[0072] Receive a system login request sent by a terminal device, the system login request including account, password and verification code;

[0073] The terminal device is authenticated based on the account, the password, and the verification code to obtain the authentication result;

[0074] If the authentication result is successful, a network session is created between the terminal device and the configuration and maintenance system;

[0075] An access token is generated based on the account, the password, and the verification code;

[0076] The authentication result and the access token are returned to the terminal device through the network session.

[0077] In this embodiment, before configuring the target configuration information required for the smart gateway device at the site corresponding to the current configuration installation and maintenance order on the configuration installation and maintenance system, the installation and maintenance personnel need to log in to the configuration installation and maintenance system using their account, corresponding password, and verification code. The verification code can be a mobile phone verification code.

[0078] The configuration and maintenance system receives system login requests from installation and maintenance personnel via terminal devices, including account, password, and verification code. Based on the account, password, and verification code, the system performs two-factor authentication on the terminal device and obtains the authentication result.

[0079] If the authentication result is successful, a network session is created between the terminal device and the configuration and maintenance system. Simultaneously, an access token is generated based on the account, password, and verification code. The authentication result and access token are then returned to the terminal device via the network session, allowing the installation and maintenance personnel to successfully log in to the configuration and maintenance system.

[0080] In one optional embodiment, both the network session and the access token can be set with a validity period. Within the validity period, installation and maintenance personnel can use the terminal device to access the configuration and maintenance system via the network session using the access token; after the validity period expires, they need to log in and authenticate again. As an example, the validity period of the network session can be set to 2 hours, and the validity period of the access token can be set to 30 minutes.

[0081] Reference Figure 2 This is a system login flowchart of an embodiment of a configuration method for a smart gateway device according to this application.

[0082] When installation and maintenance personnel need to log in to the configuration and maintenance system (i.e., the web server), they first obtain an SMS verification code from the system. If account authentication is required, the system randomly generates a verification code, stores its expiration time in Redis storage service (i.e., a caching service), and sends the SMS verification code to the installation and maintenance personnel's terminal device. After successful authentication, the system generates a session and a token, and stores the session, token, and their expiration times in Redis storage service. The system then sends a login success notification and the token to the installation and maintenance personnel's terminal device. Relevant log information can be recorded during login authentication.

[0083] In this embodiment of the application, when installation and maintenance personnel need to log in to configure the installation and maintenance system, the identity of the installation and maintenance personnel is authenticated, which can ensure the security of remote installation and maintenance of smart gateway devices.

[0084] Optionally, the configuration and maintenance system is communicatively connected to the controller. After step 102, that is, after configuring the target configuration information required by the smart gateway device according to the device type and the subscription information of the target service, the method further includes:

[0085] The target configuration information is sent to the controller;

[0086] When the target configuration information does not need to be directly sent to the smart gateway device, the controller is controlled to send the target configuration information to a preset network element component.

[0087] When the smart gateway device successfully connects, the target configuration information is activated;

[0088] When the target configuration information needs to be directly sent to the smart gateway device, the controller is controlled to store the target configuration information.

[0089] In this embodiment, after the installation and maintenance personnel complete the planning and configuration of the smart gateway device and related business services, they can first send this target configuration information to the controller. In one embodiment, the controller can be an SD-WAN controller.

[0090] Determine whether the target configuration information needs to be directly sent to the smart gateway device. In one embodiment, the specific target configuration information that needs to be directly sent to the smart gateway device can be configured by the installation and maintenance personnel.

[0091] When the target configuration information does not need to be directly sent to the smart gateway device, the SD-WAN controller generates relevant configuration files based on the target configuration information, sends the relevant configuration files to the preset network element components, and activates the relevant configuration files when the smart gateway device successfully connects, so that the target configuration information takes effect. When the target configuration information needs to be directly sent to the smart gateway device, the SD-WAN controller stores the target configuration information, and sends the relevant configurations through the netconf protocol (Network Configuration Protocol, a network protocol used for network device configuration and management) after the smart gateway device successfully connects.

[0092] This application embodiment determines whether the target configuration information needs to be directly sent to the smart gateway device, and then sends or stores the target configuration information for subsequent configuration and activation of the smart gateway device.

[0093] Optionally, the controller has a corresponding protocol stack, which is communicatively connected to the smart gateway device. After step 102, the method further includes:

[0094] Obtain the target device identifier of the smart gateway device;

[0095] Register the target device identifier to the protocol stack;

[0096] Obtain the device identifier of the currently connected smart gateway device;

[0097] Compare the target device identifier in the protocol stack with the device identifier of the currently accessing smart gateway device;

[0098] If the comparison passes, the smart gateway device is confirmed to have successfully connected.

[0099] In this embodiment, when a customer receives a smart gateway device and needs to access it, the smart gateway device needs to be authenticated.

[0100] Before the smart gateway device is shipped to the customer, the target device identifier (serial number) of the smart gateway device can be obtained, and the target device identifier can be registered to the controller's protocol stack through the configuration and maintenance system. In one embodiment, the protocol stack can be the Netconf protocol stack. In another embodiment, after receiving a request to register the device serial number information, the configuration and maintenance system must first verify the registered serial number information. If the verification passes, the registration request is initiated; if the verification fails, the verification result is fed back to the installation and maintenance personnel through the configuration and maintenance system for information verification reference.

[0101] After receiving the smart gateway device, the customer connects it to the network and logs into the local page, entering the site ID information corresponding to the currently connected smart gateway device. Once connected to the network, the smart gateway device automatically reports its device identifier to the protocol stack, which then retrieves the device identifier of the currently connected smart gateway device.

[0102] After receiving an access request from a currently accessing smart gateway device, the controller's protocol stack can verify the device identifier of the currently accessing smart gateway device by comparing the target device identifier in the protocol stack with the device identifier of the currently accessing smart gateway device.

[0103] If the device identifier of the currently connected smart gateway device reported corresponds to a smart gateway device that has already been registered on the controller's protocol stack, the comparison is successful. The smart gateway device's IP (Internet Protocol), site ID, online status, and other information are then reported to the controller via the protocol stack to confirm that the smart gateway device has successfully connected.

[0104] If the device identifier of the currently accessing smart gateway device reported does not correspond to the smart gateway device registered on the controller's protocol stack, the verification fails, and the protocol stack rejects the access request of the currently accessing smart gateway device.

[0105] In this embodiment of the application, when a smart gateway device is connected, the currently connected smart gateway device is automatically verified to ensure the correctness and security of the smart gateway device connection, thus preparing for the subsequent distribution of target configuration information.

[0106] Optionally, in step 103, sending the target configuration information to the smart gateway device includes:

[0107] The target configuration information is sent from the controller to the protocol stack;

[0108] Based on the target configuration information, control the protocol stack to generate configuration distribution information;

[0109] The configuration information is sent to the smart gateway device via the protocol stack.

[0110] If the smart gateway device successfully receives the configuration information, then the smart gateway device is confirmed to have completed the configuration.

[0111] If the smart gateway device fails to receive the configuration information, it receives the error information uploaded by the controller.

[0112] Adjust the target configuration information based on the error message.

[0113] In this embodiment, if the target configuration information needs to be directly sent to the smart gateway device, the following steps are required when sending the target configuration information to the smart gateway device after the smart gateway device has successfully connected.

[0114] After receiving the successful access notification from the smart gateway device, the controller sends the generated target configuration information for the activated smart gateway device to the protocol stack via the netconf protocol, using the site ID. Based on the target configuration information, the protocol stack generates configuration delivery information to be sent to the smart gateway device and writes it into the smart gateway device configuration activation task queue according to the order of business logic. The configuration delivery information is then sent to the smart gateway device sequentially via the protocol stack.

[0115] In one embodiment, when the controller sends the target configuration information to the protocol stack, authentication is required between the controller and the protocol stack.

[0116] If the smart gateway device successfully receives the configuration information, it confirms that the smart gateway device has completed the configuration, and the protocol stack sends the result back to the controller. After receiving the feedback result, the controller destroys the message tasks for the relevant services.

[0117] If the smart gateway device fails to receive the configuration delivery information, it receives the error information uploaded by the controller and adjusts the target configuration information accordingly. In one embodiment, if the configuration delivery fails, the error information is fed back to the controller. Upon receiving the error information, the controller analyzes it. If the failure is due to network quality issues, the configuration task is pushed back into the task queue for retry. If the failure is not due to network quality issues, the message is sent back to the configuration installation and maintenance system, which then relays it to the installation and maintenance personnel for further adjustment of the target configuration information. After the target configuration information is adjusted, it is re-delivered.

[0118] In one optional embodiment, after receiving the configuration distribution information, the smart gateway device needs to authenticate the configuration request sent by the protocol stack. If authentication is successful, the configuration distribution information is configured to the specified location; if authentication fails, the configuration request sent by the protocol stack is rejected. The smart gateway device can also feed the configuration result back to the controller through the protocol stack.

[0119] In this embodiment, after the customer receives the smart gateway device, the smart gateway device is directly connected to the designated site, and the controller will automatically send the target configuration information, thereby realizing remote installation and maintenance, and getting rid of the excessive reliance on local installation and maintenance personnel in the traditional on-site installation mode.

[0120] Optionally, before step 103, i.e. before sending the target configuration information to the smart gateway device, the method further includes:

[0121] The network environment in which the smart gateway device is located is detected;

[0122] If the network environment in which the smart gateway device is located meets the target network configuration conditions, then the target configuration information is sent to the smart gateway device;

[0123] If the network environment in which the smart gateway device is located does not meet the target network configuration conditions, then the distribution of the target configuration information will be suspended.

[0124] The target network configuration conditions are displayed so that the user can adjust the network environment according to the target network configuration conditions.

[0125] In this embodiment, after the smart gateway device successfully connects, it is necessary to detect the network environment in which the smart gateway device is located before sending the target configuration information.

[0126] Once the smart gateway device successfully connects, it automatically collects the uplink bandwidth, downlink bandwidth, and network quality parameters such as latency and jitter of the network it is connected to. These network quality parameters are uploaded to the controller via the protocol stack. The controller then detects the network connected to the smart gateway device, performs a comprehensive diagnostic analysis based on the target network configuration conditions required by the smart gateway device when receiving target configuration information, and provides the corresponding diagnostic results.

[0127] If the network environment where the smart gateway device is located meets the target network configuration conditions, the target configuration information will be sent to the smart gateway device. If the network environment where the smart gateway device is located does not meet the target network configuration conditions, the sending of the target configuration information will be paused, and the target network configuration conditions will be displayed to the customer so that the customer can adjust the network environment according to the target network configuration conditions. The target configuration information will be sent again after the network environment meets the target network configuration conditions.

[0128] In this embodiment of the application, after the smart gateway device successfully connects, it is necessary to detect the network environment in which the smart gateway device is located before sending the target configuration information, which can ensure the smooth sending of the target configuration information.

[0129] Optionally, the configuration and maintenance system is communicatively connected to a cloud platform, which is used to receive configuration orders. In step 101, obtaining the device type of the smart gateway device and the ordering information of the target service of the smart gateway device includes:

[0130] Receive configuration and maintenance orders issued by the cloud platform; the configuration and maintenance orders are generated by the cloud platform based on the configuration orders;

[0131] The configuration and maintenance list is categorized.

[0132] When the configuration and maintenance order includes the smart gateway device and the target service, obtain the device type of the smart gateway device and the ordering information of the target service of the smart gateway device from the configuration and maintenance order.

[0133] In this embodiment, customers can order smart gateway devices and target business services through a cloud platform. After receiving the configuration order, the cloud platform generates a configuration installation and maintenance order based on business production needs and equipment type, and sends it to the configuration installation and maintenance system.

[0134] The configuration and maintenance system categorizes and processes configuration and maintenance orders issued by the cloud platform. If a configuration order includes both a target service and a smart gateway device, the configuration and maintenance order will include both the smart gateway device and the target service. The system can retrieve the device type of the smart gateway device and the ordering information for the target service of the smart gateway device. If the configuration order only orders the target service, only configuration and maintenance orders related to SD-WAN networking services will be generated.

[0135] In this embodiment of the application, after generating a configuration order on the cloud platform, a configuration installation and maintenance order is further generated and categorized. This order is used by subsequent installation and maintenance personnel to configure the target configuration information required by the smart gateway device for the site corresponding to the current configuration installation and maintenance order on the configuration installation and maintenance system, based on the equipment type and the ordering information of the target business service.

[0136] Reference Figure 3 This is an architecture diagram of an embodiment of a configuration method for a smart gateway device according to this application.

[0137] like Figure 3 As shown, the configuration and maintenance system receives configuration and maintenance orders generated by the cloud platform and performs secure authentication on login requests from installation and maintenance personnel. After configuring the target configuration information required for the smart gateway device, the installation and maintenance personnel store the target configuration information and send it to the SD-WAN controller. The configuration and maintenance system can also perform quality checks on the target configuration information.

[0138] After receiving the target configuration information, the SD-WAN controller performs security authentication and encapsulates the information. The SD-WAN controller then uses the netconf protocol stack to detect the network environment of the smart gateway device. If the detection is successful, the controller forwards the target configuration information to the smart gateway device via the netconf protocol stack.

[0139] The intelligent gateway device (CPE, Customer Premises Equipment) authenticates the netconf protocol stack and then receives the target configuration information.

[0140] In this embodiment, security authentication information can be stored through a Redis server (caching service); system logs can also be generated and stored during the execution of a configuration method for a smart gateway device according to this application.

[0141] Reference Figure 4 This is a flowchart of an embodiment of a configuration method for a smart gateway device according to this application.

[0142] like Figure 4As shown, after a customer places an order through the cloud platform, the configuration and maintenance system receives the generated installation and maintenance order. The installation and maintenance personnel obtain a login verification code and initiate a login request to the configuration and maintenance system. The configuration and maintenance system authenticates the login request of the installation and maintenance personnel. After successful authentication, it updates the session and token to allow the installation and maintenance personnel to access the configuration and maintenance system.

[0143] Installation and maintenance personnel can configure installation and maintenance information and generate target configuration information on the configuration and maintenance system. The smart gateway device is registered before shipment. After receiving the smart gateway device, the customer connects it online and verifies the serial number. Once verification is successful, the smart gateway device is successfully connected online.

[0144] The system detects the quality of the network environment in which the Smart Gateway Device (CPE) is located. Upon successful detection, it sends the target configuration information to the CPE, causing the CPE to automatically activate and perform automatic verification of the target configuration information. Successful verification confirms the CPE's success.

[0145] In this embodiment, the device type and target service subscription information of the smart gateway device are obtained; based on the device type and target service subscription information, the target configuration information required by the smart gateway device is configured; when the smart gateway device successfully connects to the network, the target configuration information is sent to the smart gateway device to complete the configuration of the smart gateway device. This embodiment, by bringing installation and maintenance services forward, allows the target configuration information required by the smart gateway device to be configured in advance as needed before the smart gateway device successfully connects to the network; after the smart gateway device successfully connects to the network, the configuration information is automatically sent to the smart gateway device, thereby realizing remote installation and maintenance of the smart gateway device, significantly improving networking efficiency, and greatly enhancing the automation and intelligence level of smart gateway device configuration and activation.

[0146] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.

[0147] Based on the above embodiments, this embodiment also provides a configuration device for a smart gateway device, which is applied to electronic devices such as terminal devices and servers.

[0148] Reference Figure 5 The diagram illustrates a structural block diagram of a configuration device embodiment for a smart gateway device according to this application, which may specifically include the following modules:

[0149] The installation and maintenance order information acquisition module 501 is used to acquire the device type of the smart gateway device and the ordering information of the target business service of the smart gateway device.

[0150] The pre-configuration module 502 is used to configure the target configuration information required by the smart gateway device according to the device type and the subscription information of the target service;

[0151] The configuration distribution module 503 is used to distribute the target configuration information to the smart gateway device when the smart gateway device successfully connects, so as to complete the configuration of the smart gateway device.

[0152] Optionally, the device further includes:

[0153] The login request module is used to receive a system login request sent by the terminal device. The system login request includes an account, password, and verification code.

[0154] The login authentication module is used to authenticate the terminal device based on the account, the password, and the verification code, and obtain the authentication result;

[0155] The network session creation module is used to create a network session between the terminal device and the configuration and maintenance system if the authentication result is successful.

[0156] The token generation module is used to generate an access token based on the account, the password, and the verification code.

[0157] The token return module is used to return the authentication result and the access token to the terminal device through the network session.

[0158] Optionally, the configuration and maintenance system is communicatively connected to the controller, and the device further includes:

[0159] The controller receiving module is used to send the target configuration information to the controller;

[0160] The first distribution module is used to control the controller to distribute the target configuration information to a preset network element component when the target configuration information does not need to be directly distributed to the smart gateway device.

[0161] The first configuration activation module is used to activate the target configuration information when the smart gateway device is successfully connected.

[0162] The second distribution module is used to control the controller to store the target configuration information when the target configuration information needs to be directly distributed to the smart gateway device.

[0163] Optionally, the controller has a corresponding protocol stack, the protocol stack being communicatively connected to the smart gateway device, and the device further includes:

[0164] The device identifier acquisition module is used to acquire the target device identifier of the smart gateway device;

[0165] The identifier registration module is used to register the target device identifier to the protocol stack;

[0166] The access identifier acquisition module is used to acquire the device identifier of the currently accessing smart gateway device;

[0167] The identifier comparison module is used to compare the target device identifier in the protocol stack with the device identifier of the currently accessed smart gateway device;

[0168] The device access module is used to confirm that the smart gateway device has successfully accessed if the comparison passes.

[0169] Optionally, the configuration distribution module 503 includes:

[0170] The protocol stack receiving submodule is used to send the target configuration information from the controller to the protocol stack;

[0171] The information generation submodule is used to control the protocol stack to generate configuration information based on the target configuration information.

[0172] The information delivery submodule is used to deliver the configuration delivery information to the smart gateway device through the protocol stack;

[0173] The information receiving submodule is used to confirm that the smart gateway device has completed the configuration if the smart gateway device successfully receives the configuration information.

[0174] The error information uploading submodule is used to receive error information uploaded by the controller if the smart gateway device fails to receive the configuration information.

[0175] The configuration adjustment submodule is used to adjust the target configuration information based on the error information.

[0176] Optionally, the device further includes:

[0177] The network detection module is used to detect the network environment in which the smart gateway device is located;

[0178] The first network processing module is configured to send the target configuration information to the smart gateway device if the network environment in which the smart gateway device is located meets the target network configuration conditions.

[0179] The second network processing module is used to pause the transmission of the target configuration information if the network environment in which the smart gateway device is located does not meet the target network configuration conditions.

[0180] The second network adjustment module is used to display the target network configuration conditions so that the user can adjust the network environment according to the target network configuration conditions.

[0181] Optionally, the configuration and maintenance system is communicatively connected to a cloud platform, the cloud platform being used to receive configuration orders, and the installation and maintenance order information acquisition module 501 includes:

[0182] The configuration installation and maintenance order distribution submodule is used to receive the configuration installation and maintenance order distributed by the cloud platform; the configuration installation and maintenance order is generated by the cloud platform based on the configuration order.

[0183] The installation and maintenance order classification submodule is used to classify the configuration installation and maintenance orders;

[0184] The installation and maintenance order information confirmation submodule is used to obtain the device type of the smart gateway device and the ordering information of the target service of the smart gateway device in the configuration installation and maintenance order when the configuration installation and maintenance order includes the smart gateway device and the target service.

[0185] In this embodiment, the device type and target service subscription information of the smart gateway device are obtained; based on the device type and target service subscription information, the target configuration information required by the smart gateway device is configured; when the smart gateway device successfully connects to the network, the target configuration information is sent to the smart gateway device to complete the configuration of the smart gateway device. This embodiment, by bringing installation and maintenance services forward, allows the target configuration information required by the smart gateway device to be configured in advance as needed before the smart gateway device successfully connects to the network; after the smart gateway device successfully connects to the network, the configuration information is automatically sent to the smart gateway device, thereby realizing remote installation and maintenance of the smart gateway device, significantly improving networking efficiency, and greatly enhancing the automation and intelligence level of smart gateway device configuration and activation.

[0186] This application also provides a non-volatile readable storage medium storing one or more modules (programs). When these modules are applied to a device, they enable the device to execute the instructions for the method steps in this application.

[0187] This application provides one or more machine-readable media storing instructions that, when executed by one or more processors, cause an electronic device to perform one or more of the methods described in the above embodiments. In this application, the electronic device includes various types of devices such as terminal devices and servers (clusters).

[0188] The embodiments of this disclosure can be implemented as an apparatus configured as desired using any suitable hardware, firmware, software, or any combination thereof, including electronic devices such as terminal devices, servers (clusters), etc. Figure 6 An exemplary apparatus 600 is schematically shown that can be used to implement the various embodiments described in this application.

[0189] In one embodiment, Figure 6 An exemplary device 600 is shown, which includes one or more processors 602, a control module (chipset) 604 coupled to at least one of the processors 602, a memory 606 coupled to the control module 604, a non-volatile memory (NVM) / storage device 608 coupled to the control module 604, one or more input / output devices 610 coupled to the control module 604, and a network interface 612 coupled to the control module 604.

[0190] Processor 602 may include one or more single-core or multi-core processors, and processor 602 may include any combination of general-purpose processors or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, device 600 can serve as a terminal device, server (cluster), or other device as described in the embodiments of this application.

[0191] In some embodiments, the apparatus 600 may include one or more computer-readable media (e.g., memory 606 or NVM / storage device 608) having instructions 614 and one or more processors 602 that are combined with the one or more computer-readable media and configured to execute the instructions 614 to implement the module and thus perform the actions described in this disclosure.

[0192] In one embodiment, the control module 604 may include any suitable interface controller to provide any suitable interface to at least one of the processors 602 and / or any suitable device or component communicating with the control module 604.

[0193] The control module 604 may include a memory controller module to provide an interface to the memory 606. The memory controller module may be a hardware module, a software module, and / or a firmware module.

[0194] Memory 606 may be used, for example, to load and store data and / or instructions 614 for device 600. In one embodiment, memory 606 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, memory 606 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).

[0195] In one embodiment, the control module 604 may include one or more input / output controllers to provide an interface to the NVM / storage device 608 and (one or more) input / output devices 610.

[0196] For example, NVM / storage device 608 may be used to store data and / or instructions 614. NVM / storage device 608 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (one or more) non-volatile storage devices (e.g., one or more hard disk drives (HDDs), one or more optical disc drives (CDs), and / or one or more digital universal optical disc (DVD) drives).

[0197] NVM / storage device 608 may include storage resources that are physically part of a device on which device 600 is mounted, or that are accessible to the device but do not necessarily have to be part of the device. For example, NVM / storage device 608 may be accessed via a network through one or more input / output devices 610.

[0198] One or more input / output devices 610 may provide an interface for device 600 to communicate with any other suitable device. Input / output devices 610 may include communication components, audio components, sensor components, etc. A network interface 612 may provide an interface for device 600 to communicate via one or more networks. Device 600 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, such as accessing wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, etc., or combinations thereof.

[0199] In one embodiment, at least one of the processors 602 may be logically packaged with one or more controllers (e.g., memory controller modules) of the control module 604. In one embodiment, at least one of the processors 602 may be logically packaged with one or more controllers of the control module 604 to form a system-in-package (SiP). In one embodiment, at least one of the processors 602 may be integrated with the logic of one or more controllers of the control module 604 on the same die. In one embodiment, at least one of the processors 602 may be integrated with the logic of one or more controllers of the control module 604 on the same die to form a system-on-a-chip (SoC).

[0200] In various embodiments, device 600 may be, but is not limited to, a server, desktop computing device, or mobile computing device (e.g., laptop, handheld computing device, tablet, netbook, etc.). In various embodiments, device 600 may have more or fewer components and / or different architectures. For example, in some embodiments, device 600 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.

[0201] The detection device may use a main control chip as a processor or control module, and sensor data, position information, etc. may be stored in a memory or NVM / storage device. The sensor group may be used as an input / output device, and the communication interface may include a network interface.

[0202] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0203] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0204] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a configured terminal device, such as a general-purpose computer, special-purpose computer, embedded processor, or other programmable smart gateway device, to produce a machine, such that the instructions, which execute via the processor of the configured terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0205] These computer program instructions may also be stored in a computer-readable storage medium that can direct a configuration terminal device, such as a computer or other programmable smart gateway device, to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0206] These computer program instructions can also be loaded onto a configuration terminal device of a computer or other programmable smart gateway device, causing a series of operational steps to be executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0207] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0208] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0209] The configuration method and apparatus for a smart gateway device, an electronic device, and a storage medium provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A configuration method of an intelligent gateway device, characterized by, The application is applied to a configuration and maintenance system supporting service subscription of the intelligent gateway device, the configuration and maintenance system is in communication connection with a controller, and the method comprises the following steps: obtaining the device type of the intelligent gateway device and the subscription information of the target service of the intelligent gateway device; configuring the target configuration information required by the intelligent gateway device according to the device type and the subscription information of the target service; downloading the target configuration information to the intelligent gateway device to complete the configuration of the intelligent gateway device when the intelligent gateway device is successfully accessed; wherein, after the step of configuring the target configuration information required by the intelligent gateway device according to the device type and the subscription information of the target service, the method further comprises the following steps: downloading the target configuration information to the controller; controlling the controller to download the target configuration information to a preset network element component when the target configuration information does not need to be directly downloaded to the intelligent gateway device; activating the target configuration information when the intelligent gateway device is successfully accessed; controlling the controller to store the target configuration information when the target configuration information needs to be directly downloaded to the intelligent gateway device.

2. The method of claim 1, wherein, Before the step of configuring the target configuration information required by the intelligent gateway device according to the device type and the subscription information of the target service, the method further comprises the following steps: receiving a system login request sent by a terminal device, the system login request comprising an account, a password and a verification code; authenticating the terminal device according to the account, the password and the verification code to obtain an authentication result; creating a network session between the terminal device and the configuration and maintenance system if the authentication result is authentication passed; generating an access token according to the account, the password and the verification code; returning the authentication result and the access token to the terminal device through the network session.

3. The method of claim 1, wherein, The controller has a corresponding protocol stack in communication connection with the intelligent gateway device, and the method further comprises the following steps: obtaining a target device identifier of the intelligent gateway device; registering the target device identifier to the protocol stack; obtaining a device identifier of the currently accessed intelligent gateway device; comparing the target device identifier in the protocol stack with the device identifier of the currently accessed intelligent gateway device; confirming that the intelligent gateway device is successfully accessed if the comparison is passed.

4. The method of claim 3, wherein, The step of downloading the target configuration information to the intelligent gateway device comprises the following steps: downloading the target configuration information from the controller to the protocol stack; controlling the protocol stack to generate configuration download information according to the target configuration information; downloading the configuration download information to the intelligent gateway device through the protocol stack; confirming that the intelligent gateway device is configured if the intelligent gateway device successfully receives the configuration download information; receiving error information uploaded by the controller if the intelligent gateway device does not successfully receive the configuration download information; adjusting the target configuration information according to the error information.

5. The method of claim 1, wherein, Before the target configuration information is issued to the intelligent gateway device, the method further comprises: detecting a network environment in which the intelligent gateway device is located; if the network environment in which the intelligent gateway device is located meets a target network configuration condition, issuing the target configuration information to the intelligent gateway device; if the network environment in which the intelligent gateway device is located does not meet the target network configuration condition, suspending the issuance of the target configuration information; displaying the target network configuration condition so that a user adjusts the network environment according to the target network configuration condition.

6. The method of claim 1, wherein, The configuration and maintenance system is in communication connection with a cloud platform, and the cloud platform is configured to receive a configuration order. The obtaining of the device type of the intelligent gateway device and the subscription information of the target service of the intelligent gateway device comprises: receiving a configuration and maintenance order issued by the cloud platform; the configuration and maintenance order is generated by the cloud platform according to the configuration order; classifying the configuration and maintenance order; when the configuration and maintenance order includes the intelligent gateway device and the target service, obtaining the device type of the intelligent gateway device and the subscription information of the target service of the intelligent gateway device in the configuration and maintenance order.

7. A configuration apparatus of an intelligent gateway device, characterized by comprising: The configuration and maintenance system supports the subscription of the service of the intelligent gateway device, and the configuration and maintenance system is in communication connection with a controller. The device comprises: a configuration and maintenance order information obtaining module configured to obtain the device type of the intelligent gateway device and the subscription information of the target service of the intelligent gateway device; a pre-configuration module configured to configure the target configuration information required by the intelligent gateway device according to the device type and the subscription information of the target service; a configuration issuance module configured to issue the target configuration information to the intelligent gateway device when the intelligent gateway device is successfully accessed, so as to complete the configuration of the intelligent gateway device; wherein the device further comprises: a controller receiving module configured to issue the target configuration information to the controller; a first issuance module configured to control the controller to issue the target configuration information to a preset network element component when the target configuration information does not need to be directly issued to the intelligent gateway device; a first configuration activation module configured to activate the target configuration information when the intelligent gateway device is successfully accessed; a second issuance module configured to control the controller to store the target configuration information when the target configuration information needs to be directly issued to the intelligent gateway device.

8. An electronic device, comprising: comprise: a processor; and a memory having executable code stored thereon, when the executable code is executed, causing the processor to execute the configuration method of the intelligent gateway device as claimed in one or more of claims 1-6.

9. One or more machine-readable media having stored thereon executable code that, when executed, cause a processor to perform the configuration method of the intelligent gateway device as claimed in one or more of claims 1-6.

Citation Information

Patent Citations

  • Gateway configuration method, device, apparatus, and computer-readable storage medium

    CN109039708A

  • Intelligent device initial configuration method, intelligent device and terminal device

    CN115842724A