CN104065659B - A kind of method that DLNA device is stealthy and master and slave DLNA device - Google Patents

A kind of method that DLNA device is stealthy and master and slave DLNA device Download PDF

Info

Publication number
CN104065659B
CN104065659B CN201410299224.7A CN201410299224A CN104065659B CN 104065659 B CN104065659 B CN 104065659B CN 201410299224 A CN201410299224 A CN 201410299224A CN 104065659 B CN104065659 B CN 104065659B
Authority
CN
China
Prior art keywords
dlna device
main
dlna
stealthy
mode
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
CN201410299224.7A
Other languages
Chinese (zh)
Other versions
CN104065659A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201410299224.7A priority Critical patent/CN104065659B/en
Publication of CN104065659A publication Critical patent/CN104065659A/en
Application granted granted Critical
Publication of CN104065659B publication Critical patent/CN104065659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of method that DLNA device is stealthy and master and slave DLNA devices, this method comprises: starting protocol stack after main DLNA device is online, judging whether main DLNA device is configured to stealthy mode;If main DLNA device is in stealthy mode, starting web server mode is for providing DLNA file access services.The stealthy method of DLNA device provided by the invention and master and slave DLNA device; by the way that a stealthy access module is arranged; DLNA device not only can normally provide DLNA Server service in this mode, but also protect the privacy of user, improve the experience that user uses DLNA.

Description

