CN105745876B - DLNA-based communication between subnetworks - Google Patents

DLNA-based communication between subnetworks Download PDF

Info

Publication number
CN105745876B
CN105745876B CN201380081030.3A CN201380081030A CN105745876B CN 105745876 B CN105745876 B CN 105745876B CN 201380081030 A CN201380081030 A CN 201380081030A CN 105745876 B CN105745876 B CN 105745876B
Authority
CN
China
Prior art keywords
address
proxy
message
subnet
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201380081030.3A
Other languages
Chinese (zh)
Other versions
CN105745876A (en
Inventor
陈宗承
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harman International Industries Inc
Original Assignee
Harman International Industries Inc
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 Harman International Industries Inc filed Critical Harman International Industries Inc
Publication of CN105745876A publication Critical patent/CN105745876A/en
Application granted granted Critical
Publication of CN105745876B publication Critical patent/CN105745876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/59Network arrangements, protocols or services for addressing or naming using proxies for addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure provides a DLNA-based communication method and a proxy system. The method may comprise: a DLNA compatible proxy connected to a first subnet and a second subnet receives a first message from a DLNA compatible client connected to the first subnet, wherein the first message is a broadcast message for searching a DLNA compatible server and contains an address of the client; the proxy replacing the address of the client with the first proxy address in the second subnet in the first message to form a second message; and the proxy transmits the second message to a broadcast address in the second subnet. By using the method, the client connected to the first subnet can access the server connected to the second subnet.

Description

DLNA-based communication between subnetworks
Technical Field
The present disclosure relates generally to DLNA-based communication between subnets.
Background
Today, entertainment data communication between consumer devices has become increasingly popular. The Digital Living Network Alliance (DLNA) is a standard that has been developed to facilitate consumer devices communicating with each other in a local Network. Generally, DLNA compatible devices communicate with each other via Universal Plug and play (UPnP), which is a set of protocols that allow devices to seamlessly discover each other's presence on a network and establish functional network services for data sharing, communication, and entertainment. However, two devices respectively within two different DLNA subnets cannot directly access each other.
Disclosure of Invention
In one embodiment, a DLNA-based communication method is provided. The method may comprise: a DLNA compatible proxy connected to the first subnet and the second subnet receives a first message from a DLNA compatible client connected to the first subnet, wherein the first message is a broadcast message for searching for a DLNA compatible server and contains an address of the client; the proxy replaces the address of the client with the first proxy address in the second subnet in the first message to form a second message; and the proxy transmits the second message to the broadcast address in the second subnet.
In some embodiments, the first proxy address may include a first IP address and a first port number in the second subnet.
In some embodiments, the method may further comprise: receiving, by the proxy, a third message from the DLNA compatible server connected to the second subnet, wherein the third message is sent to the proxy in response to the second message and contains the address of the server; the proxy replaces the address of the server with the second proxy address in the first subnet in the third message to form a fourth message; and the proxy transmits the fourth message to the client.
In some embodiments, the second proxy address may include a second IP address and a second port number in the first subnet.
In one embodiment, a DLNA-based communication method is provided. The method may comprise: a DLNA compatible proxy connected to the first subnet and the second subnet receives a first message from a DLNA compatible client connected to the first subnet, wherein the first message contains a first proxy address in the first subnet and a request for service from the first proxy address; the proxy replaces the first proxy address with an address of a DLNA compatible server connected to the second subnet in the first message according to a first mapping between the first proxy address and the address of the server to form a second message; and the proxy transmits the second message to the server.
In some embodiments, the method may further comprise: the proxy receives content of the service, wherein the content is sent by the server to the proxy in response to the second message; and the proxy transmits the content of the service to the client.
In some embodiments, the method may further comprise: the proxy determines whether the content of the service contains the address of the server; if so, the proxy replaces the address of the server with the first proxy address in the content of the service according to the first mapping and transmits the modified content of the service to the client.
In one embodiment, a DLNA-based communication method is provided. The method may comprise: a DLNA compatible proxy connected to the first subnet and the second subnet receives a first message from a DLNA compatible client connected to the first subnet, wherein the first message contains a first proxy address in the first subnet, an address of the client, and a request to register the address of the client as a callback entry; the proxy replacing in the first message the first proxy address with an address of a DLNA compatible server connected to the second subnet according to a first mapping between the first proxy address and the address of the server, and replacing the address of the client with a second proxy address in the second subnet according to a second mapping between the second proxy address and the address of the client, to form a second message; and the proxy transmits the second message to the server.
In some embodiments, the method may further comprise: the proxy receives a third message from the server, wherein the third message contains the second proxy address and the server notification; the proxy replaces the second proxy address with the address of the client in the third message according to the second mapping to form a fourth message; and the proxy transmits the fourth message to the client.
In one embodiment, a proxy system for DLNA-based communication is provided. The agent system may include: a first transceiver connected to a first subnet; a second transceiver connected to a second subnet; and a processing device configured to: after the first transceiver receives a first message from a DLNA compatible client connected to the first subnet, replacing an address of the client with a first proxy address in a second subnet in the first message to form a second message, wherein the first message is a broadcast message for searching for a DLNA compatible server and contains the address of the client; and control the second transceiver to transmit the second message to the broadcast address in the second subnet.
In some embodiments, the first proxy address may include a first IP address and a first port number of the second transceiver.
In some embodiments, the processing device may be further configured to: after the second transceiver receives a third message from the DLNA compatible server connected to the second subnet, replacing the address of the server with the second proxy address in the first subnet in the third message to form a fourth message, wherein the third message is transmitted in response to the second message and contains the address of the server; and control the first transceiver to transmit the fourth message to the client.
In some embodiments, the second proxy address may include a second IP address and a second port number of the first transceiver.
In one embodiment, a proxy system for DLNA-based communication is provided. The agent system may include: a first transceiver connected to a first subnet; a second transceiver connected to a second subnet; a memory device in which a first mapping between a first proxy address in a first subnet and an address of a DLNA compatible server connected to a second subnet is stored; and a processing device configured to: after the first transceiver receives a first message from a DLNA compatible client connected to the first subnet, replacing the first proxy address with the address of the server in the first message according to a first mapping to form a second message, wherein the first message contains the first proxy address and a request for service from the first proxy address; and controlling the second transceiver to transmit the second message to the server.
In some embodiments, the processing device may be further configured to: after the second transceiver receives the content of the service from the server, the first transceiver is controlled to transmit the content of the service to the client, wherein the content of the service is sent in response to the request.
In some embodiments, the processing device may be further configured to: determining whether the content of the service contains an address of the server; and if so, replacing the address of the server with the first proxy address in the content of the service according to the first mapping and transmitting the modified content of the service to the client.
In one embodiment, a proxy system for DLNA-based communication is provided. The agent system may include: a first transceiver connected to a first subnet; a second transceiver connected to a second subnet; a memory device in which a first mapping between a first proxy address in a first subnet and an address of a DLNA compatible server connected to a second subnet is stored; and a processing device configured to: after the first transceiver receives a first message from a DLNA compatible client connected to the first subnet, replacing in the first message the first proxy address with the address of the server according to a first mapping and replacing the address of the client with a second proxy address in the second subnet according to a second mapping between the second proxy address and the address of the client to form a second message, wherein the first message contains the first proxy address, the address of the client and a request to register the address of the client as a callback portal; and controlling the second transceiver to transmit the second message to the server.
In some embodiments, the processing device may be further configured to: after the second transceiver receives the third message from the server, replacing the second proxy address with the address of the client in the third message according to the second mapping to form a fourth message, wherein the third message contains the second proxy address and the server notification; and controlling the first transceiver to transmit the fourth message to the client.
Drawings
The foregoing and other features of the present disclosure will become more fully apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only several embodiments in accordance with the disclosure and are, therefore, not to be considered limiting of its scope, the disclosure will be described with additional specificity and detail through use of the accompanying drawings.
FIG. 1 shows a schematic flow diagram of a DLNA based communication method 100 according to one embodiment;
FIG. 2 schematically illustrates a mapping table according to one embodiment;
FIG. 3 shows a schematic flow diagram of a DLNA based communication method 200 according to one embodiment;
FIG. 4 shows a schematic flow diagram of a DLNA based communication method 300 according to one embodiment; and
fig. 5 schematically illustrates a proxy system for DLNA-based communication according to one embodiment.
Detailed Description
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, like reference characters generally refer to like parts unless the context indicates otherwise. The exemplary embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented here. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the figures, can be arranged, substituted, combined, and designed in a wide variety of different configurations, all of which are explicitly contemplated by and are part of this disclosure.
It should be noted that the terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
FIG. 1 shows a schematic flow diagram of a DLNA based communication method 100 according to one embodiment;
referring to fig. 1, a DLNA-compatible client connected to a first subnet transmits a first message containing a first address of the client to a broadcast address in the first subnet to search for a DLNA-compatible server in S101.
In some embodiments, the client may be a personal computer, a mobile device such as a smartphone or tablet, or any other device that can connect to a DLNA network. In some embodiments, the client may transmit a first message to search for a DLNA compatible server in the first subnet. In some embodiments, the first message may be based on Simple Service Discovery Protocol (SSDP), and User Datagram Protocol (UDP) is used as the underlying transport Protocol. The following shows a portion of a first message based on SSDP:
“M-SEARCH*HTTP/1.1
USER-AGENT:
ST:urn:schemas-upnp-org:device:MediaRenderer:1
MX:5
MAN:“ssdp:discover”
HOST:239.255.255.250:1900”.
the "MAN" portion of the first message indicates that the first message is an SSDP based discovery message. The "HOST" portion of the message indicates the broadcast address "239.255.255.250: 1900" of the first subnet. The first message may also contain a first address of the client, the first address indicating where the first message came from.
In S103, the DLNA compatible proxy connected to the first subnet and the second subnet receives a first message containing a first address of the client.
In some embodiments, the agent may be a router, a computer, or other DLNA compatible device connectable to the first subnet and the second subnet. In some embodiments, the agent may include a first transceiver connected to the first subnet and a second transceiver connected to the second subnet. In some embodiments, the first transceiver may have an IP address in the first subnet and the second transceiver may have an IP address in the second subnet. In some embodiments, the proxy may generate a UDP socket to monitor for the broadcast address in the first subnet, and may receive the first message over the UDP socket.
In S105, the proxy establishes a first mapping between a first address of the client and a first proxy address in the first subnet.
In some embodiments, the proxy may record a first address of the client and establish a first mapping between the first address of the client and the first proxy address. In some embodiments, the first proxy address may be an address of the first transceiver, the address including an IP address and a port number of the first transceiver. In some embodiments, the first mapping may be stored in a mapping table, and the mapping table may be stored in a memory device of the agent. An example of a mapping table is shown in fig. 2. The first mapping includes a first address 192.168.43.1:1900 of the client and a first proxy address 192.168.43.23:32920 corresponding to the first address of the client.
In S107, the proxy replaces the first address of the client with a fourth proxy address in the second subnet in the first message to form a second message.
In some embodiments, the proxy may parse the first message and replace the first address of the client with a fourth proxy address in the second subnet. In some embodiments, the fourth proxy address in the second subnet may include an IP address and port number of the second transceiver.
In S109, the agent transmits the second message to the broadcast address in the second subnet.
In some embodiments, the proxy may transmit the second message to a broadcast address in the second subnet to search for a DLNA compatible server in the second subnet. In some embodiments, the second message may be transmitted by the second transceiver because the second transceiver is connected to the second subnet. In some embodiments, the broadcast address in the second subnet may be 239.255.255.250: 1900.
In S111, the DLNA-compatible server connected to the second subnet receives the second message.
In some embodiments, the DLNA compatible server may be a personal computer, a server, a storage device connected to a network, a printer, a mobile device, and other DLNA compatible devices that can provide services. In some embodiments, the Server in the second subnet means may be a Media Server (MS) that can provide the Media file or a Media player (MR) that can process the Media file.
In S113, the server transmits a third message to the proxy, wherein the third message is generated in response to the second message and contains the address of the server.
In some embodiments, after receiving the second message, the server may generate a third message indicating that the server may provide the service. In some embodiments, the third message may contain an address of the server and indicate that a description file of the server is available from the address. For example, a portion of the third message is shown below:
“HTTP/1.1 200OK
CACHE-CONTROL:max-age=604800
DATA:Sun,17Feb 2013 03:10:50GMT
EXT:
LOCATION:http://192.168.0.1:49152/description.xml
OPT:http://schemas.upnp.org/upnp/1/0/;ns=01”.
the "LOCATION" portion of the third message includes the address of the server. The address of the server may include the IP address 192.168.0.1 and port number 49152 of the server.
In some embodiments, because the server receives the second message from the second transceiver of the proxy, the server may transmit a third message to the second transceiver.
In S115, the proxy receives a third message from the server connected to the second subnet.
In some embodiments, the agent may receive the third message through a second transceiver connected to the second subnet.
In S117, the agent establishes a second mapping between the address of the server and the address of the second agent in the first subnet.
In some embodiments, after receiving the third message, the proxy may parse the third message and identify the address of the server in the third message. In some embodiments, the proxy may record the address of the server and establish a second mapping between the address of the server and a second proxy address in the first subnet. In some embodiments, the second proxy address may be an address of the first transceiver, the address including an IP address and a port number of the first transceiver. The port number of the second proxy address should be different from the port number of the first proxy address. In some embodiments, the second mapping may also be stored in a mapping table. As shown in FIG. 2, the second mapping includes the server address 192.168.0.1:49152 and a second proxy address 192.168.43.23:42977 corresponding to the address of the server.
In S119, the proxy replaces the address of the server with the second proxy address in the third message to form a fourth message.
In some embodiments, the proxy may parse the third message and replace the address of the server with the second proxy address in a "LOCATION" portion of the third message to form a fourth message.
In S121, the proxy transmits the fourth message to the client.
In some embodiments, the agent may read a first mapping stored in the mapping table to obtain a first address of the client, and transmit a fourth message to the first address of the client according to the first mapping. In some embodiments, the agent may transmit the fourth message to the client through the first transceiver connected to the first subnet.
In S123, the client receives a fourth message from the proxy.
Thus, the services of the server may be available to the client.
Clients connected to the first subnet may then access servers connected to the second subnet to obtain services. Fig. 3 shows a schematic flow diagram of a DLNA based communication method 200 according to an embodiment.
Referring to fig. 3, in S125 the client transmits a fifth message to the proxy, wherein the fifth message contains the second proxy address and a request for the service from the second proxy address.
In some embodiments, the client may request the description file from the second proxy address. In some embodiments, the client may request the data file from the second proxy address. In some embodiments, the fifth message may be an HTTP request packet. An example of a portion of the fifth message is shown below:
“GET/description.xml HTTP/1.1
User-Agent:
TIMEOUT:3000
HOST:192.168.43.23:42977
Connection:Keep-Alive”.
in this example, the client requests a description file. The "HOST" portion of the fifth message includes the second proxy addresses 192.168.43.23: 42977.
In S127, the proxy receives a fifth message from the client.
In some embodiments, the agent may receive the fifth message through the first transceiver connected to the first subnet.
In S129, the agent replaces the second agent address with the address of the server connected to the second subnet in the fifth message according to a second mapping between the second agent address and the address of the server to form a sixth message.
In some embodiments, the agent may read a second mapping stored in the mapping table and replace the second agent address with the address of the server according to the second mapping to form a sixth message. For example, the server address 192.168.0.1:49152 may be used to replace the second proxy address 192.168.43.23:42977 in the fifth message.
In S131, the agent transmits the sixth message to the server connected to the second subnet.
In some embodiments, the sixth message may be transmitted through the second transceiver of the proxy because the second transceiver is connected to the second subnet.
In S133, the server receives the sixth message.
In S135, the server transmits the content of the service to the agent in response to the request in the sixth message.
In some embodiments, the server may transmit an XML file describing the server to the proxy. The XML file may include the server name, the server manufacturer name, the URL of the vendor-specific website, and other vendor-specific information. In some embodiments, the server may transmit the data file to the agent.
In S137, the proxy receives the content of the service, wherein the content is sent by the server to the proxy in response to the request.
In some embodiments, the content of the service may be received by a second transceiver of the proxy because the second transceiver is connected to the second subnet.
In S139, the agent determines whether the content of the service contains the address of the server; if not, the proxy transmits the content of the service to the client; if so, the proxy replaces the address of the server with the second proxy address according to a second mapping and transmits the modified content of the service to the client.
After receiving the content of the service, the proxy may determine whether the content of the service contains an address of the server. In some embodiments, the content of the service may be determined to be a data file without the address of the server. The agent may transmit the data file directly to the client. In some embodiments, the content of the service may be determined to be an XML file with the address of the server. The proxy may replace the address of the server with the second proxy address in the XML file according to the second mapping and transmit the modified XML file to the client.
In S141, the client receives the content of the service or the modified content of the service.
In some embodiments, the client may register the callback entry on the server so that the server may transmit the server notification to the client. Fig. 4 shows a schematic flow diagram of a DLNA based communication method 300 according to an embodiment.
Referring to fig. 4, in S143, the client transmits a seventh message to the broker, wherein the seventh message contains the second proxy address, the second address of the client, and a request to register the second address of the client as the callback entry.
For example, a portion of the seventh message is shown below:
“SUBSCRIBE/upnp/event/rendertransport1HTTP/1.1
USER-AGENT:
HOST:192.168.43.23:42977
CALLBACK:http://192.168.43.1:9858/evetSub
NT:upnp:event”
the "HOST" portion of the seventh message includes the second proxy addresses 192.168.43.23: 42977. The "CALLBACK" part includes the second address 192.168.43.1:9858 of the client.
It should be noted that the first address of the client and the second address of the client may have the same IP address but different port numbers.
In S145, the proxy receives a seventh message from the client.
In some embodiments, the agent may receive the seventh message through the first transceiver connected to the first subnet.
In S147, the agent establishes a third mapping between the client second address and a third proxy address in the second subnet.
In some embodiments, after receiving the seventh message, the proxy may parse the seventh message and identify the second address of the client in the seventh message. In some embodiments, the proxy may record a second address of the client and establish a third mapping between the second address of the client and a third proxy address in the second subnet. In some embodiments, the third proxy address may be an address of the second transceiver, the address including an IP address and a port number of the second transceiver. In some embodiments, the third mapping may be stored in a mapping table. As shown in fig. 2, the third mapping includes a second address 192.168.43.1:9858 of the client and a third physical address 192.168.0.2:52357 corresponding to the second address of the client.
In S149, the proxy replaces in a seventh message the second proxy address with the address of the server according to the second mapping and replaces the second address of the client with the third proxy address according to the third mapping to form an eighth message.
In S151, the proxy transmits the eighth message to the server connected to the second subnet.
In some embodiments, the agent may transmit the eighth message to the server through a second transceiver connected to the second subnet.
In S153, the server receives the eighth message.
After the server receives the eighth message, the server may register the third proxy address in the eighth message as the callback entry.
In S155, the server transmits a ninth message to the proxy, wherein the ninth message contains the third proxy address and the server notification.
In some embodiments, if the configuration of the server changes, the server may transmit a server notification to the third proxy address indicating the server change.
In S157, the agent receives the ninth message.
In some embodiments, the ninth message may be received by a second transceiver connected to the second subnet.
In S159, the proxy replaces the third proxy address with the second address of the client in the ninth message according to the third mapping to form a tenth message.
In some embodiments, the agent may read a third mapping stored in the mapping table and replace the third proxy address with the second address of the client according to the third mapping.
In S161, the proxy transmits a tenth message to the client.
In some embodiments, the tenth message may be transmitted by the first transceiver connected to the first subnet.
In S163, the client receives the tenth message.
According to one embodiment of the present disclosure, a system for DLNA-based communication between a first subnet and a second subnet is provided. In some embodiments, the system may be installed on a router or computer.
Referring to fig. 5, a system 400 may include a first transceiver 401 connected to a first subnet, a second transceiver 403 connected to a second subnet, a memory device 405, and a processing device 407. In some embodiments, the first transceiver 401 and the second transceiver 403 may be network cards. The first transceiver 401 may be used to receive and transmit messages in a first subnet and the second transceiver 403 may be used to receive and transmit messages in a second subnet. The processing device 407 may control the system 400 to perform the steps of the method 100, the method 200, and the method 300. The memory device 405 may be used to store the mapping generated in the step. In some embodiments, memory device 405 may be SRAM, DRAM, flash memory (flash memory), a hard disk, the like, or any combination thereof. In some embodiments, the processing device 407 may be a CPU, GPU, DSP, etc., or any combination thereof.
By using the method and system according to embodiments of the present disclosure, a client connected to a first subnet may access a server connected to a second subnet, and the server may transmit a server notification to the client.
There is little difference between hardware implementations and software implementations of aspects of the system; the use of hardware or software is generally a design choice representing a cost versus efficiency tradeoff. For example, if the implementer determines that speed and accuracy are paramount, the implementer may opt to host a hardware and/or firmware vehicle; if flexibility is paramount, the implementer may opt to have a software implementation in the main; or, again alternatively, the implementer may opt for some combination of hardware, software, and/or firmware.
While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for illustrative purposes and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.

Claims (18)

1. A DLNA-based communication method, comprising:
a DLNA compatible proxy connected to a first subnet and a second subnet receives a first message from a DLNA compatible client connected to the first subnet, wherein the first message is a broadcast message for searching a DLNA compatible server and contains an address of the client;
replacing, by the proxy, the address of the client in the first message with a first proxy address in the second subnet to form a second message, the first proxy address comprising an IP address of a second transceiver of the DLNA compatible proxy; and
the proxy transmits the second message to a broadcast address in the second subnet.
2. The method of claim 1, wherein the first proxy address comprises a first IP address and a first port number in the second subnet.
3. The method of claim 1, further comprising:
the proxy receiving a third message from a DLNA compatible server connected to the second subnet, wherein the third message is sent to the proxy in response to the second message and contains the address of the server;
the proxy replacing the address of the server with a second proxy address in the first subnet in the third message to form a fourth message; and
the proxy transmits the fourth message to the client.
4. The method of claim 3, wherein the second proxy address comprises a second IP address and a second port number in the first subnet.
5. A DLNA-based communication method, comprising:
receiving, by a DLNA compatible proxy connected to a first subnet and a second subnet, a first message from a DLNA compatible client connected to the first subnet, wherein the first message contains a first proxy address in the first subnet and a request for service from the first proxy address;
replacing, by the proxy, the first proxy address with an address of a DLNA compatible server connected to the second subnet in the first message to form a second message according to a first mapping between the first proxy address and the address of the server, the first proxy address comprising an IP address of a second transceiver of the DLNA compatible proxy; and
the proxy transmits the second message to the server.
6. The method of claim 5, further comprising:
the proxy receiving content for the service, wherein the content is sent by the server to the proxy in response to the second message; and
the proxy transmits the content of the service to the client.
7. The method of claim 6, further comprising:
the proxy determining whether the content of the service contains the address of the server;
if so, the proxy replaces the address of the server with the first proxy address in the content of the service according to the first mapping and transmits modified content of the service to the client.
8. A DLNA-based communication method, comprising:
receiving, by a DLNA compatible proxy connected to a first subnet and a second subnet, a first message from a DLNA compatible client connected to the first subnet, wherein the first message contains a first proxy address in the first subnet, an address of the client, and a request to register the address of the client as a callback entry;
the proxy replacing in the first message the first proxy address with an address of a DLNA compatible server connected to the second subnet according to a first mapping between the first proxy address and an address of a server, and replacing the address of the client with a second proxy address in the second subnet according to a second mapping between a second proxy address and the address of the client to form a second message, the first proxy address comprising an IP address of a second transceiver of the DLNA compatible proxy; and
the proxy transmits the second message to the server.
9. The method of claim 8, further comprising:
the proxy receiving a third message from the server, wherein the third message contains the second proxy address and a server notification;
replacing, by the proxy, the second proxy address with the address of the client in the third message according to the second mapping to form a fourth message; and
the proxy transmits the fourth message to the client.
10. A proxy system for DLNA-based communication, comprising: a first transceiver connected to a first subnet; a second transceiver connected to a second subnet; and a processing device configured to:
after the first transceiver receives a first message from a DLNA compatible client connected to the first subnet, replacing an address of the client with a first proxy address in the second subnet in the first message to form a second message, wherein the first message is a broadcast message for searching a DLNA compatible server and contains the address of the client, the first proxy address including an IP address of a second transceiver of the DLNA compatible proxy; and is
Control the second transceiver to transmit the second message to a broadcast address in the second subnet.
11. The proxy system of claim 10, wherein the first proxy address comprises a first IP address and a first port number in the second transceiver.
12. The brokering system of claim 10, wherein the processing device is further configured to:
after the second transceiver receives a third message from a DLNA compatible server connected to the second subnet, replacing the address of the server with a second proxy address in the first subnet in the third message to form a fourth message, wherein the third message is sent in response to the second message and contains the address of the server; and is
Control the first transceiver to transmit the fourth message to the client.
13. The proxy system of claim 12, wherein the second proxy address comprises a second IP address and a second port number of the first transceiver.
14. A proxy system for DLNA-based communication, comprising: a first transceiver connected to a first subnet; a second transceiver connected to a second subnet; a memory device in which a first mapping between a first proxy address in the first subnet and an address of a DLNA compatible server connected to the second subnet is stored; and a processing device configured to:
after the first transceiver receives a first message from a DLNA compatible client connected to the first subnet, replacing the first proxy address with the address of the server in the first message to form a second message according to the first mapping, wherein the first message contains the first proxy address and a request for service from the first proxy address, the first proxy address including an IP address of a second transceiver of the DLNA compatible proxy; and is
Control the second transceiver to transmit the second message to the server.
15. The brokering system of claim 14, wherein the processing device is further configured to: after the second transceiver receives content for the service from the server, control the first transceiver to transmit the content for the service to the client, wherein the content for the service is sent in response to the request.
16. The system of claim 15, wherein the processing device is further configured to:
determining whether the content of the service contains the address of the server; and is
If so, the address of the server is replaced with the first proxy address in the content of the service according to the first mapping and the modified content of the service is transmitted to the client.
17. A proxy system for DLNA-based communication, comprising: a first transceiver connected to a first subnet; a second transceiver connected to a second subnet; a memory device in which a first mapping between a first proxy address in the first subnet and an address of a DLNA compatible server connected to the second subnet is stored; and a processing device configured to:
after the first transceiver receives a first message from a DLNA compatible client connected to the first subnet, replacing the first proxy address with the address of the server in the first message according to the first mapping and replacing the address of the client with a second proxy address in the second subnet according to a second mapping between the second proxy address and the address of the client to form a second message, wherein the first message contains the first proxy address, the address of the client and a request to register the address of the client as a callback portal, the first proxy address including an IP address of a second transceiver of the DLNA compatible proxy; and is
Control the second transceiver to transmit the second message to the server.
18. The system of claim 17, wherein the processing device is further configured to:
after the second transceiver receives a third message from the server, replacing the second proxy address with the address of the client in the third message according to the second mapping to form a fourth message, wherein the third message contains the second proxy address and a server notification; and is
Control the first transceiver to transmit the fourth message to the client.
CN201380081030.3A 2013-12-16 2013-12-16 DLNA-based communication between subnetworks Active CN105745876B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/089527 WO2015089702A1 (en) 2013-12-16 2013-12-16 Dlna based communications between subnets

Publications (2)

Publication Number Publication Date
CN105745876A CN105745876A (en) 2016-07-06
CN105745876B true CN105745876B (en) 2020-03-10

Family

ID=53401896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380081030.3A Active CN105745876B (en) 2013-12-16 2013-12-16 DLNA-based communication between subnetworks

Country Status (2)

Country Link
CN (1) CN105745876B (en)
WO (1) WO2015089702A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055251A (en) * 2020-09-04 2020-12-08 中国第一汽车股份有限公司 Media data playing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540743A (en) * 2008-03-19 2009-09-23 索尼株式会社 Information processing unit, information playback unit, method, system and program thereof
CN102123065A (en) * 2010-12-29 2011-07-13 东软集团股份有限公司 Inter-home digital living network alliance (DLNA) equipment discovering and controlling method and device
CN102244654A (en) * 2010-05-12 2011-11-16 日立系统解决方案有限公司 Content distribution system and gateway device, and program
WO2012123017A1 (en) * 2011-03-14 2012-09-20 Irdeto Corporate B.V. Cloud-based resource management
CN102811223A (en) * 2012-08-15 2012-12-05 中兴通讯股份有限公司 DLNA equipment sharing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4766023B2 (en) * 2007-09-28 2011-09-07 ソニー株式会社 DLNA compatible device, DLNA connection setting method and program
CN102340496B (en) * 2010-07-28 2014-08-13 鸿富锦精密工业(深圳)有限公司 Digital media controller and method for sharing inter-network media contents by utilizing same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540743A (en) * 2008-03-19 2009-09-23 索尼株式会社 Information processing unit, information playback unit, method, system and program thereof
CN102244654A (en) * 2010-05-12 2011-11-16 日立系统解决方案有限公司 Content distribution system and gateway device, and program
CN102123065A (en) * 2010-12-29 2011-07-13 东软集团股份有限公司 Inter-home digital living network alliance (DLNA) equipment discovering and controlling method and device
WO2012123017A1 (en) * 2011-03-14 2012-09-20 Irdeto Corporate B.V. Cloud-based resource management
CN102811223A (en) * 2012-08-15 2012-12-05 中兴通讯股份有限公司 DLNA equipment sharing method and device

Also Published As

Publication number Publication date
CN105745876A (en) 2016-07-06
WO2015089702A1 (en) 2015-06-25

Similar Documents

Publication Publication Date Title
KR101842316B1 (en) Method and system of providing internet protocol(ip) data communication in a nfc peer to peer communication environment
EP3709569B1 (en) Method of distributing information regarding one or more electrical devices and systems for the same
US8170481B2 (en) Techniques for discovering services provided in a wireless network
US20040139180A1 (en) Automobile media synchronization
US20150055509A1 (en) Communications device utilizing a central discovery mechanism, and respective method
US20120317254A1 (en) Network platform in a network device ecosystem
EP2151095B1 (en) Method and apparatus for discovering universal plug and play device using resource information
CN102763373B (en) The method and apparatus using the service of local network devices based on remote access
EP1955489A2 (en) System and method for using web syndication protocols as an out-of-band upnp service discovery system
EP2491679A1 (en) Transferring of a media session from a first local network-ue to a second local-network ue using an external network-connected ue
WO2018113693A1 (en) Local area network device communication management method and system, and gateway device
US10075354B2 (en) Identification of servers by common wide area network addresses
CN104584514B (en) Apparatus and method for providing services in a communication network
US9591601B2 (en) Method, control node, gateway and computer program for enabling communication with a newly detected device
CN105745876B (en) DLNA-based communication between subnetworks
CN112543351A (en) Network video data processing method and processing system
TWI458316B (en) Device proxy method and related apparatus for a universal plug and play network system
EP3811592A1 (en) Communication protocol discover method in constrained application protocol (coap)
TW201006191A (en) UPnP/DLNA device support apparatus, system, and method
US20150081867A1 (en) Obtaining a mac address from an external source
JP2015201758A (en) Repeater, communication system, information processing method, and program
Herrero et al. Resource Identification and Management
AU2012236539B9 (en) Method of distributing information regarding one or more electrical devices and systems for the same
TW201112682A (en) Cable modem and method for connecting a computer to the Internet thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant