CN109117316A - A kind of data managing method, data administrator and mobile terminal - Google Patents

A kind of data managing method, data administrator and mobile terminal Download PDF

Info

Publication number
CN109117316A
CN109117316A CN201811116839.6A CN201811116839A CN109117316A CN 109117316 A CN109117316 A CN 109117316A CN 201811116839 A CN201811116839 A CN 201811116839A CN 109117316 A CN109117316 A CN 109117316A
Authority
CN
China
Prior art keywords
data
deleted
mentioned
mobile terminal
external equipment
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
CN201811116839.6A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811116839.6A priority Critical patent/CN109117316A/en
Publication of CN109117316A publication Critical patent/CN109117316A/en
Pending legal-status Critical Current

Links

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

Abstract

This application discloses a kind of data managing method, data administrator, mobile terminal and computer readable storage mediums, wherein the data managing method includes: mobile terminal after connecting with external equipment, receives operation code transmitted by the external equipment;On-unit is determined according to the operation code;If the on-unit is delete operation, data to be deleted pointed by the delete operation are obtained;The data to be deleted are uploaded to preset cloud server;After the data to be deleted are uploaded to preset cloud server, the data to be deleted are deleted from the mobile terminal.Application scheme can help user to give the data for missing the mobile terminal deleted by external equipment for change.

Description

A kind of data managing method, data administrator and mobile terminal
Technical field
The invention belongs to technical field of information management more particularly to a kind of data managing method, data administrator, movements Terminal and computer readable storage medium.
Background technique
When mobile terminal is that external equipment is connected, what user can on this external device store mobile terminal Data carry out operations, such as delete or replicate etc..However, the data currently stored on external equipment to mobile terminal When carrying out delete operation, which can directly be crushed, this will lead to when occurring accidentally to delete situation, and user can not be again in movement Give the data accidentally deleted at terminal or external equipment for change.
Summary of the invention
It can in view of this, the present invention provides a kind of data managing method, data administrator, mobile terminal and computers Storage medium is read, user can be helped to look for the data for the mobile terminal accidentally deleted by external equipment.
The first aspect of the present invention provides a kind of data managing method, comprising:
Mobile terminal receives operation code transmitted by said external equipment after connecting with external equipment;
On-unit is determined according to aforesaid operations code;
If above-mentioned on-unit is delete operation, data to be deleted pointed by above-mentioned delete operation are obtained;
Above-mentioned data to be deleted are uploaded to preset cloud server;
After above-mentioned data to be deleted are uploaded to preset cloud server, by above-mentioned data to be deleted from above-mentioned movement It is deleted in terminal.
The second aspect of the present invention provides a kind of data administrator, comprising:
Receiving unit receives operation transmitted by said external equipment for mobile terminal after connecting with external equipment Code;
Determination unit, for determining on-unit according to aforesaid operations code;
Acquiring unit obtains pointed by above-mentioned delete operation if being delete operation for above-mentioned on-unit Data to be deleted;
Uploading unit, for above-mentioned data to be deleted to be uploaded to preset cloud server;
Unit is deleted, it, will be above-mentioned to be deleted for after above-mentioned data to be deleted are uploaded to preset cloud server Data are deleted from above-mentioned mobile terminal.
The third aspect of the application provides a kind of mobile terminal, above-mentioned mobile terminal include memory, processor and It is stored in the computer program that can be run in above-mentioned memory and on above-mentioned processor, above-mentioned processor executes above-mentioned computer The step of method of first aspect as above is realized when program.
The fourth aspect of the application provides a kind of computer readable storage medium, and above-mentioned computer readable storage medium is deposited Computer program is contained, above-mentioned computer program realizes the method for first aspect as above when being executed by processor the step of.
The 5th aspect of the application provides a kind of computer program product, and above-mentioned computer program product includes computer Program, when above-mentioned computer program is executed by one or more processors the step of the realization such as method of above-mentioned first aspect.
Therefore in application scheme, after connecting with external equipment, reception said external first is set mobile terminal Standby transmitted operation code, then determines on-unit according to aforesaid operations code, if above-mentioned on-unit is to delete Operation, then obtain data to be deleted pointed by above-mentioned delete operation, and above-mentioned data to be deleted are uploaded to preset cloud and are taken Business device, and above-mentioned data to be deleted are deleted from above-mentioned mobile terminal.By application scheme, user is passing through external equipment When carrying out delete operation to the data to be deleted in mobile terminal, which can be uploaded to cloud service before being deleted Device backs up, and user is allowed to give data for change when needed, avoids that data can not be given for change after deleting there is a situation where mistake.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of data managing method provided by the embodiments of the present application;
Fig. 2 is the network that mobile terminal and external equipment establish connection in data managing method provided by the embodiments of the present application Architecture diagram;
Fig. 3 is another implementation process schematic diagram of data managing method provided by the embodiments of the present application;
Fig. 4 is the structural block diagram of data administrator provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate the technical solution of the present invention, the following is a description of specific embodiments.
Embodiment one
A kind of data managing method provided by the embodiments of the present application is described below, referring to Fig. 1, the application is implemented Example in data managing method include:
In a step 101, mobile terminal receives operation transmitted by said external equipment after connecting with external equipment Code;
In the embodiment of the present application, above-mentioned mobile terminal can pass through general series interface (Universal Serial Bus, USB) with the external equipments such as the end PC media transmission protocol (Media Transfer Protocol, MTP) connection is established, In, MTP connection is the connection type defaulted when current most mobile terminals based on android system are connected with computer, It is mainly used for transmission media file.Referring to Fig. 2, mobile terminal 21 passes through data line Fig. 2 shows in the embodiment of the present application 22 carry out the network architecture diagram of MTP connection with external equipment 23.The above-mentioned MTP protocol specification operation code of multiple operation requests, Such as duplication, stickup, shearing or delete operation, thus in the embodiment of the present application, when mobile terminal is connect with external equipment Afterwards, it can monitor whether mobile terminal receives operation code transmitted by external equipment.Optionally, aforesaid operations code can be carried on In one operation requests.
In a step 102, on-unit is determined according to aforesaid operations code;
In the embodiment of the present application, if listening to above-mentioned mobile terminal receives operation code transmitted by external equipment, by A type of operation is uniquely corresponded in each operation code, thus, then on-unit can be determined according to operation code.
In step 103, if above-mentioned on-unit be delete operation, obtain pointed by above-mentioned delete operation to Delete data;
In the embodiment of the present application, since application scheme is primarily upon the mistake delete operation of user, thus, work as step When determining that current on-unit is delete operation according to the operation code received in 102, the delete operation institute can be first obtained The data to be deleted being directed toward.Above-mentioned data to be deleted include but is not limited to file and comprising documentary file, above-mentioned file Including but not limited to picture file, video file, audio file.
At step 104, above-mentioned data to be deleted are uploaded to preset cloud server;
In the embodiment of the present application, after getting above-mentioned data to be deleted, before executing delete operation, by it is above-mentioned to It deletes data and is uploaded to preset cloud server.Specifically, user needs to register in the cloud server in advance, and by Above-mentioned cloud server is that user divides a memory space, and later, user can be by setting outside any mobile terminal or the end PC etc. It is standby to log in above-mentioned cloud server;After mobile terminal logs in above-mentioned cloud server, this step just can be performed.
In step 105, after above-mentioned data to be deleted are uploaded to preset cloud server, by above-mentioned number to be deleted It is deleted according to from above-mentioned mobile terminal.
In the embodiment of the present application, after data to be deleted are uploaded to above-mentioned cloud server by step 104, then will be above-mentioned Data to be deleted are deleted from above-mentioned mobile terminal.Above-mentioned delete operation is specially by above-mentioned data to be deleted from mobile terminal It is deleted in file system.
Optionally, after above-mentioned steps 105, above-mentioned data managing method further include:
Based on above-mentioned delete operation, the media library of above-mentioned mobile terminal is updated;
The operating result of delete operation is fed back into said external equipment.
In the embodiment of the present application, step 105 operates the only file system by data to be deleted from mobile terminal Eliminated in system, but due to file system with media library be not it is constantly synchronous, thus, after above-mentioned delete operation, also need The media library of above-mentioned mobile terminal is updated based on the delete operation, i.e., it is associated with above-mentioned operation to be deleted in deletion media library Mapping.After being successfully updated media library, the operating result of above-mentioned delete operation can be fed back into said external equipment, example Such as, above-mentioned file to be deleted can be fed back and delete successfully/failure from file system and media library, and/or, it can feed back above-mentioned File to be deleted is uploaded to default cloud server success/failure.Optionally, due in step 104, needing user to take to cloud After business device is registered and logined successfully, mobile terminal just can execute upload operation to data to be deleted and not infuse in user in other words When volume/login, above-mentioned upload operation will failure;It is of course also possible to there are other reasons to cause to upload failure, for example, mobile terminal Network failure etc..Thus in this step, can not only feed back above-mentioned file to be deleted be uploaded to the success of default cloud server/ Failure, can also be when above-mentioned file to be deleted be uploaded to the failure of default cloud server, while feeding back the reason of upload fails.
It is optionally, above-mentioned that the operating result of delete operation is fed back into said external equipment, comprising:
The address of above-mentioned cloud server and above-mentioned data to be deleted are fed back in the storage location of above-mentioned cloud server To above-mentioned external equipment.
In the embodiment of the present application, in order to allow user can accidentally delete data after can check the number accidentally deleted in time According to can be after having executed above-mentioned steps 105, by the address of above-mentioned cloud server and above-mentioned data to be deleted in above-mentioned cloud The storage location of server feeds back to said external equipment.Specifically, above-mentioned storage location be above-mentioned data to be deleted beyond the clouds The store path of server.Said external equipment is in the address and above-mentioned data to be deleted for having received above-mentioned cloud server upper After the storage location for stating cloud server, it can log in what above-mentioned cloud server and checking once was deleted in said external equipment Data.Optionally, if above-mentioned data to be deleted are accidentally to be deleted, mobile terminal can receive the recovery of external equipment transmission Instruction, and recovery instruction is forwarded to cloud server, it is sent alternatively, external equipment directly instructs the recovery of user's input To cloud server;Cloud server is sent to shifting after receiving recovery instruction, by the pointed data of above-mentioned recovery instruction Dynamic terminal realizes the recovery for accidentally deleting data that is, mobile terminal receives the data that cloud server is sent.
Optionally, after the step of above-mentioned operating result by above-mentioned delete operation feeds back to said external equipment, on State data managing method further include:
Data in the media library of updated above-mentioned mobile terminal are sent in said external equipment and are shown.
In the embodiment of the present application, since the data of mobile terminal have made change, in order to ensure mobile terminal and outer The synchronism of content shown by portion's equipment, can be after the completion of above-mentioned delete operation, the completion status based on above-mentioned delete operation Data in the media library of updated above-mentioned mobile terminal are sent in said external equipment by (for example whether deleting successfully) Display.
Therefore by the embodiment of the present application, the data in mobile terminal are deleted by external equipment in user When except operation, after data to be deleted can be first uploaded to preset cloud server by mobile terminal, then is executed in the machine and delete behaviour Make, to avoid there is a situation where can not give for change or restore after data deletion.
In the embodiment of the present application, it should be appreciated that the size of the serial number of each step is not meant to execute in above-described embodiment Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the reality without coping with the embodiment of the present invention It applies process and constitutes any restriction.
Embodiment two
On the basis of the above embodiment 1, another data managing method provided by the embodiments of the present application is carried out below Description, referring to Fig. 3, the data managing method in the embodiment of the present application includes:
In step 301, mobile terminal receives operation transmitted by said external equipment after connecting with external equipment Code;
In step 302, on-unit is determined according to aforesaid operations code;
In step 303, if above-mentioned on-unit be delete operation, obtain pointed by above-mentioned delete operation to Delete data;
In the embodiment of the present application, above-mentioned steps 301,302 and 303 it is identical as above-mentioned steps 101,102 and 103 respectively or Similar, for details, reference can be made to the associated descriptions of above-mentioned steps 101,102 and 103, and details are not described herein.
In step 304, the important index of above-mentioned data to be deleted is calculated;
In the embodiment of the present application, the case where accidentally deleting data due to user is not often to occur, often user It is important data that the data given for change are also wanted after accidentally deleting, thus, it herein can be by calculating the important of data to be deleted Index is to determine whether need data to be deleted being uploaded to cloud server.Specifically, above-mentioned number to be deleted can first be obtained According to access times, creation time and/or occupied space, then according to the access times of above-mentioned data to be deleted, creation time And/or occupied space, calculate the important index of above-mentioned data to be deleted.Specifically, above-mentioned to be made according to above-mentioned data to be deleted With number, creation time and/or occupied space, the step of calculating the important index of above-mentioned data to be deleted, includes:
A1, above-mentioned access times are based on, determine the first scoring;
A2, it is based on above-mentioned creation time, determines the second scoring;
A3, it is based on above-mentioned occupied space, determines that third scores;
A4, weighted average calculation is made to above-mentioned first scoring, above-mentioned second scoring and the scoring of above-mentioned third, by calculated result Important index as above-mentioned data to be deleted.
Wherein it is possible to divide several access times sections, several creation time sections and several occupied space areas Between, for example, being directed to access times, for access times at 0 time to 3 times, scoring is 1 point;For access times at 3 times to 10 times, scoring is 3 Point;For access times at 10 times or more, scoring is 5 points;For creation time, for creation time within January, scoring is 1 point;Wound The time is built before January, in 1 year, scoring is 3 points;Creation time is 5 points the year before, scoring;For occupied space, occupy In 5,000,000, scoring is 1 point in space;For occupied space 5,000,000 to 50,000,000, scoring is 3 points;50,000,000 or more, score is occupied space 5 points;It is then 4 times for an access times, creation time is before 3 days, and the data to be deleted that occupied space is 46,000,000, first comments Divide, the second scoring and third scoring are respectively 3 points, 1 point and 3 points.Certainly, above-mentioned empty to access times, creation time and occupancy Between interval division be only exemplary, user can set different division modes based on self-demand.Above-mentioned weighted average When calculating, the weight of the scoring of above-mentioned first scoring, above-mentioned second scoring and the scoring of above-mentioned third can be by user setting, herein not It limits.
In step 305, whether the important index for detecting above-mentioned data to be deleted is more than preset important index threshold value, if It is to then follow the steps 306, if it is not, thening follow the steps 307;
In the embodiment of the present application, above-mentioned important index threshold value can be set by the user himself, and be not construed as limiting herein.
Within step 306, above-mentioned data to be deleted are uploaded to preset cloud server;
In the embodiment of the present application, only the case where the important index of data to be deleted is more than above-mentioned important index threshold value Under, the data to be deleted are just uploaded to above-mentioned cloud server, that is, only more important data just can before deletion Cloud server backs up.
In step 307, above-mentioned data to be deleted are deleted from above-mentioned mobile terminal.
In the embodiment of the present application, unessential data, i.e. important index are less than the data of above-mentioned important index threshold value, It can directly be deleted by mobile terminal, without being uploaded to cloud server;And important data, i.e. important index are more than above-mentioned important The data of index threshold can delete after being uploaded to cloud server and being backed up, then by mobile terminal.
Therefore by the embodiment of the present application, the data in mobile terminal are deleted by external equipment in user When except operation, first the importance of data to be deleted is judged, if the data to be deleted are more important, mobile terminal can be incited somebody to action After the data to be deleted are first uploaded to preset cloud server, then in the machine execution delete operation, to avoid important number occurs The case where according to that can not give for change or restore after deletion.
Embodiment three
The embodiment of the present application three provides a kind of data administrator, and above-mentioned data administrator can be integrated in mobile terminal In, as shown in figure 4, the data administrator 400 in the embodiment of the present application includes:
Receiving unit 401 receives behaviour transmitted by said external equipment for mobile terminal after connecting with external equipment Make code;
Determination unit 402, for determining on-unit according to aforesaid operations code;
Acquiring unit 403 obtains pointed by above-mentioned delete operation if being delete operation for above-mentioned on-unit Data to be deleted;
Uploading unit 404, for above-mentioned data to be deleted to be uploaded to preset cloud server;
Unit 405 is deleted, for after above-mentioned data to be deleted are uploaded to preset cloud server, by above-mentioned wait delete Except data are deleted from above-mentioned mobile terminal.
Optionally, above-mentioned data administrator 400 further include:
Updating unit updates the media library of above-mentioned mobile terminal for being based on above-mentioned delete operation;
Feedback unit, for the operating result of above-mentioned delete operation to be fed back to said external equipment.
Optionally, above-mentioned feedback unit, specifically for the address of above-mentioned cloud server and above-mentioned data to be deleted exist The storage location of above-mentioned cloud server feeds back to said external equipment.
Optionally, above-mentioned data administrator 400 further include:
Transmission unit, for the data in the media library of updated above-mentioned mobile terminal to be sent to said external equipment Middle display.
Optionally, above-mentioned data administrator 400 further include:
Computing unit, for calculating the important index of above-mentioned data to be deleted;
Above-mentioned uploading unit 404, if the important index specifically for above-mentioned data to be deleted is greater than preset important index Above-mentioned data to be deleted are then uploaded above-mentioned cloud server by threshold value.
Optionally, above-mentioned computing unit includes:
Parameter obtains subelement, and access times, creation time and/or the occupancy for obtaining above-mentioned data to be deleted are empty Between;
Index computation subunit, for empty according to the access times of above-mentioned data to be deleted, creation time and/or occupancy Between, calculate the important index of above-mentioned data to be deleted.
Optionally, above-mentioned index computation subunit includes:
First, which scores, determines subelement, for being based on above-mentioned access times, determines the first scoring;
Second, which scores, determines subelement, for being based on above-mentioned creation time, determines the second scoring;
Third, which scores, determines subelement, for being based on above-mentioned occupied space, determines that third scores;
Weighted average calculation subelement, for adding to above-mentioned first scoring, above-mentioned second scoring and the scoring of above-mentioned third Weight average calculates, using calculated result as the important index of above-mentioned data to be deleted.
Therefore by the embodiment of the present application, the data in mobile terminal are deleted by external equipment in user When except operation, after data to be deleted can be first uploaded to preset cloud server by data administrator, then in mobile terminal sheet Machine executes delete operation, to avoid there is a situation where can not give for change or restore after data deletion.
Example IV
The embodiment of the present application four provides a kind of mobile terminal, referring to Fig. 5, the mobile terminal packet in the embodiment of the present application Include: memory 501 and is stored on memory 501 and can locate one or more processors 502 (only showing one in Fig. 5) The computer program run on reason device.Wherein: for memory 501 for storing software program and module, processor 502 passes through fortune Row is stored in the software program and unit of memory 501, thereby executing various function application and data processing, on obtaining State the corresponding resource of predeterminable event.Specifically, processor 502 is stored in the above-mentioned computer program of memory 501 by operation When perform the steps of
Mobile terminal receives operation code transmitted by said external equipment after connecting with external equipment;
On-unit is determined according to aforesaid operations code;
If above-mentioned on-unit is delete operation, data to be deleted pointed by above-mentioned delete operation are obtained;
Above-mentioned data to be deleted are uploaded to preset cloud server;
After above-mentioned data to be deleted are uploaded to preset cloud server, by above-mentioned data to be deleted from above-mentioned movement It is deleted in terminal.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, it is above-mentioned by above-mentioned data to be deleted from above-mentioned mobile terminal delete after, it is above-mentioned Processor 502 is stored by operation and is also performed the steps of in the above-mentioned computer program of memory 501
Based on above-mentioned delete operation, the media library of above-mentioned mobile terminal is updated;
The operating result of delete operation is fed back into said external equipment.
It is above-mentioned in the third the possible embodiment provided based on above-mentioned second of possible embodiment The operating result of delete operation is fed back into said external equipment, comprising:
The address of above-mentioned cloud server and above-mentioned data to be deleted are fed back in the storage location of above-mentioned cloud server To above-mentioned external equipment.
In the 4th kind of possible embodiment provided based on above-mentioned second of possible embodiment, inciting somebody to action The operating result of delete operation is fed back to after said external equipment, and above-mentioned processor 502 is stored in memory 501 by operation Above-mentioned computer program when also perform the steps of
Data in the media library of updated above-mentioned mobile terminal are sent in said external equipment and are shown.
Based on the first above-mentioned possible embodiment or above-mentioned second of possible embodiment is as base Plinth is perhaps based on the third above-mentioned possible embodiment or based on above-mentioned 4th kind of possible embodiment And in the 5th kind of possible embodiment provided, it is above-mentioned in above-mentioned acquisition if above-mentioned on-unit is delete operation After data to be deleted pointed by delete operation, above-mentioned processor 502 is stored in the above-mentioned calculating of memory 501 by operation It is also performed the steps of when machine program
Calculate the important index of above-mentioned data to be deleted;
It is above-mentioned that above-mentioned data to be deleted are uploaded to preset cloud server, comprising:
If the important index of above-mentioned data to be deleted is greater than preset important index threshold value, will be in above-mentioned data to be deleted It catches and states cloud server.
It is above-mentioned in the 6th kind of possible embodiment provided based on above-mentioned 5th kind of possible embodiment Calculate the important index of above-mentioned data to be deleted, comprising:
Obtain access times, creation time and/or the occupied space of above-mentioned data to be deleted;
According to access times, creation time and/or the occupied space of above-mentioned data to be deleted, above-mentioned data to be deleted are calculated Important index.
It is above-mentioned in the 7th kind of possible embodiment provided based on above-mentioned 6th kind of possible embodiment According to access times, creation time and/or the occupied space of above-mentioned data to be deleted, the important finger of above-mentioned data to be deleted is calculated Number, comprising:
Based on above-mentioned access times, the first scoring is determined;
Based on above-mentioned creation time, the second scoring is determined;
Based on above-mentioned occupied space, determine that third scores;
Weighted average calculation is made to above-mentioned first scoring, above-mentioned second scoring and the scoring of above-mentioned third, calculated result is made For the important index of above-mentioned data to be deleted.
Further, as shown in figure 5, above-mentioned mobile terminal may also include that one or more input equipments 503 (only show in Fig. 5 One out) and one or more output equipments 504 (one is only shown in Fig. 5).Memory 501, processor 502, input equipment 503 and output equipment 504 connected by bus 505.
It should be appreciated that in the embodiment of the present application, alleged processor 502 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 503 may include keyboard, Trackpad, fingerprint adopt sensor (for acquire user finger print information and The directional information of fingerprint), microphone etc., output equipment 504 may include display, loudspeaker etc..
Memory 501 may include read-only memory and random access memory, and provide instruction sum number to processor 502 According to.Part or all of memory 501 can also include nonvolatile RAM.For example, memory 501 may be used also With the information of storage device type.
Therefore by the embodiment of the present application, the data in mobile terminal are deleted by external equipment in user When except operation, after data to be deleted can be first uploaded to preset cloud server by mobile terminal, then is executed in the machine and delete behaviour Make, to avoid there is a situation where can not give for change or restore after data deletion.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or external equipment software and electronic hardware.These functions are studied carefully Unexpectedly it is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technique people Member can use different methods to achieve the described function each specific application, but this realization is it is not considered that super Scope of the present application out.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, system embodiment described above is only schematical, for example, the division of above-mentioned module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the application realizes above-described embodiment method In all or part of the process, relevant hardware can also be instructed to complete by computer program, above-mentioned computer journey Sequence can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of embodiment of the method.Wherein, above-mentioned computer program includes computer program code, and above-mentioned computer program code can be with For source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer readable storage medium can With include: can carry above-mentioned computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer-readable memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above-mentioned It is appropriate that the content that computer readable storage medium includes can be carried out according to the requirement made laws in jurisdiction with patent practice Increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer readable storage medium do not include be electric load Wave signal and telecommunication signal.
Above above-described embodiment is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of data managing method characterized by comprising
Mobile terminal receives operation code transmitted by the external equipment after connecting with external equipment;
On-unit is determined according to the operation code;
If the on-unit is delete operation, data to be deleted pointed by the delete operation are obtained;
The data to be deleted are uploaded to preset cloud server;
After the data to be deleted are uploaded to preset cloud server, by the data to be deleted from the mobile terminal Middle deletion.
2. data managing method as described in claim 1, which is characterized in that it is described by the data to be deleted from the shifting After being deleted in dynamic terminal, the data managing method further include:
Based on the delete operation, the media library of the mobile terminal is updated;
The operating result of the delete operation is fed back into the external equipment.
3. data managing method as claimed in claim 2, which is characterized in that described to feed back to the operating result of delete operation The external equipment, comprising:
The address of the cloud server and the data to be deleted are fed back into institute in the storage location of the cloud server State external equipment.
4. data managing method as claimed in claim 2, which is characterized in that the operating result of delete operation is being fed back to institute After stating external equipment, the data managing method further includes;
Data in the media library of the updated mobile terminal are sent in the external equipment and are shown.
5. such as the described in any item data managing methods of Claims 1-4, which is characterized in that if the on-unit is Delete operation, then it is described obtain data to be deleted pointed by the delete operation after, the data managing method also wraps It includes:
Calculate the important index of the data to be deleted;
It is described that the data to be deleted are uploaded to preset cloud server, comprising:
If the important index of the data to be deleted is greater than preset important index threshold value, the data to be deleted are uploaded into institute State cloud server.
6. data managing method as claimed in claim 5, which is characterized in that the important finger for calculating the data to be deleted Number, comprising:
Obtain access times, creation time and/or the occupied space of the data to be deleted;
According to access times, creation time and/or the occupied space of the data to be deleted, the weight of the data to be deleted is calculated Want index.
7. data managing method as claimed in claim 6, which is characterized in that the use time according to the data to be deleted Number, creation time and/or occupied space calculate the important index of the data to be deleted, comprising:
Based on the access times, the first scoring is determined;
Based on the creation time, the second scoring is determined;
Based on the occupied space, determine that third scores;
Weighted average calculation is made to first scoring, second scoring and third scoring, using calculated result as institute State the important index of data to be deleted.
8. a kind of data administrator characterized by comprising
Receiving unit receives operation code transmitted by the external equipment for mobile terminal after connecting with external equipment;
Determination unit, for determining on-unit according to the operation code;
Acquiring unit obtains pointed by the delete operation if being delete operation for the on-unit wait delete Except data;
Uploading unit, for the data to be deleted to be uploaded to preset cloud server;
Unit is deleted, for after the data to be deleted are uploaded to preset cloud server, by the data to be deleted It is deleted from the mobile terminal.
9. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 7 of realization the method.
CN201811116839.6A 2018-09-25 2018-09-25 A kind of data managing method, data administrator and mobile terminal Pending CN109117316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811116839.6A CN109117316A (en) 2018-09-25 2018-09-25 A kind of data managing method, data administrator and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811116839.6A CN109117316A (en) 2018-09-25 2018-09-25 A kind of data managing method, data administrator and mobile terminal

Publications (1)

Publication Number Publication Date
CN109117316A true CN109117316A (en) 2019-01-01

Family

ID=64856963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811116839.6A Pending CN109117316A (en) 2018-09-25 2018-09-25 A kind of data managing method, data administrator and mobile terminal

Country Status (1)

Country Link
CN (1) CN109117316A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937862A (en) * 2012-11-22 2013-02-20 广东欧珀移动通信有限公司 System and method for managing mobile terminal by browser
CN105208071A (en) * 2014-11-26 2015-12-30 维沃移动通信有限公司 Mobile terminal data deletion method and mobile terminal
CN106201777A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 The method of information processing and mobile device
CN106815283A (en) * 2016-12-02 2017-06-09 乐视控股(北京)有限公司 Data processing method, device and electronic equipment
CN107609197A (en) * 2017-10-17 2018-01-19 广东欧珀移动通信有限公司 A kind of method of data synchronization, data synchronization unit and mobile terminal
WO2018127116A1 (en) * 2017-01-09 2018-07-12 腾讯科技(深圳)有限公司 Data cleaning method and apparatus, and computer-readable storage medium
CN108304477A (en) * 2017-12-28 2018-07-20 维沃移动通信有限公司 A kind of document handling method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937862A (en) * 2012-11-22 2013-02-20 广东欧珀移动通信有限公司 System and method for managing mobile terminal by browser
CN105208071A (en) * 2014-11-26 2015-12-30 维沃移动通信有限公司 Mobile terminal data deletion method and mobile terminal
CN106201777A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 The method of information processing and mobile device
CN106815283A (en) * 2016-12-02 2017-06-09 乐视控股(北京)有限公司 Data processing method, device and electronic equipment
WO2018127116A1 (en) * 2017-01-09 2018-07-12 腾讯科技(深圳)有限公司 Data cleaning method and apparatus, and computer-readable storage medium
CN107609197A (en) * 2017-10-17 2018-01-19 广东欧珀移动通信有限公司 A kind of method of data synchronization, data synchronization unit and mobile terminal
CN108304477A (en) * 2017-12-28 2018-07-20 维沃移动通信有限公司 A kind of document handling method and device

