CN102255876A - Media file collection method - Google Patents

Media file collection method Download PDF

Info

Publication number
CN102255876A
CN102255876A CN2010101823633A CN201010182363A CN102255876A CN 102255876 A CN102255876 A CN 102255876A CN 2010101823633 A CN2010101823633 A CN 2010101823633A CN 201010182363 A CN201010182363 A CN 201010182363A CN 102255876 A CN102255876 A CN 102255876A
Authority
CN
China
Prior art keywords
remote equipment
main frame
data
identification code
database
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.)
Pending
Application number
CN2010101823633A
Other languages
Chinese (zh)
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.)
Acer Inc
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to CN2010101823633A priority Critical patent/CN102255876A/en
Publication of CN102255876A publication Critical patent/CN102255876A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a media file collection method. The method comprises the following steps of: establishing a database in a host, wherein the database stores an update identification code and a complete collection mark of remote equipment; when the host is connected to the remote equipment, judging whether a certain media file of the remote equipment is updated or not according to the update identification code; if the media file of the remote equipment is updated, updating the media data of the remote equipment to the host; and marking the complete collection mark to indicate the updating is finished, and modifying the update identification code in the database.

Description

Collect the method for media file
Technical field
The present invention relates to a kind of media file shared mechanism, and be particularly related to a kind of method of collecting media file.
Background technology
Along with making rapid progress of science and technology, wisdom household electrical appliances (general reference is mainly as linking the general designation of surfing the Net or adding the electric household appliance of online mechanism in original function) can form the wisdom home network by the supply socket that spreads in each room of family.
In home network, every DLNA (Digital Living NetworkAlliance that meets, DLNA) Xie Ding computer, mobile phone, server and player etc., just can share play multimedia content (comprising film, music, photo or the like) each other by world-wide web, and reach the audio-visual easily and fast enjoyment of digital home.Yet control software is to manifest separately data content with the separate unit server mostly in the digital home now.
Summary of the invention
The invention provides a kind of method of collecting media file, can in single main frame, collect the media file that remote equipment is shared.
The present invention proposes a kind of method of collecting media file, is applicable to main frame, is used for being collected from remote equipment by main frame the media data of a plurality of media files.At first, in main frame, set up database.The renewal identification code that stores remote equipment in this database indicates fully with collection.Be connected to remote equipment by main frame, and obtain the present renewal identification code of remote equipment.Then, the renewal identification code that is write down in the comparison database and whether identical from the obtained present renewal identification code of remote equipment.If the renewal identification code that is write down in the database and upgrade identification code at present both are inequality, the media data of remote equipment is updated to main frame.And, will collect to be labeled as fully and finish renewal.Moreover, replace the renewal identification code that originally is recorded in the database with present renewal identification code.
In one embodiment of this invention, above-mentioned media data with the remote equipment step that is updated to main frame comprises the lteral data in each media data (metadata) is updated to main frame.Afterwards, will collect again to be labeled as fully and finish renewal.And, after the lteral data in each media data is updated to main frame, also can be with the sectional drawing in each media data (thumbnail) Data Update to main frame.
In one embodiment of this invention, the renewal identification code that is write down in the above-mentioned comparison database and from the whether identical step of the obtained present renewal identification code of remote equipment, if both are identical, whether the collection of then checking this remote equipment correspondence indicates be updated in the main frame fully to judge the media data in the remote equipment fully.If these media datas are not updated in the main frame as yet fully, these media datas are updated to main frame.
In one embodiment of this invention, the method for above-mentioned collection media file comprises also whether the lteral data in each media data of checking in the database has corresponding sectional drawing data.If lteral data lacks corresponding sectional drawing data, from remote equipment therewith the sectional drawing Data Update of the media data of lteral data correspondence to main frame.
In one embodiment of this invention, above-mentioned media file comprises one of them kind or its combination person of image file, video file and audio file.
The present invention proposes a kind of method of collecting media file in addition, is applicable to main frame, is used for main frame is thus collected a plurality of media files from a plurality of remote equipments media data.At first, in main frame, set up database.Store the renewal identification code of each remote equipment in this database.Main frame can judge whether the media file of each remote equipment has change according to upgrading identification code.If judge that wherein the media file of a remote equipment has change, then this remote equipment listed in and upgraded in the inventory.And, be updated to main frame one by one with being recorded in the media data that upgrades each remote equipment in the inventory.In database, upgrade again being recorded in the renewal identification code of upgrading the remote equipment in the inventory.
In one embodiment of this invention, above-mentionedly will be recorded in step that the media data that upgrades each remote equipment in the inventory is updated to main frame one by one and comprise the lteral data in each media data is updated to main frame.Afterwards, also can be again with the sectional drawing Data Update in each media data to main frame.And, after the lteral data in each media data is updated to main frame, also the collection that is recorded in the remote equipment correspondence in the database can be indicated fully be labeled as and finish renewal.
In one embodiment of this invention, above-mentionedly judging according to upgrading identification code whether the media file of each remote equipment has the step of change, if judge that wherein the media file of a remote equipment does not change, check that this remote equipment is recorded in collection corresponding in the database and indicates fully whether be updated in the main frame fully with the media data of judging remote equipment.If these media datas are not updated to main frame as yet fully, these media datas are updated to main frame.
In one embodiment of this invention, the method for above-mentioned collection media file comprises also whether the lteral data in each media data of checking in the database has corresponding sectional drawing data.If lteral data lacks corresponding sectional drawing data, from remote equipment will be corresponding with lteral data the sectional drawing Data Update of media data to main frame.
In one embodiment of this invention, above-mentioned media file comprises one of them kind or its combination person of image file, video file and audio file.
Based on above-mentioned, the present invention can be regardless of all media datas in the hardware ground browsing far-end equipment in single face, and which platform remote equipment the user need not know specific media file in, and can directly search interesting media data faster.
For above-mentioned feature and advantage of the present invention can be become apparent, embodiment cited below particularly, and conjunction with figs. is described in detail below.
Description of drawings
Fig. 1 is the calcspar according to the network system shown in the first embodiment of the invention;
Fig. 2 is the method flow diagram according to the collection media file shown in the first embodiment of the invention;
Fig. 3 is the calcspar according to the network system shown in the second embodiment of the invention;
Fig. 4 is the method flow diagram according to the collection media file shown in the second embodiment of the invention.
Main element symbol description in the accompanying drawing:
100,300-network system; 110,310-main frame;
111,311-database; 120,320,322,324-remote equipment;
130,330-world-wide web;
Each step of method of the collection media file of S205~S225-first embodiment of the invention;
Each step of method of the collection media file of S405~S420-second embodiment of the invention.
Embodiment
First embodiment
Fig. 1 is the calcspar according to the network system shown in the first embodiment of the invention.Please refer to Fig. 1, in network system 100, main frame 110 can be collected the media data of a plurality of media files in the remote equipment 120 from remote equipment 120 by world-wide web 130.At this, in main frame 110, set up database 111.The renewal identification code that can store remote equipment 120 correspondences in the database 111 indicates fully with collection.In the present embodiment, media file comprises image file, video file or audio file, and media data comprises the lteral data (metadata) or sectional drawing (thumbnail) data of media file, and network system 100 can be digital home network (digital home network) system.
Particularly, be provided with a database 111 in the main frame 110, the relevant information of opening the remote equipment of sharing 120 at present in world-wide web 130 is stored.For example, the machine identifier and the renewal identification code of remote equipment 120 have been stored in the database 111.With UPnP (remote equipment 120 has the renewal identification code for UniversalPlug and Play, UPnP) agreement, if remote equipment 120 shared in have and changed, can change just then upgrade identification code.In addition, also be provided with at least one field in the database 111 and write down collection and indicate fully, represent by collecting fully sign whether the media file of remote equipment 120 has been updated to last state.
In addition, corresponding field also can be set at the classification of media file indicates fully with the collection of writing down the different media files classification respectively.For instance, be provided with three fields respectively the collection separately of recording of video file, audio file and image file indicate fully whether arrive last state with the renewal of presentation medium data.
Below promptly cooperate above-mentioned network system 100 that the method for collecting media file is described.Fig. 2 is the method flow diagram according to the collection media file shown in the first embodiment of the invention.Please refer to Fig. 2, in step S205, main frame 110 is connected to remote equipment 120, and obtains the present renewal identification code of remote equipment 120.
Then, in step S210, the renewal identification code that is write down in main frame 110 comparison databases 111 and whether identical from the obtained present renewal identification code of remote equipment 120.If the renewal identification code that is write down in the database 111 and from the obtained present renewal identification code of remote equipment 120 both are identical, the media file of expression remote equipment 120 did not change, the just media data in the new database 111 more of main frame 110 in view of the above, and finish this flow process.
What deserves to be mentioned is, if the renewal identification code that is write down in the database 111 and from the obtained present renewal identification code of remote equipment 120 both are identical, the collection that also can check the remote equipment 120 that is write down in the database 111 indicates whether be updated to last state with the media information of judging remote equipment 120 fully.In view of the above, can judge whether more new technological process last time is interrupted.For example, collection is masked as 1 representative fully and has finished renewal, and collection is masked as 0 representative fully and does not finish renewal as yet.If more new technological process last time is interrupted, then collecting fully, sign will be 0.When collecting when being masked as 0 fully, also can execution in step S215, with the media file update of remote equipment 120 to main frame 110.
On the other hand, if the renewal identification code that is write down in the database 111 and from the obtained present renewal identification code of remote equipment 120 both are inequality, the media file of expression remote equipment 120 changes, execution in step S215, main frame 110 is updated to the media data of remote equipment 120 in the main frame 110.For example, the lteral data with each media data in the remote equipment 120 is updated in the main frame 110.
Generally speaking, complete media data comprises lteral data and sectional drawing data.Yet in the present embodiment, in order to take into account user impression and arithmetic speed, main frame 110 can be updated to lteral data in the database 111 earlier, and after lteral data is collected fully, and the media data of promptly assert remote equipment 120 has been collected and finished.At this, the sectional drawing data can not upgraded earlier, mend after waiting until again.
In addition, suppose that the media file in the remote equipment 120 comprises video file, audio file and image file, then main frame 110 can utilize three execution threads (thread) to upgrade respectively these three kinds of media files are carried out.Come heavy manyly because renewal sectional drawing data consume time and the memory resource got more than lteral data, the sectional drawing data that add image file are come manyly than video file or audio file usually, in each execution thread, the mode that data collection is upgraded also can be different in view of the above.For example, the part of video file and audio file can adopt the mode that adds again more afterwards all deleted in the record of previous institute access.This is because it is acceptable that lteral data is updated on the resource load in this manner.In addition, about the part of image file, then be to utilize the mode of upgrading lteral data to do integration, just change at part newly-increased or deletion.
Afterwards, in step S220, main frame 110 indicates the collection of remote equipment 120 correspondences to be labeled as fully finishes renewal.For example, collection is masked as 1 representative fully and has finished renewal, and collection is masked as 0 representative fully and does not finish renewal as yet.
In the present embodiment,, after the lteral data in the media data is updated to main frame 110, just the collection of remote equipment 120 correspondences is indicated to be labeled as fully and finish renewal in order to accelerate execution speed.In view of the above, in the present embodiment, additionally design an execution thread again and carry out the action of downloading the sectional drawing data.Tell main frame 110 which media datas to lack the sectional drawing data by database 111, go to download in the remote equipment 120 the sectional drawing data that lacked afterwards again.
At last, in step S225, replace the renewal identification code that originally is recorded in the database 111 with present renewal identification code.At this, if having three kinds of media files in the remote equipment 120, then a kind of lteral data of media file has upgraded all and has collected when finishing therein, the collection of this media file correspondence is indicated fully to the database 111 to be made as 1.When three kinds of pairing separately collections of media file indicate when all being made as 1 fully, just the renewal identification code with remote equipment 120 changes to last state (just replacing the renewal identification code that originally is recorded in the database 111 with present renewal identification code).
Second embodiment
Fig. 3 is the calcspar according to the network system shown in the second embodiment of the invention.Please refer to Fig. 3, in network system 300, main frame 310 can be collected the media data of media file by world-wide web 330 from remote equipment 320, remote equipment 322 and remote equipment 324.Be example only in the present embodiment, and in other embodiments, do not limit the quantity of remote equipment with remote equipment 320, remote equipment 322 and remote equipment 324.Wherein, the function of main frame 310 and database 311 is same or similar with the function of the main frame 110 of first embodiment and database 111 respectively, the function of remote equipment 320, remote equipment 322 and remote equipment 324 is then same or similar with the function of the remote equipment 120 of first embodiment, does not repeat them here.
Below promptly cooperate above-mentioned network system 300 that the method for collecting media file is described.Fig. 4 is the method flow diagram according to the collection media file shown in the second embodiment of the invention.Please refer to Fig. 4, in step S405,, judge whether the media file of each remote equipment has change according to the renewal identification code of each remote equipment.If judge the media file of remote equipment change is arranged, shown in step S410, have the remote equipment of change to list in media file to upgrading in the inventory.
For instance, in the present embodiment, write down in the database 311 separately machine identifier of remote equipment 320, remote equipment 322 and remote equipment 324, upgrade that identification code, audio frequency are collected fully sign, video collect indicates fully and collection of images indicates fully.Main frame 310 can check earlier whether the renewal identification code of each remote equipment in the database 311 is with identical from the obtained present renewal identification code of remote equipment.If inequality, represent that the media data of this remote equipment has change.
The media data of supposing remote equipment 320 has change, then remote equipment 320 corresponding audio is collected fully sign in database 311, video collect indicates fully and collection of images indicates fully and is set at 0 (renewal is not finished in expression as yet).And, remote equipment 320 is put into to upgrading inventory.At this, because media file comprises three types (video file, audio file and image file), upgrade inventory in view of the above and more can set up according to the kind of media file, just have three parts and upgrade inventory.And remote equipment 320 corresponding audio are collected fully sign, video collect indicates fully and collection of images indicates fully and is set at after 0, again remote equipment 320 is listed in to the renewal inventory of video media, audio frequency media and image medium and (for example, the machine identifier of remote equipment 320 is inserted) to upgrading in the inventory.
Return step S405, if the media file of remote equipment does not change (for example remote equipment 322), the audio frequency collection of then checking remote equipment 322 indicates fully, video collect indicates fully and collection of images indicates fully, if (renewal is not finished in expression as yet to have one of them to be labeled as 0, may last time more new technological process interrupted), then in the renewal inventory of this medium kind, add remote equipment 322.Check one by one after remote equipment 320, remote equipment 322 and the remote equipment 324, then have three parts and upgrade inventory, be respectively video and upgrade inventory, audio frequency renewal inventory and image renewal inventory.Video upgrades inventory and write down the remote equipment that video file is not finished renewal, audio frequency upgrades inventory and write down the remote equipment that audio file is not finished renewal, and image upgrades inventory and write down the remote equipment that image file is not finished renewal.
Then, at step S415, be updated to main frame 310 one by one with being recorded in the remote equipment media data separately that upgrades in the inventory.In order to accelerate renewal speed, can upgrade lteral data earlier equally, fill the sectional drawing data afterwards again.At this, more the step S215 of the new element and first embodiment is same or similar, is not described in detail in this.At last, step S420 upgrades being recorded in the renewal identification code of upgrading the remote equipment in the inventory in database 311.
In sum, in the above-described embodiments, utilize the renewal identification code of remote equipment to judge whether and the media data of remote equipment will be updated in the main frame, and the media data of all remote equipments is stored in the single main frame.In view of the above, can be in single main frame all media datas in the browsing far-end equipment, which platform remote equipment the user need not know specific media file in, and can directly search interesting media data faster.In addition, lteral data and sectional drawing data scheduling priority can be grasped (for example upgrade lteral data earlier, again the sectional drawing data are upgraded afterwards), can simplify computational load in view of the above.
Though the present invention discloses as above with embodiment; yet it is not in order to limit the present invention; those of ordinary skill under any in the technical field; without departing from the spirit and scope of the present invention; when doing a little change and retouching, so protection scope of the present invention is as the criterion when looking appended the claim person of defining.

Claims (10)

1. a method of collecting media file is applicable to a main frame, is used for collecting the media data of a plurality of media files by this main frame from a remote equipment, and this method comprises:
Set up a database in this main frame, wherein this database is collected sign fully in order to a renewal identification code and that stores this remote equipment;
Be connected to this remote equipment, to obtain the present renewal identification code of this remote equipment;
Relatively whether the renewal identification code that is write down in this database and this present renewal identification code be identical;
If the renewal identification code that is write down in this database and should upgrade identification code at present both are inequality, the described media data of this remote equipment is updated to this main frame;
This collection of mark is masked as fully and has finished renewal; And
Upgrade identification code at present with this and replace the renewal identification code that originally is recorded in this database.
2. the method for collection media file according to claim 1 wherein is updated to the described media data of this remote equipment the step of this main frame, comprising:
Lteral data in each described media data is updated to this main frame.
3. the method for collection media file according to claim 2, wherein the lteral data in described media data with each is updated to after this main frame, and this collection of mark is masked as fully and has finished renewal.
4. the method for collection media file according to claim 1, whether identical the renewal identification code that is write down in this database relatively and should upgrading at present after identification code the step wherein also comprise:
Whether both are identical if the renewal identification code that is write down in this database and this upgrade identification code at present, check that this collection indicates fully, be updated in this main frame fully with the described media data of judging this remote equipment; And
If described media data is not updated in this main frame as yet fully, described media data is updated to this main frame.
5. the method for collection media file according to claim 1 also comprises:
Check whether the lteral data in each the described media data in this database has corresponding sectional drawing data; And
If this lteral data lacks corresponding sectional drawing data, a wherein sectional drawing Data Update of the described media data that this remote equipment will be corresponding with this lteral data is to this main frame certainly.
6. a method of collecting media file is applicable to a main frame, is used for collecting the media data of a plurality of media files by this main frame from a plurality of remote equipments, and this method comprises:
Set up a database in this main frame, wherein this database upgrades identification code in order to store one of each described remote equipment;
Upgrade identification code according to this, judge whether the described media file of each described remote equipment has change;
If judge the described media file of one of them described remote equipment change is arranged, list this remote equipment in one and upgrade in the inventory;
The remote equipment described media data separately that is recorded in this renewal inventory is updated to this main frame one by one; And
In this database, upgrade the renewal identification code that is recorded in the remote equipment in this renewal inventory.
7. the method for collection media file according to claim 6 wherein will be recorded in the step that remote equipment described media data separately in this renewal inventory is updated to this main frame one by one, comprise:
Lteral data in each described media data is updated to this main frame.
8. the method for collection media file according to claim 7, wherein this database comprises that also a collection of each remote equipment of record indicates fully, and the lteral data in described media data with each is updated to after the step of this main frame, also comprises:
This collection of mark is masked as fully and has finished renewal.
9. the method for collection media file according to claim 8 wherein upgrading identification code according to this, judges whether the described media file of each described remote equipment has after the step of change, also comprises:
Do not change if judge the described media file of one of them described remote equipment, check that this remote equipment is recorded in collection corresponding in this database and indicates fully whether be updated in this main frame fully with the described media data of judging this remote equipment; And
If described media data is not updated to this main frame as yet fully, described media data is updated to this main frame.
10. the method for collection media file according to claim 6 also comprises:
Check whether the lteral data in each the described media data in this database has corresponding sectional drawing data; And
If this lteral data lacks corresponding sectional drawing data, a wherein sectional drawing Data Update of the described media data that this remote equipment will be corresponding with this lteral data is to this main frame certainly.
CN2010101823633A 2010-05-18 2010-05-18 Media file collection method Pending CN102255876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101823633A CN102255876A (en) 2010-05-18 2010-05-18 Media file collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101823633A CN102255876A (en) 2010-05-18 2010-05-18 Media file collection method

Publications (1)

Publication Number Publication Date
CN102255876A true CN102255876A (en) 2011-11-23

Family

ID=44982877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101823633A Pending CN102255876A (en) 2010-05-18 2010-05-18 Media file collection method

Country Status (1)

Country Link
CN (1) CN102255876A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828601A (en) * 2006-04-03 2006-09-06 西安理工大学 Conflict-free method for reliable download of remote data base and use of local database
CN101212530A (en) * 2006-12-27 2008-07-02 中兴通讯股份有限公司 Method for updating electronic service guide on mobile multimedia broadcast terminal
CN101272502A (en) * 2007-03-23 2008-09-24 环达电脑(上海)有限公司 Multimedia synchronizing apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828601A (en) * 2006-04-03 2006-09-06 西安理工大学 Conflict-free method for reliable download of remote data base and use of local database
CN101212530A (en) * 2006-12-27 2008-07-02 中兴通讯股份有限公司 Method for updating electronic service guide on mobile multimedia broadcast terminal
CN101272502A (en) * 2007-03-23 2008-09-24 环达电脑(上海)有限公司 Multimedia synchronizing apparatus and method

Similar Documents

Publication Publication Date Title
CN101364919B (en) Metadata collection system, apparatus, method and content management server
KR100466143B1 (en) File management method, contents recording apparatus, contents reproducing apparatus and contents recording medium
CN101692237B (en) Managing media files using metadata injection
US7792865B2 (en) Information processing device, content management method, content information management method, and computer program
CN101233516A (en) Organizing content using a dynamic profile
CN103425484B (en) Across the management of the menu customization of multiple devices
EP1607937A1 (en) Information processing device, information processing method, and computer program
US11310066B2 (en) Method and apparatus for pushing information
JP2005071227A (en) Metadata distribution management system, metadata distribution management device, metadata management device by individual, client terminal, metadata distribution management method, and computer program
CN101573969A (en) Programming environment and metadata management for programmable multimedia controller
JP2009277219A (en) Management of media file from two or more resource
CN102523507A (en) Method and device for applying external equipment based on intelligent television system
CN101169788A (en) Content management system and content management method
CN112114849B (en) Resource updating method and device
CN104169902A (en) Synchronizing local and remote data
JP2014534513A (en) Method and user interface for classifying media assets
US9684938B2 (en) Methods for generating electronic appliance identifier and managing information by using electronic appliance identifier
CN102301386A (en) Method And Apparatus For Reproducing Content By Using Metadata
CN109976754B (en) Information display method and terminal thereof
CN101374307A (en) Method and apparatus for updating digital content information of mobile equipment
CN101379490A (en) Storage profile generation for network-connected portable storage devices
CN102255876A (en) Media file collection method
CN102298610B (en) The management of media file
CN114756362A (en) Resource quota management method and system, intelligent terminal and storage medium
CN103237007A (en) Method and device for updating media files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111123