Abstract:
In a router, for example, after receiving an HTTP request communicated by a terminal device, the router can determine whether the terminal device has accessed a target webpage through that device, according to identity information of the terminal device included in the HTTP request. Where it is determined that the terminal device has accessed the webpage through the router, an HTTP response message including a URL address of the target webpage can be communicated to the terminal device. Otherwise, an HTTP response message including a URL address of an intermediate webpage of the target webpage can be communicated to the terminal device. Determining that the terminal device has accessed a target webpage through the router provides for the terminal device to bypass the intermediate page and directly access the target page; thus, control to accessing the target webpage is facilitated by the router.
Abstract:
In a router, for example, after receiving an HTTP request communicated by a terminal device, the router can determine whether the terminal device has accessed a target webpage through that device, according to identity information of the terminal device included in the HTTP request. Where it is determined that the terminal device has accessed the webpage through the router, an HTTP response message including a URL address of the target webpage can be communicated to the terminal device. Otherwise, an HTTP response message including a URL address of an intermediate webpage of the target webpage can be communicated to the terminal device. Determining that the terminal device has accessed a target webpage through the router provides for the terminal device to bypass the intermediate page and directly access the target page; thus, control to accessing the target webpage is facilitated by the router.
Abstract:
A method for informing a connection condition between an external device and a router, includes: monitoring whether a predetermined event occurs, the predetermined event being one of connecting the external device to the router or disconnecting the external device from the router; determining a registered port of a plugin of the router from one or more ports of a plugin center, if the predetermined event occurs; and sending to the plugin, through the registered port of the plugin, a first notification to indicate that the predetermined event occurs.
Abstract:
The present disclosure relates to a method and a device for sharing data, which relates to the field of communication. The method includes: monitoring an event of a removable storage device being plugged into the DLNA device; acquiring a mount path of the removable storage device through a DLNA server configured in the DLNA device, when the event of the removable storage device being plugged into the DLNA device has occurred; and sharing data in the removable storage device according to the mount path through the DLNA server.
Abstract:
The present disclosure relates to a method and a device for sharing data, which relates to the field of communication. The method includes: monitoring an event of a removable storage device being plugged into the DLNA device; acquiring a mount path of the removable storage device through a DLNA server configured in the DLNA device, when the event of the removable storage device being plugged into the DLNA device has occurred; and sharing data in the removable storage device according to the mount path through the DLNA server.
Abstract:
The present disclosure relates to a method for controlling a plug-in by a router and the router thereof. The method includes: receiving a plug-in state request querying an operational state of a plug-in sent from a terminal device; obtaining the operational state of the plug-in according to the plug-in state request; and sending the operational state of the plug-in to the terminal device.
Abstract:
A method for starting an application in a router includes establishing a connection with a terminal, detecting whether the terminal supports a private protocol, and starting an application based on the private protocol if the terminal supports the private protocol.
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.
Abstract:
The present disclosure relates to a method for controlling a plug-in by a router and the router thereof. The method includes: receiving a plug-in state request querying an operational state of a plug-in sent from a terminal device; obtaining the operational state of the plug-in according to the plug-in state request; and sending the operational state of the plug-in to the terminal device.
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.