WO2013013529A1 - 一种UPnP访问控制方法、服务器和客户端 - Google Patents

一种UPnP访问控制方法、服务器和客户端 Download PDF

Info

Publication number
WO2013013529A1
WO2013013529A1 PCT/CN2012/075483 CN2012075483W WO2013013529A1 WO 2013013529 A1 WO2013013529 A1 WO 2013013529A1 CN 2012075483 W CN2012075483 W CN 2012075483W WO 2013013529 A1 WO2013013529 A1 WO 2013013529A1
Authority
WO
WIPO (PCT)
Prior art keywords
upnp
client
server
registration
play
Prior art date
Application number
PCT/CN2012/075483
Other languages
English (en)
French (fr)
Inventor
程成林
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013013529A1 publication Critical patent/WO2013013529A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Definitions

  • the present invention relates to the field of security control, and in particular, to a UPnP (Universal Plug and Play) access control method, a UPnP server, and a client.
  • UPnP Universal Plug and Play
  • UPnP AV UNFP Audio/Video, UPnP audio/video
  • DLNA DIGITAL LIVING NETWORK ALLIANCE
  • UPnP AV provides a plug-and-play media contribution mechanism that is easy to use, but at the same time has a major safety hazard. Because of the implementation of this protocol, all media players that support the UPnP AV protocol have unrestricted access to media resources on media servers within the same network. This will result in the user's personal privacy being most likely to be revealed without their knowledge.
  • Step 101 After the media server is started, a NOTIFY message is sent to notify the media player.
  • Step 102 After receiving the announcement message, the media player initiates a service query to the media server to learn the service content provided by the media server, and displays the media server in the media source list for the user to select.
  • Step 103 After the user selects a certain media server, the media player sends a browse request to the media server, obtains description information of the media content on the media server, and presents the playlist to the user.
  • Step 104 When the user specifies to play a certain media file, the media player sends an http request to the media server, acquires the media file, and plays. In this process, any media player on the same LAN can view all the content on the media server. This will result in the user's personal privacy being most likely to be revealed without their knowledge.
  • An object of the embodiments of the present invention is to provide a UPnP access control method, a UPnP server, and a client to prevent UPnP resources from being illegally accessed.
  • an embodiment of the present invention provides a universal plug and play access control method, including:
  • the Universal Plug and Play (UPnP) server receives the registration request of the UPnP client, checks whether the UPnP client has the access authority according to the registration information carried in the registration request, and returns the verification result to the UPnP. Client.
  • the above method may also have the following features, the registration information including a username and/or a password.
  • the above method may also have the following features, the method further comprising:
  • the UPnP server determines that the UPnP client has the access right, it also records the identity information of the UPnP client with the access right;
  • the UPnP server When receiving the resource access request of the UPnP client, the UPnP server determines, according to the identity information of the UPnP client, whether the UPnP client belongs to the locally recorded UPnP client with access rights, and if so, Then the resource access request is executed, and if not, the resource access request is ignored.
  • the above method may also have the following feature, the identity information being a universally unique identifier (UUID).
  • UUID universally unique identifier
  • the embodiment of the invention further provides a universal plug and play access control method, including:
  • the Universal Plug and Play (UPnP) client sends a registration request to the selected UPnP server, where the registration request carries the registration information, and receives the verification result returned by the UPnP server; At the time, a resource access request is sent to the UPnP server.
  • the Universal Plug and Play (UPnP) client sends a registration request to the selected UPnP server, where the registration request carries the registration information, and receives the verification result returned by the UPnP server; At the time, a resource access request is sent to the UPnP server.
  • the above method may also have the following features, the registration information including a username and/or a password.
  • the embodiment of the invention further provides a universal plug and play server, comprising a verification unit and a response unit, wherein:
  • the check unit is configured to: receive a registration request of a universal plug and play (UPnP) client, check whether the UPnP client has access rights according to the registration information carried in the registration request, and check The result is sent to the response unit;
  • UPN universal plug and play
  • the response unit is configured to: return the verification result to the UPnP client.
  • the above Universal Plug and Play server may also have the following features, the registration information including a username and/or password.
  • the universal plug and play server may also have the following features, and the universal plug and play server further includes an access control unit, where:
  • the checking unit is further configured to: when determining that the UPnP client has the access right, record the identity information of the UPnP client with the access right;
  • the access control unit is configured to: determine, according to the identity information of the UPnP client, whether the UPnP client belongs to the locally recorded UPnP client with access rights, when receiving the resource access request of the UPnP client If yes, the resource access request is executed, and if not, the resource access request is ignored.
  • the universal plug and play server described above may also have the following features: the identity information is a universally unique identifier (UUID).
  • UUID universally unique identifier
  • the embodiment of the present invention further provides a universal plug and play client, including a registration unit and an access unit, where:
  • the registration unit is configured to: send a registration request to the selected Universal Plug and Play (UPnP) server, where the registration request carries the registration information, and receives the verification result returned by the UPnP server;
  • UUPnP Universal Plug and Play
  • the access unit is configured to: when the verification result received by the registration unit is a verification pass, send a resource access request to the UPnP server.
  • the above Universal Plug and Play client may also have the following features, the registration information including a username and/or password.
  • the UPnP client accesses the UPnP server for registration, After the verification is passed, the subsequent operations are performed, so that the designated UPnP client can access the related content of the UPnP server, and the server resource security and user privacy are protected.
  • Figure 1 is a basic interaction model between the UPnP AV server and the client;
  • FIG. 2 is a flowchart of a UPnP access control method according to an embodiment of the present invention
  • FIG. 3 is a flow chart of interaction between a media server and a media player according to an embodiment of the present invention
  • FIG. 4 is a block diagram of a UPnP server according to an embodiment of the present invention.
  • FIG. 5 is a block diagram of a UPnP client in accordance with an embodiment of the present invention.
  • the embodiment of the invention provides a universal plug and play access control method, wherein the UPnP server performs the following operations:
  • the UPnP server receives the registration request of the UPnP client, determines whether the UPnP client has the access authority according to the registration information carried in the registration request, and returns the determination result to the UPnP client.
  • the registration information includes a username and/or a password.
  • the method further includes:
  • the UPnP server determines that the UPnP client has the access right, it also records the identity information of the UPnP client with the access right;
  • the UPnP server When the UPnP server receives the resource access request of the UPnP client, determining, according to the identity information of the UPnP client, whether the UPnP client is the local record The UPnP client with access rights, if yes, the verification passes, the resource access request is executed, otherwise, the resource access request is ignored.
  • the identity information is a Universally Unique Identifier (UUID).
  • UUID Universally Unique Identifier
  • the embodiment of the present invention is not limited thereto, and may also be other unique identification information, such as a MAC address.
  • the UPnP client performs the following operations:
  • the UPnP client sends a registration request to the selected UPnP server, where the registration request carries the registration information, and receives the verification result returned by the UPnP server; when the verification result is the verification, the resource access request is sent to The UPnP server.
  • the registration information includes a username and/or a password.
  • a flowchart of a UPnP access control method includes: Step 201: A UPnP client sends a registration request to a selected UPnP server, where the registration request carries registration information.
  • Step 202 The UPnP server receives the registration request of the UPnP client, determines whether the UPnP client has the access authority according to the registration information carried in the registration request, and returns the registration result to the UPnP client.
  • Step 203 After receiving the verification result, the UPnP client sends a resource access request to the UPnP server if the verification is passed.
  • Step 204 After receiving the resource access request of the UPnP client, the UPnP server determines, according to the identity information of the UPnP client, whether the UPnP client belongs to a locally recorded UPnP client with access rights, if And executing the resource access request, otherwise, ignoring the resource access request.
  • the above UPnP server and client may be various devices to which the UPnP protocol is applied, such as
  • the following describes an embodiment of the present invention by taking a UPnP server as a media server and a UPnP client as a media player (UPnP AV Player) as an example.
  • the media player actively searches for the media server in the home network through the SEARCH (search) active search or by listening to the NOTIFY message, and presents the media server list to the user;
  • the media player When the user selects a media server to perform the access operation, the media player needs to initiate a registration request to the media server, where the registration request carries the username and password;
  • the media server verifies the content of the registration request, that is, determines whether the media player has access rights according to the user name and password, and returns a verification result to the media player; after receiving the verification response, the media player receives the verification response.
  • the resource access request media server is sent.
  • an X-Register action is added to the Content Directory Service in the current UPnP AV solution.
  • X—Password This state variable is used to record the access password of the relevant user
  • X—RegResult This state variable is used to identify the processing result of the user registration request.
  • the X-Register is used to register with the media server and obtain the verification result.
  • the list of parameters for this action is shown in Table 2:
  • a UPnP access control method is used in the embodiment of the present invention.
  • a verification process is added between step 102 and step 103 of the existing process flow mentioned above.
  • the specific implementation steps are as follows: Step 301 - 302 with steps 101 - 102;
  • Step 303 After the user selects a certain media server, the media player pop-up dialog box asks the user to input the user name and password for accessing the media server. After the user inputs the user name and password, the media player encapsulates the content input by the user through the X-Register. Request, initiate registration with the media server.
  • Step 304 The media server determines, according to the username and password in the X-Register request, whether the media player has access rights, and feeds the verification result to the media player, and simultaneously passes the UUID (Universally Unique Identifier) of the media player that passes the verification. , Universally Unique Identifier) is logged to the list of media players with access rights (in this embodiment, called whitelists).
  • UUID Universally Unique Identifier
  • Step 305 When the media player initiates a non-registration request such as browse, search, etc., the media server checks whether the UUID of the media player that initiated the request exists in the whitelist, and if so, executes the related request; if not, ignores The request.
  • a non-registration request such as browse, search, etc.
  • the embodiment of the present invention further provides a UPnP server.
  • the UPnP server includes a check unit and a response unit, where:
  • the check unit is configured to: receive a registration request of the UPnP client, check whether the UPnP client has access rights according to the registration information carried in the registration request, and send the verification result to the response unit. ;
  • the response unit is configured to: return the verification result to the UPnP client.
  • the registration information includes a username and/or a password.
  • the UPnP server further includes an access control unit, where:
  • the checking unit is further configured to: when determining that the UPnP client has the access right, record the identity information of the UPnP client with the access right;
  • the access control unit is configured to: when receiving a resource access request of the UPnP client, Determining, according to the identity information of the UPnP client, whether the UPnP client belongs to the locally recorded UPnP client with access rights, and if yes, executing the resource access request, otherwise, ignoring the resource access request .
  • the identity information is a universally unique identifier (UUID).
  • the embodiment of the present invention further provides a UPnP client.
  • the UPnP client includes a registration unit and an access unit, where:
  • the registration unit is configured to: send a registration request to the selected UPnP server, where the registration request carries the registration information, and receives the verification result returned by the UPnP server;
  • the access unit is configured to: when the verification result received by the registration unit is a verification pass, send a resource access request to the UPnP server.
  • the registration information includes a username and/or a password.
  • the UPnP client accesses the UPnP server for registration, and the subsequent operations are performed after the verification is passed, so that the designated UPnP client can access the related content of the UPnP server, thereby protecting the server resource security and User privacy.

Abstract

一种通用即插即用访问控制方法,包括:通用即插即用(UPnP)服务器接收UPnP客户端的注册请求,根据所述注册请求中携带的注册信息对所述UPnP客户端是否具有访问权限进行校验,并将校验结果返回给所述UPnP客户端。一种通用即插即用服务器和客户端。该方法、服务器和客户端使得指定的UPnP客户端才能访问UPnP服务器的相关内容,保护了服务器资源安全和用户隐私。

Description

一种 UPnP访问控制方法、 J!良务器和客户端
技术领域
本发明涉及安全控制领域,尤其涉及一种 UPnP ( Universal Plug and Play, 通用即插即用)访问控制方法、 UPnP服务器和客户端。
背景技术
目前,实现媒体资源共享的技术有很多,而 UPnP AV( UPnP Audio/Video, UPnP音频 /视频)是其中较为简便的一种。只需要服务器和客户端都支持 UPnP 协议, 并接入同一局域网内, 不需要进行额外的操作和配置, 客户端就可以 方便的连上服务器,并能在线浏览和播放媒体内容。如近期逐渐升温的 DLNA ( DIGITAL LIVING NETWORK ALLIANCE , 数字生活网络联盟 )协议就是 UPnP AV技术的一种具体实现方案。
UPnP AV提供了一种即插即用的媒体贡献机制, 使用方便, 但同时在安 全性方面存在较大的隐患。 因为按照该协议的实现, 所有支持 UPnP AV协议 的媒体播放器均能不受限制的访问同一网络内的媒体服务器上的媒体资源。 这将导致用户的个人隐私极有可能在自己不知情的情况下泄露出去。
图 1是相关技术 UPnP AV媒体服务器和客户端的交互流程, 包括: 步骤 101 , 媒体服务器启动后, 发送宣告(NOTIFY )消息, 通知媒体播 放器。
步骤 102, 媒体播放器接收到宣告消息后, 向媒体服务器发起服务查询, 了解媒体服务器提供的服务内容, 并将媒体服务器显示在媒体源列表中, 供 用户选择。
步骤 103 , 用户选中某一个媒体服务器后, 媒体播放器向媒体服务器发 送浏览(browse )请求, 获取媒体服务器上的媒体内容的描述信息, 并将播 放列表呈现给用户。
步骤 104, 用户指定播放某一媒体文件时, 媒体播放器向媒体服务器发 送 http请求, 获取该媒体文件, 并播放。 在这一处理流程中, 任何处于同一局域网内的媒体播放器都能查看媒体 服务器上的所有内容。 这将导致用户的个人隐私极有可能在自己不知情的情 况下泄露出去。
发明内容
本发明实施例的目的是提供一种 UPnP访问控制方法、 UPnP服务器和客 户端, 以防止 UPnP资源被非法访问。
为了解决上述问题, 本发明实施例提供了一种通用即插即用访问控制方 法, 包括:
通用即插即用 (UPnP )服务器接收 UPnP客户端的注册请求, 根据所述 注册请求中携带的注册信息对所述 UPnP客户端是否具有访问权限进行校验, 并将校验结果返回给所述 UPnP客户端。
上述方法还可具有以下特点, 所述注册信息包括用户名和 /或密码。
上述方法还可具有以下特点, 所述方法还包括:
所述 UPnP服务器判断所述 UPnP客户端具有访问权限时,还记录所述具 有访问权限的 UPnP客户端的身份信息;
所述 UPnP服务器接收到所述 UPnP客户端的资源访问请求时,根据所述 UPnP客户端的所述身份信息判断所述 UPnP客户端是否属于本地记录的所述 具有访问权限的 UPnP客户端, 如果是, 则执行所述资源访问请求, 如果否, 则忽略所述资源访问请求。
上述方法还可具有以下特点,所述身份信息为通用唯一标识符( UUID )。 本发明实施例还提供一种通用即插即用访问控制方法, 包括:
通用即插即用(UPnP)客户端向选中的 UPnP服务器发送注册请求, 所述 注册请求中携带注册信息, 并接收所述 UPnP服务器返回的校验结果; 在所 述校验结果为校验通过时, 发送资源访问请求至所述 UPnP服务器。
上述方法还可具有以下特点, 所述注册信息包括用户名和 /或密码。 本发明实施例还提供一种通用即插即用服务器, 包括校验单元和响应单 元, 其中:
所述校验单元设置成: 接收通用即插即用 (UPnP)客户端的注册请求, 根 据所述注册请求中携带的注册信息对所述 UPnP客户端是否具有访问权限进 行校验, 并将校验结果发送给所述响应单元;
所述响应单元设置成: 将所述校验结果返回给所述 UPnP客户端。
上述通用即插即用服务器还可具有以下特点, 所述注册信息包括用户名 和 /或密码。
上述通用即插即用服务器还可具有以下特点, 所述通用即插即用服务器 还包括访问控制单元, 其中:
所述校验单元还设置成: 判断所述 UPnP客户端具有访问权限时, 还记 录所述具有访问权限的 UPnP客户端的身份信息;
所述访问控制单元设置成: 接收到所述 UPnP客户端的资源访问请求时, 根据所述 UPnP客户端的所述身份信息判断所述 UPnP客户端是否属于本地记 录的所述具有访问权限的 UPnP客户端, 如果是, 则执行所述资源访问请求, 如果否, 则忽略所述资源访问请求。
上述通用即插即用服务器还可具有以下特点, 所述身份信息为通用唯一 标识符(UUID ) 。
本发明实施例还提供一种通用即插即用客户端, 包括注册单元和访问单 元, 其中:
所述注册单元设置成: 向选中的通用即插即用 (UPnP)服务器发送注册请 求, 所述注册请求中携带注册信息, 并接收所述 UPnP服务器返回的校验结 果;
所述访问单元设置成: 在所述注册单元接收到的所述校验结果为校验通 过时, 发送资源访问请求至所述 UPnP服务器。
上述通用即插即用客户端还可具有以下特点, 所述注册信息包括用户名 和 /或密码。
本发明实施例提供的方法中, UPnP客户端访问 UPnP服务器进行注册, 校验通过后才执行后续操作,使得指定的 UPnP客户端才能访问 UPnP服务器 的相关内容, 保护了服务器资源安全和用户隐私。 附图概述
此处所说明的附图用作对本发明的进一步理解, 构成本申请的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当 限定。 在附图中:
图 1是 UPnP AV服务器和客户端的基本交互模型;
图 2是本发明实施例 UPnP访问控制方法流程图;
图 3是本发明实施例媒体服务器和媒体播放器交互流程图;
图 4是本发明实施例 UPnP服务器框图;
图 5是本发明实施例 UPnP客户端框图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
本发明实施例提供一种通用即插即用访问控制方法, 其中, UPnP服务器 执行如下操作:
UPnP服务器接收 UPnP客户端的注册请求,根据所述注册请求中携带的 注册信息判断所述 UPnP客户端是否具有访问权限, 并将判断结果返回给所 述 UPnP客户端。
其中, 所述注册信息包括用户名和 /或密码。
其中, 所述方法还包括:
所述 UPnP服务器判断所述 UPnP客户端具有访问权限时,还记录所述具 有访问权限的 UPnP客户端的身份信息;
所述 UPnP服务器接收到所述 UPnP客户端的资源访问请求时,根据所述 UPnP客户端的所述身份信息判断所述 UPnP客户端是否为本地记录的所述具 有访问权限的 UPnP客户端, 如果是, 则验证通过, 执行所述资源访问请求, 否则, 忽略所述资源访问请求。
其中, 所述身份信息为通用唯一标识符( Universally Unique Identifier , UUID ) , 本发明实施例不限于此, 也可是其他唯一标识信息, 比如 MAC地 址。
本发明实施例提供的通用即插即用访问控制方法中, 由 UPnP客户端执 行如下操作:
UPnP客户端向选中的 UPnP服务器发送注册请求, 所述注册请求中携带 注册信息, 并接收所述 UPnP服务器返回的校验结果; 在所述校验结果为校 验通过时, 发送资源访问请求至所述 UPnP服务器。
其中, 所述注册信息包括用户名和 /或密码。
如图 2所示, 为本发明实施例 UPnP访问控制方法流程图, 包括: 步骤 201 , UPnP客户端向选中的 UPnP服务器发送注册请求, 所述注册 请求中携带注册信息;
步骤 202, UPnP服务器接收 UPnP客户端的注册请求, 根据所述注册请 求中携带的注册信息判断所述 UPnP客户端是否具有访问权限, 并将注册结 果返回给所述 UPnP客户端;
步骤 203 , 所述 UPnP客户端接收所述校验结果后, 如果为校验通过, 发 送资源访问请求至所述 UPnP服务器;
步骤 204, 所述 UPnP服务器接收到所述 UPnP客户端的所述资源访问请 求后,根据所述 UPnP客户端的身份信息判断所述 UPnP客户端是否属于本地 记录的具有访问权限的 UPnP客户端, 如果是, 则执行所述资源访问请求, 否则, 忽略所述资源访问请求。
上述 UPnP服务器和客户端可以是应用了 UPnP协议的各种设备, 比如
PC, 移动终端、 电子设备、 媒体设备等。
下面以 UPnP服务器为媒体服务器, UPnP客户端为媒体播放器( UPnP AV Player )为例进一步说明本发明的实施例。 媒体播放器通过 SEARCH (搜索)主动搜索或通过监听 NOTIFY消息主 动学习家庭网络内的媒体服务器, 并将媒体服务器列表呈现给用户;
当用户选中某个媒体服务器进行访问操作时, 媒体播放器需要主动向媒 体服务器发起注册(register )请求, 该注册请求中携带用户名和密码;
媒体服务器对这一注册请求的内容进行校验, 即根据用户名和密码判断 媒体播放器是否具有访问权限, 并返回校验结果给媒体播放器; 媒体播放器在收到校验通过的回复后,才发送资源访问请求媒体服务器。
下面为本发明的具体应用示例。
首先, 在目前的 UPnP AV 解决方案中的内容目录服务中新增一个 X— Register动作。
为了完成该动作的交互, 需要新增如表 1所列的状态变量:
表 1
Figure imgf000008_0001
X— Username: 该状态变量用于记录具有访问权限的用户名称;
X— Password : 该状态变量用于记录相关用户的访问密码;
X— RegResult: 该状态变量用于标识用户注册请求的处理结果。
X— Register用于向媒体服务器进行注册并获取校验结果。 该动作的参数 列表见表 2:
表 2
Figure imgf000008_0002
如图 3所示, 为本发明实施例 UPnP访问控制方法, 在上文提及的现有 处理流程的步骤 102和步骤 103 之间新增一套校验流程, 具体实施步骤为: 步骤 301 - 302同步骤 101 - 102;
步骤 303 , 用户选中某一个媒体服务器后, 媒体播放器弹出对话框要求 用户输入访问媒体服务器的用户名和密码, 在用户输入用户名和密码后, 媒 体播放器将用户输入的内容封装, 通过 X— Register请求, 向媒体服务器发起 注册。
步骤 304, 媒体服务器根据 X— Register请求中的用户名和密码判断媒体 播放器是否具有访问权限, 并将校验结果反馈给媒体播放器, 同时将通过校 验的媒体播放器的 UUID ( Universally Unique Identifier, 通用唯一标识符 )记 录到具有访问权限媒体播放器列表(本实施例中, 称为白名单) 中。
步骤 305,媒体播放器发起 browse、 search等非注册请求时,媒体服务器 检查发起请求的该媒体播放器的 UUID, 是否存在于白名单中, 如果存在, 则执行相关请求; 如果不存在, 则忽略该请求。
本发明实施例还提供一种 UPnP服务器,如图 4所示, 所述 UPnP服务器 包括校验单元和响应单元, 其中:
所述校验单元设置成: 接收 UPnP客户端的注册请求, 根据所述注册请 求中携带的注册信息对所述 UPnP客户端是否具有访问权限进行校验, 并将 校验结果发送给所述响应单元;
所述响应单元设置成: 将所述校验结果返回给所述 UPnP客户端。
其中, 所述注册信息包括用户名和 /或密码。
其中, 所述 UPnP服务器还包括访问控制单元, 其中:
所述校验单元还设置成: 判断所述 UPnP客户端具有访问权限时, 还记 录所述具有访问权限的 UPnP客户端的身份信息;
所述访问控制单元设置成: 接收到所述 UPnP客户端的资源访问请求时, 根据所述 UPnP客户端的所述身份信息判断所述 UPnP客户端是否属于本地记 录的所述具有访问权限的 UPnP客户端, 如果是, 则执行所述资源访问请求, 否则, 忽略所述资源访问请求。
其中, 所述身份信息为通用唯一标识符(UUID ) 。
本发明实施例还提供一种 UPnP客户端,如图 5所示, 所述 UPnP客户端 包括注册单元和访问单元, 其中:
所述注册单元设置成: 向选中的 UPnP服务器发送注册请求, 所述注册 请求中携带注册信息, 并接收所述 UPnP服务器返回的校验结果;
所述访问单元设置成: 在所述注册单元接收到的所述校验结果为校验通 过时, 发送资源访问请求至所述 UPnP服务器。
其中, 所述注册信息包括用户名和 /或密码。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明实施例不限 制于任何特定形式的硬件和软件的结合。
工业实用性 本发明实施例提供的方法中, UPnP客户端访问 UPnP服务器进行注册, 校验通过后才执行后续操作,使得指定的 UPnP客户端才能访问 UPnP服务器 的相关内容, 保护了服务器资源安全和用户隐私。

Claims

权 利 要 求 书
1、 一种通用即插即用访问控制方法, 包括:
通用即插即用 (UPnP )服务器接收 UPnP客户端的注册请求, 根据所述 注册请求中携带的注册信息对所述 UPnP客户端是否具有访问权限进行校验, 并将校验结果返回给所述 UPnP客户端。
2、 如权利要求 1 所述的方法, 其中, 所述注册信息包括用户名和 /或密 码。
3、 如权利要求 1或 2所述的方法, 所述方法还包括:
所述 UPnP服务器判断所述 UPnP客户端具有访问权限时,还记录所述具 有访问权限的 UPnP客户端的身份信息;
所述 UPnP服务器接收到所述 UPnP客户端的资源访问请求时,根据所述 UPnP客户端的所述身份信息判断所述 UPnP客户端是否属于本地记录的所述 具有访问权限的 UPnP客户端, 如果是, 则执行所述资源访问请求, 如果否, 则忽略所述资源访问请求。
4、 如权利要求 3 所述的方法, 其中, 所述身份信息为通用唯一标识符
( UUID ) 。
5、 一种通用即插即用访问控制方法, 包括:
通用即插即用 (UPnP )客户端向选中的 UPnP服务器发送注册请求, 所 述注册请求中携带注册信息, 并接收所述 UPnP服务器返回的校验结果; 在 所述校验结果为校验通过时, 发送资源访问请求至所述 UPnP服务器。
6、 如权利要求 5 所述的方法, 其中, 所述注册信息包括用户名和 /或密 码。
7、 一种通用即插即用服务器, 包括校验单元和响应单元, 其中: 所述校验单元设置成: 接收通用即插即用 (UPnP )客户端的注册请求, 根据所述注册请求中携带的注册信息对所述 UPnP客户端是否具有访问权限 进行校验, 并将校验结果发送给所述响应单元;
所述响应单元设置成: 将所述校验结果返回给所述 UPnP客户端。
8、 如权利要求 7所述的通用即插即用服务器, 其中, 所述注册信息包括 用户名和 /或密码。
9、如权利要求 7或 8所述的通用即插即用服务器,还包括访问控制单元, 其中:
所述校验单元还设置成: 判断所述 UPnP客户端具有访问权限时, 还记 录所述具有访问权限的 UPnP客户端的身份信息;
所述访问控制单元设置成: 接收到所述 UPnP客户端的资源访问请求时, 根据所述 UPnP客户端的所述身份信息判断所述 UPnP客户端是否属于本地记 录的所述具有访问权限的 UPnP客户端, 如果是, 则执行所述资源访问请求, 如果否, 则忽略所述资源访问请求。
10、 如权利要求 9所述的通用即插即用服务器, 其中, 所述身份信息为 通用唯一标识符(UUID ) 。
11、 一种通用即插即用客户端, 包括注册单元和访问单元, 其中: 所述注册单元设置成: 向选中的通用即插即用 ( UPnP )服务器发送注册 请求, 所述注册请求中携带注册信息, 并接收所述 UPnP服务器返回的校验 结果;
所述访问单元设置成: 在所述注册单元接收到的所述校验结果为校验通 过时, 发送资源访问请求至所述 UPnP服务器。
12、 如权利要求 11所述的通用即插即用客户端, 其中, 所述注册信息包 括用户名和 /或密码。
PCT/CN2012/075483 2011-07-22 2012-05-15 一种UPnP访问控制方法、服务器和客户端 WO2013013529A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110206689.X 2011-07-22
CN201110206689XA CN102891836A (zh) 2011-07-22 2011-07-22 一种UPnP访问控制方法、服务器和客户端

