CN103106369A - File sharing method and device based on media server - Google Patents

File sharing method and device based on media server Download PDF

Info

Publication number
CN103106369A
CN103106369A CN2013100238956A CN201310023895A CN103106369A CN 103106369 A CN103106369 A CN 103106369A CN 2013100238956 A CN2013100238956 A CN 2013100238956A CN 201310023895 A CN201310023895 A CN 201310023895A CN 103106369 A CN103106369 A CN 103106369A
Authority
CN
China
Prior art keywords
file
media
filtercondition
fileinfo
list
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
Application number
CN2013100238956A
Other languages
Chinese (zh)
Other versions
CN103106369B (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.)
Xian TCL Software Development Co Ltd
Original Assignee
Xian TCL Software Development 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 Xian TCL Software Development Co Ltd filed Critical Xian TCL Software Development Co Ltd
Priority to CN201310023895.6A priority Critical patent/CN103106369B/en
Publication of CN103106369A publication Critical patent/CN103106369A/en
Application granted granted Critical
Publication of CN103106369B publication Critical patent/CN103106369B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a file sharing method and device based on a media server. The method comprises the following steps: scanning each file in a shared catalogue one by one, detecting whether the name of the scanned current file is in a pre-set filter file list or not, judging whether file information of the current file meets a pre-set filter condition if the scanned current file is not in the pre-set filter file list, adding the name of the current file into the pre-set filter file list when the information of the current file meets the pre-set filter condition, adding the name of the current file to a pre-set media sharing list when the information of the current file does not meet the pre-set filter condition, and sharing the file corresponding to the name in the media sharing list. By means of the file sharing method and device based on the media server, a plurality of media files of high privacy or cache files which are likely to bring about interference are filtered as needed, the files need not to be shared in the shared catalogue are filtered, safety and validity of files in the shared catalogue are improved.

Description

File sharing method and device based on media server
Technical field
The present invention relates to the digital living network technical field, relate in particular to a kind of file sharing method based on media server and device.
Background technology
DLNA(Digital Living Network Alliance, DLNA) be an alliance organization that is formed by consumer electronics manufacturer, mobile device manufacturer and manufacturer computer, be intended to solve between consumer electronics, mobile device and PC by the interconnecting of wireless network or cable network unconfined share and growth becomes possibility that makes Digital Media and content service.
M-DMS(Mobile Digital Media Server based on the DLNA standard, the mobile type digital media server) when sharing the media file of self, the share directory that the scan full hard disk participator is arranged, and media file all in share directory (comprising audio file, video file and picture file) is all offered another shared equipment of acceptance in the mode of sharing show.But, may exist some not need the file of sharing in the share directory that the participator arranges, the stronger media file of some privacy for example perhaps may cause the cache file of interference, as the front cover of audio or video buffer memory or album picture etc.Therefore, if adopt above-mentioned sharing mode commonly used, may expose participator's privacy or produce and disturb file.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of file sharing method based on media server and device, and the file that is intended to not need in share directory to share filters.
The embodiment of the invention discloses a kind of file sharing method based on media server, comprise the following steps:
Scan one by one each file in share directory, detect the title of the current file scan whether in default kill file list;
Whether the fileinfo that if not, judges described current file satisfies and presets filtercondition;
Satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added in described kill file list; Do not satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added into default media shares in list;
Share all media files corresponding to title in the shared list of described media.
Preferably, whether the described fileinfo that judges current file satisfies and also comprises step before the step that presets filtercondition:
Whether read and resolve described current file, identifying described current file is media file;
If described current file is not media file, the title with described current file is added in described kill file list;
If described current file is media file, carry out described step: whether the fileinfo that judges described current file satisfies and presets filtercondition.
Preferably, whether the described fileinfo that judges described current file satisfies and presets filtercondition and comprise:
The medium type that described fileinfo is included and media formats and the described filtercondition that presets mate;
If any one in described medium type or media formats and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied the described filtercondition that presets;
If described medium type and media formats and the described filtercondition that presets all can not the match is successful, the file attribute information that described fileinfo is included and the described filtercondition that presets mate;
If any one information in described file attribute information and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied and preset filtercondition; If described file attribute information and the described filtercondition that presets all can not the match is successful, identify described fileinfo and do not satisfy and preset filtercondition.
Preferably, described file attribute information comprises the size of media file and the creation-time of media file.
The embodiment of the invention also discloses a kind of file sharing device based on media server, comprising:
File scan module is used for scanning one by one each file of share directory, detects the title of the current file that scans whether in default kill file list;
The file filter module, for detection of the title of the current file that scans not in default kill file list the time, whether the fileinfo that judge described current file the satisfied filtercondition that presets; Satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added in described kill file list; Do not satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added into default media shares list;
File sharing module is used for sharing all media files corresponding to title that described media are shared list.
Preferably, described file filter module also is used for:
Whether read and resolve described current file, identifying described current file is media file;
If described current file is not media file, the title with described current file is added in described kill file list;
If described current file is media file, whether the fileinfo that judges described current file satisfies and presets filtercondition.
Preferably, described file filter module also is used for:
The medium type that described fileinfo is included and media formats and the described filtercondition that presets mate;
If any one in described medium type or media formats and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied the described filtercondition that presets;
If described medium type and media formats and the described filtercondition that presets all can not the match is successful, the file attribute information that described fileinfo is included and the described filtercondition that presets mate;
If any one information in described file attribute information and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied and preset filtercondition; If described file attribute information and the described filtercondition that presets all can not the match is successful, identify described fileinfo and do not satisfy and preset filtercondition.
Preferably, described file attribute information comprises the size of media file and the creation-time of media file.
The present invention is by default kill file list and preset filtercondition, the title that satisfies the file that presets filtercondition under share directory is added in the kill file list, the title that does not satisfy the file that presets filtercondition is added into media shares in list, final all media files corresponding to title of only media being shared in list are shared.Therefore, the present invention can filter the stronger media file of some privacy as required maybe may cause the cache file of interference, realization has improved security and the validity of share directory file with the beneficial effect that the file that does not need under share directory to share filters.
Description of drawings
Fig. 1 is the file sharing method one embodiment schematic flow sheet that the present invention is based on media server;
Fig. 2 is the another embodiment schematic flow sheet of file sharing method that the present invention is based on media server;
Fig. 3 is that the file sharing method that the present invention is based on media server is applied in the system architecture schematic diagram in Android system;
Fig. 4 is the file sharing device one embodiment high-level schematic functional block diagram that the present invention is based on media server.
The realization of the object of the invention, functional characteristics and advantage are described further with reference to accompanying drawing in connection with embodiment.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the file sharing method one embodiment schematic flow sheet that the present invention is based on media server; As shown in Figure 1, the file sharing method that the present invention is based on media server comprises the following steps:
Step S01, scan each file in share directory one by one, whether the title that detects the current file that scans exists in default kill file list; If, continue execution in step S01, namely directly scan next file; If not, execution in step S02;
Media server scans each file in share directory one by one, reads default kill file list; The file name of storing in the title of the current file that scans and kill file list is compared, whether the title of identification current file exists in the kill file list, namely is identified in whether there be the file name identical with the title of the file of current scanning in the kill file list; If it is identical with the title of current file that the file name in the kill file list has, illustrate that current file belongs to file corresponding to respective name in the kill file list, then the file of media server identification current file for needing to filter directly scan the next file in share directory.
Whether step S02, the fileinfo that judges described current file satisfy and preset filtercondition; If, execution in step S03; If not, execution in step S04;
Step S03, the title of described current file is added in described kill file list;
Step S04, the title of described current file is added into default media shares in list;
If the title of current file is not in the kill file list, media server does not obtain the fileinfo of current file, and whether the fileinfo that judge current file the satisfied filtercondition that presets.
It will be appreciated by those skilled in the art that, the described filtercondition that presets can be client setting self-defined according to the needs of self, such as: will be set as filtercondition as interior photo in preset time period, whether the file of the current scanning of media server identification is the photo of clapping in the most in a couple of days, if direct file with current scanning is added into the kill file list; Also picture/mb-type or video time can be set as filtercondition, be filtercondition such as setting this picture/mb-type of personage's photo, and the video type of perhaps setting the video time more than 30 minutes is filtercondition etc.; The present embodiment is not done restriction to the particular content and the setting means that preset filtercondition.
After the title that media server will satisfy the current file that presets filtercondition is added in the kill file list, return to execution in step S01, continue to scan one by one each file in share directory, and whether the current file title that detection scans exists in default kill file list; In addition, the media server title that will not satisfy the current file that presets filtercondition is added into the default media that are used for sharing and shares list.
Step S05, shared described media are shared all media files corresponding to title in list.
After completing the coupling of above-mentioned filtercondition, media server is only shared media media file corresponding to title in list and is shared out (mode of sharing can for: show at another equipment of accepting to share in the mode of sharing according to media server commonly used to get final product), and the All Files in the kill file list will can not appear in the media of sharing, and effectively realize the filtering function of media file.
The present embodiment is by default kill file list and preset filtercondition, the title that satisfies the file that presets filtercondition under share directory is added in the kill file list, the title that does not satisfy the file that presets filtercondition is added into media shares in list, final all media files corresponding to title of only media being shared in list are shared.Therefore, the present invention can filter the stronger media file of some privacy as required maybe may cause the cache file of interference, realizes the beneficial effect that the file that does not need under share directory to share is filtered.
Based on the described specific embodiment of Fig. 1, please refer to Fig. 2, Fig. 2 is the another embodiment schematic flow sheet of file sharing method that the present invention is based on media server; The difference of Fig. 2 embodiment and Fig. 1 embodiment is only to have increased step S06; The present embodiment only specifically describes step S06, and other the related steps of file sharing method that the present invention is based on media server please refer to the specific descriptions of the described embodiment of Fig. 1, do not repeat them here.
As shown in Figure 2, also comprised step before whether step S02, the fileinfo that judges current file satisfy the step that presets filtercondition:
Step S06, read and resolve current file, whether the identification current file is media file.
If current file is media file, whether execution in step S02, the fileinfo that judges current file satisfy and preset filtercondition;
If current file is not media file, execution in step S03, the title of described current file is added in described kill file list;
Media server reads and resolves current file, whether the identification current file is media file, if the current file of media server scanning is not media file, direct title with described current file is added into the kill file list, if current file is media file, continue to carry out follow-up treatment scheme.Because media server is only shared media file, therefore, when the file of the current scanning of media server identification is not media file, when being word document, excel form, directly this document title is added into the kill file list; Like this, when media server carries out file-sharing next time, whether can again detect this document is media file, just can directly this document be filtered out according to the kill file list, improve the sweep velocity of media server scanning shared file, thereby improved the shared speed of media server shared file.
In a preferred embodiment, whether media server identification current file is that media file comprises: media server obtains the related data of the file of current scanning, judges current file whether audio frequency, video or picture file.The part that begins most due to the decoded source file of media file is the media file information that file header all has set form, so media server can obtain according to parsing media file header form and the type of media file; If current file is not media file, the related resolution module of media server will be returned to an improper value; According to above-mentioned principle, whether the file that media server can accurately identify current scanning media file.
In a preferred embodiment, media server can also be identified according to the extension name of file the type of file.
If the file of the current scanning of media server identification is media file, obtain the fileinfo of current file, whether the corresponding fileinfo of media file that continues judge current scanning the satisfied filtercondition that presets; In a preferred embodiment, media server can obtain corresponding fileinfo by the file header information of decode media files, described fileinfo comprises: medium type, media formats and file attribute information, described file attribute information comprise the file attribute informations such as media file size and media file creation-time.Preset filtercondition if the fileinfo that media server judgement current file is corresponding satisfies, directly the title of the media file of current scanning is added into the kill file list; Do not preset filtercondition if do not satisfy, media server is added into media with the title of the media file of current scanning and shares list, is used for sharing.
In a preferred embodiment, whether the fileinfo of the media file of the current scanning that media server identification is obtained satisfies is preset filtercondition and comprises:
First with medium type and media formats and preset filtercondition and mate; The match is successful if any one in medium type or media formats is with presetting filtercondition, stops matching operation, the satisfied filtercondition that presets of the fileinfo of the media file of the current scanning of identification; If medium type and media formats and preset filtercondition all can not the match is successful, the file attribute information that media file information is included with preset filtercondition and mate.If any one information in file attribute information such as media file size, media file creation-time and preset filtercondition the match is successful are identified media file information and are satisfied and preset filtercondition; If file attribute information and the described filtercondition that presets all can not the match is successful, identify media file information and do not satisfy and preset filtercondition.
Whether the present embodiment is the mode of media file by the file that identification scans, and has realized getting rid of the beneficial effect of the interference file in share directory, has improved the validity of share directory file.
The below shares file in Android system Android share directory as example take media server, again describes the implementation procedure of the file sharing method that the present invention is based on media server; In the present embodiment, media server adopts Android system.
Based on Fig. 1 and the described specific embodiment of Fig. 2, please refer to 3, Fig. 3 and be the file sharing method that the present invention is based on media server and be applied in system architecture schematic diagram in Android system; Media server shown in Figure 3 has adopted the Android framework of standard, the Java layer that is arranged on that filters provides corresponding interface module, be delivered to the C layer by arranging through the JNI layer of Java layer, then drive the C layer and call media filtration correlation function module, realize the filtration to media file.In system architecture shown in Figure 3; increased the media filtering module in media server; utilize the API(Application Program Interface of increase income module LibDlna, Libupnp, ffmpeg, uShare and system shown in Figure 3; Application Program Interface) obtain the essential information of media file; the different information such as the size of media file, type, title, date created, key word are filtered, and protection is to participator's privacy effectively.Based on system architecture shown in Figure 3, media server calls the ffmpeg decoder module can judge whether the file of current scanning is media file.When the file of current scanning was media file, media server filtered the coupling of media file and is divided into media formats and type filtration and media file filtration; Namely parse type, the form of media file by calling the ffmpeg decoder module, and preset filtercondition and mate; When the match is successful, call API, obtain the information such as size, creation-time of the media file of current scanning, and preset filtercondition and mate, the match is successful if any one is arranged, and the media file with current scanning is added into the kill file list; If the media file information of the media file of current scanning all can not the match is successful with presetting filtercondition, illustrate that the file of current scanning does not need to filter, it is added into media shares list.Give the uShare module with completing the media list address of sharing, the uShare module is called the Libupnp module, by the Libupnp module with media share in list sharing files out; File in the kill file list will can not appear in the media file of sharing, has the beneficial effect that the file that will not need to share filters, whether the file that scans by identification is the mode of media file, interference file in share directory such as the beneficial effect of cache file have been realized getting rid of, the security that improved system performance and share directory file.
With reference to Fig. 4, Fig. 4 is the file sharing device one example structure schematic diagram that the present invention is based on media server; As shown in Figure 4, the file sharing device that the present invention is based on media server comprises: file scan module 01, file filter module 02 and file sharing module 03.
File scan module 01 is used for scanning one by one each file of share directory, detects the title of the current file that scans whether in default kill file list.
File scan module 01 scans each file in share directory one by one, reads default kill file list; The file name of storing in the title of the file of current scanning and kill file list is compared, whether the title of identification current file exists in the kill file list, namely is identified in whether there be the file name identical with the title of the file of current scanning in the kill file list.If the file name in file scan module 01 identification kill file list has identical with the title of current file, illustrate that current file belongs to file corresponding to title in the kill file list, the file of file filter module 02 identification current file for needing to filter, file scan module 01 directly scans the next file in share directory.
File filter module 02, for detection of the title of the current file that scans not in default kill file list the time, whether the fileinfo that judge described current file the satisfied filtercondition that presets; Satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added in described kill file list; Do not satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added into default media shares list.
If file scan module 01 identification current file title is not in the kill file list, file filter module 02 is obtained the fileinfo of current file, and whether the fileinfo that judge current file the satisfied filtercondition that presets.
It will be appreciated by those skilled in the art that, the described filtercondition that presets can be client setting self-defined according to the needs of self, such as: will be set as filtercondition as interior photo in preset time period, whether the file of the current scanning of file filter module 02 identification is the photo of clapping in the most in a couple of days, if direct file with current scanning is added into the kill file list; Also picture/mb-type or video time can be set as filtercondition, be filtercondition such as setting this picture/mb-type of personage's photo, and the video type of perhaps setting the video time more than 30 minutes is filtercondition etc.; The present embodiment is not done restriction to the particular content and the setting means that preset filtercondition.
After the title that file filter module 02 will satisfy the current file that presets filtercondition is added in the kill file list, file scan module 01 continues to scan one by one each file in share directory, and whether the current file title that detection scans exists in default kill file list; In addition, file filter module 02 title that will not satisfy the current file that presets filtercondition is added into the default media that are used for sharing and shares list.
File sharing module 03 is used for sharing all media files corresponding to title that described media are shared list.
After completing the coupling of above-mentioned filtercondition, file sharing module 03 is only shared media media file corresponding to title in list and is shared out (mode of sharing can for: show at another equipment of accepting to share in the mode of sharing according to media server commonly used to get final product), and the All Files in the kill file list will can not appear in the media of sharing, and effectively realize the filtering function of media file.
In a preferred embodiment, described file filter module 02 also is used for, and reads and resolve current file, and whether the identification current file is media file.
File filter module 02 reads and resolves current file, whether the identification current file is media file, if the current file of file scan module 01 scanning is not media file, 02 direct title with described current file of file filter module is added into the kill file list, if the current file of file scan module 01 scanning is media file, 02 of file filter module continues to carry out follow-up treatment scheme.Because media server is only shared media file, therefore, when the file of the current scanning of file filter module 02 identification is not media file, when being word document, excel form, directly this document title is added into the kill file list; Like this, when media server carries out file-sharing next time, whether file filter module 02 can detect this document again is media file, just can directly this document be filtered out according to the kill file list, improve the sweep velocity of media server scanning shared file, thereby improved the shared speed of media server shared file.
In a preferred embodiment, whether file filter module 02 identification current file is that media file comprises: file filter module 02 is obtained the related data of the file of current scanning, judges current file whether audio frequency, video or picture file.The part that begins most due to the decoded source file of media file is the media file information that file header all has set form, so file filter module 02 can be obtained according to parsing media file header form and the type of media file; If current file is not media file, file filter module 02 will get the improper value that returns; According to above-mentioned principle, whether the file that file filter module 02 can accurately identify current scanning media file.
In a preferred embodiment, file filter module 02 can also be identified according to the extension name of file the type of file.
If the file of the current scanning of file filter module 02 identification is media file, obtain the fileinfo of current file, whether the corresponding fileinfo of media file that continues judge current scanning the satisfied filtercondition that presets; In a preferred embodiment, file filter module 02 can be obtained corresponding fileinfo by the file header information of decode media files, described fileinfo comprises: medium type, media formats and file attribute information, described file attribute information comprise the file attribute informations such as media file size and media file creation-time.Preset filtercondition if the media file information that file filter module 02 judgement current file is corresponding satisfies, directly the title of the media file of current scanning is added into the kill file list; Do not preset filtercondition if do not satisfy, 02 title with the media file of current scanning of file filter module is added into media and shares list, is used for sharing.
In a preferred embodiment, whether the media file information of the media file of the current scanning that file filter module 02 identification is obtained satisfies is preset filtercondition and comprises:
First with medium type and media formats and preset filtercondition and mate; The match is successful if any one in medium type or media formats is with presetting filtercondition, stops matching operation, the satisfied filtercondition that presets of the fileinfo of the media file of the current scanning of identification; If medium type and media formats and preset filtercondition all can not the match is successful, the file attribute information that media file information is included with preset filtercondition and mate.If any one information in file attribute information such as media file size, media file creation-time and preset filtercondition the match is successful are identified media file information and are satisfied and preset filtercondition; If file attribute information and the described filtercondition that presets all can not the match is successful, identify media file information and do not satisfy and preset filtercondition.
The relevant specific implementation process of file sharing device when media server adopts Android system that the present invention is based on media server please refer to the specific descriptions of the described embodiment of Fig. 3, do not repeat them here.
The present embodiment is by sweeping each file that scans one by one in share directory, detects the title of the current file that scans whether in default kill file list; Whether the fileinfo that if not, judges described current file satisfies and presets filtercondition; Satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added in described kill file list; Do not satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added into default media shares list; Share described media and share all media files corresponding to title in list, beneficial effect that not need to have realized the file shared to filter; Whether the file that scans by identification is the mode of media file, has realized getting rid of the beneficial effect of the interference file in share directory, has improved the validity of share directory file.
The above is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (8)

