[go: up one dir, main page]

CN109032686B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN109032686B
CN109032686B CN201810581679.6A CN201810581679A CN109032686B CN 109032686 B CN109032686 B CN 109032686B CN 201810581679 A CN201810581679 A CN 201810581679A CN 109032686 B CN109032686 B CN 109032686B
Authority
CN
China
Prior art keywords
application
user
data
user behavior
uninstalled
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
CN201810581679.6A
Other languages
Chinese (zh)
Other versions
CN109032686A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810581679.6A priority Critical patent/CN109032686B/en
Publication of CN109032686A publication Critical patent/CN109032686A/en
Application granted granted Critical
Publication of CN109032686B publication Critical patent/CN109032686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本公开是关于一种数据处理方法及装置,用以提高终端设备启动分身功能后的响应速度。所述方法包括:采集至少两个用户空间中的至少一个应用程序各自的用户行为数据;获取至少一个应用程序各自的用户行为特征;用户行为特征通过对用户行为数据进行分析得到;用户行为特征中携带对应的应用程序的应用标识以及对应的应用程序所属用户空间的空间标识;对比至少一个应用程序各自的用户行为特征,获得至少一个应用程序组;每个应用程序组各自包括至少两个用户行为特征相同、应用标识相同、空间标识不同的应用程序;合并同一应用程序组中的应用程序之间的重复数据;重复数据包括应用程序数据。本公开技术方案,可以提高终端设备启动分身功能后的响应速度。

Figure 201810581679

The present disclosure relates to a data processing method and device, which are used to improve the response speed of a terminal device after the avatar function is activated. The method includes: collecting respective user behavior data of at least one application program in at least two user spaces; acquiring respective user behavior characteristics of at least one application program; the user behavior characteristics are obtained by analyzing the user behavior data; Carry the application identifier of the corresponding application and the space identifier of the user space to which the corresponding application belongs; compare the respective user behavior characteristics of at least one application, and obtain at least one application group; each application group includes at least two user behaviors Applications with the same characteristics, the same application ID, and different spatial IDs; merge duplicate data between applications in the same application group; duplicate data includes application data. The technical solution disclosed in the present disclosure can improve the response speed of the terminal device after the avatar function is activated.

Figure 201810581679

Description

Data processing method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a data processing method and apparatus.
Background
With the development of science and technology, a plurality of user spaces are provided on a terminal, different user spaces are isolated from each other, and each user space has the authority of accessing data in the user space of the user space, so that the privacy of the user is protected. For example, the mobile phone identity is a privacy space (also called identity-based space) of a user, and a corresponding access right is required for accessing the privacy space. A user may store data in a privacy space that requires privacy protection. Moreover, the privacy space is similar to a sandbox, and any operation is performed in the sandbox without affecting the initial space, wherein the privacy space and the initial space are two user spaces isolated from each other on the mobile phone, and the initial space is generally a user space which is entered for the first time after the mobile phone is turned on.
When only one user space exists on the terminal, the user space monopolizes the memory, and after the terminal starts the body-separating function, at least two spaces commonly use the memory. Therefore, how to increase the response speed of the terminal device after the split-body function is started is a technical problem to be solved at present.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a data processing method and apparatus, so as to improve the response speed of a terminal device after starting a body-splitting function.
According to a first aspect of the embodiments of the present disclosure, there is provided a data processing method, including:
collecting user behavior data of at least one application program in at least two user spaces;
acquiring the respective user behavior characteristics of the at least one application program; the user behavior characteristics are obtained by analyzing the user behavior data; the user behavior characteristics carry application identifications of corresponding application programs and space identifications of user spaces to which the corresponding application programs belong;
comparing the user behavior characteristics of the at least one application program to obtain at least one application program group; the at least one application group each includes at least two applications; the user behavior characteristics, the application identifications and the space identifications corresponding to the at least two application programs are the same;
merging repeated data between at least two application programs belonging to the same application program group in the at least one application program group; the duplicate data includes application data.
In one embodiment, the obtaining the respective user behavior characteristics of the at least one application may include:
sending the user behavior data of the at least one application program to a server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model to obtain the user behavior characteristics of the at least one application program;
and receiving the user behavior characteristics of the at least one application program sent by the server.
In one embodiment, the comparing the respective user behavior characteristics of the at least one application to obtain at least one application group may include:
comparing the user behavior characteristics of the at least one application program according to the application identifier and the space identifier to obtain at least one candidate user behavior characteristic group; the at least one candidate user behavior feature group comprises at least two candidate user behavior features respectively; the application identifications corresponding to the at least two candidate user behavior characteristics are the same, and the space identifications are different;
comparing at least two candidate user behavior characteristics belonging to the same candidate user behavior characteristic group in the at least one candidate user behavior characteristic group to obtain at least one target user behavior characteristic group; the at least one target user behavior feature group comprises at least two target user behavior features respectively; the at least two target user behavior characteristics are the same;
and allocating the application programs corresponding to at least two target user behavior characteristics belonging to the same target user behavior characteristic group in the at least one target user behavior characteristic group to the same application program group to obtain the at least one application program group.
In one embodiment, the merging of duplicate data between at least two applications belonging to the same application group in the at least one application group may include:
at least one duplicate application in the same application group is uninstalled, and user data of the uninstalled duplicate application is saved for use by the application that is not uninstalled.
In one embodiment, the uninstalling at least one duplicate application in the same application group and saving user data of the uninstalled duplicate application for use by the application that is not uninstalled may include:
determining an application program to be unloaded in at least two application programs belonging to the same application program group according to a preset data merging rule; the data merging rule comprises a space identifier of a user space to which the application program to be unloaded belongs;
migrating the first user data of the application to be uninstalled to a shared application; the shared application program is an application program belonging to the same application program group with the application program to be unloaded; the repeated data is the application program data of the application program to be uninstalled and the shared application program;
the sharing application program combines the received first user data and the second user data to obtain sharing user data; wherein the second user data is user data saved by the shared application program before receiving the first user data; the at least two user spaces share the shared application and the shared user data;
and unloading the application program to be unloaded.
In one embodiment, the uninstalling at least one duplicate application in the same application group and saving user data of the uninstalled duplicate application for use by the application that is not uninstalled may include:
determining an application program to be unloaded in at least two application programs belonging to the same application program group according to a preset data merging rule; the data merging rule comprises a space identifier of a user space to which the application program to be unloaded belongs;
storing the third user data of the application program to be uninstalled at a first preset storage address, and storing the fourth user data of the shared application program at a second preset storage address; the first preset storage address is located in a user space to which the application to be uninstalled belongs, the second preset storage address is located in a user space to which the shared application belongs, the shared application is an application program belonging to the same application group as the application to be uninstalled, the repeated data is application program data of the application to be uninstalled and the shared application, and the shared application is shared by the at least two user spaces;
uninstalling the application program to be uninstalled; after the application program to be uninstalled is uninstalled, if the operation behavior applied to the shared application program by the user is from the user space to which the application program to be uninstalled belongs, the shared application program calls the third user data stored in the first preset storage address, and if the operation behavior applied to the shared application program by the user is from the user space to which the shared application program belongs, the shared application program calls the fourth user data stored in the second preset storage address.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing apparatus including:
an acquisition module configured to acquire user behavior data of each of at least one application in at least two user spaces;
the acquisition module is configured to acquire the user behavior characteristics of each application program; the user behavior characteristics are obtained by analyzing the user behavior data; the user behavior characteristics carry application identifications of corresponding application programs and space identifications of user spaces to which the corresponding application programs belong;
the comparison module is configured to compare the user behavior characteristics of the at least one application program to obtain at least one application program group; the at least one application group each includes at least two applications; the user behavior characteristics, the application identifications and the space identifications corresponding to the at least two application programs are the same;
a merging module configured to merge duplicate data between at least two applications belonging to the same application group in the at least one application group; the duplicate data includes application data.
In one embodiment, the obtaining module may include:
the sending submodule is configured to send the user behavior data of the at least one application program to a server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model to obtain the user behavior characteristics of the at least one application program;
a receiving submodule configured to receive the user behavior characteristics of each of the at least one application program sent by the server.
In one embodiment, the comparison module may include:
the first comparison submodule is configured to compare the user behavior characteristics of the at least one application program according to the application identifier and the space identifier to obtain at least one candidate user behavior characteristic group; the at least one candidate user behavior feature group comprises at least two candidate user behavior features respectively; the application identifications corresponding to the at least two candidate user behavior characteristics are the same, and the space identifications are different;
the second comparison sub-module is configured to compare at least two candidate user behavior characteristics belonging to the same candidate user behavior characteristic group in the at least one candidate user behavior characteristic group to obtain at least one target user behavior characteristic group; the at least one target user behavior feature group comprises at least two target user behavior features respectively; the at least two target user behavior characteristics are the same;
and the distribution submodule is configured to distribute the application programs corresponding to at least two target user behavior characteristics belonging to the same target user behavior characteristic group in the at least one target user behavior characteristic group to the same application program group to obtain the at least one application program group.
In one embodiment, the merge module may be further configured to uninstall at least one duplicate application in the same application suite and save user data of the uninstalled duplicate application for use by the un-uninstalled application.
In one embodiment, the merging module may include:
the first determining submodule is configured to determine an application program to be unloaded in at least two application programs belonging to the same application program group according to a preset data merging rule; the data merging rule comprises a space identifier of a user space to which the application program to be unloaded belongs;
the migration submodule is configured to migrate the first user data of the application program to be uninstalled to the shared application program; the shared application program is an application program belonging to the same application program group with the application program to be unloaded; the repeated data is the application program data of the application program to be uninstalled and the shared application program;
the merging submodule is configured to merge the received first user data and the second user data through the shared application program to obtain shared user data; wherein the second user data is user data saved by the shared application program before receiving the first user data; the at least two user spaces share the shared application and the shared user data;
and the first uninstalling submodule is configured to uninstall the application program to be uninstalled.
In one embodiment, the merging module may include:
the second determining submodule is configured to determine an application program to be unloaded in at least two application programs belonging to the same application program group according to a preset data merging rule; the data merging rule comprises a space identifier of a user space to which the application program to be unloaded belongs;
the storage submodule is configured to store third user data of the application program to be uninstalled at a first preset storage address, and store fourth user data of the shared application program at a second preset storage address; the first preset storage address is located in a user space to which the application to be uninstalled belongs, the second preset storage address is located in a user space to which the shared application belongs, the shared application is an application program belonging to the same application group as the application to be uninstalled, the repeated data is application program data of the application to be uninstalled and the shared application, and the shared application is shared by the at least two user spaces;
the second uninstalling submodule is configured to uninstall the application program to be uninstalled; after the application program to be uninstalled is uninstalled, if the operation behavior applied to the shared application program by the user is from the user space to which the application program to be uninstalled belongs, the shared application program calls the third user data stored in the first preset storage address, and if the operation behavior applied to the shared application program by the user is from the user space to which the shared application program belongs, the shared application program calls the fourth user data stored in the second preset storage address.
According to a third aspect of the embodiments of the present disclosure, there is provided a data processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform: the method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: acquiring user behavior data of at least one application program in at least two user spaces, and acquiring user behavior characteristics of the at least one application program obtained by analyzing the user behavior data; obtaining at least one application program group by comparing the respective user behavior characteristics of the at least one application program, wherein the application programs in each application program group are application programs (application identifiers are the same) realizing the same function, come from different user spaces and have the same respective corresponding user behavior characteristics; and merging repeated data between at least two application programs belonging to the same application program group in the at least one application program group, wherein the repeated data at least comprises application program data. Therefore, the memory of the terminal equipment after the body-splitting function is started can be saved, and the response speed of the terminal equipment after the body-splitting function is started can be further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a data processing method according to an example embodiment.
Fig. 2 is a flowchart illustrating a data processing method according to another exemplary embodiment.
Fig. 3 is a flowchart illustrating a data processing method according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating a data processing method according to another exemplary embodiment.
Fig. 5 is a flowchart illustrating a data processing method according to another exemplary embodiment.
FIG. 6 is a block diagram illustrating a data processing apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating a data processing apparatus according to another exemplary embodiment.
Fig. 8 is a block diagram illustrating a data processing apparatus according to another exemplary embodiment.
Fig. 9 is a block diagram illustrating a data processing apparatus according to another exemplary embodiment.
Fig. 10 is a block diagram illustrating a data processing apparatus according to another exemplary embodiment.
FIG. 11 is a block diagram illustrating a data processing apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a data processing method according to an exemplary embodiment, which may be applied to a terminal device (e.g., a smart phone, a tablet computer, etc.) capable of implementing a separation function, and as shown in fig. 1, the data processing method includes the following steps S101 to S104:
in step S101, user behavior data of at least one application program in at least two user spaces is collected.
In one embodiment, the terminal device (e.g., a smartphone) is provided with a stand-alone capability. The terminal device has at least two user spaces after the split function is started, wherein the at least two user spaces can be two user spaces which are isolated from each other. In all the user spaces, the user space which is entered for the first time after the terminal device is started up can be called as an initial space, and the user space which is set after the body-separating function is started up can be called as a body-separating space. If there are at least two separate spaces, the separate spaces may be named one after the other according to the set time. For example, when there are two separate spaces, the separate space with the previous setting time may be named "separate space 1", and the separate space with the subsequent setting time may be named "separate space 2".
In an exemplary embodiment, in order to isolate work from life, a user can start the body-separating function on a mobile phone with the body-separating function, set a new user space as a body-separating space, use the initial space for work, and use the body-separating space for life. For example, application a, application B, and application C may be installed in the initial space, and application a and application B may be installed in the avatar space.
In one embodiment, to distinguish user spaces, each user space is provided with a space identification. Continuing with the exemplary embodiment described above, the spatial designation of the initial space may be P1 and the spatial designation of the avatar space may be P2.
In one embodiment, to distinguish the application programs, the application programs with different functions are provided with different application identifications, and the application identifications of the application programs with the same function are the same. Continuing with the above exemplary embodiment, the application id of application a in the initial space and the application id of application a in the body space may both be APP01, and similarly, the application id of application B may be APP02, and the application id of application C may be APP 03.
In one embodiment, the terminal device may collect user behavior data of each of all applications installed in all user spaces. The user behavior data is behavior data of the application program used by the user, and the application identifier of the corresponding application program and the space identifier of the user space to which the corresponding application program belongs are carried in the user behavior data. In an exemplary embodiment, the user behavior data may include any one or any combination of a duration of use, a frequency of use, attributes of the transaction (work or life). Continuing with the exemplary embodiment described above, the user behavior data may be a usage duration within a preset period of the application, for example, the usage duration is a usage duration of each week. The terminal device can acquire respective use durations of the application program A, the application program B and the application program C installed in the initial space and the application program A and the application program B installed in the separate space in one week, and the use durations are used as user behavior data of the application programs in the two user spaces on the terminal device.
In another embodiment, the at least one application program described in step S101 is installed in at least a plurality of user spaces. That is, when collecting user behavior data, only user behavior data of applications that are repeatedly installed in different user spaces is collected. Therefore, invalid data can be prevented from being collected, the data collection amount is reduced, and the data analysis burden is reduced. Continuing with the above exemplary embodiment, when the terminal device collects the user behavior data, only the user behavior data of the application program a and the application program B in the initial space and the user behavior data of the application program a and the application program B in the split space are collected, and the user behavior data of the application program C in the initial space is not collected.
In step S102, obtaining respective user behavior characteristics of the at least one application; the user behavior characteristics are obtained by analyzing the user behavior data; the user behavior characteristics carry the application identification of the corresponding application program and the space identification of the user space to which the corresponding application program belongs.
In an embodiment, the terminal device may send the user behavior data of the at least one application program to the server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model to obtain the user behavior characteristics of the at least one application program, and the server sends the user behavior characteristics of the at least one application program to the terminal device after obtaining the user behavior characteristics of the at least one application program. In the above embodiment, the server may pre-establish a behavior analysis model, and after receiving the user behavior data of each of the at least one application program sent by the terminal device, the server analyzes the received user behavior data by using the behavior analysis model to obtain the user behavior characteristics of each of the at least one application program. Of course, in practical application, the terminal device may also analyze the collected user behavior data to obtain the user behavior characteristics.
Continuing with the above exemplary embodiment, the terminal device sends the collected usage durations of the application a, the application B, and the application C installed in the initial space of one week and the application a and the application B installed in the separate space to the server, and the server analyzes the received data to obtain the user behavior characteristics of the application a, the application B, and the application C installed in the initial space and the application a and the application B installed in the separate space, which may specifically be shown in table 1.
TABLE 1
Application program Space identification Application identification User' sBehavioral characteristics
Application A P1 APP01 High liveness (P1, APP01)
Application program B P1 APP02 Moderate liveness (P1, APP02)
Application program C P1 APP03 Low liveness (P1, APP03)
Application A P2 APP01 High liveness (P2, APP01)
Application program B P2 APP02 Low liveness (P2, APP02)
In step S103, comparing the respective user behavior characteristics of the at least one application program to obtain at least one application program group; the at least one application group each includes at least two applications; the user behavior characteristics, the application identifications and the space identifications corresponding to the at least two application programs are the same.
In an embodiment, after obtaining the user behavior characteristics of the at least one application program, the terminal device may compare the user behavior characteristics corresponding to the application programs with different space identifiers and the same application identifier, and select the application program with the same user behavior characteristics from the comparison result as an application program group. Continuing with the above exemplary embodiment, comparing the respective user behavior characteristics of the application a installed in the initial space and the application a installed in the separate body space, since the respective user behavior characteristics of the application a installed in the initial space and the application a installed in the separate body space are the same, an application group is obtained, and the first application group includes the application a installed in the initial space and the application a installed in the separate body space. Similarly, comparing the user behavior characteristics of the application program B installed in the initial space with the user behavior characteristics of the application program B installed in the separate space, because the user behavior characteristics of the application program B installed in the initial space are different from the user behavior characteristics of the application program B installed in the separate space, another application program group cannot be obtained.
In step S104, merging duplicate data between at least two applications belonging to the same application group in the at least one application group; the duplicate data includes application data.
In one embodiment, for each application community, duplicate data between at least two applications in the application community is consolidated. In one exemplary embodiment, the duplicate data may be application data. The merging of the application data of the at least two applications in the application group is to merge the at least two applications in the application group. In one exemplary embodiment, at least one duplicate application in the same application suite may be uninstalled and user data for the uninstalled duplicate application may be saved for use by the uninstalled application. In other words, one application in the application group is made alive, the rest of the applications are uninstalled, and the user data of the uninstalled duplicate applications is saved for use by the un-uninstalled alive applications. Therefore, the memory of the terminal equipment after the body-splitting function is started can be saved, and the response speed of the terminal equipment after the body-splitting function is started can be further improved.
Continuing with the exemplary embodiment described above, user data for application a installed in the split-body space may be retained, but application a installed in the split-body space is uninstalled, and the initial space and the split-body space may share application a installed in the initial space. The user data of the application program A installed in the separate space can be migrated to the initial space and merged with the user data of the application program A installed in the initial space. The user data of the application program a installed in the separate space can also be stored in a preset storage address in the separate space, so that the application program a installed in the initial space can be called.
In the above exemplary embodiments, the user behavior data is taken as an example of the usage duration. Of course, in practical applications, the data processing method may be implemented by using other user behavior data. For example, attributes of the transaction may be treated as user behavior data. When the user behavior characteristics of the application program a in the initial space and the application program a in the separate space, which are acquired by the terminal device, are both "cross-processing work transactions and life transactions", the application program a in the initial space and the application program a in the separate space may be merged, and the user data of the two may be merged. Therefore, the memory of the terminal equipment after the split function is started can be saved, the response speed of the terminal equipment after the split function is started can be improved, and the burden of a user for switching the user space can be reduced.
In this embodiment, the user behavior characteristics of at least one application program obtained by analyzing the user behavior data are obtained by collecting the user behavior data of at least one application program in at least two user spaces; obtaining at least one application program group by comparing the respective user behavior characteristics of the at least one application program, wherein the application programs in each application program group are application programs (application identifiers are the same) realizing the same function, come from different user spaces and have the same respective corresponding user behavior characteristics; and merging repeated data between at least two application programs belonging to the same application program group in the at least one application program group, wherein the repeated data at least comprises application program data. Therefore, the memory of the terminal equipment after the body-splitting function is started can be saved, and the response speed of the terminal equipment after the body-splitting function is started can be further improved.
FIG. 2 is a flow diagram illustrating a data processing method according to an example embodiment. On the basis of the embodiment shown in fig. 1, the step S102 includes the following steps S201 to S202:
in step S201, the user behavior data of the at least one application program is sent to a server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model to obtain the user behavior characteristics of the at least one application program.
In step S202, the user behavior characteristics of the at least one application sent by the server are received.
In this embodiment, the terminal device may send the user behavior data of the at least one application program to the server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model to obtain the user behavior characteristics of the at least one application program, the server sends the user behavior characteristics of the at least one application program to the terminal device after obtaining the user behavior characteristics of the at least one application program, and the terminal device receives the user behavior characteristics of the at least one application program sent by the server. In the foregoing embodiment, the server may set up a behavior analysis model in advance, and after receiving the user behavior data of each of the at least one application program sent by the terminal device, the server analyzes the received user behavior data by using the behavior analysis model to obtain the user behavior characteristics of each of the at least one application program. The server has strong computing power, so that particularly when the data volume acquired by the terminal equipment is large, the behavior analysis can be rapidly and accurately carried out, the respective user behavior characteristics of the at least one application program are obtained, and the burden of the terminal equipment is reduced. Of course, in practical applications, if the data volume collected by the terminal device is small, the terminal device may also analyze the collected user behavior data to obtain the user behavior characteristics.
In this embodiment, the server performs behavior analysis on the user behavior data of the at least one application program acquired by the terminal device, so that the user behavior characteristics of the at least one application program can be obtained quickly and accurately, and the calculation load of the terminal device can be reduced.
Fig. 3 is a flowchart illustrating a data processing method according to another exemplary embodiment. On the basis of the embodiment shown in fig. 1, the above step S103 includes the following steps S301 to S303:
in step S301, comparing the user behavior characteristics of the at least one application program according to the application identifier and the space identifier to obtain at least one candidate user behavior characteristic group; the at least one candidate user behavior feature group comprises at least two candidate user behavior features respectively; the application identifications corresponding to the at least two candidate user behavior characteristics are the same, and the space identifications are different.
In this embodiment, the user behavior characteristics of the at least one application program are compared according to the application identifier and the space identifier, and the user behavior characteristics with the same application identifier and different space identifiers are divided into the same user behavior characteristic group to serve as a candidate user behavior characteristic group. In this way, the at least one candidate user behavior feature set may be obtained, and each candidate user behavior feature set may include at least two candidate user behavior features. Continuing with the exemplary embodiment described above, by comparing the user behavior characteristics in Table 1, 2 sets of candidate user behavior characteristics may be obtained, one set of candidate user behavior characteristics including high activity (P1, APP01) and high activity (P2, APP01), and the other set of candidate user behavior characteristics including medium activity (P1, APP02) and low activity (P2, APP 02).
In step S302, at least two candidate user behavior features belonging to the same candidate user behavior feature group in the at least one candidate user behavior feature group are compared to obtain at least one target user behavior feature group; the at least one target user behavior feature group comprises at least two target user behavior features respectively; the at least two target user behavior characteristics are the same.
In this embodiment, at least two candidate user behavior features belonging to the same candidate user behavior feature group may be compared for each candidate user behavior feature group, and the candidate user behavior feature group with the same user behavior feature may be determined as the target user behavior feature group. Continuing with the exemplary embodiment described above, comparing the activity levels high (P1, APP01) and high (P2, APP01), the candidate user behavior feature groups to which the activity levels high (P1, APP01) and high (P2, APP01) belong are determined as the target user behavior feature group because the user behavior features of the two are the same. Similarly, when the liveness is medium (P1, APP02) and the liveness is low (P2, APP02), the candidate user behavior feature groups to which the two belong cannot be determined as the target user behavior feature group because the user behavior features of the two are different.
In step S303, the application programs corresponding to at least two target user behavior features belonging to the same target user behavior feature group in the at least one target user behavior feature group are allocated to the same application program group, so as to obtain the at least one application program group.
In this embodiment, for each target user behavior feature group, the application programs corresponding to the target user behavior features in the same target user behavior feature group may be allocated to the same application program group according to the application identifier and the space identifier carried by the user behavior features. Continuing with the exemplary embodiment described above, for the target user behavior features in the set of target user behavior features described above: the activity is high (P1, APP01) and high (P2, APP01), and the application A installed in the initial space corresponding to the activity is high (P1, APP01) and the application A installed in the split space corresponding to the activity is high (P2, APP01) are distributed to the same application group.
In this embodiment, the respective user behavior characteristics of the application programs may be compared according to the application identifier and the space identifier to obtain a candidate user behavior characteristic group, then the candidate user behavior characteristics belonging to the same candidate user behavior characteristic group are compared to obtain a target user behavior characteristic group, and then the application programs corresponding to the target user behavior characteristics in the same target user behavior characteristic group are allocated to the same application program group.
Fig. 4 is a flowchart illustrating a data processing method according to another exemplary embodiment. On the basis of the embodiment shown in fig. 1, the step S104 includes the following steps S401 to S404:
in step S401, determining an application to be uninstalled of at least two applications belonging to the same application group according to a preset data merging rule; the data merging rule comprises a space identification of a user space to which the application program to be uninstalled belongs.
In this embodiment, a space identifier of a user space to which an application program to be uninstalled belongs may be determined according to a preset data merging rule, and then the corresponding application program is determined to be the application program to be uninstalled according to the determined space identifier. In one exemplary embodiment, the space identifier included in the preset data merging rule is a space identifier of the body-separated space. If the number of the body-separating spaces is multiple, the number of the space identifications included in the preset data merging rule is multiple. Applications in the same application suite with the space identified as the initial space are not uninstalled. Continuing with the above exemplary embodiment, if the space identifier included in the preset data merge rule is P2, determining the application a installed in the initial space and the application a installed in the split body space in the application group to which the application a installed in the split body space belongs as the application to be uninstalled according to the preset data merge rule, and determining the application a installed in the initial space as the shared application.
In step S402, migrating the first user data of the application to be uninstalled to a shared application; the shared application program is an application program belonging to the same application program group with the application program to be unloaded; the repeated data is the application program data of the application program to be uninstalled and the shared application program.
In this embodiment, the duplicate data is application data of the application to be uninstalled and the shared application. The first user data of the application to be uninstalled is different from the second user data of the shared application. Continuing with the exemplary embodiment described above, the user data for application A installed in the initial space is different from the user data for application A installed in the separate space. For example, the contact information for application A installed in the initial space is different from the contact information for application A installed in the separate space.
In this embodiment, for each application group, the first user data of the application to be uninstalled in the same application group is migrated to the shared application. And the shared application program is an application program which belongs to the same application program group with the application program to be unloaded. The number of the space identifiers included in the preset data merging rule is 1 less than the number of all the user spaces on the terminal device, that is, one application program in the same application program group survives as a shared application program. Continuing with the above exemplary embodiment, if the space identifier included in the preset data merge rule is P2, determining the application a installed in the initial space and the application a installed in the split body space in the application group to which the application a installed in the split body space belongs as the application to be uninstalled according to the preset data merge rule, determining the application a installed in the initial space as the shared application, and migrating the user data of the application a installed in the split body space to the application a installed in the initial space.
In step S403, the sharing application combines the received first user data and the second user data to obtain shared user data; wherein the second user data is user data saved by the shared application program before receiving the first user data; the at least two user spaces share the shared application and the shared user data.
In this embodiment, the sharing application program merges the received first user data with the second user data that is previously stored, so as to obtain the shared user data. The user space on the terminal device may share the shared application and share user data. Continuing with the above exemplary embodiment, the application a installed in the initial space merges the user data migrated from the application a installed in the separate space with the previously saved user data to obtain the shared user data a, and the initial space and the separate space on the terminal device may share the application a installed in the initial space and the shared user data a.
In step S404, the application to be uninstalled is uninstalled.
In this embodiment, after the first user data and the second user data are merged to obtain the shared user data, the application to be uninstalled may be uninstalled. Continuing with the exemplary embodiment described above, after obtaining shared user data A, application A installed in the personal space may be uninstalled.
In this embodiment, not only the application data of the application program is merged to obtain the shared application program, but also the user data of the application program is merged to obtain the shared user data, so that the burden of switching the user space after the user starts the minute-saving function of the terminal device can be reduced.
Fig. 5 is a flowchart illustrating a data processing method according to another exemplary embodiment. On the basis of the embodiment shown in fig. 1, the step S104 includes the following steps S501 to S503:
in step S501, an application to be uninstalled of at least two applications belonging to the same application group is determined according to a preset data merging rule; the data merging rule comprises a space identification of a user space to which the application program to be uninstalled belongs.
Step S501 in this embodiment is similar to step S401 in the embodiment shown in fig. 4, and is not repeated here.
In step S502, storing the third user data of the application to be uninstalled at a first preset storage address, and storing the fourth user data of the shared application at a second preset storage address; the first preset storage address is located in a user space to which the application to be uninstalled belongs, the second preset storage address is located in a user space to which the shared application program belongs, the shared application program is an application program belonging to the same application program group as the application to be uninstalled, the repeated data is application program data of the application to be uninstalled and the shared application program, and the shared application program is shared by the at least two user spaces.
In this embodiment, the terminal device stores the third user data of the application to be uninstalled at the first preset storage address located in the user space to which the application to be uninstalled belongs, and stores the fourth user data of the shared application at the second preset storage address located in the user space to which the shared application belongs. That is, the third user data and the fourth user data are isolated from each other. Continuing with the exemplary embodiment described above, the fourth user data of application a installed in the initial space is stored at the first preset storage address in the initial space, and the third user data of application a installed in the separate space is stored at the second preset storage address in the separate space.
In this embodiment, the user spaces of the terminal device may share the shared application program, and at this time, the user data called by the shared application program in different user spaces is different, so that the user data in different user spaces are isolated from each other. Continuing with the above exemplary embodiment, the shared application may read the fourth user data from the second preset storage address in the initial space, and the shared application may read the third user data from the first preset storage address in the avatar space.
In step S503, uninstalling the application to be uninstalled; after the application program to be uninstalled is uninstalled, if the operation behavior applied to the shared application program by the user is from the user space to which the application program to be uninstalled belongs, the shared application program calls the third user data stored in the first preset storage address, and if the operation behavior applied to the shared application program by the user is from the user space to which the shared application program belongs, the shared application program calls the fourth user data stored in the second preset storage address.
In this embodiment, after the third user data and the fourth user data are respectively stored, the application to be uninstalled may be uninstalled. Continuing with the exemplary embodiment described above, after storing the fourth user data of the application a installed in the initial space at the first preset storage address in the initial space and the third user data of the application a installed in the split-body space at the second preset storage address in the split-body space, the application a installed in the split-body space may be uninstalled.
In this embodiment, after the application to be uninstalled is uninstalled, if a user applies an operation behavior to the shared application in the user space to which the application to be uninstalled belongs, the shared application calls the third user data stored in the first preset storage address, and if the user applies an operation behavior to the shared application in the user space to which the shared application belongs, the shared application calls the fourth user data stored in the second preset storage address. Therefore, different user data can be loaded in different user spaces by the same application program, the memory burden of the terminal equipment after the split function is started can be reduced, the response speed of the terminal equipment after the split function is started is improved, and data isolation can be realized.
In this embodiment, only the application data of the application programs with the same function in different user spaces are merged to obtain the shared application program, the user data of the shared application program in different user spaces are stored respectively, and the shared application program can call different user data in different user spaces. Therefore, different user data can be loaded in different user spaces by the same application program, the memory burden of the terminal equipment after the split function is started can be reduced, the response speed of the terminal equipment after the split function is started is improved, and data isolation can be realized.
An embodiment of the present disclosure further provides a data processing apparatus, as shown in fig. 6, the apparatus includes:
an acquisition module 61 configured to acquire user behavior data of at least one application program in at least two user spaces;
an obtaining module 62 configured to obtain respective user behavior characteristics of the at least one application; the user behavior characteristics are obtained by analyzing the user behavior data; the user behavior characteristics carry application identifications of corresponding application programs and space identifications of user spaces to which the corresponding application programs belong;
a comparison module 63 configured to compare respective user behavior characteristics of the at least one application program to obtain at least one application program group; the at least one application group each includes at least two applications; the user behavior characteristics, the application identifications and the space identifications corresponding to the at least two application programs are the same;
a merging module 64 configured to merge duplicate data between at least two applications belonging to the same application group in the at least one application group; the duplicate data includes application data.
An embodiment of the present disclosure further provides a data processing apparatus, as shown in fig. 7, the obtaining module 62 includes:
the sending sub-module 621 is configured to send the user behavior data of the at least one application program to a server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model to obtain the user behavior characteristics of the at least one application program;
a receiving submodule 622 configured to receive the user behavior characteristics of each of the at least one application program sent by the server.
An embodiment of the present disclosure further provides a data processing apparatus, as shown in fig. 8, the comparing module 63 includes:
the first comparison sub-module 631 is configured to compare the user behavior characteristics of the at least one application program according to the application identifier and the space identifier to obtain at least one candidate user behavior characteristic group; the at least one candidate user behavior feature group comprises at least two candidate user behavior features respectively; the application identifications corresponding to the at least two candidate user behavior characteristics are the same, and the space identifications are different;
a second comparison sub-module 632, configured to compare at least two candidate user behavior features belonging to the same candidate user behavior feature group in the at least one candidate user behavior feature group, to obtain at least one target user behavior feature group; the at least one target user behavior feature group comprises at least two target user behavior features respectively; the at least two target user behavior characteristics are the same;
the allocating submodule 633 is configured to allocate, to a same application program group, the application programs corresponding to at least two target user behavior characteristics belonging to a same target user behavior characteristic group in the at least one target user behavior characteristic group, so as to obtain the at least one application program group.
In one embodiment, the merge module 64 may be further configured to uninstall at least one duplicate application in the same application suite and save user data of the uninstalled duplicate application for use by the un-uninstalled application.
An embodiment of the present disclosure further provides a data processing apparatus, as shown in fig. 9, the merging module 64 includes:
the first determining submodule 641 is configured to determine, according to a preset data merging rule, an application to be uninstalled in at least two applications belonging to the same application group; the data merging rule comprises a space identifier of a user space to which the application program to be unloaded belongs;
a migration submodule 642 configured to migrate the first user data of the application to be uninstalled to a shared application; the shared application program is an application program belonging to the same application program group with the application program to be unloaded; the repeated data is the application program data of the application program to be uninstalled and the shared application program;
a merging sub-module 643, configured to merge the received first user data and the second user data through the shared application program, so as to obtain shared user data; wherein the second user data is user data saved by the shared application program before receiving the first user data; the at least two user spaces share the shared application and the shared user data;
a first uninstall submodule 644 configured to uninstall the application to be uninstalled.
An embodiment of the present disclosure further provides a data processing apparatus, as shown in fig. 10, the merging module 64 includes:
a second determining sub-module 645, configured to determine, according to a preset data merging rule, an application to be uninstalled of at least two applications belonging to the same application group; the data merging rule comprises a space identifier of a user space to which the application program to be unloaded belongs;
the storage submodule 646, configured to store the third user data of the application to be uninstalled at the first preset storage address, and store the fourth user data of the shared application at the second preset storage address; the first preset storage address is located in a user space to which the application to be uninstalled belongs, the second preset storage address is located in a user space to which the shared application belongs, the shared application is an application program belonging to the same application group as the application to be uninstalled, the repeated data is application program data of the application to be uninstalled and the shared application, and the shared application is shared by the at least two user spaces;
a second uninstall submodule 647 configured to uninstall the application to be uninstalled; after the application program to be uninstalled is uninstalled, if the operation behavior applied to the shared application program by the user is from the user space to which the application program to be uninstalled belongs, the shared application program calls the third user data stored in the first preset storage address, and if the operation behavior applied to the shared application program by the user is from the user space to which the shared application program belongs, the shared application program calls the fourth user data stored in the second preset storage address.
The specific manner in which the processor performs the operations with respect to the apparatus in the above-described embodiment has been described in detail in relation to the embodiment of the method, and will not be elaborated upon here.
FIG. 11 is a block diagram illustrating a data processing apparatus according to an example embodiment. For example, the apparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, apparatus 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operation at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 1106 provide power to the various components of device 1100. The power components 1106 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the device 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, an orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1104 comprising instructions, executable by the processor 1120 of the apparatus 1100 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1.一种数据处理方法,其特征在于,应用于终端设备,所述终端设备具备分身功能,所述方法包括:1. A data processing method, characterized in that it is applied to a terminal device, and the terminal device is provided with a clone function, the method comprising: 采集至少两个用户空间中的至少一个应用程序各自的用户行为数据;至少两个用户空间中包括初始空间与分身空间,所述分身空间为启动分身功能后设置的用户空间;Collect the respective user behavior data of at least one application in the at least two user spaces; the at least two user spaces include an initial space and a clone space, and the clone space is the user space set after the clone function is activated; 获取所述至少一个应用程序各自的用户行为特征;所述用户行为特征通过对所述用户行为数据进行分析得到;所述用户行为特征中携带对应的应用程序的应用标识以及对应的应用程序所属用户空间的空间标识;Obtain the respective user behavior characteristics of the at least one application; the user behavior characteristics are obtained by analyzing the user behavior data; the user behavior characteristics carry the application identifier of the corresponding application and the user to which the corresponding application belongs space identification; 对比所述至少一个应用程序各自的用户行为特征,获得至少一个应用程序组;所述至少一个应用程序组各自包括至少两个应用程序;所述至少两个应用程序各自对应的用户行为特征相同、应用标识相同、空间标识不同;Comparing the respective user behavior characteristics of the at least one application program, at least one application program group is obtained; the at least one application program group each includes at least two application programs; the user behavior characteristics corresponding to the at least two application programs are the same, The application ID is the same, but the space ID is different; 合并所述至少一个应用程序组中属于同一应用程序组的至少两个应用程序之间的重复数据;所述重复数据包括应用程序数据。Duplicate data between at least two applications belonging to the same application group in the at least one application group is merged; the duplicate data includes application data. 2.根据权利要求1所述的方法,其特征在于,所述获取所述至少一个应用程序各自的用户行为特征,包括:2. The method according to claim 1, wherein the acquiring the respective user behavior characteristics of the at least one application program comprises: 将所述至少一个应用程序各自的用户行为数据发送给服务器,以使所述服务器根据预设的行为分析模型对所述至少一个应用程序各自的用户行为数据进行分析,得到所述至少一个应用程序各自的用户行为特征;Sending the user behavior data of the at least one application program to the server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model, and obtains the at least one application program. their respective user behavior characteristics; 接收所述服务器发送的所述至少一个应用程序各自的用户行为特征。The respective user behavior characteristics of the at least one application program sent by the server are received. 3.根据权利要求1所述的方法,其特征在于,所述对比所述至少一个应用程序各自的用户行为特征,获得至少一个应用程序组,包括:3. The method according to claim 1, wherein the comparing the respective user behavior characteristics of the at least one application program to obtain at least one application program group, comprising: 根据应用标识、空间标识对所述至少一个应用程序各自的用户行为特征进行对比,获得至少一个候选用户行为特征组;所述至少一个候选用户行为特征组各自包括至少两个候选用户行为特征;所述至少两个候选用户行为特征各自对应的应用标识相同、空间标识不同;Compare the respective user behavior characteristics of the at least one application program according to the application identifier and the space identifier, and obtain at least one candidate user behavior characteristic group; each of the at least one candidate user behavior characteristic group includes at least two candidate user behavior characteristics; The application identifiers corresponding to the at least two candidate user behavior characteristics are the same, and the spatial identifiers are different; 对所述至少一个候选用户行为特征组中属于同一候选用户行为特征组的至少两个候选用户行为特征进行对比,获得至少一个目标用户行为特征组;所述至少一个目标用户行为特征组各自包括至少两个目标用户行为特征;所述至少两个目标用户行为特征相同;Comparing at least two candidate user behavior characteristics belonging to the same candidate user behavior characteristic group in the at least one candidate user behavior characteristic group to obtain at least one target user behavior characteristic group; the at least one target user behavior characteristic group includes at least one target user behavior characteristic group. two target user behavior characteristics; the at least two target user behavior characteristics are the same; 将所述至少一个目标用户行为特征组中属于同一目标用户行为特征组的至少两个目标用户行为特征对应的应用程序分配至同一个应用程序组,获得所述至少一个应用程序组。Allocate applications corresponding to at least two target user behavior characteristics belonging to the same target user behavior characteristic group in the at least one target user behavior characteristic group to the same application group to obtain the at least one application group. 4.根据权利要求1所述的方法,其特征在于,所述合并所述至少一个应用程序组中属于同一应用程序组的至少两个应用程序之间的重复数据,包括:4. The method according to claim 1, wherein the merging of duplicate data between at least two applications belonging to the same application group in the at least one application group comprises: 卸载同一应用程序组中的至少一个重复应用程序,并保存被卸载的重复应用程序的用户数据,以供未卸载的应用程序使用。Uninstall at least one duplicate application in the same application group, and save the user data of the uninstalled duplicate application for use by the application that is not uninstalled. 5.根据权利要求4所述的方法,其特征在于,所述卸载同一应用程序组中的至少一个重复应用程序,并保存被卸载的重复应用程序的用户数据,以供未卸载的应用程序使用,包括:5. The method according to claim 4, wherein at least one duplicate application program in the same application program group is uninstalled, and user data of the uninstalled duplicate application program is saved for use by the application program that is not uninstalled ,include: 根据预设的数据合并规则确定属于同一应用程序组的至少两个应用程序中的待卸载应用程序;所述数据合并规则包括所述待卸载应用程序所属用户空间的空间标识;Determine the application to be uninstalled in at least two applications belonging to the same application group according to a preset data merging rule; the data merging rule includes the space identifier of the user space to which the application to be uninstalled belongs; 将所述待卸载应用程序的第一用户数据迁移至共享应用程序;所述共享应用程序为与所述待卸载应用程序属于同一应用程序组的一个应用程序;所述重复数据为所述待卸载应用程序与所述共享应用程序的应用程序数据;Migrating the first user data of the application to be uninstalled to a shared application; the shared application is an application that belongs to the same application group as the application to be uninstalled; the duplicate data is the to-be-unloaded application application data of the application and said shared application; 所述共享应用程序将接收的第一用户数据与第二用户数据进行合并,得到共享用户数据;其中,所述第二用户数据为所述共享应用程序在接收第一用户数据前保存的用户数据;所述至少两个用户空间共享所述共享应用程序以及所述共享用户数据;The shared application program combines the received first user data with the second user data to obtain shared user data; wherein the second user data is user data saved by the shared application program before receiving the first user data ; the at least two user spaces share the shared application and the shared user data; 卸载所述待卸载应用程序。Uninstall the application to be uninstalled. 6.根据权利要求4所述的方法,其特征在于,所述卸载同一应用程序组中的至少一个重复应用程序,并保存被卸载的重复应用程序的用户数据,以供未卸载的应用程序使用,包括:6. The method according to claim 4, characterized in that, uninstalling at least one duplicate application in the same application group, and saving the user data of the uninstalled duplicate application for use by the application that is not uninstalled ,include: 根据预设的数据合并规则确定属于同一应用程序组的至少两个应用程序中的待卸载应用程序;所述数据合并规则包括所述待卸载应用程序所属用户空间的空间标识;Determine the application to be uninstalled in at least two applications belonging to the same application group according to a preset data merging rule; the data merging rule includes the space identifier of the user space to which the application to be uninstalled belongs; 将所述待卸载应用程序的第三用户数据存储在第一预设存储地址,将共享应用程序的第四用户数据存储在第二预设存储地址;其中,所述第一预设存储地址位于所述待卸载应用程序所属的用户空间,所述第二预设存储地址位于所述共享应用程序所属的用户空间,所述共享应用程序为与所述待卸载应用程序属于同一应用程序组的一个应用程序,所述重复数据为所述待卸载应用程序与所述共享应用程序的应用程序数据,所述至少两个用户空间共享所述共享应用程序;The third user data of the application to be uninstalled is stored in the first preset storage address, and the fourth user data of the shared application is stored in the second preset storage address; wherein, the first preset storage address is located at The user space to which the application to be uninstalled belongs, the second preset storage address is located in the user space to which the shared application belongs, and the shared application is one that belongs to the same application group as the application to be uninstalled an application, the repeated data is application data of the application to be uninstalled and the shared application, and the shared application is shared by the at least two user spaces; 卸载所述待卸载应用程序;其中,所述待卸载应用程序在被卸载后,如果用户对所述共享应用程序的施加的操作行为来自所述待卸载应用程序所属的用户空间,则所述共享应用程序调用所述第一预设存储地址存储的所述第三用户数据,如果用户对所述共享应用程序的施加的操作行为来自所述共享应用程序所属的用户空间,则所述共享应用程序调用所述第二预设存储地址存储的所述第四用户数据。Uninstall the application to be uninstalled; wherein, after the application to be uninstalled is uninstalled, if the operation behavior applied by the user to the shared application comes from the user space to which the application to be uninstalled belongs, the shared application The application program calls the third user data stored in the first preset storage address, and if the operation behavior applied by the user to the shared application program comes from the user space to which the shared application program belongs, the shared application program The fourth user data stored in the second preset storage address is called. 7.一种数据处理装置,其特征在于,应用于终端设备,所述终端设备具备分身功能,所述装置包括:7. A data processing device, characterized in that it is applied to a terminal device, the terminal device has a function of being cloned, and the device comprises: 采集模块,被配置为采集至少两个用户空间中的至少一个应用程序各自的用户行为数据;至少两个用户空间中包括初始空间与分身空间,所述分身空间为启动分身功能后设置的用户空间;The collection module is configured to collect the respective user behavior data of at least one application in the at least two user spaces; the at least two user spaces include an initial space and a clone space, and the clone space is the user space set after the clone function is activated ; 获取模块,被配置为获取所述至少一个应用程序各自的用户行为特征;所述用户行为特征通过对所述用户行为数据进行分析得到;所述用户行为特征中携带对应的应用程序的应用标识以及对应的应用程序所属用户空间的空间标识;an acquisition module, configured to acquire the respective user behavior characteristics of the at least one application; the user behavior characteristics are obtained by analyzing the user behavior data; the user behavior characteristics carry the application identifier of the corresponding application and The space identifier of the user space to which the corresponding application belongs; 对比模块,被配置为对比所述至少一个应用程序各自的用户行为特征,获得至少一个应用程序组;所述至少一个应用程序组各自包括至少两个应用程序;所述至少两个应用程序各自对应的用户行为特征相同、应用标识相同、空间标识不同;a comparison module, configured to compare respective user behavior characteristics of the at least one application program to obtain at least one application program group; each of the at least one application program group includes at least two application programs; each of the at least two application programs corresponds to The user behavior characteristics are the same, the application ID is the same, and the space ID is different; 合并模块,被配置为合并所述至少一个应用程序组中属于同一应用程序组的至少两个应用程序之间的重复数据;所述重复数据包括应用程序数据。The merging module is configured to merge duplicate data between at least two application programs belonging to the same application program group in the at least one application program group; the duplicate data includes application program data. 8.根据权利要求7所述的装置,其特征在于,所述获取模块,包括:8. The apparatus according to claim 7, wherein the acquiring module comprises: 发送子模块,被配置为将所述至少一个应用程序各自的用户行为数据发送给服务器,以使所述服务器根据预设的行为分析模型对所述至少一个应用程序各自的用户行为数据进行分析,得到所述至少一个应用程序各自的用户行为特征;a sending submodule, configured to send the user behavior data of the at least one application program to the server, so that the server analyzes the user behavior data of the at least one application program according to a preset behavior analysis model, obtaining the respective user behavior characteristics of the at least one application; 接收子模块,被配置为接收所述服务器发送的所述至少一个应用程序各自的用户行为特征。The receiving submodule is configured to receive the respective user behavior characteristics of the at least one application program sent by the server. 9.根据权利要求7所述的装置,其特征在于,所述对比模块,包括:9. The device according to claim 7, wherein the comparison module comprises: 第一对比子模块,被配置为根据应用标识、空间标识对所述至少一个应用程序各自的用户行为特征进行对比,获得至少一个候选用户行为特征组;所述至少一个候选用户行为特征组各自包括至少两个候选用户行为特征;所述至少两个候选用户行为特征各自对应的应用标识相同、空间标识不同;The first comparison submodule is configured to compare the respective user behavior characteristics of the at least one application program according to the application identifier and the space identifier, and obtain at least one candidate user behavior characteristic group; the at least one candidate user behavior characteristic group each includes At least two candidate user behavior features; the at least two candidate user behavior features respectively correspond to the same application identifier and different space identifiers; 第二对比子模块,被配置为对所述至少一个候选用户行为特征组中属于同一候选用户行为特征组的至少两个候选用户行为特征进行对比,获得至少一个目标用户行为特征组;所述至少一个目标用户行为特征组各自包括至少两个目标用户行为特征;所述至少两个目标用户行为特征相同;The second comparison submodule is configured to compare at least two candidate user behavior characteristics belonging to the same candidate user behavior characteristic group in the at least one candidate user behavior characteristic group to obtain at least one target user behavior characteristic group; A target user behavior characteristic group includes at least two target user behavior characteristics; the at least two target user behavior characteristics are the same; 分配子模块,被配置为将所述至少一个目标用户行为特征组中属于同一目标用户行为特征组的至少两个目标用户行为特征对应的应用程序分配至同一个应用程序组,获得所述至少一个应用程序组。The assigning sub-module is configured to assign applications corresponding to at least two target user behavior characteristics belonging to the same target user behavior characteristic group in the at least one target user behavior characteristic group to the same application group, and obtain the at least one application group. 10.根据权利要求7所述的装置,其特征在于,所述合并模块还被配置为卸载同一应用程序组中的至少一个重复应用程序,并保存被卸载的重复应用程序的用户数据,以供未卸载的应用程序使用。10. The apparatus according to claim 7, wherein the merging module is further configured to uninstall at least one duplicate application in the same application group, and save the user data of the uninstalled duplicate application for use in Uninstalled applications use. 11.根据权利要求10所述的装置,其特征在于,所述合并模块,包括:11. The apparatus according to claim 10, wherein the merging module comprises: 第一确定子模块,被配置为根据预设的数据合并规则确定属于同一应用程序组的至少两个应用程序中的待卸载应用程序;所述数据合并规则包括所述待卸载应用程序所属用户空间的空间标识;The first determination submodule is configured to determine an application to be uninstalled in at least two applications belonging to the same application group according to a preset data merging rule; the data merging rule includes the user space to which the application to be uninstalled belongs. space identification; 迁移子模块,被配置为将所述待卸载应用程序的第一用户数据迁移至共享应用程序;所述共享应用程序为与所述待卸载应用程序属于同一应用程序组的一个应用程序;所述重复数据为所述待卸载应用程序与所述共享应用程序的应用程序数据;a migration submodule, configured to migrate the first user data of the application to be uninstalled to a shared application; the shared application is an application belonging to the same application group as the application to be uninstalled; the The duplicate data is the application data of the application to be uninstalled and the shared application; 合并子模块,被配置为通过所述共享应用程序将接收的第一用户数据与第二用户数据进行合并,得到共享用户数据;其中,所述第二用户数据为所述共享应用程序在接收第一用户数据前保存的用户数据;所述至少两个用户空间共享所述共享应用程序以及所述共享用户数据;The merging submodule is configured to combine the received first user data and second user data through the sharing application to obtain shared user data; wherein the second user data is the first user data received by the sharing application. User data saved before user data; the at least two user spaces share the shared application and the shared user data; 第一卸载子模块,被配置为卸载所述待卸载应用程序。The first uninstallation submodule is configured to uninstall the application to be uninstalled. 12.根据权利要求10所述的装置,其特征在于,所述合并模块,包括:12. The apparatus according to claim 10, wherein the merging module comprises: 第二确定子模块,被配置为根据预设的数据合并规则确定属于同一应用程序组的至少两个应用程序中的待卸载应用程序;所述数据合并规则包括所述待卸载应用程序所属用户空间的空间标识;The second determination submodule is configured to determine, according to a preset data merging rule, an application to be uninstalled in at least two applications belonging to the same application group; the data merging rule includes the user space to which the application to be uninstalled belongs. space identification; 存储子模块,被配置为将所述待卸载应用程序的第三用户数据存储在第一预设存储地址,将共享应用程序的第四用户数据存储在第二预设存储地址;其中,所述第一预设存储地址位于所述待卸载应用程序所属的用户空间,所述第二预设存储地址位于所述共享应用程序所属的用户空间,所述共享应用程序为与所述待卸载应用程序属于同一应用程序组的一个应用程序,所述重复数据为所述待卸载应用程序与所述共享应用程序的应用程序数据,所述至少两个用户空间共享所述共享应用程序;The storage submodule is configured to store the third user data of the application to be uninstalled in the first preset storage address, and store the fourth user data of the shared application in the second preset storage address; wherein, the The first preset storage address is located in the user space to which the application to be uninstalled belongs, and the second preset storage address is located in the user space to which the shared application belongs, and the shared application is the same as the application to be uninstalled. An application program belonging to the same application program group, the repeated data is the application program data of the application program to be uninstalled and the shared application program, and the shared application program is shared by the at least two user spaces; 第二卸载子模块,被配置为卸载所述待卸载应用程序;其中,所述待卸载应用程序在被卸载后,如果用户对所述共享应用程序的施加的操作行为来自所述待卸载应用程序所属的用户空间,则所述共享应用程序调用所述第一预设存储地址存储的所述第三用户数据,如果用户对所述共享应用程序的施加的操作行为来自所述共享应用程序所属的用户空间,则所述共享应用程序调用所述第二预设存储地址存储的所述第四用户数据。The second uninstallation submodule is configured to uninstall the application to be uninstalled; wherein, after the application to be uninstalled is uninstalled, if the operation behavior applied by the user to the shared application comes from the application to be uninstalled The user space to which the shared application belongs, the shared application calls the third user data stored in the first preset storage address, if the operation behavior applied by the user to the shared application comes from the shared application to which the shared application belongs. user space, the shared application program calls the fourth user data stored in the second preset storage address. 13.一种数据处理装置,其特征在于,所述装置包括:13. A data processing device, wherein the device comprises: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为执行权利要求1至6任一项所述的方法。wherein the processor is configured to perform the method of any one of claims 1 to 6. 14.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6任一项所述的方法。14. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
CN201810581679.6A 2018-06-07 2018-06-07 Data processing method and device Active CN109032686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810581679.6A CN109032686B (en) 2018-06-07 2018-06-07 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810581679.6A CN109032686B (en) 2018-06-07 2018-06-07 Data processing method and device

Publications (2)

Publication Number Publication Date
CN109032686A CN109032686A (en) 2018-12-18
CN109032686B true CN109032686B (en) 2021-10-22

Family

ID=64612335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810581679.6A Active CN109032686B (en) 2018-06-07 2018-06-07 Data processing method and device

Country Status (1)

Country Link
CN (1) CN109032686B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333935B (en) * 2019-06-05 2022-12-02 创新先进技术有限公司 Transaction request processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406986A (en) * 2016-11-24 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Resource sharing method and device
CN106445671A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Application program management method and device and terminal
CN106484478A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A method, device and mobile terminal for creating a clone application
CN106484538A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A memory control method and device for terminal equipment and terminal equipment
CN106648738A (en) * 2016-10-10 2017-05-10 广东欧珀移动通信有限公司 Copy application management method and device, and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030221094A1 (en) * 2002-04-17 2003-11-27 Avery Pennarun Method and system for configuring a computer
US8826070B1 (en) * 2008-12-15 2014-09-02 Open Invention Network, Llc Method and system for providing storage checkpointing to a group of independent computer applications
CN106126009B (en) * 2016-06-15 2020-08-04 宇龙计算机通信科技(深圳)有限公司 A method, device and terminal for application icon management
CN106648583B (en) * 2016-09-22 2020-12-15 依偎科技(南昌)有限公司 Information processing method and terminal
CN106383672B (en) * 2016-10-10 2019-09-24 Oppo广东移动通信有限公司 Data deleting method and device for multi-open application and mobile terminal
CN107315634A (en) * 2017-07-05 2017-11-03 深圳天珑无线科技有限公司 Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445671A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Application program management method and device and terminal
CN106484478A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A method, device and mobile terminal for creating a clone application
CN106484538A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A memory control method and device for terminal equipment and terminal equipment
CN106648738A (en) * 2016-10-10 2017-05-10 广东欧珀移动通信有限公司 Copy application management method and device, and terminal
CN106406986A (en) * 2016-11-24 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Resource sharing method and device

