CN103516707A - Method, system and terminal for achieving access control between DLAN devices - Google Patents
Method, system and terminal for achieving access control between DLAN devices Download PDFInfo
- Publication number
- CN103516707A CN103516707A CN201210437819.5A CN201210437819A CN103516707A CN 103516707 A CN103516707 A CN 103516707A CN 201210437819 A CN201210437819 A CN 201210437819A CN 103516707 A CN103516707 A CN 103516707A
- Authority
- CN
- China
- Prior art keywords
- dlna
- equipment
- terminal
- area network
- wide area
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 101000826116 Homo sapiens Single-stranded DNA-binding protein 3 Proteins 0.000 description 2
- 102100023008 Single-stranded DNA-binding protein 3 Human genes 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method, system and terminal for achieving the access control between DLAN devices. The method comprises the steps that the DLAN device of a first DLAN terminal and the DLAN device of a second DLAN terminal achieve the mutual access control in a wide area network through a first virtual DLAN device and a second virtual DLAN device, wherein the first virtual DLAN device and the second virtual DLAN device are set up by the first DLAN terminal and the second DLAN terminal respectively. According to the method, system and terminal for achieving the access control between the DLAN devices, a DLNA server of the wide area network is set up, the DLNA devices and the DLNA server of the wide area network conduct identification and connection, the virtual DLAN devices corresponding to other DLNA devices are set up on the DLNA terminals, and the virtual DLAN devices and other real DLAN devices conduct the access control, so that interconnection and interworking between the DLNA devices break through the limitation of a local area network, and the use range of the DLNA devices is expanded.
Description
Technical field
The present invention relates to DLNA apparatus field, relate in particular to implementation method and the system of access control between the interior DLNA equipment of a kind of wide area network.
Background technology
In digital home network, there are various digital media devices, for example digital camera, TV, PC, mobile phone, DPF, MP4 player etc.These equipment can obtain up-to-date media content (picture, music and video) by the Internet, mobile network and radio network.DLNA (Digital Living Network Alliance, DLNA) take the network architecture of a uPnp(distributed type open) be basis, by Sony, Intel, Microsoft etc., initiated to set up, object is in order to realize the interconnection of cable network and wireless network, makes unrestricted the sharing of Digital Media and content service become possibility.
DLNA terminal comprises four kinds of function device modules: digital media server (Server, hereinafter to be referred as DMS), digital media player (Player, hereinafter to be referred as DMP), the controller (Control of Digital Media, hereinafter to be referred as DMC) and digital media receiver (Digital Media Renderer, hereinafter to be referred as DMR).Wherein, DMS shares the media content of oneself to miscellaneous equipment, and it need to realize contents directory business, connection management business and audio video transmission business conventionally; DMR accepts the propelling movement of DMS sharing media content and represents, and it conventionally need to be realized audio video transmission business, connection management business and play up service control; DMC is for browsing the upper shared media content of DMS, and is pushed to DMP and plays, and also can on local player, play.
In the prior art, the scope of application of DLNA equipment and service is confined in local area network (LAN), in home network, office network, SSDP(Simple Service Discovery Protocol for the mutual discovery between DLNA equipment, SSDP) cannot penetrate router, make DLNA equipment cannot be by wide-area network access, control other DLNA equipment, limited the scope of application of DLNA equipment.
Therefore, prior art needs to be improved.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide in wide area network implementation method and the system of access control between DLNA equipment, being intended to solve existing DLNA equipment cannot be by wide-area network access, control the problem of other DLNA equipment.
Technical scheme of the present invention is as follows:
An implementation method for access control between DLNA equipment in wide area network, wherein, comprises step:
A, a DLNA terminal are connected with wide area network DLNA server authentication respectively with the 2nd DLNA terminal;
After B, authentication have connected, the facility information of DLNA equipment of this terminal is collected respectively and uploaded to a DLNA terminal and the 2nd DLNA terminal to wide area network DLNA server;
C, a DLNA terminal are downloaded the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and create the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal; The 2nd DLNA terminal is downloaded the facility information of the DLNA equipment of a DLNA terminal from described wide area network DLNA server, and creates the second virtual DLNA equipment, the facility information of the DLNA equipment that described the second virtual DLNA equipment comprises a DLNA terminal;
The DLNA equipment of the DLNA equipment of D, a described DLNA terminal and the 2nd DLNA terminal is realized the mutual access control at wide area network by the first virtual DLNA equipment and the second virtual DLNA equipment that create respectively.
The implementation method of access control between DLNA equipment in described wide area network, wherein, in described step B, the DMS equipment of this terminal and the facility information of DMR equipment are collected respectively and uploaded to a described DLNA terminal and the 2nd DLNA terminal.
The implementation method of access control between DLNA equipment in described wide area network, wherein, described step B also comprises:
The media item information of DMS equipment of this terminal is collected respectively and uploaded to the one DLNA terminal and the 2nd DLNA terminal to wide area network DLNA server, wide area network DLNA server is by the local area network (LAN) URI address generation wide area network DLNA server URI address in the media item information of the two, and the wide area network DLNA server URI address that generation is obtained is written in the database in wide area network DLNA server.
The implementation method of access control between DLNA equipment in described wide area network, wherein, in described step C, the first virtual DLNA equipment that a DLNA terminal creates comprises respectively first virtual DMS equipment and the first virtual DMR equipment corresponding with the DMS equipment of the 2nd DLNA terminal and DMR equipment; The second virtual DLNA equipment that the 2nd DLNA terminal creates comprises respectively second virtual DMS equipment and the second virtual DMR equipment corresponding with the DMS equipment of a DLNA terminal and DMR equipment.
The implementation method of access control between DLNA equipment in described wide area network, wherein, in described step D, the process that the DMC equipment of a DLNA terminal is play the media file of a DLNA terminal to the DMR equipment propelling movement of the 2nd DLNA terminal comprises:
The URI method to set up of the virtual DMR equipment of DMC equipment calls first of D1, a DLNA terminal, obtains the local area network (LAN) URI address in the media item information of DMS equipment of a DLNA terminal, and described local area network (LAN) URI address is sent to wide area network DLNA server;
Whether D2, wide area network DLNA server there is media file according to wide area network DLNA server described in described local area network (LAN) URI address lookup, when existing, call the URI method to set up of DMR equipment in the 2nd DLNA terminal, obtain the wide area network DLNA server URI address in the media item information of DMS equipment of a DLNA terminal;
The player method of the virtual DMR equipment of DMC equipment calls first of D3, a DLNA terminal, forwards playing request by wide area network DLNA server to the 2nd DLNA terminal;
D4, the 2nd DLNA terminal are called the player method of the DMR equipment of the 2nd DLNA terminal, according to described wide area network DLNA server URI address, play the media file on described wide area network DLNA server.
The implementation method of access control between DLNA equipment in described wide area network, wherein, in described step D, the DMC equipment of a DLNA terminal pulls the process that the media file of the DMS equipment of the 2nd DLNA terminal plays and comprises:
The URI method to set up of the DMR equipment of DMC equipment calls the one DLNA terminal of D11, a DLNA terminal, the wide area network DLNA server URI address that obtains the DMR equipment of the 2nd DLNA terminal;
The player method of the DMR equipment of DMC equipment calls the one DLNA terminal of D12, a DLNA terminal, and the media file of uploading according to the DMR equipment that whether has the 2nd DLNA terminal in described wide area network DLNA server URI address search wide area network DLNA server, when being, proceed to step D14, when no, proceed to step D13;
D13, wide area network DLNA server are to the DMS device transmits and downloads request of the 2nd DLNA terminal, and the DMS device downloads media file from the 2nd DLNA terminal, proceeds to step D14;
The DMC equipment of D14, a DLNA terminal is play the media file on wide area network DLNA server according to described wide area network DLNA server URI address.
The system that realizes of access control between DLNA equipment in a kind of wide area network, wherein, comprise a DLNA terminal, the 2nd DLNA terminal, wide area network DLNA server, a described DLNA terminal comprises the first authentication ' unit, the first collection uploading unit, the first creating unit, the first access control unit, and described the 2nd DLNA terminal comprises the second authentication ' unit, the second collection uploading unit, the second creating unit, the second access control unit;
The first authentication ' unit and the second authentication ' unit, for authenticating and be connected with wide area network DLNA server;
First collects uploading unit and the second collection uploading unit, for the facility information of DLNA equipment of collecting respectively and upload this terminal to wide area network DLNA server;
The first creating unit, for downloading the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and creates the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal; The second creating unit, for downloading the facility information of the DLNA equipment of a DLNA terminal from described wide area network DLNA server, and creates the second virtual DLNA equipment, the facility information of the DLNA equipment that described the second virtual DLNA equipment comprises a DLNA terminal;
The first access control unit, for the DLNA equipment of a described DLNA terminal by the first virtual DLNA equipment of creating respectively and the DLNA equipment of the second virtual DLNA equipment access control the 2nd DLNA terminal in wide area network; The second access control unit, for the DLNA equipment of described the 2nd DLNA terminal by the first virtual DLNA equipment of creating respectively and the DLNA equipment of the second virtual DLNA equipment access control the one DLNA terminal in wide area network.
The system that realizes of access control between DLNA equipment in described wide area network, wherein, described DLNA equipment comprises: DMS equipment, DMR equipment, DMC equipment, described the first access control unit comprises:
The first media file is searched unit, for calling the URI method to set up of the first virtual DMR equipment, obtains the local area network (LAN) URI address in the media item information of DMS equipment of a DLNA terminal, and described local area network (LAN) URI address is sent to wide area network DLNA server; Whether wide area network DLNA server there is media file according to wide area network DLNA server described in described local area network (LAN) URI address lookup, when existing, call the URI method to set up of the DMR equipment of the 2nd DLNA terminal, obtain the wide area network DLNA server URI address in the media item information of DMS equipment of a DLNA terminal;
Playing request retransmission unit, for calling the player method of the first virtual DMR equipment, forwards playing request by wide area network DLNA server to the 2nd DLNA terminal;
The first broadcast unit, for calling the player method of the DMR equipment of the 2nd DLNA terminal, plays the media file on described wide area network DLNA server according to described wide area network DLNA server URI address.
The system that realizes of access control between DLNA equipment in described wide area network, wherein, described the first access control unit also comprises:
Wide area network address acquisition unit, for calling the URI method to set up of the DMR equipment of a DLNA terminal, obtains the wide area network DLNA server URI address of the DMR equipment of the 2nd DLNA terminal;
The second media file is searched unit, for calling the player method of the DMR equipment of a DLNA terminal, and the media file of uploading according to the DMR equipment that whether has the 2nd DLNA terminal in described wide area network DLNA server URI address search wide area network DLNA server, when no, wide area network DLNA server is to the DMS device transmits and downloads request of the 2nd DLNA terminal, from the DMS device downloads media file of the 2nd DLNA terminal;
The second broadcast unit, for playing the media file on wide area network DLNA server according to described wide area network DLNA server URI address.
A DLNA terminal for access control between interior DLNA equipment, wherein, described DLNA terminal comprises:
The first authentication ' unit, for authenticating and be connected with wide area network DLNA server;
First collects uploading unit, for the facility information of DLNA equipment of collecting and upload this terminal to wide area network DLNA server;
The first creating unit, for downloading the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and creates the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal;
The first access control unit, for the first virtual DLNA equipment that passes through to create, by the DLNA equipment of described the first virtual DLNA equipment access control the 2nd DLNA terminal in wide area network.
Beneficial effect: the present invention is by setting up wide area network DLNA server, by DLNA equipment, authenticate and be connected with wide area network DLNA server, and in DLNA terminal, create the virtual DLNA equipment corresponding with other DLNA equipment, by the control that conducts interviews of virtual DLNA equipment and other real DLNA equipment, thereby make interconnecting between DLNA equipment break through the restriction of local area network (LAN), expanded the scope of application of DLNA equipment.
Accompanying drawing explanation
Fig. 1 is the flow chart of the implementation method of access control between the interior DLNA equipment of wide area network of the present invention.
Fig. 2 is that in Fig. 1, a DLNA terminal D MC equipment initiates to push to the 2nd DLNA terminal D MR equipment the flow chart of playing media file.
Fig. 3 is that the DMC equipment of a DLNA terminal in Fig. 1 pulls the flow chart that the media file of the DMS equipment of the 2nd DLNA terminal is play.
Fig. 4 is the structured flowchart of the system that realizes of access control between the interior DLNA equipment of wide area network of the present invention.
Fig. 5 is the structured flowchart of a DLNA terminal in system shown in Figure 4.
Fig. 6 is the structured flowchart of the another embodiment of a DLNA terminal in system shown in Figure 4.
Fig. 7 is the structured flowchart of DLNA terminal of the present invention.
Embodiment
The invention provides in a kind of wide area network implementation method and the system of access control between DLNA equipment, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the implementation method preferred embodiment of access control between the interior DLNA equipment of wide area network of the present invention, and as shown in the figure, it comprises step:
S101, a DLNA terminal are connected with wide area network DLNA server authentication respectively with the 2nd DLNA terminal;
After S102, authentication have connected, the facility information of DLNA equipment of this terminal is collected respectively and uploaded to a DLNA terminal and the 2nd DLNA terminal to wide area network DLNA server;
S103, a DLNA terminal are downloaded the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and create the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal; The 2nd DLNA terminal is downloaded the facility information of the DLNA equipment of a DLNA terminal from described wide area network DLNA server, and creates the second virtual DLNA equipment, the facility information of the DLNA equipment that described the second virtual DLNA equipment comprises a DLNA terminal;
The DLNA equipment of the DLNA equipment of S104, a described DLNA terminal and the 2nd DLNA terminal is realized the mutual access control at wide area network by the first virtual DLNA equipment and the second virtual DLNA equipment that create respectively.
In step S101; first be the verification process of DLNA terminal and wide area network DLNA server; because within the scope of wide area network; DLNA terminal quantity is numerous; consideration for aspects such as privacy and intellectual property protection; between DLNA equipment, can not access arbitrarily; only have the DLNA equipment through authorizing could access other DLNA equipment within the scope of wide area network; so the present invention first authenticates DLNA terminal and wide area network DLNA server; only have the DLNA terminal through authentication, the DLNA equipment on it just can carry out mutual access control.In the present invention, different DLNA terminals, if authenticated in an identical manner, thinks to belong to same user's DLNA terminal.The present invention is exactly the access control problem solving between the DLNA equipment of same user's different DLNA terminals in wide area network scope.The DLNA equipment of the DLNA terminal in the present invention comprises DMS equipment, DMR equipment, DMC equipment.
In DLNA terminal, passed through after the authentication of wide area network DLNA server, maintained authentication by state, to carry out, ensuing information is uploaded, downloading process.
In step S102, the facility information of DLNA equipment of this terminal is collected respectively and uploaded to a DLNA terminal and the 2nd DLNA terminal to wide area network DLNA server;
In this step, the one DLNA terminal and the 2nd DLNA terminal all collect the facility information of the DMS equipment of this terminal, DMR equipment, DMC equipment, and be uploaded to wide area network DLNA server, these facility informations are all stored in the database being arranged in wide area network DLNA server, for other DLNA terminals, download.
In step S102, the media item information of this terminal D MS equipment is also collected respectively and uploaded to a described DLNA terminal and the 2nd DLNA terminal to wide area network DLNA server, wide area network DLNA server is by the local area network (LAN) URI address generation wide area network DLNA server URI address in the media item information of the two, can only be in the control that can conduct interviews within the scope of wide area network of the DLNA of access control under local area network (LAN) equipment thereby make originally, the DLNA server address that wide area network DLNA server also obtains generation is written in the database in wide area network DLNA server, for the DLNA terminal connecting through authentication, download.
In step S103, the one DLNA terminal is downloaded the facility information of the DLNA equipment of described the 2nd DLNA terminal from wide area network DLNA server, and create out the first virtual DLNA equipment corresponding with the DLNA equipment of the 2nd DLNA terminal, this first virtual DLNA equipment comprises the first virtual DMS equipment and the first virtual DMR equipment, the first described virtual DMS equipment is corresponding with the DMS equipment of the 2nd DLNA terminal, device descriptive information and the business description information of the DMS equipment that comprises the 2nd DLNA terminal on the first virtual DMS equipment, but do not comprise its concrete media item information, the first virtual DMS equipment can forward to wide area network DLNA server the access request of a DLNA terminal, and forwarding access result, the first virtual DMR equipment is also device descriptive information and the business description information that only comprises the DMR equipment of the 2nd DLNA terminal, the first virtual DMR equipment can forward to wide area network DLNA server the control request of a DLNA terminal, and result is controlled in forwarding,
The 2nd DLNA terminal is downloaded the facility information of the DLNA equipment of a DLNA terminal from described wide area network DLNA server, and the establishment second virtual DLNA equipment corresponding with the DLNA equipment of a DLNA terminal, described the second virtual DLNA equipment comprises the second virtual DMS equipment and the second virtual DMR equipment, the second described virtual DMS equipment is corresponding with the DMS equipment of a DLNA terminal, device descriptive information and the business description information of the DMS equipment that comprises a DLNA terminal on the second virtual DMS equipment, but do not comprise its concrete media item information, equally, the second virtual DMR equipment is also device descriptive information and the business description information that only comprises the DMR equipment of a DLNA terminal.
In addition, in step S103, the querying method of the virtual DMS equipment of DMC equipment calls first of the one DLNA terminal, from described wide area network DLNA server, inquire about and obtain the media item information of the DMS equipment of the 2nd DLNA terminal, the querying method of the virtual DMS equipment of DMC equipment calls second of the 2nd DLNA terminal is inquired about and obtains the media item information of the DMS equipment of a DLNA terminal from described wide area network DLNA server;
In step S104, the control that starts to conduct interviews of DLNA equipment in the one DLNA terminal and the 2nd DLNA terminal, the DLNA equipment that the DLNA device access of a DLNA terminal of take is controlled in the 2nd DLNA terminal is example, and the DMC equipment that its DMC equipment that specifically comprises a DLNA terminal initiates to push playing flow and a DLNA terminal to the DMR equipment of the 2nd DLNA terminal pulls the flow process that the media file of the DMS equipment of the 2nd DLNA terminal is play.
Wherein, the DMC equipment of a DLNA terminal initiates to push the flow process of the media file of playing a DLNA terminal to the DMR equipment of the 2nd DLNA terminal, as shown in Figure 2, comprise step:
The URI method to set up of the virtual DMR equipment of DMC equipment calls first of S201, a DLNA terminal, obtains the local area network (LAN) URI address in the media item information of DMS equipment of a DLNA terminal, and described local area network (LAN) URI address is sent to wide area network DLNA server;
Whether S202, wide area network DLNA server there is media file according to wide area network DLNA server described in described local area network (LAN) URI address lookup, when existing, call the URI method to set up of the DMR equipment of the 2nd DLNA terminal, obtain the wide area network DLNA server URI address in the media item information of DMS equipment of a DLNA terminal; In step S201, the first virtual DMR equipment does not possess actual playing function, can only be play by the actual DMR equipment of the 2nd DLNA terminal, so need to exist after media file in judgement, call the URI method to set up of actual DMR equipment, according to generating the wide area network DLNA server URI address obtaining in this local area network (LAN) URI address acquisition step S102.If while there is not media file in described wide area network DLNA server, need the DMS device transmits and downloads request to a DLNA terminal, from this DMS equipment, download media file.
The player method of the virtual DMR equipment of DMC equipment calls first of S203, a DLNA terminal, forwards playing request by wide area network DLNA server to the 2nd DLNA terminal;
S204, the 2nd DLNA terminal are called the player method of DMR equipment in the 2nd DLNA terminal, according to described wide area network DLNA server URI address, play the media file on described wide area network DLNA server.
Said process is that the DMC equipment of a DLNA terminal is play the flow process of the media file of a DLNA terminal to the propelling movement of the DMR equipment initiation of the 2nd DLNA terminal.
In the present invention, the DMC equipment of a DLNA terminal can also pull the media file of the DMS equipment of the 2nd DLNA terminal and play, and as shown in Figure 3, it comprises step:
The URI method to set up of DMC equipment calls the one DLNA terminal D MR equipment of S301, a DLNA terminal, the wide area network DLNA server URI address that obtains the DMR equipment of the 2nd DLNA terminal;
The player method of the DMR equipment of DMC equipment calls the one DLNA terminal of S302, a DLNA terminal, and the media file of uploading according to the DMR equipment that whether has the 2nd DLNA terminal in described wide area network DLNA server URI address search wide area network DLNA server, when being, proceed to step S304, when no, proceed to step S303;
S303, wide area network DLNA server are to the DMS device transmits and downloads request of the 2nd DLNA terminal, and the DMS device downloads media file from the 2nd DLNA terminal, proceeds to step S304;
The DMC equipment of S304, a DLNA terminal is play the media file on wide area network DLNA server according to described wide area network DLNA server URI address;
And the DMC equipment of the 2nd DLNA terminal pushes or pull media file is play flow process and said process are similar, therefore repeat no more.
Based on said method, the present invention also provides the system that realizes of access control between the interior DLNA equipment of a kind of wide area network, as shown in Figure 4, it comprises a DLNA terminal 100, the 2nd DLNA terminal 200, wide area network DLNA server 300, wherein, a described DLNA terminal 100 comprises the first authentication ' unit 110, the first collection uploading unit 120, the first creating unit 130, the first access control unit 140, and described the 2nd DLNA terminal 200 comprises the second authentication ' unit 210, the second collection uploading unit 220, the second creating unit 230, the second access control unit 240;
The first authentication ' unit 110 and the second authentication ' unit 210, for authenticating and be connected with wide area network DLNA server 300;
First collects uploading unit 120 and the second collection uploading unit 220, for the facility information of DLNA equipment of collecting respectively and upload this terminal to wide area network DLNA server 300;
The first creating unit 130, for download the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server 300, and create the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal; The second creating unit 230, for download the facility information of the DLNA equipment of a DLNA terminal from described wide area network DLNA server 300, and create the second virtual DLNA equipment, the facility information of the DLNA equipment that described the second virtual DLNA equipment comprises a DLNA terminal;
The first access control unit 140, for the DLNA equipment of a described DLNA terminal by the first virtual DLNA equipment of creating respectively and the DLNA equipment of the second virtual DLNA equipment access control the 2nd DLNA terminal in wide area network; The second access control unit 240, for the DLNA equipment of described the 2nd DLNA terminal by the first virtual DLNA equipment of creating respectively and the DLNA equipment of the second virtual DLNA equipment access control the one DLNA terminal in wide area network.
Wherein, described DLNA equipment comprises DMS equipment, DMR equipment, DMC equipment.
Wide area network DLNA server 300 in the present invention comprises http server, user authentication unit, access control unit, device management unit, database, media store;
Described http server, for receiving the HTTP request from a DLNA terminal and the 2nd DLNA terminal, is transmitted to the cell processing such as user authentication unit, access control unit, device management unit, and obtains result and return to request end;
User authentication unit is for the treatment of the authentication request of DLNA terminal;
Access control unit is for the treatment of access control request;
Device management unit is uploaded and download request for the treatment of facility information;
Database is for storing the facility information, media item information etc. of DLNA equipment;
Media store is for storing the media file of uploading from DMS equipment, and these media files are to be temporarily kept on wide area network DLNA server, surpasses certain time limit automatically to delete.
Further, as shown in Figure 5, described the first access control unit 140 comprises:
The first media file is searched unit 141, for calling the URI method to set up of the first virtual DMR equipment, obtain the local area network (LAN) URI address in the media item information of a DLNA terminal D MS equipment, described local area network (LAN) URI address is sent to wide area network DLNA server 300; Whether wide area network DLNA server 300 there is media file according to wide area network DLNA server 300 described in described local area network (LAN) URI address lookup, when existing, call the URI method to set up of DMR equipment in the 2nd DLNA terminal, obtain the wide area network DLNA server URI address in the media item information of a DLNA terminal D MS equipment;
Playing request retransmission unit 142, for calling the player method of the first virtual DMR equipment, forwards playing request by wide area network DLNA server 300 to the 2nd DLNA terminal;
The first broadcast unit 143, for calling the player method of DMR equipment in the 2nd DLNA terminal, plays the media file on described wide area network DLNA server 300 according to described wide area network DLNA server URI address.
Further, as shown in Figure 6, described the first access control unit 140 also comprises:
Wide area network address acquisition unit 144, for calling the URI method to set up of a DLNA terminal D MR equipment, obtains the wide area network DLNA server URI address of the 2nd DLNA terminal D MR equipment;
The second media file is searched unit 145, for calling the player method of a DLNA terminal D MR equipment, and according to the media file that whether exists the 2nd DLNA terminal D MR equipment to upload in described wide area network DLNA server URI address search wide area network DLNA server 300, when no, wide area network DLNA server 300 is to the DMS device transmits and downloads request of the 2nd DLNA terminal, from the DMS device downloads media file of the 2nd DLNA terminal;
The second broadcast unit 146, for playing the media file on wide area network DLNA server according to described wide area network DLNA server URI address.
In sum, the present invention is by setting up wide area network DLNA server, by DLNA equipment, authenticate and be connected with wide area network DLNA server, and in DLNA terminal, create the virtual DLNA equipment corresponding with other DLNA equipment, by the control that conducts interviews of virtual DLNA equipment and other real DLNA equipment, thereby make interconnecting between DLNA equipment break through the restriction of local area network (LAN), expanded the scope of application of DLNA equipment.
Based on said method and system, the present invention also provides the DLNA terminal of access control between the interior DLNA equipment of a kind of wide area network, and described DLNA terminal comprises:
The first authentication ' unit 410, for authenticating and be connected with wide area network DLNA server;
First collects uploading unit 420, for the facility information of DLNA equipment of collecting and upload this terminal to wide area network DLNA server;
The first creating unit 430, for download the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and create the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal;
The first access control unit 440, for the first virtual DLNA equipment that passes through to create, by the DLNA equipment of described the first virtual DLNA equipment access control the 2nd DLNA terminal in wide area network.
Between the interior DLNA equipment of wide area network provided by the invention, the DLNA terminal of access control can penetrate the restriction of local area network (LAN), by the communication service that is arranged on the DLNA server of wide area network, in wide area network, establish a communications link with other DLNA terminals, realize wide area network remote DLNA terminal access and control.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection range of claims of the present invention.
Claims (10)
1. an implementation method for access control between the interior DLNA equipment of wide area network, is characterized in that, comprises step:
A, a DLNA terminal are connected with wide area network DLNA server authentication respectively with the 2nd DLNA terminal;
After B, authentication have connected, the facility information of DLNA equipment of this terminal is collected respectively and uploaded to a DLNA terminal and the 2nd DLNA terminal to wide area network DLNA server;
C, a DLNA terminal are downloaded the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and create the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal; The 2nd DLNA terminal is downloaded the facility information of the DLNA equipment of a DLNA terminal from described wide area network DLNA server, and creates the second virtual DLNA equipment, the facility information of the DLNA equipment that described the second virtual DLNA equipment comprises a DLNA terminal;
The DLNA equipment of the DLNA equipment of D, a described DLNA terminal and the 2nd DLNA terminal is realized the mutual access control at wide area network by the first virtual DLNA equipment and the second virtual DLNA equipment that create respectively.
2. the implementation method of access control between DLNA equipment in wide area network according to claim 1, it is characterized in that, in described step B, the DMS equipment of this terminal and the facility information of DMR equipment are collected respectively and uploaded to a described DLNA terminal and the 2nd DLNA terminal.
3. the implementation method of access control between DLNA equipment in wide area network according to claim 2, is characterized in that, described step B also comprises:
The media item information of DMS equipment of this terminal is collected respectively and uploaded to the one DLNA terminal and the 2nd DLNA terminal to wide area network DLNA server, wide area network DLNA server is by the local area network (LAN) URI address generation wide area network DLNA server URI address in the media item information of the two, and the wide area network DLNA server URI address that generation is obtained is written in the database in wide area network DLNA server.
4. the implementation method of access control between DLNA equipment in wide area network according to claim 2, it is characterized in that, in described step C, the first virtual DLNA equipment that a DLNA terminal creates comprises respectively first virtual DMS equipment and the first virtual DMR equipment corresponding with the DMS equipment of the 2nd DLNA terminal and DMR equipment; The second virtual DLNA equipment that the 2nd DLNA terminal creates comprises respectively second virtual DMS equipment and the second virtual DMR equipment corresponding with the DMS equipment of a DLNA terminal and DMR equipment.
5. the implementation method of access control between DLNA equipment in wide area network according to claim 4, it is characterized in that, in described step D, the process that the DMC equipment of a DLNA terminal is play the media file of a DLNA terminal to the DMR equipment propelling movement of the 2nd DLNA terminal comprises:
The URI method to set up of the virtual DMR equipment of DMC equipment calls first of D1, a DLNA terminal, obtains the local area network (LAN) URI address in the media item information of DMS equipment of a DLNA terminal, and described local area network (LAN) URI address is sent to wide area network DLNA server;
Whether D2, wide area network DLNA server there is media file according to wide area network DLNA server described in described local area network (LAN) URI address lookup, when existing, call the URI method to set up of DMR equipment in the 2nd DLNA terminal, obtain the wide area network DLNA server URI address in the media item information of DMS equipment of a DLNA terminal;
The player method of the virtual DMR equipment of DMC equipment calls first of D3, a DLNA terminal, forwards playing request by wide area network DLNA server to the 2nd DLNA terminal;
D4, the 2nd DLNA terminal are called the player method of the DMR equipment of the 2nd DLNA terminal, according to described wide area network DLNA server URI address, play the media file on described wide area network DLNA server.
6. the implementation method of access control between DLNA equipment in wide area network according to claim 4, is characterized in that, in described step D, the DMC equipment of a DLNA terminal pulls the process that the media file of the DMS equipment of the 2nd DLNA terminal plays and comprises:
The URI method to set up of the DMR equipment of DMC equipment calls the one DLNA terminal of D11, a DLNA terminal, the wide area network DLNA server URI address that obtains the DMR equipment of the 2nd DLNA terminal;
The player method of the DMR equipment of DMC equipment calls the one DLNA terminal of D12, a DLNA terminal, and the media file of uploading according to the DMR equipment that whether has the 2nd DLNA terminal in described wide area network DLNA server URI address search wide area network DLNA server, when being, proceed to step D14, when no, proceed to step D13;
D13, wide area network DLNA server are to the DMS device transmits and downloads request of the 2nd DLNA terminal, and the DMS device downloads media file from the 2nd DLNA terminal, proceeds to step D14;
The DMC equipment of D14, a DLNA terminal is play the media file on wide area network DLNA server according to described wide area network DLNA server URI address.
7. the system that realizes of access control between DLNA equipment in a wide area network, it is characterized in that, comprise a DLNA terminal, the 2nd DLNA terminal, wide area network DLNA server, a described DLNA terminal comprises the first authentication ' unit, the first collection uploading unit, the first creating unit, the first access control unit, and described the 2nd DLNA terminal comprises the second authentication ' unit, the second collection uploading unit, the second creating unit, the second access control unit;
The first authentication ' unit and the second authentication ' unit, for authenticating and be connected with wide area network DLNA server;
First collects uploading unit and the second collection uploading unit, for the facility information of DLNA equipment of collecting respectively and upload this terminal to wide area network DLNA server;
The first creating unit, for downloading the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and creates the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal; The second creating unit, for downloading the facility information of the DLNA equipment of a DLNA terminal from described wide area network DLNA server, and creates the second virtual DLNA equipment, the facility information of the DLNA equipment that described the second virtual DLNA equipment comprises a DLNA terminal;
The first access control unit, for the DLNA equipment of a described DLNA terminal by the first virtual DLNA equipment of creating respectively and the DLNA equipment of the second virtual DLNA equipment access control the 2nd DLNA terminal in wide area network; The second access control unit, for the DLNA equipment of described the 2nd DLNA terminal by the first virtual DLNA equipment of creating respectively and the DLNA equipment of the second virtual DLNA equipment access control the one DLNA terminal in wide area network.
8. the system that realizes of access control between DLNA equipment in wide area network according to claim 7, is characterized in that, described DLNA equipment comprises: DMS equipment, DMR equipment, DMC equipment, and described the first access control unit comprises:
The first media file is searched unit, for calling the URI method to set up of the first virtual DMR equipment, obtains the local area network (LAN) URI address in the media item information of DMS equipment of a DLNA terminal, and described local area network (LAN) URI address is sent to wide area network DLNA server; Whether wide area network DLNA server there is media file according to wide area network DLNA server described in described local area network (LAN) URI address lookup, when existing, call the URI method to set up of the DMR equipment of the 2nd DLNA terminal, obtain the wide area network DLNA server URI address in the media item information of DMS equipment of a DLNA terminal;
Playing request retransmission unit, for calling the player method of the first virtual DMR equipment, forwards playing request by wide area network DLNA server to the 2nd DLNA terminal;
The first broadcast unit, for calling the player method of the DMR equipment of the 2nd DLNA terminal, plays the media file on described wide area network DLNA server according to described wide area network DLNA server URI address.
9. the system that realizes of access control between DLNA equipment in wide area network according to claim 8, is characterized in that, described the first access control unit also comprises:
Wide area network address acquisition unit, for calling the URI method to set up of the DMR equipment of a DLNA terminal, obtains the wide area network DLNA server URI address of the DMR equipment of the 2nd DLNA terminal;
The second media file is searched unit, for calling the player method of the DMR equipment of a DLNA terminal, and the media file of uploading according to the DMR equipment that whether has the 2nd DLNA terminal in described wide area network DLNA server URI address search wide area network DLNA server, when no, wide area network DLNA server is to the DMS device transmits and downloads request of the 2nd DLNA terminal, from the DMS device downloads media file of the 2nd DLNA terminal;
The second broadcast unit, for playing the media file on wide area network DLNA server according to described wide area network DLNA server URI address.
10. a DLNA terminal for access control between the interior DLNA equipment of wide area network, is characterized in that, described DLNA terminal comprises:
The first authentication ' unit, for authenticating and be connected with wide area network DLNA server;
First collects uploading unit, for the facility information of DLNA equipment of collecting and upload this terminal to wide area network DLNA server;
The first creating unit, for downloading the facility information of the DLNA equipment of the 2nd DLNA terminal from described wide area network DLNA server, and creates the first virtual DLNA equipment, the facility information of the DLNA equipment that described the first virtual DLNA equipment comprises the 2nd DLNA terminal;
The first access control unit, for the first virtual DLNA equipment that passes through to create, by the DLNA equipment of described the first virtual DLNA equipment access control the 2nd DLNA terminal in wide area network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210437819.5A CN103516707B (en) | 2012-11-06 | 2012-11-06 | The implementation method of control, system and terminal is accessed between DLNA device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210437819.5A CN103516707B (en) | 2012-11-06 | 2012-11-06 | The implementation method of control, system and terminal is accessed between DLNA device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103516707A true CN103516707A (en) | 2014-01-15 |
CN103516707B CN103516707B (en) | 2016-12-21 |
Family
ID=49898751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210437819.5A Expired - Fee Related CN103516707B (en) | 2012-11-06 | 2012-11-06 | The implementation method of control, system and terminal is accessed between DLNA device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103516707B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105516761A (en) * | 2015-12-24 | 2016-04-20 | 成都云晖航空科技股份有限公司 | Onboard audio and video file propagation method based on wifi technology |
CN105578466A (en) * | 2015-12-23 | 2016-05-11 | 成都云晖航空科技股份有限公司 | In-flight entertainment file transmission method |
CN105578221A (en) * | 2015-12-23 | 2016-05-11 | 成都云晖航空科技股份有限公司 | Method of establishing aerial entertainment platform based on wifi technology |
CN105611325A (en) * | 2015-12-23 | 2016-05-25 | 成都云晖航空科技股份有限公司 | Aerial entertainment system based on wifi technique |
WO2016110048A1 (en) * | 2015-01-05 | 2016-07-14 | 中兴通讯股份有限公司 | Method and apparatus for sharing media content |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070237115A1 (en) * | 2006-04-10 | 2007-10-11 | Young Kyu Bae | Apparatus and method for sharing content using digital living network alliance (dlna) network and computer-readable medium thereof |
CN102244656A (en) * | 2010-05-11 | 2011-11-16 | 微软公司 | Domain access system |
CN102244654A (en) * | 2010-05-12 | 2011-11-16 | 日立系统解决方案有限公司 | Content distribution system and gateway device, and program |
CN102325172A (en) * | 2011-08-30 | 2012-01-18 | 中兴通讯股份有限公司 | Method for sharing data among mobile terminals, system and control server |
-
2012
- 2012-11-06 CN CN201210437819.5A patent/CN103516707B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070237115A1 (en) * | 2006-04-10 | 2007-10-11 | Young Kyu Bae | Apparatus and method for sharing content using digital living network alliance (dlna) network and computer-readable medium thereof |
CN102244656A (en) * | 2010-05-11 | 2011-11-16 | 微软公司 | Domain access system |
CN102244654A (en) * | 2010-05-12 | 2011-11-16 | 日立系统解决方案有限公司 | Content distribution system and gateway device, and program |
CN102325172A (en) * | 2011-08-30 | 2012-01-18 | 中兴通讯股份有限公司 | Method for sharing data among mobile terminals, system and control server |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016110048A1 (en) * | 2015-01-05 | 2016-07-14 | 中兴通讯股份有限公司 | Method and apparatus for sharing media content |
CN105828174A (en) * | 2015-01-05 | 2016-08-03 | 中兴通讯股份有限公司 | Media content sharing method and media content sharing device |
CN105828174B (en) * | 2015-01-05 | 2019-11-05 | 中兴通讯股份有限公司 | A kind of method and apparatus for sharing media content |
CN105578466A (en) * | 2015-12-23 | 2016-05-11 | 成都云晖航空科技股份有限公司 | In-flight entertainment file transmission method |
CN105578221A (en) * | 2015-12-23 | 2016-05-11 | 成都云晖航空科技股份有限公司 | Method of establishing aerial entertainment platform based on wifi technology |
CN105611325A (en) * | 2015-12-23 | 2016-05-25 | 成都云晖航空科技股份有限公司 | Aerial entertainment system based on wifi technique |
CN105516761A (en) * | 2015-12-24 | 2016-04-20 | 成都云晖航空科技股份有限公司 | Onboard audio and video file propagation method based on wifi technology |
Also Published As
Publication number | Publication date |
---|---|
CN103516707B (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103269329B (en) | A kind of domestic video monitoring system based on digital TV set-top box and IMS system | |
CN105323628B (en) | Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device | |
CN102185728B (en) | Communication system and method with unified management platform | |
JP6072132B2 (en) | Method of establishing a communication path using active connection of relay server of mobile terminal | |
CN103618670A (en) | Intelligent gateway and intelligent home system | |
CN103516707A (en) | Method, system and terminal for achieving access control between DLAN devices | |
CN111490916B (en) | Method, system, device and medium for binding ZigBee sub-devices of ZigBee | |
JP2008035108A (en) | Home network server and method for controlling home network | |
CN106464954A (en) | Device and method for transferring the rendering of multimedia content | |
CN107205166A (en) | A kind of terminal device exchange method and system based on Cloud Server | |
CN103888488A (en) | WIFI-based data sharing method | |
CN104601416B (en) | Family's management and group, business be shared and customized information sharing method and equipment | |
CN104683320A (en) | Home network multimedia content sharing access control method and device | |
CN103595775A (en) | Media file sharing method and system | |
CN103561281A (en) | Multimedia data sharing method and device | |
CN103209248A (en) | Mobile phone terminal and method for sharing multi-media content | |
CN104602109A (en) | Video synchronizing method, device and system | |
CN104283873A (en) | Implementation method and system of digital media server (DMS) based on multi-network card equipment | |
CN101471855B (en) | Communication equipment and application method and system thereof | |
CN202230728U (en) | Song-ordering device and song-ordering system | |
CN101808108A (en) | Set-top box content push method and system based on mobile terminal | |
CN103067234A (en) | Identification and discovery method and system of intelligent device under heterogeneous network | |
CN104092664B (en) | A kind of multimedia resource management method, Cloud Server and electronic equipment | |
CN103297813A (en) | Video-on-demand method, video-on-demand system and video-on-demand server | |
CN107820117A (en) | A kind of intelligent video player method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161221 |
|
CF01 | Termination of patent right due to non-payment of annual fee |