CN103902404A - Method and device for media file backup and user equipment - Google Patents

Method and device for media file backup and user equipment Download PDF

Info

Publication number
CN103902404A
CN103902404A CN201210575708.0A CN201210575708A CN103902404A CN 103902404 A CN103902404 A CN 103902404A CN 201210575708 A CN201210575708 A CN 201210575708A CN 103902404 A CN103902404 A CN 103902404A
Authority
CN
China
Prior art keywords
media file
memory device
user
mark
directory information
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
CN201210575708.0A
Other languages
Chinese (zh)
Other versions
CN103902404B (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.)
Huawei Device Co Ltd
Huawei Device Shenzhen Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201710768953.6A priority Critical patent/CN107704339B/en
Priority to CN201210575708.0A priority patent/CN103902404B/en
Publication of CN103902404A publication Critical patent/CN103902404A/en
Application granted granted Critical
Publication of CN103902404B publication Critical patent/CN103902404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a method, device and system for media file backup, and relates to the technical field of communication. Cost can be effectively lowered, and complex backup operations of users are simplified. The method comprises the steps of scanning media files stored in a first storage device to determine if important file identifications are marked on the media files, obtaining catalog information of the media files if the important file identifications are marked on the media files, and carrying backup of the media files to a second storage device according to the obtained catalog information of the media files.

Description

A kind of method, device and subscriber equipment of media file backup
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, device and subscriber equipment of media file backup.
Background technology
Media, refer to the form of expression of information and the entity of storage and transmission of information, and common information medium type has text, figure, image, animation, audio or video etc., and its concrete form is movie and video programs, network information, computer game or projection demonstration etc.Various types of media be all to there being media file, for example, and audio media files, video media file and picture file etc.For preventing losing because the abnormal conditions such as memory carrier damage cause media file, it is very necessary that media file is backed up.
For the backup of media file, in prior art, conventionally there are two kinds of modes, a kind of mode is to back up manually, and user inquires about the file that oneself needs backup voluntarily, and recycling copy function manually backs up.Another way is that (English full name is Redundant Arrays ofInexpensive Disks to employing raid-array, referred to as RAID) technology backs up, RAID technology is by increasing RAID chip, thereby realizes the backup of media file by RAID chip execution RAID function.
, adopt and back up manually this mode and carry out the backup of media file and rely on completely user's self behavior, not only may be because user easily forgets or omits to back up and cause File lose, the security of file backup is poor, and for user, complex operation, ease for use is not high; And adopt RAID technology to carry out the backup of media file, and although can guarantee preferably the security of file backup, need to increase RAID chip, cost is higher.
Summary of the invention
The method, device and the subscriber equipment that the invention provides a kind of media file backup, can either effectively reduce costs, and can simplify again the troublesome operation that user backs up.
A first aspect of the present invention, a kind of method that provides media file to back up, the method comprises:
Scan the media file of storing on the first memory device, to determine whether described media file has vital document mark;
If described media file has vital document mark, obtain described media file directory information;
According to described media file directory information, described media file is backuped on the second memory device.
In the possible implementation of the first of first aspect, described media file comprises at least one in audio media files, video media file and picture file.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second of first aspect, the media file of storing on described scanning the first memory device, before determining whether described media file has vital document mark, the method also comprises:
Receive preservation or the out code of user to media file;
Send vital document mark prompting to described user, to point out described user whether as described preservation or the media file marking value documents mark of closing;
Receive the marking value documents mark instruction that user sends according to described vital document mark prompting;
For described preservation or the media file marking value documents mark of closing.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the third possible implementation of first aspect, the media file of storing on described scanning the first memory device, before determining whether described media file has vital document mark, the method also comprises:
Receive the edit instruction of user to media file;
According to described edit instruction, display media Document Editing option, described media file editing options comprises marking value documents mark option;
Receive the selection instruction of user to marking value documents mark option;
For described editor's media file marking value documents mark.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the 4th kind of possible implementation of first aspect, the media file of storing on described scanning the first memory device, before determining whether described media file has vital document mark, the method also comprises:
Receive preservation or the out code of user to media file;
Send vital document mark prompting to described user, to point out described user whether as described preservation or the media file marking value documents mark of closing;
Receive the marking value documents mark instruction that user sends according to described vital document mark prompting;
For described preservation or the media file marking value documents mark of closing;
And
Receive the edit instruction of user to media file;
According to described edit instruction, display media Document Editing option, described media file editing options comprises marking value documents mark option;
Receive the selection instruction of user to marking value documents mark option;
For described editor's media file marking value documents mark.
In conjunction with three kinds of possible implementations of the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or first aspect or the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, the media file of storing on described scanning the first memory device, to determine whether described media file is marked with vital document mark and comprises:
Receive user's scan instruction, described scan instruction indication scans the media file of storing on described the first memory device;
According to described user's scan instruction, scan the media file of storing on described the first memory device, to determine whether described media file is marked with vital document mark;
Or
Determine that user edits the media file of described the first memory device, stores;
Scan the edited described media file of described user, to determine whether the edited media file of described user is marked with vital document mark;
Or
According to the scan period setting in advance, the media file of storing on scanning the first memory device, to determine whether described media file is marked with vital document mark.
In conjunction with any one implementation in above-mentioned each possible implementation of first aspect or first aspect, in the 6th kind of possible implementation of first aspect:
In described the first memory device, be provided with the first back-up storage district;
If described media file is marked with vital document mark, after obtaining the directory information of described media file, according to the directory information of described media file, before described media file is backuped on the second memory device, described method also comprises:
The directory information of the described described media file obtaining is placed into the first back-up storage district of described the first memory device;
In this case, described according to the directory information of described media file, described media file is backuped on the second memory device and comprised:
Described in reading, be placed on the directory information in described the first back-up storage district;
According to the described described directory information reading, media file corresponding described directory information is backuped on described the second memory device.
In conjunction with any one implementation in above-mentioned each possible implementation of first aspect or first aspect, in the 7th kind of possible implementation of first aspect, the method also comprises:
Scan the media file of storing on the second memory device, to determine whether described media file is marked with vital document mark;
If described media file is marked with vital document mark, obtain the directory information of described media file;
According to the directory information of described media file, described media file is backuped on the first memory device.
In conjunction with the 7th kind of possible implementation of first aspect, in the 8th kind of possible implementation of first aspect:
In described the first memory device, be provided with the second back-up storage district, described according to the directory information of described media file, described media file is backuped on the first memory device and comprised:
According to the directory information of described media file, described media file is backuped to the second back-up storage district on the first memory device.
In conjunction with any one implementation in above-mentioned each possible implementation of first aspect or first aspect, in the 9th kind of possible implementation of first aspect, described according to the directory information of described media file, after described media file is backuped on the second memory device, the method also comprises:
Determine that the first memory device is replaced by the 3rd memory device by described user;
Backup to media file on described the second memory device, described the first memory device, stores and be synchronized on described the 3rd memory device described.
In conjunction with any one implementation in above-mentioned each possible implementation of first aspect or first aspect, in the tenth kind of possible implementation of first aspect, the method also comprises:
Detect the duty of described the first memory device;
If described the first memory device is in abnormal work state:
Send memory device switch prompting to user, to point out described user to carry out memory device switching; Receive user's memory device switching command; According to described memory device switching command, described the first memory device is switched to described the second memory device;
Or
Automatically described the first memory device is switched to described the second memory device.
A second aspect of the present invention, the device that provides a kind of media file to back up, this device comprises:
Scanning element, for scanning the media file of storing on the first memory device, to determine whether described media file is marked with vital document mark;
Acquiring unit, if be marked with vital document mark for the media file of described scanning element scanning, obtains the directory information of described media file;
Backup units, for the directory information of the media file that obtains according to described acquiring unit, backups to described media file on the second memory device.
In the possible implementation of the first of second aspect, the media file of described scanning element scanning comprises at least one in audio media files, video media file and picture file.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second of second aspect, described device also comprises indexing unit, for:
Receive preservation or the out code of user to media file;
Send vital document mark prompting to described user, to point out described user whether as described preservation or the media file marking value documents mark of closing;
Receive the marking value documents mark instruction that user sends according to described vital document mark prompting;
For described preservation or the media file marking value documents mark of closing.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the third possible implementation of second aspect, described device also comprises indexing unit, for:
Receive the edit instruction of user to media file;
According to described edit instruction, display media Document Editing option, described media file editing options comprises the option of marking value documents mark;
Receive the selection instruction of the option of user to described marking value documents mark;
For described editor's media file marking value documents mark.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises indexing unit, for:
Receive preservation or the out code of user to media file;
Send vital document mark prompting to described user, to point out described user whether as described preservation or the media file marking value documents mark of closing;
Receive the marking value documents mark instruction that user sends according to described vital document mark prompting;
For described preservation or the media file marking value documents mark of closing;
And
Receive the edit instruction of user to media file;
According to described edit instruction, display media Document Editing option, described media file editing options comprises the option of marking value documents mark;
Receive the selection instruction of the option of user to described marking value documents mark;
For described editor's media file marking value documents mark.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or second aspect or the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect, described scanning element specifically for:
Receive user's scan instruction, described scan instruction indication scans the media file of storing on described the first memory device;
According to described user's scan instruction, scan the media file of storing on described the first memory device, to determine whether described media file is marked with vital document mark;
Or
Determine that user edits the media file of described the first memory device, stores;
Scan the edited described media file of described user, to determine whether the edited media file of described user is marked with vital document mark;
Or
According to the scan period setting in advance, the media file of storing on scanning the first memory device, to determine whether described media file is marked with vital document mark.
In conjunction with any one implementation in above-mentioned each possible implementation of second aspect or second aspect, in the 6th kind of possible implementation of second aspect, in described the first memory device, be provided with the first back-up storage district, described device also comprises:
The first buffer unit, is placed into the first back-up storage district of described the first memory device for the directory information of described media file that described acquiring unit is obtained;
In this case, described backup units specifically for:
Read the directory information that described the first buffer unit is placed on described the first back-up storage district;
According to the described described directory information reading, media file corresponding described directory information is backuped on described the second memory device.
In conjunction with any one implementation in above-mentioned each possible implementation of second aspect or second aspect, in the 7th kind of possible implementation of second aspect, described scanning element is also for scanning the media file of storing on the second memory device, to determine whether described media file is marked with vital document mark; If described acquiring unit is also marked with vital document mark for described media file, obtain the directory information of described media file; Described backup units also, for according to the directory information of described media file, backups to described media file on the first memory device.
In conjunction with the 7th kind of possible implementation of second aspect, in the 8th kind of possible implementation of second aspect, in described the first memory device, be provided with the second back-up storage district, described backup units, specifically for according to the directory information of described media file, backups to the second back-up storage district on the first memory device by described media file.
In conjunction with any one implementation in above-mentioned each possible implementation of second aspect or second aspect, in the 9th kind of possible implementation of second aspect, this device also comprises:
Determining unit, for determining that the first memory device is replaced by the 3rd memory device by described user;
Described backup units is also for backuping to media file on described the second memory device, described the first memory device, stores and be synchronized to described the 3rd memory device described.
In conjunction with any one implementation in above-mentioned each possible implementation of second aspect or second aspect, in the tenth kind of possible implementation of second aspect, this device also comprises:
Detecting unit, for detection of the duty of described the first memory device;
Switch unit, for:
If described detecting unit detects that described the first memory device is in abnormal work state:
Send memory device switch prompting to user, to point out described user to carry out memory device switching;
Receive user's memory device switching command;
According to described memory device switching command, described the first memory device is switched to described the second memory device;
Or
If described the first memory device, in abnormal work state, switches to described the second memory device by described the first memory device automatically.
A third aspect of the present invention, provides a kind of subscriber equipment, and this equipment comprises:
The first memory device, the second memory device and media file back-up device;
Described media file back-up device is connected with the second memory device with described the first memory device respectively, for:
Scan the media file of storing on the first memory device, to determine whether described media file is marked with vital document mark;
If described media file is marked with vital document mark, obtain the directory information of described media file;
According to the directory information of described media file, described media file is backuped on the second memory device.
In conjunction with the third aspect, in the possible implementation of the first, described the first memory device comprise following any one: hard disk, floppy disk, USB flash disk, CD, portable hard drive, disk or storage card;
Described the second memory device comprise following any one: hard disk, floppy disk, USB flash disk, CD, portable hard drive, disk or storage card.
In conjunction with the possible implementation of the first of the third aspect or the third aspect, in the possible implementation of the second of the third aspect, this subscriber equipment comprises mobile phone, computer, panel computer, personal digital assistant.
The method of media file backup of the present invention, device and subscriber equipment, scan the media file of storing on the first memory device, in the time that described media file is marked with vital document mark, according to the directory information of this file, this media file is backuped on the second memory device, that is to say, back-up device can automatic benchmarking's note have the media file of important media file mark to back up, only need user to carry out mark to important media file, complete backup without operations such as user manually copy, therefore effectively simplified the troublesome operation that user backs up, and without increasing any chip, effectively reduce cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of schematic flow sheet of the media file backup method that Fig. 1 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of the media file backup method that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is a kind of illustrative diagram of the media file backup method shown in Fig. 2;
The another kind of schematic flow sheet of the media file backup method that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 is a kind of illustrative diagram of the media file backup method shown in Fig. 4; ;
A kind of structural representation of the media file back-up device that Fig. 6 provides for the embodiment of the present invention;
The another kind of structural representation of the media file back-up device that Fig. 7 provides for the embodiment of the present invention;
The another kind of structural representation of the media file back-up device that Fig. 8 provides for the embodiment of the present invention;
The another kind of structural representation of the media file back-up device that Fig. 9 provides for the embodiment of the present invention;
The another kind of structural representation of the media file back-up device that Figure 10 provides for the embodiment of the present invention;
The another kind of structural representation of the media file back-up device that Figure 11 provides for the embodiment of the present invention;
A kind of system architecture schematic diagram of the subscriber equipment that Figure 12 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of media file backup, carried out by subscriber equipment, specifically carried out by the media file back-up device arranging in subscriber equipment, described subscriber equipment comprises the first memory device and the second memory device, why type the embodiment of the present invention does not limit the first memory device and the second memory device memory device, for example, the first memory device and the second memory device can be all following any one memory devices: hard disk, floppy disk, USB flash disk, CD, portable hard drive, disk, storage card, as shown in Figure 1, the method of the media file backup that the embodiment of the present invention provides comprises the following steps:
S11, the media file of storing on scanning the first memory device, to determine whether described media file is marked with vital document mark.
First it should be noted that, in this step, the media file scanning is at least one media file of storing on the first memory device.
For example, in this step, described media file can comprise at least one in audio media files, video media file and picture file.Wherein, audio media files refers to the file of stored sound content, and such as form is the file of MP3, CD, WAVE (* .WAV), WMA, RealAudio etc.; Video media file refers to the file of the various dynamic image contents of storage, and such as form is the file of WMV, AVI, MP4, RM/RMVB, kmv etc.; And picture file refers to the file of the various tangible things contents of storage, such as form is the file of JPEG, TIFF, BMP, GIF, PNG etc.
Obviously, described media file can be also the media file of other types, and the present invention does not limit this.
Be understandable that, that the media file of storing in the first memory device comprises is very important for user, user wants the permanent media file of preserving, in order to guarantee the security of this part media file, in the backup method that the embodiment of the present invention provides, before this step is S11 step, user will be these important media file marking value documents marks.For example, subscriber equipment can provide vital document option for media file, thereby user can be by choosing this option for this media file marking value documents mark; Again for example, subscriber equipment can receive user, and to want mark media file be the instruction of vital document, receiving after this instruction, subscriber equipment adds vital document mark in the attribute information of this media file, the vital document mark that has been this media file mark.Like this, in this step, subscriber equipment can, by scanning, find these important media files, and then these important media files are backed up, and effectively guarantees the security of these media files.
Concrete, this step can have three kinds of specific implementations, as follows respectively:
One, in one embodiment of the invention, subscriber equipment can receive user's scan instruction, and described scan instruction is indicated in the situation that the media file of storing on described the first memory device is scanned, according to user's scan instruction, scan the media file of storing on described the first memory device, to determine whether described media file is marked with vital document mark; That is to say, this step can be carried out according to user's wish, and user can, according to the actual needs of oneself, issue scan instruction at any time.For example, subscriber equipment can provide for user the function choosing-item of scanning medium file, in the time that user selects this function choosing-item, starts to carry out this step.
Its two, subscriber equipment can be according to the scan period setting in advance, the media file of storing on scanning the first memory device, to determine whether described media file is marked with vital document mark.The length of this scan period setting in advance is not limit, and can arrange arbitrarily, and for example 1 day, 1 week, 2 weeks, one month etc., this scan period can be that user sets in advance, and can be also the default setting of subscriber equipment.
They are three years old, subscriber equipment can the operation of Real-Time Monitoring user to the media file of storing on the first memory device, determine that user operates the media file of the first memory device, stores once monitor, the media file that scanning user was operated, to determine whether the media file that user operated is marked with vital document mark.Here " operation " that the subscriber equipment sayed is monitored, can comprise that user pastes new media file in the first memory device, user opens in the first memory device and originally after the media file of storage, closes, or, user revises the content of the media file of originally storing in the first memory device, or user revises attribute of the media file of originally storing in the first memory device etc., the present invention does not limit this.For instance, in the first memory device, paste new media file once subscriber equipment detects user, will start to scan this new media file, to determine whether this media file is marked with vital document mark.
Be understandable that, in one embodiment of the invention, at least two kind modes of subscriber equipment in can compatible above-mentioned three kinds of modes scan.
It should be noted that the present invention does not limit the specific implementation of this step, can be at least one in above three kinds of modes, can also be other scan modes.
In this step, if user equipment scans is marked with vital document mark to media file, execution step S12, and the media file identifying for unmarked vital document, subscriber equipment can not carry out any processing.
S12, if described media file is marked with vital document mark, obtains the directory information of described media file.
It should be noted that, in the embodiment of the present invention, directory information refers to the routing information that on memory device, media file is deposited.For example, the directory information of certain media file be " E: Beijing Company research and development department 1 communication set work courseware .wma ".
Concrete, subscriber equipment can read the attribute information of the media file that is marked with vital document mark, obtain the directory information of this file, certainly, subscriber equipment can also have other to obtain the mode of directory information, the embodiment of the present invention does not limit this, specifically can, referring to prior art, repeat no more here.
S13, according to the described media file directory information obtaining, backups to described media file on the second memory device.
On the second memory device, can be provided with special back-up storage district, in this step, subscriber equipment can backup to the media file that is marked with vital document mark in the back-up storage district in the second memory device.
The method of the media file backup of the embodiment of the present invention, scan the media file of storing on the first memory device, in the time that described media file is marked with vital document mark, according to the directory information of this file, this media file is backuped on the second memory device, that is to say, can automatic benchmarking's note there is the media file of important media file mark to back up, so, only need user to carry out mark to important media file, complete backup without operations such as user manually copy, therefore effectively simplified the troublesome operation that user backs up, can also avoid preferably forgeing or omitting the File lose causing due to user, effectively guarantee the security of backup, thereby obviously improving user experiences, and without increasing any chip, effectively reduce cost.
Be understandable that, in the embodiment of the present invention, before S11 step, the vital document marking value documents mark that user need to think to it, that is to say, subscriber equipment need to, under user's indication, be media file marking value documents mark according to user's requirement, is that the important media file mark of media file mark is elaborated below to subscriber equipment.
Concrete, in the backup method of the media file providing in the embodiment of the present invention, subscriber equipment comprises following two kinds to the method for the important media file mark of media file mark, but is not limited to following two kinds:
One:
In the time that user need to close media file; user can click the X button of this media file conventionally; issue out code; at this moment; subscriber equipment can be in the time receiving user to the out code of media file; send the prompting of vital document mark to described user; for example; eject a dialog box; in dialog box, show: whether be this file marking value documents mark; and provide the OptionButton of "Yes" and "No", point out user whether as its media file marking value documents mark of closing to inquire.If user thinks that this file is important, to send the instruction of marking value documents mark according to the prompting of vital document mark, for example, click the "Yes" button in dialog box, equipment for indicating user is this media file marking value documents mark, subscriber equipment receives after this instruction, the media file marking value documents of closing for user identifies, certainly, if user thinks that this file is inessential, without mark, can send without mark instructions according to the prompting of vital document mark, for example, click the "No" button in dialog box, equipment for indicating user need not be this media file marking value documents mark.
Be understandable that, this mode is not limited to user in the time closing media file, can also realize on other opportunitys, for example, in the time that user preserves media file, for example, user is modifying to a media file etc. after operation, conventionally can click save button or drop-down menu " save option ", issue and hold instruction, subscriber equipment can be in the time receiving user to the holding instruction of media file, eject the prompting of vital document mark, thereby point out according to vital document mark under the instruction issuing user, carry out marking operation or do not carry out marking operation, here repeat no more.
It should be noted that, for example, what subscriber equipment sent vital document mark prompting to user can be the form that ejects dialog box, to inquire whether mark of user, if user thinks mark, selects to be, otherwise selects no.Certainly, the prompting mode of subscriber equipment is not limited to this mode, can also be other modes.
Its two:
When user runs into it at every turn and thinks important media file, can adopt the mode that this media file is edited, be this media file marking value documents mark.Concrete, user will issue the edit instruction for this media file to subscriber equipment, in the embodiment of the present invention, described edit instruction can refer to that user wants any operation of editing media file, for example, click the mouse at the icon place of the media file operation of right button of user, user clicks operation of button etc. arbitrarily in the toolbar of media file or menu bar, in the time that subscriber equipment detects user's this operation, to operate corresponding media file editing options with user for user shows, for example, eject drop-down menu, this drop-down menu comprises at least one editing options, comprise at least one shown editing options the option that marking value documents identifies, the option of user by selecting marking value documents mark carrys out this media file of mark, it is the selection instruction that subscriber equipment receives the option of user to described marking value documents mark, thereby be the media file marking value documents mark that user edits according to this instruction.
For example, user's edit instruction can be chosen certain media file for user first clicks left button, then clicks right button, at this moment, subscriber equipment will demonstrate editing options menu, and comprising " vital document mark " option, and then user chooses this option to carry out mark to this media file.
Again for example, user's edit instruction can be clicked a certain Edit button in the menu bar of certain media file for user, subscriber equipment will demonstrate drop-down option menu, and comprising " vital document mark " option, and then user chooses this option to carry out mark to this media file.
Be understandable that, in one embodiment of the invention, subscriber equipment can compatible above-mentioned two kinds of modes come for media file marking value documents mark.
Be understandable that, in the embodiment of the present invention, before the media file in the first memory device is backuped to the second memory device, need to first scan the media file that is marked with important mark, and whether media file marking value documents mark be relied on to manually completing of user.Therefore, how media file being carried out to vital document mark, is important to user.In embodiments of the present invention, for user, above-mentioned two kinds of modes are simple to operate, experience thereby can obviously improve user.
Concrete, in one embodiment of the invention, in the first memory device, can be provided with a special storage area, in the embodiment of the present invention, be referred to as the first back-up storage district, for storing the directory information that subscriber equipment obtains in S12 step, that is to say, after S12 step, before S13 step, described method also can comprise the following steps:
The directory information of the described media file obtaining is placed into the first back-up storage district of described the first memory device;
Now, in S13 step, concrete, by being placed on the directory information in the first back-up storage district described in reading, according to the described directory information reading, media file corresponding described directory information is backuped on described the second memory device.
Further, in one embodiment of the invention, subscriber equipment not only can backup to the media file of storing on the first memory device on the second memory device, also the media file of the second memory device can be backuped on the first memory device, that is to say, the backup method of the media file that the embodiment of the present invention provides also can comprise the following steps:
Scan the media file of storing on the second memory device, to determine whether described media file is marked with vital document mark;
If described media file is marked with vital document mark, obtain the directory information of described media file;
According to the directory information of described media file, described media file is backuped on the first memory device.
Understandable, for how the media file on the second memory device being backuped on the first memory device, and how the media file on the second memory device is carried out the modes such as mark all with the media file of the first memory device to be backuped to the mode adopting in the process of the second memory device identical, be about to media file on the second memory device backup to specific implementation process on the first memory device with the media file of the first memory device is backuped to the specific implementation process on the second memory device, specifically refer to embodiment above, therefore not to repeat here.
It should be noted that, at subscriber equipment, the media file of storing on the first memory device is backuped on the second memory device, also the media file of the second memory device is backuped in the situation on the first memory device, in the first memory device, can be provided with a special memory block, in the embodiment of the present invention, be referred to as the second back-up storage district, back up the media file on the first memory device for storing the second memory device, now, above-mentioned according to the directory information of described media file, the step that described media file is backuped on the first memory device is specially:
According to the directory information of described media file, described media file is backuped to the second back-up storage district on the first memory device.
It should be noted that, in the time being provided with aforesaid the first back-up storage district and the second back-up storage district in the first memory device simultaneously, both can be identical memory block, on the first memory device, be provided with a special memory block, both be used for storing the directory information obtaining in S12 step, and be used for again storing the second memory device and back up the media file on the first memory device, certainly, both can be also self-existent two storage areas of difference, and the present invention does not limit this.
Further, in one embodiment of the invention, after S13 step, if the abnormal conditions such as the first memory device is damaged, user need to change the first memory device, and user can dismantle the first memory device from subscriber equipment, is replaced by the 3rd memory device, in this case, the file backup method that the embodiment of the present invention provides also can comprise the following steps:
Determine that the first memory device is replaced by the 3rd memory device by described user;
Backup to media file on described the second memory device, described the first memory device, stores and be synchronized on described the 3rd memory device described.
Concrete, check and confirm that the first memory device cannot use through user, or the first memory device be cannot meet user's user demand time, the first memory device is replaced by the 3rd memory device by user.Replace with the 3rd memory device user, and subscriber equipment identifies after this memory device, find that this memory device is different from the first memory device, determine that the first memory device is replaced by the 3rd memory device by user, will be synchronized on described the 3rd memory device originally backuping to media file on the second memory device, the first memory device, stores.
Further, experience in order further to promote user, in one embodiment of the invention, the file backup method that the embodiment of the present invention provides also can comprise the following steps:
Detect the duty of described the first memory device;
If detect that described the first memory device is in abnormal work state, subscriber equipment can send memory device switch prompting to user, to point out described user to carry out memory device switching; Receiving after user's memory device switching command, subscriber equipment will, according to described memory device switching command, switch to the second memory device by the first memory device; Subscriber equipment also can directly switch to described the second memory device by described the first memory device automatically.
Concrete, subscriber equipment is in real time or according to the duty that sets in advance regular detection the first memory device, if subscriber equipment detects that described the first memory device is in abnormal work state, for example, user cannot open the multiple original openable media file on the first memory device, or opening after the multiple media files on the first memory device cannot normal play, now, the first memory device is switched to the second memory device by subscriber equipment, so that user opens the backup media file on the second memory device.Switching mode can have following two kinds:
Mode one is that subscriber equipment sends memory device switch prompting to user, to point out described user to carry out memory device switching.Then subscriber equipment receives user's memory device switching command, according to memory device switching command, the first memory device is switched to the second memory device, thereby makes user can open the media file backing up of the first memory device on the second memory device.
Mode two is that subscriber equipment switches to the second memory device by the first memory device automatically, thereby makes user can open the media file backing up of the first memory device on the second memory device.
In sum, the method of the media file backup of the embodiment of the present invention, scan the media file of storing on the first memory device, in the time that described media file is marked with vital document mark, according to the directory information of this file, this media file is backuped on the second memory device, that is to say, subscriber equipment can automatic benchmarking's note have the media file of important media file mark to back up, so, only need user to carry out mark to important media file, complete backup without operations such as user manually copy, therefore effectively simplified the troublesome operation that user backs up, can also avoid preferably forgeing or omitting the File lose causing due to user, effectively guarantee the security of backup, thereby obviously improving user experiences.
For those skilled in the art better understand the technical scheme of the method for the media file backup that the embodiment of the present invention provides, below by specific embodiment, the method for media file backup provided by the invention is elaborated.
In a specific embodiment of the present invention, shown in Fig. 2 and Fig. 3, subscriber equipment comprises two memory devices, respectively hard disk 1 (the first memory device) and hard disk 2 (the second memory device), on hard disk 1, comprise three media files, be respectively media file A, media file B, media file C, and on hard disk 1, be provided with catalogue back-up storage district (the first back-up storage district), the backup method of the media file of the present embodiment comprises the steps:
10, user browses the media file on hard disk 1, finds that media file A is important for user, and user's equipment for indicating user is media file A marking value documents mark.
20, subscriber equipment receives the indication of user to media file A marking value documents mark, and this media file A marking value documents is identified.
For example, user can click the mouse right button to issue an edit instruction at the icon place of media file A, subscriber equipment is ejecting drop-down menu, this drop-down menu comprises at least one editing options, comprise at least one shown editing options the option that marking value documents identifies, the option of user by selecting marking value documents mark carrys out mark media file A, and after the selection that receives user, subscriber equipment is media file A marking value documents mark.
21, the media file of storage on user equipment scans hard disk 1, determines that media file A is marked with vital document mark.
Concrete, in this step, subscriber equipment can be to carry out under user's indication to the scanning of hard disk 1, also can be that timing automatic is carried out, can also be that special event triggers, the a certain operation that special event can be for example user to the media file of storage on hard disk 1, concrete example has been revised the media file of storage on hard disk 1 as user, and the present embodiment does not limit this.
22, subscriber equipment obtains the directory information A* of the media file A that is marked with vital document mark, its directory information A* is placed in the catalogue back-up storage district of hard disk 1.
23, subscriber equipment reads the directory information A* placing in catalogue back-up storage district, according to the directory information A* reading, media file A is backuped on hard disk 2.
After this step, the backup file A ' of media file A will be stored on hard disk 2.
Optionally, can be provided with specially the back-up storage region of the backup file of the media file on storage hard disk 1 in hard disk 2, like this, in step 23, subscriber equipment just can be by the backup file A ' of media file A by the back-up storage region being stored on hard disk 2.
In another specific embodiment of the present invention, shown in Fig. 4 and Fig. 5, subscriber equipment comprises two memory devices, respectively hard disk 1 (the first memory device) and hard disk 2 (the second memory device), on hard disk 1, there are three media files, respectively media file A, media file B, media file C, wherein, user's vital document mark that has been media file A mark in advance; On hard disk 2, having three media files, is respectively media file D, media file E, media file F, wherein, and user's vital document mark that has been media file E mark in advance.In addition, be provided with back-up storage district 1 at hard disk 1, be provided with back-up storage district 2 on hard disk 2, the backup method of the media file of the present embodiment comprises the steps:
100, the media file of storage on user equipment scans hard disk 1, determines that media file A is marked with vital document mark.
200, subscriber equipment obtains the directory information A* of the media file A that is marked with vital document mark, its directory information A* is placed in the back-up storage district 1 of hard disk 1.
300, subscriber equipment reads the directory information A* placing in catalogue back-up storage district 1, according to the directory information A* reading, media file A is backuped in the back-up storage district 2 on hard disk 2.
After this step, the backup file A ' of media file A will be stored in the back-up storage district 2 of hard disk 2.
400, the media file of storage on user equipment scans hard disk 2, determines that media file E is marked with vital document mark.
500, subscriber equipment obtains the directory information E* of the media file E that is marked with vital document mark, its directory information E* is placed in the back-up storage district 2 of hard disk 2.
600, subscriber equipment reads the directory information E* placing in back-up storage district 2, according to the directory information E* reading, media file E is backuped in the back-up storage district 1 on hard disk 1.
After this step, the backup file E ' of media file E will be stored in the back-up storage district 1 of hard disk 1.
It should be noted that, step 100-300 carries out successively, for the important media file on hard disk 1 is backuped to hard disk 2, step 400-600 carries out successively, for the important media file on hard disk 2 is backuped to hard disk 1, but the order between step 100-300 and step 400-600 is not limit, can carry out successively also can walking abreast and carrying out.
Correspondingly, embodiments of the invention also provide a kind of media file back-up device 20, as shown in Figure 6, comprising:
Scanning element 201, for scanning the media file of storing on the first memory device, to determine whether media file is marked with vital document mark;
Acquiring unit 202, if the media file scanning for scanning element 201 is marked with vital document mark, obtains the directory information of this media file;
Backup units 203, for the directory information of the media file that obtains according to acquiring unit 202, backups to this media file on the second memory device.
The device of the media file backup of the embodiment of the present invention, scanning element 201 scans the media file of storing on the first memory device, in the time that scanned media file is marked with vital document mark, acquiring unit 202 obtains directory information, backup units 203 is according to the directory information of this file, this media file is backuped on the second memory device, that is to say, media file back-up device 20 can automatic benchmarking's note have the media file of important media file mark to back up, so, only need user to carry out mark to important media file, complete backup without operations such as user manually copy, therefore effectively simplified the troublesome operation that user backs up, and without increasing any chip, effectively reduce cost.
Optionally, the media file that scanning element 201 scans comprises at least one in audio media files, video media file and picture file.
Optionally, in one embodiment of the invention, as shown in Figure 7, media file back-up device 20 also comprises indexing unit 204, specifically for:
Receive preservation or the out code of user to media file;
Send vital document mark prompting to described user, to point out described user whether as described preservation or the media file marking value documents mark of closing;
Receive the marking value documents mark instruction that user sends according to described vital document mark prompting;
For described preservation or the media file marking value documents mark of closing.
Alternately, in one embodiment of the invention, indexing unit 204 specifically for:
Receive the edit instruction of user to media file;
According to described edit instruction, display media Document Editing option, described media file editing options comprises the option of marking value documents mark;
Receive the selection instruction of the option of user to described marking value documents mark;
For described editor's media file marking value documents mark.
Be understandable that, in one embodiment of the invention, indexing unit 204 at least one mode in can compatible above-mentioned two kinds of mark modes scans.
Optionally, in one embodiment of the invention, scanning element 201 specifically for:
Receive user's scan instruction, described scan instruction indication scans the media file of storing on described the first memory device;
According to described user's scan instruction, scan the media file of storing on described the first memory device, to determine whether described media file is marked with vital document mark;
Optionally, in one embodiment of the invention, scanning element 201 specifically for:
Determine that user operates the media file of described the first memory device, stores;
Scan the described media file that described user operated, to determine whether the media file that described user operated is marked with vital document mark;
Optionally, in one embodiment of the invention, scanning element 201 specifically for:
According to the scan period setting in advance, the media file of storing on scanning the first memory device, to determine whether described media file is marked with vital document mark.
Be understandable that, in one embodiment of the invention, at least two kind modes of scanning element 201 in can compatible above-mentioned three kinds of modes scan.
Optionally, in one embodiment of the invention:
On the first memory device, be provided with the first back-up storage district;
As shown in Figure 8, device 20 also can comprise:
The first buffer unit 205, is placed into the first back-up storage district of described the first memory device for the directory information of media file that acquiring unit 202 is obtained;
In this case, backup units 203 specifically for:
Read the directory information that the first buffer unit 205 is placed on the first back-up storage district;
According to the directory information reading, media file corresponding directory information is backuped on the second memory device.
Further, in one embodiment of the present of invention:
Scanning element 201 is also for scanning the media file of storing on the second memory device, to determine whether media file is marked with vital document mark;
If acquiring unit 202 is also marked with vital document mark for media file, obtain the directory information of media file;
Backup units 203 also, for the directory information of the media file that obtains according to acquiring unit 202, backups to media file on the first memory device.
Further, in one embodiment of the present of invention, as shown in Figure 9, media file back-up device 20 also can comprise:
Determining unit 206, if the first memory device is dismantled, is replaced by the 3rd memory device from subscriber equipment for user, determines that the first memory device is replaced by the 3rd memory device by user;
Now, backup units 203 is also for being synchronized to the 3rd memory device by backuping to media file on the second memory device, the first memory device, stores.
Further, in one embodiment of the present of invention, as shown in figure 10, media file back-up device 20 also can comprise:
Detecting unit 207, for detection of the duty of the first memory device;
Switch unit 208, if detect that for detecting unit 207 the first memory device is in abnormal work state:
Send memory device switch prompting to user, to point out user to carry out memory device switching;
Receive user's memory device switching command;
According to memory device switching command, the first memory device is switched to described the second memory device;
Or
If the first memory device, in abnormal work state, switches to the second memory device by the first memory device automatically.
It should be noted that, the concrete function of each structural unit of the media file back-up device 20 that the embodiment of the present invention provides refers to embodiment of the method above.
Figure 11 shows that the another kind of embodiment of media file back-up device provided by the invention, as shown in figure 11, the media file back-up device 40 that the present embodiment provides, comprises processor 401, storer 402, communication interface 403 and bus 404.Processor 401, storer 402 and communication interface 403 are connected by bus 404 and complete mutual communication.Described bus 404 can be industry standard architecture (IndustryStandard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry StandardArchitecture, referred to as EISA) bus etc.Described bus 404 can be divided into address bus, data bus, control bus etc.For ease of representing, in Figure 10, only represent with a thick line, but do not represent only to have the bus of a bus or a type.Wherein:
Storer 402 is for stores executable programs code, and this program code comprises computer-managed instruction.Storer 402 may comprise high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.
Processor 401 moves the program corresponding with described executable program code by the executable program code of storage in read memory 402, for:
Scan the media file of storing on the first memory device, to determine whether media file is marked with vital document mark;
If media file is marked with vital document mark, obtain the directory information of media file;
According to the directory information of the media file obtaining, media file is backuped on the second memory device.
Wherein, processor 401 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuit of the embodiment of the present invention.
It should be noted that, above-mentioned processor 401, except having above-mentioned functions, also can be used for carrying out other flow processs in said method embodiment, does not repeat them here.
Also it should be noted that, in processor 401, the division of each functional unit can, referring to the embodiment of aforesaid media file back-up device, not repeat them here.
It should be noted that, in one embodiment of the invention, storer 402 can with the first memory device and the second memory device in any one be same parts.
Accordingly, the embodiment of the present invention also provides a kind of subscriber equipment 5, and as shown in figure 12, subscriber equipment 5 comprises:
At least two memory devices and media file back-up device 52;
Described at least two memory devices comprise the first memory device 50 and the second memory device 51;
Media file back-up device 20 is connected with the second memory device 51 with the first memory device 50 respectively, for:
Scan the media file of storage on the first memory device 50, to determine whether media file is marked with vital document mark;
If media file is marked with vital document mark, obtain the directory information of media file;
According to the directory information of media file, media file is backuped on the second memory device 51.
The subscriber equipment 5 of the embodiment of the present invention, media file back-up device 20 can scan the media file of storage on the first memory device 50, in the time that described media file is marked with vital document mark, according to the directory information of this file, this media file is backuped on the second memory device 51, that is to say, media file back-up device 20 can automatic benchmarking's note have the media file of important media file mark to back up, so, only need user to carry out mark to important media file, complete backup without operations such as user manually copy, therefore effectively simplified the troublesome operation that user backs up, can also avoid preferably forgeing or omitting the File lose causing due to user, effectively guarantee the security of backup, thereby obviously improving user experiences, and without increasing any chip, effectively reduce cost.
Wherein, the media file back-up device that media file back-up device 52 can provide for previous embodiment repeats no more herein.
Optionally, the first memory device 50 can comprise following any one: hard disk, floppy disk, USB flash disk, CD, portable hard drive, disk or storage card; The second memory device 51 comprise following any one: hard disk, floppy disk, USB flash disk, CD, portable hard drive, disk or storage card.
Concrete, the subscriber equipment 5 that the embodiment of the present invention provides can be mobile phone, computer, panel computer, personal digital assistant, can certainly be the subscriber equipment that comprises two memory devices of other types, the present invention does not limit this.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is and the difference of other embodiment.Especially,, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.
It should be noted that, device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or signal wire.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly comprise that special IC, dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions being completed by computer program can realize with corresponding hardware easily, and the particular hardware structure that is used for realizing same function can be also diversified, such as mimic channel, digital circuit or special circuit etc.But software program realization is better embodiment under more susceptible for the purpose of the present invention condition.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computing machine, USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the method described in the present invention each embodiment.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (23)

1. a method for media file backup, is characterized in that, comprising:
Scan the media file of storing on the first memory device, to determine whether described media file is marked with vital document mark;
If described media file is marked with vital document mark, obtain the directory information of described media file;
According to the directory information of the described media file obtaining, described media file is backuped on the second memory device.
2. method according to claim 1, is characterized in that,
Described media file comprises at least one in audio media files, video media file and picture file.
3. method according to claim 1 and 2, is characterized in that, the media file of storing on described scanning the first memory device, and before determining whether described media file has vital document mark, described method also comprises:
Receive preservation or the out code of user to media file;
Send vital document mark prompting to described user, to point out described user whether as described preservation or the media file marking value documents mark of closing;
Receive the marking value documents mark instruction that user sends according to described vital document mark prompting;
For described preservation or the media file marking value documents mark of closing.
4. method according to claim 1 and 2, is characterized in that, the media file of storing on described scanning the first memory device, and before determining whether described media file has vital document mark, described method also comprises:
Receive the edit instruction of user to media file;
According to described edit instruction, display media Document Editing option, described media file editing options comprises the option of marking value documents mark;
Receive the selection instruction of the option of user to described marking value documents mark;
For described editor's media file marking value documents mark.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, the media file of storing on described scanning the first memory device, to determine whether described media file is marked with vital document mark and comprises:
Receive user's scan instruction, described scan instruction indication scans the media file of storing on described the first memory device;
According to described user's scan instruction, scan the media file of storing on described the first memory device, to determine whether described media file is marked with vital document mark;
Or
Determine that user operates the media file of described the first memory device, stores;
Scan the described media file that described user operated, to determine whether the media file that described user operated is marked with vital document mark;
Or
According to the scan period setting in advance, the media file of storing on scanning the first memory device, to determine whether described media file is marked with vital document mark.
6. according to the method described in claim 1 to 5 any one, it is characterized in that,
In described the first memory device, be provided with the first back-up storage district;
After the described directory information that obtains described media file, described according to the directory information of described media file, before described media file is backuped on the second memory device, described method also comprises:
The directory information of the described described media file obtaining is placed into the first back-up storage district of described the first memory device;
Described according to the directory information of described media file, described media file is backuped on the second memory device and comprised:
Described in reading, be placed on the directory information in described the first back-up storage district;
According to the described described directory information reading, media file corresponding described directory information is backuped on described the second memory device.
7. according to the method described in claim 1 to 6 any one, it is characterized in that, described method also comprises:
Scan the media file of storing on the second memory device, to determine whether described media file is marked with vital document mark;
If described media file is marked with vital document mark, obtain the directory information of described media file;
According to the directory information of described media file, described media file is backuped on the first memory device.
8. method according to claim 7, is characterized in that,
In described the first memory device, be provided with the second back-up storage district;
Described according to the directory information of described media file, described media file is backuped on the first memory device and comprised:
According to the directory information of described media file, described media file is backuped to the second back-up storage district on the first memory device.
9. according to the method described in claim 1 to 8 any one, it is characterized in that, described, according to the directory information of described media file, after described media file is backuped on the second memory device, described method also comprises:
Determine that the first memory device is replaced by the 3rd memory device by described user;
Backup to media file on described the second memory device, described the first memory device, stores and be synchronized on described the 3rd memory device described.
10. according to the method described in claim 1 to 9 any one, described method also comprises:
Detect the duty of described the first memory device;
If detect that described the first memory device is in abnormal work state:
Send memory device switch prompting to user, to point out described user to carry out memory device switching; Receive user's memory device switching command; According to described memory device switching command, described the first memory device is switched to described the second memory device;
Or
Automatically described the first memory device is switched to described the second memory device.
The device of 11. 1 kinds of media file backups, is characterized in that, comprising:
Scanning element, for scanning the media file of storing on the first memory device, to determine whether described media file is marked with vital document mark;
Acquiring unit, is marked with vital document mark if scan described media file for described scanning element, obtains the directory information of described media file;
Backup units, for the directory information of the described media file that obtains according to described acquiring unit, backups to described media file on the second memory device.
12. devices according to claim 11, is characterized in that,
The media file of described scanning element scanning comprises at least one in audio media files, video media file and picture file.
13. according to the device described in claim 11 or 12, it is characterized in that, described device also comprises indexing unit, for:
Receive preservation or the out code of user to media file;
Send vital document mark prompting to described user, to point out described user whether as described preservation or the media file marking value documents mark of closing;
Receive the marking value documents mark instruction that user sends according to described vital document mark prompting;
For described preservation or the media file marking value documents mark of closing.
14. according to the device described in claim 11 or 12, it is characterized in that, described device also comprises indexing unit, for:
Receive the edit instruction of user to media file;
According to described edit instruction, display media Document Editing option, described media file editing options comprises the option of marking value documents mark;
Receive the selection instruction of the option of user to described marking value documents mark;
For described editor's media file marking value documents mark.
15. according to claim 11 to the device described in 14 any one, it is characterized in that, described scanning element specifically for:
Receive user's scan instruction, described scan instruction indication scans the media file of storing on described the first memory device;
According to described user's scan instruction, scan the media file of storing on described the first memory device, to determine whether described media file is marked with vital document mark;
Or
Determine that user operates the media file of described the first memory device, stores;
Scan the described media file that described user operated, to determine whether the media file that described user operated is marked with vital document mark;
Or
According to the scan period setting in advance, the media file of storing on scanning the first memory device, to determine whether described media file is marked with vital document mark.
16. according to claim 11 to the device described in 15 any one, it is characterized in that,
In described the first memory device, be provided with the first back-up storage district;
Described device also comprises:
The first buffer unit, is placed into the first back-up storage district of described the first memory device for the directory information of described media file that described acquiring unit is obtained;
Described backup units specifically for:
Read the directory information that described the first buffer unit is placed on described the first back-up storage district;
According to the described described directory information reading, media file corresponding described directory information is backuped on described the second memory device.
17. according to claim 11 to the device described in 16 any one, it is characterized in that,
Described scanning element is also for scanning the media file of storing on the second memory device, to determine whether described media file is marked with vital document mark;
If described acquiring unit is also marked with vital document mark for described media file, obtain the directory information of described media file;
Described backup units also, for according to the directory information of described media file, backups to described media file on the first memory device.
18. according to the device described in claim 17 any one, it is characterized in that,
In described the first memory device, be provided with the second back-up storage district;
Described backup units, specifically for according to the directory information of described media file, backups to the second back-up storage district on the first memory device by described media file.
19. according to claim 11 to the device described in 18 any one, it is characterized in that, described device also comprises:
Determining unit, for determining that the first memory device is replaced by the 3rd memory device by described user;
Described backup units is also for backuping to media file on described the second memory device, described the first memory device, stores and be synchronized to described the 3rd memory device described.
20. according to claim 11 to the device described in 19 any one, and described device also comprises:
Detecting unit, for detection of the duty of described the first memory device;
Switch unit, if detect that for described detecting unit described the first memory device is in abnormal work state:
Send memory device switch prompting to user, to point out described user to carry out memory device switching;
Receive user's memory device switching command;
According to described memory device switching command, described the first memory device is switched to described the second memory device;
Or
If described the first memory device, in abnormal work state, switches to described the second memory device by described the first memory device automatically.
21. 1 kinds of subscriber equipmenies, is characterized in that, comprising:
The first memory device, the second memory device and media file back-up device;
Described media file back-up device is connected with the second memory device with described the first memory device respectively, for:
Scan the media file of storing on the first memory device, to determine whether described media file is marked with vital document mark;
If described media file is marked with vital document mark, obtain the directory information of described media file;
According to the directory information of described media file, described media file is backuped on the second memory device.
22. subscriber equipmenies according to claim 21, is characterized in that,
Described the first memory device comprise following any one:
Hard disk, floppy disk, USB flash disk, CD, portable hard drive, disk or storage card;
Described the second memory device comprise following any one:
Hard disk, floppy disk, USB flash disk, CD, portable hard drive, disk or storage card.
23. according to the subscriber equipment described in claim 21 or 22, it is characterized in that, described subscriber equipment comprises mobile phone, computer, panel computer, personal digital assistant.
CN201210575708.0A 2012-12-26 2012-12-26 A kind of method, apparatus and user equipment of media file backup Active CN103902404B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710768953.6A CN107704339B (en) 2012-12-26 2012-12-26 Media file backup method and device and user equipment
CN201210575708.0A CN103902404B (en) 2012-12-26 2012-12-26 A kind of method, apparatus and user equipment of media file backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210575708.0A CN103902404B (en) 2012-12-26 2012-12-26 A kind of method, apparatus and user equipment of media file backup

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710768953.6A Division CN107704339B (en) 2012-12-26 2012-12-26 Media file backup method and device and user equipment

Publications (2)

Publication Number Publication Date
CN103902404A true CN103902404A (en) 2014-07-02
CN103902404B CN103902404B (en) 2018-04-27

Family

ID=50993741

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210575708.0A Active CN103902404B (en) 2012-12-26 2012-12-26 A kind of method, apparatus and user equipment of media file backup
CN201710768953.6A Active CN107704339B (en) 2012-12-26 2012-12-26 Media file backup method and device and user equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201710768953.6A Active CN107704339B (en) 2012-12-26 2012-12-26 Media file backup method and device and user equipment

Country Status (1)

Country Link
CN (2) CN103902404B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407941A (en) * 2014-11-26 2015-03-11 上海爱数软件有限公司 Windows file backup method base on file archive attribute
CN106227468A (en) * 2016-07-26 2016-12-14 惠州市斯坦利科技有限公司 Document handling method and device
CN106293514A (en) * 2016-07-26 2017-01-04 惠州市斯坦利科技有限公司 The document handling method of flash memory device and device
CN106293515A (en) * 2016-07-26 2017-01-04 惠州市斯坦利科技有限公司 Flash memory device file reading and device
CN106293513A (en) * 2016-07-26 2017-01-04 惠州市斯坦利科技有限公司 Movable storage device file reading and device
CN106446229A (en) * 2016-10-08 2017-02-22 北京恒华伟业科技股份有限公司 Management method and device for necessity control over service function attachments
CN107195023A (en) * 2017-05-31 2017-09-22 深圳奥尼电子股份有限公司 Data storage method and automobile data recorder
CN112637302A (en) * 2020-12-16 2021-04-09 上海阅竞网络科技有限公司 Software operating system running on hardware equipment of Internet of things

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902404B (en) * 2012-12-26 2018-04-27 华为终端有限公司 A kind of method, apparatus and user equipment of media file backup
CN110196785B (en) * 2018-02-27 2022-06-14 浙江宇视科技有限公司 Data backup management method and device and electronic equipment
CN115988008A (en) * 2022-12-29 2023-04-18 江苏倍鼎网络科技有限公司 High-density storage method and system for cloud storage system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547863A (en) * 2001-07-18 2004-11-17 ���˶�����ά������˹�ƶ��� Data security device
CN1904847A (en) * 2005-07-28 2007-01-31 国际商业机器公司 Method and system for determining changes made to a source file to transmit to a target location
CN101446966A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Data storage method and system
CN102419720A (en) * 2011-09-29 2012-04-18 奇智软件(北京)有限公司 Method and device for backing up data of user
CN102467419A (en) * 2010-11-10 2012-05-23 英业达股份有限公司 File backup method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011205521A (en) * 2010-03-26 2011-10-13 Seiko Epson Corp Backup control device
CN102169453A (en) * 2011-03-08 2011-08-31 杭州电子科技大学 File online backup method
CN103902404B (en) * 2012-12-26 2018-04-27 华为终端有限公司 A kind of method, apparatus and user equipment of media file backup

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547863A (en) * 2001-07-18 2004-11-17 ���˶�����ά������˹�ƶ��� Data security device
CN1904847A (en) * 2005-07-28 2007-01-31 国际商业机器公司 Method and system for determining changes made to a source file to transmit to a target location
CN101446966A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Data storage method and system
CN102467419A (en) * 2010-11-10 2012-05-23 英业达股份有限公司 File backup method
CN102419720A (en) * 2011-09-29 2012-04-18 奇智软件(北京)有限公司 Method and device for backing up data of user

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
APPLE: ""iphoto for iOS(iPhone):给照片标上旗标、标记或隐藏照片"", 《HTTPS://SUPPORT.APPLE.COM/KB/PH3251?LOCALE=ZH_CN&VIEWLOCALE=ZH_CN》 *
MICROSOFT: ""向文件添加标记或其他属性"", 《HTTP://WINDOWS.MICROSOFT.COM/ZH-CN/WINDOWS-VISTA/ADD-TAGS-OR-OTHER-PROPERTIES-TO-A-FILE》 *
WIND 5Y: "《电脑报》", 5 April 2004 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407941A (en) * 2014-11-26 2015-03-11 上海爱数软件有限公司 Windows file backup method base on file archive attribute
CN104407941B (en) * 2014-11-26 2018-11-23 上海爱数信息技术股份有限公司 A kind of windows file backup method based on archiving files attribute
CN106227468A (en) * 2016-07-26 2016-12-14 惠州市斯坦利科技有限公司 Document handling method and device
CN106293514A (en) * 2016-07-26 2017-01-04 惠州市斯坦利科技有限公司 The document handling method of flash memory device and device
CN106293515A (en) * 2016-07-26 2017-01-04 惠州市斯坦利科技有限公司 Flash memory device file reading and device
CN106293513A (en) * 2016-07-26 2017-01-04 惠州市斯坦利科技有限公司 Movable storage device file reading and device
CN106446229A (en) * 2016-10-08 2017-02-22 北京恒华伟业科技股份有限公司 Management method and device for necessity control over service function attachments
CN107195023A (en) * 2017-05-31 2017-09-22 深圳奥尼电子股份有限公司 Data storage method and automobile data recorder
CN112637302A (en) * 2020-12-16 2021-04-09 上海阅竞网络科技有限公司 Software operating system running on hardware equipment of Internet of things

