CN103092988A - Realizing method of directly managing mobile phone media resources on desktop - Google Patents

Realizing method of directly managing mobile phone media resources on desktop Download PDF

Info

Publication number
CN103092988A
CN103092988A CN2013100496996A CN201310049699A CN103092988A CN 103092988 A CN103092988 A CN 103092988A CN 2013100496996 A CN2013100496996 A CN 2013100496996A CN 201310049699 A CN201310049699 A CN 201310049699A CN 103092988 A CN103092988 A CN 103092988A
Authority
CN
China
Prior art keywords
data
module
information
resource information
media resource
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
CN2013100496996A
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.)
Guangzhou Jiubang Digital Technology Co Ltd
Original Assignee
Guangzhou Jiubang Digital 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 Guangzhou Jiubang Digital Technology Co Ltd filed Critical Guangzhou Jiubang Digital Technology Co Ltd
Priority to CN2013100496996A priority Critical patent/CN103092988A/en
Publication of CN103092988A publication Critical patent/CN103092988A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a realizing method of directly managing mobile phone media resources on a desktop. The method comprises the steps of creating a resource information obtaining engine which comprises an inquiring module, a monitoring module, a data comparing module, a data synchronism module and a data interaction module; directly inquiring media resource information data in a mobile phone database with the inquiring module; monitoring whether media resource information is modified with the monitoring module; informing the data comparing module if modification of the media resource information is monitored, comparing stored data with the original media resource information data, and judging whether the stored data is the same as the original media resource information data; and calling the data synchronism module to update the stored data to the mobile phone database if the stored data is different from the original media resource information data. According to the realizing method of directly managing mobile phone media resources on the desktop, the mobile phone media resources can be searched fast and managed without aid of third-party software, and therefore brand new experience which is fast and convenient is brought to users.

Description

A kind of direct implementation method in desktop management mobile media resource
Technical field
The present invention relates to the mobile phone resources management domain, be specially a kind of direct implementation method in desktop management mobile media resource.
Background technology
Android is based on the operating system of the open kernel of Linux, and only official listing just leapt to the most popular intelligent mobile phone platform in the whole world in 2 years.Present on the market defective of Android desktop system ubiquity, i.e. the direct media resource in managing mobile phone, and must realize operations such as checking fast, delete, share to media resource in mobile phone by third party software.When the user needs media resources such as picture, music and video in managing mobile phone, all need to install and start the third party and should be used for carrying out resource management, this brings very big inconvenience for user's real-time management and fast operating.Simultaneously, because third party's application quality is uneven at present, calls the third party and use when carrying out resource management, all need directly to scan SD card data at every turn, take a large amount of internal memories, reduce overall performance, had a strong impact on user's experience.
Summary of the invention
The present invention is just in order to solve the above-mentioned problems in the prior art, proposed a kind of not by third party software, directly in the method for desktop management mobile media resource.Utilize this method of the present invention, make the user not need to start third party software, media resource in just can the fast search mobile phone, and can carry out managing medium resource at the menu page of desktop, as browse, delete, share, the operation such as editing media resource file.
A kind of directly in the method for desktop management mobile media resource, it is characterized in that:
Establishing resource acquisition of information engine is used for management of media resource information data; Wherein, described resource information is obtained engine and is specifically comprised: be used for obtaining data in mobile phone storehouse media resource information enquiry module, be used for monitoring monitoring module that whether media resource information be modified, be used for judging internal storage data and raw data whether identical comparing module, the data simultaneous module that is used for new data more, and the data interaction module of carrying out control and management for back-end data and foreground user interface interaction;
Utilize the media resource information data in the direct inquiry mobile phone database of described enquiry module;
Utilize described monitoring module to monitor and the event that media resource information is modified whether occurs;
If listen to the event that media resource information is modified, notify described comparing module, internal storage data and original media asset information data are carried out comparing, judge whether internal storage data is identical with the original media asset information data; And
If internal storage data is different from the original media asset information data, call described data simultaneous module, internal storage data synchronously is updated in the data in mobile phone storehouse.
Further, if do not hear the event that media resource information is modified, continue circulation and monitor.
Further, if internal storage data is identical with the original media asset data, needn't upgrade the data in mobile phone storehouse, continue circulation and monitor the event that the media resource data are modified whether occurs.
Further, described monitoring module specifically comprises: pictorial information is monitored module, is used for the event that monitored data storehouse pictorial information is modified; Music information is monitored module and is used for the event that monitored data storehouse music information is modified; And video information is monitored module and is used for the event that monitored data storehouse video information is modified.
Further, utilize the step of the media resource data in the direct inquiry mobile phone database of described enquiry module, be specially: described enquiry module obtains a Context resolution device by the system application DLL (dynamic link library), and transmitting the universal resource identifier of resource database to the content resolver, the Context resolution device provides device according to the content of described universal resource identifier Gains resources information database; But call the media resource data in Context resolution device fast finding data in mobile phone storehouse.
As preferably, the operation such as the event that described media resource information is modified comprises sequence, batch operation, hide/shows, arranges, increases newly, deletes, shares, editor, modification.
Further, utilize the step of the media resource data in the direct inquiry mobile phone database of described enquiry module, also comprise finding the step of carrying out the data filtration after the media resource data, be specially:
The media resource information that finds is carried out sync check, if find that real resources does not exist, does not represent to the user, simultaneously this media resource information is deleted from database, returns to practical resource data.
Description of drawings
Now, with reference to accompanying drawing, present invention is described for the mode by embodiment:
Fig. 1 is of the present invention a kind of directly at the process flow diagram of the implementation method of desktop management mobile media resource;
Fig. 2 is the process flow diagram of data acquisition flow process in method shown in Figure 1.
Embodiment
The present invention has created a resource information and has obtained engine, can directly access resource information database in cell phone system by this engine, and obtain database information, thereby obtain the fullpath of resource, and these resources are managed.
This resource information is obtained engine and is specifically comprised: enquiry module, monitoring module, comparing module, data simultaneous module and data interaction module.Wherein, this enquiry module is used for the media resource information of inquiry mobile phone database, this query script does not need directly to scan the SD card, but provide device (ContentProvider) with the content that multithreading obtains the media resource information database, call the relevant inquiring method of Context resolution device (ContentResolver), directly Query Database Gains resources information rapidly.In the present invention, for convenience of understanding, related media resource information spinner will comprise: pictorial information, music information and video information, but be not limited to this, can also comprise other media resource information commonly used in this area.Content in corresponding media resource information database provides device also to comprise with it: picture provides device, music to provide device and video that device is provided.
Utilize enquiry module to search the process of media resource information in the data in mobile phone storehouse, referred to as the data acquisition flow process, please refer to accompanying drawing 2, specifically comprise the steps:
S11: the enquiry module that resource information is obtained in engine provides device (ContentProvider) with the content of various media resources in multithreading Gains resources information bank; Wherein, the present invention refers to that obtaining respectively picture with the three-route journey provides device, music to provide device and video that device is provided.
The idiographic flow of this step is: (a): enquiry module obtains a Context resolution device (ContentResolver) by system application DLL (dynamic link library) (API); (b): transmit the universal resource identifier (URI) of this resource database to content resolver (ContentResolver), this URI can arrive by the API file search of Android system; (c): Context resolution device (ContentResolver) can provide device (ContentProvider) according to the content of this URI Gains resources information database.
S12: the media resource information in the quick reference system resource database.Be specially: (d): call the relevant inquiring method of Context resolution device (ContentResolver), just can find very rapidly the resource information on mobile phone.
S13: with the resource information that finds, return to raw resource data.
In the data acquisition flow process, except above-mentioned steps, because the mobile phone resource data database data may be asynchronous with the mobile phone real resource, in order to make source synchronous, can also comprise the step of filtering data, be specially:
S14: adopt data filtering layer filtering data.Searching simultaneously, can carry out sync check to the media resource information that finds out, if find that real resources does not exist, can not represent to the user, simultaneously this information is deleted from database.
S15: if real resources exists, the effective information of reality is represented to the user, namely return to practical resource data.
Resource information is obtained the monitoring module of engine, be used for the event that the various types of media files of monitor resource information database are modified, monitor module by the type of multimedia file can be in concrete minute: pictorial information is monitored module, music information monitors module and video information is monitored module, wherein, pictorial information is monitored module and is responsible for the event that in the monitored data storehouse, pictorial information is modified; Music information is monitored module and is responsible for the event that in the monitored data storehouse, music information is modified; Video information is monitored module and is responsible for the event that in the monitored data storehouse, video information is modified.The event that media resource information is modified can comprise a variety of, as newly-increased picture, deletion video, modification music track title, modification internal information etc., in the present invention, the operations such as the event that media resource information is modified comprises sequence, batch operation, hide/shows, arranges, increases newly, deletes, shares, editor, modification, but be not limited to this, also intention comprises other modification events of media resource information common in this area.
The comparing module is used for internal storage data and the raw resource data of database are compared, and judges whether internal storage data is identical data with raw data.After comparing, find that both data are not identical, the calling data synchronization module.Data simultaneous module, be used for when internal storage data and raw data are not identical, the internal storage data of latest update synchronously is updated in the data in mobile phone storehouse, to replace raw data, thereby make through the data after user's retouching operation can real-time update to the data in mobile phone storehouse, and internal storage data is synchronizeed with the resource data maintenance in database.
The data interaction control module is used for back-end data and foreground user interface (UI) are carried out control and management alternately, the life cycle of simultaneously all right management resource acquisition of information engine.This data interaction control module specifically comprises menu administration module and foreground and background data interaction controller.This menu administration module is used for menu/resource management module and other module of desktop is carried out alternately, can provide the operations such as data to the search module of desktop such as resource management module.It is mutual that this foreground and background data interaction controller is used for being responsible for foreground and background data, and the life cycle of management resource acquisition of information engine, can establishing resource when for example entering resource management module obtain the engine object, simultaneously scan database and data buffer storage in cache pool; After withdrawing from resource management module, can call the releasing memory method of resource acquisition engine, empty data cachedly, destroy its object.
In addition, this resource information is obtained engine and can also be comprised scan module and state processing module.Scan module is responsible for receiving and processing the broadcast event of multimedia file scanning, such as events such as the automatic or manual manual scanning SD of system cards.The state processing module is used for observing and processing the change of folder state.
Below, directly carry out managing medium resource at desktop with the user and be operating as example, set forth implementation procedure of the present invention, comprise the following steps:
S1: the modules that establishing resource acquisition of information engine object, resource information obtain engine starts operation or is in holding state on the backstage, repeat no more herein.
S2: the enquiry module that utilizes engine is the media resource information in the inquiry mobile phone database directly, in the present embodiment, the user can be directly entered function table on the table, click is arranged on " inquiry " button on user interface (UI), can carry out the step S11 of above-mentioned data acquisition flow process ~ S15, please refer to accompanying drawing 2, obtain the practical media resource data in current database.
S3: monitor the module real-time listening and the event that the media resource information data is modified whether occurs.In the present embodiment, the user is according to " the resource management option " that be arranged on user interface (UI), can be respectively to the media resources such as picture, music, video sort, batch operation, hide/show, arrange, increase newly, delete, share, the operation such as editor, modification.
S4: if yes, the calling data comparing module, compare internal storage data and original media asset information data.If NO, continue circulation and monitor, until listen to the event that next media information is modified.
S5: judge whether internal storage data is identical with the original media asset data.
S6: if find that internal storage data is not identical with the original media asset data, the data in database are not done any processing, whether the monitoring that continues to circulate the next one occurs is modified event.
For example, when the user chooses and delete certain pictures, monitor pictorial information in module and monitor module and the event that data are modified detected, and notification data comparing module immediately.The comparing module is compared internal storage data and original media asset information data, and judges whether internal storage data is identical with the original media asset data.If determine both not simultaneously, calling data synchronization module, as having deleted certain pictures in memory source, find out the modification event target resource that the front and back data change occurs, and the internal storage data after changing is updated in database, thereby guarantees that internal memory keeps synchronizeing with data in database.
The above technical scheme that the embodiment of the present invention is provided is described in detail, used specific case herein principle and the embodiment of the embodiment of the present invention are set forth, the explanation of above embodiment is only applicable to help to understand the principle of the embodiment of the present invention; Simultaneously, for one of ordinary skill in the art, according to the embodiment of the present invention, all will change on embodiment and range of application, in sum, this description should not be construed as limitation of the present invention.

Claims (5)

1. a direct method in desktop management mobile media resource, is characterized in that, said method comprising the steps of:
Establishing resource acquisition of information engine is used for management of media resource information data; Wherein, described resource information is obtained engine and is specifically comprised: be used for obtaining data in mobile phone storehouse media resource information enquiry module, be used for monitoring monitoring module that whether media resource information be modified, be used for judging internal storage data and raw data whether identical comparing module, the data simultaneous module that is used for new data more, and the data interaction module of carrying out control and management for back-end data and foreground user interface interaction;
Utilize the media resource information data in the direct inquiry mobile phone database of described enquiry module;
Utilize described monitoring module to monitor and the event that media resource information is modified whether occurs;
If listen to the event that media resource information is modified, notify described comparing module, internal storage data and original media asset information data are carried out comparing, judge whether internal storage data is identical with the original media asset information data; And
If internal storage data is different from the original media asset information data, call described data simultaneous module, internal storage data synchronously is updated in the data in mobile phone storehouse.
2. method according to claim 1, is characterized in that: if do not hear the event that media resource information is modified, continue circulation and monitor, until listen to the event that media resource information is modified.
3. method according to claim 1 and 2, it is characterized in that: described monitoring module specifically comprises: pictorial information is monitored module, is used for the event that monitored data storehouse pictorial information is modified; Music information is monitored module and is used for the event that monitored data storehouse music information is modified; And video information is monitored module and is used for the event that monitored data storehouse video information is modified.
4. method according to claim 1 is characterized in that: utilize the step of the media resource information in the direct inquiry mobile phone database of enquiry module, specifically comprise:
A) obtain a Context resolution device by the system application DLL (dynamic link library);
B) transmit the universal resource identifier of resource database to the content resolver;
C) the Context resolution device provides device according to the content of described universal resource identifier Gains resources information database;
D) call the Context resolution device, the resource information in fast finding data in mobile phone storehouse.
5. method according to claim 1, is characterized in that: the operation that the event that described media resource information is modified comprises sequence, batch operation, hide/shows, arranges, increases newly, deletes, shares, edits, revises.
CN2013100496996A 2013-02-07 2013-02-07 Realizing method of directly managing mobile phone media resources on desktop Pending CN103092988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100496996A CN103092988A (en) 2013-02-07 2013-02-07 Realizing method of directly managing mobile phone media resources on desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100496996A CN103092988A (en) 2013-02-07 2013-02-07 Realizing method of directly managing mobile phone media resources on desktop

