Program recovery method, device and system
By responding to backup and recovery instructions, using data backup and group recovery technology, the cumbersome operation problems are solved, and the rapid recovery of multiple programs is achieved, and the work efficiency is improved.
Patent Information
- Application Number
- CN202110341457.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-30
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-03-30
AI Technical Summary
In the prior art, the operation of repeatedly opening multiple programs and restoring group layout is complicated and inefficient.
By responding to the backup trigger instruction, determine multiple programs running by the device and back up data; then responding to the recovery trigger instruction, restore multiple programs according to the backup data group to quickly restore the previous working state.
It simplifies user operations, improves work efficiency, avoids the process of users opening applications one by one and adjusting layout, and realizes rapid backup and recovery of multiple programs.
Smart Images

Figure CN113064758B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a program recovery method, device and system. Background Art
[0002] With the rapid development of science and technology, computers and other work terminals have become the mainstream tools for people's daily work. People can work by running programs on computers.
[0003] In actual applications, the same or similar work may last from several days to several months. When people return to work every day, they need to waste a long time opening each application one by one, and then open the last accessed file or web page through the application, and organize the layout of the application on the desktop, etc., to restore the last working status. The operation is cumbersome and inefficient.
[0004] In view of the above problems, it is necessary to provide a solution that can quickly restore multiple programs to the last working state to simplify user operations and improve work efficiency. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a program recovery method, device and system to at least solve the problem of cumbersome operation and low efficiency in repeatedly opening multiple programs and restoring the group layout.
[0006] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0007] A first aspect of the present application provides a program recovery method, the method comprising:
[0008] In response to the backup trigger instruction, determining a plurality of programs running on the device;
[0009] Backing up the data of the multiple programs to obtain backup data;
[0010] In response to a recovery trigger instruction, the plurality of programs are recovered in groups according to the backup data.
[0011] A second aspect of the present application provides a program recovery device, the device comprising:
[0012] A program determination module, configured to determine a plurality of programs running on the device in response to a backup trigger instruction;
[0013] A data backup module, used for backing up the data of the plurality of programs to obtain backup data;
[0014] The group recovery module is used to respond to the recovery trigger instruction and restore the multiple programs in groups according to the backup data.
[0015] The third aspect of the present application provides a program recovery system, comprising: a first device and a second device; wherein:
[0016] The first device is used to determine, in response to a backup trigger instruction, a plurality of programs running on the first device, and perform data backup on the plurality of programs to obtain backup data;
[0017] The second device is used to obtain the backup data, and in response to a recovery trigger instruction, restore the multiple programs in groups on the second device according to the backup data.
[0018] A first aspect of the present application provides a program recovery method, which determines multiple programs running on a device in response to a backup trigger instruction, then backs up the data of the multiple programs to obtain backup data, and then responds to a recovery trigger instruction to restore the multiple programs in groups according to the backup data. The method does not require users to open applications and access files or web pages one by one, nor does it require users to adjust the layout of each program, so that the running data of multiple programs can be backed up, and the multiple programs can be restored in groups according to the backup data, thereby restoring the programs and their organizational layout in the last work, which can effectively simplify user operations and improve work efficiency.
[0019] The program recovery device provided in the second aspect of the present application and the program recovery system provided in the third aspect are based on the same inventive concept as the program recovery method provided in the first aspect of the present application and have the same beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0021] Figure 1 A flowchart of a program recovery method provided by some embodiments of the present application is schematically shown;
[0022] Figure 2 A schematic diagram of a program recovery device provided in some embodiments of the present application. DETAILED DESCRIPTION
[0023] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0024] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0025] In addition, the terms "first" and "second" etc. are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0026] The embodiments of the present application provide a method, device and system for program recovery, which at least solve the problem of cumbersome operation and low efficiency in repeatedly opening multiple programs and restoring the group layout.
[0027] Please refer to Figure 1 , which schematically shows a flowchart of a program recovery method provided by some embodiments of the present application, such as Figure 1 As shown, a program recovery method may include the following steps S101-S103:
[0028] Step S101: In response to a backup trigger instruction, multiple programs running on a device are determined.
[0029] Step S102: backing up the data of the multiple programs to obtain backup data.
[0030] Step S103: In response to the recovery trigger instruction, the plurality of programs are recovered in groups according to the backup data.
[0031] The above-mentioned program recovery method provided in the embodiment of the present application can at least achieve the following beneficial effects: by responding to the backup trigger instruction, determining the multiple programs running on the device, and then backing up the data of the multiple programs to obtain the backup data, and then responding to the recovery trigger instruction, according to the backup data, the multiple programs can be restored in groups, wherein the user does not need to open the application program one by one and open the accessed files or web pages, nor does the user need to adjust the layout of each program, and the running data of multiple programs can be backed up, and the above-mentioned multiple programs can be restored in groups according to the backup data, thereby restoring the programs and their organizational layout in the last work, which can effectively simplify user operations and improve work efficiency.
[0032] Considering that, in actual applications, the programs run by the device include system programs automatically run by the operating system and user programs actively opened by the user, wherein the system programs will run automatically after the device is started, and there is no need to use the method of the present application to back up and restore them. The main purpose of the present application is to back up and restore the user programs opened by the user. Therefore, in some embodiments, the multiple programs run by the device determined in the above step S101 may refer to user programs running in the device, and the user programs may include both programs running in the foreground and programs running in the background, which is not limited in the embodiments of the present application.
[0033] In addition, the above-mentioned backup trigger instructions may include but are not limited to shutdown trigger instructions for the device, sleep trigger instructions, standby trigger instructions, instructions for timed triggering of program backup function, instructions for program backup function button being triggered, or instructions for voice invoking program backup function.
[0034] For example, according to the above-mentioned shutdown trigger instruction, sleep trigger instruction, and standby trigger instruction, the currently running user program can be automatically backed up when the device is shut down, sleeps or stands by, thereby realizing program data backup without the user's perception, thereby improving the user experience.
[0035] For example, according to the instructions of the above-mentioned timed trigger program backup function, a timed backup program can be set. By using the timed backup program to timed trigger the program backup function, after the device detects the instructions of the timed trigger program backup function, it can automatically back up the data of multiple programs running on the device. Through timed backup, it can avoid the situation where program data cannot be backed up due to power outages, downtime and other problems. After the power outage and downtime are restored, the timed backup data can be used to restore the program running status, thereby helping users to resume working status to the greatest extent.
[0036] For another example, an independent program backup function button can be set on the device. The program backup function button can be a physical button set on an input device such as a keyboard, or a virtual button set in the device operating system interface. Both of them can generate an instruction to trigger the program backup function button under the user's operation, thereby triggering the backup of the currently running user program. In this way, the program can be backed up according to the user's needs and under the user's autonomous operation, thereby meeting the user's needs for autonomous program backup and improving the user experience.
[0037] Similar to the above, if the device supports the voice control function, the program backup function can also be invoked through voice. This can be implemented using the voice control technology provided by the prior art, which will not be described in detail here. Through this implementation, the user's need to implement program backup through voice control can be met, the program backup method can be enriched, and the user experience can be improved.
[0038] In addition, there are multiple implementations for determining the multiple programs running on the device in the above step S101, which are described below by way of example:
[0039] In some implementations, the above step S101 may determine the multiple programs running on the device by taking screenshots. The above step S101 may include:
[0040] Determine multiple programs running on a device according to a screenshot, wherein the screenshot is a screenshot of the current desktop display content of the device.
[0041] In this embodiment, after detecting a backup trigger instruction, it can trigger a screenshot of the current desktop of the device to obtain a screenshot, and then identify the program window in the screenshot to determine the program corresponding to the program window displayed in the screenshot, so as to further trigger data backup of the program corresponding to the currently displayed program window.
[0042] Among them, to identify the program window in the screenshot, the image recognition technology provided by the prior art can be used to identify the program window in the screenshot through feature comparison, and then determine the program corresponding to the program window. In addition, for program windows with unclear window features, the program window can also be identified through text recognition technology combined with semantic analysis technology. The above image recognition technology, text recognition technology and semantic analysis technology are mature technologies in the prior art. Those skilled in the art can flexibly change the implementation based on the above technology to achieve the purpose of the embodiments of the present application. The specific implementation methods will not be repeated here, and they are all within the protection scope of the present application.
[0043] Through this implementation, screenshots can be used to determine multiple programs corresponding to the program windows displayed on the device desktop, and then data can be backed up for the program corresponding to the program window that the user is accessing. In the subsequent program recovery phase, the backed-up program can be directly restored to the state at the time of the screenshot, thereby completely and accurately restoring the device to the state before the backup, making it convenient for the user to quickly restore to the previous working state.
[0044] In some other implementations, the above step S101 may determine the multiple programs running on the device by reading program records. The above step S101 may include:
[0045] A plurality of programs running on a device is determined according to the program running record, wherein the program running record records information of each program running on the device.
[0046] In this embodiment, a task can be established in the device to record the information of each program running in the device in real time. The program running record can record at least one of the attribute information corresponding to the user program opened by the user, the access page information, the access file information, the access position information in the page or file, the search information entered in the program window, the program window size information and the program window position information. By reading the program running record, the multiple programs running on the device can be determined.
[0047] Through this implementation, multiple programs running on the device can be determined by reading program running records, wherein the program running records are not limited to programs running in the foreground, but may also include programs running in the background. Therefore, it is possible to more comprehensively determine the applications opened by the user, so as to subsequently fully restore the applications used by the user to a working state.
[0048] Considering that the purposes, requirements, and functions of the multiple programs opened by the user are different, for example, software A1, A2, and A3 are opened for work project A, and software B1 and B2 are opened for work project B at the same time, in order to enable the subsequently restored programs to be grouped and restored according to the functions of the programs, the purposes and requirements of the users, so that the restored programs can be classified and more organized, in some modified implementation manners of the embodiments of the present application, the above-mentioned data backup of the multiple programs to obtain the backup data may include:
[0049] Grouping the multiple programs to obtain at least one program group;
[0050] Performing data backup for the at least one program group respectively to obtain program group backup data corresponding to each program group;
[0051] The step of restoring the plurality of programs in groups according to the backup data comprises:
[0052] The plurality of programs are grouped and restored in units of the program group according to the program group backup data.
[0053] Through this implementation, programs can be grouped first during backup, and then each program group can be backed up separately. In this way, during subsequent recovery, one situation is that the user can select the required group to recover, thereby achieving on-demand and selective recovery; another situation is that programs of different program groups can be recovered separately in different operating spaces, so that the user can choose the corresponding operating space to work according to the actual purpose and needs, so that the user can get into the corresponding working state more quickly and improve the user's work efficiency.
[0054] The method of grouping the multiple programs may be a manual grouping method, in which the user selects and divides the groups; or an intelligent grouping method may be used, in which the device automatically analyzes the multiple programs and then groups them. Both of them can at least achieve the purpose of the embodiments of the present application. The following is an exemplary description of the intelligent grouping method:
[0055] In some implementations, the grouping of the multiple programs may include:
[0056] According to the basic data corresponding to each of the programs, the multiple programs are grouped to obtain at least one program group, wherein the interrelated programs determined according to the basic data are divided into the same group, and the basic data includes at least one of user behavior data, operation status data and attribute data.
[0057] Among them, the above-mentioned user behavior data may include but is not limited to the time, sequence, frequency, number of times multiple programs are opened in succession, etc. when users open programs. Through this user behavior data, the degree of association between different programs can be reflected. For example, multiple programs opened consecutively by a user within 5 minutes after getting to work generally have a high degree of association and can be considered to be interrelated programs.
[0058] The above-mentioned running status data may include data such as the running time of the program, the content displayed in the program, the layout of the program window corresponding to the program on the desktop, etc. For example, multiple programs running simultaneously and displayed side by side on the desktop have a high degree of correlation and can be considered to be interrelated programs.
[0059] The above-mentioned attribute data may include data such as the classification, name, function, etc. of the program. Multiple programs with the same classification, the same or related functions, and similar names generally have a high degree of association and can also be considered as interrelated programs.
[0060] In the embodiment of the present application, a machine learning algorithm can be used to determine the degree of association between various programs based on the above basic data, and to determine mutually related programs (programs that are considered to be mutually related if the degree of association meets certain conditions) according to the degree of association.
[0061] Through this implementation, the relationship between programs can be automatically analyzed based on basic data such as user behavior data, operating status data and attribute data corresponding to the programs, and then the mutually related programs can be divided into the same group, so that the programs can be grouped more accurately to meet user needs.
[0062] Based on the above implementation, in some modified implementations, the plurality of programs are grouped according to the basic data corresponding to each of the programs to obtain at least one program group, including:
[0063] Clustering the multiple programs according to the basic data corresponding to each of the programs;
[0064] Determining at least one associated program recommendation group according to the clustering result, wherein each of the associated program recommendation groups includes a plurality of programs belonging to a cluster category;
[0065] At least one program group is determined based on the at least one associated program recommendation group.
[0066] In this embodiment, a clustering algorithm may be first used to cluster the above-mentioned multiple programs to achieve preliminary grouping, that is, to determine multiple related program recommendation groups, and then the device automatically selects one or more from the multiple related program recommendation groups as the program group according to preset conditions, or the user selects one or more from the multiple related program recommendation groups as the program group, so as to determine the program group through human-computer interaction, combining intelligent recommendation with manual customization, which can not only improve the grouping efficiency, but also meet user needs to a greater extent, and obtain a program group that better meets user needs for backup.
[0067] Based on the above implementation, in some modified implementations, clustering the multiple programs by degree of association according to the basic data corresponding to each of the programs includes:
[0068] According to the basic data corresponding to each of the programs, the multiple programs are clustered according to their association degree from at least one of the following dimensions:
[0069] Clustering of association degree is performed based on the similarity of search information entered in the program and / or visited page information;
[0070] Cluster the degree of association based on the semantic relevance of the content displayed in the program;
[0071] Cluster the programs according to their activity time correlation;
[0072] Cluster the association degree based on the number of times multiple programs are opened consecutively.
[0073] It is easy to understand that the higher the similarity of the search information and / or the access page information input in the program, the higher the degree of association between the programs; the higher the semantic relevance of the content displayed in the program, the higher the degree of association between the programs; the higher the activity time relevance of the programs, the higher the degree of association between the programs; the higher the number of times multiple programs are opened consecutively, the higher the degree of association between the programs; therefore, the embodiments of the present application can analyze and cluster the degree of association between programs from at least one of the above dimensions.
[0074] Among them, the above-mentioned multiple dimensions can be used separately or in combination with each other, and the embodiments of the present application are not limited. Among them, the above-mentioned similarity, semantic relevance, activity time relevance, the number of times the program is opened continuously, etc. can be obtained by analyzing and processing the above-mentioned basic data. After that, a clustering algorithm can be used to cluster the multiple programs according to the degree of association. The embodiments of the present application do not limit the specific clustering algorithm. Conventional K-Means clustering algorithm, DBSCAN clustering algorithm, hierarchical clustering algorithm, etc. can all achieve the purpose of the embodiments of the present application. They should all be within the scope of protection of the present application and will not be repeated here.
[0075] Based on any of the foregoing implementations, in some modified implementations, restoring the multiple programs in groups according to the backup data may include:
[0076] The plurality of programs are restored in groups in a plurality of operation spaces according to the backup data, wherein different groups of programs are restored in different operation spaces.
[0077] The above operation space can be a desktop provided by the operating system, or a virtual machine, Sandboxie, etc., which is not limited in the embodiments of the present application. By restoring the above multiple programs in groups in multiple operation spaces, it is convenient for users to select corresponding operation spaces to work according to actual purposes and needs, so that users can quickly get into the corresponding working state and improve their work efficiency.
[0078] It should be noted that the work of grouping programs can be performed when backing up programs. Accordingly, the backup data can include multiple program group backup data obtained by backing up multiple program groups respectively. In this way, when this step is implemented, different program groups can be restored in different operating spaces based on the multiple program group backup data. In addition, the work of grouping programs can also be performed when restoring programs. Accordingly, the backup data can be the overall backup data of multiple ungrouped programs. When this step is implemented, the overall backup data is grouped again to obtain multiple program group backup data corresponding to different program groups. Then, based on the multiple program group backup data, different program groups are restored in different operating spaces. All of the above can achieve the purpose of the embodiments of the present application and should be within the protection scope of the present application.
[0079] In addition, in the program recovery method provided in the embodiment of the present application, each step can be executed in the same device to implement the backup and recovery of the program on the same device. In addition, the above multiple steps can also be executed in different devices. For example, steps S101 and S102 are executed in the first device to implement program data backup, and step S103 is executed in the second device to implement program data recovery, thereby realizing cross-device program data recovery and meeting the needs of users working in multiple locations and multiple devices. Among them, for the case of backup and recovery in different devices, in some embodiments, after the above step S102, the method may also include:
[0080] The backup data is uploaded to the cloud server according to the cloud account registered by the user in the cloud server, so that the user can use other devices to download the backup data from the cloud server to restore the multiple programs.
[0081] Through this implementation, the backup data can be uploaded to the cloud server in real time, making it convenient for users to download the backup data on different devices in different locations to restore multiple programs to the state at the time of backup, meeting the needs of users to use different devices for work in different locations.
[0082] The program recovery method provided in any of the above embodiments of the present application can at least achieve the following beneficial effects: by responding to a backup trigger instruction, determining multiple programs running on the device, and then backing up the data of the multiple programs to obtain backup data, thereafter, responding to a recovery trigger instruction, and restoring the multiple programs in groups according to the backup data, wherein the user does not need to open the application program one by one and open the accessed files or web pages, nor does the user need to adjust the layout of each program, and the running data of multiple programs can be backed up, and the multiple programs can be restored in groups according to the backup data, thereby restoring the programs and their organizational layout in the last work, which can effectively simplify user operations and improve work efficiency.
[0083] The following is further described in conjunction with specific implementation methods, wherein the following exemplary description can be understood with reference to the description of any of the aforementioned embodiments, and some contents will not be repeated here.
[0084] It should be noted that in the following exemplary description, although some words have changed, this does not affect the expression of their meanings. In the following description, some words will be described in correspondence with the words in the foregoing embodiment description. The corresponding relationship expressed in the correspondence description may include both equivalent relationships and hierarchical relationships, and technical personnel in this field can understand it in light of actual conditions.
[0085] In some specific examples, people need to waste a long time to return to yesterday's office status when they return to the office every day. The wasted time includes the time of repeatedly opening applications, because the time interval lacks coherent ideas and needs to be reorganized and searched, the interface windows of different sizes are messy, and the windows and files of different projects are scattered; restoring yesterday's office status is not just opening the window, but restoring the last idea, which requires analyzing the user's browsing path, such as the main user goals of the main users, browsing highly relevant content, etc. Although the computer system has a self-starting software function for sudden shutdown, it cannot remember the browsed information and needs to reopen the file in the application, which does not solve the user's problem. Therefore, the embodiment of the present application can provide a system interaction mode that facilitates users to quickly restore the working status through the above-mentioned program recovery method, help quickly enter the previous working status through system file organization, avoid repeatedly opening applications, waste time, and avoid reading inefficiency caused by messy windows, and have both record and intelligent organization to help users quickly enter the working state, and help users improve work efficiency in cross-application platform and complex process scenarios under the same project. In this example, the above-mentioned program recovery method is described as follows in combination with a specific application scenario:
[0086] 1. When the system detects that the user closes the laptop screen 1, the system triggers the induction (or automatically shuts down), and the screen capture automatically records the user's current system working status (such as which applications and files are opened, the browsing window position and file window in the application, etc.), and generates backup data.
[0087] 2. When the user opens the screen of computer 2 (or computer 1), the system takes a system screenshot, restores the program according to the above backup data, calls up the files and windows browsed by the user, distributes the window positions corresponding to each program according to the screenshot position, and restores the files or pages opened in the program to the access position at the time of backup.
[0088] 3. The system can understand user operations across platforms as the same project according to certain rules and classify them in the form of projects (i.e., program groups). Specifically, the classification can be based on the degree of association between programs. For example, the classification can be based on the following 1)-4) descriptions:
[0089] 1) Classify by strong related information. For example, if the search keywords and file names are highly similar, the degree of association between programs is high.
[0090] 2) Based on the context of related searches and open files, that is, the correlation is defined according to the user's current task and environment. The stronger the correlation, the higher the degree of association between the programs.
[0091] 3) Remember the user's repeated operation behaviors. For example, after opening a file window, a browser, music software, communication software, etc. will be opened. The operation browsing path can be recorded with the user's permission, and then the degree of association between programs can be determined based on the repeated operation behaviors.
[0092] 4) According to the time period, if there is time correlation, that is, it means that users think about the same thing at the same time, then programs with high time correlation will have a high degree of correlation.
[0093] 4. After dividing the program groups, recommend the naming and classification methods of the program groups based on the way users search for files (some users like to name them, some users use colors to represent processes, and some users like to use time. You can flexibly set it according to user needs)
[0094] 5. When restoring a program, you can present all program windows under the project according to the time when the user opened the file window before backup, the browsing order, the visual focus stay time (determined by the mouse pointer), the browsing time and other data, so that you can restore multiple programs with one click according to yesterday's working status mode.
[0095] 6. In addition, when restoring the program, you can also automatically build an intelligent work desktop according to the project group (ie program group) based on the file operation relevance and the user's system operation habits to help users enter an efficient working state.
[0096] Through the above implementation, programs can be quickly grouped and restored to the previous working state, avoiding users from wasting time by repeatedly opening applications, and avoiding the problem of inefficient reading caused by messy windows. At the same time, it has the effect of recording and intelligent organization to help users quickly enter the working state.
[0097] In the above embodiment, a program recovery method is provided, and correspondingly, the present application also provides a program recovery device. The program recovery device provided in the embodiment of the present application can implement the above program recovery method, and the program recovery device can be implemented by software, hardware, or a combination of software and hardware. For example, the program recovery device may include integrated or separate functional modules or units to perform the corresponding steps in the above methods. Please refer to Figure 2 , which schematically shows a schematic diagram of a program recovery device provided by some embodiments of the present application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.
[0098] like Figure 2 As shown, an embodiment of the present application provides a program recovery device 10, and the device 10 includes:
[0099] A program determination module 101, configured to determine a plurality of programs running on a device in response to a backup trigger instruction;
[0100] The data backup module 102 is used to perform data backup on the plurality of programs to obtain backup data;
[0101] The group recovery module 103 is used to respond to the recovery trigger instruction and recover the multiple programs in groups according to the backup data.
[0102] In some modified implementations of the embodiments of the present application, the program determination module 101 includes:
[0103] A screenshot determining program unit, used to determine multiple programs running on a device according to a screenshot, wherein the screenshot is a screenshot of the current desktop display content of the device; or
[0104] The record reading program unit is used to determine multiple programs running on the device according to the program running record, wherein the program running record records information of each program running on the device.
[0105] In some modified implementations of the embodiments of the present application, the data backup module 102 includes:
[0106] a program grouping unit, configured to group the plurality of programs to obtain at least one program group;
[0107] A group backup unit, used to perform data backup for the at least one program group respectively, and obtain program group backup data corresponding to each program group;
[0108] The packet recovery module 103 includes:
[0109] The group recovery unit is used to back up the data according to the program group and to recover the plurality of programs in groups based on the program group.
[0110] In some modified implementations of the embodiments of the present application, the program grouping unit includes:
[0111] The program grouping subunit is used to group the multiple programs according to the basic data corresponding to each of the programs to obtain at least one program group, wherein the interrelated programs determined according to the basic data are divided into the same group, and the basic data includes at least one of user behavior data, operation status data and attribute data.
[0112] In some modified implementations of the embodiments of the present application, the program grouping subunit includes:
[0113] An association clustering subunit, used for clustering the association degree of the plurality of programs according to the basic data corresponding to each of the programs;
[0114] a recommendation group determination subunit, configured to determine at least one associated program recommendation group according to the clustering result, wherein each of the associated program recommendation groups includes a plurality of programs belonging to one clustering category;
[0115] The program group determining subunit is configured to determine at least one program group according to the at least one associated program recommendation group.
[0116] In some modified implementations of the embodiments of the present application, the association clustering subunit is specifically used to:
[0117] According to the basic data corresponding to each of the programs, the multiple programs are clustered according to their association degree from at least one of the following dimensions:
[0118] Clustering of association degree is performed based on the similarity of search information entered in the program and / or visited page information;
[0119] Cluster the degree of association based on the semantic relevance of the content displayed in the program;
[0120] Cluster the programs according to their activity time correlation;
[0121] Cluster the association degree based on the number of times multiple programs are opened consecutively.
[0122] In some modified implementations of the embodiments of the present application, the packet recovery module 103 includes:
[0123] The multi-space group recovery unit is used to group and recover the multiple programs in multiple operation spaces according to the backup data, wherein different groups of programs are recovered in different operation spaces.
[0124] In some modified implementations of the embodiments of the present application, the device 10 further includes:
[0125] The cloud backup module is used to upload the backup data to the cloud server according to the cloud account registered by the user in the cloud server, so that the user can use other devices to download the backup data from the cloud server to restore the multiple programs.
[0126] The program recovery device 10 provided in the embodiment of the present application is based on the same inventive concept as the program recovery method provided in the aforementioned embodiment of the present application and has the same beneficial effects, which will not be described in detail here.
[0127] The present application also provides a program recovery system corresponding to the program recovery method provided in the above embodiment, and the program recovery system includes a first device and a second device; wherein:
[0128] The first device is used to determine, in response to a backup trigger instruction, a plurality of programs running on the first device, and perform data backup on the plurality of programs to obtain backup data;
[0129] The second device is used to obtain the backup data, and in response to a recovery trigger instruction, restore the multiple programs in groups on the second device according to the backup data.
[0130] Among them, the steps executed by the above-mentioned first device and the second device can be understood by referring to the aforementioned embodiment description of the program recovery method, and will not be repeated here. Based on the above-mentioned program recovery system, the backup data of the program on the first device can be restored to the second device, thereby realizing cross-device program data recovery and meeting the needs of users to use different devices for office work in different locations.
[0131] Among them, the above-mentioned first device and second device can both communicate and connect with the cloud server, and be associated with the cloud account registered by the user on the cloud server. The first device can upload the backup data to the cloud server, and the second device can download the backup data from the cloud server to restore the program to the state before the backup, thereby meeting the needs of users to use different devices for work in different locations.
[0132] The program recovery system provided in the embodiment of the present application is based on the same inventive concept as the program recovery method provided in the aforementioned embodiment of the present application and has the same beneficial effects, which will not be described in detail here.
[0133] It should be noted that the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0135] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0138] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application.
Claims
1. A program recovery method, the method comprising: In response to the backup trigger instruction, determining multiple programs running on the device includes: determining multiple programs running on the device according to a screenshot, wherein the screenshot is a screenshot of the current desktop display content of the device; or determining multiple programs running on the device according to a program running record, wherein the program running record records information of each program running on the device; Backing up the plurality of programs to obtain backup data, wherein the backup data is used to restore the programs and the organizational layout of the programs in the last operation; The step of backing up the data of the plurality of programs to obtain backup data includes: grouping the plurality of programs to obtain at least one program group; backing up the data of the at least one program group respectively to obtain program group backup data corresponding to each program group; The grouping of the plurality of programs comprises: grouping the plurality of programs according to basic data corresponding to each of the programs to obtain at least one program group, wherein the mutually related programs determined according to the basic data are divided into the same group, and the basic data comprises at least one of user behavior data, running status data and attribute data; The step of grouping the plurality of programs according to the basic data corresponding to each of the programs to obtain at least one program group includes: clustering the plurality of programs according to the basic data corresponding to each of the programs; determining at least one associated program recommendation group according to the clustering result, wherein each associated program recommendation group includes a plurality of programs belonging to a clustering category; and determining at least one program group according to the at least one associated program recommendation group; In response to the recovery trigger instruction, the plurality of programs are recovered in groups according to the backup data, including: recovering the plurality of programs in groups in units of the program group according to the program group backup data.
2. The method according to claim 1, wherein clustering the plurality of programs according to the basic data corresponding to each of the programs comprises: According to the basic data corresponding to each of the programs, the multiple programs are clustered according to their association degree from at least one of the following dimensions: Clustering of association degree is performed based on the similarity of search information entered in the program and / or visited page information; Cluster the degree of association based on the semantic relevance of the content displayed in the program; Cluster the programs according to their activity time correlation; Cluster the association degree based on the number of times multiple programs are opened consecutively.
3. The method according to claim 1, wherein restoring the plurality of programs in groups according to the backup data comprises: The plurality of programs are restored in groups in a plurality of operation spaces according to the backup data, wherein different groups of programs are restored in different operation spaces.
4. The method according to any one of claims 1 to 3, further comprising: The backup data is uploaded to the cloud server according to the cloud account registered by the user in the cloud server, so that the user can use other devices to download the backup data from the cloud server to restore the multiple programs.
5. A program recovery device, the device comprising: A program determination module, configured to determine a plurality of programs running on the device in response to a backup trigger instruction; The program determination module includes: a screenshot determination program unit, which is used to determine multiple programs running on the device according to a screenshot, wherein the screenshot is a screenshot of the current desktop display content of the device; or a record reading program unit, which is used to determine multiple programs running on the device according to a program running record, wherein the program running record records information of each program running on the device; A data backup module, used to perform data backup on the plurality of programs to obtain backup data, wherein the backup data is used to restore the programs and the organizational layout of the programs in the last operation; The data backup module includes: a program grouping unit, which is used to group the plurality of programs to obtain at least one program group; a group backup unit, which is used to perform data backup for the at least one program group respectively to obtain program group backup data corresponding to each of the program groups; The program grouping unit includes: a program grouping subunit, configured to group the plurality of programs according to basic data corresponding to each of the programs to obtain at least one program group, wherein the mutually related programs determined according to the basic data are divided into the same group, and the basic data includes at least one of user behavior data, running status data and attribute data; The program grouping subunit includes: an association clustering subunit, which is used to cluster the association degree of the multiple programs according to the basic data corresponding to each of the programs; a recommendation group determination subunit, which is used to determine at least one association program recommendation group according to the clustering result, wherein each of the association program recommendation groups includes multiple programs belonging to a cluster category; a program group determination subunit, which is used to determine at least one program group according to the at least one association program recommendation group; A group recovery module, configured to respond to a recovery trigger instruction and to recover the plurality of programs in groups according to the backup data; The group recovery module includes: a group recovery unit, which is used to restore the plurality of programs in groups according to the program group backup data and in units of the program group.
6. A program recovery system, comprising: A first device and a second device; wherein, The first device is used to respond to the backup trigger instruction, determine multiple programs running on the first device, and back up data of the multiple programs to obtain backup data, and the backup data is used to restore the programs and the organizational layout of the programs in the last operation; Wherein, in response to the backup trigger instruction, determining the multiple programs running on the first device includes: determining the multiple programs running on the device according to a screenshot, wherein the screenshot is a screenshot of the current desktop display content of the device; or determining the multiple programs running on the device according to a program running record, wherein the program running record records information of each program running on the device; The step of backing up the data of the plurality of programs to obtain backup data includes: grouping the plurality of programs to obtain at least one program group; backing up the data of the at least one program group respectively to obtain program group backup data corresponding to each program group; The grouping of the plurality of programs comprises: grouping the plurality of programs according to basic data corresponding to each of the programs to obtain at least one program group, wherein the mutually related programs determined according to the basic data are divided into the same group, and the basic data comprises at least one of user behavior data, running status data and attribute data; The step of grouping the plurality of programs according to the basic data corresponding to each of the programs to obtain at least one program group includes clustering the plurality of programs according to the basic data corresponding to each of the programs; determining at least one associated program recommendation group according to the clustering result, wherein each associated program recommendation group includes a plurality of programs belonging to a clustering category; and determining at least one program group according to the at least one associated program recommendation group; The second device is used to obtain the backup data, and in response to a recovery trigger instruction, restore the multiple programs in groups on the second device according to the backup data, including: restoring the multiple programs in groups based on the program group backup data.
Citation Information
Patent Citations
Creation of a single client snapshot using a client application program
CN101253484A
Snapshot backup and restoration method and device when in running of mobile terminal
CN101788936A
Method, device and terminal for backing up and recovering
CN102063350A
Storage method of terminal data, and method and device for restoring default settings of terminal
CN104268033A
Data processing method during abnormal shutdown of mobile terminal and mobile terminal
CN105847554A
