Gateway management method, device, intelligent gateway and storage medium

By converting and responding to instructions from remote management devices in the smart gateway, the problems of inflexible management and low efficiency during the upgrade of the gateway management system are solved, achieving more efficient management and reducing upgrade costs.

CN115766897BActive Publication Date: 2024-08-27CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211395991.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-09
Publication Date
2024-08-27
Estimated Expiration
2042-11-09

AI Technical Summary

Technical Problem

During the upgrade process of the existing gateway management system, the remote management equipment's management of the smart gateway is inflexible and inefficient, resulting in high costs and long cycles for unified upgrades of the management module and middleware module.

Method used

When the intelligent gateway receives an unconfigurable instruction sent by the remote management device, it converts it into an instruction supported by the middleware module, responds through the middleware module, generates corresponding response information, and then converts the response information into an instruction supported by the management module. The format is sent back to the remote management device to realize flexible management of the intelligent gateway and reduce the need for unified upgrade of the management module and middleware module.

Benefits of technology

It improves the management flexibility and efficiency of remote management devices for intelligent gateways, reduces the unified upgrade time of management modules and middleware modules, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766897B
    Figure CN115766897B
Patent Text Reader

Abstract

The present application provides a gateway management method, apparatus, intelligent gateway and storage medium. After the intelligent gateway obtains a first instruction containing a target parameter sent by a remote management device, when a management module in the intelligent gateway cannot configure the target parameter, the intelligent gateway converts the first instruction into a second instruction supported by a middleware module. After the middleware module responds to the second instruction and generates a corresponding first response instruction, the middleware module converts the first response instruction into a second response instruction supported by the management module and sends the second response instruction to the remote management device, so as to enable the remote management module to manage the functions that the management module cannot implement and the functions developed by the middleware module, and there is no need to uniformly upgrade the management module regarding the function, thereby improving the flexibility and efficiency of the remote management device in managing the intelligent gateway.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of communication technology, and in particular, to a gateway management method, device, intelligent gateway, and storage medium. Background Art

[0002] The gateway based on the telecommunication network is the interface unit that connects the home network and the external network. Through the middleware installed on the gateway, users can develop and use value-added services in the home gateway.

[0003] The existing gateways support two management modes at the same time. The first is to follow the TR069 management mode deployed by the original provincial operators. The remote management equipment of the provincial fixed network terminal remote management system (RMS) adopts the TR069 protocol. By managing the management module in the Linux core layer of the gateway, the remote management equipment can manage the gateways in the province in a unified manner, including the distribution and management of broadband services, voice services, and video services. The second is to use the new HTTP+JSON management mode. The gateway operation management equipment installed with the gateway operation management system adopts the Json protocol. By managing the value-added services developed based on the middleware module in the gateway, the gateway operation management system can centrally manage the gateways across the country. The two management modes run on different software layers and assume different management functions.

[0004] As the number of new services and new functions required by the gateway increases, the amount of services required in the management module of the RMS system also increases. In the process of upgrading the management module, not only the management module needs to be upgraded, but also the middleware module needs to be upgraded, which makes the gateway transformation cost high and the cycle long. There are also problems such as inflexible and low efficiency of remote management equipment in managing the intelligent gateway. Summary of the invention

[0005] The present application provides a gateway management method, device, intelligent gateway and storage medium, which are used to solve the technical problems of inflexible and low efficiency management of intelligent gateways by remote management equipment.

[0006] In a first aspect, the present application provides a gateway management method, the method is applied to an intelligent gateway, the intelligent gateway includes a management module and a middleware module, the method includes:

[0007] Acquire a first instruction sent by a remote management device; the first instruction includes a target parameter;

[0008] When the management module cannot configure the target parameter, converting the first instruction into a second instruction supported by the middleware module;

[0009] Controlling the middleware module to respond to the second instruction and generate corresponding first response information;

[0010] The first response information is converted into second response information supported by the management module, and the second response information is sent to the remote management device.

[0011] In the above technical scheme, when the intelligent gateway obtains the first instruction sent by the remote management device and the management module cannot configure, the second instruction is converted into the second instruction supported by the middleware module, so that the middleware module responds to the target parameters in the instruction that the management module cannot respond to for configuration, and generates a first response message. After the intelligent gateway converts the first response message, it generates and sends the second response message to the remote management device, so that the remote management device can still manage the intelligent gateway when the intelligent gateway fails to upgrade the business corresponding to the first instruction in the management module, thereby improving the flexibility of the remote management device in managing the intelligent gateway, saving the time for unified upgrading of the management module and the middleware module, and improving the management efficiency of the remote management device for the intelligent gateway.

[0012] Optionally, when the management module cannot configure the target parameter, converting the first instruction into a second instruction supported by the middleware module specifically includes:

[0013] When the management module cannot configure the target parameter, controlling the management module to call the instruction transparent transmission interface to forward the first instruction to the middleware module;

[0014] The first instruction based on the first communication protocol is converted into a second instruction based on the second communication protocol; wherein the management module can process the instruction based on the first communication protocol, and the middle block module can process the instruction based on the second communication protocol.

[0015] Optionally, converting the first instruction based on the first communication protocol into a second instruction based on the second communication protocol specifically includes:

[0016] When the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the TCP message header of the first instruction is replaced with the Json message header to generate a second instruction based on the Json protocol;

[0017] The first instruction based on the TR069 protocol includes the TCP message header, and the second instruction based on the Json protocol includes the Json message header.

[0018] Optionally, converting the first response information into second response information supported by the management module specifically includes:

[0019] The first response information based on the second communication protocol is converted into the second response information based on the first communication protocol; wherein the management module only processes the information based on the first communication protocol.

[0020] Optionally, converting the first response information based on the second communication protocol into the second response information based on the first communication protocol specifically includes:

[0021] When the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the Json message header in the first response information is replaced with a TCP message header to generate a second response information based on the TR069 protocol.

[0022] Optionally, the method further comprises:

[0023] The instruction transparent transmission interface is called to send the second response information to the management module.

[0024] Optionally, the first instruction includes a first configuration instruction; controlling the middleware module to respond to the second instruction and generate corresponding first response information specifically includes:

[0025] After obtaining the second configuration instruction, the middleware module configures the corresponding business plug-in according to the configuration information in the second configuration instruction; the second configuration instruction is an instruction converted from the first configuration instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module.

[0026] Optionally, the first instruction includes a first query instruction; controlling the middleware module to respond to the second instruction and generate corresponding first response information specifically includes:

[0027] After obtaining the second query instruction, the middleware module queries the corresponding business plug-in according to the plug-in information in the second query instruction; the second query instruction is an instruction converted from the first query instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module.

[0028] In the above technical solution, after the intelligent gateway obtains the first instruction sent by the remote management device, if the management module cannot configure the target parameters in the first instruction, the management module can send the first instruction to the middleware module through the instruction transmission interface, and convert the first instruction into a second instruction that can be processed by the middleware module through the protocol conversion of the translation module in the middleware module. After the middleware module responds to the second instruction, it still converts the response information into response information that can be processed by the management module and sent to the remote management device through the translation module, so that the remote management device can still manage the intelligent gateway when the intelligent gateway fails to upgrade the business corresponding to the first instruction in the management module, thereby improving the flexibility of the remote management device in managing the intelligent gateway, saving the time for unified upgrading of the management module and the middleware module, and improving the management efficiency of the remote management device for the intelligent gateway.

[0029] In a second aspect, the present application provides a gateway management device, including:

[0030] An acquisition module, configured to acquire a first instruction sent by a remote management device; the first instruction includes a target parameter;

[0031] a processing module, configured to convert the first instruction into a second instruction supported by the middleware module when the management module cannot configure the target parameter;

[0032] The processing module is further used to control the middleware module to respond to the second instruction and generate corresponding first response information;

[0033] The processing module is further configured to convert the first response information into second response information supported by the management module, and send the second response information to the remote management device.

[0034] In a third aspect, the present application provides an intelligent gateway, including: a processor and a memory communicatively connected to the processor;

[0035] Memory stores computer instructions;

[0036] When executing the computer instructions, the processor is used to implement the gateway management method involved in the first aspect.

[0037] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed by a processor, they are used to implement the gateway management method involved in the first aspect.

[0038] The present application provides a gateway management method, apparatus, intelligent gateway and storage medium. After the intelligent gateway obtains a first instruction containing a target parameter sent by a remote management device, when a management module in the intelligent gateway cannot configure the target parameter, the intelligent gateway converts the first instruction into a second instruction supported by a middleware module. After the middleware module responds to the second instruction and generates a corresponding first response instruction, the middleware module converts the first response instruction into a second response instruction supported by the management module and sends the second response instruction to the remote management device, so as to enable the remote management module to manage the functions that the management module cannot implement and the functions developed by the middleware module, and there is no need to uniformly upgrade the management module regarding the function, thereby improving the flexibility and efficiency of the remote management device in managing the intelligent gateway. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0040] Figure 1 This is an application scenario diagram of a gateway management method provided by the present application according to an exemplary embodiment;

[0041] Figure 2 A schematic diagram of a flow chart of a gateway management method provided by the present application according to an exemplary embodiment;

[0042] Figure 3 A schematic diagram of a flow chart of a gateway management method provided by the present application according to another exemplary embodiment;

[0043] Figure 4 A schematic diagram of the structure of a gateway management device provided by the present application according to an embodiment;

[0044] Figure 5 The present invention is a schematic diagram of the structure of an intelligent gateway provided according to an embodiment of the present invention.

[0045] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0046] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0047] The present application provides a gateway management method, device, intelligent gateway and storage medium, aiming to solve the technical problem that the remote management device manages the intelligent gateway in an inflexible and inefficient manner. The technical concept of the present application is: after the intelligent gateway obtains the first instruction sent by the remote management device, when the management module in the intelligent gateway cannot configure the target parameters in the first instruction, the first instruction is converted into a second instruction supported by the middleware module, and after the middleware module responds to the second instruction and generates a first response instruction, the first response instruction is converted into a second response instruction supported by the management module and the second response instruction is sent to the management module, so that the management module sends the second response instruction to the remote management device, so as to realize the remote management module to manage the functions that the management module fails to realize and the functions developed by the middleware module, and no longer needs to uniformly upgrade the management module regarding the function, thereby improving the flexibility and efficiency of the remote management device's management of the intelligent gateway.

[0048] Figure 1 The present application provides an application scenario diagram of a gateway management method according to an exemplary embodiment, such as Figure 1 As shown, the application scenario diagram includes: an intelligent gateway 10, a gateway operation and management device 11, a remote management device 12, a user terminal 13, a first operation and maintenance terminal 14, and a second operation and maintenance terminal 15, wherein the intelligent gateway 10 includes a Linux system, and the Linux system includes a Linux kernel unit 101, a middleware module 102, and a service plug-in 103, wherein the Linux kernel unit 101 includes a management module 1011, and the middleware module 102 includes a translation module 1021. The intelligent gateway 10 is respectively connected to the gateway operation and management device 11, the remote management device 12, the first operation and maintenance terminal 14, and the second operation and maintenance terminal 15, and the gateway operation and management device 11 is connected to the user terminal 13.

[0049] In the above-mentioned intelligent gateway 10, the middleware module 102 and the service plug-in 103 are called and information is transmitted through the first interface, and the Linux kernel unit 101 and the middleware module 102 are connected in communication through the second interface 104. The second interface 104 includes an instruction transparent transmission interface 1041, and the instruction transparent transmission interface 1041 is used for mutual calling and information transmission between the management module 1011 and the translation module 1021. In one embodiment, the first interface is a coherent accelerator processor interface (CoherentAcceleratorProcessorInterface, referred to as: CAPI interface), the second interface 104 is a data bus (DataBus, referred to as: DBUS) interface, the management module 1011 is a TR069 management module, the instruction transparent transmission interface 1041 is a TR069 transparent transmission interface, and the middleware module 102 is an OpenWRT middleware module or an OSGI middleware module.

[0050] The gateway operation management device 11 can manage the smart gateways deployed nationwide. More specifically, the gateway operation management device 11 is installed with a gateway operation management system. The gateway operation management device 11 manages the smart gateway 10 through the information interaction between the gateway operation management system and the middleware module 102 in the smart gateway 10 based on the HTTP+JSON+XML management protocol, so as to implement the distribution and configuration of the value-added services in the smart gateway 10, that is, the update, installation or configuration management of the service plug-in 103 developed based on the middleware module 102. Furthermore, the user terminal 13 is installed with an application corresponding to the gateway operation management system in the gateway operation management device 11, and the user terminal 13 can manage and configure the middleware module 102 in the smart gateway 10 through the application.

[0051] The middleware module 102 is also managed by the first operation and maintenance terminal 14 and / or the second operation and maintenance terminal 15. In the process of managing and maintaining the intelligent gateway 10, the operation and maintenance personnel can maintain the business plug-in developed based on the middleware module 102 through the first operation and maintenance terminal 14 or the second operation and maintenance terminal 15 directly connected to the intelligent gateway 10. Among them, the first operation and maintenance terminal 14 is installed with an operation and maintenance application for the middleware module 102, and the second operation and maintenance terminal 15 is installed with a browser operation and maintenance interface for the middleware module 102. The operation and maintenance personnel can realize the operation and maintenance of the middleware module 102 in the intelligent gateway through the operation and maintenance application in the first operation and maintenance terminal 14 or the browser operation and maintenance interface in the second operation and maintenance terminal 15.

[0052] The intelligent gateway 10 is also managed by the remote management device 12. More specifically, the remote management device is equipped with an RMS, and the remote management device 12 manages the Linux kernel unit 101 in each intelligent gateway 10 in the province through information interaction based on the TR069 protocol between the RMS and the management module 1011. Among them, the Linux kernel unit 101 is used to implement the basic functions of the gateway, including but not limited to Dynamic Host Configuration Protocol (DHCP) service, Point to Point Protocol (PPP) service, Network Address Translation (NAT) service, etc.

[0053] The remote management device 12 can query the gateway management module 1011 in each intelligent gateway 10, distribute broadband, and configure the voice service and interactive network television (Internet Protocol Television, IPTV) service through RMS. When the management module 1011 performs service upgrades, the middleware module 102 also needs to follow the management module 1011 to perform corresponding upgrade operations. However, the service upgrade of the middleware module 102 does not require the management module 1011 to follow the upgrade.

[0054] During the service upgrade of the intelligent gateway 10, the operation and maintenance personnel can configure the intelligent gateway 10 with new or updated service plug-ins developed based on the middleware module 102 to replace the services to be developed in the management module 1011 through the first operation and maintenance terminal 14 or the second operation and maintenance terminal 15. When the remote management device 12 manages or queries the above services, the device sends a first instruction to the management module 1011 in the intelligent gateway 10. The first instruction includes target parameters that the management module 1011 cannot configure. The management module 1011 can send the first instruction to the translation module 1021 by calling the instruction transmission interface 1041, so as to realize the conversion from the first instruction based on the TR069 protocol to the second instruction based on the Json protocol. The middleware module 102 can configure the target parameters in the second instruction, respond to the corresponding second instruction, and generate the corresponding first response information. The middleware module 1021 uses the translation module 1021 to convert the first response information into the second response information supported by the management module 1011, and sends the second response information to the remote management device 12, so as to enable the remote management device to manage the services in the smart gateway that are not developed in the management module. This not only improves the flexibility of the remote management device in managing the smart gateway, but also reduces the complexity of upgrading the smart gateway, thereby improving the user experience of using the smart gateway.

[0055] Based on the above application scenarios, some implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other. In addition, the timing of the steps in the following method embodiments is only an example and not a strict limitation.

[0056] Figure 2 A schematic diagram of a gateway management method provided by the present application according to an exemplary embodiment is shown in FIG. Figure 2 As shown, the gateway management method includes:

[0057] S201. The remote management device sends a first instruction to the intelligent gateway.

[0058] A remote management device is a device to which RMS is applied.

[0059] The intelligent gateway is a device for network interconnection and protocol conversion. The intelligent gateway includes a management module and a middleware module.

[0060] The remote management device performs information exchange with the management module in the intelligent gateway based on the first communication protocol to implement management of the management module. The first instruction is an instruction based on the first communication protocol.

[0061] The first instruction includes a target parameter, which is a parameter that can be configured by the intelligent gateway when the remote management device manages the intelligent gateway.

[0062] S202: When the management module cannot configure the target parameters, the intelligent gateway converts the first instruction into a second instruction supported by the middleware module.

[0063] The management module cannot configure the target parameters means that the calling specifications of the target parameters are not defined in the management module. The business related to the target parameters is a business developed based on the middleware module. The management module cannot configure the target parameters and the middleware module is required to configure the target parameters. Therefore, the intelligent gateway needs to convert the first instruction into a second instruction supported by the middleware module.

[0064] S203: The intelligent gateway controls the middleware module to respond to the second instruction and generate corresponding first response information.

[0065] The second instruction processed by the middleware module is an instruction based on the second communication protocol.

[0066] After obtaining the second instruction, the middleware module responds to the instruction, performs a corresponding operation according to the target parameter, and generates first response information.

[0067] S204: The intelligent gateway converts the first response information into second response information supported by the management module.

[0068] Since the intelligent gateway needs to respond to the first instruction sent by the remote management device, the first response information is information based on the second communication protocol, and the remote management device cannot process the first response information. Therefore, the first response information needs to be converted into second response information based on the first communication protocol supported by the remote management device.

[0069] S205: The intelligent gateway sends a second response message to the remote management device.

[0070] In the above technical scheme, when the intelligent gateway obtains the first instruction sent by the remote management device and the management module cannot configure, the second instruction is converted into the second instruction supported by the middleware module, so that the middleware module responds to the target parameters in the instruction that the management module cannot respond to for configuration, and generates a first response message. After the intelligent gateway converts the first response message, it generates and sends the second response message to the remote management device, so that the remote management device can still manage the intelligent gateway when the intelligent gateway fails to upgrade the business corresponding to the first instruction in the management module, thereby improving the flexibility of the remote management device in managing the intelligent gateway, saving the time for unified upgrading of the management module and the middleware module, and improving the management efficiency of the remote management device for the intelligent gateway.

[0071] Figure 3 FIG. 1 is a flow chart of a gateway management method provided by the present application according to another exemplary embodiment. Figure 3 As shown, the method includes:

[0072] S301. The remote management device sends a first instruction to the intelligent gateway.

[0073] The intelligent gateway includes a management module and a middleware module.

[0074] The management module can process instructions based on a first communication protocol, and the middle block module can process instructions based on a second communication protocol. The first communication protocol is a protocol for communication between the remote management device and the management module, and the second communication protocol is a protocol for communication between the gateway operation management device and the middleware module.

[0075] The first instruction includes target parameters related to the management operation of the remote management device on the intelligent gateway, for example: query instruction, configuration instruction.

[0076] In one embodiment, the first communication protocol is the TR069 protocol, and the second communication protocol is the Json protocol. The target parameters of the first protocol based on the TR069 protocol are the parameters of the Wifi6 specifications (WIFI6Standards) supported by the gateway.

[0077] S302: When the management module cannot configure the target parameters, the intelligent gateway controls the management module to call the instruction transparent transmission interface to forward the first instruction to the middleware module.

[0078] The instruction transmission interface is the interface for the management module to use the underlying Linux kernel unit to perform data transmission and information interaction with the middleware module. It is a new interface added to the standard API interface between the existing middleware module and the underlying Linux kernel unit.

[0079] When the management module cannot configure the target parameters, the management module calls the instruction transmission module to send the first instruction based on the first communication protocol to the middleware module. More specifically, the management module sends the first instruction to the translation module in the middleware module according to the target address of the middleware module. During the process of sending the first instruction, the information related to the first instruction also includes the sending time.

[0080] S303: The intelligent gateway converts the first instruction of the first communication protocol into a second instruction based on the second communication protocol.

[0081] The management module may process instructions based on a first communication protocol, and the middle block module may process instructions based on a second communication protocol.

[0082] In one embodiment, when the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the intelligent gateway replaces the TCP header of the first instruction with the Json header to generate a second instruction based on the Json protocol. The first instruction based on the TR069 protocol includes a TCP header, and the second instruction based on the Json protocol includes a Json header. The format of the parameter value based on the TR069 protocol is WiFi6Standards, and the format of the parameter value based on the Json protocol is WiFiSupported.

[0083] S304: The intelligent gateway controls the middleware module to respond to the second instruction and generate corresponding first response information.

[0084] The middleware module obtains the target parameter in the second instruction, performs a corresponding operation according to the target parameter, and generates corresponding first response information according to the operation result.

[0085] In one embodiment, the first instruction includes a first configuration instruction. After the middleware module obtains the second configuration instruction, the intelligent gateway configures the corresponding business plug-in according to the configuration information in the second configuration instruction; the second configuration instruction is an instruction converted from the first configuration instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module.

[0086] In another embodiment, the first instruction includes a first query instruction. After the middleware module obtains the second query instruction, the intelligent gateway queries the corresponding business plug-in according to the plug-in information in the second query instruction; the second query instruction is an instruction converted from the first query instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module.

[0087] S305. The intelligent gateway converts the first response information based on the second communication protocol into the second response information based on the first communication protocol.

[0088] The management module only processes information based on the first communication protocol, and the remote management device only receives information based on the first communication protocol.

[0089] When the intelligent gateway responds to the first instruction of the remote management device, the middleware module needs to first use the translation module to convert the first response information into the second response information based on the first communication protocol.

[0090] In one embodiment, when the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the Json message header in the first response information is replaced with a TCP message header to generate the second response information based on the TR069 protocol.

[0091] S306. The intelligent gateway calls the instruction transparent transmission interface to send the second response information from the middleware module to the management module.

[0092] More specifically, after generating the second response information, the middleware module sends the second response information to the management module by calling the instruction transparent transmission interface, so that the management module responds to the remote management device.

[0093] In one embodiment, the format of the parameter value of the second response information is WiFi6Standards, and its wireless rate supports Ax1800 / Ax3000.

[0094] S307: The intelligent gateway sends a second response message to the remote management device.

[0095] In the above technical solution, after the intelligent gateway obtains the first instruction sent by the remote management device, if the management module cannot configure the target parameters in the first instruction, the management module can send the first instruction to the middleware module through the instruction transmission interface, and convert the first instruction into a second instruction that can be processed by the middleware module through the protocol conversion of the translation module in the middleware module. After the middleware module responds to the second instruction, it still converts the response information into response information that can be processed by the management module and sent to the remote management device through the translation module, so that the remote management device can still manage the intelligent gateway when the intelligent gateway fails to upgrade the business corresponding to the first instruction in the management module, thereby improving the flexibility of the remote management device in managing the intelligent gateway, saving the time for unified upgrading of the management module and the middleware module, and improving the management efficiency of the remote management device for the intelligent gateway.

[0096] Figure 4 This is a schematic diagram of the structure of a gateway management device provided according to an embodiment of the present application. The gateway management device 400 includes an acquisition module 401 and a processing module 402, wherein:

[0097] The acquisition module 401 is used to acquire a first instruction sent by a remote management device; the first instruction includes a target parameter.

[0098] The processing module 402 is used to convert the first instruction into a second instruction supported by the middleware module when the management module cannot configure the target parameter.

[0099] The processing module 402 is also used to control the middleware module to respond to the second instruction and generate corresponding first response information;

[0100] The processing module 402 is further configured to convert the first response information into second response information supported by the management module, and send the second response information to the remote management device.

[0101] In one embodiment, the processing module 402 is specifically configured to:

[0102] When the management module cannot configure the target parameters, the control management module calls the instruction transparent transmission interface to forward the first instruction to the middleware module;

[0103] Convert a first instruction based on a first communication protocol into a second instruction based on a second communication protocol; wherein the management module can process instructions based on the first communication protocol, and the intermediate block module can process instructions based on the second communication protocol.

[0104] In one embodiment, the processing module 402 is specifically configured to:

[0105] When the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the TCP message header of the first instruction is replaced with the Json message header to generate a second instruction based on the Json protocol;

[0106] The first instruction based on the TR069 protocol includes a TCP message header, and the second instruction based on the Json protocol includes a Json message header.

[0107] In one embodiment, the processing module 402 is specifically configured to:

[0108] The first response information based on the second communication protocol is converted into the second response information based on the first communication protocol; wherein the management module only processes the information based on the first communication protocol.

[0109] In one embodiment, the processing module 402 is specifically configured to:

[0110] When the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the Json message header in the first response information is replaced with a TCP message header to generate the second response information based on the TR069 protocol.

[0111] In one embodiment, the processing module 402 is further configured to:

[0112] The instruction transparent transmission interface is called to send the second response information from the middleware module to the management module.

[0113] In one embodiment, the processing module 402 is specifically configured to:

[0114] After the middleware module obtains the second configuration instruction, it configures the corresponding business plug-in according to the configuration information in the second configuration instruction; the second configuration instruction is an instruction converted from the first configuration instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module; the first instruction includes the first configuration instruction.

[0115] In one embodiment, the processing module 402 is specifically configured to:

[0116] After the middleware module obtains the second query instruction, it queries the corresponding business plug-in according to the plug-in information in the second query instruction; the second query instruction is an instruction converted from the first query instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module; the first instruction includes the first query instruction.

[0117] Figure 5A schematic diagram of the structure of an intelligent gateway provided according to an embodiment of the present application. Among them, the intelligent gateway 500 includes a memory 501 and a processor 502, and the memory 501 is used to store computer instructions executable by the processor. The memory 501 may include a high-speed random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.

[0118] The processor 502 implements each step of the gateway management method with the intelligent gateway as the execution subject in the above embodiment when executing computer instructions. For details, please refer to the relevant description in the above method embodiment. The processor 502 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0119] Optionally, the memory 501 can be independent or integrated with the processor 502. When the memory 501 is independently provided, the control device 500 further includes a bus for connecting the memory 501 and the processor 502. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0120] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When a processor executes the computer instructions, each step of the gateway management method in the above embodiment is implemented.

[0121] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the various steps in the gateway management method in the above embodiment.

[0122] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0123] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A gateway management method, It is characterized in that The method is applied to an intelligent gateway, the intelligent gateway includes a management module and a middleware module, and the method includes: Acquire a first instruction sent by a remote management device; the first instruction includes a target parameter; the target parameter is a parameter that can be configured by the intelligent gateway when the remote management device manages the intelligent gateway; When the management module cannot configure the target parameter, converting the first instruction into a second instruction supported by the middleware module; Controlling the middleware module to respond to the second instruction and generate corresponding first response information; The first response information is converted into second response information supported by the management module, and the second response information is sent to the remote management device.

2. The method according to claim 1, It is characterized in that When the management module cannot configure the target parameter, converting the first instruction into a second instruction supported by the middleware module specifically includes: When the management module cannot configure the target parameter, controlling the management module to call the instruction transparent transmission interface to forward the first instruction to the middleware module; The first instruction based on the first communication protocol is converted into a second instruction based on the second communication protocol; wherein the management module can process the instruction based on the first communication protocol, and the middleware module can process the instruction based on the second communication protocol.

3. The method according to claim 2, It is characterized in that Converting the first instruction based on the first communication protocol into a second instruction based on the second communication protocol specifically includes: When the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the TCP message header of the first instruction is replaced with the Json message header to generate a second instruction based on the Json protocol; The first instruction based on the TR069 protocol includes the TCP message header, and the second instruction based on the Json protocol includes the Json message header.

4. The method according to claim 1, It is characterized in that Converting the first response information into second response information supported by the management module specifically includes: The first response information based on the second communication protocol is converted into the second response information based on the first communication protocol; wherein the management module only processes the information based on the first communication protocol.

5. The method according to claim 4, It is characterized in that Converting the first response information based on the second communication protocol into the second response information based on the first communication protocol specifically includes: When the first communication protocol is the TR069 protocol and the second communication protocol is the Json protocol, the Json message header in the first response information is replaced with a TCP message header to generate a second response information based on the TR069 protocol.

6. The method according to claim 1, It is characterized in that The method further comprises: The instruction transparent transmission interface is called to send the second response information from the middleware module to the management module.

7. The method according to claim 1, It is characterized in that The first instruction includes a first configuration instruction; controlling the middleware module to respond to the second instruction and generate corresponding first response information specifically includes: After obtaining the second configuration instruction, the middleware module configures the corresponding business plug-in according to the configuration information in the second configuration instruction; the second configuration instruction is an instruction converted from the first configuration instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module.

8. The method according to claim 1, It is characterized in that The first instruction includes a first query instruction; controlling the middleware module to respond to the second instruction and generate corresponding first response information specifically includes: After obtaining the second query instruction, the middleware module queries the corresponding business plug-in according to the plug-in information in the second query instruction; the second query instruction is an instruction converted from the first query instruction and based on the second communication protocol; the business plug-in is a plug-in developed based on the middleware module.

9. A gateway management device, It is characterized in that The device is applied to an intelligent gateway, and the intelligent gateway includes a management module and a middleware module, including: An acquisition module, configured to acquire a first instruction sent by a remote management device; the first instruction includes a target parameter; the target parameter is a parameter that can be configured by the intelligent gateway when the remote management device manages the intelligent gateway; a processing module, configured to convert the first instruction into a second instruction supported by the middleware module when the management module cannot configure the target parameter; The processing module is further used to control the middleware module to respond to the second instruction and generate corresponding first response information; The processing module is further configured to convert the first response information into second response information supported by the management module, and send the second response information to the remote management device.

10. An intelligent gateway, It is characterized in that include: A processor and a memory communicatively connected to the processor; The memory stores computer instructions; When executing the computer instructions, the processor is used to implement the gateway management method according to any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, which are used to implement the gateway management method according to any one of claims 1 to 8 when executed by a processor.