Publications (1)

Publication Number Publication Date
CN103092988A true CN103092988A (en) 2013-05-08

Family

ID=48205553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100496996A Pending CN103092988A (en) 2013-02-07 2013-02-07 Realizing method of directly managing mobile phone media resources on desktop

Country Status (1)

Country Link
CN (1) CN103092988A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246729A (en) * 2013-05-09 2013-08-14 北京暴风科技股份有限公司 Method and system for processing multi-media files of android mobile terminal
CN105631428A (en) * 2015-12-29 2016-06-01 国家新闻出版广电总局监管中心 Comparison and identification method and apparatus for videos
CN106066883A (en) * 2016-06-02 2016-11-02 努比亚技术有限公司 Audio video document list synchronization apparatus and method
CN106557555A (en) * 2016-10-31 2017-04-05 努比亚技术有限公司 media playing method and device
CN110389966A (en) * 2019-06-28 2019-10-29 苏州浪潮智能科技有限公司 A kind of information processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005202858A (en) * 2004-01-19 2005-07-28 Casio Comput Co Ltd Terminal device, file management method, and program
CN102857629A (en) * 2012-07-12 2013-01-02 广东欧珀移动通信有限公司 Calling-out method of mobile phone desktop search box

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005202858A (en) * 2004-01-19 2005-07-28 Casio Comput Co Ltd Terminal device, file management method, and program
CN102857629A (en) * 2012-07-12 2013-01-02 广东欧珀移动通信有限公司 Calling-out method of mobile phone desktop search box

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈煜: "基于Android系统的手机文件管理器的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, 15 October 2012 (2012-10-15), pages 138 - 2037 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246729A (en) * 2013-05-09 2013-08-14 北京暴风科技股份有限公司 Method and system for processing multi-media files of android mobile terminal
CN105631428A (en) * 2015-12-29 2016-06-01 国家新闻出版广电总局监管中心 Comparison and identification method and apparatus for videos
CN106066883A (en) * 2016-06-02 2016-11-02 努比亚技术有限公司 Audio video document list synchronization apparatus and method
CN106557555A (en) * 2016-10-31 2017-04-05 努比亚技术有限公司 media playing method and device
CN110389966A (en) * 2019-06-28 2019-10-29 苏州浪潮智能科技有限公司 A kind of information processing method and device
CN110389966B (en) * 2019-06-28 2022-07-12 苏州浪潮智能科技有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN104410615B (en) Method, client, server and the system to access to shared data
US9276883B2 (en) Information collection, storage, and sharing platform
US20170034264A1 (en) Application Information Sharing Method and Apparatus
US20150177938A1 (en) Providing access to a cloud based content management system on a mobile device
WO2015043512A1 (en) Picture management method and device
WO2015117426A1 (en) File management method and device
JP5870468B2 (en) Method and apparatus for managing images of mobile terminals
US8078628B2 (en) Streaming faceted search
CN110413282B (en) Redundant resource processing method, device, equipment and storage medium
CN103092988A (en) Realizing method of directly managing mobile phone media resources on desktop
CN102722487A (en) Method and apparatus for file management
CN107147748B (en) File uploading method and device
US9674271B2 (en) Platform for sharing collected information with third-party applications
CN104348859B (en) File synchronisation method, device, server, terminal and system
CN105808702B (en) The management system of content of pages method for refreshing, system and content of pages synchronous refresh
CN106021506A (en) File storage method and apparatus for cluster system
CN107040576A (en) Information-pushing method and device, communication system
US20150215399A1 (en) Terminal and server performing data synchronization
US20180018363A1 (en) Time series data processing method and apparatus
CN105847320A (en) Resource obtaining method and device
CN103246729A (en) Method and system for processing multi-media files of android mobile terminal
CN112835978A (en) Data storage method and device and computer equipment
CN103136264A (en) Accessory inquiring method and user terminal
CN114116611A (en) File scanning method and related device
CN107291909B (en) Data processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130508