[go: up one dir, main page]

WO2012034486A1 - 一种家庭网络中应用终端的软件安装和升级方法及系统 - Google Patents

一种家庭网络中应用终端的软件安装和升级方法及系统 Download PDF

Info

Publication number
WO2012034486A1
WO2012034486A1 PCT/CN2011/079408 CN2011079408W WO2012034486A1 WO 2012034486 A1 WO2012034486 A1 WO 2012034486A1 CN 2011079408 W CN2011079408 W CN 2011079408W WO 2012034486 A1 WO2012034486 A1 WO 2012034486A1
Authority
WO
WIPO (PCT)
Prior art keywords
application terminal
software
response
home gateway
installation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2011/079408
Other languages
English (en)
French (fr)
Inventor
于艳玲
李长春
王志军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to MYPI2012700903A priority Critical patent/MY183744A/en
Priority to RU2012144530/08A priority patent/RU2549126C2/ru
Publication of WO2012034486A1 publication Critical patent/WO2012034486A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the invention relates to software installation and upgrade of an application terminal in a home network, in particular to a software installation and upgrade method and system for an application terminal in a home network.
  • the home network is a family information platform that integrates the home control network and the multimedia information network. It is the interconnection and management of application terminals such as information equipment, communication equipment, entertainment equipment, household appliances, automation equipment, and lighting equipment in the family. And a system for sharing data and multimedia information, which provides users with a comprehensive, easy-to-use, convenient and fast integrated service.
  • the application terminal for example, a PC
  • accesses the home network through a home gateway for example, an HG220 type home gateway manufactured by Fiberhome Communications Inc.
  • the home gateway is an interface between the home network and the external public network, and implements an interface between the application terminal and the external public network. Communicate with each other to provide access and control functions for various home network services.
  • the application terminal accesses the home gateway, it is necessary to install the corresponding application or driver to fully enjoy the diversified services provided by the home network. Under the premise of not causing confusion, the following application or driver is simply referred to as software.
  • the first is to use the way to install the installation/upgrade disc to the user.
  • This method requires the manufacturer to release the corresponding installation CD.
  • the user needs to reinstall the CD for each application terminal.
  • the CD is lost or damaged, the user cannot use the application normally. terminal.
  • the manufacturer needs to release the upgrade CD again, which greatly increases the hardware cost of the manufacturer.
  • the second is to download the installation package/upgrade package from the Internet.
  • This method first requires the user to obtain the software download address, and then open several web pages in turn, using some sort of download tool to complete the download, installation and upgrade, and any one of the link errors will cause the installation process to fail. This method requires higher user network application capabilities.
  • the third is to use the application terminal self-installation and self-starting mode.
  • the method is described in detail in the patent application file No. 200710145122.X, the terminal device self-installation and self-starting system and method, and the terminal device described in the patent application file is the application terminal described in the present invention.
  • This method requires the application terminal to bring its own storage device for storing the software to be installed. After the application terminal accesses the host, it acts as a drive and runs automatically.
  • the method requires the application terminal to automatically install the software, and the general application terminal generally does not have the function; at the same time, the software stored in the application terminal is a single version, and cannot be updated as the application scenario changes, that is, the software upgrade cannot be performed.
  • the fourth method is to use the application terminal to initiate a version upgrade request to the version server or the version server to send an upgrade request to the application terminal.
  • This method is described in detail in the patent application file No. 200910076344.X, "A Method and System for Implementing Home Gateway Upgrade.”
  • This method can implement the version upgrade of the application terminal, but the premise is that the software has been installed on the application terminal, that is, the automatic installation of the software cannot be performed.
  • the present invention aims to provide a software installation and upgrade method and system for an application terminal in a home network, which solves the problem of low timeliness, high cost, and application capability to a user network in the prior art and method.
  • the requirements are high and cannot be combined with the lack of software installation and upgrade.
  • a software installation and upgrade method for an application terminal in a home network characterized in that the method comprises the following steps:
  • Step 1001 The application terminal is powered on, and is connected to the home gateway through a network, where the application terminal network is configured to automatically obtain an IP address;
  • Step 1002 The home gateway has a DHCP network service function, and automatically allocates an IP address for the application terminal accessed after the power-on;
  • Step 1003 The home gateway acquires an application terminal attribute and determines a software name and a software version number to be installed according to the attribute;
  • Step 1004 The home gateway sends a software installation query request to the application terminal, starts a timer to time, and waits for a response of the application terminal.
  • the software installation query request includes at least a software version number, and the software version number in the request is a software version number of the software to be installed stored in the home gateway;
  • Step 1005 the home gateway determines whether the application terminal receives a response to the software installation query request before the timer expires, if received, executes 1006; otherwise, executes 1009;
  • the home gateway determines whether the response of the application terminal is legal, that is, whether the response of the application terminal includes the application terminal type, the software name, the software version number, and the application terminal IP address information, and the software version number in the response refers to the currently installed.
  • the software version number of the software in the application terminal
  • Step 1007 the home gateway determines whether the software version number in the software installation query request is newer than the software version number in the response, and if yes, executes 1008;
  • Step 1008 The home gateway sends a version upgrade request to the application terminal, where the version upgrade request message carries the application terminal type, the software name requested to be upgraded, the software version number of the software currently installed by the application terminal, and the IP address of the application terminal; ;
  • Step 1009 The home gateway sends a version installation request to the application terminal, where the version installation request message carries the application terminal type, the software name requested to be installed, the software version number of the software currently installed by the application terminal, and the IP address of the application terminal; ;
  • Step 1010 The request sent by the home gateway to the application terminal is presented on the application terminal in a pop-up manner to prompt the user, and the application terminal performs an installation operation, an upgrade operation, or a cancel operation according to an instruction input by the user.
  • the application terminal installs a software monitoring program at the same time as the software is installed for the first time, and is used for receiving a query request sent by the home gateway to the application terminal and sending a response.
  • the request and response of the installation software is a private communication protocol based on an Ethernet protocol or a wireless local area network protocol.
  • the private communication protocol is a UDP packet carrying related information.
  • the request message carries the type of the application terminal, the name of the software to be installed, the current version number of the software to be installed, and the IP address of the application terminal;
  • the response message carries the type of the application terminal, the name of the software requested to be installed, the version number of the installed software, and the local IP address.
  • a software installation and upgrade system for an application terminal in a home network for the above method comprising: an application terminal 20 connected to the home gateway 10 by wire or wirelessly,
  • the home gateway 10 includes:
  • the network service module 11 is configured to allocate a network address and network access after the application terminal powers on the home gateway;
  • the storage module 12 is configured to store software, software name, and version information that are required to be installed by the application terminal;
  • the query module 13 is configured to send the software query request to the application terminal 20 by the home gateway 10;
  • the response module 14 is configured to receive a query response returned by the application terminal 20;
  • the comparison judging module 15 is configured to compare the software version in the response with the current software version. When the current version is newer than the response version, the comparison judgment result is provided to the upgrade module, otherwise, the exit is performed;
  • the timing module 16 is started after the sending module sends the query request, and is terminated after the response module receives the response, and is used to determine whether the response of the application terminal 20 is received within the specified time. If yes, the comparison judgment module is started, otherwise the installation is started. Module
  • the installation module 17 is configured to send a software installation request to the application terminal, and provide the required installation software to the application terminal;
  • the upgrade module 18 is configured to send a software upgrade request to the application terminal, and provide the software that needs to be upgraded to the application terminal;
  • the application terminal 20 includes:
  • the receiving module 21 is installed at the same time that the application terminal 20 automatically installs the software for the first time, and is used to query the software of the subsequent receiving home gateway 10 and send a response;
  • the upgrade module 23 is configured to perform a software upgrade operation.
  • the software installation and upgrade method and system for the application terminal in the home network automatically detect the software status on the application terminal by using a private communication protocol between the home gateway and the application terminal in the home network, and the home gateway applies to the application according to requirements.
  • the terminal transmits software data to implement software installation or upgrade of the application terminal in the home network; reduces the complexity of the user's use of the home network, reduces the maintenance cost of the operator, and enables the user to obtain a better intelligent home network experience.
  • Figure 1 is a flow chart of the method of the present invention
  • Figure 2 is a schematic view showing the structure of the system of the present invention.
  • a software installation and upgrade method and system for an application terminal in a home network includes the following steps:
  • Step 1001 The application terminal is powered on and connected to the home gateway through a network (wired connection or wireless connection), and the application terminal network is configured to automatically obtain an IP address; for example, the application terminal is powered on, through an Ethernet interface or a WLAN.
  • the interface is connected to the home gateway, and the network connection mode is configured as DHCP.
  • Step 1002 The home gateway has a DHCP network service function, and automatically allocates an IP address for the application terminal accessed after the power-on;
  • Step 1003 The home gateway acquires an application terminal attribute and determines a software name and a software version number to be installed according to the attribute thereof; the application terminal attribute may also be referred to as an application terminal type, and the two are the same concept;
  • Step 1004 The home gateway sends a software installation query request to the application terminal, starts a timer for timing, and waits for a response of the application terminal.
  • the software installation query request includes at least a software version number, and the software version number in the request is stored in the The software version number of the software to be installed in the home gateway; for example, the application terminal initiates a DHCP request, and the home gateway detects the DHCP request, assigns an IP address to the application terminal, and considers that the application terminal accesses, and automatically initiates installation of the software to the application terminal.
  • Step 1005 the home gateway determines whether the application terminal receives a response to the software installation query request before the timer expires, if received, executes 1006; otherwise, executes 1009;
  • the home gateway determines whether the response of the application terminal is legal, that is, whether the response of the application terminal includes the application terminal type, the software name, the software version number, and the application terminal IP address information, and the software version number in the response refers to the currently installed.
  • the software version number of the software in the application terminal
  • Step 1007 the home gateway determines whether the software version number in the software installation query request is newer than the software version number in the response, and if yes, executes 1008;
  • the home gateway compares the software version number of the software installed in the application terminal with the software version number of the software to be installed stored in the home gateway, and the software version number of the software to be installed is updated.
  • the software version number of the software to be installed is updated.
  • an upgrade operation is performed, and the software name is used to confirm whether the software corresponding to the two software version numbers is the same, to avoid comparison errors;
  • Step 1008 The home gateway sends a version upgrade request to the application terminal, where the version upgrade request message carries the application terminal type, the software name requested to be upgraded, the software version number of the software currently installed by the application terminal, and the IP address of the application terminal;
  • the software version number information of the software currently installed by the application terminal in this step can be used for the application terminal to compare the version information of the installed software again to avoid the wrong upgrade operation;
  • Step 1009 The home gateway sends a version installation request to the application terminal, where the version installation request message carries the application terminal type, the software name requested to be installed, the software version number of the software currently installed by the application terminal, and the IP address of the application terminal; ; if there is no response, it will be processed according to the first installation, and no upgrade operation will be performed;
  • Step 1010 The request sent by the home gateway to the application terminal is presented on the application terminal in a pop-up manner to prompt the user, and the application terminal performs an installation operation, an upgrade operation, or a cancel operation according to an instruction input by the user.
  • the home gateway receives the response of the application terminal, the timer is terminated, and the software version number of the installed software is obtained from the response, and the software version number in the request and response is compared.
  • the application terminal sends a version upgrade request, and a prompt for upgrading is popped up on the application terminal human-computer interaction interface.
  • the technical platform such as WEB mode, application mode
  • programming language environment such as Java virtual machine, HTML language, ASP language, etc.
  • the software installation request is sent to the application terminal, and a prompt for installation is popped up on the application terminal human-computer interaction interface.
  • the application terminal performs software installation, upgrade, or exit operation according to user input.
  • the software required for installation and upgrade is stored on the home gateway.
  • the application terminal installs a software monitoring program at the same time as the software is installed for the first time, and is used for receiving a query request sent by the home gateway to the application terminal and sending a response.
  • the request and response of the installation software is a private communication protocol based on an Ethernet protocol or a wireless local area network protocol, and the private communication protocol is a UDP packet carrying related information. But it is not limited to this.
  • the request message carries the type of the application terminal, the name of the software to be installed, the current version number (software version number) of the software to be installed, and the IP address of the application terminal;
  • the response message carries the type of the application terminal, the name of the software requested to be installed, the version number (software version number) of the installed software, and the local IP address.
  • the local IP address refers to the local IP address of the application terminal.
  • the present invention further provides a system for installing and upgrading software for an application terminal in a home network, including connecting to the home gateway 10 by wire or wirelessly.
  • Application terminal 20 which is characterized by:
  • the home gateway 10 includes:
  • the network service module 11 is configured to allocate a network address and network access after the application terminal powers on the home gateway;
  • the storage module 12 is configured to store software, software name, and version information that are required to be installed by the application terminal;
  • the query module 13 is configured to send the software query request to the application terminal 20 by the home gateway 10;
  • the response module 14 is configured to receive a query response returned by the application terminal 20;
  • the comparison judging module 15 is configured to compare the software version in the response with the current software version. When the current version is newer than the response version, the comparison judgment result is provided to the upgrade module, otherwise, the exit is performed;
  • the timing module 16 is started after the sending module sends the query request, and is terminated after the response module receives the response, and is used to determine whether the response of the application terminal 20 is received within the specified time. If yes, the comparison judgment module is started, otherwise the installation is started. Module
  • the installation module 17 is configured to send a software installation request to the application terminal, and provide the required installation software to the application terminal;
  • the upgrade module 18 is configured to send a software upgrade request to the application terminal, and provide the software that needs to be upgraded to the application terminal;
  • the application terminal 20 includes:
  • the receiving module 21 is installed at the same time that the application terminal 20 automatically installs the software for the first time, and is used to query the software of the subsequent receiving home gateway 10 and send a response;
  • the upgrade module 23 is configured to perform a software upgrade operation.
  • the home gateway 10 After the application terminal 20 accesses, the home gateway 10 initiates a software query request to the application terminal 20, and initiates a software installation or upgrade request to the application terminal 20 after the query, and the application terminal 20 performs an installation or upgrade operation of the software according to the user input.
  • the method of the invention Compared with the manner of issuing the installation/upgrade disc to the user or requiring the user to download the installation package/upgrade package from the Internet, the method of the invention has low user participation requirement, low software installation and upgrade cost, convenient software upgrade and high timeliness. .
  • the method of the invention can not only realize the self-installation and self-starting of the software, but also realize the automatic upgrade function of the software.
  • the method of the present invention not only realizes automatic upgrade, but also solves the requirement that the application terminal must pre-install the driver software, and realizes The automatic installation and upgrade of the software is performed without the driver software being pre-installed on the application terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本发明涉及一种家庭网络中应用终端的软件安装和升级方法及系统,应用终端上电,接入家庭网关;家庭网关自动向应用终端发送软件查询请求,并启动定时器等待应用终端发送的响应;超时未收到响应,则向应用终端发送软件安装请求;在超时前收到响应且响应中版本号较低时,则向应用终端发送软件升级请求;应用终端根据用户输入,执行软件安装或升级操作。本发明利用家庭网络中的家庭网关与应用终端之间的私有通信协议自动检测应用终端上的软件状态,家庭网关根据需要向应用终端传送软件数据,从而实现家庭网络中的应用终端的软件安装或升级;降低用户使用家庭网络的复杂度,降低运营商维护成本,同时使用户得到更好的智能家庭网络体验。

Description

一种家庭网络中应用终端的软件安装和升级方法及系统 技术领域
本发明涉及家庭网络中的应用终端的软件安装和升级,具体说是一种家庭网络中应用终端的软件安装和升级方法及系统。
背景技术
家庭网络是融合家庭控制网络和多媒体信息网络于一体的家庭信息化平台,是在家庭范围内实现信息设备、通信设备、娱乐设备、家用电器、自动化设备、照明设备等应用终端的互连和管理,以及数据和多媒体信息共享的系统,它为用户提供合适、易用、方便、快捷的综合业务。应用终端(例如PC机)通过家庭网关(例如烽火通信公司生产的HG220型家庭网关)接入家庭网络,家庭网关是家庭网络与外部公网的接口,它实现应用终端与外部公网之间的相互通信,为各种家庭网络业务提供接入和控制功能。
应用终端接入家庭网关后,需要安装相应的应用程序或者驱动程序才能充分享受到家庭网络提供的多样化服务,在不引起混淆的前提下,以下将应用程序或者驱动程序均简称为软件。
现有技术中软件的安装和升级方法一般有四种:
一是采用向用户发放安装/升级光盘的方式。该方式要求厂商发布相应的安装光盘,在首次使用时从光盘安装软件,用户每换一台应用终端都需要重新安装该光盘,而当该光盘丢失、损坏的时候,则造成用户无法正常使用应用终端。而当该软件需要升级时,需要厂商再次发布升级光盘,该方式大大的增加了厂商的硬件成本。
二是采用从因特网上下载安装包/升级包的方式。该方式首先需要用户获取软件下载地址,依次打开几个网页,使用某种下载工具,才能完成下载、安装和升级,而其中任何一个环节错误都会导致安装过程失败。该方式对用户的网络应用能力要求较高。
三是采用应用终端自安装及自启动方式。该方式在专利号为200710145122.X的专利申请文件《终端设备自安装及自启动系统及方法》中有详细说明,该专利申请文件中所述的终端设备即本发明中所述的应用终端。该方式要求应用终端自带存储设备用于存储所需安装的软件,应用终端接入主机后表现为驱动器,并且自动运行。该方式要求应用终端自存储安装软件,而普通应用终端一般不具有该功能;同时应用终端存储的软件为单一版本,不能随着应用场景的变化而实现更新,即无法进行软件升级。
四是采用应用终端向版本服务器发起版本升级请求或者版本服务器向应用终端下发升级请求的方式。该方式在专利号为200910076344.X的专利申请文件《一种实现家庭网关升级的方法和系统》中有详细说明。该方式可实现应用终端的版本升级,但是前提是应用终端上已经安装了软件,即无法进行软件的自动安装。
发明内容
针对现有技术中存在的缺陷,本发明的目的在于提供一种家庭网络中应用终端的软件安装和升级方法及系统,解决现有技术和方法中时效性低、成本高、对用户网络应用能力要求高、不能同时兼顾软件安装和升级的不足。
为达到以上目的,本发明采取的技术方案是:
一种家庭网络中应用终端的软件安装和升级方法,其特征在于,包括以下步骤:
步骤1001,应用终端上电启动,通过网络与家庭网关相连,所述应用终端网络配置为自动获取IP地址;
步骤1002,家庭网关具有DHCP网络服务功能,为该上电后接入的应用终端自动分配IP地址;
步骤1003,家庭网关获取应用终端属性并根据其属性确定所需安装的软件名称及软件版本号;
步骤1004,家庭网关向应用终端发送软件安装查询请求,同时启动定时器进行计时,并等待应用终端的响应,
所述软件安装查询请求中至少包括软件版本号,请求中的软件版本号是存储在家庭网关中的待安装的软件的软件版本号;
步骤1005,家庭网关判断在定时器超时前,是否收到应用终端对软件安装查询请求的响应,如果收到,执行1006;否则,执行1009;
步骤1006,家庭网关判断应用终端的响应是否合法,即判断应用终端的响应中是否包含应用终端类型、软件名称、软件版本号和应用终端IP地址信息,响应中的软件版本号是指当前已安装在应用终端中的软件的软件版本号;
如果合法,则执行1007;否则结束本流程;
步骤1007,家庭网关判断软件安装查询请求中的软件版本号是否比响应中的软件版本号新,如果是,则执行1008;
否则结束本流程;
步骤1008,家庭网关向应用终端发送版本升级请求,版本升级请求消息中携带应用终端类型、所请求升级的软件名称、应用终端当前已安装的软件的软件版本号和应用终端的IP地址;执行1010;
步骤1009,家庭网关向应用终端发送版本安装请求,版本安装请求消息中携带应用终端类型、所请求安装的软件名称、应用终端当前已安装的软件的软件版本号和应用终端的IP地址;执行1010;
步骤1010,家庭网关向应用终端发送的请求,以弹出窗口的方式在应用终端上呈现以提示用户,并且应用终端根据用户输入的指令,执行安装操作、升级操作或者取消操作;
应用终端完成用户输入的操作后,整个流程结束。
在上述技术方案的基础上,应用终端在首次安装软件的同时安装软件的监视程序,用于接收家庭网关发往应用终端的查询请求以及发送响应。
在上述技术方案的基础上,所述的安装软件的请求和响应,是基于以太网协议或者无线局域网协议的私有通信协议。
在上述技术方案的基础上,所述私有通信协议为携带相关的信息的UDP包。
在上述技术方案的基础上,请求消息中携带应用终端类型、所请求安装的软件名称、所请求安装的软件的当前版本号和应用终端的IP地址;
响应消息中携带应用终端类型、所请求安装的软件名称、已安装的该软件的版本号和本地IP地址。
一种用于上述方法的家庭网络中应用终端的软件安装和升级系统,其特征在于,包括:通过有线或者无线方式与家庭网关10相连的应用终端20,
所述家庭网关10包括:
网络服务模块11,用于在应用终端上电接入家庭网关后,网络地址的分配及网络接入;
存储模块12,用于存储应用终端所需安装的软件、软件名称及版本信息;
查询模块13,用于家庭网关10向应用终端20发送软件查询请求;
响应模块14,用于接收应用终端20返回的查询响应;
比较判断模块15,用于将响应中的软件版本与当前软件版本进行比较,当前版本比响应中版本新时,将比较判断结果提供给升级模块,否则退出;
计时模块16,在发送模块发送查询请求后启动,在响应模块收到响应后终止,用于判断是否在规定的时间内收到应用终端20的响应,若是,则启动比较判断模块,否则启动安装模块;
安装模块17,用于向应用终端发送软件安装请求,并向其提供所需安装的软件;
升级模块18,用于向应用终端发送软件升级请求,并向其提供所需升级的软件;
所述应用终端20包括:
接收模块21,在应用终端20首次自动安装软件的同时安装,用于向后续接收家庭网关10的软件查询请求并发送响应;
安装模块22,用于执行软件安装操作;
升级模块23,用于执行软件升级操作。
本发明所述的家庭网络中应用终端的软件安装和升级方法及系统,利用家庭网络中的家庭网关与应用终端之间的私有通信协议自动检测应用终端上的软件状态,家庭网关根据需要向应用终端传送软件数据,从而实现家庭网络中的应用终端的软件安装或升级;降低用户使用家庭网络的复杂度,降低运营商维护成本,同时使用户得到更好的智能家庭网络体验。
附图说明
本发明有如下附图:
图1 本发明所述方法的流程图,
图2 本发明所述系统的结构示意图。
具体实施方式
以下结合附图对本发明作进一步详细说明。
如图1所示,本发明所述的家庭网络中应用终端的软件安装和升级方法及系统,包括以下步骤:
步骤1001,应用终端上电启动,通过网络与家庭网关相连(有线方式连接或无线方式连接),所述应用终端网络配置为自动获取IP地址;例如:应用终端上电,通过以太网接口或者WLAN接口接入家庭网关,网络连接方式配置为DHCP方式;
步骤1002,家庭网关具有DHCP网络服务功能,为该上电后接入的应用终端自动分配IP地址;
步骤1003,家庭网关获取应用终端属性并根据其属性确定所需安装的软件名称及软件版本号;应用终端属性亦可称为应用终端类型,二者是同一个概念;
步骤1004,家庭网关向应用终端发送软件安装查询请求,同时启动定时器进行计时,并等待应用终端的响应,所述软件安装查询请求中至少包括软件版本号,请求中的软件版本号是存储在家庭网关中的待安装的软件的软件版本号;例如:应用终端发起DHCP请求,家庭网关检测到该DHCP请求,为应用终端分配IP地址,认为应用终端接入,自动向应用终端发起是否安装软件的查询请求,并同时启动定时器,等待应用终端的响应;
步骤1005,家庭网关判断在定时器超时前,是否收到应用终端对软件安装查询请求的响应,如果收到,执行1006;否则,执行1009;
步骤1006,家庭网关判断应用终端的响应是否合法,即判断应用终端的响应中是否包含应用终端类型、软件名称、软件版本号和应用终端IP地址信息,响应中的软件版本号是指当前已安装在应用终端中的软件的软件版本号;
如果合法,则执行1007;否则结束本流程;
步骤1007,家庭网关判断软件安装查询请求中的软件版本号是否比响应中的软件版本号新,如果是,则执行1008;
否则结束本流程;即:家庭网关通过比对应用终端中已安装的软件的软件版本号和家庭网关中存储的待安装的软件的软件版本号,当待安装的软件的软件版本号为更新的软件时,则执行升级操作,软件名称用于确认两个软件版本号对应的软件是否是同一个,避免比对错误;
步骤1008,家庭网关向应用终端发送版本升级请求,版本升级请求消息中携带应用终端类型、所请求升级的软件名称、应用终端当前已安装的软件的软件版本号和应用终端的IP地址;执行1010;此步骤中携带应用终端当前已安装的软件的软件版本号信息可以用于应用终端再次对比已安装软件的版本信息,避免误升级操作;
步骤1009,家庭网关向应用终端发送版本安装请求,版本安装请求消息中携带应用终端类型、所请求安装的软件名称、应用终端当前已安装的软件的软件版本号和应用终端的IP地址;执行1010;无响应则按第一次安装处理,不执行升级操作;
步骤1010,家庭网关向应用终端发送的请求,以弹出窗口的方式在应用终端上呈现以提示用户,并且应用终端根据用户输入的指令,执行安装操作、升级操作或者取消操作;
应用终端完成用户输入的操作后,整个流程结束;
例如:若家庭网关接收到应用终端的响应,则终止定时器,并从响应中获取已安装软件的软件版本号,对比请求与响应中的软件版本号,当响应中软件版本号低时,向应用终端发送版本升级请求,并在应用终端人机交互界面上弹出是否升级的提示。人机交互界面的弹出在具体实现中,需要针对应用终端人机交互界面所采用的技术平台(例如WEB方式、应用程序方式)和编程语言环境(例如Java虚拟机、HTML语言、ASP语言等)进行分别设计,这些设计均可采用现有技术实现,不在本专利保护范围内。
若定时器到时,而家庭网关仍未收到应用终端的响应,则向应用终端发送软件安装请求,并在应用终端人机交互界面上弹出是否安装的提示。
应用终端根据用户输入,执行软件安装、升级或者退出操作。安装、升级所需的软件,在家庭网关上存储。
在上述技术方案的基础上,应用终端在首次安装软件的同时安装软件的监视程序,用于接收家庭网关发往应用终端的查询请求以及发送响应。
在上述技术方案的基础上,所述的安装软件的请求和响应,是基于以太网协议或者无线局域网协议的私有通信协议,所述私有通信协议为携带相关的信息的UDP包。但不局限于此。
在上述技术方案的基础上,请求消息中携带应用终端类型、所请求安装的软件名称、所请求安装的软件的当前版本号(软件版本号)和应用终端的IP地址;
响应消息中携带应用终端类型、所请求安装的软件名称、已安装的该软件的版本号(软件版本号)和本地IP地址。所述本地IP地址指应用终端的本地IP地址。
为实现上述本发明的软件安装及升级方法,如图2所示,本发明还提供了一种家庭网络中应用终端的软件安装和升级的系统,包括,通过有线或者无线方式与家庭网关10相连的应用终端20,其特征在于:
所述家庭网关10包括:
网络服务模块11,用于在应用终端上电接入家庭网关后,网络地址的分配及网络接入;
存储模块12,用于存储应用终端所需安装的软件、软件名称及版本信息;
查询模块13,用于家庭网关10向应用终端20发送软件查询请求;
响应模块14,用于接收应用终端20返回的查询响应;
比较判断模块15,用于将响应中的软件版本与当前软件版本进行比较,当前版本比响应中版本新时,将比较判断结果提供给升级模块,否则退出;
计时模块16,在发送模块发送查询请求后启动,在响应模块收到响应后终止,用于判断是否在规定的时间内收到应用终端20的响应,若是,则启动比较判断模块,否则启动安装模块;
安装模块17,用于向应用终端发送软件安装请求,并向其提供所需安装的软件;
升级模块18,用于向应用终端发送软件升级请求,并向其提供所需升级的软件;
以上各模块将可按现有技术实施。
所述应用终端20包括:
接收模块21,在应用终端20首次自动安装软件的同时安装,用于向后续接收家庭网关10的软件查询请求并发送响应;
安装模块22,用于执行软件安装操作;
升级模块23,用于执行软件升级操作。
家庭网关10在应用终端20接入后,向应用终端20发起软件查询请求,在查询后向应用终端20发起软件安装或升级请求,应用终端20根据用户输入,执行软件的安装或升级操作。
以上各模块将可按现有技术实施。
本发明提出的家庭网络中的应用终端上软件的安装和升级方法及系统,与现有技术和方法相比,具有如下显著特点:
与向用户发放安装/升级光盘的方式或要求用户从因特网上下载安装包/升级包的方式相比,本发明方法用户参与性要求低、软件安装和升级成本低、软件升级方便、时效性高。
与应用终端自安装及自启动方式相比,本发明方法不仅可以实现软件的自安装及自启动,还实现了软件的自动升级功能。
与应用终端向版本服务器发起版本升级请求或者版本服务器向应用终端下发升级请求的方式相比,本发明的方法不仅可实现自动升级,还解决了应用终端必须预先安装驱动软件的要求,实现了在应用终端未预先安装驱动软件的情形下进行软件的自动安装和升级。

Claims (6)

  1. 一种家庭网络中应用终端的软件安装和升级方法,其特征在于,包括以下步骤:
    步骤1001,应用终端上电启动,通过网络与家庭网关相连,所述应用终端网络配置为自动获取IP地址;
    步骤1002,家庭网关具有DHCP网络服务功能,为该上电后接入的应用终端自动分配IP地址;
    步骤1003,家庭网关获取应用终端属性并根据其属性确定所需安装的软件名称及软件版本号;
    步骤1004,家庭网关向应用终端发送软件安装查询请求,同时启动定时器进行计时,并等待应用终端的响应, 所述软件安装查询请求中至少包括软件版本号,请求中的软件版本号是存储在家庭网关中的待安装的软件的软件版本号;
    步骤1005,家庭网关判断在定时器超时前,是否收到应用终端对软件安装查询请求的响应,如果收到,执行1006;否则,执行1009;
    步骤1006,家庭网关判断应用终端的响应是否合法,即判断应用终端的响应中是否包含应用终端类型、软件名称、软件版本号和应用终端IP地址信息,响应中的软件版本号是指当前已安装在应用终端中的软件的软件版本号; 如果合法,则执行1007;否则结束本流程;
    步骤1007,家庭网关判断软件安装查询请求中的软件版本号是否比响应中的软件版本号新,如果是,则执行1008; 否则结束本流程;
    步骤1008,家庭网关向应用终端发送版本升级请求,版本升级请求消息中携带应用终端类型、所请求升级的软件名称、应用终端当前已安装的软件的软件版本号和应用终端的IP地址;执行1010;
    步骤1009,家庭网关向应用终端发送版本安装请求,版本安装请求消息中携带应用终端类型、所请求安装的软件名称、应用终端当前已安装的软件的软件版本号和应用终端的IP地址;执行1010;
    步骤1010,家庭网关向应用终端发送的请求,以弹出窗口的方式在应用终端上呈现以提示用户,并且应用终端根据用户输入的指令,执行安装操作、升级操作或者取消操作;
    应用终端完成用户输入的操作后,整个流程结束。
  2. 如权利要求1所述的家庭网络中应用终端的软件安装和升级方法,其特征在于:应用终端在首次安装软件的同时安装软件的监视程序,用于接收家庭网关发往应用终端的查询请求以及发送响应。
  3. 如权利要求1或2所述的家庭网络中应用终端的软件安装和升级方法,其特征在于:所述的安装软件的请求和响应,是基于以太网协议或者无线局域网协议的私有通信协议。
  4. 如权利要求3所述的家庭网络中应用终端的软件安装和升级方法,其特征在于:所述私有通信协议为携带相关的信息的UDP包。
  5. 权利要求1或2所述的家庭网络中应用终端的软件安装和升级方法,其特征在于:请求消息中携带应用终端类型、所请求安装的软件名称、所请求安装的软件的当前版本号和应用终端的IP地址; 响应消息中携带应用终端类型、所请求安装的软件名称、已安装的该软件的版本号和本地IP地址。
  6. 一种用于权利要求1所述方法的家庭网络中应用终端的软件安装和升级系统,其特征在于,包括:通过有线或者无线方式与家庭网关10相连的应用终端20,
    所述家庭网关10包括:
    网络服务模块11,用于在应用终端上电接入家庭网关后,网络地址的分配及网络接入;
    存储模块12,用于存储应用终端所需安装的软件、软件名称及版本信息;
    查询模块13,用于家庭网关10向应用终端20发送软件查询请求;
    响应模块14,用于接收应用终端20返回的查询响应;
    比较判断模块15,用于将响应中的软件版本与当前软件版本进行比较,当前版本比响应中版本新时,将比较判断结果提供给升级模块,否则退出;
    计时模块16,在发送模块发送查询请求后启动,在响应模块收到响应后终止,用于判断是否在规定的时间内收到应用终端20的响应,若是,则启动比较判断模块,否则启动安装模块;
    安装模块17,用于向应用终端发送软件安装请求,并向其提供所需安装的软件;
    升级模块18,用于向应用终端发送软件升级请求,并向其提供所需升级的软件;
    所述应用终端20包括:
    接收模块21,在应用终端20首次自动安装软件的同时安装,用于向后续接收家庭网关10的软件查询请求并发送响应;
    安装模块22,用于执行软件安装操作;
    升级模块23,用于执行软件升级操作。
PCT/CN2011/079408 2010-09-13 2011-09-07 一种家庭网络中应用终端的软件安装和升级方法及系统 Ceased WO2012034486A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
MYPI2012700903A MY183744A (en) 2010-09-13 2011-09-07 Method and system for installing and upgrading software on application terminal in home network
RU2012144530/08A RU2549126C2 (ru) 2010-09-13 2011-09-07 Способ и система установки и обновления программного обеспечения прикладного терминала в домашней сети

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010278970.XA CN101951400B (zh) 2010-09-13 2010-09-13 一种家庭网络中应用终端的软件安装和升级方法及系统
CN201010278970.X 2010-09-13

Publications (1)

Publication Number Publication Date
WO2012034486A1 true WO2012034486A1 (zh) 2012-03-22

Family

ID=43454758

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079408 Ceased WO2012034486A1 (zh) 2010-09-13 2011-09-07 一种家庭网络中应用终端的软件安装和升级方法及系统

Country Status (4)

Country Link
CN (1) CN101951400B (zh)
MY (1) MY183744A (zh)
RU (1) RU2549126C2 (zh)
WO (1) WO2012034486A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812435A (zh) * 2014-12-30 2016-07-27 腾讯科技(深圳)有限公司 应用升级数据包处理方法、装置、电子设备及系统
CN109753297A (zh) * 2018-12-28 2019-05-14 深圳创维-Rgb电子有限公司 终端待机时软件升级方法、装置及可读存储介质
CN110750283A (zh) * 2019-10-15 2020-02-04 青岛易触科技有限公司 一种自动售货机驱动程序远程升级方法及系统
CN111752582A (zh) * 2020-05-25 2020-10-09 深圳市鸿合创新信息技术有限责任公司 局域网内的软件更新方法、装置及电子设备
CN112506536A (zh) * 2020-11-12 2021-03-16 东风汽车集团有限公司 一种车载控制器软件更新方法、装置、设备和介质
CN114531353A (zh) * 2022-01-25 2022-05-24 沈阳中科奥维科技股份有限公司 一种基于wia-pa网关的全网终端自动升级方法

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951400B (zh) * 2010-09-13 2013-01-02 烽火通信科技股份有限公司 一种家庭网络中应用终端的软件安装和升级方法及系统
CN102163157A (zh) * 2011-04-07 2011-08-24 北京百纳威尔科技有限公司 非智能终端升级方法、非智能终端和应用服务器
CN102402443A (zh) * 2011-11-09 2012-04-04 上海聚力传媒技术有限公司 用于安装应用信息的方法、装置、设备和系统
CN103281373B (zh) * 2013-05-30 2015-12-23 烽火通信科技股份有限公司 家庭网关智能升级装置及升级方法
CN103491189B (zh) * 2013-09-30 2017-04-05 北京奇虎科技有限公司 基于云端和无线终端的联动检测客户端软件安装状态的方法和无线终端
CN103763008B (zh) * 2014-01-15 2016-01-06 天地融科技股份有限公司 一种受控蓝牙设备、蓝牙设备之间数据传输的方法和系统
CN103973523A (zh) * 2014-04-16 2014-08-06 烽火通信科技股份有限公司 一种手机和家庭网关自动发现并绑定的方法
CN104092593B (zh) * 2014-07-31 2017-03-22 王征 基于内外网识别器实现的智能终端自动识别的内外网自动接入系统及其接入方法
EP3113450B1 (en) 2015-06-29 2018-04-25 Thomson Licensing Method for locating a service and method for proposing a service and corresponding communication network devices, system, computer readable program products and computer readable storage mediums
RU2623887C2 (ru) * 2015-09-30 2017-06-29 Акционерное общество "Лаборатория Касперского" Способ установки обновления модуля полнодискового шифрования
CN105553730B (zh) * 2015-12-22 2019-07-30 新余未来宽带技术有限公司 网关型EoC终端固件升级的实现装置及方法
CN105786573B (zh) * 2016-03-16 2019-04-26 烽火通信科技股份有限公司 快速升级智能家居中ZigBee控制器的方法及系统
CN107231243A (zh) * 2016-03-23 2017-10-03 北京京东尚科信息技术有限公司 对智联网络进行固件升级的方法
CN106095498A (zh) * 2016-06-03 2016-11-09 深圳市永兴元科技有限公司 软件部署的方法及装置
CN107769947B (zh) * 2016-08-19 2020-06-05 中兴通讯股份有限公司 一种更换定制皮肤的方法、装置及设备
CN109511110B (zh) * 2018-12-29 2022-05-06 Tcl移动通信科技(宁波)有限公司 一种wifi配置软件安装控制方法、装置及存储介质
CN110324193B (zh) * 2019-07-31 2022-08-02 青岛海信医疗设备股份有限公司 一种终端升级管理方法及装置
CN111399868B (zh) * 2020-02-25 2024-04-26 联合汽车电子有限公司 软件更新方法、微处理器、域控制器及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453959A (zh) * 2002-04-23 2003-11-05 汉城通信技术株式会社 家庭网络的远程控制系统和方法
CN101197704A (zh) * 2006-12-05 2008-06-11 中兴通讯股份有限公司 数字用户线路终端远程管理中软件版本升级的方法
JP2008217686A (ja) * 2007-03-07 2008-09-18 Ricoh Co Ltd インストール制御方法、情報処理システム及びインストール制御プログラム
CN101951400A (zh) * 2010-09-13 2011-01-19 烽火通信科技股份有限公司 一种家庭网络中应用终端的软件安装和升级方法及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7539686B2 (en) * 2004-03-12 2009-05-26 Microsoft Corporation Tag-based schema for distributing update metadata in an update distribution system
CN101060427A (zh) * 2006-04-19 2007-10-24 华为技术有限公司 实现远程软件升级的系统及方法
CN101221511A (zh) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 一种终端设备应用软件的自动安装及升级方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453959A (zh) * 2002-04-23 2003-11-05 汉城通信技术株式会社 家庭网络的远程控制系统和方法
CN101197704A (zh) * 2006-12-05 2008-06-11 中兴通讯股份有限公司 数字用户线路终端远程管理中软件版本升级的方法
JP2008217686A (ja) * 2007-03-07 2008-09-18 Ricoh Co Ltd インストール制御方法、情報処理システム及びインストール制御プログラム
CN101951400A (zh) * 2010-09-13 2011-01-19 烽火通信科技股份有限公司 一种家庭网络中应用终端的软件安装和升级方法及系统

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812435A (zh) * 2014-12-30 2016-07-27 腾讯科技(深圳)有限公司 应用升级数据包处理方法、装置、电子设备及系统
CN109753297A (zh) * 2018-12-28 2019-05-14 深圳创维-Rgb电子有限公司 终端待机时软件升级方法、装置及可读存储介质
CN110750283A (zh) * 2019-10-15 2020-02-04 青岛易触科技有限公司 一种自动售货机驱动程序远程升级方法及系统
CN110750283B (zh) * 2019-10-15 2023-05-02 青岛易触科技有限公司 一种自动售货机驱动程序远程升级方法及系统
CN111752582A (zh) * 2020-05-25 2020-10-09 深圳市鸿合创新信息技术有限责任公司 局域网内的软件更新方法、装置及电子设备
CN112506536A (zh) * 2020-11-12 2021-03-16 东风汽车集团有限公司 一种车载控制器软件更新方法、装置、设备和介质
CN112506536B (zh) * 2020-11-12 2023-05-30 东风汽车集团有限公司 一种车载控制器软件更新方法、装置、设备和介质
CN114531353A (zh) * 2022-01-25 2022-05-24 沈阳中科奥维科技股份有限公司 一种基于wia-pa网关的全网终端自动升级方法

Also Published As

Publication number Publication date
CN101951400A (zh) 2011-01-19
RU2549126C2 (ru) 2015-04-20
MY183744A (en) 2021-03-11
RU2012144530A (ru) 2014-04-27
CN101951400B (zh) 2013-01-02

Similar Documents

Publication Publication Date Title
WO2012034486A1 (zh) 一种家庭网络中应用终端的软件安装和升级方法及系统
KR100541942B1 (ko) 홈네트워크의 홈디바이스원격관리장치 및 그 방법
WO2014175602A1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
JP6312435B2 (ja) 電気消費機器に対してデータ接続を介して電力供給する装置
WO2014200240A1 (en) Method and apparatus for registering wireless device in wireless communication system
WO2021025542A1 (en) Method, system and device for sharing intelligence engine by multiple devices
CN101715199B (zh) 无线接入点设备升级方法及装置
WO2018214320A1 (zh) 数据库业务逻辑监控方法、系统、及存储介质
WO2020060021A1 (en) Packet data unit (pdu) session control method and apparatus
EP2324578A2 (en) Unified device management method and system
WO2020073615A1 (zh) 设备软件的升级方法、数据转化器及可读存储介质
EP2929652A1 (en) Method and apparatus for controlling access between home device and external server in home network system
WO2013048183A1 (en) Apparatus and method for integrally managing maintenance of electronic devices
WO2014010883A1 (ko) 라디오 주파수 대역을 고려한 무선네트워크 접속 장치 및 방법
WO2012099402A2 (en) Method and apparatus for phone communication using home network
WO2016018048A1 (ko) 서비스 제어 장치 연동을 통한 단말간 컨텐츠 전송 방법
WO2020119062A1 (zh) 预装应用管理方法、装置及存储介质
WO2016064074A1 (ko) 단말간 컨텐츠 제공 방법
WO2014126378A1 (en) Method and apparatus for connection between client and server
WO2012070900A2 (ko) 개인 장치간 이벤트 및 데이터 공유 시스템
WO2018094839A1 (zh) 一种移动终端预装应用的安装方法及装置
JP4882008B2 (ja) 電化製品の種別に応じてプログラム又はページを送信する情報処理装置、システム、方法、プログラム
EP3366008A1 (en) Electronic apparatus and sensor arrangement method thereof
WO2017063374A1 (zh) 一种动态分配编译机的系统及其方法
WO2019117535A1 (ko) 외부 전자 장치와의 통신을 위한 전자 장치

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2012144530

Country of ref document: RU

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11824556

Country of ref document: EP

Kind code of ref document: A1