CN108228383B - Data processing method and device for multi-user system - Google Patents

Data processing method and device for multi-user system Download PDF

Info

Publication number
CN108228383B
CN108228383B CN201611158974.8A CN201611158974A CN108228383B CN 108228383 B CN108228383 B CN 108228383B CN 201611158974 A CN201611158974 A CN 201611158974A CN 108228383 B CN108228383 B CN 108228383B
Authority
CN
China
Prior art keywords
data
backup
user
backed
backup data
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.)
Active
Application number
CN201611158974.8A
Other languages
Chinese (zh)
Other versions
CN108228383A (en
Inventor
李俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611158974.8A priority Critical patent/CN108228383B/en
Publication of CN108228383A publication Critical patent/CN108228383A/en
Application granted granted Critical
Publication of CN108228383B publication Critical patent/CN108228383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The embodiment of the invention provides a data processing method and a data processing device of a multi-user system, wherein the method comprises the following steps: acquiring data information which can be backed up of a multi-user system; generating first backup data to be backed up according to the data information capable of being backed up; processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data; uploading the second backup data to the remote cloud data storage platform. The scheme of the invention can realize the configuration of the multi-user partition and the integral backup and restoration of the data in the multi-user partition.

Description

Data processing method and device for multi-user system
Technical Field
The present invention relates to the field of data processing technologies for multi-user systems, and in particular, to a data processing method and apparatus for a multi-user system.
Background
Starting with Android L (5.0), Android natively supports multi-user functionality. The multi-user can support a plurality of users to use the system, similar to the multi-user of Windows. Typically, the first user to register with the system will default to a system administrator. The settings of different users are different, and applications and application data installed by different users are also isolated from each other. Hardware related settings in the system are common, such as network settings, etc.
In the prior art, a system configuration and data integral backup and restoration mode for Android multi-users is not available for the moment. For the single-user system configuration and the backup and restoration method of data, there are mainly 4 types as follows:
and the mobile phone is provided with an App providing a data backup and restoration function. During backup, the application and data to be backed up and the information such as contact persons, short messages, call records and the like stored in the mobile phone are selected in the App. And the App generates backup data and stores the backup data in the SD card of the mobile phone. And during reduction, the backup data information in the SD card is selected in the App, and then the data information is reduced to the mobile phone by the App.
The mobile phone is provided with an App which provides a data backup and restoration function, and the App provides remote cloud storage. The App registers an account number and logs in, and selects application and data to be backed up and information such as contact persons, short messages and call records stored in a mobile phone. And the App generates backup data and stores the backup data in the cloud. And during restoration, logging in the App, selecting the data information backed up at the cloud, downloading the backed-up data by the App, and restoring the backed-up data to the mobile phone.
The mobile phone operating system provides a data backup and recovery function. And selecting application and data and system configuration to be backed up and information such as contact persons, short messages, call records and the like stored in the mobile phone in the backup and recovery function of the mobile phone operating system. And generating backup data by a backup and restoration function of the mobile phone operating system, and storing the backup data in the mobile phone SD card. And during reduction, the data information backed up in the SD card is selected in the backup and reduction function of the mobile phone operating system, and then the data information is reduced to the mobile phone by the backup and reduction function of the mobile phone operating system.
The mobile phone operating system provides a data backup and restoration function and provides remote cloud storage. The method comprises the steps of registering an account in a user registration/login function of a mobile phone operating system and logging in, and selecting application and data and system configuration to be backed up and information such as contact persons, short messages and call records stored in a mobile phone in a backup and recovery function of the mobile phone operating system. And generating backup data by a backup and restoration function of the mobile phone operating system, and storing the backup data in the cloud. During restoration, a user logs in a user registration/login function of the mobile phone operating system, then selects data information backed up at the cloud end in a backup and restoration function of the mobile phone operating system, downloads backup data through the backup and restoration function of the mobile phone operating system, and restores the backup data into the mobile phone.
Currently, no integral backup and restoration method for Android multi-user system configuration and data exists temporarily.
There are two main schemes for single-user system configuration and data backup and restore:
the first scheme is as follows: app providing backup and restore function through installation
The scheme achieves the purpose of backup and restoration by installing the App providing the backup and restoration function. However, the main disadvantage of this scheme is that the App mode can only backup and restore data such as general applications, contacts, short messages, call records, and the like, and cannot backup and restore some configuration information at the system level. And also requires additional apps to be installed.
Scheme II: data backup and recovery function provided by mobile phone operating system
The scheme provides a system-level backup and restoration function by customizing the mobile phone operating system. However, in the multi-user operating system, the main disadvantage is that only the configuration and data information of a single user can be backed up and restored, and the configuration and data information of multiple users cannot be backed up and restored.
The single-user system configuration and data backup and restoration method cannot solve the problems of configuration of multi-user partitions and data integral backup and restoration in a plurality of user partitions in a multi-user system.
Disclosure of Invention
The invention provides a data processing method and a data processing device for a multi-user system, which can solve the problems of configuration of multi-user partitions and integral backup and restoration of data in a plurality of user partitions.
To solve the above technical problem, an embodiment of the present invention provides the following solutions:
a data processing method of a multi-user system, comprising:
acquiring data information which can be backed up of a multi-user system;
generating first backup data to be backed up according to the data information capable of being backed up;
processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data;
uploading the second backup data to the remote cloud data storage platform.
The method for acquiring the backup data information of the multi-user system comprises the following steps:
and acquiring a system global configuration list, and acquiring system global configuration data information which can be backed up according to the system global configuration list.
The step of generating first backup data to be backed up according to the data information capable of being backed up comprises the following steps:
and acquiring the system global configuration data information to be backed up selected by a user from the system global configuration data information capable of being backed up, and taking the selected system global configuration data information to be backed up as first backup data.
The method for acquiring the backup data information of the multi-user system comprises the following steps:
obtaining the backup configuration list and/or application list in the user partition, and
and acquiring the data information which can be backed up in the user partition according to the configuration list and/or the application list which can be backed up in the user partition.
The step of generating first backup data to be backed up according to the data information capable of being backed up comprises the following steps:
acquiring data information to be backed up selected by a user from the data information which can be backed up in the user partition;
and generating first backup data according to the selected data information to be backed up.
The step of generating first backup data according to the selected data information to be backed up comprises the following steps:
sending a first backup demand instruction of configuration data to be backed up in a configuration list capable of being backed up to an agent service module in a user partition, receiving the configuration backup data to be backed up returned by the agent service module according to the first backup demand instruction, and taking the configuration backup data as first backup data; or
Sending a second backup demand instruction of the application data to be backed up in the application list capable of being backed up to an agent service module in the user partition, receiving the application backup data to be backed up returned by the agent service module according to the second backup demand instruction, and taking the application backup data as first backup data.
The step of processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data comprises the following steps:
and according to the format required by the remote cloud data storage platform, carrying out format conversion and encryption processing on the first backup data to generate second backup data.
Wherein uploading the second backup data to the remote cloud data storage platform comprises:
and uploading the second backup data to a storage space corresponding to a preset login account of the remote cloud data storage platform.
The data processing method of the multi-user system further comprises the following steps:
and acquiring and restoring second backup data backed up by the user from the remote cloud data storage platform.
The step of obtaining and restoring the second backup data backed up by the user from the remote cloud data storage platform comprises the following steps:
downloading the second backup data from the remote cloud data storage platform, decrypting the second backup data and converting the second backup data into a format which can be processed by a main processing service module in the multi-user operating system to obtain data to be restored;
if the data to be restored is system global configuration data information, the main processing service module directly outputs the restoration result of the second backup data;
if a user partition exists in the multi-user operating system and the data to be restored is configuration backup data or application backup data in the user partition, the main processing service module pushes a restoration instruction and the data to be restored to an agent service module in the user partition, and the agent service module restores the data to be restored according to the restoration instruction;
if the user partition does not exist in the multi-user operating system, prompting a user to create the user partition through the main processing service module, pushing a reduction instruction and the data to be reduced to an agent service module in the user partition by the main processing service module when the data to be reduced is configuration backup data or application backup data in the created user partition, and carrying out reduction processing on the data to be reduced by the agent service module according to the reduction instruction.
An embodiment of the present invention further provides a data processing apparatus for a multi-user system, including:
the acquisition module is used for acquiring data information which can be backed up of the multi-user system;
the backup module is used for generating first backup data to be backed up according to the data information which can be backed up; processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data;
and the communication module is used for uploading the second backup data to the remote cloud data storage platform.
Wherein, the data processing device of the multi-user system further comprises:
and the restoring module is used for acquiring and restoring the second backup data backed up by the user from the remote cloud data storage platform.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme of the invention, the backup data information of the multi-user system is acquired; generating first backup data to be backed up according to the data information capable of being backed up; processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data; uploading the second backup data to the remote cloud data storage platform; and further, second backup data backed up by the user is obtained and restored from the remote cloud data storage platform. Therefore, the system-level multi-user partition integral backup and restoration function of the Android system supporting the multi-user function can be realized. Specifically, the system configuration information, the user partition dividing information, the authority information of each divided user partition, the user configuration information and the application data information in each user partition of the multi-user system can be backed up and restored.
Drawings
FIG. 1 is a flow chart of a data processing method of a multi-user system of the present invention;
FIG. 2 is a system architecture diagram of a multi-user system according to the present invention;
FIG. 3 is a diagram of a data processing apparatus of a multi-user system according to the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a data processing method for a multi-user system, including:
step 11, obtaining data information which can be backed up of a multi-user system;
step 12, generating first backup data to be backed up according to the data information capable of being backed up;
step 13, processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data;
and step 14, uploading the second backup data to the remote cloud data storage platform.
According to the scheme of the invention, the backup data information of the multi-user system is acquired; generating first backup data to be backed up according to the data information capable of being backed up; processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data; uploading the second backup data to the remote cloud data storage platform; and further, second backup data backed up by the user is obtained and restored from the remote cloud data storage platform. Therefore, the system-level multi-user partition integral backup and restoration function of the Android system supporting the multi-user function can be realized. Specifically, the system configuration information, the user partition dividing information, the authority information of each divided user partition, the user configuration information and the application data information in each user partition of the multi-user system can be backed up and restored.
In an embodiment of the present invention, the data information that can be backed up in the multi-user system includes: when the system global configuration data information can be backed up, the method comprises the following steps:
step 111, acquiring a system global configuration list, and acquiring system global configuration data information which can be backed up according to the system global configuration list; optionally, the system global configuration list is presented to the user, and specifically, the system global configuration list may be presented to the user through a UI (user interface);
step 112, obtaining system global configuration data information to be backed up selected by a user from the system global configuration data information capable of being backed up, and taking the selected system global configuration data information to be backed up as first backup data;
step 113, processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data;
step 114, uploading the second backup data to the remote cloud data storage platform.
In the specific embodiment, the backup of the system global configuration data is realized.
In an embodiment of the present invention, the data information that can be backed up in the multi-user system includes: when the data information which can be backed up in the user partition is available, the method comprises the following steps:
step 211, obtaining a configuration list and/or an application list which can be backed up in a user partition; optionally, the configuration list and/or the application list that can be backed up is presented to the user, and specifically, the configuration list and/or the application list that can be backed up can be presented to the user through a UI interface (user interface);
step 212, obtaining the data information which can be backed up in the user partition according to the configuration list and/or the application list which can be backed up in the user partition;
step 213, obtaining the data information to be backed up selected by the user from the data information which can be backed up in the user partition;
step 214, generating first backup data according to the selected data information to be backed up;
step 215, processing the first backup data according to a format required by the remote cloud data storage platform to generate second backup data;
step 216, uploading the second backup data to the remote cloud data storage platform.
Wherein step 214 comprises:
2141, sending a first backup demand instruction of configuration data to be backed up in a configuration list which can be backed up to an Agent service module (Agent service) in a user partition, receiving the configuration backup data to be backed up returned by the Agent service module according to the first backup demand instruction, and using the configuration backup data as first backup data; thereby, the backup of the configuration data in the user partition is realized, wherein, the configuration data may include: user partition dividing information, authority information of each divided user partition, and user configuration information in each user partition; or
2142, sending a second backup demand instruction of application data to be backed up in an application list that can be backed up to an Agent service module (Agent service) in a user partition, receiving the application backup data to be backed up returned by the Agent service module according to the second backup demand instruction, and using the application backup data as first backup data; thereby, the backup of the application data in the user partition is realized, wherein the application data may include: application information and application data information.
This particular embodiment of the present invention may enable the backup of data in a user partition.
In the above embodiment of the present invention, the step of processing the first backup data according to a format required by the remote cloud data storage platform to generate second backup data includes:
and according to the format required by the remote cloud data storage platform, carrying out format conversion and encryption processing on the first backup data to generate second backup data.
Wherein uploading the second backup data to the remote cloud data storage platform comprises:
and uploading the second backup data to a storage space corresponding to a preset login account of the remote cloud data storage platform.
The following describes an implementation process of the backup process with reference to a specific system architecture, as shown in fig. 2, the specific implementation process includes:
and step 31, the user uses the registration account number to log in the registration/login module of the registration account management service module. And selects a multi-user system backup function in the operating system.
Step 32, a multi-user partition management module in the Master service (main processing service module) acquires a configuration list and/or an application list which can be backed up in a user partition where an Agent is located from an Agent service (proxy service module) of each user partition.
And step 33, the Master service displays a system global configuration list which can be backed up, a configuration list which can be backed up in each user partition and/or an application list to a user through a UI interface.
Step 34, after the user selects the data information to be backed up, the backup data is generated by a multi-user system global configuration backup/restore module in the Master service according to the backup requirement of the system global configuration;
for the backup requirement in the user partition, a module of the Master service [ multi-user partition management ] pushes a backup requirement instruction to an Agent service in the user partition.
Step 35, the Agent receiving the backup instruction pushed by the Master service generates corresponding backup data according to the instruction requirement: the backup of the configuration data of the user partition is generated by a user partition configuration backup/reduction module served by the Agent;
the backup of the application data in the user partition is generated by a user application and data backup/restore module served by the Agent.
And after all the backup data are generated, uploading the backup data to a module (backup/recovery management) of Master service.
And step 36, the Master's [ backup/restore management ] module merges the user partition backup data generated by each Agent service and the system configuration backup data generated by the [ multi-user system global configuration backup/restore ] module in the above step.
And step 37, performing format conversion and encryption on the backup data combined in the step by a backup/recovery data format conversion/encryption/decryption module of the Master service according to the requirement of the remote cloud data storage platform.
And step 38, acquiring login account information of the user from a registered account management service by the Master service, and uploading the encrypted backup data in the step to a user login account space of a remote cloud data storage platform through a remote cloud data storage platform communication module.
The embodiment of the invention realizes the backup of the system global configuration data in the multi-user system, the backup of the configuration data of each user partition and the backup of the application data of each user partition by a user.
In an embodiment of the present invention, on the basis of the foregoing steps 11-14, the method includes:
and step 15, acquiring and restoring the second backup data backed up by the user from the remote cloud data storage platform.
The step 15 may specifically include:
step 151, downloading the second backup data from the remote cloud data storage platform, decrypting the second backup data, and converting the second backup data into a format that can be processed by a main processing service module in the multi-user operating system to obtain data to be restored;
step 152, if the data to be restored is system global configuration data information, the main processing service module directly outputs the restoration result of the second backup data;
step 153, if a user partition exists in the multi-user operating system and the data to be restored is configured backup data or application backup data in the user partition, the main processing service module pushes a restoration instruction and the data to be restored to a proxy service module in the user partition, and the proxy service module restores the data to be restored according to the restoration instruction;
step 154, if no user partition exists in the multi-user operating system, the main processing service module prompts a user to create a user partition, and when the data to be restored is configured backup data or application backup data in the created user partition, the main processing service module pushes a restoration instruction and the data to be restored to an agent service module in the user partition, and the agent service module restores the data to be restored according to the restoration instruction.
The embodiment of the invention realizes the restoration processing of the data which is backed up by the multi-user system by the user.
The following describes an implementation process of the backup process in combination with a specific system architecture, as shown in fig. 2, the specific implementation process includes:
and step 41, the user uses the registration account number to log in a registration/login module of the registration account management service. And selects a multi-user system restore function in the operating system.
And step 42, the Master service acquires the login account information of the user from the registration account management service, acquires backup data uploaded by the user from the user login account space of the remote cloud data storage platform through the remote cloud data storage platform communication module, and can display an information list of the backup data in a time descending order.
And 43, after a user selects a backup file to be restored, downloading the backup data from the remote cloud data storage platform by the Master service through the remote cloud data storage platform communication module, and after the downloading is finished, decrypting the backup data and converting the backup file into a format which can be processed by the Master service through the backup/restoration data format conversion/encryption/decryption module.
And step 44, for the backup data of the system global configuration, the [ multi-user system global configuration backup/restore ] module served by the Master executes the restore operation, and feeds back the execution result to the [ backup/restore management ] module.
Step 45, for the backup data in the user partition: if a user partition in a backup file exists in an operating system, a Master service multi-user partition management module pushes a reduction instruction and backup data to an Agent service in the user partition; and secondly, if the user partition in the backup file does not exist in the operating system, inquiring whether the user creates the user partition or not through a UI module by the Master service. If the user selects to create, after the user partition is created by the multi-user partition management module served by the Master, the operation in the first step is continuously executed; if the user chooses not to create, the restore operation in the user partition is ignored.
Step 46, after receiving the reduction instruction and the backup data pushed by the Master service, the Agent service executes reduction operation on a [ user partition configuration backup/reduction ] module of the user partition configuration class for reduction of the user partition configuration class; for the restoration of the application and the application data in the user partition, a restoration operation is executed by a [ user application and data backup/restoration ] module served by the Agent. After the restoration operation is completely executed, the Agent service reports the execution result to the module of Master service (backup/restoration management).
The invention realizes the reduction of the system global configuration data in the multi-user system, the reduction of the configuration data of each user partition and the reduction of the application data of each user partition by the user. In the embodiment of the invention, the multi-user system can be an Android system, and a system-level multi-user partition integral backup and restoration function is provided by customizing the Android system which originally supports the multi-user function. By adding the master service in the multi-user system and adding the agent service in each user partition created by the system, the system configuration information, the user partition dividing information, the authority information of each divided user partition, the user configuration information and the application information in each user partition and the application data of the multi-user system can be backed up and restored.
As shown in fig. 3, an embodiment of the present invention further provides a data processing apparatus 300 of a multi-user system, including:
an obtaining module 311, configured to obtain data information that can be backed up in a multi-user system;
a backup module 312, configured to generate first backup data to be backed up according to the data information that can be backed up; processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data;
a communication module 313, configured to upload the second backup data to the remote cloud data storage platform.
Wherein, the data processing device of the multi-user system further comprises:
and the restoring module 314 is configured to acquire and restore the second backup data backed up by the user from the remote cloud data storage platform.
It should be noted that the apparatus is an apparatus corresponding to the above method embodiments one to one, and all implementation manners in the above method embodiments are applicable to the apparatus embodiment, and the same technical effect can be achieved.
In specific implementation, the device may be implemented by the specific system architecture shown in fig. 2, the system architecture is configured to provide a remote cloud data storage platform, and after a user registers an account in the system and logs in, the user may upload the backed-up multi-user system data to the remote cloud data storage platform, and may also restore the backed-up multi-user system data from the remote cloud data storage platform.
In the system architecture, one or more modules may implement the function of the acquisition module, one or more modules may implement the function of the backup module, one or more modules may implement the function of the communication module, one or more modules may implement the function of the restoration module, and the backup module and the restoration module may also be implemented by one module or may be implemented separately.
Wherein, in the system architecture:
registered account management service: the main functions of the module are: the user can register a remote cloud platform account and log in/out the account; and managing login account information of the user.
Master service: and the main node with the backup and restoration functions operates on a system level. The main functions are as follows: the user can configure the backup and restore functions through the service, including but not limited to the backup/restore range of the global system level information, the backup/restore range of the information in the system user partition, and the like; controlling the starting or closing and configuration of the backup/recovery function of the Agent in the user partition of the system; issuing a backup/reduction range to an Agent; summarizing user partition data backed up by each Agent; and issuing the reduction data of the affiliated user partition to each Agent.
Backup/restore global system level information including, but not limited to, user partition status of the system, etc.
And acquiring account information logged by the user from the registered account management service, encrypting backup data and uploading the data to the remote cloud data storage platform, or downloading the data which is backed up in the user login account from the remote cloud data storage platform and decrypting the data.
The Agent service comprises the following steps: the modules run in system user partitions, one for each user partition. The main functions are as follows: and collecting a system configuration list and an application list which can be backed up by a user in the user partition, and uploading the system configuration list and the application list to a Master for the user to select. And receiving the configuration of the backup/restore function of the user partition from the Master and carrying out corresponding setting. And generating data which needs to be backed up in the user partition by a user, and uploading Master.
And receiving the data which needs to be restored in the user partition by the user from the Master, and performing restoration processing.
Remote cloud data storage platform: the remote safe storage management of the registered account and the remote safe storage/acquisition of the backup/recovery data are provided for the user.
The above embodiments of the present invention provide a method and an apparatus for backup and restore of a multi-user system, which can backup/restore user partition conditions and configuration information divided by a user in the multi-user system, and configuration and application information in each user partition.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A data processing method for a multi-user system, comprising:
acquiring data information which can be backed up of a multi-user system;
generating first backup data to be backed up according to the data information capable of being backed up, wherein the first backup data comprises: acquiring data information to be backed up selected by a user from the data information which can be backed up in the user partition; sending a first backup demand instruction of configuration data to be backed up in a configuration list capable of being backed up to an agent service module in a user partition, receiving the configuration backup data to be backed up returned by the agent service module according to the first backup demand instruction, and taking the configuration backup data as first backup data; or sending a second backup demand instruction of the application data to be backed up in the application list capable of being backed up to an agent service module in the user partition, receiving the application backup data to be backed up returned by the agent service module according to the second backup demand instruction, and taking the application backup data as first backup data;
processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data;
uploading the second backup data to the remote cloud data storage platform.
2. The data processing method of the multi-user system according to claim 1, wherein the step of obtaining the backup-enabled data information of the multi-user system comprises:
and acquiring a system global configuration list, and acquiring system global configuration data information which can be backed up according to the system global configuration list.
3. The data processing method of the multi-user system according to claim 2, wherein the step of generating first backup data to be backed up based on the backupable data information comprises:
and acquiring the system global configuration data information to be backed up selected by a user from the system global configuration data information capable of being backed up, and taking the selected system global configuration data information to be backed up as first backup data.
4. The data processing method of the multi-user system according to claim 1, wherein the step of obtaining the backup-enabled data information of the multi-user system comprises:
obtaining the backup configuration list and/or application list in the user partition, and
and acquiring the data information which can be backed up in the user partition according to the configuration list and/or the application list which can be backed up in the user partition.
5. The data processing method of the multi-user system according to claim 1, wherein the step of processing the first backup data according to a format required by a remote cloud data storage platform and generating second backup data comprises:
and according to the format required by the remote cloud data storage platform, carrying out format conversion and encryption processing on the first backup data to generate second backup data.
6. The data processing method of the multi-user system according to claim 1, wherein the step of uploading the second backup data to the remote cloud data storage platform comprises:
and uploading the second backup data to a storage space corresponding to a preset login account of the remote cloud data storage platform.
7. The data processing method of the multi-user system according to claim 1, further comprising:
and acquiring and restoring second backup data backed up by the user from the remote cloud data storage platform.
8. The data processing method of the multi-user system according to claim 7, wherein the step of retrieving and restoring the second backup data backed up by the user from the remote cloud data storage platform comprises:
downloading the second backup data from the remote cloud data storage platform, decrypting the second backup data and converting the second backup data into a format which can be processed by a main processing service module in a multi-user operating system to obtain data to be restored;
if the data to be restored is system global configuration data information, the main processing service module directly outputs the restoration result of the second backup data;
if a user partition exists in the multi-user operating system and the data to be restored is configuration backup data or application backup data in the user partition, the main processing service module pushes a restoration instruction and the data to be restored to an agent service module in the user partition, and the agent service module restores the data to be restored according to the restoration instruction;
if the user partition does not exist in the multi-user operating system, prompting a user to create the user partition through the main processing service module, pushing a reduction instruction and the data to be reduced to an agent service module in the user partition by the main processing service module when the data to be reduced is configuration backup data or application backup data in the created user partition, and carrying out reduction processing on the data to be reduced by the agent service module according to the reduction instruction.
9. A data processing apparatus for a multi-user system, comprising:
the acquisition module is used for acquiring data information which can be backed up of the multi-user system;
the backup module is used for generating first backup data to be backed up according to the data information which can be backed up, and comprises: acquiring data information to be backed up selected by a user from the data information which can be backed up in the user partition; sending a first backup demand instruction of configuration data to be backed up in a configuration list capable of being backed up to an agent service module in a user partition, receiving the configuration backup data to be backed up returned by the agent service module according to the first backup demand instruction, and taking the configuration backup data as first backup data; or sending a second backup demand instruction of the application data to be backed up in the application list capable of being backed up to an agent service module in the user partition, receiving the application backup data to be backed up returned by the agent service module according to the second backup demand instruction, and taking the application backup data as first backup data;
processing the first backup data according to a format required by a remote cloud data storage platform to generate second backup data;
and the communication module is used for uploading the second backup data to the remote cloud data storage platform.
10. The data processing apparatus of the multi-user system according to claim 9, further comprising:
and the restoring module is used for acquiring and restoring the second backup data backed up by the user from the remote cloud data storage platform.
CN201611158974.8A 2016-12-15 2016-12-15 Data processing method and device for multi-user system Active CN108228383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611158974.8A CN108228383B (en) 2016-12-15 2016-12-15 Data processing method and device for multi-user system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611158974.8A CN108228383B (en) 2016-12-15 2016-12-15 Data processing method and device for multi-user system

Publications (2)

Publication Number Publication Date
CN108228383A CN108228383A (en) 2018-06-29
CN108228383B true CN108228383B (en) 2021-01-15

Family

ID=62650305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611158974.8A Active CN108228383B (en) 2016-12-15 2016-12-15 Data processing method and device for multi-user system

Country Status (1)

Country Link
CN (1) CN108228383B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697140B (en) * 2018-11-19 2023-08-25 深圳市腾讯信息技术有限公司 Data backup method and device, data recovery method and device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557551A (en) * 2009-05-11 2009-10-14 成都市华为赛门铁克科技有限公司 Cloud service accessing method, device and communication system thereof for mobile terminal
CN102495774B (en) * 2011-12-02 2014-06-04 浪潮(北京)电子信息产业有限公司 Method and system for realizing system recovery of computer
CN104573541A (en) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 Terminal, and method and device for processing multiple users of terminal
US9459849B2 (en) * 2014-01-17 2016-10-04 International Business Machines Corporation Adaptive cloud aware just-in-time (JIT) compilation

Also Published As

Publication number Publication date
CN108228383A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN104301382A (en) Cloud data backup and recovery method
JP5989807B2 (en) Software installation method, device and system
CN107864217B (en) Cloud desktop intelligent pushing system
CN100391291C (en) Data backing-up and recovering method and system
CN108762791B (en) Firmware upgrading method and device
CN110601931B (en) Batch configuration method and system of intelligent home system
CN104252374B (en) The program management-control method and device changed based on framework
GB2445991A (en) Transmitting loader software from mobile device to desktop computer for downloading application software from network resource
CN104298533A (en) Method, device and equipment for customizing software installation package
CN104866389A (en) Data recovery method as well as data backup method, device and system based on mobile operating system
CN104486388A (en) Accessing method and device of cloud storage file
CN108874585B (en) File backup method, device and system
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN102571446A (en) Method, device and system for upgrading network device
US20110196953A1 (en) Contact manager method and system
CN109460358B (en) Configuration management method and system based on Cmdb
CN103942121A (en) Data recovery system and mobile terminal
CN103713808A (en) Method and equipment for using applications on mobile terminal by browser
CN103327108A (en) Cross-platform software management platform based on cloud and construction method thereof
CN104317496A (en) Application sharing method and device
CN103686688A (en) Method and device for protecting user address list of mobile terminal and mobile terminal
CN102946404A (en) Method for displaying selectively-synchronized file folders at user terminal and cloud storage system
CN105468472A (en) iOS operation system based data backup and recovery method and apparatus
GB2444305A (en) Providing connectivity between a mobile device, a desktop computing device and network resources.
CN108228383B (en) Data processing method and device for multi-user system

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
GR01 Patent grant
GR01 Patent grant