A kind of method that DLNA device is stealthy and master and slave DLNA device
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods that DLNA device is stealthy and master and slave DLNA device.
Background technique
Currently, multi-screen interactive using more and more, many TV producers or mobile device producer are all using, and count Word living network alliance (Digital Living Network Alliance, DLNA), which is undoubtedly various applications, will abide by Framework agreement, be shared media and the set for controlling a series of technical specifications such as media play.
The functional module of DLNA has media controller, media player, media server, and wherein media controller is mainly used It controls media player and accesses the shared file of media server or catalogue, when media controller controls media player When, it can send and start play, picture, video or music file can be pushed to another and set by the instruction such as pause pause Standby media renderer plays;When media player receives control, media player provides audio video transmission AVTransport etc. It services (service), each service includes many a action. again, and other equipment pass through in media player Action sends the data of corresponding format to media player.
But the existing standard agreement by DLNA, all equipment accessed under consolidated networks can mutually visible, visits It asks.This destroys the right of user's " privacy access " under certain public places, affects user experience.
Summary of the invention
The purpose of the present invention is to provide a kind of method that DLNA device is stealthy and master and slave DLNA devices, are providing DLNA Server protects the privacy of user while service.
The purpose of the present invention is what is be achieved through the following technical solutions.
A kind of method that DLNA device is stealthy, comprising:
After main DLNA device is online, starts protocol stack, judge whether main DLNA device is configured to stealthy mode;
If main DLNA device is in stealthy mode, starting web server mode is for providing DLNA file access services.
It is further preferred that if main DLNA device is in non-stealthy mode,
Main DLNA device sends a notification message to from DLNA device;
The notification message received is parsed from DLNA device, and starts server mode for providing DLNA file access services And equipment management service.
It is further preferred that the main DLNA device sends a notification message to from DLNA device specifically, the main DLNA Equipment is sent a notification message by way of multicast to from DLNA device.
A kind of method that DLNA device is stealthy, comprising:
After main DLNA device is online, the search message sent from DLNA device is received;
Judge whether main DLNA device is configured to stealthy mode, if it is, ignore described search message, then same net Other under network can not search the main DLNA device from DLNA device.
It is further preferred that if main DLNA device is in non-stealthy mode,
Main DLNA device is by sending search response message to from DLNA device, then other under consolidated network are set from DLNA It is standby to search the main DLNA device.
It is further preferred that the main DLAN equipment and be under consolidated network from DLNA device, it is described from DLNA device Including at least one from DLNA device.
A kind of main DLNA device, comprising:
Mode setting unit, for the stealthy mode state of main DLNA device to be arranged;
Mode memory cell, for storing the stealthy mode state of main DLNA device;
Mode decision unit, for after the main DLNA device is online, whether starting protocol stack to judge main DLNA device In stealthy mode;
Information receiving unit, for receiving the search message sent from DLNA device.
It is further preferred that the main DLNA device further include:
Information transmitting unit sends a notification message for main DLNA device to from DLNA device.
It is further preferred that the information transmitting unit, be also used to main DLNA device send search response message to from DLNA device.
One kind is from DLNA device, comprising:
Information receiving unit is sent to notification message from DLNA device for receiving main DLNA device;
Information resolution unit for parsing notified message from DLNA device, and starts server mode and provides DLNA File access services;
Information transmitting unit, search message for being sent from DLNA device to main DLNA device.
The embodiment of the present invention compared with prior art, the stealthy method of DLNA device provided by the invention and master and slave DLNA Equipment, by the way that a stealthy access module is arranged, DLNA device both can normally provide DLNA Server service in this mode, together When protect the privacy of user again, improve the experience that user uses DLNA.
Detailed description of the invention
Fig. 1 is the stealthy method flow diagram of the DLNA device of first embodiment of the invention offer;
Fig. 2 is the stealthy method flow diagram of the DLNA device of second embodiment of the invention offer;
Fig. 3 is the structure chart for the main DLNA device that third embodiment of the invention provides;
Fig. 4 is the structure chart for the slave DLNA device that fourth embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Embodiment one
It please participate in the method that DLNA device of the present invention is stealthy shown in Fig. 1, comprising:
Step 101: after main DLNA device is online, starts protocol stack, judge whether main DLNA device is in stealthy mode, If so, entering step 104, otherwise, 102 are entered step;
Specifically, main DLNA device stores the stealthy mode of current device, main DLNA device by a mode memory cell When starting, current state is inquired in slave pattern storage unit, main DLNA device realizes code, root by extension DLNA protocol stack Current whether in stealthy mode decide whether to enable equipment query module to realize the stealthy of equipment according to inquiring.
Step 102: main DLNA device sends notice (notify) message extremely from DLNA device;
In the embodiment of the present invention, it is assumed that this DLAN equipment is main DLAN equipment, further includes from DLNA under consolidated network Equipment sends notice (notify) message extremely from DLNA device after main DLAN equipment is online by way of multicast.
It in the present embodiment, include at least one from DLNA device from DLNA device.
Step 103: parsing notified (notify) message from DLNA device, and start server mode and DLNA text is provided Part access service;
Above-mentioned server mode is a global function system, other than providing file access services, also externally provides and sets Standby management service, and then include upload download service of file etc..
Step 104: main DLNA device is in stealthy mode, and starting web server mode provides DLNA file access clothes Business.
Above-mentioned web server mode is that web server mode only runs a minimum system with server mode discrimination System only provides file access services.
Embodiment two
It please participate in the method that DLNA device of the present invention is stealthy shown in Fig. 2, comprising:
Step 201: after main DLNA device is online, receiving search (search) message sent from DLNA device;
In the embodiment of the present invention, it is assumed that this DLAN equipment is main DLAN equipment, further includes from DLNA under consolidated network Equipment receives search (search) message sent from DLNA device after main DLAN equipment is online.
It in the present embodiment, include at least one from DLNA device from DLNA device.
Step 202: judge whether main DLNA device is in stealthy mode, if it is, ignore the search message, then it is same Other under network can not search the main DLNA device from DLNA device;Otherwise, 203 are entered step;
Specifically, main DLNA device stores the stealthy mode of current device, main DLNA device by a mode memory cell When starting, current state is inquired in slave pattern storage unit, main DLNA device realizes code, root by extension DLNA protocol stack Current whether in stealthy mode decide whether to enable equipment query module to realize the stealthy of equipment according to inquiring.
Step 203: main DLNA device sends search response (search response) message extremely from DLNA device.
In the present embodiment, main DLNA device can be in the online search message for receiving send from DLNA device afterwards, and sentences The main DLNA device of breaking is in non-stealthy mode, then main DLNA device is by sending search response message to from DLNA device, into And other under consolidated network can search the main DLNA device from DLNA device.
Embodiment three
The structure of the main DLNA device of the present invention shown in Fig. 3 is please referred to, for ease of description, illustrates only and implements with the present invention The relevant part of example.
The main DLNA device can be any terminal, such as smart phone, PAD, television set etc. with DLNA function, should Main DLNA device includes mode setting unit 31, mode memory cell 32, mode decision unit 33 and information transmitting unit 34, In:
Mode setting unit 31, for the stealthy mode state of main DLNA device to be arranged;
Mode memory cell 32, for storing the stealthy mode state of main DLNA device;
Mode decision unit 33, for after the main DLNA device is online, starting protocol stack to judge that main DLNA device is It is no to be in stealthy mode;
Information transmitting unit 34 sends notice (notify) message extremely from DLNA device for main DLNA device;
Optionally, the main DLNA device further includes information receiving unit 35,
The information receiving unit 35, for receiving search (search) message sent from DLNA device.
Optionally, the information transmitting unit 34 is also used to main DLNA device and sends search response (search Response) message is extremely from DLNA device.
In the present embodiment, main DLNA device can be in the online search message for receiving send from DLNA device afterwards, and sentences The main DLNA device of breaking is in non-stealthy mode, then main DLNA device is by sending search response message to from DLNA device, into And other under consolidated network can search the main DLNA device from DLNA device.
Example IV
Structure of the present invention shown in Fig. 4 from DLNA device is please referred to, for ease of description, illustrates only and implements with the present invention The relevant part of example.
This can be any terminal, such as smart phone, PAD, television set etc. with DLNA function from DLNA device, be somebody's turn to do It include information receiving unit 41, information resolution unit 42 and information transmitting unit 43 from DLNA device, in which:
Information receiving unit 41 is sent to notice (notify) message from DLNA device for receiving main DLNA device;
Information resolution unit 42 for parsing notified (notify) message from DLNA device, and starts server mould Formula provides DLNA file access services;
Information transmitting unit, search (search) message for being sent from DLNA device to main DLNA device.
The stealthy method of DLNA device provided by the invention and master and slave DLNA device, by the way that a stealthy access module is arranged, DLNA device not only can normally provide DLNA Server service in this mode, but also protect the privacy of user, improve use Family uses the experience of DLNA.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of method that DLNA device is stealthy characterized by comprising
After main DLNA device is online, starts protocol stack, judge whether main DLNA device is configured to stealthy mode;
If main DLNA device is in stealthy mode, starting web server mode is for providing DLNA file access services.
2. the stealthy method of DLNA device as described in claim 1, which is characterized in that if main DLNA device is in non-stealthy mould Formula, then
Main DLNA device sends a notification message to from DLNA device;
The notification message received is parsed from DLNA device, and starts server mode for providing DLNA file access services and setting Standby management service.
3. the stealthy method of DLNA device as claimed in claim 2, which is characterized in that the main DLNA device sends notice and disappears Breath is to from DLNA device specifically, the main DLNA device is sent a notification message by way of multicast to from DLNA device.
4. a kind of method that DLNA device is stealthy characterized by comprising
After main DLNA device is online, the search message sent from DLNA device is received;
Judge whether main DLNA device is configured to stealthy mode, if it is, ignoring described search message, then under consolidated network Other can not search the main DLNA device from DLNA device, comprising: main DLNA device is deposited by a mode memory cell The stealthy mode of current device is stored up, when main DLNA device starts, inquires current state in slave pattern storage unit, main DLNA is set It is standby that code is realized by extension DLNA protocol stack, according to inquiring current whether in stealthy mode decide whether that enabling equipment looks into Module is ask to realize the stealthy of equipment.
5. the stealthy method of DLNA device as claimed in claim 4, which is characterized in that if main DLNA device is in non-stealthy mould Formula, then
Main DLNA device is by sending search response message to from DLNA device, then other under consolidated network are from DLNA device energy Enough search the main DLNA device.
6. the stealthy method of DLNA device as described in claim 4 to 5 any claim, which is characterized in that the master DLAN equipment and be under consolidated network from DLNA device, it is described from DLNA device include at least one from DLNA device.
7. a kind of main DLNA device characterized by comprising
Mode setting unit, for the stealthy mode state of main DLNA device to be arranged;
Mode memory cell, for storing the stealthy mode state of main DLNA device;
Mode decision unit, for inquiring current state, main DLNA in slave pattern storage unit in the starting of main DLNA device Whether equipment realizes code by extension DLNA protocol stack, currently decide whether to enable equipment in stealthy mode according to inquiring Enquiry module realizes the stealthy of equipment;
Information receiving unit, for receiving the search message sent from DLNA device.
8. main DLNA device as claimed in claim 7, which is characterized in that the main DLNA device further include:
Information transmitting unit sends a notification message for main DLNA device to from DLNA device.
9. main DLNA device as claimed in claim 8, which is characterized in that the information transmitting unit is also used to main DLNA and sets Preparation send search response message extremely from DLNA device.
10. a kind of from DLNA device characterized by comprising
Information receiving unit is sent to notification message from DLNA device for receiving main DLNA device;
Information resolution unit for parsing notified message from DLNA device, and starts server mode and provides DLNA file Access service and equipment management service;
Information transmitting unit, search message for being sent from DLNA device to main DLNA device.
CN201410299224.7A 2014-06-27 2014-06-27 A kind of method that DLNA device is stealthy and master and slave DLNA device Active CN104065659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410299224.7A CN104065659B (en) 2014-06-27 2014-06-27 A kind of method that DLNA device is stealthy and master and slave DLNA device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410299224.7A CN104065659B (en) 2014-06-27 2014-06-27 A kind of method that DLNA device is stealthy and master and slave DLNA device

Publications (2)

Publication Number Publication Date
CN104065659A CN104065659A (en) 2014-09-24
CN104065659B true CN104065659B (en) 2019-08-16

Family

ID=51553190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410299224.7A Active CN104065659B (en) 2014-06-27 2014-06-27 A kind of method that DLNA device is stealthy and master and slave DLNA device

Country Status (1)

Country Link
CN (1) CN104065659B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005399A (en) * 2006-01-16 2007-07-25 上海贝尔阿尔卡特股份有限公司 Network device managing method, network device and network managing system
CN101473597A (en) * 2006-06-08 2009-07-01 三星电子株式会社 Method and system for remote access to universal plug and play devices
CN101682616A (en) * 2007-05-07 2010-03-24 诺基亚公司 Network multimedia communication using multiple devices
CN102972091A (en) * 2010-06-06 2013-03-13 Lg电子株式会社 Method and communication device for communicating with other devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005399A (en) * 2006-01-16 2007-07-25 上海贝尔阿尔卡特股份有限公司 Network device managing method, network device and network managing system
CN101473597A (en) * 2006-06-08 2009-07-01 三星电子株式会社 Method and system for remote access to universal plug and play devices
CN101682616A (en) * 2007-05-07 2010-03-24 诺基亚公司 Network multimedia communication using multiple devices
CN102972091A (en) * 2010-06-06 2013-03-13 Lg电子株式会社 Method and communication device for communicating with other devices

Also Published As

Publication number Publication date
CN104065659A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
CN102859965B (en) Method and the electronic installation of content of multimedia are provided
CN110087112B (en) Method, system and storage medium for remote media control
CN107079181B (en) Method for managing server, mobile device and readable storage medium
CN101785255B (en) For the data flow con-trol of the network equipment
KR102201022B1 (en) A system and method for managing playback of streaming digital content
US20120151006A1 (en) Content sharing between a universal plug and play device and a wide area network device
WO2018184266A1 (en) Communication method, device and system in live broadcasting channel
EP2768234A1 (en) Method, device and system for displaying interaction messages
CN108810594A (en) Remote screen projection method, device and system
US20170019443A1 (en) Device and method for transferring the rendering of multimedia content
EP2219320B1 (en) System and method for managing data between control point and at least one device in digital living network alliance system
CN103491179A (en) Multi-screen interaction method and system based on Web
KR20150022722A (en) Communications device utilizing a central discovery mechanism, and respective method
KR102177013B1 (en) A system and method for managing playback of streaming digital content
CN102665211B (en) A kind of digital mobile network alliance authority control method and device
EP2763072A1 (en) Method, device, and system for downloading contents on the basis of a rights verification
KR20140048930A (en) Method for device discovery and method for downloading content
CN102510371A (en) Method and device for controlling DLNA (Digital Living Network Alliance) content
CN102298590A (en) Home interconnected information display system and method, and display terminals and server for the same
CN202230728U (en) Song-ordering device and song-ordering system
EP2560404A2 (en) Electronic device and operating method of the same
CN102547684A (en) Method and device for controlling digital mobile network alliance contents
CN102111877B (en) Method for sensing service activity of user, base station and network side device and system
TW201233152A (en) Method for accessing multimedia contents within a household
EP2464154B1 (en) Apparatus and method of open mobile alliance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after: Nubian Technologies Ltd.

Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant