Method and apparatus for controlling access to a server
AssigneeXiaomi Inc.
InventorsTiejun Liu, Zheng Li, Xianlin Chen, Liang Cheng
Life of this patent
Estimating the term…
Abstract
A method for use in a Digital Living Network Alliance (DLNA) server, for controlling access to the DLNA server, includes: receiving an access request sent from a DLNA client to access the DLNA server; obtaining a media access control (MAC) address used by the DLNA client; detecting whether the MAC address exists in a preset blacklist; and denying access of the DLNA client, if the MAC address exists in the preset blacklist.
Claims9
A method for use in a Digital Living Network Affiance (DLNA) server, for controlling access to the DLNA server, comprising:
- receiving an access request sent from a DLNA client to access the DLNA server;
- obtaining a media access control (MAC) address used by the DLNA client;
- detecting whether the MAC address exists in a preset blacklist;
- denying access of the DLNA client, if the MAC address exists in the preset blacklist;
- searching for the MAC address in pre-stored corresponding relationships to determine whether the MAC address exists in the pre-stored corresponding relationships, if the MAC address does not exist in the preset blacklist, the pre-stored corresponding relationships including corresponding relationships between different MAC addresses and different keys;
- and
- determining, if the MAC address exists in the pre-stored corresponding relationships, whether to authorize the accesss of the DLNA client according to a key corresponding to the MAC address in the pre-stored corresponding relationships.
An apparatus for controlling access to a Digital Living Network Alliance (DLNA) server, comprising:
- a processor;
- and
- a memory for storing instructions executable by the processor;
- wherein the processor is configured to:
- receive an access request sent from a DLNA client to access the DLNA server;
- obtain a media access control (MAC) address used by the DLNA client;
- detect whether the MAC address exists in a preset blacklist;
- and
- deny an access of the DLNA client, if the MAC address exists in the preset blacklist;
- search for the MAC address in pre-stored corresponding relationships to determine whether the MAC address exists in the pre-stored corresponding relationships, if the MAC address does not exist in the preset blacklist, the pre-stored corresponding relationships including corresponding relationships between different MAC addresses and different keys;
- and
- determine whether to authorize the access of the DLNA client according to a key corresponding to the MAC address in the pre-stored corresponding relationships, if the MAC address exists in the pre-stored corresponding relationships.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of an apparatus, cause the apparatus to perform a method for controlling access to a Digital Living Network Alliance (DLNA) server, the method comprising:
- receiving an access request sent from a DLNA client to access the DLNA server;
- obtaining a media access control (MAC) address used by the DLNA client;
- detecting whether the MAC address exists in a preset blacklist;
- and
- denying access of the DLNA client, if the MAC address exists in the preset blacklist;
- searching for the MAC address in pre-stored corresponding relationships to determine whether the MAC address exists in the pre-stored corresponding relationships, if the MAC address does not exist in the preset blacklist, the pre-stored corresponding relationships including corresponding relationships between different MAC addresses and different keys;
- and
- determining, if the MAC address exists in the pre-stored corresponding relationships, whether to authorize the access of the DLNA client according to a key corresponding to the MAC address in the pre-stored corresponding relationship.
Dependencies are inferred from the claim text.