Similar Documents

Publication Publication Date Title
CN109829308B (en) Control policy management method and device, storage medium and electronic device
KR101871383B1 (en) Method and system for using a recursive event listener on a node in hierarchical data structure
CN109359091B (en) File management method, device, terminal and computer readable storage medium
CN106776146A (en) A kind of data verification method, apparatus and system
CN111400334B (en) Data processing method, data processing device, storage medium and electronic device
CN110515762A (en) Data reconstruction method, device, terminal device and storage medium
CN111083204B (en) File transmission method, device and storage medium
CN111683114A (en) Method and device for upgrading equipment program, terminal equipment and storage medium
CN111159100A (en) Block chain file access method and device, computer equipment and storage medium
CN112732702B (en) Database engine file processing method and device
CN110874345A (en) Data processing method, device and system in distributed storage system
CN106202456B (en) Send the method and device of picture
CN112069190B (en) Batch data acquisition method, device, equipment and medium
CN112044061A (en) Game picture processing method and device, electronic equipment and storage medium
CN115098297B (en) Consistent snapshot generation method and system for cloud primary storage data volume
CN110704198B (en) Data operation method, device, storage medium and processor
CN109117316A (en) A kind of data managing method, data administrator and mobile terminal
CN104657240B (en) The Failure Control method and device of more kernel operating systems
CN109976868A (en) DApp method for customizing, device and electronic equipment
CN109271266A (en) Document transmission method, device and terminal device
CN107977418A (en) A kind of screenshot picture management method, screenshot picture managing device and mobile terminal
CN112073395B (en) File distribution method and device
CN110019040A (en) A kind of file processing method, mobile terminal and storage medium
CN104580672A (en) Information processing method and electronic equipment
CN112988879B (en) Method, system, device, storage medium and processor for accessing database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20190101