CN115766897A - Gateway management method, device, intelligent gateway and storage medium - Google Patents
Gateway management method, device, intelligent gateway and storage medium Download PDFInfo
- Publication number
- CN115766897A CN115766897A CN202211395991.9A CN202211395991A CN115766897A CN 115766897 A CN115766897 A CN 115766897A CN 202211395991 A CN202211395991 A CN 202211395991A CN 115766897 A CN115766897 A CN 115766897A
- Authority
- CN
- China
- Prior art keywords
- instruction
- module
- management
- response information
- communication protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000007726 management method Methods 0.000 title claims abstract description 246
- 230000004044 response Effects 0.000 claims abstract description 96
- 238000004891 communication Methods 0.000 claims description 79
- 238000000034 method Methods 0.000 claims description 35
- 230000008569 process Effects 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 17
- 230000006870 function Effects 0.000 abstract description 11
- 238000012423 maintenance Methods 0.000 description 22
- 238000013519 translation Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 239000010410 layer Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000001427 coherent effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a gateway management method, a device, an intelligent gateway and a storage medium, after acquiring a first instruction which is sent by a remote management device and contains a target parameter, when a management module in the intelligent gateway cannot configure the target parameter, the intelligent gateway converts the first instruction into a second instruction which can be supported by a middleware module, after the middleware module responds to the second instruction to generate a corresponding first response instruction, the middleware module converts the first response instruction into a second response instruction which is supported by the management module and sends the second response instruction to the remote management device, so that functions which cannot be realized by the management module and functions developed by the middleware module are managed by the remote management module, the unified upgrade of the management module on the functions is not needed, and the flexibility and the efficiency of the remote management device for managing the intelligent gateway are improved.
Description
Technical Field
Embodiments of the present application relate to the field of communications technologies, and in particular, to a gateway management method and apparatus, an intelligent gateway, and a storage medium.
Background
A gateway based on a telecommunication network is an interface unit connecting a home network and an external network. Through the middleware installed on the gateway, a user can develop and use the value added service in the home gateway.
The existing gateway simultaneously supports two management modes, the first mode is a TR069 management mode deployed by the original provincial operator, a TR069 protocol is adopted by a remote management device deployed with a provincial fixed network terminal remote management system (RMS for short), and the remote management device manages the gateways in the provincial through a management module in a Linux core layer in the gateway, so that the unified management of the gateways in the provincial is realized by the remote management device, including the issuing management of broadband services, voice services and video services; the second is to use a novel HTTP + JSON management mode, a Json protocol is adopted by gateway operation management equipment provided with a gateway operation management system, centralized management of the gateway in the whole country is realized by the gateway operation management system through management of value added services developed based on a middleware module in the gateway, and the two management modes run in different software layers and bear different management functions.
As new services and new functionality required for gateways increase, the amount of services required in the management modules managed by the RMS system also increases. In the process of upgrading the management module, the management module is required to be upgraded, and the middleware module is also required to be upgraded, so that the reconstruction cost of the gateway is high, the period is long, the problems of inflexible management and low efficiency of remote management equipment on the intelligent gateway exist,
disclosure of Invention
The application provides a gateway management method, a gateway management device, an intelligent gateway and a storage medium, which are used for solving the technical problems of inflexibility and low efficiency of remote management equipment in management of the intelligent gateway.
In a first aspect, the present application provides a gateway management method, where the method is applied to an intelligent gateway, where the intelligent gateway includes a management module and a middleware module, and the method includes:
acquiring a first instruction sent by remote management equipment; the first instruction comprises a target parameter;
when the management module cannot configure the target parameters, converting the first instruction into a second instruction supported by the middleware module;
controlling the middleware module to respond to the second instruction to generate corresponding first response information;
and converting the first response information into second response information supported by the management module, and sending the second response information to the remote management equipment.
In the technical scheme, when the intelligent gateway obtains a first instruction which is sent by the remote management device and cannot be configured by the management module, the intelligent gateway converts the second instruction into a second instruction supported by the middleware module, so that the middleware module responds to a target parameter in the instruction which cannot be responded by the management module to configure and generate first response information, and after the intelligent gateway converts the first response information, the intelligent gateway generates and sends second response information to the remote management device, so that the intelligent gateway can be managed when the intelligent gateway cannot update a service corresponding to the first instruction in the management module, the flexibility of the remote management device in managing the intelligent gateway is improved, the time for uniformly updating the management module and the middleware module is saved, and the management efficiency of the remote management device on the intelligent gateway is improved.
Optionally, when the management module cannot configure the target parameter, converting the first instruction into a second instruction supported by the middleware module, specifically including:
when the management module cannot configure the target parameter, controlling the management module to call an instruction transparent transmission interface and forwarding the first instruction to the middleware module;
converting the 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.
Optionally, converting the first instruction based on the first communication protocol into a second instruction based on the second communication protocol includes:
when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, replacing a TCP message header of the first instruction with a Json message header to generate a second instruction based on the Json protocol;
the first instruction based on the TR069 protocol comprises the TCP message header, and the second instruction based on the Json protocol comprises the Json message header.
Optionally, converting the first response information into second response information supported by the management module specifically includes:
converting the first response information based on the second communication protocol into second response information based on the first communication protocol; wherein the management module processes only information based on the first communication protocol.
Optionally, the converting the first response information based on the second communication protocol into the second response information based on the first communication protocol specifically includes:
and when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, replacing a Json message header in the first response information with a TCP message header to generate second response information based on the TR069 protocol.
Optionally, the method further comprises:
and calling an instruction transparent transmission interface, and sending the second response information to the management module.
Optionally, the first instruction comprises a first configuration instruction; controlling the middleware module to respond to the second instruction to generate corresponding first response information, specifically comprising:
after the middleware module obtains a second configuration instruction, configuring a corresponding service plug-in according to configuration information in the second configuration instruction; the second configuration instruction is an instruction converted by the first configuration instruction and based on a second communication protocol; the service plug-in is a plug-in developed based on the middleware module.
Optionally the first instruction comprises a first query instruction; controlling the middleware module to respond to the second instruction to generate corresponding first response information, specifically comprising:
after the middleware module obtains a second query instruction, querying a corresponding service plug-in according to plug-in information in the second query instruction; the second query instruction is an instruction converted by the first query instruction and based on a second communication protocol; the service plug-in is a plug-in developed based on the middleware module.
In the above technical solution, after the intelligent gateway obtains the first instruction sent by the remote management device, when the management module cannot configure the target parameter in the first instruction, the management module may send the first instruction to the middleware module through the instruction transparent transmission interface, convert the first instruction into the second instruction that can be processed by the middleware module through protocol conversion of the translation module in the middleware module, and after the middleware module responds to the second instruction, the middleware module still converts the response information into the response information that can be processed by the management module and sent to the remote management device, so that the remote management device can still manage the intelligent gateway when the intelligent gateway fails to update the service corresponding to the first instruction in the management module, thereby improving the flexibility of the remote management device in managing the intelligent gateway, further saving the time for uniformly updating the management module and the middleware module, and improving the management efficiency of the remote management device in managing the intelligent gateway.
In a second aspect, the present application provides a gateway management apparatus, including:
the acquisition module is used for acquiring a first instruction sent by the remote management equipment; the first instruction comprises a target parameter;
the processing module is used for converting the first instruction into a second instruction supported by the middleware module when the target parameter cannot be configured by the management module;
the processing module is further used for controlling 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 a management module, and send the second response information to the remote management device.
In a third aspect, the present application provides an intelligent gateway, including: a processor and a memory communicatively coupled to the processor;
the memory stores computer instructions;
the processor, when executing the computer instructions, is configured to implement the gateway management method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, in which computer instructions are stored, and the computer instructions are executed by a processor to implement the gateway management method according to the first aspect.
The application provides a gateway management method, a device, an intelligent gateway and a storage medium, after acquiring a first instruction which is sent by a remote management device and contains a target parameter, when a management module in the intelligent gateway can not configure the target parameter, the intelligent gateway converts the first instruction into a second instruction which can be supported by a middleware module, after the middleware module responds to the second instruction to generate a corresponding first response instruction, the middleware module converts the first response instruction into a second response instruction which is supported by the management module and sends the second response instruction to the remote management device, so that the remote management module manages functions which can not be realized by the management module and functions developed by the middleware module, the management module does not need to be upgraded on the functions in a unified way, and the flexibility and the efficiency of the remote management device on the management of the intelligent gateway are improved.
Drawings
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 application.
Fig. 1 is a diagram of an application scenario of a gateway management method provided in the present application according to an exemplary embodiment;
fig. 2 is a flowchart illustrating a gateway management method according to an exemplary embodiment of the present application;
fig. 3 is a schematic flowchart of a gateway management method provided in the present application according to another exemplary embodiment;
fig. 4 is a schematic structural diagram of a gateway management apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an intelligent gateway according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The application provides a gateway management method, a gateway management device, an intelligent gateway and a storage medium, and aims to solve the technical problems that a remote management device is inflexible in management of the intelligent gateway and low in efficiency. The technical idea of the application is as follows: after the intelligent gateway obtains the first instruction sent by the remote management device and when a management module in the intelligent gateway cannot configure a target parameter in the first instruction, the first instruction is converted into a second instruction which can be supported by the middleware module, the middleware module responds to the second instruction to generate a first response instruction, the first response instruction is converted into a second response instruction which is 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, functions which cannot be realized by the management module and functions developed by the middleware module are managed by the remote management module, the functions of the management module are not required to be upgraded uniformly, and the flexibility and the efficiency of the management of the intelligent gateway by the remote management device are improved.
Fig. 1 is an application scenario diagram of a gateway management method provided by the present application according to an exemplary embodiment, as shown in fig. 1, the application scenario diagram includes: the intelligent gateway 10, the gateway operation management device 11, the remote management device 12, the user terminal 13, the first operation and maintenance terminal 14, and the second operation and maintenance terminal 15, wherein the intelligent gateway 10 includes a Linux system, the Linux system includes a Linux kernel unit 101, a middleware module 102, and a service plug-in 103, 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 in communication connection with a gateway operation management device 11, a remote management device 12, a first operation and maintenance terminal 14 and a second operation and maintenance terminal 15, and the gateway operation management device 11 is in communication connection with a user terminal 13.
In the above intelligent gateway 10, the middleware module 102 and the service plug-in 103 call and transmit information through a first interface, the Linux kernel unit 101 and the middleware module 102 are communicatively connected through a 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 call and information transmission between the management module 1011 and the translation module 1021. In an embodiment, the first Interface is a Coherent Accelerator Processor Interface (CAPI Interface for short), the second Interface 104 is a Data Bus (DBUS) Interface, the management module 1011 is a TR069 management module, the instruction pass-through Interface 1041 is a TR069 pass-through Interface, and the middleware module 102 is an OpenWRT middleware module or an OSGI middleware module.
The gateway operation management device 11 may manage each intelligent gateway deployed nationwide, and more specifically, the gateway operation management device 11 is installed with a gateway operation management system, and the gateway operation management device 11 implements management of the intelligent gateway 10 through information interaction based on the HTTP + JSON + XML management protocol between the gateway operation management system and the middleware module 102 in the intelligent gateway 10, so as to implement issuing and configuration of value-added services in the intelligent gateway 10, that is, 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 program corresponding to the gateway operation management system in the gateway operation management device 11, and the user terminal 13 can implement management and configuration of the middleware module 102 in the intelligent gateway 10 through the application program.
The middleware module 102 is also managed by the first operation and maintenance terminal 14 and/or the second operation and maintenance terminal 15. During the process of managing and maintaining the intelligent gateway 10, the operation and maintenance personnel can maintain the service 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. The first operation and maintenance terminal 14 is installed with an operation and maintenance application program for the middleware module 102, the second operation and maintenance terminal 15 is installed with a browser operation and maintenance interface for the middleware module 102, and the operation and maintenance personnel can implement the operation and maintenance of the middleware module 102 in the intelligent gateway through the operation and maintenance application program in the first operation and maintenance terminal 14 or the browser operation and maintenance interface in the second operation and maintenance terminal 15.
The intelligent gateway 10 is also managed by the remote management device 12. More specifically, the remote management device is provided with an RMS, and the remote management device 12 implements management of the Linux kernel unit 101 in each intelligent gateway 10 in the province through information interaction between the RMS and the management module 1011 based on the TR069 protocol. The Linux kernel unit 101 is configured to implement basic functions of a gateway, including but not limited to Dynamic Host Configuration Protocol (DHCP) service, point-to-Point Protocol (PPP) service, network Address Translation (NAT) service, and the like.
The remote management device 12 can implement query, broadband delivery, voice service, and service configuration of an interactive network Television (IPTV) service for the gateway management module 1011 in each intelligent gateway 10 through the RMS. When the management module 1011 performs service upgrade, the middleware module 102 also needs to follow the management module 1011 to perform corresponding upgrade operation, but the service upgrade of the middleware module 102 does not need the management module 1011 to follow the upgrade.
During the service upgrade process of the intelligent gateway 10, the operation and maintenance personnel may configure a new service plug-in for the intelligent gateway 10 or update the service 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 to replace the service to be developed in the management module 1011. When the remote management device 12 manages or queries the service, the device sends a first instruction to the management module 1011 in the intelligent gateway 10, where the first instruction includes a target parameter that cannot be configured by the management module 1011, and the management module 1011 can send the first instruction to the translation module 1021 by calling the instruction transparent transmission interface 1041, so as to implement conversion from the first instruction based on the TR069 protocol to a second instruction based on the Json protocol. The middleware module 102 may configure a target parameter in the second instruction, respond to the second instruction, and generate corresponding first response information. The middleware module 1021 converts the first response information into second response information supported by the management module 1011 by using the translation module 1021, and sends the second response information to the remote management device 12, so that the remote management device manages services which are not developed in the management module in the intelligent gateway, the flexibility of the remote management device in managing the intelligent gateway is improved, the complexity of upgrading the intelligent gateway is reduced, and the experience of a user using the intelligent gateway is improved.
Based on the above application scenarios, some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The features of the embodiments and examples described below may be combined with each other without conflict between the embodiments. In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 2 is a schematic flowchart of a gateway management method according to an exemplary embodiment of the present application, and as shown in fig. 2, the gateway management method includes:
s201, the remote management device sends a first instruction to the intelligent gateway.
The remote management device is a device that applies RMS.
The intelligent gateway is a device for network interconnection and protocol conversion. The intelligent gateway comprises a management module and a middleware module.
The remote management equipment carries out information interaction with a management module in the intelligent gateway based on the first communication protocol so as to realize the management of the management module. The first instruction is an instruction based on a first communication protocol.
The first instruction comprises a target parameter, wherein the target parameter is a parameter which can be configured by the intelligent gateway when the remote management device manages the intelligent gateway.
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.
The fact that the management module cannot configure the target parameter means that the management module does not define a calling specification of the target parameter, a service related to the target parameter is a service developed based on the middleware module, the management module cannot configure the target parameter, and the middleware module is required to configure the target parameter, so that the intelligent gateway needs to convert the first instruction into a second instruction supported by the middleware module.
S203, the intelligent gateway control middleware module responds to the second instruction and generates corresponding first response information.
The second instruction processed by the middleware module is an instruction based on a second communication protocol.
And after the middleware module obtains the second instruction, responding to the instruction, and generating first response information after performing corresponding operation according to the target parameter.
S204, the intelligent gateway converts the first response information into second response information supported by the management module.
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, the first response information needs to be converted into second response information based on the first communication protocol and supported by the remote management device.
S205, the intelligent gateway sends second response information to the remote management equipment.
In the technical scheme, when the intelligent gateway obtains a first instruction which is sent by the remote management device and cannot be configured by the management module, the second instruction is converted into a second instruction supported by the middleware module, so that the middleware module responds to a target parameter in the instruction which cannot be responded by the management module to configure and generate first response information, and after the first response information is converted by the intelligent gateway, the second response information is generated and sent to the remote management device, so that the intelligent gateway can still be managed by the remote management device when the intelligent gateway cannot update a service corresponding to the first instruction in the management module, the flexibility of the remote management device in managing the intelligent gateway is improved, the time for uniformly updating the management module and the middleware module is saved, and the management efficiency of the remote management device on the intelligent gateway is improved.
Fig. 3 is a flowchart illustrating a gateway management method according to another exemplary embodiment of the present application. As shown in fig. 3, the method includes:
s301, the remote management device sends a first instruction to the intelligent gateway.
The intelligent gateway comprises a management module and a middleware module.
The management module may process instructions based on a first communication protocol and the intermediate block module may 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.
The first instruction comprises target parameters related to the management operation of the remote management device on the intelligent gateway. For example: query instructions, configuration instructions.
In an embodiment, the first communication protocol is a TR069 protocol, the second communication protocol is a Json protocol, and the target parameter of the first protocol based on the TR069 protocol is a parameter of Wifi6 specification (Wifi 6 Standards) supported by the gateway.
And S302, when the management module cannot configure the target parameters, the intelligent gateway controls the management module to call an instruction transparent transmission interface and forward the first instruction to the middleware module.
The command transparent transmission interface is an interface for the management module to perform data transmission and information interaction with the middleware module by using the bottom layer Linux kernel unit, and is an interface additionally arranged in a standard API interface between the existing middleware module and the bottom layer Linux kernel unit.
When the management module cannot configure the target parameters, the management module calls the instruction transparent 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 a translation module in the middleware module according to the target address of the middleware module, and in the sending process of the first instruction, the information related to the first instruction further comprises sending time.
S303, the intelligent gateway converts the first instruction of the first communication protocol into a second instruction based on a second communication protocol.
The management module may process instructions based on a first communication protocol and the intermediate block module may process instructions based on a second communication protocol.
In an embodiment, when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, the intelligent gateway replaces a TCP header of the first instruction with a Json header to generate a second instruction based on the Json protocol. The first instruction based on the TR069 protocol comprises a TCP message header, and the second instruction based on the Json protocol comprises a Json message header. The format of the parameter values based on the TR069 protocol is WiFi6Standards, and the format of the parameter values based on the Json protocol is WiFiSupported.
S304, the intelligent gateway control middleware module responds to the second instruction and generates corresponding first response information.
The middleware module acquires a target parameter in the second instruction, executes corresponding operation according to the target parameter, and generates corresponding first response information according to an operation result.
In an embodiment, the first instruction includes a first configuration instruction, and after the middleware module obtains the second configuration instruction, the intelligent gateway configures the corresponding service plug-in according to the configuration information in the second configuration instruction; the second configuration instruction is converted by the first configuration instruction and is based on a second communication protocol; the service plug-in is a plug-in developed based on the middleware module.
In another embodiment, the first instruction comprises a first query instruction, and after the middleware module obtains a second query instruction, the intelligent gateway queries the corresponding service 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 a second communication protocol; the service plug-in is a plug-in developed based on the middleware module.
S305, the intelligent gateway converts the first response information based on the second communication protocol into second response information based on the first communication protocol.
Wherein the management module processes only information based on the first communication protocol. The remote management device receives only information based on the first communication protocol.
When the intelligent gateway responds to the first instruction of the remote management device, the middleware module is required to convert the first response information into second response information based on the first communication protocol by using the translation module.
In an embodiment, when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, the Json header in the first response information is replaced with a TCP header, and second response information based on the TR069 protocol is generated.
S306, the intelligent gateway calls the instruction transparent transmission interface and sends the second response information to the management module from the middleware module.
More specifically, after generating the second response information, the middleware module sends the second response information to the management module by calling the instruction pass-through interface, so that the management module responds to the remote management device.
In one embodiment, the format of the parameter value of the second response message is WiFi6Standards, and the wireless rate thereof supports Ax1800/Ax3000.
S307, the intelligent gateway sends second response information to the remote management equipment.
In the above technical solution, after the intelligent gateway obtains the first instruction sent by the remote management device, when the management module cannot configure the target parameter in the first instruction, the management module may send the first instruction to the middleware module through the instruction transparent transmission interface, convert the first instruction into the second instruction that can be processed by the middleware module through protocol conversion of the translation module in the middleware module, and after the middleware module responds to the second instruction, the middleware module still converts the response information into the response information that can be processed by the management module and sent to the remote management device, so that the remote management device can still manage the intelligent gateway when the intelligent gateway fails to update the service corresponding to the first instruction in the management module, thereby improving the flexibility of the remote management device in managing the intelligent gateway, further saving the time for uniformly updating the management module and the middleware module, and improving the management efficiency of the remote management device in managing the intelligent gateway.
Fig. 4 is a schematic structural diagram of a gateway management apparatus 400 provided in the present application according to an embodiment, where the gateway management apparatus 400 includes an obtaining module 401 and a processing module 402, where,
an obtaining module 401, configured to obtain a first instruction sent by a remote management device; the first instruction includes a target parameter.
The processing module 402 is 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 402 is further configured to control the middleware module to respond to the second instruction and generate corresponding first response information;
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.
In an embodiment, the processing module 402 is specifically configured to:
when the management module can not configure the target parameters, the control management module calls an instruction transparent transmission interface and forwards the first instruction to the middleware module;
converting 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.
In an embodiment, the processing module 402 is specifically configured to:
when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, replacing a TCP message header of the first instruction with a Json message header to generate a second instruction based on the Json protocol;
the first instruction based on the TR069 protocol comprises a TCP message header, and the second instruction based on the Json protocol comprises a Json message header.
In an embodiment, the processing module 402 is specifically configured to:
converting the first response information based on the second communication protocol into second response information based on the first communication protocol; wherein the management module processes only information based on the first communication protocol.
In an embodiment, the processing module 402 is specifically configured to:
and when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, replacing a Json message header in the first response information with a TCP message header to generate second response information based on the TR069 protocol.
In an embodiment, the processing module 402 is further configured to:
and calling the instruction transparent transmission interface, and sending the second response information to the management module from the middleware module.
In an embodiment, the processing module 402 is specifically configured to:
after the middleware module obtains the second configuration instruction, configuring the corresponding service plug-in according to the configuration information in the second configuration instruction; the second configuration instruction is converted by the first configuration instruction and is based on a second communication protocol; the service plug-in is a plug-in developed based on the middleware module; the first instructions include first configuration instructions.
In an embodiment, the processing module 402 is specifically configured to:
after the middleware module obtains a second query instruction, querying a corresponding service plug-in according to plug-in information in the second query instruction; the second query instruction is an instruction converted from the first query instruction and based on a second communication protocol; the service plug-in is a plug-in developed based on the middleware module; the first instruction includes a first query instruction.
Fig. 5 is a schematic structural diagram of an intelligent gateway according to an embodiment of the present application. The intelligent gateway 500 includes a memory 501 and a processor 502, wherein the memory 501 is used for storing computer instructions executable by the processor. The Memory 501 may include a Random Access Memory (RAM), a Non-Volatile Memory (NVM), at least one disk Memory, a usb disk, a removable hard disk, a read-only Memory, a magnetic disk or an optical disk.
The processor 502, when executing the computer instructions, implements the steps of the gateway management method with the intelligent gateway as the execution subject in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above. The Processor 502 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Alternatively, the memory 501 may be separate or integrated with the processor 502. When the memory 501 is provided separately, the control device 500 further includes a bus for connecting the memory 501 and the processor 502. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The embodiment of the present application further provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when a processor executes the computer instructions, the steps in the gateway management method in the foregoing embodiments are implemented.
The embodiment of the present application further provides a computer program product, which includes computer instructions, and the computer instructions, when executed by a processor, implement the steps in the gateway management method in the foregoing embodiment.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements 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 application is limited only by the appended claims.
Claims (11)
1. A gateway management method is applied to an intelligent gateway, the intelligent gateway comprises a management module and a middleware module, and the method comprises the following steps:
acquiring a first instruction sent by remote management equipment; the first instruction comprises a target parameter;
when the management module cannot configure the target parameters, converting the first instruction into a second instruction supported by the middleware module;
controlling the middleware module to respond to the second instruction to generate corresponding first response information;
and converting the first response information into second response information supported by the management module, and sending the second response information to the remote management equipment.
2. The method according to claim 1, wherein when the management module cannot configure the target parameter, converting the first instruction into a second instruction supported by the middleware module, specifically comprising:
when the management module cannot configure the target parameters, controlling the management module to call an instruction transparent transmission interface and forwarding the first instruction to the middleware module;
converting the 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.
3. The method according to claim 2, wherein converting the first instruction based on the first communication protocol into a second instruction based on the second communication protocol includes:
when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, replacing a TCP message header of the first instruction with a Json message header to generate a second instruction based on the Json protocol;
the first instruction based on the TR069 protocol comprises the TCP message header, and the second instruction based on the Json protocol comprises the Json message header.
4. The method according to claim 1, wherein converting the first response message into a second response message supported by the management module includes:
converting the first response information based on the second communication protocol into second response information based on the first communication protocol; wherein the management module processes only information based on the first communication protocol.
5. The method according to claim 4, wherein converting the first response information based on the second communication protocol into the second response information based on the first communication protocol includes:
and when the first communication protocol is a TR069 protocol and the second communication protocol is a Json protocol, replacing a Json message header in the first response information with a TCP message header to generate second response information based on the TR069 protocol.
6. The method of claim 1, further comprising:
and calling an instruction transparent transmission interface, and sending the second response information from the middleware module to the management module.
7. The method of claim 1, wherein the first instruction comprises a first configuration instruction; controlling the middleware module to respond to the second instruction to generate corresponding first response information, specifically comprising:
after the middleware module obtains a second configuration instruction, configuring a corresponding service plug-in according to configuration information in the second configuration instruction; the second configuration instruction is an instruction converted by the first configuration instruction and based on a second communication protocol; the service plug-in is a plug-in developed based on the middleware module.
8. The method of claim 1, wherein the first instruction comprises a first query instruction; controlling the middleware module to respond to the second instruction to generate corresponding first response information, specifically comprising:
after the middleware module obtains a second query instruction, querying a corresponding service plug-in according to plug-in information in the second query instruction; the second query instruction is an instruction converted by the first query instruction and based on a second communication protocol; the service plug-in is a plug-in developed based on the middleware module.
9. A gateway management apparatus, comprising:
the acquisition module is used for acquiring a first instruction sent by the remote management equipment; the first instruction comprises a target parameter;
the processing module is used for converting the first instruction into a second instruction supported by the middleware module when the target parameter cannot be configured by the management module;
the processing module is further used for controlling 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 a management module, and send the second response information to the remote management device.
10. An intelligent gateway, comprising: a processor and a memory communicatively coupled to the processor;
the memory stores computer instructions;
the processor, when executing the computer instructions, is configured to implement the gateway management method of any of claims 1 to 8.
11. A computer-readable storage medium having stored thereon computer instructions for implementing the gateway management method according to any one of claims 1 to 8 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211395991.9A CN115766897B (en) | 2022-11-09 | 2022-11-09 | Gateway management method and device, intelligent gateway and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211395991.9A CN115766897B (en) | 2022-11-09 | 2022-11-09 | Gateway management method and device, intelligent gateway and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115766897A true CN115766897A (en) | 2023-03-07 |
CN115766897B CN115766897B (en) | 2024-08-27 |
Family
ID=85368433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211395991.9A Active CN115766897B (en) | 2022-11-09 | 2022-11-09 | Gateway management method and device, intelligent gateway and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115766897B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404703A (en) * | 2008-11-18 | 2009-04-08 | 中国电信股份有限公司 | Voice gateway and method for implementing voice gateway telemanagement |
CN101521600A (en) * | 2009-04-03 | 2009-09-02 | 中国电信股份有限公司 | Service control method in gateway equipment and gateway equipment |
EP2159961A1 (en) * | 2008-09-01 | 2010-03-03 | Alcatel, Lucent | Method, device and module for optimising the remote management of home network devices |
CN101667926A (en) * | 2008-09-02 | 2010-03-10 | 中兴通讯股份有限公司 | Remote management method and remote management system of terminal equipment and agent equipment |
US20100272057A1 (en) * | 2008-04-30 | 2010-10-28 | Chen Shuhua | Method, apparatus, and system for managing mobile communication devices |
CN102201925A (en) * | 2010-03-23 | 2011-09-28 | 华为终端有限公司 | Management method of terminal equipment and agent equipment |
CN103491058A (en) * | 2012-06-12 | 2014-01-01 | 深圳市共进电子股份有限公司 | TR069 and UPnP protocol conversion method and home network terminal management method and system |
EP2704357A1 (en) * | 2012-08-31 | 2014-03-05 | Alcatel Lucent | Configuring a gateway device |
CN104038414A (en) * | 2013-08-21 | 2014-09-10 | 江南大学 | Multiprotocol intelligent household gateway apparatus and system thereof |
CN104869054A (en) * | 2015-05-08 | 2015-08-26 | 烽火通信科技股份有限公司 | Home gateway for controlling smart home and implement method thereof |
CN111176674A (en) * | 2018-11-12 | 2020-05-19 | 中移(杭州)信息技术有限公司 | OSGI plug-in upgrading method and device, electronic equipment and storage medium |
FR3106462A1 (en) * | 2020-01-20 | 2021-07-23 | Orange | Remote administration technique of a device by an administration server |
CN113965444A (en) * | 2020-07-01 | 2022-01-21 | 中国联合网络通信集团有限公司 | Remote recovery method and device for home gateway |
-
2022
- 2022-11-09 CN CN202211395991.9A patent/CN115766897B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100272057A1 (en) * | 2008-04-30 | 2010-10-28 | Chen Shuhua | Method, apparatus, and system for managing mobile communication devices |
EP2159961A1 (en) * | 2008-09-01 | 2010-03-03 | Alcatel, Lucent | Method, device and module for optimising the remote management of home network devices |
CN101667926A (en) * | 2008-09-02 | 2010-03-10 | 中兴通讯股份有限公司 | Remote management method and remote management system of terminal equipment and agent equipment |
CN101404703A (en) * | 2008-11-18 | 2009-04-08 | 中国电信股份有限公司 | Voice gateway and method for implementing voice gateway telemanagement |
CN101521600A (en) * | 2009-04-03 | 2009-09-02 | 中国电信股份有限公司 | Service control method in gateway equipment and gateway equipment |
CN102201925A (en) * | 2010-03-23 | 2011-09-28 | 华为终端有限公司 | Management method of terminal equipment and agent equipment |
CN103491058A (en) * | 2012-06-12 | 2014-01-01 | 深圳市共进电子股份有限公司 | TR069 and UPnP protocol conversion method and home network terminal management method and system |
EP2704357A1 (en) * | 2012-08-31 | 2014-03-05 | Alcatel Lucent | Configuring a gateway device |
CN104038414A (en) * | 2013-08-21 | 2014-09-10 | 江南大学 | Multiprotocol intelligent household gateway apparatus and system thereof |
CN104869054A (en) * | 2015-05-08 | 2015-08-26 | 烽火通信科技股份有限公司 | Home gateway for controlling smart home and implement method thereof |
CN111176674A (en) * | 2018-11-12 | 2020-05-19 | 中移(杭州)信息技术有限公司 | OSGI plug-in upgrading method and device, electronic equipment and storage medium |
FR3106462A1 (en) * | 2020-01-20 | 2021-07-23 | Orange | Remote administration technique of a device by an administration server |
CN113965444A (en) * | 2020-07-01 | 2022-01-21 | 中国联合网络通信集团有限公司 | Remote recovery method and device for home gateway |
Non-Patent Citations (1)
Title |
---|
丁敬文: "基于OSGI的家庭网关远程管理系统的研究与实现", 《中国优秀硕士学位论文全文数据库》, 15 December 2011 (2011-12-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN115766897B (en) | 2024-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114375069B (en) | Communication method and network equipment | |
CN101989913B (en) | Method and device for enabling network equipment in local area network to acquire service content | |
US9652261B2 (en) | Data card and communication method and system | |
CN105471686A (en) | Terminal control method, terminal control apparatus and system | |
CN111880446A (en) | Control instruction sending method and control instruction receiving method | |
CN110995647A (en) | Protocol conversion method, device, equipment, storage medium and system | |
CN102185887B (en) | File downloading method and system for terminal | |
CN105207863A (en) | Method for controlling heterogeneous intelligent home electric appliances, cloud platform and home gateway | |
KR102084286B1 (en) | Solution for distributed application life-cycle management | |
KR102233152B1 (en) | Ocpp . | |
CN106230977A (en) | A kind of client functionality loading method, system, client and service end | |
CN104793998B (en) | Terminal system resource management method and device | |
CN105338089A (en) | Remote content sharing method, server and terminal | |
CN105045110B (en) | Method and device for forwarding household appliance service call request | |
CN111787097B (en) | Interface message conversion configuration method, interface message conversion method and equipment | |
CN104426816A (en) | Virtual machine communication method and device | |
CN115766897B (en) | Gateway management method and device, intelligent gateway and storage medium | |
CN112083938B (en) | Vehicle and method for managing user setting menu thereof | |
CN106936937B (en) | Method and device for realizing universal interface for internet service interaction | |
CN113055723A (en) | Version debugging and upgrading method, device, equipment and storage medium | |
CN115982493A (en) | Page jump method and device, storage medium and electronic device | |
CN112714341A (en) | Information acquisition method, cloud set top box system, entity set top box and storage medium | |
CN110149679A (en) | device discovery method, device and storage medium | |
CN102137079B (en) | Method and device for developing service for RPC (Remote Procedure Call) | |
CN111554291B (en) | Equipment control method, voice input terminal, voice platform and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |