WO2016145747A1 - 智能网关的功能插件管理方法、客户端及*** - Google Patents
智能网关的功能插件管理方法、客户端及*** Download PDFInfo
- Publication number
- WO2016145747A1 WO2016145747A1 PCT/CN2015/082232 CN2015082232W WO2016145747A1 WO 2016145747 A1 WO2016145747 A1 WO 2016145747A1 CN 2015082232 W CN2015082232 W CN 2015082232W WO 2016145747 A1 WO2016145747 A1 WO 2016145747A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- plug
- interface
- smart gateway
- client
- information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
Definitions
- the present invention relates to the field of network technologies, and in particular, to a method, a client, and a system for managing a function plug-in of an intelligent gateway.
- Decentralized management A third-party application (APP) client involving multiple connected devices does not have a unified management interface and is not easy to manage.
- APP third-party application
- Unified management The platform is set up by the operator.
- the ordinary home users have limited access to the function plug-in. They can only install and operate the function plug-ins specified by the operator. They cannot take advantage of the intelligent gateway and the home interconnection device, and the intelligent gateway must be connected through the Internet.
- the plugin can be managed by entering the platform.
- the embodiments of the present invention provide a function plug-in management method, a client, and a system for an intelligent gateway, so that an ordinary home user of the smart gateway can be separated from the operator network and the platform, and the function plug-in of the smart gateway is conveniently managed.
- the client displays the plugin management interface
- the installable plug-in information of the smart gateway and the information of the installed plug-in are displayed on the plug-in management interface.
- the step of acquiring installable plug-in information of the smart gateway includes:
- the client traverses the local plug-in storage directory and the plug-in configuration file to obtain the installable plug-in information of the smart gateway, or the client communicates with the external network server, and obtains the smart gateway from the external network server.
- the plugin information is installed; the installable plugin information includes a plugin icon, a plugin name, a download path, and/or a version number.
- the method further includes:
- the client in response to the user clicking an installable plug-in icon on the plug-in management interface, displaying a detailed information interface of the installable plug-in according to the installable plug-in information;
- the method further includes:
- the method further includes:
- the startup link of the third-party application is provided on the detailed information interface of the installed plug-in.
- the embodiment of the invention further provides a function plug-in management client of the intelligent gateway, comprising:
- the startup module is set to display a plugin management interface after the client application is started
- Obtaining a module configured to obtain the installable plug-in information of the smart gateway; and calling the installed plug-in list interface on the smart gateway to obtain information about the installed plug-in of the smart gateway;
- the plug-in management module is configured to display the installable plug-in information of the smart gateway and the information of the installed plug-in on the plug-in management interface.
- the obtaining module is further configured to traverse the local plug-in storage directory and the plug-in configuration file, obtain the installable plug-in information of the smart gateway, or communicate with the external network server, and obtain the smart from the external network server.
- the installable plugin information of the gateway; the installable plugin information includes a plugin icon, a plugin name, a download path, and/or a version number.
- the plug-in management module is further configured to: in response to a user clicking an installable plug-in icon on the plug-in management interface, displaying a detailed information interface of the installable plug-in according to the installable plug-in information; responding to the user An installation instruction on the detailed information interface of the installable plug-in, sending a plug-in installation interface message to the smart gateway, where the smart gateway downloads a package installation path according to the plug-in installation interface message, from the client End or the external network server downloads the plug-in installation package; receives and displays an installation success message returned after the smart gateway download and installation is completed, and displays an operable related interface on the plug-in detailed information interface, and the corresponding installed The icon for the plugin is moved to the list of installed plugins.
- the plug-in management module is further configured to: in response to the user clicking an installed plug-in icon on the plug-in management interface, displaying a detailed information interface of the installed plug-in according to the installed plug-in information,
- the plug-in stop/start, the plug-in uninstallation, and the plug-in configuration operation interface and/or the plug-in upgrade operation interface are provided on the detailed information interface of the installed plug-in for the user to operate; in response to the corresponding operation of the user on the detailed information interface of the installable plug-in
- the instruction sends a corresponding plug-in management interface message to the smart gateway, and the smart gateway performs corresponding operations; receives an operation result fed back by the smart gateway, and displays an operation success or failure message according to the operation result.
- the plug-in management module is further configured to provide a startup link of the third-party application on a detailed information interface of the installed plug-in if a plug-in has a corresponding third-party application installed on the smart gateway.
- the embodiment of the invention further provides a function plug-in management system of the intelligent gateway, comprising: the foregoing client and an intelligent gateway communicating with the client, wherein:
- the smart gateway is configured to provide an installed plug-in list interface to the client, where the client invokes to obtain information about the installed plug-in of the smart gateway.
- the smart gateway is further configured to receive a plug-in installation interface message sent by the client, and download the path from the client or the external network server according to the plug-in installation package download path provided by the plug-in installation interface message.
- a plug-in installation package after the installation of the plug-in installation package is completed, returning an installation success message to the client; or receiving a plug-in management interface message sent by the client, performing corresponding operations according to the plug-in management interface message, and The client feedback operation result.
- the client displays the plug-in management interface after the application is started; obtains the installable plug-in information of the smart gateway; and invokes the installed on the smart gateway a plug-in list interface, which acquires information about the installed plug-in of the smart gateway; displays the installable plug-in information of the smart gateway and the information of the installed plug-in on the plug-in management interface, so as to facilitate localization of the function plug-in of the smart gateway Management, so that the ordinary home users of the intelligent gateway can centrally manage the function plug-ins from the carrier network and the platform.
- the present invention can be separated from the Internet and the platform environment, and centrally manage the function plug-ins of the intelligent gateway, fully utilizing the advantages of the smart gateway and the home interconnection device, and the home user can freely install the function plug-in file. Copy to the unified storage directory of the mobile phone, and perform unified installation and management, which is not restricted by the platform. At the same time, it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path. After the plug-in is installed, the mobile APP client can manage the function plug-in without having to access the platform, and the flexibility of the smart gateway function plug-in management is improved.
- FIG. 1 is a schematic structural diagram of a system involved in an embodiment of the present invention
- FIG. 2 is an interaction diagram of a mobile phone APP client and a smart gateway plug-in management interface according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart of a first embodiment of a method for managing a function plug-in of an intelligent gateway
- FIG. 4 is a schematic diagram of an interaction process between a client and an intelligent gateway in the embodiment shown in FIG. 3;
- FIG. 5 is a schematic flowchart of a second embodiment of a method for managing a function plug-in of an intelligent gateway
- FIG. 6 is a schematic diagram of an interaction process between a client and an intelligent gateway in the embodiment shown in FIG. 5;
- FIG. 7 is a schematic flowchart of a third embodiment of a method for managing a function plug-in of a smart gateway
- FIG. 8 is a schematic diagram of an interaction process between a client and an intelligent gateway in the embodiment shown in FIG. 7;
- FIG. 9 is a schematic diagram of functional modules of a preferred embodiment of a function plug-in management client of the intelligent gateway of the present invention.
- the client displays the plug-in management interface after the application is started; obtains the installable plug-in information of the smart gateway; invokes the installed plug-in list interface on the smart gateway to obtain the smart gateway's Information about installing the plug-in; displaying the installable plug-in information of the smart gateway and the information of the installed plug-in on the plug-in management interface, which can be separated from the Internet and the platform environment, centrally manage the function plug-in of the intelligent gateway, and fully utilize the intelligent gateway
- the home user can freely copy the function plug-in installation file to the unified storage directory of the mobile phone, perform unified installation management, is not restricted by the platform, and can be used for the operator to build a unified plug-in platform.
- the system architecture involved in the solution of the embodiment of the present invention includes an intelligent gateway and a mobile terminal application client.
- the mobile phone APP management module is added to the smart gateway, and the corresponding mobile APP client is provided.
- the mobile APP client can access the smart gateway through the wireless local area network (WIFI) or other local area network (LAN) side connection mode, and communicate with the mobile APP management module of the smart gateway to implement centralized management of the function plug-in.
- WIFI wireless local area network
- LAN local area network
- 1 is an interactive interface between the mobile APP client and the smart gateway mobile APP management module, and the interface can implement related management operations of the function plug-in of the mobile APP client, including but not limited to plug-in installation/upgrade, Plugin uninstallation, plugin run, plugin stop, get installed plugin list, plugin configuration, etc.
- FIG. 2 is an interaction diagram of a mobile phone APP client and a smart gateway plug-in management interface.
- the flow in Figure 2 illustrates that the mobile APP client can connect to the intelligent gateway through the New Transmission Control Protocol (TCP)/User Datagram Protocol (UDP), and obtain the corresponding operation result by calling the relevant plug-in management interface, and close. TCP/UDP connection.
- TCP New Transmission Control Protocol
- UDP User Datagram Protocol
- a first embodiment of the present invention provides a method for managing a function plug-in of an intelligent gateway, including:
- Step S101 the client displays a plug-in management interface after the application is started
- This embodiment describes the working principle of the function plug-in management after the APP client is started.
- the user starts the APP client and enters the plug-in management main interface.
- Step S102 Acquire the installable plug-in information of the smart gateway; call the installed plug-in list interface on the smart gateway, and obtain information about the installed plug-in of the smart gateway;
- the client may actively traverse the local plug-in storage directory and the plug-in configuration file to obtain the installable plug-in information of the smart gateway, including the plug-in icon, the plug-in name, and the version. Number, download path, detailed description information, etc.
- the client communicates with an external network server, and obtains installable plug-in information of the smart gateway from the external network server.
- Step S103 displaying the installable plug-in information of the smart gateway and the information of the installed plug-in on the plug-in management interface.
- the plug-in icon and plug-in name information that the smart gateway can install/install are correctly displayed on the plug-in management main interface.
- the interaction process between the client and the smart gateway in this embodiment is shown in FIG. 4 .
- the common home user of the smart gateway can be centrally managed by the function plug-in locally from the carrier network and the platform.
- the present invention can centrally manage the function plug-ins of the intelligent gateway from the Internet and the platform environment, and fully utilize the advantages of the smart gateway and the home interconnection device, and the home user can freely copy the function plug-in installation file to
- the unified storage directory of the mobile phone is used for unified installation and management, and is not restricted by the platform. At the same time, it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path.
- the mobile APP client can manage the function plug-in without having to access the platform, thereby improving the flexibility of the intelligent gateway function plug-in management.
- a second embodiment of the present invention provides a method for managing a function plug-in of an intelligent gateway.
- the method further includes:
- Step S104 the client responds to the user's instruction to install the plug-in icon on the plug-in management interface, and displays the detailed information interface of the installable plug-in according to the installable plug-in information;
- Step S105 in response to the installation instruction of the user on the detailed information interface of the installable plug-in, sending a plug-in installation interface message to the smart gateway, and the plug-in installation package download path provided by the smart gateway according to the plug-in installation interface message Downloading a plug-in installation package from the client or the external network server;
- Step S106 receiving and displaying an installation success message returned after the smart gateway download and installation is completed, displaying an operable related interface on the plug-in detailed information interface, and moving the icon of the corresponding installed plug-in to the installed plug-in list. in.
- the solution of the embodiment further includes: in response to the user clicking the installable plug-in icon on the plug-in management interface, the process of installing and managing the function plug-in is implemented.
- FIG. 6 is a schematic diagram of the interaction process between the client and the smart gateway in this embodiment.
- the client displays the version number and detailed information of the installable plug-in according to the previously obtained information, and provides installation. Operation interface for user operation.
- the client sends a plug-in installation interface message to the smart gateway, which needs to include the basic information of the plug-in and the Hypertext Transfer Protocol (HTTP)/File Transfer Protocol (FTP) download path of the plug-in installation package. And open the local HTTP/FTP service on the APP client side.
- HTTP Hypertext Transfer Protocol
- FTP File Transfer Protocol
- the APP client should obtain the basic information of the plug-in and the HTTP/FTP download path of the plug-in installation package through the corresponding message interface, and the subsequent smart gateway downloads the plug-in installation from the server side. package.
- the smart gateway After the smart gateway receives the plug-in installation interface message, it downloads the plug-in installation package to the APP client side through the HTTP/FTP protocol. After the download is complete, install directly to the smart gateway and return the successful installation result to the APP client.
- the APP client After receiving the result, the APP client displays that the plug-in is successfully installed, and displays the relevant interface that is operable in the plug-in detailed information interface, and proceeds to step S107 of the subsequent third embodiment, and the interface is the same as the installed plug-in interface in FIG. .
- the local installation management of the function plug-in of the smart gateway is implemented by the foregoing solution, so that the ordinary home users of the smart gateway can be separated from the carrier network and the platform, and the function plug-in is centralized locally.
- the present invention can centrally manage the function plug-ins of the intelligent gateway from the Internet and the platform environment, and fully utilize the advantages of the smart gateway and the home interconnection device, and the home user can freely copy the function plug-in installation file to
- the unified storage directory of the mobile phone is used for unified installation and management, and is not restricted by the platform. At the same time, it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path. After the plug-in is installed, the mobile APP client can manage the function plug-in without having to access the platform, thereby improving the flexibility of the intelligent gateway function plug-in management.
- a third embodiment of the present invention provides a method for managing a function plug-in of an intelligent gateway.
- the method further includes:
- Step S107 the client responds to the user's instruction to click the installed plug-in icon on the plug-in management interface, and displays the detailed information interface of the installed plug-in according to the installed plug-in information, where the installed plug-in is The plug-in stop/start, plug-in uninstallation, and plug-in configuration operation interface and/or plug-in upgrade operation interface are provided on the detailed information interface for the user to operate;
- Step S108 Send a corresponding plug-in management interface message to the smart gateway in response to a corresponding operation instruction of the user on the detailed information interface of the installable plug-in, and perform corresponding operations by the smart gateway;
- Step S109 Receive an operation result fed back by the smart gateway, and display an operation success or failure message according to the operation result.
- the solution of the embodiment further includes: in response to the user clicking the installed plug-in icon on the plug-in management interface, implementing a management process of the installed function plug-in.
- FIG. 8 is a schematic diagram of the interaction process between the client and the smart gateway in this embodiment.
- the client displays the version number and detailed information of the installed plug-in, and provides plug-in stop/start, plug-in uninstall, plug-in configuration operation interface for the user to operate, if the installed version number of the plug-in is more than installable
- the plugin version number is early, and an upgrade operation interface can be provided.
- the APP client After the user clicks the corresponding button, the APP client sends a corresponding plug-in management interface message to the smart gateway; after receiving the plug-in management interface message, the smart gateway performs corresponding operations and returns the operation result to the APP client.
- the operation succeeds or fails. If the plug-in is successfully uninstalled, the current interface returns to the detailed information interface of the installable plug-in of the second embodiment.
- the method further includes:
- the startup link of the third-party application is provided on the detailed information interface of the installed plug-in.
- the APP client can locally manage the function plug-ins that can be installed on the smart gateway by using the APP client, which can more conveniently and centrally control the intelligent gateway and the home interconnection device, and is not restricted by the Internet network and the control platform, and is implemented in the Locally installed intelligent plug-in stop/start, plug-in uninstallation, and plug-in configuration operation and/or plug-in upgrade operation management, so that the ordinary home users of the smart gateway can be separated from the carrier network and the platform, and the function plug-in is centralized locally. management.
- the present invention can centrally manage the function plug-ins of the intelligent gateway from the Internet and the platform environment, and fully utilize the advantages of the smart gateway and the home interconnection device, and the home user can freely copy the function plug-in installation file to
- the unified storage directory of the mobile phone is used for unified installation and management, and is not restricted by the platform. At the same time, it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path.
- the mobile APP client can manage the function plug-in without having to access the platform, thereby improving the flexibility of the intelligent gateway function plug-in management.
- a preferred embodiment of the present invention provides a function plug-in management client of the smart gateway, including: a startup module 201, an acquisition module 202, and a plug-in management module 203, wherein:
- the startup module 201 is configured to display a plug-in management interface after the client application is started;
- the obtaining module 202 is configured to obtain the installable plug-in information of the smart gateway, and invoke the installed plug-in list interface on the smart gateway to obtain information about the installed plug-in of the smart gateway.
- the plug-in management module 203 is configured to display the installable plug-in information of the smart gateway and the information of the installed plug-in on the plug-in management interface.
- the obtaining module 202 is further configured to: traverse the local plug-in storage directory and the plug-in configuration file, obtain the installable plug-in information of the smart gateway, or communicate with the external network server, and obtain the Installable plug-in information of the smart gateway; the installable plug-in information includes a plug-in icon, a plug-in name, a download path, and/or a version number.
- the user starts the APP client and enters the plug-in management main interface.
- the installable plug-in information of the smart gateway is obtained, and the plug-in list interface installed on the smart gateway is invoked to obtain information about the installed plug-in of the smart gateway.
- the client may actively traverse the local plug-in storage directory and the plug-in configuration file to obtain the installable plug-in information of the smart gateway, including the plug-in icon, the plug-in name, and the version. Number, download path, detailed description information, etc.
- the client communicates with an external network server, and obtains installable plug-in information of the smart gateway from the external network server.
- the plug-in icon and plug-in name information that the smart gateway can install/install are correctly displayed on the plug-in management main interface.
- the interaction process between the client and the smart gateway in this embodiment is shown in FIG. 4 .
- the common home user of the smart gateway can be centrally managed by the function plug-in locally from the carrier network and the platform.
- the present invention can centrally manage the function plug-ins of the intelligent gateway from the Internet and the platform environment, and fully utilize the advantages of the smart gateway and the home interconnection device, and the home user can freely copy the function plug-in installation file to
- the unified storage directory of the mobile phone is used for unified installation and management, and is not restricted by the platform. At the same time, it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path.
- the mobile APP client can manage the function plug-in without having to access the platform, thereby improving the flexibility of the intelligent gateway function plug-in management.
- the plug-in management module 203 is further configured to display a detailed information interface of the installable plug-in according to the installable plug-in information in response to a user clicking an installable plug-in icon on the plug-in management interface;
- the installation instruction on the detailed information interface of the installable plug-in sends a plug-in installation interface message to the smart gateway, and the smart gateway downloads a path according to the plug-in installation package provided by the plug-in installation interface message,
- the client or the external network server downloads the plug-in installation package; receives and displays an installation success message returned after the smart gateway downloads and completes the installation, and displays an operable related interface on the plug-in detailed information interface, and the corresponding The icon for installing the plugin is moved to the list of installed plugins.
- the solution also includes the process of implementing the function plug-in installation management in response to the user clicking the installable plug-in icon on the plug-in management interface.
- FIG. 6 is a schematic diagram of the interaction process between the client and the smart gateway in this embodiment.
- the client displays the version number and detailed information of the installable plug-in according to the previously obtained information, and provides installation. Operation interface for user operation.
- the client sends a plug-in installation interface message to the smart gateway.
- the message needs to include the basic information of the plug-in and the HTTP/FTP download path of the plug-in installation package, and open the local HTTP/application side of the APP client. FTP service.
- the APP client should obtain the basic information of the plug-in and the HTTP/FTP download path of the plug-in installation package through the corresponding message interface, and the subsequent smart gateway downloads the plug-in installation from the server side. package.
- the smart gateway After the smart gateway receives the plug-in installation interface message, it downloads the plug-in installation package to the APP client side through the HTTP/FTP protocol. After the download is complete, install directly to the smart gateway and return the successful installation result to the APP client.
- the APP client After receiving the result, the APP client displays that the plug-in is successfully installed, and displays the relevant interface that is operable in the plug-in detailed information interface, and proceeds to step S107 of the subsequent third embodiment, and the interface is the same as the installed plug-in interface in FIG. .
- the installation and management of the function plug-in of the smart gateway is implemented locally, so that the ordinary home users of the smart gateway can be centrally managed by the function plug-in from the carrier network and the platform.
- the present invention can centrally manage the function plug-ins of the intelligent gateway from the Internet and the platform environment, and fully utilize the advantages of the smart gateway and the home interconnection device, and the home user can freely copy the function plug-in installation file to
- the unified storage directory of the mobile phone is used for unified installation and management, and is not restricted by the platform. At the same time, it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path. After the plug-in is installed, the mobile APP client can manage the function plug-in without having to access the platform, thereby improving the flexibility of the intelligent gateway function plug-in management.
- the plug-in management module 203 is further configured to: in response to the user clicking an installed plug-in icon on the plug-in management interface, displaying the detailed information interface of the installed plug-in according to the installed plug-in information, Plugin stop/start, plugin uninstallation, and plugin configuration are provided on the details interface of the installed plugin.
- the operation interface and/or the plug-in upgrade operation interface is provided for the user to operate; in response to the corresponding operation instruction of the user on the detailed information interface of the installable plug-in, sending a corresponding plug-in management interface message to the intelligent gateway, where the intelligent gateway is Performing corresponding operations; receiving an operation result fed back by the intelligent gateway, and displaying an operation success or failure message according to the operation result.
- the solution also includes: in response to the user clicking the installed plug-in icon on the plug-in management interface, implementing the management process of the installed function plug-in.
- FIG. 8 is a schematic diagram of the interaction process between the client and the smart gateway in this embodiment.
- the client displays the version number and detailed information of the installed plug-in, and provides plug-in stop/start, plug-in uninstall, plug-in configuration operation interface for the user to operate, if the installed version number of the plug-in is more than installable
- the plugin version number is early, and an upgrade operation interface can be provided.
- the APP client After the user clicks the corresponding button, the APP client sends a corresponding plug-in management interface message to the smart gateway; after receiving the plug-in management interface message, the smart gateway performs corresponding operations and returns the operation result to the APP client.
- the operation succeeds or fails. If the plug-in is successfully uninstalled, the current interface returns to the detailed information interface of the installable plug-in of the second embodiment.
- the method further includes:
- the startup link of the third-party application is provided on the detailed information interface of the installed plug-in.
- the APP client can locally manage the function plug-ins that can be installed on the smart gateway by using the APP client, which can more conveniently and centrally control the intelligent gateway and the home interconnection device, and is not restricted by the Internet network and the control platform, and is implemented in the Locally installed intelligent plug-in stop/start, plug-in uninstallation, and plug-in configuration operation and/or plug-in upgrade operation management, so that the ordinary home users of the smart gateway can be separated from the carrier network and the platform, and the function plug-in is centralized locally. management.
- the present invention can centrally manage the function plug-ins of the intelligent gateway from the Internet and the platform environment, and fully utilize the advantages of the smart gateway and the home interconnection device, and the home user can freely copy the function plug-in installation file to
- the unified storage directory of the mobile phone is used for unified installation and management, and is not restricted by the platform. At the same time, it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path.
- the phone The APP client can manage the function plug-in without having to access the platform, thereby improving the flexibility of the smart gateway function plug-in management.
- the embodiment of the present invention further provides a function plug-in management system of the intelligent gateway, comprising: a client and an intelligent gateway communicating with the client, wherein:
- the client may be the client described in the foregoing embodiment
- the smart gateway is configured to provide an installed plug-in list interface to the client, where the client invokes to obtain information about the installed plug-in of the smart gateway.
- the smart gateway is further configured to receive a plug-in installation interface message sent by the client, and download the path from the client or the external network server according to the plug-in installation package download path provided by the plug-in installation interface message.
- a plug-in installation package after the installation of the plug-in installation package is completed, returning an installation success message to the client; or receiving a plug-in management interface message sent by the client, performing corresponding operations according to the plug-in management interface message, and Client feedback operation result
- all the function plug-in installation files of the smart gateway can be placed in the unified directory of the mobile phone, and the mobile APP client traverses the directory, obtains a list of function plug-ins that the smart gateway can install, and invokes the smart device.
- the installed plug-in list interface of the gateway can display the plug-in information and installable plug-in information installed on the smart gateway on the client according to the above two information.
- the function plug-in can also be stored on the external network server, and the mobile APP client can communicate with the external network server to obtain a list of function plug-ins that can be installed by the smart gateway, and the subsequent processing is consistent with the local storage function plug-in.
- the solution stored on the external network server can be used by the operator to provide a unified function plug-in for home users to download and install. After downloading and installing, the smart gateway can be disconnected from the external network server, and the function plug-in of the intelligent gateway can be managed only locally. Server-side pressure.
- the embodiment of the invention has at least the following advantages:
- the solution requires simple platform and low pressure.
- the platform only needs to provide support plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-ins. Package download path. After the plug-in is installed, the mobile APP client can manage the function plug-in without having to access the platform.
- the present invention can centrally manage the function plug-ins of the intelligent gateway from the Internet and the platform environment, and fully utilize the advantages of the smart gateway and the home interconnection device, and the home user can freely install the function plug-in.
- the files are copied to the unified storage directory of the mobile phone for unified installation and management, and are not restricted by the platform.
- it can be used for operators to build a unified plug-in platform.
- the solution requires simple platform and low pressure.
- the platform only needs to provide supportable plug-in installation files, and provides interfaces to the mobile APP client to obtain installable function plug-ins and plug-in installation packages. Download path.
- the mobile APP client can manage the function plug-in without having to access the platform, and the flexibility of the smart gateway function plug-in management is improved.
- the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
- Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
本发明涉及一种智能网关的功能插件管理方法、客户端及***,其方法包括:客户端在应用启动后,显示插件管理界面;获取智能网关的可安装插件信息;调用智能网关上已安装插件列表接口,获取智能网关的已安装插件的信息;在插件管理界面上显示智能网关的可安装插件信息以及已安装插件的信息。本发明使得智能网关的普通家庭用户,可以脱离运营商网络和平台对功能插件进行集中管理,不受平台限制,提高了智能网关功能插件管理的灵活性。
Description
本发明涉及网络技术领域,尤其涉及一种智能网关的功能插件管理方法、客户端及***。
随着互联网和智能网关的发展,智能网关慢慢地走入了用户的日常生活中,智能网关作为家庭上网不可缺少的设备以及家庭互联设备的控制中心,其发展更加让人瞩目。而家庭互联设备以及智能网关自身的一些重点业务,很多都是以功能插件的方式进行存在,这些功能插件的管理目前主要是各互联设备分散管理,或者由运营商搭建统一平台进行统一管理。但是这些方式存在一些明显的缺陷,其中:
分散管理:涉及多个互联设备第三方应用程序(APP)客户端,没有统一的管理界面,不便于管理。
统一管理:平台由运营商搭建,普通家庭用户对功能插件操作的权限有限,只能安装和操作运营商指定的功能插件,不能发挥智能网关和家庭互联设备的优势,而且智能网关必须通过互联网接入平台才能对插件进行管理。
因此有必要提供一种对这些功能插件更方便的管理方法,充分发挥智能网关和家庭互联设备的自身优势。
发明内容
本发明实施例提供一种智能网关的功能插件管理方法、客户端及***,以使得智能网关的普通家庭用户,可以脱离运营商网络和平台,方便对智能网关的功能插件进行集中管理。
本发明实施例提出的一种智能网关的功能插件管理方法,包括:
客户端在应用启动后,显示插件管理界面;
获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;
在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息。
优选地,所述获取智能网关的可安装的插件信息的步骤包括:
所述客户端遍历本地插件存放目录和插件配置文件,获取所述智能网关的可安装插件信息,或者,所述客户端与外网服务器通信,从所述外网服务器获取所述智能网关的可安装插件信息;所述可安装插件信息包括插件图标、插件名、下载路径和/或版本号。
优选地,所述方法还包括:
所述客户端响应用户在所述插件管理界面上点击可安装插件图标的指令,根据所述可安装插件信息,显示所述可安装插件的详细信息界面;
响应用户在所述可安装插件的详细信息界面上的安装指令,发送插件安装接口消息给所述智能网关,由所述智能网关根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包;
接收并显示所述智能网关下载安装完成后返回的安装成功消息,并在所述插件详细信息界面显示可操作的相关接口,以及将对应的已安装插件的图标移至已安装插件列表中。
优选地,所述方法还包括:
所述客户端响应用户在所述插件管理界面上点击已安装插件图标的指令,根据所述已安装插件信息,显示所述已安装插件的详细信息界面,在所述已安装插件的详细信息界面上提供插件停止/启动、插件卸载以及插件配置操作接口和/或插件升级操作接口,供用户操作;
响应用户在所述可安装插件的详细信息界面上的相应操作指令,发送对应的插件管理接口消息给所述智能网关,由所述智能网关进行相应操作;
接收所述智能网关反馈的操作结果,根据所述操作结果显示操作成功或失败消息。
优选地,所述方法还包括:
若所述智能网关上已安装插件有对应的第三方应用,则在所述已安装插件的详细信息界面提供所述第三方应用的启动链接。
本发明实施例还提出一种智能网关的功能插件管理客户端,包括:
启动模块,设置为在客户端应用启动后,显示插件管理界面;
获取模块,设置为获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;
插件管理模块,设置为在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息。
优选地,所述获取模块,还设置为遍历本地插件存放目录和插件配置文件,获取所述智能网关的可安装插件信息,或者,与外网服务器通信,从所述外网服务器获取所述智能网关的可安装插件信息;所述可安装插件信息包括插件图标、插件名、下载路径和/或版本号。
优选地,所述插件管理模块,还设置为响应用户在所述插件管理界面上点击可安装插件图标的指令,根据所述可安装插件信息,显示所述可安装插件的详细信息界面;响应用户在所述可安装插件的详细信息界面上的安装指令,发送插件安装接口消息给所述智能网关,由所述智能网关根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包;接收并显示所述智能网关下载安装完成后返回的安装成功消息,并在所述插件详细信息界面显示可操作的相关接口,以及将对应的已安装插件的图标移至已安装插件列表中。
优选地,所述插件管理模块,还设置为响应用户在所述插件管理界面上点击已安装插件图标的指令,根据所述已安装插件信息,显示所述已安装插件的详细信息界面,在所述已安装插件的详细信息界面上提供插件停止/启动、插件卸载以及插件配置操作接口和/或插件升级操作接口,供用户操作;响应用户在所述可安装插件的详细信息界面上的相应操作指令,发送对应的插件管理接口消息给所述智能网关,由所述智能网关进行相应操作;接收所述智能网关反馈的操作结果,根据所述操作结果显示操作成功或失败消息。
优选地,所述插件管理模块,还设置为若所述智能网关上已安装插件有对应的第三方应用,则在所述已安装插件的详细信息界面提供所述第三方应用的启动链接。
本发明实施例还提出一种智能网关的功能插件管理***,包括:上述的客户端及与所述客户端通信的智能网关,其中:
所述智能网关,设置为向所述客户端提供已安装插件列表接口,供所述客户端调用以获取所述智能网关的已安装插件的信息。
优选地,所述智能网关,还设置为接收所述客户端发送的插件安装接口消息,根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包,在插件安装包安装完成后,向所述客户端返回安装成功消息;或者,接收所述客户端发送的插件管理接口消息,根据所述插件管理接口消息进行相应操作,并向所述客户端反馈操作结果。
本发明实施例提出的一种智能网关的功能插件管理方法、客户端及***,客户端在应用启动后,显示插件管理界面;获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息,以便方便对智能网关的功能插件进行本地管理,由此使得智能网关的普通家庭用户,可以脱离运营商网络和平台对功能插件进行集中管理。因此,相比现有技术,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理,提高了智能网关功能插件管理的灵活性。
图1是本发明实施例方案涉及的***架构示意图;
图2是本发明实施例中手机APP客户端和智能网关插件管理接***互图;
图3是智能网关的功能插件管理方法第一实施例的流程示意图;
图4是图3所示的实施例中客户端与智能网关的交互流程示意图;
图5是智能网关的功能插件管理方法第二实施例的流程示意图;
图6是图5所示的实施例中客户端与智能网关的交互流程示意图;
图7是智能网关的功能插件管理方法第三实施例的流程示意图;
图8是图7所示的实施例中客户端与智能网关的交互流程示意图;
图9是本发明智能网关的功能插件管理客户端较佳实施例的功能模块示意图。
为了使本发明的技术方案更加清楚、明了,下面将结合附图作进一步详述。
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例方案的核心思想是:客户端在应用启动后,显示插件管理界面;获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息,可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制,同时可用于运营商搭建统一的插件平台。
本发明实施例方案涉及的***架构包括智能网关和移动终端应用客户端,如图1所示,以手机为例,在智能网关增加手机APP管理模块,并提供对应的手机APP客户端。手机APP客户端可通过无线局域网(WIFI)或者其他局域网(LAN)侧连接方式,接入到智能网关,和智能网关的手机APP管理模块进行消息交互,实现对功能插件的集中管理。图1中的G1(LAN)接口是手机APP客户端和智能网关手机APP管理模块的交互接口,该接口可实现手机APP客户端对功能插件的相关管理操作,包括但不限于插件安装/升级、插件卸载、插件运行、插件停止、获取已安装插件列表、插件配置等。
如图2所示,图2为手机APP客户端和智能网关插件管理接***互图。
附图2中的流程说明了手机APP客户端可通过新建传输控制协议(TCP)/用户数据报协议(UDP)连接到智能网关,通过调用相关插件管理接口,获取到对应的操作结果,并关闭TCP/UDP连接。
基于上述***架构,提出本发明实施例智能网关的功能插件管理方法实施例。
如图3所示,本发明第一实施例提出一种智能网关的功能插件管理方法,包括:
步骤S101,客户端在应用启动后,显示插件管理界面;
本实施例阐述在APP客户端启动后,功能插件管理的工作原理。
优选地,首先,用户启动APP客户端,进入插件管理主界面。
步骤S102,获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;
在获取智能网关的可安装插件信息时,作为一种实施方式,客户端可以主动遍历本地插件存放目录和插件配置文件,获取所述智能网关的可安装插件信息,包括插件图标、插件名、版本号、下载路径、详细描述信息等。
或者,作为另一种实施方式,所述客户端与外网服务器通信,从所述外网服务器获取所述智能网关的可安装插件信息。
步骤S103,在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息。
在获取到智能网关的可安装插件信息以及智能网关的已安装插件的信息后,在插件管理主界面上正确地显示智能网关可安装/已安装的插件图标和插件名信息。
本实施例中客户端与智能网关的交互流程如图4所示。
后续,如果用户在插件管理主界面上点击可安装插件图标,即可进入附图6对应的控制流程,点击已安装插件图标,可进入附图8对应的控制流程。
本实施例通过上述方案,使得智能网关的普通家庭用户,可以脱离运营商网络和平台,对功能插件在本地进行集中管理。相比现有技术,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理,从而提高了智能网关功能插件管理的灵活性。
如图5所示,本发明第二实施例提出一种智能网关的功能插件管理方法,基于上述图3所示的实施例,所述方法还包括:
步骤S104,所述客户端响应用户在所述插件管理界面上点击可安装插件图标的指令,根据所述可安装插件信息,显示所述可安装插件的详细信息界面;
步骤S105,响应用户在所述可安装插件的详细信息界面上的安装指令,发送插件安装接口消息给所述智能网关,由所述智能网关根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包;
步骤S106,接收并显示所述智能网关下载安装完成后返回的安装成功消息,并在所述插件详细信息界面显示可操作的相关接口,以及将对应的已安装插件的图标移至已安装插件列表中。
相比上述图3所示的实施例,本实施例方案还包括:响应用户在插件管理界面上点击可安装插件图标,实现功能插件安装管理的过程。
优选地,结合图6所示,图6是本实施例中,客户端与智能网关的交互流程示意图。
首先,当用户在所述插件管理界面上点击可安装插件图标时,进入该插件的详细信息界面;客户端根据之前获取到的信息,显示出可安装插件的版本号、详细信息,并提供安装操作接口,供用户操作。
然后,当用户点击安装按钮后,客户端发送插件安装接口消息给智能网关,该消息中需要包括插件的基本信息以及插件安装包的超文本传输协议(HTTP)/文件传输协议(FTP)下载路径,并开启APP客户端侧本地的HTTP/FTP服务。如图1中的M1接口,如果插件是放在服务器侧,APP客户端应通过对应消息接口获取到插件的基本信息以及插件安装包的HTTP/FTP下载路径,后续智能网关从服务器侧下载插件安装包。
之后,智能网关收到插件安装接口消息后,通过HTTP/FTP协议到APP客户端侧下载插件安装包。下载完成后,直接安装到智能网关上,并返回安装成功结果给APP客户端;
APP客户端收到结果后,显示插件安装成功,并在插件详细信息界面显示可操作的相关接口,转到后续第三实施例的步骤S107处理,该接口同附图8中的已安装插件界面。
本实施例通过上述方案,实现了对智能网关的功能插件的本地安装管理,使得智能网关的普通家庭用户,可以脱离运营商网络和平台,对功能插件在本地进行集中管
理。相比现有技术,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理,从而提高了智能网关功能插件管理的灵活性。
如图7所示,本发明第三实施例提出一种智能网关的功能插件管理方法,基于上述图3所示的实施例,所述方法还包括:
步骤S107,所述客户端响应用户在所述插件管理界面上点击已安装插件图标的指令,根据所述已安装插件信息,显示所述已安装插件的详细信息界面,在所述已安装插件的详细信息界面上提供插件停止/启动、插件卸载以及插件配置操作接口和/或插件升级操作接口,供用户操作;
步骤S108,响应用户在所述可安装插件的详细信息界面上的相应操作指令,发送对应的插件管理接口消息给所述智能网关,由所述智能网关进行相应操作;
步骤S109,接收所述智能网关反馈的操作结果,根据所述操作结果显示操作成功或失败消息。
相比上述图5所示的实施例,本实施例方案还包括:响应用户在插件管理界面上点击已安装插件图标,实现对已安装的功能插件的管理过程。
优选地,结合图8所示,图8是本实施例中,客户端与智能网关的交互流程示意图。
首先,当用户在所述插件管理界面上点击已安装插件图标,进入该插件的详细信息界面。客户端根据之前获取到的信息,显示出已安装插件的版本号、详细信息,并提供插件停止/启动、插件卸载、插件配置操作接口,供用户操作,如果已安装插件的版本号比可安装的插件版本号早,可以提供升级操作接口。
当用户点击相应按钮后,APP客户端发送对应的插件管理接口消息给智能网关;智能网关收到插件管理接口消息后,进行相应操作,并返回操作结果给APP客户端。
APP客户端根据收到结果后,显示操作成功或失败,如果是插件卸载成功,当前界面转回到上述第二实施例的可安装插件的详细信息界面。
优选地,所述方法还包括:
若所述智能网关上已安装插件有对应的第三方应用,则在所述已安装插件的详细信息界面提供所述第三方应用的启动链接。
本实施例通过上述方案,使用APP客户端对智能网关上可安装的功能插件进行本地管理,可以更便捷集中地控制智能网关和家庭互联设备,不受上网网络、控制平台等限制,实现了在本地对智能网关的已安装功能插件停止/启动、插件卸载以及插件配置操作和/或插件升级操作管理,使得智能网关的普通家庭用户,可以脱离运营商网络和平台,对功能插件在本地进行集中管理。相比现有技术,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理,从而提高了智能网关功能插件管理的灵活性。
对应地,提出本发明实施例智能网关的功能插件管理客户端实施例。
如图9所示,本发明较佳实施例提出一种智能网关的功能插件管理客户端,包括:启动模块201、获取模块202以及插件管理模块203,其中:
启动模块201,设置为在客户端应用启动后,显示插件管理界面;
获取模块202,设置为获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;
插件管理模块203,设置为在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息。
优选地,所述获取模块202,还设置为遍历本地插件存放目录和插件配置文件,获取所述智能网关的可安装插件信息,或者,与外网服务器通信,从所述外网服务器获取所述智能网关的可安装插件信息;所述可安装插件信息包括插件图标、插件名、下载路径和/或版本号。
优选地,首先,用户启动APP客户端,进入插件管理主界面。
然后,获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息。
在获取智能网关的可安装插件信息时,作为一种实施方式,客户端可以主动遍历本地插件存放目录和插件配置文件,获取所述智能网关的可安装插件信息,包括插件图标、插件名、版本号、下载路径、详细描述信息等。
或者,作为另一种实施方式,所述客户端与外网服务器通信,从所述外网服务器获取所述智能网关的可安装插件信息。
在获取到智能网关的可安装插件信息以及智能网关的已安装插件的信息后,在插件管理主界面上正确地显示智能网关可安装/已安装的插件图标和插件名信息。
本实施例中客户端与智能网关的交互流程如图4所示。
后续,如果用户在插件管理主界面上点击可安装插件图标,即可进入附图6对应的控制流程,点击已安装插件图标,可进入附图8对应的控制流程。
本实施例通过上述方案,使得智能网关的普通家庭用户,可以脱离运营商网络和平台,对功能插件在本地进行集中管理。相比现有技术,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理,从而提高了智能网关功能插件管理的灵活性。
优选地,所述插件管理模块203,还设置为响应用户在所述插件管理界面上点击可安装插件图标的指令,根据所述可安装插件信息,显示所述可安装插件的详细信息界面;响应用户在所述可安装插件的详细信息界面上的安装指令,发送插件安装接口消息给所述智能网关,由所述智能网关根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包;接收并显示所述智能网关下载安装完成后返回的安装成功消息,并在所述插件详细信息界面显示可操作的相关接口,以及将对应的已安装插件的图标移至已安装插件列表中。
该方案还包括响应用户在插件管理界面上点击可安装插件图标,实现功能插件安装管理的过程。
优选地,结合图6所示,图6是本实施例中,客户端与智能网关的交互流程示意图。
首先,当用户在所述插件管理界面上点击可安装插件图标时,进入该插件的详细信息界面;客户端根据之前获取到的信息,显示出可安装插件的版本号、详细信息,并提供安装操作接口,供用户操作。
然后,当用户点击安装按钮后,客户端发送插件安装接口消息给智能网关,该消息中需要包括插件的基本信息以及插件安装包的HTTP/FTP下载路径,并开启APP客户端侧本地的HTTP/FTP服务。如图1中的M1接口,如果插件是放在服务器侧,APP客户端应通过对应消息接口获取到插件的基本信息以及插件安装包的HTTP/FTP下载路径,后续智能网关从服务器侧下载插件安装包。
之后,智能网关收到插件安装接口消息后,通过HTTP/FTP协议到APP客户端侧下载插件安装包。下载完成后,直接安装到智能网关上,并返回安装成功结果给APP客户端;
APP客户端收到结果后,显示插件安装成功,并在插件详细信息界面显示可操作的相关接口,转到后续第三实施例的步骤S107处理,该接口同附图8中的已安装插件界面。
本实施例通过上述方案,实现了对智能网关的功能插件在本地的安装管理,使得智能网关的普通家庭用户,可以脱离运营商网络和平台,对功能插件在本地进行集中管理。相比现有技术,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理,从而提高了智能网关功能插件管理的灵活性。
优选地,所述插件管理模块203还设置为响应用户在所述插件管理界面上点击已安装插件图标的指令,根据所述已安装插件信息,显示所述已安装插件的详细信息界面,在所述已安装插件的详细信息界面上提供插件停止/启动、插件卸载以及插件配置
操作接口和/或插件升级操作接口,供用户操作;响应用户在所述可安装插件的详细信息界面上的相应操作指令,发送对应的插件管理接口消息给所述智能网关,由所述智能网关进行相应操作;接收所述智能网关反馈的操作结果,根据所述操作结果显示操作成功或失败消息。
该方案还包括:响应用户在插件管理界面上点击已安装插件图标,实现对已安装的功能插件的管理过程。
优选地,结合图8所示,图8是本实施例中,客户端与智能网关的交互流程示意图。
首先,当用户在所述插件管理界面上点击已安装插件图标,进入该插件的详细信息界面。客户端根据之前获取到的信息,显示出已安装插件的版本号、详细信息,并提供插件停止/启动、插件卸载、插件配置操作接口,供用户操作,如果已安装插件的版本号比可安装的插件版本号早,可以提供升级操作接口。
当用户点击相应按钮后,APP客户端发送对应的插件管理接口消息给智能网关;智能网关收到插件管理接口消息后,进行相应操作,并返回操作结果给APP客户端。
APP客户端根据收到结果后,显示操作成功或失败,如果是插件卸载成功,当前界面转回到上述第二实施例的可安装插件的详细信息界面。
优选地,所述方法还包括:
若所述智能网关上已安装插件有对应的第三方应用,则在所述已安装插件的详细信息界面提供所述第三方应用的启动链接。
本实施例通过上述方案,使用APP客户端对智能网关上可安装的功能插件进行本地管理,可以更便捷集中地控制智能网关和家庭互联设备,不受上网网络、控制平台等限制,实现了在本地对智能网关的已安装功能插件停止/启动、插件卸载以及插件配置操作和/或插件升级操作管理,使得智能网关的普通家庭用户,可以脱离运营商网络和平台,对功能插件在本地进行集中管理。相比现有技术,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机
APP客户端不需要再接入到平台上就可以实现对功能插件的管理,从而提高了智能网关功能插件管理的灵活性。
优选地,本发明实施例还提出一种智能网关的功能插件管理***,包括:客户端及与所述客户端通信的智能网关,其中:
所述客户端可以为上述实施例所述的客户端;
所述智能网关,设置为向所述客户端提供已安装插件列表接口,供所述客户端调用以获取所述智能网关的已安装插件的信息。
优选地,所述智能网关,还设置为接收所述客户端发送的插件安装接口消息,根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包,在插件安装包安装完成后,向所述客户端返回安装成功消息;或者,接收所述客户端发送的插件管理接口消息,根据所述插件管理接口消息进行相应操作,并向所述客户端反馈操作结果
以手机为例,本实施例方案中,可以将智能网关的所有功能插件安装文件放置在手机的统一目录下,手机APP客户端遍历该目录,获取智能网关可安装的功能插件列表,并调用智能网关的已安装插件列表接口,根据上述两个信息,可以在客户端上显示出智能网关上已安装的插件信息和可安装的插件信息。
此外,在本方案中,功能插件也可以存放在外网服务器上,手机APP客户端可以通过和外网服务器端通信,获取智能网关可安装的功能插件列表,后续处理同本地存放功能插件,流程一致。存放在外网服务器上的方案,可用于运营商提供统一的功能插件给家庭用户下载安装,下载安装后,智能网关可以脱离外网服务器端,仅本地就可以对智能网关的功能插件进行管理,减少服务器端的压力。
本实施例智能网关与客户端交互实现功能插件管理的基本原理,请参照上述各实施例,在此不再赘述。
与现有技术相比较,本发明实施例至少具有下列优点:
1、可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。
2、可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理。
工业实用性:通过上述描述可知,本发明可以脱离互联网和平台环境,对智能网关的功能插件进行集中管理,充分发挥了智能网关和家庭互联设备的自身优势,家庭用户可以自由地将功能插件安装文件拷贝到手机的统一存放目录,进行统一安装管理,不受平台限制。同时可用于运营商搭建统一的插件平台,该方案对平台要求简单,压力小,平台只需要提供可支持的功能插件安装文件,提供接口给手机APP客户端获取可安装的功能插件和插件安装包下载路径。插件安装后,手机APP客户端不需要再接入到平台上就可以实现对功能插件的管理,提高了智能网关功能插件管理的灵活性。
还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (12)
- 一种智能网关的功能插件管理方法,包括:客户端在应用启动后,显示插件管理界面;获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息。
- 根据权利要求1所述的方法,其中,所述获取智能网关的可安装的插件信息的步骤包括:所述客户端遍历本地插件存放目录和插件配置文件,获取所述智能网关的可安装插件信息,或者,所述客户端与外网服务器通信,从所述外网服务器获取所述智能网关的可安装插件信息;所述可安装插件信息包括插件图标、插件名、下载路径和/或版本号。
- 根据权利要求2所述的方法,其中,所述方法还包括:所述客户端响应用户在所述插件管理界面上点击可安装插件图标的指令,根据所述可安装插件信息,显示所述可安装插件的详细信息界面;响应用户在所述可安装插件的详细信息界面上的安装指令,发送插件安装接口消息给所述智能网关,由所述智能网关根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包;接收并显示所述智能网关下载安装完成后返回的安装成功消息,并在所述插件详细信息界面显示可操作的相关接口,以及将对应的已安装插件的图标移至已安装插件列表中。
- 根据权利要求1、2或3所述的方法,其中,所述方法还包括:所述客户端响应用户在所述插件管理界面上点击已安装插件图标的指令,根据所述已安装插件信息,显示所述已安装插件的详细信息界面,在所述已安装插件的详细信息界面上提供插件停止/启动、插件卸载以及插件配置操作接口和/或插件升级操作接口,供用户操作;响应用户在所述可安装插件的详细信息界面上的相应操作指令,发送对应的插件管理接口消息给所述智能网关,由所述智能网关进行相应操作;接收所述智能网关反馈的操作结果,根据所述操作结果显示操作成功或失败消息。
- 根据权利要求4所述的方法,其中,所述方法还包括:若所述智能网关上已安装插件有对应的第三方应用,则在所述已安装插件的详细信息界面提供所述第三方应用的启动链接。
- 一种智能网关的功能插件管理客户端,包括:启动模块,设置为在客户端应用启动后,显示插件管理界面;获取模块,设置为获取智能网关的可安装插件信息;调用所述智能网关上已安装插件列表接口,获取所述智能网关的已安装插件的信息;插件管理模块,设置为在所述插件管理界面上显示所述智能网关的可安装插件信息以及已安装插件的信息。
- 根据权利要求6所述的客户端,其中,所述获取模块,还设置为遍历本地插件存放目录和插件配置文件,获取所述智能网关的可安装插件信息,或者,与外网服务器通信,从所述外网服务器获取所述智能网关的可安装插件信息;所述可安装插件信息包括插件图标、插件名、下载路径和/或版本号。
- 根据权利要求7所述的客户端,其中,所述插件管理模块,还设置为响应用户在所述插件管理界面上点击可安装插件图标的指令,根据所述可安装插件信息,显示所述可安装插件的详细信息界面;响应用户在所述可安装插件的详细信息界面上的安装指令,发送插件安装接口消息给所述智能网关,由所述智能网关根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包;接收并显示所述智能网关下载安装完成后返回的安装成功消息,并在所述插件详细信息界面显示可操作的相关接口,以及将对应的已安装插件的图标移至已安装插件列表中。
- 根据权利要求6、7或8所述的客户端,其中,所述插件管理模块,还设置为响应用户在所述插件管理界面上点击已安装插件图标的指令,根据所述已安装插件信息,显示所述已安装插件的详细信息界面,在所述已安装插件的详细信息界面上提供插件停止/启动、插件卸载以及插件配置操作接口和/或插件升级操作接口,供用户操作;响应用户在所述可安装插件的详细信息界面上的相应操作指令,发送对应的插件管理接口消息给所述智能网关,由所述智能网关进行相应操作;接收所述智能网关反馈的操作结果,根据所述操作结果显示操作成功或失败消息。
- 根据权利要求6、7或8所述的客户端,其中,所述插件管理模块,还设置为若所述智能网关上已安装插件有对应的第三方应用,则在所述已安装插件的详细信息界面提供所述第三方应用的启动链接。
- 一种智能网关的功能插件管理***,包括:客户端及与所述客户端通信的智能网关,其中:所述客户端包括权利要求6-10中任一项所述的客户端;所述智能网关,设置为向所述客户端提供已安装插件列表接口,供所述客户端调用以获取所述智能网关的已安装插件的信息。
- 根据权利要求11所述的***,其中,所述智能网关,还设置为接收所述客户端发送的插件安装接口消息,根据所述插件安装接口消息提供的插件安装包下载路径,从所述客户端或所述外网服务器下载插件安装包,在插件安装包安装完成后,向所述客户端返回安装成功消息;或者,接收所述客户端发送的插件管理接口消息,根据所述插件管理接口消息进行相应操作,并向所述客户端反馈操作结果。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510115614.9A CN106034070A (zh) | 2015-03-16 | 2015-03-16 | 智能网关的功能插件管理方法、客户端及*** |
CN201510115614.9 | 2015-03-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016145747A1 true WO2016145747A1 (zh) | 2016-09-22 |
Family
ID=56918219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/082232 WO2016145747A1 (zh) | 2015-03-16 | 2015-06-24 | 智能网关的功能插件管理方法、客户端及*** |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106034070A (zh) |
WO (1) | WO2016145747A1 (zh) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984224A (zh) * | 2018-06-13 | 2018-12-11 | 中国平安人寿保险股份有限公司 | 一种插件管理方法、计算机可读存储介质及终端设备 |
CN109032651A (zh) * | 2018-08-24 | 2018-12-18 | 深圳创维-Rgb电子有限公司 | 应用更新方法、智能终端及计算机可读存储介质 |
CN113282347A (zh) * | 2021-05-24 | 2021-08-20 | 挂号网(杭州)科技有限公司 | 插件运行方法、装置、设备及存储介质 |
CN113778554A (zh) * | 2021-09-01 | 2021-12-10 | 粒子文化科技集团(杭州)股份有限公司 | 插件处理方法、电子装置和存储介质 |
CN114579326A (zh) * | 2020-12-01 | 2022-06-03 | 上海宝信软件股份有限公司 | 一种分布式作业调度和执行方法插件化的方法及*** |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412096B (zh) * | 2016-10-26 | 2022-06-17 | 北京邦天信息技术有限公司 | 一种部署业务的方法、装置和*** |
CN108512747A (zh) * | 2017-02-23 | 2018-09-07 | 中兴通讯股份有限公司 | 家庭网关的插件管理方法以及家庭网关、通信*** |
CN107562489A (zh) * | 2017-08-22 | 2018-01-09 | 上海斐讯数据通信技术有限公司 | 一种基于网页管理模块管理插件的方法及*** |
CN113348725B (zh) * | 2019-05-16 | 2023-07-14 | 深圳市欢太科技有限公司 | 设备操作方法、装置、网关、电子设备及计算机可读介质 |
CN110557320B (zh) * | 2019-09-11 | 2022-01-28 | 太仓市同维电子有限公司 | 基于家庭智能网关实现vpn插件海淘加速功能的***及其方法 |
CN112469138A (zh) * | 2020-11-25 | 2021-03-09 | 四川长虹电器股份有限公司 | 边缘网关及将手机app控制的设备协同到边缘网关的方法 |
CN113595788B (zh) * | 2021-07-28 | 2024-05-28 | 上海华兴数字科技有限公司 | 一种基于插件的api网关管理方法及装置 |
CN113596151A (zh) * | 2021-07-28 | 2021-11-02 | 杭州数梦工场科技有限公司 | 插件管理方法、装置、数据处理方法及装置 |
CN114816582A (zh) * | 2022-05-24 | 2022-07-29 | 中移(杭州)信息技术有限公司 | 轻量化嵌入式中间件及其*** |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1553332A (zh) * | 2003-06-02 | 2004-12-08 | 联想(北京)有限公司 | 基于插件技术的设备集中管理方法 |
CN101411146A (zh) * | 2006-05-31 | 2009-04-15 | 三星电子株式会社 | 使用脚本插件在异种装置上进行异种服务的方法 |
CN101535952A (zh) * | 2005-08-19 | 2009-09-16 | 谷歌公司 | 将来自插件模块的信息内容在用户界面中进行显示的软件架构 |
CN103309700A (zh) * | 2012-03-16 | 2013-09-18 | 腾讯科技(深圳)有限公司 | 一种插件管理控制方法及装置 |
CN104331303A (zh) * | 2014-09-30 | 2015-02-04 | 上海斐讯数据通信技术有限公司 | 一种用于家庭网关设备功能扩展的Web UI框架及方法 |
US20150043377A1 (en) * | 2013-08-06 | 2015-02-12 | Time Warner Cable Enterprises Llc | AUTOMATED PROVISIONING OF MANAGED SERVICES IN A Wi-Fi CAPABLE CLIENT DEVICE |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8863074B2 (en) * | 2010-01-27 | 2014-10-14 | Oracle International Corporation | Software modeling framework |
CN102158434A (zh) * | 2011-03-24 | 2011-08-17 | 东莞中山大学研究院 | 一种在智能网关上实现应用程序管理的方法及智能网关 |
CN104052796A (zh) * | 2014-04-23 | 2014-09-17 | 小米科技有限责任公司 | 处理插件的方法、装置、***及终端 |
-
2015
- 2015-03-16 CN CN201510115614.9A patent/CN106034070A/zh not_active Withdrawn
- 2015-06-24 WO PCT/CN2015/082232 patent/WO2016145747A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1553332A (zh) * | 2003-06-02 | 2004-12-08 | 联想(北京)有限公司 | 基于插件技术的设备集中管理方法 |
CN101535952A (zh) * | 2005-08-19 | 2009-09-16 | 谷歌公司 | 将来自插件模块的信息内容在用户界面中进行显示的软件架构 |
CN101411146A (zh) * | 2006-05-31 | 2009-04-15 | 三星电子株式会社 | 使用脚本插件在异种装置上进行异种服务的方法 |
CN103309700A (zh) * | 2012-03-16 | 2013-09-18 | 腾讯科技(深圳)有限公司 | 一种插件管理控制方法及装置 |
US20150043377A1 (en) * | 2013-08-06 | 2015-02-12 | Time Warner Cable Enterprises Llc | AUTOMATED PROVISIONING OF MANAGED SERVICES IN A Wi-Fi CAPABLE CLIENT DEVICE |
CN104331303A (zh) * | 2014-09-30 | 2015-02-04 | 上海斐讯数据通信技术有限公司 | 一种用于家庭网关设备功能扩展的Web UI框架及方法 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984224A (zh) * | 2018-06-13 | 2018-12-11 | 中国平安人寿保险股份有限公司 | 一种插件管理方法、计算机可读存储介质及终端设备 |
CN109032651A (zh) * | 2018-08-24 | 2018-12-18 | 深圳创维-Rgb电子有限公司 | 应用更新方法、智能终端及计算机可读存储介质 |
CN109032651B (zh) * | 2018-08-24 | 2022-06-10 | 深圳创维-Rgb电子有限公司 | 应用更新方法、智能终端及计算机可读存储介质 |
CN114579326A (zh) * | 2020-12-01 | 2022-06-03 | 上海宝信软件股份有限公司 | 一种分布式作业调度和执行方法插件化的方法及*** |
CN113282347A (zh) * | 2021-05-24 | 2021-08-20 | 挂号网(杭州)科技有限公司 | 插件运行方法、装置、设备及存储介质 |
CN113778554A (zh) * | 2021-09-01 | 2021-12-10 | 粒子文化科技集团(杭州)股份有限公司 | 插件处理方法、电子装置和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN106034070A (zh) | 2016-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016145747A1 (zh) | 智能网关的功能插件管理方法、客户端及*** | |
CN107924411B (zh) | 一种事务***中ui状态的恢复的方法和*** | |
US8117297B2 (en) | System and method of device-to-server registration | |
US10462018B2 (en) | Managing a number of secondary clouds by a master cloud service manager | |
JP4546528B2 (ja) | 移動通信装置の管理をウェブブラウジングに統合する方法、システム、装置およびプログラム | |
US7596620B1 (en) | System and method for developing, deploying, managing and monitoring a web application in a single environment | |
CA2480821C (en) | Connector gateway | |
US8060557B2 (en) | Application services gateway | |
US8880678B1 (en) | System and method for managing and monitoring a web application using multiple cloud providers | |
EP2012229B1 (en) | Mobile provisioning tool system | |
CN102413022B (zh) | 一种应用调试方法和*** | |
KR101850879B1 (ko) | 서비스 인에이블러 기능 | |
JP2008511049A5 (zh) | ||
JP2010517156A (ja) | モバイル環境およびデスクトップ環境におけるソフトウェアの読み込み方法 | |
US20230205503A1 (en) | Method for dynamically integrating application programs, and software system and machine using the same | |
US20020069262A1 (en) | Extendable provisioning mechanism for a service gateway | |
WO2013134813A1 (en) | A method and system of application development for multiple device client platforms | |
KR20110053819A (ko) | 페어 플레이 서비스 제공 방법 및 장치 | |
US11411812B2 (en) | Dynamic service creation for microservice-based integration service | |
JP2010521019A (ja) | モバイル環境およびデスクトップ環境におけるデバイスの識別方法 | |
US20050160155A1 (en) | Method and apparatus for dynamic rendering of services | |
JP2013535736A (ja) | 端末管理パッケージを提供する装置及び前記端末管理パッケージを受信する方法 | |
CN102137058B (zh) | 一种基于tab页的页面访问方法和装置 | |
JP5680599B2 (ja) | サービス退会時におけるアプリケーションプログラムのアンインストール方法、システム、端末及びプログラム | |
Tsunoda et al. | Dynamically updatable UPnP service for device role management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15885130 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15885130 Country of ref document: EP Kind code of ref document: A1 |