Also Published As

Publication number Publication date
CN109032686A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN104219092B (en) The compatibility method of a kind of router administration application and router firmware and device
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN104834665A (en) Target picture acquiring method and device
CN107370772A (en) Account login method, device and computer-readable storage medium
CN105094578B (en) Method and device for adjusting position of desktop icon
CN111190710A (en) Method and device for assigning tasks
CN111258952B (en) Data storage control method, device and storage medium
CN113778687A (en) Memory allocation information processing method, device, electronic device and storage medium
CN104360875B (en) Privacy mode starts method and apparatus
CN111625329A (en) Task allocation method and device, electronic equipment, server and storage medium
US10229165B2 (en) Method and device for presenting tasks
CN109032686B (en) Data processing method and device
CN105094500B (en) A kind of icon arrangement method and device
CN107885464B (en) Data storage method, device, and computer-readable storage medium
CN104112460B (en) Method and device for playing audio data
CN114077461A (en) Application running method, device, device and storage medium
CN106383856A (en) Method and device for managing file system quota
CN112307229A (en) Data processing method and apparatus, electronic device, computer-readable storage medium
CN109194639B (en) Message receiving and processing method, device, terminal and readable storage medium
CN112783579A (en) Application program control method, device and storage medium
CN107295144B (en) Method and device for deleting contact number
CN111984423A (en) Method, device and medium for operating deep learning model
CN112506628B (en) Agent program management method, device, computer equipment and storage medium
CN105554141A (en) Resource management and control method and device of intelligent device
CN115955462B (en) Method, device, equipment and storage medium for calling service in cross-platform mode

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