1. the file sharing method based on media server, is characterized in that, comprises the following steps:
Scan one by one each file in share directory, detect the title of the current file scan whether in default kill file list;
Whether the fileinfo that if not, judges described current file satisfies and presets filtercondition;
Satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added in described kill file list; Do not satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added into default media shares in list;
Share all media files corresponding to title in the shared list of described media.
2. the method for claim 1, is characterized in that, whether the described fileinfo that judges current file satisfies also comprises step before the step that presets filtercondition:
Whether read and resolve described current file, identifying described current file is media file;
If described current file is not media file, the title with described current file is added in described kill file list;
If described current file is media file, carry out described step: whether the fileinfo that judges described current file satisfies and presets filtercondition.
3. method as claimed in claim 1 or 2, is characterized in that, whether the described fileinfo that judges described current file satisfies is preset filtercondition and comprise:
The medium type that described fileinfo is included and media formats and the described filtercondition that presets mate;
If any one in described medium type or media formats and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied the described filtercondition that presets;
If described medium type and media formats and the described filtercondition that presets all can not the match is successful, the file attribute information that described fileinfo is included and the described filtercondition that presets mate;
If any one information in described file attribute information and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied and preset filtercondition; If described file attribute information and the described filtercondition that presets all can not the match is successful, identify described fileinfo and do not satisfy and preset filtercondition.
4. method as claimed in claim 3, is characterized in that, described file attribute information comprises the size of media file and the creation-time of media file.
5. the file sharing device based on media server, is characterized in that, comprising:
File scan module is used for scanning one by one each file of share directory, detects the title of the current file that scans whether in default kill file list;
The file filter module, for detection of the title of the current file that scans not in default kill file list the time, whether the fileinfo that judge described current file the satisfied filtercondition that presets; Satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added in described kill file list; Do not satisfy describedly when presetting filtercondition at the fileinfo of described current file, the title of described current file is added into default media shares in list;
File sharing module is used for sharing all media files corresponding to title that described media are shared list.
6. device as claimed in claim 5, is characterized in that, described file filter module also is used for:
Whether read and resolve described current file, identifying described current file is media file;
If described current file is not media file, the title with described current file is added in described kill file list;
If described current file is media file, whether the fileinfo that judges described current file satisfies and presets filtercondition.
7. device as described in claim 5 or 6, is characterized in that, described file filter module also is used for:
The medium type that described fileinfo is included and media formats and the described filtercondition that presets mate;
If any one in described medium type or media formats and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied the described filtercondition that presets;
If described medium type and media formats and the described filtercondition that presets all can not the match is successful, the file attribute information that described fileinfo is included and the described filtercondition that presets mate;
If any one information in described file attribute information and describedly preset filtercondition the match is successful is identified described fileinfo and is satisfied and preset filtercondition; If described file attribute information and the described filtercondition that presets all can not the match is successful, identify described fileinfo and do not satisfy and preset filtercondition.
8. device as claimed in claim 7, is characterized in that, described file attribute information comprises the size of media file and the creation-time of media file.
CN201310023895.6A 2013-01-22 2013-01-22 File sharing method and device based on media server Expired - Fee Related CN103106369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310023895.6A CN103106369B (en) 2013-01-22 2013-01-22 File sharing method and device based on media server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310023895.6A CN103106369B (en) 2013-01-22 2013-01-22 File sharing method and device based on media server

Publications (2)

Publication Number Publication Date
CN103106369A true CN103106369A (en) 2013-05-15
CN103106369B CN103106369B (en) 2017-08-11

Family

ID=48314220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310023895.6A Expired - Fee Related CN103106369B (en) 2013-01-22 2013-01-22 File sharing method and device based on media server

Country Status (1)

Country Link
CN (1) CN103106369B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428277A (en) * 2013-07-31 2013-12-04 深圳市华讯方舟科技有限公司 Method for accessing removable storage devices in physical connection with wireless routers through intelligent devices in wireless connection with wireless routers
CN103744912A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Video file scanning method and electronic device
CN104052823A (en) * 2014-06-30 2014-09-17 深圳市中兴移动通信有限公司 File sharing method and device based on DLNA
CN104462294A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Method, device and terminal for picture searching
CN104991940A (en) * 2015-07-07 2015-10-21 广东欧珀移动通信有限公司 Method and apparatus for filtering files in file system of terminal
CN105227355A (en) * 2015-09-08 2016-01-06 广东欧珀移动通信有限公司 A kind of multimedia play list management method, Apparatus and system
CN105373733A (en) * 2014-08-20 2016-03-02 中国石油天然气股份有限公司 Method and device for preventing geological research data from leaking
WO2016119360A1 (en) * 2015-01-28 2016-08-04 中兴通讯股份有限公司 Data sharing method, data sharing device and terminal
CN109491971A (en) * 2018-10-22 2019-03-19 郑州云海信息技术有限公司 A kind of file filter method, apparatus, equipment and computer readable storage medium
CN113641834A (en) * 2021-06-30 2021-11-12 荣耀终端有限公司 File processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184259A (en) * 2007-11-01 2008-05-21 浙江大学 Keyword automatically learning and updating method in rubbish short message
CN102214121A (en) * 2010-04-01 2011-10-12 刘闻 Resource sharing management system based on network basic input/output system (NETBIOS)
CN102231745A (en) * 2011-07-08 2011-11-02 盛大计算机(上海)有限公司 Safety system and method for network application
CN102819614A (en) * 2012-08-29 2012-12-12 深圳市茁壮网络股份有限公司 Method, device and system for classified displaying of shared catalogues in local area network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184259A (en) * 2007-11-01 2008-05-21 浙江大学 Keyword automatically learning and updating method in rubbish short message
CN102214121A (en) * 2010-04-01 2011-10-12 刘闻 Resource sharing management system based on network basic input/output system (NETBIOS)
CN102231745A (en) * 2011-07-08 2011-11-02 盛大计算机(上海)有限公司 Safety system and method for network application
CN102819614A (en) * 2012-08-29 2012-12-12 深圳市茁壮网络股份有限公司 Method, device and system for classified displaying of shared catalogues in local area network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
肖明忠 等: "P2P文件共享系统的内容过滤方案", 《计算机工程》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428277A (en) * 2013-07-31 2013-12-04 深圳市华讯方舟科技有限公司 Method for accessing removable storage devices in physical connection with wireless routers through intelligent devices in wireless connection with wireless routers
CN103428277B (en) * 2013-07-31 2016-09-14 华讯方舟科技有限公司 By the method accessing the movable storage device being physically connected to wireless router with the smart machine of wireless router wireless connections
CN103744912A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Video file scanning method and electronic device
CN104052823A (en) * 2014-06-30 2014-09-17 深圳市中兴移动通信有限公司 File sharing method and device based on DLNA
CN105373733A (en) * 2014-08-20 2016-03-02 中国石油天然气股份有限公司 Method and device for preventing geological research data from leaking
CN104462294A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Method, device and terminal for picture searching
CN104462294B (en) * 2014-11-28 2018-03-27 广东欧珀移动通信有限公司 A kind of image searching method, device and terminal
WO2016119360A1 (en) * 2015-01-28 2016-08-04 中兴通讯股份有限公司 Data sharing method, data sharing device and terminal
CN104991940A (en) * 2015-07-07 2015-10-21 广东欧珀移动通信有限公司 Method and apparatus for filtering files in file system of terminal
CN105227355A (en) * 2015-09-08 2016-01-06 广东欧珀移动通信有限公司 A kind of multimedia play list management method, Apparatus and system
CN109491971A (en) * 2018-10-22 2019-03-19 郑州云海信息技术有限公司 A kind of file filter method, apparatus, equipment and computer readable storage medium
CN113641834A (en) * 2021-06-30 2021-11-12 荣耀终端有限公司 File processing method and electronic equipment

Also Published As

Publication number Publication date
CN103106369B (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN103106369A (en) File sharing method and device based on media server
JP6886513B2 (en) Systems and methods for identifying matching content
CN109690538B (en) System and method for identifying matching content
CN104954581A (en) Mobile terminal data sharing method, device and system
WO2014194827A1 (en) Method and device for mobile terminal to process visualization graphics code
US20090260044A1 (en) Integration system of digital content and services
CN113810262B (en) Message reminding method and device, electronic equipment and readable storage medium
CN111865881A (en) Interface conversion method, device, medium and computer equipment
CN201957067U (en) Gateway providing device and video cloud computing system
CN102137301B (en) Method and device for accessing reference service
CN107222559B (en) Information calling method
EP3264325A1 (en) Systems and methods for identifying matching content
EP3264324A1 (en) Systems and methods for identifying matching content
EP3264326A1 (en) Systems and methods for identifying matching content
CN111596961B (en) Media scanning method and electronic equipment
CN117850893A (en) Cloud mobile phone application calling method and device, electronic equipment and storage medium
EP3264323A1 (en) Systems and methods for identifying matching content
CN117435187A (en) Service engine operation method based on industrial data
CN113965778A (en) Pseudo live broadcast method, device, equipment and readable medium for online education
CN103685550A (en) Method and device for loading data in browser

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170811