WO2013170801A1 - 设备管理方法及装置 - Google Patents

设备管理方法及装置 Download PDF

Info

Publication number
WO2013170801A1
WO2013170801A1 PCT/CN2013/077604 CN2013077604W WO2013170801A1 WO 2013170801 A1 WO2013170801 A1 WO 2013170801A1 CN 2013077604 W CN2013077604 W CN 2013077604W WO 2013170801 A1 WO2013170801 A1 WO 2013170801A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
web
configuration file
resources
resource
Prior art date
Application number
PCT/CN2013/077604
Other languages
English (en)
French (fr)
Inventor
季冬
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP13791357.0A priority Critical patent/EP2897053B1/en
Priority to US14/434,235 priority patent/US9686345B2/en
Publication of WO2013170801A1 publication Critical patent/WO2013170801A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the present invention relates to the field of communications, and in particular to a device management method and apparatus. Background technique
  • the field of communication is changing with each passing day, the use of mobile terminals is gradually becoming popular, and the types of devices are endless, such as feature phones, smart phones, tablets, and various standard data cards.
  • the customer needs the user interface management module on the terminal side to implement the interaction between the device and the terminal side, including data synchronization, data backup, or more convenient operation of the device on the terminal.
  • the user interface management modules on the terminal side in the related art are mainly classified into two types: a personal computer user interface (PC UI) and a user equipment management application (WEB User Interface, WEB UI).
  • WEB UI has gradually replaced the PC UI with its easy development and flexibility, but they all only apply to the shortcomings of a single device. If there are multiple devices in the user, the management software of the PC UI must be installed multiple times, and the WEB UI exists in the device and does not need to be installed. However, the styles and operation modes of the WEB UI included in different devices are very large. The difference is not conducive to the user's use. For developers, multiple versions of the two types of user interface management modules need to be maintained, resulting in increased workload and reduced reusability.
  • the present invention provides a device management method and apparatus to solve the problem that a WEB UI of a terminal cannot be compatible with multiple devices.
  • a device management method including:
  • the terminal detects the access of the device
  • the terminal generates a user equipment management application WEB UI corresponding to the device according to the configuration file corresponding to the device.
  • the user equipment management application WEB UI corresponding to the device is generated by the terminal according to the configuration file corresponding to the device, including:
  • the terminal searches for a configuration file corresponding to the device from the resource;
  • the terminal 4 generates a WEB UI corresponding to the device according to the configuration file.
  • the user equipment management application WEB UI corresponding to the device is generated by the terminal according to the configuration file corresponding to the device, including:
  • the WEB UI of the terminal supports the device, searching for a configuration file corresponding to the device from an existing resource of the terminal;
  • the terminal generates a WEB UI corresponding to the device according to the configuration file.
  • the downloading the resources supporting the device from the device includes:
  • the terminal receives the resource sent by the device in response to the request, and saves the resource in its web server Web Server.
  • the method further includes:
  • the terminal When the user sets the parameters of the device in the WEB UI of the terminal, the terminal sends a synchronization request to the device, and notifies the device to set corresponding parameters.
  • the method further includes: The terminal dynamically loads the required resources and logical processing portions of the page according to the operation of the user and the configuration file, and generates a corresponding page menu.
  • a device management device includes:
  • a detecting module configured to detect access of the device
  • the generating module is configured to generate a user equipment management application WEB UI corresponding to the device according to the configuration file corresponding to the device.
  • the device further includes:
  • a downloading module configured to download, from the device, a resource that supports the device, if the WEB UI of the terminal does not support the device;
  • a searching module configured to search, from the resource, a configuration file corresponding to the device.
  • the searching module is further configured to: when the WEB UI of the terminal supports the device, search for a configuration file corresponding to the device from an existing resource of the terminal.
  • the device further includes:
  • the transceiver module is configured to send a request for acquiring the resource to the device, and receive the server.
  • the terminal After the terminal detects the access of the device, the terminal generates a WEB UI of the user equipment management application corresponding to the device according to the configuration file corresponding to the device, and solves the problem that the WEB UI of the terminal cannot be compatible with the WEB UI of multiple devices. Furthermore, the effect that the terminal can adapt to the WEB UI of a plurality of devices is achieved.
  • FIG. 1 is a flowchart of a device management method according to an embodiment of the present invention.
  • FIG. 2 is a structural block diagram of a device management apparatus according to an embodiment of the present invention.
  • FIG. 3 is a flowchart 1 of a device management method according to a preferred embodiment of the present invention.
  • FIG. 4 is a second flowchart of a device management method according to a preferred embodiment of the present invention
  • FIG. 5 is a third flowchart of a device management method in accordance with a preferred embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a device management method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 The terminal detects access of the device.
  • Step S104 The terminal generates a user equipment management application corresponding to the device according to the configuration file corresponding to the device.
  • the PC UI needs to be installed multiple times or each device uses its own WEB UI, thereby solving the problem that the WEB UI of the terminal cannot be compatible with multiple devices.
  • the problem of the UI has the beneficial effect that the terminal can adapt to the WEB UI of a plurality of devices.
  • Method 1 When the WEB UI of the terminal does not support the device, download the resources supporting the device from the device. The downloaded resource searches for a configuration file corresponding to the device, and the terminal generates a WEB UI corresponding to the device according to the configuration file.
  • the configuration file corresponding to the device is searched from the existing resources of the terminal, and the terminal generates a WEB UI corresponding to the device according to the configuration file.
  • the terminal can quickly and accurately obtain related resources of the device, and then quickly find the configuration file of the device from the resource.
  • the terminal may send a request for acquiring the resource to the device, and the terminal receives the device response to the request.
  • the received resource is saved in its web server Web Server.
  • the terminal saves related resources in the Web Server for use by the WEB UI.
  • the terminal may send a synchronization request to the device, and notify the device to set corresponding parameters.
  • device parameter synchronization on the terminal side and the device side can be achieved.
  • the required resources and logical processing portions of the page can be dynamically loaded according to the operation of the user and the configuration file of the device, and a corresponding page menu is generated.
  • the page can be dynamically loaded, thereby realizing the effect that the WEB UI of the terminal is compatible with the WEB UI of multiple devices.
  • the embodiment of the present invention further provides a device management device, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
  • the term "module” can implement a combination of software and/or hardware for a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable.
  • the apparatus includes: a detection module 202, and a generation module 204.
  • the detecting module 202 is configured to detect access of the device
  • the generating module 204 is configured to generate a user equipment management application WEB UI corresponding to the device according to the configuration file corresponding to the device.
  • the device further includes: a downloading module 206, configured to download a resource supporting the device from the device if the WEB UI of the terminal does not support the device; and the searching module 208 is configured to download the resource from the device Find the configuration file that corresponds to the device.
  • a downloading module 206 configured to download a resource supporting the device from the device if the WEB UI of the terminal does not support the device
  • the searching module 208 is configured to download the resource from the device Find the configuration file that corresponds to the device.
  • the searching module 208 is further configured to: when the WEB UI of the terminal supports the device, Find the configuration file corresponding to the device from the existing resources of the terminal.
  • the device further includes: a transceiver module 210, configured to send a request for acquiring a resource to the device, and save the resource in the web server Web Server when receiving the resource sent by the device in response to the request.
  • a transceiver module 210 configured to send a request for acquiring a resource to the device, and save the resource in the web server Web Server when receiving the resource sent by the device in response to the request.
  • the components in the device can be combined with each other to complete the corresponding functions according to the method described in the first embodiment, and have the same beneficial effects. .
  • FIG. 3 is a flowchart 1 of a device management method according to a preferred embodiment of the present invention.
  • a terminal uses a PC as an example.
  • the method includes the following steps:
  • Step S302 detecting access of the device.
  • the Web UI is deployed on the PC side.
  • the PC detects the access of the device.
  • Step S304 determining whether the Web UI supports the device.
  • the PC detects the type of the device through the generic api interface provided by the Webserver in the device to confirm whether the current Web UI supports the device. If yes, go to step S308, otherwise go to step S306.
  • Step S306 downloading resources of the device.
  • the PC local webserver initiates a request for obtaining the resource, downloads the additional resource package required by the device, and saves the downloaded resource package to the local Web server. Under the deployment directory.
  • Step S308 generating a page menu according to the configuration file.
  • the configuration file corresponding to the device is searched from the downloaded resource package or the existing resource package of the PC, and the configuration file is loaded, and then the page is dynamically generated according to the configuration file and the resource package. menu.
  • Step S310 setting the synchronization parameter.
  • the user clicks on a different menu of the Web UI the required resources and logical processing parts of the page are dynamically loaded.
  • the PC local Web server forwards the synchronization request to the device, notifies the device, and the user modifies the parameters of the device.
  • the device modifies the corresponding parameters on the device side to take effect.
  • the devices in this embodiment may be different types of terminal devices. When different devices are inserted, the above steps are followed, so multiple different devices can be managed on the terminal side.
  • FIG. 4 is a second flowchart of a device management method according to a preferred embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
  • Step S402 acquiring device related information.
  • the terminal After the device accesses the terminal, the terminal performs detection according to the type of the device, and obtains related information of the device, such as the name and type of the device.
  • Step S404 acquiring a resource.
  • the device If the terminal detects that the device is not supported, the device sends a request for acquiring the resource to obtain the corresponding resource of the device, and saves the downloaded resource to the local Web server, so that the terminal reaches the state of the supported device.
  • This resource contains information about devices such as configuration files.
  • the related resources such as the configuration file of the device already exist in the Webserver of the terminal, and no additional download is required.
  • Step S406 generating page configuration information.
  • the terminal obtains the path of the device configuration file according to the device type, then loads the configuration file and organizes the page according to the information in the configuration file, such as menu configuration information, theme configuration information, and the like.
  • Step S408 dynamically generating a menu and/or a page according to the user's operation.
  • the menu is dynamically generated according to the menu configuration information obtained in step S406.
  • a static page and a javascript (js) script are generated according to the menu attributes.
  • Step S410 synchronizing parameters.
  • the terminal local Webserver forwards the synchronization request to the device after receiving the synchronization request of the WEB UI, and notifies the device of the synchronization parameter setting, so that the parameter setting takes effect. For example, you can tamper with the Webserver configuration file and add forwarding rules to achieve the purpose of request forwarding, so that local dynamic requests can be forwarded to the Webserver on the device.
  • FIG. 5 is a third flowchart of a device management method according to a preferred embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
  • Step S502 the user inserts the device.
  • Step S504 checking the device type.
  • the terminal-side Webserver After the user inserts the device into the terminal, the terminal-side Webserver sends a query request to the device Webserver to check whether the terminal supports the device. If not, step S506 is performed, otherwise step S508 is performed.
  • Step S506 requesting to acquire a resource.
  • the terminal side Web server sends a resource acquisition request to the device to obtain the resources required by the device. Step S508, matching the configuration file.
  • the configuration file supporting the device is matched according to the existing resources on the terminal side or the downloaded resources.
  • the web UI is opened through a browser.
  • Step S512 generating an application menu.
  • the terminal After the user launches the Web UI, the terminal dynamically generates an application menu according to the configuration file.
  • Step S514 the user sets the device parameters.
  • Step S566 sending a synchronization request.
  • the terminal side Webserver sends a synchronization request to the device side Webserver, and sends the parameter settings to make the parameter settings take effect.
  • the embodiments of the present invention are directed to the disadvantages of current multi-device management, large maintenance cost of the developer, slow response speed, and the like, by moving the Web UI out of the device. Released to the terminal, automatically adapts to multiple types of devices, and displays different functions according to different devices, thereby taking advantage of the ease of use of the Web UI, and at the same time facilitating the user, and greatly reducing the R&D and maintenance work of the R&D personnel.
  • the utility model can reduce the cost and improve the efficiency.
  • the effects achieved by the embodiments of the present invention are as follows: multiple devices can be supported at the same time, which is convenient for the user to use; load on demand according to different functions, improve browser performance, and Different modules can be loaded according to requirements, and the customization requirements can be quickly responded.
  • the new configuration will be synchronized to the Web UI of the terminal, due to the Web.
  • the content does not need to be compiled and does not need to be installed.
  • WEB UI makes a stronger ability to adapt.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

提供一种设备管理方法及装置。该方法包括以下步骤:终端检测到设备的接入(S102);以及该终端根据该设备对应的配置文件生成与该设备相应的WEB用户接口(UI)(S104)。本发明解决了终端的WEBUI不能兼容多个设备的问题,使终端的WEB UI能够自适应多种设备。

Description

设备管理方法及装置 技术领域
本发明涉及通信领域, 具体而言, 涉及一种设备管理方法及装置。 背景技术
目前, 通讯领域日新月异, 移动终端的使用逐步普及, 设备种类层出 不穷, 如功能手机, 智能手机, 平板电脑, 各种制式数据卡。 这样, 客户 在对终端设备的使用都需要终端侧的用户界面管理模块来实现设备与终端 侧进行交互, 包括数据同步, 数据备份, 或者在终端上更方便地操作设备 等功能。
相关技术中的终端侧的用户界面管理模块主要分为两类: 个人电脑用 户界面( Personal Computer User Interface, PC UI )和用户设备管理应用( WEB User Interface, WEB UI )。 WEB UI以其易开发、 灵活性有逐渐取代 PC UI 的趋势, 但它们都只适用于单一设备的缺点。 如果用户存在多台设备时, PC UI的管理软件就要分别安装多次, 而 WEB UI虽然存在于设备中, 不需 要安装, 但是不同设备所包含的 WEB UI的风格, 操作方式都有很大的区 别, 不利于用户的使用。 对于研发人员来说, 需要维护两种类型用户界面 管理模块的多个版本, 工作量增加, 复用性降低。
针对相关技术中终端的 WEB UI只适用单一设备的问题, 目前尚未提 出有效的解决方案。 发明内容
本发明提供了一种设备管理方法及装置, 以解决终端的 WEB UI不能 兼容多个设备的问题。 一种设备管理方法, 包括:
终端检测到设备的接入;
所述终端根据所述设备对应的配置文件生成与所述设备相应的用户设 备管理应用 WEB UI。
其中, 所述终端根据所述设备对应的配置文件生成与所述设备相应的 用户设备管理应用 WEB UI包括:
在所述终端的 WEB UI不支持所述设备的情况下, 从所述设备下载支 持所述设备的资源;
所述终端从所述资源中查找与所述设备相对应的配置文件;
所述终端 4艮据所述配置文件生成与所述设备相应的 WEB UI。
其中, 所述终端根据所述设备对应的配置文件生成与所述设备相应的 用户设备管理应用 WEB UI包括:
在所述终端的 WEB UI支持所述设备的情况下, 从所述终端的已有资 源中查找与所述设备相对应的配置文件;
所述终端根据所述配置文件生成与所述设备相应的 WEB UI。
其中, 从所述设备下载支持所述设备的资源包括:
所述终端向所述设备发送获取所述资源的请求;
所述终端接收到所述设备响应所述请求而发送的资源, 并将所述资源 保存在其网页服务器 Web Server内。
其中, 所述终端根据所述设备对应的配置文件生成与所述设备相应的 用户设备管理应用 WEB UI之后, 所述方法还包括:
当用户在所述终端的 WEB UI中设置所述设备的参数时, 所述终端向 所述设备发送同步请求, 通知所述设备设置相应的参数。
其中, 所述终端根据所述设备对应的配置文件生成与所述设备相应的 用户设备管理应用 WEB UI之后, 所述方法还包括: 所述终端根据用户的操作及所述配置文件动态加载页面所需资源及逻 辑处理部分并生成相应的页面菜单。
一种设备管理装置, 包括:
检测模块, 用于检测设备的接入;
生成模块: 用于根据所述设备对应的配置文件生成与所述设备相应的 用户设备管理应用 WEB UI。
其中, 所述装置还包括:
下载模块, 用于在所述终端的 WEB UI不支持所述设备的情况下, 从 所述设备下载支持所述设备的资源;
查找模块, 用于从所述资源中查找与所述设备相对应的配置文件。 其中, 所述查找模块还用于在所述终端的 WEB UI支持所述设备的情 况下, 从所述终端的已有资源中查找与所述设备相对应的配置文件。
其中, 所述装置还包括:
收发模块, 用于向所述设备发送获取所述资源的请求, 并在接收到所 Server内。
通过本发明, 终端检测到设备的接入之后, 根据该设备对应的配置文 件生成与该设备相应的用户设备管理应用 WEB UI, 解决了终端的 WEB UI 不能兼容多个设备的 WEB UI的问题, 进而达到了终端能够自适应多种设 备的 WEB UI的效果。 附图说明
图 1是根据本发明实施例的设备管理方法的流程图;
图 2是根据本发明实施例的设备管理装置的结构框图;
图 3是根据本发明优选实施例的设备管理方法的流程图一;
图 4是根据本发明优选实施例的设备管理方法的流程图二; 图 5是根据本发明优选实施例的设备管理方法的流程图三。 具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。
实施例一
本发明实施例提供了一种设备管理方法, 图 1 是根据本发明实施例的 设备管理方法的流程图, 如图 1所示, 该流程包括以下步骤:
步骤 S102, 终端检测到设备的接入;
步骤 S104, 终端根据该设备对应的配置文件生成与该设备相应的用户 设备管理应用 WEB UL
通过上述步骤, 改变了相关技术中如果用户存在多台设备时, PC UI 需要分别多次安装或各个设备皆使用各自的 WEB UI的做法, 进而解决了 终端的 WEB UI不能兼容多个设备的 WEB UI的问题, 具有终端能够自适 应多种设备的 WEB UI的有益效果。
得到设备的配置文件的方式有很多种, 优选地, 可以有以下两种方式: 方式一: 在终端的 WEB UI不支持该设备的情况下, 从该设备下载支 持该设备的资源, 终端从所下载的资源中查找与该设备相对应的配置文件, 进而终端根据配置文件生成与设备相应的 WEB UI。
方式二, 在终端的 WEB UI支持设备的情况下, 从终端的已有资源中 查找与该设备相对应的配置文件, 进而终端根据配置文件生成与该设备相 应的 WEB UI。
通过上述步骤, 终端可以快速、 准确地得到设备的相关资源, 进而从 该资源中快速地查找到该设备的配置文件。
终端从设备侧下载设备相关的资源的方法也有很多种, 优选地, 终端 可以向该设备发送获取资源的请求, 在终端接收到该设备响应所述请求而 发送的资源的情况下, 将所接收到的资源保存在其网页服务器 Web Server 内。 通过上述步骤, 终端将相关资源保存在 Web Server内, 以供 WEB UI 使用。
如果用户通过终端的 WEB UI设置设备的某些参数, 终端可以向该设 备发送同步请求, 通知该设备设置相应的参数。 通过上述步骤, 可以实现 终端侧和设备侧的设备参数同步。
如果用户对终端的 WEB UI进行操作, 可以根据用户的操作及设备的 配置文件动态加载页面所需资源及逻辑处理部分并生成相应的页面菜单。 通过上述步骤, 可以动态地加载页面, 进而实现了终端的 WEB UI兼容多 个设备的 WEB UI的效果。
实施例二
本发明实施例还提供了一种设备管理装置, 该装置用于实现上述实施 例及优选实施方式, 已经进行过说明的不再赘述。 如以下所使用的, 术语 "模块" 可以实现预定功能的软件和 /或硬件的组合。 尽管以下实施例所描 述的装置较佳地以软件来实现, 但是硬件, 或者软件和硬件的组合的实现 也是可能并被构想的。
图 2是根据本发明实施例的设备管理装置的结构框图, 如图 2所示, 该装置包括: 检测模块 202、 生成模块 204。
检测模块 202, 用于检测设备的接入;
生成模块 204:用于根据该设备对应的配置文件生成与该设备相应的用 户设备管理应用 WEB UI。
优选地, 所述装置还包括: 下载模块 206, 用于在终端的 WEB UI不支 持该设备的情况下, 从该设备下载支持所述设备的资源; 查找模块 208, 用 于从所下载的资源中查找与设备相对应的配置文件。
优选地, 查找模块 208还用于在终端的 WEB UI支持该设备的情况下, 从终端的已有资源中查找与该设备相对应的配置文件。
优选地, 所述装置还包括: 收发模块 210, 用于向设备发送获取资源的 请求, 并在接收到该设备响应该请求而发送的资源时将该资源保存在其网 页服务器 Web Server内。
在本发明实施例的优选实施方式中, 该装置中的各个组成部分可以按 照上述实施例一所述的方法相互组合完成相应的功能, 并具有相同的有益 效果, 具体本发明实施例不再赘述。
实施例三
图 3是根据本发明优选实施例的设备管理方法的流程图一, 本实施例 终端以 PC为例, 如图 3, 该方法包括以下步骤:
步骤 S302, 检测到设备的接入。
Web UI部署在 PC侧, 当设备插入 PC时, PC检测到设备的接入。 步骤 S304, 判断 Web UI是否支持该设备。
PC通过设备中 Webserver提供的通用 api接口检测设备的类型, 从而 确认当前 Web UI是否支持该设备。 如果支持, 则执行步骤 S308, 否则执 行步骤 S306。
步骤 S306, 下载设备的资源。
如果 PC检测到当前 Web UI不支持该设备,则由 PC本地的 Webserver 向该设备发起获取资源的请求, 下载该设备所需的额外的资源包, 并将所 下载的资源包保存至本地 Webserver的部署目录下。
步骤 S308, 根据配置文件生成页面菜单。
在 PC的浏览器开启 Web UI时, 从所下载的资源包或者 PC已有的资 源包中查找到与该设备相应的配置文件并加载该配置文件, 然后根据该配 置文件以及资源包动态生成页面菜单。
步骤 S310, 同步参数的设置。 当用户点击 Web UI的不同菜单时,动态加载页面所需资源及逻辑处理 部分。 当用户在 Web UI上设置设备的参数时, PC本地 Webserver接收到 WEB UI的同步请求后, 向该设备转发该同步请求, 通知该设备, 用户修改 了设备的参数。 该设备接收到同步请求后, 修改设备侧相应的参数使其生 效。
本实施例中的设备可以是不同类型的终端设备, 当不同设备插入时, 都会遵循以上步骤, 所以在终端侧可以管理多个不同的设备。
实施例四
图 4是根据本发明优选实施例的设备管理方法的流程图二, 如图 4所 示, 该方法包括以下步骤:
步骤 S402, 获取设备相关信息。
当设备接入终端后, 终端根据该设备的类型进行检测, 获取设备的相 关信息比如设备的名称、 类型等。
步骤 S404, 获取资源。
如果终端检测到不支持该设备, 则向设备发送获取资源的请求以获取 设备的相应资源, 并将所下载的资源保存到本地 Webserver 内, 以使终端 达到支持设备的状态。 该资源中包含配置文件等设备的相关信息。
如果终端支持该设备, 则设备的配置文件等相关资源在终端的 Webserver内已存在, 不需要另外下载。
步骤 S406, 生成页面配置信息。
终端根据设备类型得到该设备配置文件的路径, 然后加载配置文件并 根据配置文件中的信息来组织页面, 比如菜单配置信息、 主题配置信息等。
步骤 S408, 根据用户的操作动态生成菜单和 /或页面。
Web UI启动后, 根据步骤 S406得到的菜单配置信息动态生成菜单, 当用户点击不同菜单时, 根据菜单属性生成静态页面及 javascript (js )脚本 文件的路径, 然后进行动态加载, 加载完成及数据初始化后, 将页面呈现 给用户。
步骤 S410, 同步参数。
用户在 Web UI上设定参数时, 终端本地 Webserver接收到 WEB UI的 同步请求后, 将该同步请求转发给该设备, 通知该设备同步参数设置, 从 而使参数设置生效。 比如, 可以通过爹改 Webserver 的配置文件, 添加转 发规则来达到请求转发的目的, 这样便可以将本地的动态请求转发到设备 中的 Webserver上。
实施例五
图 5是根据本发明优选实施例的设备管理方法的流程图三, 如图 5所 示, 该流程包括以下步骤:
步骤 S502, 用户插入设备。
步骤 S504, 检查设备类型。
用户将设备插入终端后,终端侧 Webserver向设备 Webserver发送查询 请求, 检查终端是否支持该设备。 如果不支持, 则执行步骤 S506, 否则执 行步骤 S508。
步骤 S506, 请求获取资源。
终端侧 Webserver向设备发送资源获取请求以获取设备所需的资源。 步骤 S508, 匹配配置文件。
根据终端侧已有资源或所下载的资源匹配支持该设备的配置文件。 步骤 S510, 通过浏览器打开 Web UI。
步骤 S512, 生成应用菜单。
用户启动 Web UI后, 终端根据配置文件动态生成应用菜单。
步骤 S514, 用户设置设备参数。
用户在 Web UI中设置设备参数。 步骤 S516, 发送同步请求。
终端侧 Webserver向设备侧 Webserver发送同步请求, 下发参数设定, 使参数设置生效。
从以上的描述中, 可以看出, 本发明实施例实现了如下技术效果: 本 发明实施例针对目前多设备管理难、 开发者维护成本巨大、 响应定制速度 慢等缺点, 通过将 Web UI移出设备, 发布到终端上, 自动适配多类设备, 根据不同设备展现不同的功能, 进而可以利用 Web UI易用性强的优点, 同 时方便了用户, 而且还大大减少了研发人员的研发和维护工作量, 能够减 低成本, 提高效率, 具体地说, 本发明实施例所实现的效果如下: 可以同 时支持多个设备, 方便了用户的使用; 根据不同的功能按需加载, 提高浏 览器性能, 并可以根据需求加载不同模块, 快速响应定制化需求; 对于新 种类的设备, 只要它自身 Webserver提供特定的接口, 在插入到终端上时, 会将新的配置同步到终端的 Web UI中, 由于 Web的内容不需要编译, 也 不需要安装, 这样使得 WEB UI的适应能力更强。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执 行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来 执行, 并且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的 步骤, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特 定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。

Claims

权利要求书
1、 一种设备管理方法, 包括:
终端检测到设备的接入;
所述终端根据所述设备对应的配置文件生成与所述设备相应的用户设 备管理应用 WEB UL
2、 根据权利要求 1所述的方法, 其中, 所述终端根据所述设备对应的 配置文件生成与所述设备相应的用户设备管理应用 WEB UI包括:
在所述终端的 WEB UI不支持所述设备的情况下, 从所述设备下载支 持所述设备的资源;
所述终端从所述资源中查找与所述设备相对应的配置文件;
所述终端根据所述配置文件生成与所述设备相应的 WEB UI。
3、 根据权利要求 1所述的方法, 其中, 所述终端根据所述设备对应的 配置文件生成与所述设备相应的用户设备管理应用 WEB UI包括:
在所述终端的 WEB UI支持所述设备的情况下, 从所述终端的已有资 源中查找与所述设备相对应的配置文件;
所述终端根据所述配置文件生成与所述设备相应的 WEB UI。
4、 根据权利要求 2所述的方法, 其中, 从所述设备下载支持所述设备 的资源包括:
所述终端向所述设备发送获取所述资源的请求;
所述终端接收到所述设备响应所述请求而发送的资源, 并将所述资源 保存在其网页服务器 Web Server内。
5、 根据权利要求 1至 4中任一项所述的方法, 其中, 所述终端根据所 述设备对应的配置文件生成与所述设备相应的用户设备管理应用 WEB UI 之后, 所述方法还包括:
当用户在所述终端的 WEB UI中设置所述设备的参数时, 所述终端向 所述设备发送同步请求, 通知所述设备设置相应的参数。
6、 根据权利要求 1至 4中任一项所述的方法, 其中, 所述终端根据所 述设备对应的配置文件生成与所述设备相应的用户设备管理应用 WEB UI 之后, 所述方法还包括:
所述终端根据用户的操作及所述配置文件动态加载页面所需资源及逻 辑处理部分并生成相应的页面菜单。
7、 一种设备管理装置, 包括:
检测模块, 用于检测设备的接入;
生成模块: 用于根据所述设备对应的配置文件生成与所述设备相应的 用户设备管理应用 WEB UI。
8、 根据权利要求 7所述的装置, 其中, 所述装置还包括:
下载模块, 用于在所述终端的 WEB UI不支持所述设备的情况下, 从 所述设备下载支持所述设备的资源;
查找模块, 用于从所述资源中查找与所述设备相对应的配置文件。
9、 根据权利要求 8所述的装置, 其中, 所述查找模块还用于在所述终 端的 WEB UI支持所述设备的情况下, 从所述终端的已有资源中查找与所 述设备相对应的配置文件。
10、 根据权利要求 7至 9中任一项所述的装置, 其中, 所述装置还包 括:
收发模块, 用于向所述设备发送获取所述资源的请求, 并在接收到所 Server内。
PCT/CN2013/077604 2012-10-10 2013-06-20 设备管理方法及装置 WO2013170801A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13791357.0A EP2897053B1 (en) 2012-10-10 2013-06-20 Device management method and apparatus
US14/434,235 US9686345B2 (en) 2012-10-10 2013-06-20 Device management method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210382209.XA CN102929835B (zh) 2012-10-10 2012-10-10 设备管理方法及装置
CN201210382209.X 2012-10-10

Publications (1)

Publication Number Publication Date
WO2013170801A1 true WO2013170801A1 (zh) 2013-11-21

Family

ID=47644636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/077604 WO2013170801A1 (zh) 2012-10-10 2013-06-20 设备管理方法及装置

Country Status (4)

Country Link
US (1) US9686345B2 (zh)
EP (1) EP2897053B1 (zh)
CN (1) CN102929835B (zh)
WO (1) WO2013170801A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929835B (zh) * 2012-10-10 2018-03-27 中兴通讯股份有限公司 设备管理方法及装置
WO2015199462A1 (en) * 2014-06-27 2015-12-30 Samsung Electronics Co., Ltd. Method and apparatus for providing quality of service for web-based real-time communication
US9747097B2 (en) * 2014-09-30 2017-08-29 Qardio, Inc. Devices, systems and methods for segmented device behavior
JP6358063B2 (ja) * 2014-12-02 2018-07-18 富士通株式会社 要求送信方法、情報処理装置、及びプログラム
CN106209934A (zh) * 2015-04-30 2016-12-07 西门子瑞士有限公司 火灾报警系统中的控制装置及其配置方法
CN106557336A (zh) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 一种网页加载方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436195A (zh) * 2008-10-30 2009-05-20 东软集团股份有限公司 在Web用户界面中生成资源访问入口的方法及系统
US20090320098A1 (en) * 2008-06-19 2009-12-24 Microsoft Corporation Hosted network device user interface
CN101895582A (zh) * 2010-07-15 2010-11-24 北京邮电大学 一种支持web业务和多浏览器的sip软终端及其工作方法
CN102385523A (zh) * 2011-10-12 2012-03-21 中山爱科数字科技有限公司 一种云操作系统的驱动安装和管理方法
CN102929835A (zh) * 2012-10-10 2013-02-13 中兴通讯股份有限公司南京分公司 设备管理方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7889869B2 (en) * 2004-08-20 2011-02-15 Nokia Corporation Methods and apparatus to integrate mobile communications device management with web browsing
US20070093243A1 (en) * 2005-10-25 2007-04-26 Vivek Kapadekar Device management system
US20080065753A1 (en) * 2006-08-30 2008-03-13 Rao Bindu R Electronic Device Management
KR101259118B1 (ko) * 2007-02-23 2013-04-26 엘지전자 주식회사 방송 신호 송신 장치 및 방법
US8370471B2 (en) * 2007-05-10 2013-02-05 Research In Motion Limited System and method for device management
CN101222721B (zh) * 2008-01-30 2012-07-11 中兴通讯股份有限公司 通过客户端软件实现终端设备数据维护的方法
US7865573B2 (en) * 2008-05-29 2011-01-04 Research In Motion Limited Method, system and devices for communicating between an internet browser and an electronic device
US8635313B2 (en) 2008-06-19 2014-01-21 Microsoft Corporation Network device installation
US20100180204A1 (en) 2009-01-13 2010-07-15 Alok Mathur System and method for import and export of color customization of a document processing device
JP5377235B2 (ja) 2009-01-28 2013-12-25 キヤノン株式会社 情報配信装置、情報配信方法、及びコンピュータプログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090320098A1 (en) * 2008-06-19 2009-12-24 Microsoft Corporation Hosted network device user interface
CN101436195A (zh) * 2008-10-30 2009-05-20 东软集团股份有限公司 在Web用户界面中生成资源访问入口的方法及系统
CN101895582A (zh) * 2010-07-15 2010-11-24 北京邮电大学 一种支持web业务和多浏览器的sip软终端及其工作方法
CN102385523A (zh) * 2011-10-12 2012-03-21 中山爱科数字科技有限公司 一种云操作系统的驱动安装和管理方法
CN102929835A (zh) * 2012-10-10 2013-02-13 中兴通讯股份有限公司南京分公司 设备管理方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2897053A4 *

Also Published As

Publication number Publication date
US20150264108A1 (en) 2015-09-17
US9686345B2 (en) 2017-06-20
CN102929835B (zh) 2018-03-27
CN102929835A (zh) 2013-02-13
EP2897053A4 (en) 2015-12-09
EP2897053A1 (en) 2015-07-22
EP2897053B1 (en) 2019-01-16

Similar Documents

Publication Publication Date Title
Taivalsaari et al. Liquid software manifesto: The era of multiple device ownership and its implications for software architecture
CN102819461B (zh) 桌面同步方法、装置、设备及系统
CN104965848B (zh) 一种前端资源加载方法及装置
WO2013170801A1 (zh) 设备管理方法及装置
CN103269396B (zh) 一种对移动终端进行管理的方法和系统
CN102355500B (zh) 业务推送方法和装置
TW201441829A (zh) 頁面處理方法和裝置以及頁面生成方法和裝置
JP2009087361A (ja) コンポーネントベースの無線アプリケーションを作成して同アプリケーションと通信するためのシステム及び方法
US10089152B1 (en) Using scripts to bootstrap applications with metadata from a template
CN107463657B (zh) 文件操作方法及终端
CN103699635B (zh) 信息处理方法和装置
CN110968331B (zh) 应用程序运行的方法和装置
CN106776917B (zh) 一种获取资源文件的方法和装置
CN106339237A (zh) 针对JavaEE领域WEB应用的插件加载框架及方法
US20130124693A1 (en) System, method, and device for executing a composite service
CN104636122A (zh) 一种能力组件的共享方法和设备
O'Sullivan et al. The cloud personal assistant for providing services to mobile clients
CN111953718B (zh) 一种页面调试方法和装置
CN103917951B (zh) 应用调用的方法及操作系统、浏览器
CN103631621A (zh) 一种信息提示方法及装置
CN104182331A (zh) 浏览器性能测试方法、系统及终端
CN103793459B (zh) 一种网页打开方法及装置
US20120117258A1 (en) Techniques to deploy and undeploy content to and from web servers
CN112383617B (zh) 进行长连接的方法、装置、终端设备以及介质
CN110324345B (zh) 服务器的登陆方法、装置、存储介质及终端

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: 13791357

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14434235

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013791357

Country of ref document: EP