CN103235790B - Extend the method and system of DLNA shared file types - Google Patents

Extend the method and system of DLNA shared file types Download PDF

Info

Publication number
CN103235790B
CN103235790B CN201310106873.6A CN201310106873A CN103235790B CN 103235790 B CN103235790 B CN 103235790B CN 201310106873 A CN201310106873 A CN 201310106873A CN 103235790 B CN103235790 B CN 103235790B
Authority
CN
China
Prior art keywords
file
extension
dlna
message information
shared
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.)
Expired - Fee Related
Application number
CN201310106873.6A
Other languages
Chinese (zh)
Other versions
CN103235790A (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 CN201310106873.6A priority Critical patent/CN103235790B/en
Publication of CN103235790A publication Critical patent/CN103235790A/en
Application granted granted Critical
Publication of CN103235790B publication Critical patent/CN103235790B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and system of extension DLNA shared file types, the method for the extension DLNA shared file types includes step:DLNA content providers write the message information of extension file into shared data bank;DLNA content requests end sends solicited message to the DLNA content providers, and the solicited message includes handling the information for extending file and needing;According to solicited message, the DLNA content providers send the message information that file is extended described in the shared data bank to the DLNA content requests end;The DLNA content requests end handles the extension file according to the message information of the extension file.It is achieved thereby that the extension to DLNA shared file types, the file shared in DLNA network not only includes the file of the types such as music, video, picture, the extension file of the types such as text, PDF, Office document, compressed package, application program can also be included, meet the demand of the polytype file of user's wireless sharing between multiple equipment, DLNA usage scenario is extended, user satisfaction is improved.

Description

Extend the method and system of DLNA shared file types
Technical field
The present invention relates to communication technical field, a kind of method more particularly, to extension DLNA shared file types and it is System.
Background technology
Digital mobile network alliance(Digital Living Network Alliance, DLNA)Aim to solve the problem that PC, family expenses Wireless network and cable network between the electronic equipments such as electrical equipment, mobile device interconnect so that Digital Media and content The unconfined shared and growth of service is possibly realized.
The file that can be shared in current DLNA network can only be the media files such as music, video, picture, but with wireless The development of interconnection technique, DLNA solution may can also be applied to office space or public place, and it is acted on also will be from more Media are shared to be expanded in terms of screen prjection, sharing files, interactive control.Under these scenes, user wishes to divide Enjoy media file, moreover it is possible to share the file of the types such as text, office documents, application file, compressed file, therefore Need to be extended existing DLNA shared files type.
The content of the invention
It is a primary object of the present invention to provide a kind of method and system of extension DLNA shared file types, to realize Further types of file is shared in DLNA network, DLNA usage scenario is extended.
To achieve these objectives, the present invention proposes a kind of method of extension DLNA shared file types, including step:
DLNA content providers write the message information of extension file into shared data bank;
DLNA content requests end sends solicited message to the DLNA content providers, and the solicited message includes processing institute The information stated extension file and needed;
According to the solicited message, the DLNA content providers send the shared number to the DLNA content requests end According to the message information that file is extended described in storehouse;
The DLNA content requests end handles the extension file according to the message information of the extension file.
Preferably, the DLNA content providers write into shared data bank extension file message information include:
DLNA content providers increase document files type in file type table;
DLNA content providers scanning extension file, the multi-functional the Internet emails of MIME for reading the extension file expand Service type, inquires about the file type table, constructs expansion of the mime type for the document files type in the file type table Open up the message information of file;
DLNA content providers write the message information in shared data bank.
Preferably, the DLNA content requests end handles the extension file bag according to the message information of the extension file Include:
The message information of the DLNA content requests end parsing extension file, obtains the file type of the extension file;
DLNA content requests end the corresponding program processing extension text is called according to the file type of the extension file Part.
Preferably, the extension file includes document files, compressed file and application file.
Preferably, the processing extension file includes:Read, perform or download the extension file.
The present invention proposes a kind of system of extension DLNA shared file types, including DLNA content providers and DLNA simultaneously Content requests end, wherein:
DLNA content providers, the message information for writing extension file into shared data bank, and it is described receiving After solicited message of the DLNA content requests end on handling the extension file, the report is sent to the DLNA content requests end Literary information;
DLNA content requests end, for sending the request on handling the extension file to the DLNA content providers Information, and after the message information for the extension file that the DLNA content providers are sent is received, believed according to the message The breath processing extension file.
Preferably, the DLNA content providers are additionally operable to:
Increase document files type in file type table;
Scanning extension file, the multi-functional the Internet emails of MIME for reading the extension file expand service type, inquiry The file type table, construction mime type is believed for the message of the extension file of the document files type in the file type table Breath;
The message information is write in shared data bank.
Preferably, the DLNA content requests end is additionally operable to:
The message information of the parsing extension file, obtains the file type of the extension file;
According to the file type of the extension file, corresponding program is called to handle the extension file.
Preferably, the extension file includes document files, compressed file and application file.
Preferably, the processing extension file includes:Read, perform or download the extension file.
The method of a kind of extension DLNA shared file types provided by the present invention, by DLNA content providers to shared The message information of write-in extension file in database so that DLNA content requests end can believe according to the message of the extension file Cease to handle the extension file, realize the extension to DLNA shared file types.So as to the file shared in DLNA network Not only include the file of the types such as music, video, picture, text, PDF, Office document, compressed package, application can also be included The extension file of the types such as program, meets the demand of the polytype file of user's wireless sharing between multiple equipment, extension DLNA usage scenario, improves user satisfaction.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of method one of present invention extension DLNA shared file types;
Fig. 2 is the step of DLNA content providers write the message information of extension file into shared data bank in the present invention Flow chart;
Fig. 3 is the flow chart of the embodiment of system one of present invention extension DLNA shared file types.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig. 1, the embodiment of method one of present invention extension DLNA shared file types is proposed, the extension DLNA shares The method of file type comprises the following steps:
Step S101, DLNA content provider writes the message information of extension file into shared data bank.
DLNA content providers include digital media server(Digital Media Server, DMS), mobile type digital Media server(Mobile Digital Media Server, M-DMS)Etc. equipment, such as support the PC of DLNA schemes, mobile phone, Software and module etc..Shared data bank can be arranged at DLNA content providers, such as be stored in storage medium;Can also Set beyond the clouds, such as Cloud Server;In the storage medium that outside can also be arranged on.Extension file refers to audio, video, picture Deng the alternative document outside media file, such as document files, compressed file, application file.Included in message information Documentary attribute, can determine the type and its form of file by the attribute.
Step S102, DLNA content requests end sends solicited message to the DLNA content providers.
DLNA content requests end includes digital media controller(Digital MediaController, DMC), digital matchmaker Body player(Digital Media Player, DMP), mobile type digital media player(Mobile Digital Media Player, M-DMP)Etc. equipment, TV, PC, mobile phone, set top box, audio amplifier and the module of DLNA schemes are such as supported.This step In S102, DLNA content requests end construction is intended to handle a certain extension file such as document files, compressed file or application file Request, and to DLNA content providers send solicited message, the solicited message include processing it is described extend file and need The information wanted.
Step S103, DLNA content provider is sent to the DLNA content requests end to be expanded described in the shared data bank Open up the message information of file.
DLNA content providers are received after the solicited message at DLNA content requests end, and according to the solicited message, inquiry is shared The message information of respective extension file in database, and the message information is sent to DLNA content requests end.For example, in DLNA Hold the document files that request end request handles certain type PDF, DLNA content providers inquiry shared data bank, acquisition is previously written The message information of the pdf document in the shared data bank, and the message information is sent to DLNA content requests end.The report The attribute of pdf document is contained in literary information, shows the document files type that the pdf document belongs in file type table, text Part form is pdf forms.
Step S104, DLNA content requests end handles the extension file according to the message information of the extension file.
In this step S104, DLNA content requests end is received after the message information of extension file, and the message information is carried out Parsing, so as to just obtain the file type and its file format of the extension file;DLNA content requests end is then expanded according to described The file type of file is opened up, calls corresponding program to handle the extension file.For example, extension file is document text Part, can call corresponding program to read this article files;Extension file is application file, can perform the application program File;DLNA content requests end can also download the extension file to being locally stored.
As shown in Fig. 2 extension file is write into its shared data bank on DLNA content providers in step S101 The idiographic flow of message information, the present embodiment is described in detail exemplified by extending file and being document files:
Step S201, increase document files type in file type table.
In this step S201, DLNA content providers add " document " to file type table under root node, increase simultaneously File format corresponding with document, such as text-only file form txt, business card file form vcf, pdf document form pdf, Office word document form doc, office excel file format xls, office powerpoint file formats ppt Deng.So as to which file type table both includes the file format type of the media files such as video, audio, picture, and document files is included again File format type.
Step S202, scanning extension file, read the mime type of the extension file.
In this step S202, DLNA content providers include extending file to equipment(The present embodiment is document files) Interior All Files is scanned, and reads the multi-functional the Internet email expansion clothes of the All Files including extension file Business(Multipurpose Internet Mail Extensions, MIME)Type.
Step S203, the inquiry file type table, construction mime type are the document files in the file type table The message information of the extension file of type.
In this step S203, DLNA content providers inquire about file type table according to the mime type of the file read, If the mime type of a certain file scanned ignores this document not in file type table;If the file scanned Mime type is such as the document files type in file type table, audio file type, video file class in file type table Type or picture file type(Wherein described document files type is the extension file type in the present embodiment), then this document is constructed Message information.
Step S204, by the message information write shared data bank.
So as in shared data bank in addition to storing the message information of the media files such as audio, video, picture, also deposit The message information of extension file such as document files is stored up.
Accordingly, the method for the extension DLNA shared file types of the present embodiment, by DLNA content providers to shared number According to the message information of write-in extension file in storehouse so that DLNA content requests end can be according to the message information for extending file To handle the extension file, the extension to DLNA shared file types is realized.So as to which the file shared in DLNA network is not Only include the file of the type such as music, video, picture, can also include text, PDF, Office document, compressed package, using journey The extension file of the types such as sequence, meets the demand of the polytype file of user's wireless sharing between multiple equipment, extends DLNA usage scenario, improves user satisfaction.
Referring to Fig. 3, the embodiment of system one of present invention extension DLNA shared file types is proposed, the extension DLNA shares The system 100 of file type includes being used to scan local file and provide the DLNA content providers 110 of Outside Access and be used for Send document processing request and handle the DLNA content requests end 120 of file, DLNA content providers 110 and DLNA content requests End 120 is carried out data transmission by Wi-Fi or Wi-Fi Direct network environments.Wherein, DLNA content providers 110 include number Word media server(Digital Media Server, DMS), mobile type digital media server(Mobile Digital Media Server, M-DMS)Etc. equipment, PC, mobile phone, software and the module of DLNA schemes are such as supported;DLNA content requests End 120 includes digital media controller(Digital MediaController, DMC), digital media player(Digital Media Player, DMP), mobile type digital media player(Mobile Digital Media Player, M-DMP)Etc. setting It is standby, such as support TV, PC, mobile phone, set top box, audio amplifier and the module of DLNA schemes.Specifically:
DLNA content providers 110:For the message information of the write-in extension file into shared data bank, and receiving State after solicited message of the DLNA content requests end 120 on handling the extension file, sent out to the DLNA content requests end 120 Send the message information.Documentary attribute is included in message information, the type and its lattice of file can be determined by the attribute Formula.Extension file refers to the alternative document outside the media files such as audio, video, picture, such as document files, compressed file, application Program file etc..The shared data bank can be arranged at DLNA content providers 110, such as be stored in storage medium; It can also set beyond the clouds, such as Cloud Server;In the storage medium that outside can also be arranged on.
DLNA content requests end 120:For being sent to the DLNA content providers 110 on handling the extension file Solicited message, and after the message information for the extension file that the DLNA content providers 110 are sent is received, according to institute State message information and handle the extension file.
Now write by extending file exemplified by document files, to describe DLNA content providers 110 in detail into shared data bank Enter to extend the process of the message information of file:
DLNA content providers 110 add " document " to file type table under root node, while increasing corresponding with document File format, such as text-only file form txt, business card file form vcf, pdf document form pdf, office word document Form doc, office excel file format xls, office powerpoint file formats ppt etc..So as to file type In table in addition to the file format type including media files such as video, audio, pictures, include the file format of document files Type.
DLNA content providers 110 include extending file to equipment(The present embodiment is document files)All texts inside Part is scanned, and reads the multi-functional the Internet email expansion service of the All Files including extension file (Multipurpose Internet Mail Extensions, MIME)Type.
DLNA content providers 110 inquire about file type table according to the mime type of the file read, if scanned The mime type of a certain file in file type table, does not then ignore this document;If the mime type of the file scanned is in text Such as it is document files type, audio file type, video file type or the picture file in file type table in part type list Type(Wherein described document files type is the extension file type in the present embodiment), then the message information of this document is constructed.
The message information is write shared data bank by DLNA content providers 110.So as to except depositing in shared data bank Outside the message information for having stored up the media files such as audio, video, picture, it also stored for extending the message letter of file such as document files Breath.
DLNA content providers 110 write the message information for extending file after shared data bank, expand by the way that DLNA is shared The detailed process for opening up file is as follows:
DLNA content requests end 110, which is first constructed, to be intended to handle a certain extension file such as document files, compressed file or applies journey The solicited message of preface part, then send the solicited message to DLNA content providers 110.
DLNA content providers 110 are received after the solicited message at DLNA content requests end 120, phase in inquiry shared data bank The message information of file should be extended, and the message information is sent to DLNA content requests end 120.For example, DLNA content requests The request of end 120 handles the document files of certain type PDF, and the inquiry shared data bank of DLNA content providers 110, acquisition is previously written The message information of the pdf document in the shared data bank, and the message information is sent to DLNA content requests end 120. The attribute of pdf document is contained in the message information, shows the document files class that the pdf document belongs in file type table Type, file format is pdf forms.
DLNA content requests end 120 is received after the message information of extension file, the message information is parsed, so that just Obtain the file type and its file format of the extension file;DLNA content requests end 120 is then according to the extension file File type, calls corresponding program to handle the extension file.For example, extension file is document files, it can adjust This article files are read with corresponding program;Extension file is application file, can perform the application file;DLNA Content requests end 120 can also download the extension file to being locally stored.
Accordingly, the system 100 of the extension DLNA shared file types of the present embodiment, by DLNA content providers 110 to The message information of write-in extension file in shared data bank so that DLNA content requests end 120 can be according to the extension file Message information handle the extension file, realize the extension to DLNA shared file types.So as in DLNA network altogether The file enjoyed not only includes the file of the types such as music, video, picture, can also include text, PDF, Office document, compression The extension file of the types such as bag, application program, meets the need of the polytype file of user's wireless sharing between multiple equipment Ask, extend DLNA usage scenario, improve user satisfaction.
It should be appreciated that these are only the preferred embodiments of the present invention, it is impossible to therefore the scope of the claims of the limitation present invention, Equivalent structure or equivalent flow conversion that every utilization description of the invention and accompanying drawing content are made, or be directly or indirectly used in Other related technical fields, are included within the scope of the present invention.

Claims (10)

1. a kind of method of extension DLNA shared file types, it is characterised in that including step:
DLNA content providers write the message information of extension file into shared data bank;
DLNA content requests end sends solicited message, institute when being intended to handle the extension file to the DLNA content providers Stating solicited message includes handling the information for extending file and needing;
According to the solicited message, the DLNA content providers inquire about the message of respective extension file in the shared data bank Information, and the message information of the extension file is sent to the DLNA content requests end;
The DLNA content requests end handles the extension file according to the message information of the extension file.
2. the method for extension DLNA shared file types according to claim 1, it is characterised in that the DLNA contents are carried Writing the message information of extension file into shared data bank for end includes:
DLNA content providers increase document files type in file type table;
DLNA content providers scanning extension file, the multi-functional the Internet emails of MIME for reading the extension file expand service Type, inquires about the file type table, and construction mime type is literary for the extension of the document files type in the file type table The message information of part;
DLNA content providers write the message information in shared data bank.
3. the method for extension DLNA shared file types according to claim 1 or 2, it is characterised in that in the DLNA Hold request end includes according to the message information processing extension file of the extension file:
The message information of the DLNA content requests end parsing extension file, obtains the file type of the extension file;
Corresponding program is called to handle the extension file according to the file type of the extension file in DLNA content requests end.
4. the method for extension DLNA shared file types according to claim 1 or 2, it is characterised in that the extension text Part includes document files, compressed file and application file.
5. the method for extension DLNA shared file types according to claim 1 or 2, it is characterised in that the processing institute Stating extension file includes:Read, perform or download the extension file.
6. a kind of system of extension DLNA shared file types, including DLNA content providers and DLNA content requests end, it is special Levy and be, wherein:
DLNA content providers, for the message information of the write-in extension file into shared data bank, and are receiving the DLNA After solicited message of the content requests end on handling the extension file, respective extension file in the shared data bank is inquired about Message information, and send the message information to the DLNA content requests end;
DLNA content requests end, for when being intended to handle the extension file, being sent to the DLNA content providers on place The solicited message of the reason extension file, and receiving the message letter for the extension file that the DLNA content providers are sent After breath, the extension file is handled according to the message information.
7. the system of extension DLNA shared file types according to claim 6, it is characterised in that the DLNA contents are carried It is additionally operable to for end:
Increase document files type in file type table;
Scanning extension file, the multi-functional the Internet emails of MIME for reading the extension file expand service type, and inquiry is described File type table, constructs message information of the mime type for the extension file of the document files type in the file type table;
The message information is write in shared data bank.
8. the system of the extension DLNA shared file types according to claim 6 or 7, it is characterised in that in the DLNA Hold request end to be additionally operable to:
The message information of the parsing extension file, obtains the file type of the extension file;
According to the file type of the extension file, corresponding program is called to handle the extension file.
9. the system of the extension DLNA shared file types according to claim 6 or 7, it is characterised in that the extension text Part includes document files, compressed file and application file.
10. the system of the extension DLNA shared file types according to claim 6 or 7, it is characterised in that the processing institute Stating extension file includes:Read, perform or download the extension file.
CN201310106873.6A 2013-03-29 2013-03-29 Extend the method and system of DLNA shared file types Expired - Fee Related CN103235790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310106873.6A CN103235790B (en) 2013-03-29 2013-03-29 Extend the method and system of DLNA shared file types

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310106873.6A CN103235790B (en) 2013-03-29 2013-03-29 Extend the method and system of DLNA shared file types

Publications (2)

Publication Number Publication Date
CN103235790A CN103235790A (en) 2013-08-07
CN103235790B true CN103235790B (en) 2017-08-25

Family

ID=48883832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310106873.6A Expired - Fee Related CN103235790B (en) 2013-03-29 2013-03-29 Extend the method and system of DLNA shared file types

Country Status (1)

Country Link
CN (1) CN103235790B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615212B1 (en) * 1999-08-19 2003-09-02 International Business Machines Corporation Dynamically provided content processor for transcoded data types at intermediate stages of transcoding process
CN101087442A (en) * 2006-11-24 2007-12-12 华为技术有限公司 Method and system for terminal and content share
CN101552945A (en) * 2009-05-08 2009-10-07 中兴通讯股份有限公司 A method and system for implementing media content sharing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615212B1 (en) * 1999-08-19 2003-09-02 International Business Machines Corporation Dynamically provided content processor for transcoded data types at intermediate stages of transcoding process
CN101087442A (en) * 2006-11-24 2007-12-12 华为技术有限公司 Method and system for terminal and content share
CN101552945A (en) * 2009-05-08 2009-10-07 中兴通讯股份有限公司 A method and system for implementing media content sharing

Also Published As

Publication number Publication date
CN103235790A (en) 2013-08-07

Similar Documents

Publication Publication Date Title
CN101080056B (en) A management method and system of network browser collection folder of mobile terminal
US10042858B2 (en) Synchronizing multiple classes with disparate schemas in the same collection
US20150133049A1 (en) Method and apparatus for downloading content using nfc
US20060168126A1 (en) Aggregated content listing for ad-hoc peer to peer networks
CN101115225B (en) System and method for implementing RSS subscription using multimedia message of mobile terminal
US8583732B2 (en) Method and apparatus for providing multimedia messaging service
US20090063676A1 (en) Method and apparatus for providing status information by utilizing presence service and method and apparatus for generating content status information by utilizing presence service
CN104038528B (en) Relay, system and method
CN1980242B (en) Method for providing a user interface configured using three frames in a DLNA system
CN102172060A (en) Method and apparatus for address book contact management
CN101431537B (en) Method and apparatus for address information intercommunication between different network
US20140012813A1 (en) Method and apparatus for synchronizing personal information
CN103119911A (en) System and method for synchronizing the profile of a user in social networks and the user's personal contact card (PCC)
CN102307214A (en) Method for realizing list synchronization
CN103780933A (en) Remote control method and control apparatus for multimedia terminal
CN101304429A (en) System and method for sharing personal computer document through mobile terminal
CN102014080B (en) A kind of method and home gateway that utilizes home gateway to carry out instant messaging
CN101610277B (en) Method for processing information transmission
CN105262793B (en) The method and system of audio file in intelligent sound box broadcasting memory
CN105578276A (en) Real-time conversion method of supporting MP4 file progressive download
CN103235790B (en) Extend the method and system of DLNA shared file types
CN105610701B (en) A kind of method, apparatus and system of instant messaging
EP2464154B1 (en) Apparatus and method of open mobile alliance
WO2011116558A1 (en) Method and terminal for processing short message
CN103020192B (en) A kind of method and system browsing file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: NUBIA TECHNOLOGY Co.,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 TELECOM Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170825