Publications (1)

Publication Number Publication Date
WO2013013529A1 true WO2013013529A1 (zh) 2013-01-31

Family

ID=47535203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075483 WO2013013529A1 (zh) 2011-07-22 2012-05-15 一种UPnP访问控制方法、服务器和客户端

Country Status (2)

Country Link
CN (1) CN102891836A (zh)
WO (1) WO2013013529A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426888B (zh) * 2013-09-05 2017-11-28 上海斐讯数据通信技术有限公司 一种数字媒体服务器限制访问的方法、服务器及系统
CN105554116B (zh) * 2015-12-17 2019-12-10 Tcl集团股份有限公司 一种UPnP设备远程互连方法及系统
CN111212090A (zh) * 2020-02-20 2020-05-29 上海聚力传媒技术有限公司 终端列表获取方法、装置、计算机设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070254630A1 (en) * 2006-04-24 2007-11-01 Nokia Corporation Methods, devices and modules for secure remote access to home networks
WO2007148915A1 (en) * 2006-06-21 2007-12-27 Lg Electronics Inc. Method and apparatus for supporting multicast of media data in a network
CN101523801A (zh) * 2006-10-13 2009-09-02 微软公司 UPnP认证和授权

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100678897B1 (ko) * 2004-11-23 2007-02-07 삼성전자주식회사 홈 네트워크 장치 간의 보안 연결을 위한 시스템 및 방법
CN101493867A (zh) * 2008-01-25 2009-07-29 希姆通信息技术(上海)有限公司 手机与电脑之间安全互传共享数据的方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070254630A1 (en) * 2006-04-24 2007-11-01 Nokia Corporation Methods, devices and modules for secure remote access to home networks
WO2007148915A1 (en) * 2006-06-21 2007-12-27 Lg Electronics Inc. Method and apparatus for supporting multicast of media data in a network
CN101523801A (zh) * 2006-10-13 2009-09-02 微软公司 UPnP认证和授权

Also Published As

Publication number Publication date
CN102891836A (zh) 2013-01-23

Similar Documents

Publication Publication Date Title
US9848024B1 (en) Multiple media device infrastructure
JP3767561B2 (ja) 機器認証装置、機器認証方法、および情報処理装置、情報処理方法、並びにコンピュータ・プログラム
KR101951973B1 (ko) 자원 액세스 허가 기법
US9116893B2 (en) Network connected media gateway for communication networks
KR101109232B1 (ko) 네트워크 자원 정보 라우팅을 위한 서버 아키텍처
JP3829794B2 (ja) 情報処理装置、サーバクライアントシステム、および方法、並びにコンピュータ・プログラム
US8243949B2 (en) Network addressible loudspeaker and audio play
JP3800198B2 (ja) 情報処理装置、およびアクセス制御処理方法、並びにコンピュータ・プログラム
WO2017202312A1 (zh) 消息权限管理方法及设备、存储介质
US20070208948A1 (en) System and method for configuring security in a plug-and-play architecture
US20070266164A1 (en) Personal domain controller
CA2572532A1 (en) Method and apparatus for provisioning a device to access services in a universal plug and play (upnp) network
JP2007534046A (ja) サーバ装置、クライアント装置およびネットワークシステム
KR101620254B1 (ko) 액세스 제어 방법, 장치, 프로그램 및 기록매체
US9479490B2 (en) Methods and systems for single sign-on while protecting user privacy
US9275204B1 (en) Enhanced network access-control credentials
WO2014177108A1 (zh) 一种家庭网络多媒体内容共享的访问控制方法和装置
EP2843881B1 (en) Method and apparatus for media information access control , and digital home multimedia system
WO2013013529A1 (zh) 一种UPnP访问控制方法、服务器和客户端
JP4506637B2 (ja) 情報処理装置、および情報処理方法、並びにコンピュータ・プログラム
WO2011039179A1 (en) Service contracting by means of upnp

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

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

Country of ref document: EP

Kind code of ref document: A1