CN106716379A - Data processing method, device and terminal device - Google Patents
Data processing method, device and terminal device Download PDFInfo
- Publication number
- CN106716379A CN106716379A CN201680002702.0A CN201680002702A CN106716379A CN 106716379 A CN106716379 A CN 106716379A CN 201680002702 A CN201680002702 A CN 201680002702A CN 106716379 A CN106716379 A CN 106716379A
- Authority
- CN
- China
- Prior art keywords
- data
- workspace
- terminal device
- instruction
- change event
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1471—Saving, restoring, recovering or retrying involving logging of persistent data for recovery
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a data processing method, a device and a terminal device. The method comprises steps of establishing a working region used for operating a preset application; when detecting a file change event in the working region, according to the file change event, acquiring data which is exchanged in the working region; and using the data which is changed as backup data and sending the data to a to-be-configured target end. According to the invention, data in the working region can be completely backed up to a backup server; there is no special requirements on local rest stormage space of a terminal device and safety of the data is high; time for using the terminal of a user is not occupied independently, silent real-time residual quantity backup can be performed at the backstage, the real-time performance is high, requirements on electric quantity is not high and user experience is good; and complete recovery of the data can be finished in a device activation process without entering a recovering mode, operation is convenient and application data backup integration is performed without depending on use of open APIs.
Description
Technical field
This disclosure relates to communication technical field, in particular it relates to a kind of data processing method, device and terminal device.
Background technology
The data backup mode of existing terminal is generally comprised makees local mirror back-up and for specific for whole file system
Application data makees the mode of high in the clouds backup.
Make the mode of local mirror back-up for whole file system, be full backup, Backup Data is protected in the form of a file
Preserved to local PC in the presence of local SD card or by data line transfer., it is necessary to restart equipment during backup file access pattern
Data recovery is carried out with into OS reforestation practices.
And the mode of high in the clouds backup, the data of application-specific need to be collected by various API, and data are passed through into proprietary protocol
High in the clouds is backuped to one by one.When needing data recovery, the data of backup are downloaded to local from high in the clouds backup, and by corresponding API
Corresponding application is updated to respectively.
Therefore, local mirror back-up, not only there is requirement very high, and Backup Data redundancy to terminal local remaining space
Height, backup cycle is long, recovers difficulty big.And high in the clouds is backed up, the application data of the corresponding API of backup opening is also only capable of, and need
For different applications carry out adaptation it is integrated, data backup is not comprehensive, and the integrated cycle is long.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of data processing method, device, computer program
Product, non-transitorycomputer readable storage medium and terminal device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of data processing method, terminal device is applied to, including:
One is set up for running the default workspace applied;
When detecting the file change event in the workspace, according to the file change event, the work is obtained
The data changed in area;
The data for changing are sent to the destination being configured as Backup Data.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of data processing equipment, terminal device is applied to, including:
Module is set up in workspace, for setting up one for running the default workspace applied;
Delta data acquisition module, for detecting during the file change event in the workspace, according to the file
Change events, obtain the data changed in the workspace;
Sending module, for the data for changing to be sent to the destination being configured as Backup Data.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of data processing method, Enterprise Mobile management system is applied to
System, including:
The activation request that receiving terminal apparatus send;
It is authenticated according to the activation request, and when certification passes through, confirmation, institute is returned to the terminal device
State in confirmation comprising the first configured information;First configured information is used to indicate the terminal device to set up one for transporting
The workspace of the default application of row, the data changed in the workspace are sent to the purpose that is configured as Backup Data
End.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of data processing equipment, Enterprise Mobile management system is applied to
System, including:
Receiver module, for the activation request that receiving terminal apparatus send;
Authentication module, for being authenticated according to the activation request, and when certification passes through, returns to the terminal device
Confirmation is returned, the first configured information is included in the confirmation;First configured information is used to indicate the terminal to set
Standby to set up one for running the default workspace applied, the data changed in the workspace are sent as Backup Data
To the destination being configured.
A kind of the 5th aspect according to the embodiment of the present disclosure, there is provided terminal device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor, for setting up for running the default workspace applied;
When detecting the file change event in the workspace, according to the file change event, the work is obtained
The data changed in area;
The data for changing are sent to the destination being configured as Backup Data.
The 6th aspect according to the embodiment of the present disclosure, there is provided a kind of computer program product, the computer program product
Comprising the computer program that can be performed by programmable device, the computer program has when by the programmable device
For performing the code section of above-mentioned data processing method during execution.
A kind of the 7th aspect according to the embodiment of the present disclosure, there is provided non-transitorycomputer readable storage medium, it is described non-
Provisional computer-readable recording medium includes one or more programs, and one or more of programs are used to perform above-mentioned number
According to processing method.
According to the eighth aspect of the embodiment of the present disclosure, there is provided a kind of terminal device, including:Above-mentioned non-transitory computer
Readable storage medium storing program for executing;And one or more processor, for performing the non-transitorycomputer readable storage medium in
Program.
The technical scheme provided by this disclosed embodiment can include the following benefits:Can be complete by the data in workspace
It is whole to backup to backup server, the local residual memory space of terminal device is had no special requirements, Information Security is high;Without exclusive
The time of user's using terminal, real-time differential backup of mourning in silence can be carried out on backstage, real-time, electricity is less demanding, user's body
Test;Can be completed during device activation data full dose recovery, including in workspace all enterprises application and correlation hold
Long data recovery, without entering reforestation practices, simple operation carries out application data backup set without relying on the open API of application
Into.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
Accompanying drawing is, for providing further understanding of the disclosure, and to constitute the part of specification, with following tool
Body implementation method is used to explain the disclosure together, but does not constitute limitation of this disclosure.In the accompanying drawings:
Fig. 1 is the structural representation of the data handling system of the embodiment of the disclosure one;
Fig. 2 is the structural representation of the operating system of the terminal device of the embodiment of the disclosure one;
Fig. 3 is the schematic flow sheet of the data processing method of the embodiment of the disclosure one;
Fig. 4 is the schematic flow sheet of the workspace foundation of the embodiment of the disclosure one;
Fig. 5 is the acquisition schematic flow sheet of the incremental data of the embodiment of the disclosure one;
Fig. 6 is the schematic flow sheet of the delta data of the detection workspace of the embodiment of the disclosure one;
Fig. 7 is the schematic flow sheet of the data processing method of another embodiment of the disclosure;
Fig. 8 is the schematic flow sheet of the data processing method of the another embodiment of the disclosure;
Fig. 9 be the embodiment of the disclosure one be operated area it is newly-built and recover effect diagram;
Figure 10 is the effect diagram for being operated area's deletion of the embodiment of the disclosure one;
Figure 11 is the structural representation of the data processing equipment of the embodiment of the disclosure one;
Figure 12 is the structural representation of the data processing equipment of another embodiment of the disclosure;
Figure 13 is a kind of block diagram of the device for data processing method according to an exemplary embodiment.
Specific embodiment
It is described in detail below in conjunction with accompanying drawing specific embodiment of this disclosure.It should be appreciated that this place is retouched
The specific embodiment stated is merely to illustrate and explains the disclosure, is not limited to the disclosure.
It is the structural representation of the data handling system of the embodiment of the present disclosure referring to Fig. 1.
The data handling system includes:Enterprise Mobile management system (the Enterprise of terminal device 100, high in the clouds
Mobile Management, EMM) 200 and backup server 300.
Wherein, Enterprise Mobile management system 200 includes:Front end interface service, management door, back-end server and database
Deng certification, equipment control, application management, backup server management selection and backup server for providing terminal device
The functions such as backup snapshots management.
Backup server 300 is made up of backup sync server (Rsync Server) and distributed file system, is used for
Storage Backup Data.
Terminal device 100 can be mobile phone, and tablet device, portable computer, messaging devices are wearable to set
It is standby, or personal digital assistant etc..
Terminal device 100 can be connected with Enterprise Mobile management system 200 and backup server 300 respectively by network 400.
Terminal device 100 includes:Processor 101, memory 102 etc..Processor 101 is used to process the logical operation of complexity
And task distribution is carried out, provide the user interactive interface, operation operating system etc..The operating system storage of terminal device 100
In memory 102, operating system includes but is not limited to Linux, Windows, MacOSX etc..
Referring to Fig. 2, in an embodiment of the disclosure, operating system includes:Application layer, ccf layer, local ccf layer and
Inner nuclear layer.Wherein, application layer is used to provide user mutual interface, core application bag etc..Ccf layer includes can be used to structure
Build the view of application program, the activity management for managing application program life cycle and the conventional navigation Backward Function of offer
Device, such that application program accesses Content Provider of the data of another application program etc..Local ccf layer is used to provide
Hardware driving interaction of local service, chained library and bottom etc..Inner nuclear layer be used for carry out security, memory management, management of process,
The functions such as network protocol stack.
In embodiment of the disclosure, EMM manages one or more terminal devices, and for the terminal device for being managed is set
Accounts information and authority information etc..Accounts information may include:Username and password.Authority information may include:Terminal device can pacify
Access right that the application that dress is used is applied with each etc..EMM can be corresponded by database purchase and each terminal device
Accounts information and authority information.
EMM is additionally operable to be connected with one or more backup servers, and the capacity service condition of backup server can be carried out
Management, and be that the corresponding backup server of terminal equipment configuration is standby as its according to the capacity service condition of backup server
Part and the server for recovering.
It is the schematic flow sheet of the data processing method in the embodiment of the disclosure one referring to Fig. 3.The data processing method should
For terminal device, comprise the following steps:
In step 301, one is set up for running the default workspace applied.
In an embodiment of the disclosure, in the preset MDM of the ccf layer of terminal device (Mobile Device
Management) service, the foundation for being operated area, and the file system in detection workspace, for example, detection file
File change event of system etc..
In an embodiment of the disclosure, receive user and set by the initial guide interface of start or system of terminal device
The accounts information of interface input, MDM services send the activation and ask according to accounts information generation activation request to EMM.
EMM receives activation request, then according to the accounts information included in activation request, be authenticated.The process of certification,
The accounts information of the terminal device in the accounts information that will be received and EMM databases is compared, and when both are consistent, recognizes
Card passes through.After certification passes through, EMM is according to the capacity situation of the backup server for being managed, and it is right that one backup server of configuration is used for
The data of terminal device carry out Backup and Restore etc..
In one embodiment of this invention, EMM for initial activation terminal device, in the manner described above, according to backup
The capacity situation of server is the suitable destination of terminal equipment configuration;And for the terminal device of non-initial activation, then can be straight
Selecting destination configured before selecting.
EMM is asked according to activation, determines the usable default application of terminal device, the list of the default application of generation.Certification
By when, EMM to terminal device return confirmation.
In embodiment of the disclosure, confirmation is used to show that the certification of terminal device passes through, and is set up with EMM and is connected.
In one embodiment, confirmation includes:The list of default application and the purpose client information of configuration.Thus, terminal device connects
Receive confirmation, you can the foundation in area is operated according to confirmation.Wherein, backup server information includes:Backup clothes
It is engaged in access way and the available space quota information of backup server (the i.e. available memory space of backup server of device
The information such as size).The access way of backup server is including the domain name and port numbers of backup server etc..
In further embodiments, the first configured information and the second configured information are may also include in confirmation message.Wherein,
One configured information sets up one for running the default workspace applied for instruction terminal.Thus, terminal device receives first
Configured information, i.e., be operated the foundation in area according to default list of application.And the purpose client information that EMM is terminal configuration can then be wrapped
It is contained in the second configured information and is sent to terminal device, is designated as the destination of terminal equipment configuration.
Referring to Fig. 4, in an embodiment of the disclosure, the confirmation that can be returned according to EMM is operated area and (looks forward to
Industry domain, EOS) foundation, its step includes:
In step 401, if receiving the confirmation that Enterprise Mobile management system is returned according to activation request, create
One user.
From the above mentioned, EMM transmissions confirmation can be by following two modes:
Mode 1:The destination information of the list of default application and configuration is included in and is sent to terminal in confirmation and is set
It is standby.Under this mode, terminal device is directly operated the foundation in area according to confirmation.
Mode 2:First configured information and the second configured information are included in confirmation and are sent to terminal device.This side
Under formula, terminal device is operated the foundation in area if the first configured information is received.
In step 402, for the user sets up working directory and internal storage space.
In an embodiment of the disclosure, terminal device supports multi-user's mechanism.By creating new user, it is capable of achieving new
The security isolation built between user and original user, realizes strictly distinguishing the operation area of data, improves operation safety
Property.It is that it sets up corresponding working directory and internal storage space after newly-built user.Working directory includes default application
Copy, additionally, each default application performs temporary file of generation etc. being all stored in working directory.Internal storage space is used for
Accessed for default application, i.e., internal storage space is each default addressable memory space of application.
In an embodiment of the disclosure, MDM service calls DevicePolicyManager creates workspace (i.e. EOS
Domain).A newly-built user is created working directory (/data/user/ { userId }) and the user of user by system framework
Each default addressable internal storage space (/mnt/shell/emulated/ { userId }) of application in workspace, and foundation
The work copy of each default application is set up in the list of the default application that EMM is returned in working directory.After workspace creates successfully,
Readjustment MDM services realized onProfileProvisioningComplete methods, and the initial of enterprise domain is carried out with by MDM
Change preparation.Initialization preparation is used to be set to MDM the owner (owner) of the workspace so that MDM services can
To be managed (for example, being detected to the workspace) to the workspace.
In embodiment of the disclosure, after establishing workspace, by the primary data full backup of workspace to being configured
Destination.In one embodiment, the backup server of the destination being configured i.e. EMM configurations.
In step 302, when detecting the file change event in workspace, according to file change event, work is obtained
The data changed in area.
In an embodiment of the disclosure, after creating workspace, real-time detection working directory and internal storage space
File change.
In an embodiment of the disclosure, using linux kernel file system call inotify, collecting work catalogue and
The data movement of each file in internal storage space.Data movement is included but is not limited to:Document creation, file are deleted, text
Part modification etc..When there is data movement, corresponding file change event is generated.File change event may include the letter of data movement
Breath, for example, the path of data movement, variation transmission time, variation type etc..
Referring to Fig. 5, according to file change event, obtaining the data changed in workspace includes:
In step 501, the file change event of detection working directory and internal storage space.
In step 502, according to pre-determined synchronization cycle and the default renewal frequency, file change event is filtered.
When working directory and/or internal storage space occur data movement, file change event is generated.In the disclosure
In embodiment, according to pre-determined synchronization cycle and the default renewal frequency, file change event is filtered, to filter out repetition
Event and unrelated event.
In step 503, according to the file change event after filtering, obtain in working directory and internal storage space and occur
The data of change.
According to file change event, the file and original document (or the file before change) after change are carried out into quotient of difference
Compared with the data for being changed.
It is the schematic flow sheet of the delta data of the detection workspace of the embodiment of the disclosure one referring to Fig. 6.
In step 601, after workspace occurs data movement, file change event is generated.In step 602, enter to act
Part is filtered, and repeated events, extraneous events etc. are filtered out.In step 603, event queue is generated.In step 604, open
One or more worker threads (work thread) are processed file change event.In step 605, thread pool is created
(thread pool), opens one or more back-up processing devices (Rsync Processor), is carried out according to file change event
Quotient of difference is compared with the data that acquisition changes.In step 606, by the data is activation for changing to backup server.In step
In rapid 607, the data for sending failure are put into unsuccessfully queue (Failure Queue), and retransmitted.
Step 606 and 607 transmission and re-transmission, can, electricity good in the network of terminal device it is sufficient in the case of carry out,
To improve transmission success rate.
Thus, the backup of the embodiment of the present disclosure, without the time of sole user using terminal equipment, can carry out mourning in silence in real time
Differential backup, it is real-time, lift Consumer's Experience.
In step 303, the data for changing are sent to the destination being configured as Backup Data.
In an embodiment of the disclosure, the network of terminal device is good, electricity within a preset range when, will become
The data of change are sent to the destination being configured as Backup Data.In one embodiment, the destination being configured i.e. EMM matches somebody with somebody
The backup server put.Backup server is based on the full backup of the primary data of workspace, according to changing for receiving
Data differential backup is carried out to workspace.The data processing method of the embodiment of the present disclosure, can be complete by the data in workspace
Backup server is backuped to, the local residual memory space to terminal device has no special requirements, and Information Security is high.
In embodiment of the disclosure, data processing method also includes:
According to the data erasing instruction from Enterprise Mobile management system for receiving, workspace is deleted;Or according to connecing
The data erasing instruction that the user for receiving is input into by terminal device, workspace is deleted.
The workspace of terminal device is deleted by Enterprise Mobile management system, Information Security can be improved.It is logical
Cross terminal device and be operated area's deletion, management of the user to workspace can be improved, facilitate storage of the user to terminal device empty
Between discharged, improve Consumer's Experience.
Referring to Fig. 7, in an embodiment of the disclosure, data processing method also includes:
In step 304, data recovery request is sent to the destination being configured, by the data recovery of destination to work
In making area.
When needing to carry out data recovery, for example, workspace is deleted or when workspace occurs abnormal, can be to being configured
Destination sends data recovery request, and data recovery is carried out with to workspace.
If it should be understood that there is workspace in terminal device, in data recovery, by the data cover in backup server
Legacy data in workspace.If the workspace in terminal device is deleted, in data recovery, newly-built workspace will be standby
The working directory and internal storage space of data recovery in part server to the newly-built workspace.Here the step of newly-built workspace
Suddenly, activation request can be sent according to above-mentioned terminal device, confirmation is returned after EMM certifications, terminal device is according to confirmation
It is operated the newly-built step in area identical.
Thus, the embodiment of the present disclosure can realize, by the data recovery in backup server to terminal device.In order to give user
Simpler easily data recovery is provided, referring to Fig. 8, the data processing method of another embodiment of the disclosure includes:
In step 801, instruction of the detection user in default interface input.
In embodiment of the disclosure, default interface can be that the initial guide interface of above-mentioned start or system set interface,
Can be that other at least include the interface of " newly-built workspace " option and " area of resuming work " option.
User can be operated by the default interface, for example, the operation such as click, double-click, sliding, realize the defeated of instruction
Enter.In certain embodiments, user can also realize the input of instruction by physical button, for example, by pressing " volume+" key reality
The input for now instructing.Additionally, the input that user can also be instructed by way of voice.The disclosure, the input form of instruction
It is not construed as limiting.
In step 802, it is terminal device point according to Enterprise Mobile management system if instruction sets up instruction for workspace
The accounts information matched somebody with somebody, generation activation request.
It should be understood that activation request here is as above-mentioned for being sent to the activation request that EMM is authenticated.Generation activation
After request, activation is sent please to EMM, and the reality of the foundation in area is operated according to the confirmation that the EMM for receiving is returned
Existing details will not be repeated here as described in foregoing.
In step 803, if instruction is instructed for data recovery, the data full dose of the destination that will be configured returns to work
Make area.
In embodiment of the disclosure, if instruction is instructed for data recovery, number is sent to destination (backup server)
According to recovery request, to realize in the data recovery of destination to workspace.During data recovery, according to the workspace of terminal device
Whether it is deleted, corresponding recovery operation is carried out respectively.
Thus, the embodiment of the present disclosure can be operated newly-built and data recovery the selection operation in area at same default interface,
May be implemented in carries out the full dose of data in activation and recovers (including all applications in working region and related persistant data
Recover), without entering specific reforestation practices, simple operation carries out application data backup extensive without the open API of dependence application
It is multiple.
It is newly-built to the workspace of the embodiment of the present disclosure, workspace is deleted and workspace is recovered below with reference to Fig. 9-Figure 10
Process illustrate.In an embodiment of the disclosure, when terminal device display activation interface (presetting interface), user
Can be selected at the activation interface, to realize that workspace is set up, the deletion of workspace and workspace are recovered.In an embodiment
In, the initial guide interface of above-mentioned start or system setting interface can be used as activation interfaces.
Referring to Fig. 9, the activation interface includes options such as " newly-built workspaces ", " area of resuming work " and " deletion workspace ".
In user's selection " newly-built workspace ", interface display " please be input into accounts information ... ".Accounts information is enterprise
Mobile management system is the accounts information of terminal device distribution.According to the accounts information of user input, generation activation request.This swashs
Request living is sent to Enterprise Mobile management system, is authenticated by it, and certification passes through, then return to confirmation and set to terminal
It is standby.According to confirmation, the newly-built workspace in terminal device, i.e., a newly-built user, and for the user sets up corresponding work
Catalogue and internal storage space, set up work copy of default application etc. in working directory.After workspace is successfully established, call
The setProfileEnabled methods of DevicepolicyManager enable workspace so that presetting for being run in workspace should
With visible to user, i.e., referring to Fig. 9, default application is shown to the display interface of terminal device.
The file of workspace by real-time detection, when workspace produces file change event, i.e., enter by method as described above
The acquisition of row delta data, and realize differential backup in destination (backup server).Referring to Figure 10, when receiving from enterprise
During the data erasing instruction that mobile management system or user are input into by terminal device, the workspace of foundation will be deleted.
Referring to Figure 10, in an embodiment of the disclosure, when deleting workspace, can be by entering terminal device
Respective interface, for example, the activation interface shown in above-mentioned Fig. 9, by the option of " deletion workspace ", produce data erasing to refer to
Order, deletes workspace.
In another embodiment, can be sent to EMM " data erasing request ";EMM receives " data erasing request ", then to
Corresponding terminal device sends " data erasing instruction ", is deleted with the workspace to terminal device.It should be understood that " data are wiped
Except instruction " can be sent in any way by any electronic equipment (for example, short message mode, liaison mode etc.).Should " data erasing
Instruction " includes needing the corresponding accounts information of terminal device of erasing, and thus, EMM can " data be wiped according to accounts information transmission
Instruction " is operated the data erasing in area to corresponding terminal device, completely deletes corresponding application and related persistence number
According to.
After workspace is deleted, the newly-built of area or recovery can be operated by activating interface.
With continued reference to Fig. 9, in embodiment of the disclosure, when user selects " area of resuming work " by activating interface,
Data recovery can be carried out.In one embodiment, MDM services are recovered the data full dose of backup server by Rsync instruments
To terminal device.As described above, if the workspace in terminal device is deleted, when recovering, first newly-built workspace, then will
The working directory and internal storage space of data recovery in backup server to newly-built workspace;If also existing in terminal device
Workspace, then when recovering, by the legacy data in the data cover workspace in backup server.After the completion of data recovery,
The setProfileEnabled methods of DevicepolicyManager are called to enable workspace so that is run in workspace is pre-
If using visible to user, i.e., referring to Fig. 9, default application to be shown to the display interface of terminal device.
By the data processing method of the embodiment of the present disclosure, can be by the data full backup in workspace to backup services
Device, has no special requirements to the local residual memory space of terminal device, and Information Security is high;Without sole user using terminal when
Between, real-time differential backup of mourning in silence can be carried out on backstage, real-time, electricity is less demanding, and Consumer's Experience is good;Can swash in equipment
Data full dose is completed during work to recover, including the application of all enterprises and related persistant data recovery in workspace, without entering
Enter reforestation practices, simple operation, the application data that the API without relying on application opening carries out backs up integrated.
Accordingly, referring to Figure 11, the embodiment of the present disclosure also provides a kind of data processing equipment, is applied to terminal device.Should
Data processing equipment 110 includes:
Module 1101 is set up in workspace, for setting up one for running the default workspace applied;
Delta data acquisition module 1102, for detecting during the file change event in the workspace, according to described
File change event, obtains the data changed in the workspace;
Sending module 1103, for the data for changing to be sent to the purpose being configured as Backup Data
End.
In one embodiment, workspace is set up module 1101 and is included:
Activation request-to-send submodule (not shown), for sending activation request to Enterprise Mobile management system;
User creates submodule (not shown), if being swashed according to described for receiving the Enterprise Mobile management system
The confirmation that request living is returned, then create a user;
Setting up submodule (not shown), for setting up working directory and internal storage space for the user, wherein,
The working directory includes the copy of the default application, and the internal storage space is used to be accessed for the default application.
In one embodiment, delta data acquisition module 1102 includes:
Detection sub-module (not shown), the text for detecting the working directory and the internal storage space
Part change events;
Filter submodule (not shown), for according to pre-determined synchronization cycle and the default renewal frequency, to the file
Change events are filtered;
Delta data acquisition submodule (not shown), for according to the file change event after filtering, obtaining described
The data changed in working directory and the internal storage space.
In one embodiment, device 110 also includes:
Instruction detection module 1104, for detecting instruction of the user in default interface input;
Generation module 1105, if for when the instruction sets up instruction for workspace, being managed according to the Enterprise Mobile
System is the accounts information of the terminal device distribution, generates the activation request.
In one embodiment, device 110 also includes:
Data recovery module 1106, for when the instruction is instructed for data recovery, by the destination being configured
Data full dose return to the workspace.
In one embodiment, device 110 also includes:
Initial back-up module 1107, for being sent to the quilt using the primary data in the workspace as Backup Data
The destination of configuration.
In one embodiment, device 110 also includes:
Removing module 1108, for the data erasing instruction from the Enterprise Mobile management system that basis is received,
The workspace is deleted;Or the data erasing instruction for being input into by the terminal device according to the user for receiving, will
Delete the workspace.On the device in above-described embodiment, wherein modules perform the concrete mode for operating and are having
It has been described in detail in the embodiment for closing the method, explanation will be not set forth in detail herein.
Referring to Figure 12, the embodiment of the present disclosure also provides a kind of data processing equipment, is applied to Enterprise Mobile management system.Should
Device 120 includes:
Receiver module 1201, for the activation request that receiving terminal apparatus send;
Authentication module 1202, for being authenticated according to the activation request, and when certification passes through, sets to the terminal
It is standby to return to confirmation, the first configured information is included in the confirmation;First configured information is used to indicate the end
End equipment sets up one for running the default workspace applied, and the data changed in the workspace are by as Backup Data
It is sent to the destination being configured.
In one embodiment, device 120 also includes:
Instruction sending module 1203, for sending data erasing instruction to the terminal device, is set with deleting the terminal
The standby workspace.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 13 is a kind of block diagram of the device 130 for data processing method according to an exemplary embodiment, should
Device 130 can be terminal device.As shown in figure 13, the device 130 can include:Processor 1301, memory 1302, many matchmakers
Body component 1303, input/output (I/O) interface 1304, and communication component 1305.
Wherein, processor 1301 is used to control the integrated operation of the device 130, with completing above-mentioned data processing method
All or part of step.Memory 1302 is used for storage program area, and various types of data are supporting in the device 130
Operation, the instruction that can for example include for any application program or method operated on the device 130 of these data, with
And the related data of application program.The memory 1302 can by any kind of volatibility or non-volatile memory device or
Combinations thereof realization, such as static RAM (Static Random Access Memory, abbreviation SRAM),
Electrically Erasable Read Only Memory (Electrically Erasable Programmable Read-Only Memory,
Abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory, letter
Claim EPROM), programmable read only memory (Programmable Read-Only Memory, abbreviation PROM), read-only storage
(Read-Only Memory, abbreviation ROM), magnetic memory, flash memory, disk or CD.
Multimedia groupware 1303 can include screen and audio-frequency assembly.Wherein screen for example can be touch-screen, audio group
Part is used to export and/or input audio signal.For example, audio-frequency assembly can include a microphone, microphone is used to receive outer
Portion's audio signal.The audio signal for being received can be further stored in memory 1302 or be sent out by communication component 1305
Send.Audio-frequency assembly also includes at least one loudspeaker, for exports audio signal.I/O interfaces 1304 be processor 1301 and its
There is provided interface between his interface module, above-mentioned other interface modules can be keyboard, mouse, button etc..These buttons can be
Virtual push button or entity button.Communication component 1305 is used to carry out wired or wireless leading between the device 130 and other equipment
Letter.Radio communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or
4G, or one or more in them combination, therefore the corresponding communication component 1305 can include:Wi-Fi module, bluetooth
Module, NFC module.
In one exemplary embodiment, device 130 can be by one or more application specific integrated circuits
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), PLD (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics unit
Part is realized, for performing above-mentioned monitoring method.
In a further exemplary embodiment, a kind of computer program product, the computer program product bag are additionally provided
Containing the computer program that can be performed by programmable device, the computer program has to work as to be held by the programmable device
For performing the code section of above-mentioned monitoring method during row.
In a further exemplary embodiment, a kind of non-transitory computer-readable storage medium including instructing is additionally provided
Matter, such as, including the memory 1302 for instructing, above-mentioned instruction can be performed to complete above-mentioned number by the processor 1301 of device 130
According to processing method.Illustratively, the non-transitorycomputer readable storage medium can be ROM, random access memory (Random
Access Memory, abbreviation RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Describe the preferred embodiment of the disclosure in detail above in association with accompanying drawing, but, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, various letters can be carried out with technical scheme of this disclosure
Monotropic type, these simple variants belong to the protection domain of the disclosure.
Any process described otherwise above or method description can be by flow chart or in an embodiment of the present invention
Be interpreted as, expression include it is one or more for realizing specific logical function or process the step of executable instruction code
Module, fragment or part, and the scope of embodiment of the present invention includes other realization, wherein can not by shown or
The order of discussion, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should
Those skilled in the art understand described in embodiments of the invention.
It is further to note that each particular technique feature described in above-mentioned specific embodiment, in not lance
In the case of shield, can be combined by any suitable means.In order to avoid unnecessary repetition, the disclosure to it is various can
The combination of energy is no longer separately illustrated.
Additionally, can also be combined between a variety of implementation methods of the disclosure, as long as it is without prejudice to originally
Disclosed thought, it should equally be considered as disclosure disclosure of that.
Claims (23)
1. a kind of data processing method, is applied to terminal device, it is characterised in that including:
One is set up for running the default workspace applied;
When detecting the file change event in the workspace, according to the file change event, obtain in the workspace
The data for changing;
The data for changing are sent to the destination being configured as Backup Data.
2. method according to claim 1, it is characterised in that described to set up for running the workspace of default application
Step includes:
Activation request is sent to Enterprise Mobile management system;
If receiving the confirmation that the Enterprise Mobile management system is returned according to the activation request, a user is created;
For the user sets up working directory and internal storage space, wherein, the working directory includes the default application
Copy, the internal storage space is used to be accessed for the default application.
3. method according to claim 2, it is characterised in that according to the file change event, obtains the workspace
The step of data for inside changing, includes:
Detect the file change event of the working directory and the internal storage space;
According to pre-determined synchronization cycle and the default renewal frequency, the file change event is filtered;
According to the file change event after filtering, the number changed in the working directory and the internal storage space is obtained
According to.
4. method according to claim 2, it is characterised in that described to send activation request to Enterprise Mobile management system
Before step, also include:
Instruction of the detection user in default interface input;
It is what the terminal device was distributed according to the Enterprise Mobile management system if the instruction is to set up instruction in workspace
Accounts information, generates the activation request.
5. method according to claim 4, it is characterised in that methods described also includes:
If the instruction is instructed for data recovery, the data full dose of the destination being configured is returned into the work
Area.
6. method according to claim 1, it is characterised in that described to set up for running the workspace of default application
After step, also include:
The destination being configured is sent to using the primary data in the workspace as Backup Data.
7. method according to claim 1, it is characterised in that methods described also includes:
According to the data erasing instruction from the Enterprise Mobile management system for receiving, the workspace is deleted;Or
According to the data erasing instruction that the user for receiving is input into by the terminal device, the workspace is deleted.
8. a kind of data processing equipment, is applied to terminal device, it is characterised in that including:
Module is set up in workspace, for setting up one for running the default workspace applied;
Delta data acquisition module, for detecting during the file change event in the workspace, according to the file change
Event, obtains the data changed in the workspace;
Sending module, for the data for changing to be sent to the destination being configured as Backup Data.
9. device according to claim 8, it is characterised in that module is set up in the workspace to be included:
Activation request-to-send submodule, for sending activation request to Enterprise Mobile management system;
User creates submodule, if for receiving the confirmation that the Enterprise Mobile management system is returned according to the activation request
Information, then create a user;
Setting up submodule, for setting up working directory and internal storage space for the user, wherein, wrapped in the working directory
The copy of the default application is included, the internal storage space is used to be accessed for the default application.
10. device according to claim 9, it is characterised in that the delta data acquisition module includes:
Detection sub-module, the file change event for detecting the working directory and the internal storage space;
Filter submodule, for according to pre-determined synchronization cycle and the default renewal frequency, being filtered to the file change event;
Delta data acquisition submodule, for according to the file change event after filtering, obtaining the working directory and described interior
Put the data changed in memory space.
11. devices according to claim 9, it is characterised in that described device also includes:
Instruction detection module, for detecting instruction of the user in default interface input;
Generation module, if for being institute according to the Enterprise Mobile management system when the instruction sets up instruction for workspace
The accounts information of terminal device distribution is stated, the activation request is generated.
12. devices according to claim 11, it is characterised in that described device also includes:
Data recovery module is complete by the data of the destination being configured for when the instruction is instructed for data recovery
Amount returns to the workspace.
13. devices according to claim 8, it is characterised in that described device also includes:
Initial back-up module, for being sent to the mesh being configured using the primary data in the workspace as Backup Data
End.
14. devices according to claim 8, it is characterised in that described device also includes:
Removing module, for according to the data erasing instruction from the Enterprise Mobile management system for receiving, by the work
Make area's deletion;Or the data erasing instruction for being input into by the terminal device according to the user for receiving, by the work
Delete in area.
A kind of 15. data processing methods, are applied to Enterprise Mobile management system, it is characterised in that including:
The activation request that receiving terminal apparatus send;
It is authenticated according to the activation request, and when certification passes through, confirmation is returned to the terminal device, it is described true
Recognize in information comprising the first configured information;First configured information is pre- for running for indicating the terminal device to set up one
If the workspace of application, the data changed in the workspace are sent to the destination that is configured as Backup Data.
16. methods according to claim 15, it is characterised in that also include the second configured information in the confirmation;
Second configured information is used to be designated as the destination of terminal equipment configuration.
17. methods according to claim 15, it is characterised in that methods described also includes:
Data erasing instruction is sent to the terminal device, to delete the workspace of the terminal device.
A kind of 18. data processing equipments, are applied to Enterprise Mobile management system, it is characterised in that including:
Receiver module, for the activation request that receiving terminal apparatus send;
Authentication module, for being authenticated according to the activation request, and when certification passes through, returns true to the terminal device
Recognize information, the first configured information is included in the confirmation;First configured information is used to indicate the terminal device to build
Vertical one workspace for being used to run default application, the data changed in the workspace by as Backup Data be sent to by
The destination of configuration.
19. devices according to claim 18, it is characterised in that described device also includes:
Instruction sending module, for sending data erasing instruction to the terminal device, to delete described in the terminal device
Workspace.
A kind of 20. terminal devices, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor, for setting up for running the default workspace applied;Detect the text in the workspace
During part change events, according to the file change event, the data changed in the workspace are obtained;Become described
The data of change are sent to the destination being configured as Backup Data.
21. a kind of computer program products, it is characterised in that the computer program product is included can be by programmable device
The computer program of execution, the computer program has when being performed by the programmable device for perform claim requirement
The code section of the method any one of 1 to 7.
A kind of 22. non-transitorycomputer readable storage mediums, it is characterised in that the non-transitory computer-readable storage medium
Matter includes one or more programs, and one or more of programs are used for the side any one of perform claim requirement 1 to 7
Method.
A kind of 23. terminal devices, it is characterised in that including:
Non-transitorycomputer readable storage medium described in claim 22;And
One or more processor, for performing the program in the non-transitorycomputer readable storage medium.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/104266 WO2018081928A1 (en) | 2016-11-01 | 2016-11-01 | Data processing method and apparatus, and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106716379A true CN106716379A (en) | 2017-05-24 |
CN106716379B CN106716379B (en) | 2020-10-30 |
Family
ID=58903779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201680002702.0A Active CN106716379B (en) | 2016-11-01 | 2016-11-01 | Data processing method and device and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106716379B (en) |
WO (1) | WO2018081928A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597813A (en) * | 2018-11-28 | 2019-04-09 | 深圳市轱辘汽车维修技术有限公司 | A kind of vehicle data processing method and processing device |
CN109963149A (en) * | 2017-12-26 | 2019-07-02 | 安凯(广州)微电子技术有限公司 | A kind of test method of video camera, test device and terminal device |
CN110120983A (en) * | 2019-06-14 | 2019-08-13 | 浪潮软件集团有限公司 | The method and system of SVN real-time synchronization backup is realized based on inotify and rsync automation installation and deployment |
CN111376255A (en) * | 2018-12-29 | 2020-07-07 | 深圳市优必选科技有限公司 | Robot data acquisition method and device and terminal equipment |
CN113452525A (en) * | 2021-06-29 | 2021-09-28 | 泉州市三川通讯技术有限公司 | Mobile equipment remote revenue management control method and system |
CN113884976A (en) * | 2021-11-25 | 2022-01-04 | 安徽南瑞中天电力电子有限公司 | Cloud platform based intelligent electric meter data protection method and system |
CN117319383A (en) * | 2023-11-30 | 2023-12-29 | 广东电网有限责任公司 | File storage method, system, terminal equipment and storage medium based on Internet of things |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113301535B (en) * | 2020-02-24 | 2022-08-02 | 荣耀终端有限公司 | Data transmission method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217401A (en) * | 2008-01-10 | 2008-07-09 | 华为技术有限公司 | Base station controller upgrade, backup method and device |
CN102298651A (en) * | 2010-06-23 | 2011-12-28 | 株式会社锦宫事务 | Card information management device |
CN103646077A (en) * | 2013-12-11 | 2014-03-19 | 北京控制工程研究所 | Efficient software data management method combining local working area with remote data server |
WO2014181970A1 (en) * | 2013-05-07 | 2014-11-13 | 주식회사 안랩 | Method and apparatus for managing application data of portable terminal |
-
2016
- 2016-11-01 WO PCT/CN2016/104266 patent/WO2018081928A1/en active Application Filing
- 2016-11-01 CN CN201680002702.0A patent/CN106716379B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217401A (en) * | 2008-01-10 | 2008-07-09 | 华为技术有限公司 | Base station controller upgrade, backup method and device |
CN102298651A (en) * | 2010-06-23 | 2011-12-28 | 株式会社锦宫事务 | Card information management device |
WO2014181970A1 (en) * | 2013-05-07 | 2014-11-13 | 주식회사 안랩 | Method and apparatus for managing application data of portable terminal |
CN103646077A (en) * | 2013-12-11 | 2014-03-19 | 北京控制工程研究所 | Efficient software data management method combining local working area with remote data server |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109963149A (en) * | 2017-12-26 | 2019-07-02 | 安凯(广州)微电子技术有限公司 | A kind of test method of video camera, test device and terminal device |
CN109597813A (en) * | 2018-11-28 | 2019-04-09 | 深圳市轱辘汽车维修技术有限公司 | A kind of vehicle data processing method and processing device |
CN109597813B (en) * | 2018-11-28 | 2022-01-04 | 深圳市轱辘车联数据技术有限公司 | Vehicle data processing method and device |
CN111376255A (en) * | 2018-12-29 | 2020-07-07 | 深圳市优必选科技有限公司 | Robot data acquisition method and device and terminal equipment |
CN111376255B (en) * | 2018-12-29 | 2022-06-24 | 深圳市优必选科技有限公司 | Robot data acquisition method and device and terminal equipment |
CN110120983A (en) * | 2019-06-14 | 2019-08-13 | 浪潮软件集团有限公司 | The method and system of SVN real-time synchronization backup is realized based on inotify and rsync automation installation and deployment |
CN113452525A (en) * | 2021-06-29 | 2021-09-28 | 泉州市三川通讯技术有限公司 | Mobile equipment remote revenue management control method and system |
CN113884976A (en) * | 2021-11-25 | 2022-01-04 | 安徽南瑞中天电力电子有限公司 | Cloud platform based intelligent electric meter data protection method and system |
CN113884976B (en) * | 2021-11-25 | 2022-10-14 | 安徽南瑞中天电力电子有限公司 | Cloud platform based intelligent electric meter data protection method and system |
CN117319383A (en) * | 2023-11-30 | 2023-12-29 | 广东电网有限责任公司 | File storage method, system, terminal equipment and storage medium based on Internet of things |
CN117319383B (en) * | 2023-11-30 | 2024-03-01 | 广东电网有限责任公司 | File storage method, system, terminal equipment and storage medium based on Internet of things |
Also Published As
Publication number | Publication date |
---|---|
WO2018081928A1 (en) | 2018-05-11 |
CN106716379B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106716379A (en) | Data processing method, device and terminal device | |
US10885218B2 (en) | Privacy protection method and terminal device | |
EP2579141B1 (en) | Method and device for unlocking operating system | |
CN105867925A (en) | Shortcut establishing method and electronic device | |
CN105094801B (en) | Application function activation method and device | |
CN104601441B (en) | For the authority control method and instant communication client of group chat | |
CN104008348A (en) | Application program control method, application program control device and terminal | |
CN107870997B (en) | Conference blackboard-writing file management method and device, display device and storage medium | |
CN104469717B (en) | Note transmission method and device | |
CN103118031A (en) | Method and electronic device for logging in application account | |
CN105208015A (en) | Application multi-account login processing method and device and terminal device | |
CN111708557B (en) | Method, device and storage medium for updating configuration file | |
CN105224194B (en) | A kind of data processing method and terminal | |
CN104346549A (en) | Information processing method and electronic equipment | |
CN107070654A (en) | information collecting method and device | |
CN110855833A (en) | Terminal retrieving method and device, terminal and storage medium | |
CN103812996A (en) | Information prompting method and apparatus, and terminal | |
CN106776908A (en) | Data clearing method, device and terminal | |
CN102110029A (en) | System backup and restoration method | |
KR102009258B1 (en) | Fingerprint event processing method, device, and terminal | |
CN104657125A (en) | Information processing method and electronic device | |
CN204926177U (en) | System for realize punching card through identification code | |
CN107147808A (en) | A kind of message treatment method and device, computer installation and storage medium | |
CN107197088A (en) | Screenshot method and device based on Android mobile device | |
CN114726664B (en) | Binding method and binding equipment for household equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |