WO2013107175A1 - Method and apparatus for controlling home network device - Google Patents

Method and apparatus for controlling home network device Download PDF

Info

Publication number
WO2013107175A1
WO2013107175A1 PCT/CN2012/080055 CN2012080055W WO2013107175A1 WO 2013107175 A1 WO2013107175 A1 WO 2013107175A1 CN 2012080055 W CN2012080055 W CN 2012080055W WO 2013107175 A1 WO2013107175 A1 WO 2013107175A1
Authority
WO
WIPO (PCT)
Prior art keywords
home network
control terminal
network device
notification message
media
Prior art date
Application number
PCT/CN2012/080055
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2013107175A1 publication Critical patent/WO2013107175A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network

Definitions

  • FIG. 2 is a flow chart of a media server/media renderer accessing and exiting a home network according to a preferred embodiment of the present invention
  • 3 is a flow chart of a media controller accessing and exiting a home network according to a preferred embodiment of the present invention
  • FIG. 4 is a flow chart of controlling a terminal to control a home network device to exit a home network according to a preferred embodiment of the present invention
  • FIG. 6 is a structural block diagram of a control device of a home network device according to an embodiment of the present invention
  • FIG. 7 is a control device of a home network device according to a preferred embodiment of the present invention; Structure diagram.
  • the home network device may include one of the following: a media server, a media renderer, and a media controller.
  • the control terminal receives the notification message sent by the home network device by using the predetermined address when accessing the home network, including: media server or media rendering Determining that the home network needs to be accessed, and sending, by the predetermined address, a notification message carrying a first uniform resource locator (URL) corresponding to the media server or the media renderer to the control terminal; the control terminal receiving the notification message carrying the first URL .
  • a uniform resource locator URL

Abstract

Disclosed are a method and an apparatus for controlling a home network device. The method comprises: a control terminal receiving a notification message sent by a home network device through a predetermined address when the home network device enters or exits a home network; and the control terminal updating device list information of the home network device according to the notification message. By means of the present invention, the list of DLNA devices connected to the home network can be refreshed in real time, and the DLNA devices connected to the home network can be managed.

Description

家庭网络设备的控制方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种家庭网络设备的控制方法及装置。 背景技术 通用即插即用 (Universal Plug and Play, 简称为 UPnP) 协议是由 UPnP组织制订 的在家庭网络中共享内容的协议。 在 UPnP协议中, 可以充分利用家庭网络的优势, 将位于不同设备上的媒体内容与其它 UPnP设备共享。 家庭网络设备按功能可以分为 媒体服务器(Media Server, 简称为 MS)、媒体控制器(Media Controler, 简称为 MC), 和媒体渲染器 (Media Render, 简称为 MR) 三种类型。 媒体服务器用于为家庭网络提供媒体内容的共享。媒体服务器主要包括以下业务: 连接管理业务 (Connection Manager Service, 简称为 CMS)、 内容目录业务 (Content Directory Service,简称为 CDS)和音视频传输业务 (AV Transport Service,简称为 AVT)。 连接管理业务用于建立媒体控制器和媒体服务器之间的网络连接; 内容目录业务用于 管理媒体服务器中的媒体数据; 音视频传输业务用于控制媒体控制器和媒体服务器之 间的媒体数据传输。 媒体控制器用于管理家庭网络中的其它媒体服务器设备和媒体渲染器设备。 当有 媒体服务器以及媒体渲染器加入或者退出 UPnP网络时, 媒体控制器能够及时更新设 备列表; 媒体控制器设备还需要支持浏览媒体服务器共享的媒体内容, 并能够指定媒 体渲染器设备进行播放, 播放进程可以由媒体控制器进行控制。 媒体渲染器用于渲染家庭网络中获取到的媒体内容。 媒体渲染器主要包括以下业 务: 渲染控制业务(Rendering Control Service, 简称为 RCS)、 连接管理业务和音视频 传输业务。 连接管理业务用于实现与媒体服务器的媒体传输协议和媒体格式的协商; 音视频传输业务用于实现播放过程的控制;渲染控制业务用于实现对渲染特性的控制, 例如, 亮度、 对比度, 以及音量等。 媒体服务器、 媒体控制器以及媒体渲染器都可以单独使用, 也可以集成在一起使 用。 同一终端的同一应用可以同时具备媒体服务器、 媒体控制器, 和 /或媒体渲染器的 功能。 在家庭网络中, 针对数字家庭网络联盟 (Digital Living Network Alliance, 简称为 DLNA)设备的接入控制(包括媒体控制器、媒体服务器、媒体渲染器三种设备类型)、 家庭网络中的 DLNA设备列表的实时刷新, 以及 DLNA设备的退出控制, 目前尚没有 明确的规范涉及, 也没有具体的方案可以同时实现对所有家庭网络中 DLNA设备的接 入和退出控制、 DLNA设备列表的实时更新。 针对需要同时对所有家庭网络中 DLNA设备的接入和退出控制、 DLNA设备列表 的实时更新的需求问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供一种家庭网络设备的控制方法及装置, 以至少解决上述问题。 根据本发明的一个方面, 提供了一种家庭网络设备的控制方法, 包括: 控制终端 接收家庭网络设备在接入或退出家庭网络时通过预定地址发送的通知消息; 控制终端 根据通知消息更新家庭网络设备的设备列表信息, 其中, 设备列表信息包括家庭网络 设备的 IP地址信息。 优选地, 家庭网络设备包括以下之一: 媒体服务器、 媒体渲染器, 以及媒体控制 器。 优选地, 控制终端接收家庭网络设备在接入家庭网络时通过预定地址发送的通知 消息, 包括: 媒体服务器或媒体渲染器确定需要接入家庭网络, 通过预定地址向控制 终端发送携带有对应于媒体服务器或媒体渲染器的第一统一资源定位器 (URL) 的通 知消息; 控制终端接收携带有第一 URL的通知消息。 优选地, 控制终端根据通知消息更新家庭网络设备的设备列表信息, 包括: 控制 终端通过预定方式访问通知消息中携带的第一 URL, 并从第一 URL中获取媒体服务 器或媒体渲染器的第一描述信息, 其中, 第一描述信息包括第一 IP地址信息和第一设 备类型信息;控制终端根据第一 IP地址信息和第一设备类型信息更新家庭网络设备的 设备列表信息。 优选地, 控制终端接收家庭网络设备在退出家庭网络时通过预定地址发送的通知 消息, 包括: 媒体服务器或媒体渲染器确定需要退出家庭网络, 通过预定地址向控制 终端发送通知消息; 控制终端接收通知消息; 控制终端根据通知消息更新家庭网络设 备的设备列表信息, 包括: 控制终端根据通知消息确认媒体服务器或媒体渲染器已经 退出家庭网络; 控制终端的媒体控制器更新家庭网络设备的设备列表信息。 优选地, 通知消息为简单服务发现协议广播 (SSDP NOTIFY) 消息。 优选地, 控制终端接收家庭网络设备在接入家庭网络时通过预定地址发送的通知 消息, 包括: 媒体控制器确定需要接入家庭网络, 通过预定地址向控制终端发送通知 消息; 控制终端接收通知消息。 优选地, 控制终端根据通知消息更新家庭网络设备的设备列表信息, 包括: 控制 终端响应通知消息, 将控制终端的第二描述信息关联至第二 URL中, 并将第二 URL 携带在响应消息中后将响应消息发送给媒体控制器; 媒体控制器接收响应消息, 从响 应消息中提取出第二 URL, 通过预定方式访问第二 URL, 获取第二描述信息; 当控制 终端确定媒体控制器访问第二 URL时, 获取媒体控制器的第二 IP信息, 确定媒体控 制器的第二设备类型信息;控制终端的媒体控制器根据第二 IP地址信息和第二设备类 型信息更新家庭网络设备的设备列表信息。 优选地, 通知消息为简单服务发现协议搜索 (SSDP M-SEARCH) 消息。 优选地, 在媒体控制器获取第二描述信息之后, 还包括: 媒体控制器向控制终端 发送订阅控制终端的订阅消息。 优选地, 控制终端接收家庭网络设备在退出家庭网络时通过预定地址发送的通知 消息, 包括: 媒体控制器发送取消订阅控制终端的取消订阅消息; 控制终端接收取消 订阅消息; 控制终端根据通知消息更新家庭网络设备的设备列表信息, 包括: 控制终 端确定媒体控制器已经退出家庭网络; 控制终端更新家庭网络设备的设备列表信息。 优选地, 在控制终端根据通知消息更新家庭网络设备的设备列表信息之后, 还包 括: 当控制终端希望家庭网络设备退出家庭网络时, 将家庭网络设备的第三 IP地址信 息发送给家庭网络中的接入节点 (AP) 设备; AP设备根据第三 IP地址信息断开第三 IP地址信息对应的家庭网络设备与家庭网络的连接。 根据本发明的另一方面, 提供了一种家庭网络设备的控制装置, 包括: 接收模块, 设置为接收家庭网络设备在接入或退出家庭网络时通过预定地址发送的通知消息; 更 新模块, 设置为根据通知消息更新家庭网络设备的设备列表信息。 优选地, 家庭网络设备包括以下之一: 媒体服务器、 媒体渲染器, 以及媒体控制 器。 优选地, 装置还包括: 发送模块, 设置为当控制终端希望家庭网络设备退出家庭 网络时, 将家庭网络设备的第三 IP地址信息发送给家庭网络中的接入点 (AP)设备; 处 理模块, 设置为根据第三 IP地址信息断开第三 IP地址信息对应的家庭网络设备与家 庭网络的连接。 通过本发明, 采用结合使用媒体控制器和媒体服务器的部分功能, 以及 AP设备 的功能, 通过实时刷新家庭网络中的 DLNA设备 (家庭网络设备)设备列表信息的方 式, 解决了现有技术不能实时更新 DLNA设备的设备列表信息的问题, 进而达到了实 时刷新家庭网络中接入的 DLNA设备列表,并可以对接入家庭网络的 DLNA设备进行 管理的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的家庭网络设备的控制方法流程图; 图 2是根据本发明优选实施例的媒体服务器 /媒体渲染器接入与退出家庭网络的流 程图; 图 3是根据本发明优选实施例的媒体控制器接入与退出家庭网络的流程图; 图 4是根据本发明优选实施例的控制终端控制家庭网络设备退出家庭网络的流程 图; 图 5是根据本发明优选实施例的家庭网络设备的发现过程示意图; 图 6是根据本发明实施例的家庭网络设备的控制装置的结构框图; 以及 图 7是根据本发明优选实施例的家庭网络设备的控制装置的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的家庭网络设备的控制方法流程图, 如图 1所示, 该方 法主要包括以下步骤 (步骤 S102-步骤 S104)。 步骤 S102,控制终端接收家庭网络设备在接入或退出家庭网络时通过预定地址发 送的通知消息。 步骤 S104, 控制终端根据通知消息更新家庭网络设备的设备列表信息。 优选地, 在实际应用中, 家庭网络设备可以包括以下之一: 媒体服务器、 媒体渲 染器, 以及媒体控制器。 在本发明的一个优选实施方式中,当家庭网络设备为媒体服务器或媒体渲染器时, 控制终端接收家庭网络设备在接入家庭网络时通过预定地址发送的通知消息, 包括: 媒体服务器或媒体渲染器确定需要接入家庭网络, 通过预定地址向控制终端发送携带 有对应于媒体服务器或媒体渲染器的第一统一资源定位器 (URL) 的通知消息; 控制 终端接收携带有第一 URL的通知消息。控制终端根据通知消息更新家庭网络设备的设 备列表信息, 包括: 控制终端通过预定方式访问通知消息中携带的第一 URL, 并从第 一 URL中获取媒体服务器或媒体渲染器的第一描述信息,其中,第一描述信息包括第 一 IP信息和第一设备类型信息; 控制终端根据第一 IP信息和第一设备类型信息更新 家庭网络设备的设备列表信息。 优选地, 在实际应用中, 该通知消息为简单服务发现 协议广播 (SSDP NOTIFY) 消息。 在本发明的一个优选实施方式中,当家庭网络设备为媒体服务器或媒体渲染器时, 控制终端接收家庭网络设备在退出家庭网络时通过预定地址发送的通知消息, 包括: 媒体服务器或媒体渲染器确定需要退出家庭网络, 通过预定地址向控制终端发送通知 消息; 控制终端接收通知消息。 控制终端根据通知消息更新家庭网络设备的设备列表 信息,包括: 控制终端根据通知消息确认媒体服务器或媒体渲染器已经退出家庭网络; 控制终端的媒体控制器更新家庭网络设备的设备列表信息。 优选地, 在实际应用中, 该通知消息为简单服务发现协议广播 (SSDP NOTIFY) 消息。 在本发明的一个优选实施方式中, 当家庭网络设备为媒体控制器时, 控制终端接 收家庭网络设备在接入家庭网络时通过预定地址发送的通知消息, 包括: 媒体控制器 确定需要接入家庭网络, 通过预定地址向控制终端发送通知消息; 控制终端接收通知 消息。 控制终端根据通知消息更新家庭网络设备的设备列表信息, 包括: 控制终端响 应通知消息, 将控制终端的第二描述信息关联至第二 URL中, 并将第二 URL携带在 响应消息中后将响应消息发送给媒体控制器; 媒体控制器接收响应消息, 从响应消息 中提取出第二 URL, 通过预定方式访问第二 URL, 获取第二描述信息; 当控制终端确 定媒体控制器访问第二 URL时, 获取媒体控制器的第二 IP信息, 确定媒体控制器的 第二设备类型信息;控制终端的媒体控制器根据第二 IP信息和第二设备类型信息更新 家庭网络设备的设备列表信息。 优选地, 在实际应用中, 该通知消息为简单服务发现 协议搜索 (SSDP M-SEARCH) 消息。 优选地, 在实际应用中, 在媒体控制器获取第 二描述信息之后,还可以包括: 媒体控制器向控制终端发送订阅控制终端的订阅消息。 在本发明的一个优选实施方式中, 当家庭网络设备为媒体控制器时, 控制终端接 收家庭网络设备在退出家庭网络时通过预定地址发送的通知消息, 包括: 媒体控制器 发送取消订阅控制终端的取消订阅消息; 控制终端接收取消订阅消息; 控制终端根据 通知消息更新家庭网络设备的设备列表信息, 包括: 控制终端确定媒体控制器已经退 出家庭网络; 控制终端更新家庭网络设备的设备列表信息。 优选地, 在实际应用中, 在所述控制终端根据所述通知消息更新所述家庭网络设 备的设备列表信息之后, 还可以包括: 当所述控制终端希望所述家庭网络设备退出所 述家庭网络时,将所述家庭网络设备的第三 IP地址信息发送给所述家庭网络中的接入 点 (AP)设备;所述 AP设备根据所述第三 IP地址信息断开所述第三 IP地址信息对应的 所述家庭网络设备与所述家庭网络的连接。 例如, 在实际应用中, 当家庭网络设备为以下之一: 媒体服务器、 媒体渲染器, 以及媒体控制器时, 可以采取以下实现方式: 当家庭网络中有媒体服务器设备或者媒体渲染器设备接入时, 可以通过 239.255.255.250: 1900地址 (即上述预定地址) 发送 SSDP NOTIFY广播消息, 控制 终端 (在实际应用中,可以由控制终端的媒体控制器来执行操作)接收到 SSDP NOTIFY 广播消息后,从中提取出 LOCATION字段,以及该字段中包含的 URL,通过 HTTP GET 方式 (即上述预定方式)访问 URL, 从而获取媒体服务器设备或者媒体渲染器设备的 描述信息, 其中, 该描述信息中包含 IP地址信息以及设备类型信息。 控制终端的媒体 控制器根据 IP 地址信息和设备类型信息更新位于控制终端的家庭网络设备的设备列 表信息。 当媒体服务器设备或者媒体渲染器设备退出时, 同样可以通过 239.255.255.250: 1900地址发送 SSDP NOTIFY广播消息。 控制终端的媒体控制器在接收到消息后, 确 认媒体服务器设备或者媒体渲染器设备已经离开网络, 及时更新位于控制终端的家庭 网络设备的设备列表信息。 当媒体控制器接入家庭网络时, 可以通过 239.255.255.250: 1900地址 (即上述预 定地址) 发送 SSDP M-SEARCH消息, 控制终端 (在实际应用中, 可以由控制终端的 媒体服务器来执行操作)收到消息后, 可以忽略 M-SEARCH消息中 ST字段的设备类 型的限制, 对 SSDP M-SEARCH 消息进行响应后发送响应消息, 响应消息中携带 LOCATION字段, 该字段主要用于保存控制终端的描述信息的 URL。媒体控制器收到 响应后, 从响应消息中提取出 LOCATION字段的 URL, 使用 HTTP GET方式 (即上 述预定方式) 访问 URL。 当控制终端的媒体服务器发现有其他设备通过访问 URL获 取其描述信息时, 控制终端的服务器保存该访问设备的 IP地址信息, 并确定该访问设 备的媒体类型信息为媒体控制器类型。 媒体控制器获取设备描述信息后, 可以通过通 用事件通知结构 (General Event Notification Architecture , 简称为 GENA ) 订阅 ( SUBSCRIBE) 控制终端的媒体服务器。 当媒体控制器退出家庭网络时, 同样可以通过 GENA UNSUBSCRIBE取消订阅。 控制终端的媒体服务器发现有其他设备取消订阅时, 可以确认该设备已经离开网络, 及时更新位于控制终端的家庭网络设备的设备列表信息。 而且, 控制终端还可以主动控制 DLNA设备 (主要为家庭网络设备) 的退出。 当 控制终端希望某个家庭网络设备退出家庭网络时,只需要将该家庭网络设备的 IP地址 发送给家庭网络中的接入节点 (AP) 设备, 并发送一个断开连接消息给 AP设备。 为 了方便实施, 可以同时在 AP设备侧运行一个侦听模块, 该侦听模块主要用于侦听控 制终端发送的断开连接消息并将其转发给 AP设备的处理模块。 处理模块收到断开连 接消息后, 根据将 IP地址信息完成断开 IP地址信息对应的家庭网络设备与家庭网络 的连接。 通过上述方法, 用户可以管理家庭网络中的 DLNA设备, 并可以任意控制 DLNA 设备的退出。 下面结合图 2至图 5及优选实施例对上述方法进行详细描述。 图 2是根据本发明优选实施例的媒体服务器 /媒体渲染器接入与退出家庭网络的流 程图,如图 2所示,媒体服务器 /媒体渲染器接入与退出家庭网络的流程包括如下步骤。 The present invention relates to the field of communications, and in particular to a method and apparatus for controlling a home network device. BACKGROUND The Universal Plug and Play (UPnP) protocol is a protocol developed by the UPnP organization to share content in a home network. In the UPnP protocol, the advantages of the home network can be fully utilized to share media content located on different devices with other UPnP devices. The home network device can be classified into three types: a media server (Media Server, abbreviated as MS), a media controller (Media Controler, abbreviated as MC), and a media renderer (MR). The media server is used to provide sharing of media content for the home network. The media server mainly includes the following services: Connection Manager Service (CMS), Content Directory Service (CDS), and Audio Transport Service (AVT). The connection management service is used to establish a network connection between the media controller and the media server; the content directory service is used to manage the media data in the media server; the audio and video transmission service is used to control the media data transmission between the media controller and the media server. . The media controller is used to manage other media server devices and media renderer devices in the home network. When a media server and a media renderer join or exit the UPnP network, the media controller can update the device list in time; the media controller device also needs to support browsing the media content shared by the media server, and can specify the media renderer device to play and play. Processes can be controlled by the media controller. The media renderer is used to render media content acquired in the home network. The media renderer mainly includes the following services: Rendering Control Service (RCS), connection management service, and audio and video transmission service. The connection management service is used to implement media media protocol and media format negotiation with the media server; the audio and video transmission service is used to implement the control of the playback process; and the rendering control service is used to implement control of the rendering characteristics, such as brightness, contrast, and Volume, etc. Media servers, media controllers, and media renderers can be used individually or integrated. The same application of the same terminal can have the functions of a media server, a media controller, and/or a media renderer at the same time. In the home network, access control for Digital Home Network Alliance (DLNA) devices (including media controller, media server, media renderer, device type), DLNA device list in home network The real-time refresh, and the exit control of the DLNA device, there is no clear specification involved, and there is no specific solution that can simultaneously implement access and exit control of DLNA devices in all home networks, and real-time update of the DLNA device list. There is currently no effective solution for the need for simultaneous access and exit control of DLNA devices in all home networks, as well as real-time updates of DLNA device lists. SUMMARY OF THE INVENTION The present invention provides a method and apparatus for controlling a home network device to solve at least the above problems. According to an aspect of the present invention, a method for controlling a home network device is provided, including: controlling a terminal to receive a notification message sent by a home network device through a predetermined address when accessing or exiting the home network; and controlling the terminal to update the home network according to the notification message Device list information of the device, where the device list information includes IP address information of the home network device. Preferably, the home network device comprises one of: a media server, a media renderer, and a media controller. Preferably, the control terminal receives the notification message sent by the home network device by using the predetermined address when accessing the home network, including: the media server or the media renderer determines that the home network needs to be accessed, and sends the corresponding media to the control terminal by using the predetermined address. A notification message of a first uniform resource locator (URL) of the server or media renderer; the control terminal receives the notification message carrying the first URL. Preferably, the control terminal updates the device list information of the home network device according to the notification message, including: controlling the terminal to access the first URL carried in the notification message by using a predetermined manner, and acquiring the first of the media server or the media renderer from the first URL. Descriptive information, where the first description information includes first IP address information and first device type information; and the control terminal updates device list information of the home network device according to the first IP address information and the first device type information. Preferably, the control terminal receives the notification message sent by the home network device by using the predetermined address when exiting the home network, including: the media server or the media renderer determines that the home network needs to be logged out, sends a notification message to the control terminal by using the predetermined address; and the control terminal receives the notification. The control terminal updates the device list information of the home network device according to the notification message, including: the control terminal confirms that the media server or the media renderer has exited the home network according to the notification message; and controls the media controller of the home network device to update the device list information of the home network device. Preferably, the notification message is a Simple Service Discovery Protocol Broadcast (SSDP NOTIFY) message. Preferably, the control terminal receives the notification message sent by the home network device by using the predetermined address when accessing the home network, including: the media controller determines that the home network needs to be accessed, sends a notification message to the control terminal by using the predetermined address; and the control terminal receives the notification message. . Preferably, the control terminal updates the device list information of the home network device according to the notification message, including: the control terminal responds to the notification message, associates the second description information of the control terminal with the second URL, and carries the second URL in the response message. And sending the response message to the media controller; the media controller receives the response message, extracts the second URL from the response message, accesses the second URL in a predetermined manner, and obtains the second description information; when the control terminal determines the media controller access And obtaining, by the second URL, the second IP information of the media controller, determining second device type information of the media controller; and controlling, by the media controller of the terminal, the device list of the home network device according to the second IP address information and the second device type information information. Preferably, the notification message is a Simple Service Discovery Protocol Search (SSDP M-SEARCH) message. Preferably, after the media controller obtains the second description information, the method further includes: the media controller sending a subscription message of the subscription control terminal to the control terminal. Preferably, the control terminal receives the notification message sent by the home network device by using the predetermined address when exiting the home network, including: the media controller sends an unsubscribe message of the unsubscribe control terminal; the control terminal receives the unsubscribe message; and the control terminal updates according to the notification message. The device list information of the home network device includes: the control terminal determines that the media controller has exited the home network; and the control terminal updates the device list information of the home network device. Preferably, after the control terminal updates the device list information of the home network device according to the notification message, the method further includes: when the control terminal wants the home network device to exit the home network, sending the third IP address information of the home network device to the home network. An access node (AP) device; the AP device disconnects the home network device corresponding to the third IP address information from the home network according to the third IP address information. According to another aspect of the present invention, a control apparatus for a home network device is provided, including: a receiving module, configured to receive a notification message sent by a home network device by using a predetermined address when accessing or exiting the home network; an update module, setting The device list information of the home network device is updated according to the notification message. Preferably, the home network device comprises one of: a media server, a media renderer, and a media controller. Preferably, the device further includes: a sending module, configured to: when the control terminal wants the home network device to exit the home network, send the third IP address information of the home network device to an access point (AP) device in the home network; The management module is configured to disconnect the connection between the home network device corresponding to the third IP address information and the home network according to the third IP address information. The present invention solves the problem that the prior art cannot be real-time by adopting a combination of the functions of the media controller and the media server, and the functions of the AP device, by real-time refreshing the device list information of the DLNA device (home network device) in the home network. The problem of updating the device list information of the DLNA device, thereby realizing the real-time refreshing of the list of DLNA devices accessed in the home network, and the effect of managing the DLNA devices accessing the home network. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flow chart of a method for controlling a home network device according to an embodiment of the present invention; FIG. 2 is a flow chart of a media server/media renderer accessing and exiting a home network according to a preferred embodiment of the present invention; 3 is a flow chart of a media controller accessing and exiting a home network according to a preferred embodiment of the present invention; FIG. 4 is a flow chart of controlling a terminal to control a home network device to exit a home network according to a preferred embodiment of the present invention; FIG. 6 is a structural block diagram of a control device of a home network device according to an embodiment of the present invention; and FIG. 7 is a control device of a home network device according to a preferred embodiment of the present invention; Structure diagram. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. FIG. 1 is a flowchart of a method for controlling a home network device according to an embodiment of the present invention. As shown in FIG. 1, the method mainly includes the following steps (step S102-step S104). Step S102: The control terminal receives a notification message sent by the home network device by using a predetermined address when accessing or exiting the home network. Step S104: The control terminal updates the device list information of the home network device according to the notification message. Preferably, in a practical application, the home network device may include one of the following: a media server, a media renderer, and a media controller. In a preferred embodiment of the present invention, when the home network device is a media server or a media renderer, the control terminal receives the notification message sent by the home network device by using the predetermined address when accessing the home network, including: media server or media rendering Determining that the home network needs to be accessed, and sending, by the predetermined address, a notification message carrying a first uniform resource locator (URL) corresponding to the media server or the media renderer to the control terminal; the control terminal receiving the notification message carrying the first URL . The control terminal updates the device list information of the home network device according to the notification message, the method includes: controlling, by the predetermined terminal, the first URL carried in the notification message, and acquiring the first description information of the media server or the media renderer from the first URL, The first description information includes the first IP information and the first device type information. The control terminal updates the device list information of the home network device according to the first IP information and the first device type information. Preferably, in a practical application, the notification message is a Simple Service Discovery Protocol Broadcast (SSDP NOTIFY) message. In a preferred embodiment of the present invention, when the home network device is a media server or a media renderer, the control terminal receives a notification message sent by the home network device by using a predetermined address when exiting the home network, including: a media server or a media renderer. Determining that the home network needs to be logged out, sending a notification message to the control terminal through the predetermined address; and controlling the terminal to receive the notification message. The control terminal updates the device list information of the home network device according to the notification message, including: the control terminal confirms that the media server or the media renderer has exited the home network according to the notification message; and controls the media controller of the home network device to update the device list information of the home network device. Preferably, in a practical application, the notification message is a Simple Service Discovery Protocol Broadcast (SSDP NOTIFY) message. In a preferred embodiment of the present invention, when the home network device is the media controller, the control terminal receives the notification message sent by the home network device by using the predetermined address when accessing the home network, where: the media controller determines that the user needs to access the home. The network sends a notification message to the control terminal through the predetermined address; the control terminal receives the notification message. The control terminal updates the device list information of the home network device according to the notification message, including: controlling the terminal to respond to the notification message, associating the second description information of the control terminal to the second URL, and carrying the second URL in the response message The message is sent to the media controller; the media controller receives the response message, extracts the second URL from the response message, accesses the second URL in a predetermined manner, and obtains the second description information; when the control terminal determines that the media controller accesses the second URL Obtaining second IP information of the media controller, determining second device type information of the media controller; and controlling, by the media controller of the terminal, the second IP information and the second device type information Device list information for home network devices. Preferably, in a practical application, the notification message is a Simple Service Discovery Protocol Search (SSDP M-SEARCH) message. Preferably, in an actual application, after the media controller obtains the second description information, the method may further include: sending, by the media controller, a subscription message of the subscription control terminal to the control terminal. In a preferred embodiment of the present invention, when the home network device is the media controller, the control terminal receives the notification message sent by the home network device by using the predetermined address when exiting the home network, and the method includes: the media controller sends the unsubscribe control terminal. The control terminal receives the unsubscribe message; the control terminal updates the device list information of the home network device according to the notification message, including: the control terminal determines that the media controller has exited the home network; and the control terminal updates the device list information of the home network device. Preferably, in an actual application, after the control terminal updates the device list information of the home network device according to the notification message, the method further includes: when the control terminal wants the home network device to exit the home network Transmitting the third IP address information of the home network device to an access point (AP) device in the home network; the AP device disconnecting the third IP address according to the third IP address information The connection of the home network device corresponding to the information to the home network. For example, in a practical application, when the home network device is one of the following: a media server, a media renderer, and a media controller, the following implementation manners may be adopted: When there is a media server device or a media renderer device in the home network, The SSDP NOTIFY broadcast message may be sent through the 239.255.255.250: 1900 address (ie, the predetermined address mentioned above), and the control terminal (in an actual application, may be operated by the media controller of the control terminal) receives the SSDP NOTIFY broadcast message. The LOCATION field is extracted, and the URL included in the field is accessed by the HTTP GET method (that is, the predetermined manner) to obtain the description information of the media server device or the media renderer device, where the description information includes the IP address. Information and device type information. The media controller of the control terminal updates the device list information of the home network device located at the control terminal according to the IP address information and the device type information. When the media server device or media renderer device exits, the SSDP NOTIFY broadcast message can also be sent via the 239.255.255.250: 1900 address. After receiving the message, the media controller of the control terminal confirms that the media server device or the media renderer device has left the network, and timely updates the device list information of the home network device located in the control terminal. When the media controller accesses the home network, the SSDP M-SEARCH message can be sent through the 239.255.255.250: 1900 address (that is, the predetermined address mentioned above) to control the terminal (in actual applications, the media server of the control terminal can perform operations) After receiving the message, the device type restriction of the ST field in the M-SEARCH message may be ignored, and a response message is sent in response to the SSDP M-SEARCH message, and the response message is carried in the response message. LOCATION field, which is mainly used to save the URL of the description information of the control terminal. After receiving the response, the media controller extracts the URL of the LOCATION field from the response message, and accesses the URL by using the HTTP GET method (that is, the predetermined method described above). When the media server of the control terminal finds that another device obtains its description information by accessing the URL, the server controlling the terminal saves the IP address information of the access device, and determines that the media type information of the access device is the media controller type. After obtaining the device description information, the media controller can control the media server of the terminal through a General Event Notification Architecture (GENA) subscription (SUBSCRIBE). When the media controller exits the home network, the subscription can also be cancelled via GENA UNSUBSCRIBE. When the media server of the control terminal finds that other devices cancel the subscription, it can confirm that the device has left the network, and timely update the device list information of the home network device located in the control terminal. Moreover, the control terminal can also actively control the exit of the DLNA device (mainly the home network device). When the control terminal wants a home network device to exit the home network, it only needs to send the IP address of the home network device to the access node (AP) device in the home network, and send a disconnect message to the AP device. For the convenience of the implementation, a listening module can be run on the AP device side. The listening module is mainly used to listen to the disconnection message sent by the control terminal and forward it to the processing module of the AP device. After receiving the disconnection message, the processing module completes the connection between the home network device corresponding to the disconnected IP address information and the home network according to the IP address information. Through the above method, the user can manage the DLNA device in the home network, and can arbitrarily control the exit of the DLNA device. The above method will be described in detail below with reference to FIGS. 2 to 5 and a preferred embodiment. 2 is a flow chart of a media server/media renderer accessing and exiting a home network according to a preferred embodiment of the present invention. As shown in FIG. 2, the process of accessing and exiting the media server/media renderer from the home network includes the following steps.
5201 , 接入设备 A需要具备媒体服务器或者媒体渲染器的功能, 并处于家庭网络 覆盖范围之内, 设备 A接入家庭网络时, 通过 239.255.255.250: 1900地址(即上述预 定地址) 向家庭网络中广播 SSDP NOTIFY消息 (SSDP NOTIFY消息为接入消息); 广播过程请同时参考图 5。 5201, the access device A needs to have the function of a media server or a media renderer, and is within the coverage of the home network. When the device A accesses the home network, the 239.255.255.250: 1900 address (that is, the above predetermined address) is sent to the home network. Medium broadcast SSDP NOTIFY message (SSDP NOTIFY message is an access message); Please refer to Figure 5 for the broadcast process.
5202, 控制终端 B收到设备 A的广播消息后, 从中提取 LOCATION字段包含的 5203 , 控制终端 B通过 HTTP GET方式 (即上述预定方式) 访问 URL, 获取设 备 A的描述信息。 5202. After receiving the broadcast message of the device A, the control terminal B extracts the LOCATION field from the 5203. The control terminal B accesses the URL by using an HTTP GET method (that is, the foregoing predetermined manner), and obtains description information of the device A.
5204, 设备 A接收 HTTP GET请求后, 将自身描述信息作为响应发送给控制终端After receiving the HTTP GET request, the device A sends the description information to the control terminal as a response.
B。 S205, 控制终端 B获取设备 A的描述信息, 从描述信息中解析出设备 A的设备 类型信息及 IP地址信息, 并更新控制终端上的 DLNA设备 (主要为家庭网络设备) 的设备列表信息。 B. S205. The control terminal B obtains the description information of the device A, parses the device type information and the IP address information of the device A from the description information, and updates the device list information of the DLNA device (mainly the home network device) on the control terminal.
S206, 设备 A退出家庭网络时, 通过 239.255.255.250: 1900地址(即上述预定地 址) 向家庭网络中广播 SSDP NOTIFY消息 (该 SSDP NOTIFY消息为退出消息)。 S207, 控制终端 B接收到设备 A的广播消息后, 确认设备 A离开家庭网络, 更 新 DLNA设备的设备列表信息。 图 3是根据本发明优选实施例的媒体控制器接入与退出家庭网络的流程图, 如图 3所示, 媒体控制器接入与退出家庭网络的流程包括以下步骤。 S206. When the device A exits the home network, the SSDP NOTIFY message is broadcasted to the home network by using the 239.255.255.250: 1900 address (that is, the above predetermined address) (the SSDP NOTIFY message is an exit message). S207. After receiving the broadcast message of the device A, the control terminal B confirms that the device A leaves the home network and updates the device list information of the DLNA device. FIG. 3 is a flowchart of a media controller accessing and exiting a home network according to a preferred embodiment of the present invention. As shown in FIG. 3, the process for the media controller to access and exit the home network includes the following steps.
5301 , 接入设备 C需要具备媒体服务器或者媒体渲染器的功能, 并处于家庭网络 覆盖范围之内。 设备 C接入家庭网络时, 通过 239.255.255.250: 1900地址(即上述预 定地址)向家庭网络中广播 SSDP M-SEARCH消息(该 M-SEARCH消息为接入消息); 广播过程请同时参考图 5。 5301, Access device C needs to have the function of media server or media renderer, and is within the coverage of the home network. When the device C accesses the home network, the SSDP M-SEARCH message is broadcasted to the home network through the 239.255.255.250: 1900 address (that is, the predetermined address mentioned above) (the M-SEARCH message is an access message); .
5302, 控制终端 B收到设备 C的广播消息后, 忽略 M-SEARCH消息中 ST字段 的要求, 对 M-SEARCH消息单播响应产生响应消息。 S303 , 设备 C收到响应消息后, 从中提取 LOCATION字段的 URL信息。 5302. After receiving the broadcast message of the device C, the control terminal B ignores the request of the ST field in the M-SEARCH message, and generates a response message to the unicast response of the M-SEARCH message. S303. After receiving the response message, the device C extracts the URL information of the LOCATION field.
5304, 设备 C通过 HTTP GET方式 (即上述预定方式) 访问 URL, 获取控制终 端 B的设备描述信息。 5304. The device C accesses the URL through the HTTP GET mode (that is, the foregoing predetermined manner), and obtains the device description information of the control terminal B.
5305, 控制终端 B发现有其他设备访问其描述信息, 保存该设备的 IP地址, 默 认设备类型为媒体控制器, 更新控制终端的设备列表。 S306, 设备 C通过 GENA SUBSCRIBE方式 (UNSUBSCRIBE消息为退出消息) 订阅控制终端 B。 5305. The control terminal B discovers that another device accesses the description information, saves the IP address of the device, and the default device type is a media controller, and updates the device list of the control terminal. S306, the device C subscribes to the control terminal B by using the GENA SUBSCRIBE mode (the UNSUBSCRIBE message is an exit message).
S307, 设备 C退出家庭网络, 通过 GENA UNSUBSCRIBE方式取消订阅。 S308, 控制终端 B收到 UNSUBSCRIBE消息后, 确认该设备退出家庭网络, 更 新控制终端上的 DLNA设备 (主要为家庭网络设备) 设备列表信息。 图 4是根据本发明优选实施例的控制终端控制家庭网络设备退出家庭网络的流程 图, 如图 4所示, 控制终端控制家庭网络设备退出家庭网络的流程包括以下步骤。 S401 , 启动接入节点 (AP)设备侧的侦听模块, 用于侦听控制终端发送的断开连 接消息。 S307, Device C exits the home network and cancels the subscription by GENA UNSUBSCRIBE. S308. After receiving the UNSUBSCRIBE message, the control terminal B confirms that the device exits the home network, and updates the device list information of the DLNA device (mainly the home network device) on the control terminal. 4 is a flowchart of controlling a home network device to exit a home network according to a preferred embodiment of the present invention. As shown in FIG. 4, the process for controlling a home terminal to control a home network device to exit a home network includes the following steps. S401. Start a listening module on the access node (AP) device side, and listen to the disconnection message sent by the control terminal.
S402, 控制终端选择希望断开连接的家庭网络设备, 并将该家庭网络设备的 IP地 址信息携带在断开连接消息通过 HTTP发送至 AP设备侧的侦听模块。 S402. The control terminal selects the home network device that wants to disconnect, and carries the IP address information of the home network device to the interception module that sends the disconnection message to the AP device side through HTTP.
S403,AP设备侧的侦听模块收到断开连接消息后,发送响应以确认成功接收消息, 控制终端刷新设备列表。 S403: After receiving the disconnection message, the listening module on the AP device sends a response to confirm the successful reception of the message, and the control terminal refreshes the device list.
S404, AP设备侧的侦听模块对断开连接消息进行处理,从中提取出需要断开连接 设备的 IP地址信息, 交给 AP设备进行处理。 S404: The listening module on the AP device processes the disconnection message, extracts the IP address information of the device that needs to be disconnected, and sends the information to the AP device for processing.
S405, AP控制设备断开家庭网络设备与家庭网络之间的连接,是家庭网络设备离 开网络。 采用上述实施例提供的家庭网络设备的控制方法, 结合使用了媒体控制器和媒体 服务器的部分功能,以及 AP设备的功能,通过实时刷新家庭网络中的 DLNA设备(家 庭网络设备) 设备列表信息, 可以实现对家庭网络中的 DLNA设备的综合管理。 图 6是根据本发明实施例的家庭网络设备的控制装置的结构框图, 该装置用以实 现上述实施例提供的家庭网络设备的控制方法, 如图 6所示, 该装置主要包括: 接收 模块 10和更新模块 20。 其中, 接收模块 10, 设置为接收家庭网络设备在接入或退出 家庭网络时通过预定地址发送的通知消息; 更新模块 20, 连接至接收模块 10, 设置为 根据通知消息更新家庭网络设备的设备列表信息。 优选地, 在实际应用中, 家庭网络设备可以包括以下之一: 媒体服务器、 媒体渲 染器, 以及媒体控制器。 图 7是根据本发明优选实施例的家庭网络设备的控制装置的结构框图, 如图 7所 示, 该装置还可以包括: 发送模块 30和处理模块 40。 其中, 发送模块 30, 连接至更 新模块 20, 设置为当所述控制终端希望所述家庭网络设备退出所述家庭网络时, 将所 述家庭网络设备的第三 IP地址信息发送给所述家庭网络中的接入节点 AP设备; 处理 模块 40, 连接至发送模块 30, 设置为根据所述第三 IP地址信息断开所述第三 IP地址 信息对应的所述家庭网络设备与所述家庭网络的连接。 采用上述实施例提供的家庭网络设备的控制装置, 结合使用了媒体控制器和媒体 服务器的部分功能,以及 AP设备的功能,通过实时刷新家庭网络中的 DLNA设备(家 庭网络设备) 设备列表信息, 可以实现对家庭网络中的 DLNA设备的综合管理。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 结合使用了媒体控制 器和媒体服务器的部分功能,以及 AP设备的功能,通过实时刷新家庭网络中的 DLNA 设备 (家庭网络设备)设备列表信息, 可以实现对家庭网络中的 DLNA设备的综合管 理, 而且, 可以主动控制已经接入家庭网络的 DLNA设备从家庭网络中退出。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 S405. The AP control device disconnects the connection between the home network device and the home network, and the home network device leaves the network. The control method of the home network device provided by the foregoing embodiment, in combination with the partial functions of the media controller and the media server, and the function of the AP device, real-time refreshing the device list information of the DLNA device (home network device) in the home network, Integrated management of DLNA devices in the home network can be achieved. FIG. 6 is a structural block diagram of a control apparatus of a home network device according to an embodiment of the present invention. The device is used to implement the control method of the home network device provided by the foregoing embodiment. As shown in FIG. 6, the device mainly includes: a receiving module 10 And update module 20. The receiving module 10 is configured to receive a notification message that is sent by the home network device by using a predetermined address when accessing or exiting the home network. The updating module 20 is connected to the receiving module 10, and is configured to update the device list of the home network device according to the notification message. information. Preferably, in a practical application, the home network device may include one of the following: a media server, a media renderer, and a media controller. FIG. 7 is a structural block diagram of a control apparatus of a home network device according to a preferred embodiment of the present invention. As shown in FIG. 7, the apparatus may further include: a sending module 30 and a processing module 40. The sending module 30 is connected to the update module 20, and configured to send the third IP address information of the home network device to the home network when the control terminal wants the home network device to exit the home network. Access node AP device; processing The module 40 is connected to the sending module 30, and is configured to disconnect the home network device corresponding to the third IP address information from the home network according to the third IP address information. The control device of the home network device provided by the foregoing embodiment, in combination with the partial functions of the media controller and the media server, and the function of the AP device, refresh the device list information of the DLNA device (home network device) in the home network in real time, Integrated management of DLNA devices in the home network can be achieved. From the above description, it can be seen that the present invention achieves the following technical effects: Combining the use of some functions of the media controller and the media server, and the functions of the AP device, real-time refreshing of the DLNA device in the home network (home network device) The device list information can implement integrated management of the DLNA device in the home network, and can actively control the DLNA device that has accessed the home network to exit from the home network. Obviously, those skilled in the art should understand that the above 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. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claims
1. 一种家庭网络设备的控制方法, 包括: A method for controlling a home network device, comprising:
控制终端接收家庭网络设备在接入或退出家庭网络时通过预定地址发送的 通知消息;  The control terminal receives a notification message sent by the home network device through the predetermined address when accessing or exiting the home network;
所述控制终端根据所述通知消息更新所述家庭网络设备的设备列表信息, 其中, 所述设备列表信息包括所述家庭网络设备的 IP地址信息。  The control terminal updates the device list information of the home network device according to the notification message, where the device list information includes IP address information of the home network device.
2. 根据权利要求 1所述的方法, 其中, 所述家庭网络设备包括以下之一: 媒体服 务器、 媒体渲染器, 以及媒体控制器。 2. The method of claim 1, wherein the home network device comprises one of: a media server, a media renderer, and a media controller.
3. 根据权利要求 2所述的方法, 其中, 控制终端接收家庭网络设备在接入家庭网 络时通过预定地址发送的通知消息, 包括: The method according to claim 2, wherein the control terminal receives the notification message sent by the home network device by using the predetermined address when accessing the home network, including:
所述媒体服务器或所述媒体渲染器确定需要接入所述家庭网络, 通过所述 预定地址向所述控制终端发送携带有对应于所述媒体服务器或所述媒体渲染器 的第一统一资源定位器 URL的通知消息;  Determining, by the media server or the media renderer, that the home network needs to be accessed, and sending, by the predetermined address, the first uniform resource location carried by the media terminal or the media renderer to the control terminal Notification message of the URL of the device;
所述控制终端接收携带有所述第一 URL的所述通知消息。  The control terminal receives the notification message carrying the first URL.
4. 根据权利要求 3所述的方法, 其中, 所述控制终端根据所述通知消息更新所述 家庭网络设备的设备列表信息, 包括: The method of claim 3, wherein the controlling the terminal to update the device list information of the home network device according to the notification message comprises:
所述控制终端通过预定方式访问所述通知消息中携带的所述第一 URL,并 从所述第一 URL中获取所述媒体服务器或所述媒体渲染器的第一描述信息,其 中, 所述第一描述信息包括第一 IP地址信息和第一设备类型信息;  The control terminal accesses the first URL carried in the notification message by using a predetermined manner, and acquires first description information of the media server or the media renderer from the first URL, where The first description information includes first IP address information and first device type information;
所述控制终端根据所述第一 IP 地址信息和所述第一设备类型信息更新所 述家庭网络设备的设备列表信息。  The control terminal updates the device list information of the home network device according to the first IP address information and the first device type information.
5. 根据权利要求 2所述的方法, 其中, 控制终端接收家庭网络设备在退出家庭网络时通过预定地址发送的通知消 息, 包括: The method according to claim 2, wherein the control terminal receives the notification message sent by the home network device by using the predetermined address when exiting the home network, including:
所述媒体服务器或所述媒体渲染器确定需要退出所述家庭网络, 通过所述 预定地址向所述控制终端发送所述通知消息;  Determining that the media server or the media renderer needs to exit the home network, and sending the notification message to the control terminal by using the predetermined address;
所述控制终端接收所述通知消息; 所述控制终端根据所述通知消息更新所述家庭网络设备的设备列表信息, 包括: The control terminal receives the notification message; Updating, by the control terminal, the device list information of the home network device according to the notification message, including:
所述控制终端根据所述通知消息确认所述媒体服务器或所述媒体渲染器已 经退出所述家庭网络;  The control terminal confirms that the media server or the media renderer has exited the home network according to the notification message;
所述控制终端的媒体控制器更新所述家庭网络设备的设备列表信息。 根据权利要求 3至 5中任一项所述的方法, 其中, 所述通知消息为简单服务发 现协议广播 SSDP NOTIFY消息。 根据权利要求 2所述的方法, 其中, 控制终端接收家庭网络设备在接入家庭网 络时通过预定地址发送的通知消息, 包括:  The media controller of the control terminal updates device list information of the home network device. The method according to any one of claims 3 to 5, wherein the notification message is a simple service discovery protocol broadcast SSDP NOTIFY message. The method according to claim 2, wherein the control terminal receives the notification message sent by the home network device by using the predetermined address when accessing the home network, including:
所述媒体控制器确定需要接入所述家庭网络, 通过所述预定地址向所述控 制终端发送所述通知消息;  The media controller determines that the home network needs to be accessed, and sends the notification message to the control terminal by using the predetermined address;
所述控制终端接收所述通知消息。 根据权利要求 7所述的方法, 其中, 所述控制终端根据所述通知消息更新所述 家庭网络设备的设备列表信息, 包括:  The control terminal receives the notification message. The method according to claim 7, wherein the controlling the terminal to update the device list information of the home network device according to the notification message comprises:
所述控制终端响应所述通知消息, 将所述控制终端的第二描述信息关联至 第二 URL中, 并将所述第二 URL携带在响应消息中后将所述响应消息发送给 所述媒体控制器;  The control terminal associates the second description information of the control terminal with the second URL in response to the notification message, and sends the response message to the media after the second URL is carried in the response message. Controller
所述媒体控制器接收所述响应消息, 从所述响应消息中提取出所述第二 URL, 通过所述预定方式访问所述第二 URL, 获取所述第二描述信息;  Receiving, by the media controller, the response message, extracting the second URL from the response message, and accessing the second URL by using the predetermined manner to obtain the second description information;
当所述控制终端确定所述媒体控制器访问所述第二 URL时,获取所述媒体 控制器的第二 IP信息, 确定所述媒体控制器的第二设备类型信息;  When the control terminal determines that the media controller accesses the second URL, acquiring second IP information of the media controller, and determining second device type information of the media controller;
所述控制终端的媒体控制器根据所述第二 IP 地址信息和所述第二设备类 型信息更新所述家庭网络设备的设备列表信息。 根据权利要求 8 所述的方法, 其中, 所述通知消息为简单服务发现协议搜索 SSDP M-SEARCH消息。 根据权利要求 8或 9所述的方法, 其中, 在所述媒体控制器获取所述第二描述 信息之后, 还包括:  The media controller of the control terminal updates the device list information of the home network device according to the second IP address information and the second device type information. The method according to claim 8, wherein the notification message is a simple service discovery protocol search SSDP M-SEARCH message. The method according to claim 8 or 9, wherein, after the media controller acquires the second description information, the method further includes:
所述媒体控制器向所述控制终端发送订阅所述控制终端的订阅消息。 The media controller sends a subscription message to the control terminal to subscribe to the control terminal.
11. 根据权利要求 2所述的方法, 其中, 控制终端接收家庭网络设备在退出家庭网络时通过预定地址发送的通知消 息, 包括: The method according to claim 2, wherein the control terminal receives the notification message sent by the home network device by using the predetermined address when exiting the home network, including:
所述媒体控制器发送取消订阅所述控制终端的取消订阅消息; 所述控制终端接收所述取消订阅消息;  Sending, by the media controller, an unsubscribe message that is unsubscribed to the control terminal; the control terminal receiving the unsubscribe message;
所述控制终端根据所述通知消息更新所述家庭网络设备的设备列表信息, 包括:  Updating, by the control terminal, the device list information of the home network device according to the notification message, including:
所述控制终端确定所述媒体控制器已经退出所述家庭网络;  The control terminal determines that the media controller has exited the home network;
所述控制终端更新所述家庭网络设备的设备列表信息。  The control terminal updates device list information of the home network device.
12. 根据权利要求 1或 2所述的方法, 其中, 在所述控制终端根据所述通知消息更 新所述家庭网络设备的设备列表信息之后, 还包括: The method according to claim 1 or 2, wherein, after the control terminal updates the device list information of the home network device according to the notification message, the method further includes:
当所述控制终端希望所述家庭网络设备退出所述家庭网络时, 将所述家庭 网络设备的第三 IP地址信息发送给所述家庭网络中的接入节点 AP设备; 所述 AP设备根据所述第三 IP地址信息断开所述第三 IP地址信息对应的 所述家庭网络设备与所述家庭网络的连接。  Transmitting the third IP address information of the home network device to the access node AP device in the home network when the control terminal wants the home network device to exit the home network; The third IP address information disconnects the home network device corresponding to the third IP address information from the home network.
13. 一种家庭网络设备的控制装置, 包括: 13. A control device for a home network device, comprising:
接收模块, 设置为接收家庭网络设备在接入或退出家庭网络时通过预定地 址发送的通知消息;  a receiving module, configured to receive a notification message sent by the home network device by using a predetermined address when accessing or exiting the home network;
更新模块, 设置为根据所述通知消息更新所述家庭网络设备的设备列表信 息。  And an update module, configured to update the device list information of the home network device according to the notification message.
14. 根据权利要求 13所述的装置, 其中, 所述家庭网络设备包括以下之一: 媒体服 务器、 媒体渲染器, 以及媒体控制器。 14. The apparatus of claim 13, wherein the home network device comprises one of: a media server, a media renderer, and a media controller.
15. 根据权利要求 13或 14所述的方法, 其中, 所述装置还包括: 发送模块, 设置为当所述控制终端希望所述家庭网络设备退出所述家庭网 络时,将所述家庭网络设备的第三 IP地址信息发送给所述家庭网络中的接入点 AP设备; 处理模块, 设置为根据所述第三 IP地址信息断开所述第三 IP地址信息对 应的所述家庭网络设备与所述家庭网络的连接。 The method according to claim 13 or 14, wherein the device further comprises: a sending module, configured to: when the control terminal wants the home network device to exit the home network, the home network device The third IP address information is sent to the access point AP device in the home network; the processing module is configured to disconnect the home network device corresponding to the third IP address information according to the third IP address information The connection of the home network.
PCT/CN2012/080055 2012-01-19 2012-08-13 Method and apparatus for controlling home network device WO2013107175A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210017760.4A CN102594632B (en) 2012-01-19 2012-01-19 The control method and device of home network device
CN201210017760.4 2012-01-19

Publications (1)

Publication Number Publication Date
WO2013107175A1 true WO2013107175A1 (en) 2013-07-25

Family

ID=46482852

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/080055 WO2013107175A1 (en) 2012-01-19 2012-08-13 Method and apparatus for controlling home network device

Country Status (2)

Country Link
CN (1) CN102594632B (en)
WO (1) WO2013107175A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594632B (en) * 2012-01-19 2018-03-13 中兴通讯股份有限公司 The control method and device of home network device
CN103023896A (en) * 2012-11-29 2013-04-03 Tcl集团股份有限公司 Method and device for marking and obtaining type of digital living network alliance (DLNA) device and DLNA device
CN103023736B (en) * 2012-12-12 2016-05-11 惠州Tcl移动通信有限公司 Show method and the mobile terminal of DLNA equipment
CN103973742B (en) * 2013-01-31 2017-09-01 纬创资通股份有限公司 Long-range control method and system, the control for supporting remote control and feedback device
CN103237033A (en) * 2013-04-28 2013-08-07 青岛海信移动通信技术股份有限公司 Access control method, device and communication system
CN104753851B (en) * 2013-12-25 2018-12-07 华为终端有限公司 A kind of method and device accessing network
CN105338023B (en) * 2014-07-11 2019-05-28 北京华为数字技术有限公司 A kind of method, apparatus and system of smart machine control
CN105812325A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 UPnP equipment management method, UPnP equipment management apparatus and terminal
CN110290415A (en) * 2019-07-29 2019-09-27 四川长虹电器股份有限公司 A method of realizing more seamless collaborations of equipment room media play

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481122A (en) * 2002-11-06 2004-03-10 联想(北京)有限公司 Method for controlling and managing electrical appliances in household network
US20050099982A1 (en) * 2003-10-27 2005-05-12 Samsung Electronics Co., Ltd. Proxy device and method for controlling devices in a domain
CN102004751A (en) * 2009-08-28 2011-04-06 埃森哲环球服务有限公司 Accessing content in a network
CN102594632A (en) * 2012-01-19 2012-07-18 中兴通讯股份有限公司 Method and device for controlling home network device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101469540B1 (en) * 2007-05-31 2014-12-05 삼성전자주식회사 Method and apparatus for discovering Universal Plug and Play device using resource information
CN101583151B (en) * 2009-07-02 2013-01-09 杭州华三通信技术有限公司 Method of STA roaming in WLAN network and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481122A (en) * 2002-11-06 2004-03-10 联想(北京)有限公司 Method for controlling and managing electrical appliances in household network
US20050099982A1 (en) * 2003-10-27 2005-05-12 Samsung Electronics Co., Ltd. Proxy device and method for controlling devices in a domain
CN102004751A (en) * 2009-08-28 2011-04-06 埃森哲环球服务有限公司 Accessing content in a network
CN102594632A (en) * 2012-01-19 2012-07-18 中兴通讯股份有限公司 Method and device for controlling home network device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG, JIANHUA ET AL.: "Research and Realize Digital Home Network Based on UPnP", MASTER'S DISSERTATION, no. 2, 2007, pages 24 - 28 *

Also Published As

Publication number Publication date
CN102594632A (en) 2012-07-18
CN102594632B (en) 2018-03-13

Similar Documents

Publication Publication Date Title
WO2013107175A1 (en) Method and apparatus for controlling home network device
US9785399B2 (en) Systems and methods for providing zone functionality in networked media systems
US20180098214A1 (en) Apparatus and method for providing universal plug and play service based on wi-fi direct connection in portable terminal
JP5898339B2 (en) System and method for connecting an audio controller to a hidden audio network
WO2009090707A1 (en) Communication terminal and method for controlling connection of communication device
US8443418B2 (en) Method and apparatus for managing remote access authority in UpnP remote access service
US20150089025A1 (en) Method And Apparatus For Sharing DLNA Device
CN103796061A (en) System and method for achieving synchronized broadcast and control of media files in multiple intelligent terminals
US20150067110A1 (en) Media Playing Method, Apparatus, and System
CN101094243A (en) Multimedia adaptation system and method of adaptating multimedia content for different types of devices base on UPnP
JP2014526090A (en) Device discovery method and content download method
WO2012103721A1 (en) Method and device for terminal to visit digital household devices
KR100949020B1 (en) Service method and system for multicast streaming
US20150222451A1 (en) APPARATUS AND METHOD FOR EXTENDING UPnP NETWORK AREA
US20130042018A1 (en) Apparatus and method for providing streaming service
US7617316B2 (en) Network connection device, network system and method for avoiding duplication of proxy function
US8918845B2 (en) Method and arrangement for media access
CN102006266A (en) Method for configuring service quality parameter, remote access server and system
KR100455123B1 (en) Control message multicasting method and apparatus for universal plug and play network system
KR101238907B1 (en) Home gateway and control point for supporting a share of multimedia contents in media server in private network with media media renderer in remote private network
CN105323125A (en) Cross-family network processing method, HTTP gateway, DLNA (digital living network alliance) apparatus
KR20050035038A (en) Method for setting internet protocol address for network based universal plug and play
KR20040055456A (en) Information exchanging method between multiple control point based universal plug and play
CN104052826A (en) Method and device based on DHCP for discovering network media server
CN110892686B (en) Method for providing information to an audio/video receiver device and corresponding device

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

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

Country of ref document: EP

Kind code of ref document: A1