Also Published As

Publication number Publication date
CN103902404B (en) 2018-04-27
CN107704339B (en) 2021-06-15
CN107704339A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN103902404A (en) Method and device for media file backup and user equipment
CN106776514B (en) Annotating method and device
CN102197362B (en) Surfacing and management of window-specific controls
US8701001B2 (en) Screen capture
CN102831035A (en) Information backup method and device
JP2011165032A (en) Computer program and data backup method
CN105487752A (en) Application control method and terminal applying same
CN103019899A (en) Method and system for replaying intelligent terminal event as well as intelligent terminal
CN103617209A (en) File management method and file management device for mobile terminal
CN105574163A (en) File processing method and device and electronic equipment
US8020097B2 (en) Recorder user interface
CN109408284A (en) Online document restoration methods and its device, equipment, storage medium
CN105843903A (en) File management method and terminal
CN106294387A (en) Data migration method and device
CN102331956A (en) User data backup method and device
CN103279337A (en) Method and apparatus for executing application file and screen capture method and apparatus therefor
US10936159B2 (en) Display of a plurality of files from multiple devices
CN112434494A (en) Text editing method, device, terminal and storage medium
CN104424306A (en) Method, device and terminal equipment for recording log
EP3073360B1 (en) Multi-media data backup method, user terminal and synchronizer
CN109344001B (en) Concurrent backup method and system for virtual machine files
CN101334990A (en) Information display apparatus, display system, and information display method
CN107885807B (en) File saving method and device, intelligent tablet and storage medium
CN104424006A (en) Apparatus and control method
CN101989209A (en) Method for starting user operation interface in electronic device

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181218

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.