CN106357921B - A kind of data sharing method of application, device and mobile terminal - Google Patents

A kind of data sharing method of application, device and mobile terminal Download PDF

Info

Publication number
CN106357921B
CN106357921B CN201610885174.XA CN201610885174A CN106357921B CN 106357921 B CN106357921 B CN 106357921B CN 201610885174 A CN201610885174 A CN 201610885174A CN 106357921 B CN106357921 B CN 106357921B
Authority
CN
China
Prior art keywords
application
user
shared data
sharing
under
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
CN201610885174.XA
Other languages
Chinese (zh)
Other versions
CN106357921A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610885174.XA priority Critical patent/CN106357921B/en
Publication of CN106357921A publication Critical patent/CN106357921A/en
Application granted granted Critical
Publication of CN106357921B publication Critical patent/CN106357921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of data sharing method of application, device and mobile terminals.Open set of applications the described method includes: obtaining more;When detecting the data sharing instruction for more opening the target application in set of applications under the primary user of present terminal, shared data corresponding with shared instruction is stored into setting Shared Folders;When detecting that other target applications triggering shared data more opened in set of applications obtains event under primary user, shared data is shared into other target applications;Wherein, main application is mounted under the primary user, and attending to anything else to apply is mounted under user.Technical solution provided in an embodiment of the present invention, keep the management of the shared data of winner's application and application of attending to anything else more convenient, solves the heavy workload of mobile terminal in the prior art, and the problem that shared data committed memory is big, the data sharing technology for optimizing existing application reduces the EMS memory occupation of the shared data of application.

Description

Application data sharing method and device and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a data sharing method and device of an application and a mobile terminal.
Background
With the development of terminal technology, the types and forms of applications on mobile terminals are increasing, and many applications become an indispensable part of people's life, work and entertainment, so that better experience is brought to users. The various demands of the user on the application are increasing, for example, multiple identical applications are started on the same mobile terminal, specifically, for example, two wechat applications are started on the mobile terminal to log in two wechat account numbers.
At present, when a plurality of same applications are installed in a mobile terminal, when main application data changes, corresponding data on the separate applications are correspondingly updated, and the problems of large workload and large memory occupation of the mobile terminal are caused.
Disclosure of Invention
The embodiment of the invention provides an application data sharing method, an application data sharing device and a mobile terminal, which aim to optimize the existing application data sharing technology and reduce the memory occupation of the application shared data.
In a first aspect, an embodiment of the present invention provides a data sharing method for an application, including:
acquiring a multi-open application set, wherein the multi-open application set comprises a main application and a body-separated application of the main application;
when a master user of a current terminal detects a data sharing instruction of a target application in a multi-open application set, storing shared data corresponding to the sharing instruction into a set sharing folder;
when detecting that other target applications in a multi-open application set trigger a shared data acquisition event under the master user, sharing the shared data to the other target applications;
wherein the master application is installed under the master user, and the split application is installed under the slave user.
In a second aspect, an embodiment of the present invention provides an apparatus for sharing data of an application, including:
the system comprises a multi-open application set acquisition module, a multi-open application set acquisition module and a multi-open application set acquisition module, wherein the multi-open application set comprises a main application and a body-divided application of the main application;
the shared data storage module is used for storing shared data corresponding to a sharing instruction into a set shared folder when a data sharing instruction of a target application in a multi-open application set is detected by a master user of a current terminal;
the shared data sharing module is used for sharing the shared data to other target applications when detecting that other target applications in the multi-open application set trigger a shared data acquisition event under the master user;
wherein the master application is installed under the master user, and the split application is installed under the slave user.
In a third aspect, an embodiment of the present invention provides a mobile terminal incorporating the apparatus as provided in the second aspect.
According to the embodiment of the invention, the shared data of the target application in the multi-open application set is stored under the set shared folder, and when the terminal detects that the shared data acquisition event of other target applications in the multi-open application set is triggered under the main user, the shared data is shared to the other target applications, so that the management of the shared data of the main application and the private application is more convenient, the problems of large workload of the mobile terminal and large memory occupation caused by the fact that the corresponding data on the private application is updated correspondingly when the main application data is changed in the prior art are solved, the data sharing technology of the prior application is optimized, and the memory occupation of the shared data of the application is reduced.
Drawings
Fig. 1 is a flowchart of a data sharing method for an application according to an embodiment of the present invention;
FIG. 2 is a flowchart of a data sharing method for another application according to an embodiment of the present invention;
FIG. 3 is a flowchart of a data sharing method for another application according to an embodiment of the present invention;
FIG. 4-1 is a schematic diagram of a human-computer interaction interface of an address book application provided in an embodiment of the present invention;
FIG. 4-2 is a schematic diagram of a human-computer interaction interface in a WeChat application provided by an embodiment of the invention;
FIG. 5 is a flowchart of a data sharing method for another application according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a human-computer interaction interface of a WeChat application provided by an embodiment of the invention;
fig. 7 is a schematic structural diagram of a data sharing apparatus for an application according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile terminal provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a data sharing method for an application according to an embodiment of the present invention, where the method of this embodiment may be performed by a data sharing apparatus for an application, the apparatus may be implemented by hardware and/or software, and the apparatus may be disposed inside a mobile terminal as a part of the mobile terminal.
As shown in fig. 1, the data sharing method for applications provided in this embodiment specifically includes the following steps:
step 101, acquiring a multi-open application set.
The multi-open application set comprises a main application and a split application of the main application.
Optionally, when the user establishes the body-separated application for a certain application in the terminal, the original application is called a main application, and the established body-separated application is called a body-separated application of the main application. Multiple split applications can be generated from one master application, with different split applications of the same master application being sibling applications. The terminal described in this embodiment includes, but is not limited to, a mobile phone, a watch, a tablet computer, and a smart television.
The multi-open application set comprises a main application and at least one body-separated application of the main application. Illustratively, after the first of the divided applications a1 of the master application a is established, the master application a and the divided application a1 form a multi-open application set. After a second body-separated application a2 of the main application is established according to the main application a or the body-separated application a1, the main application a, the body-separated application a1 and the body-separated application a2 form a multi-open application set, wherein the body-separated application a1 and the body-separated application a2 are sibling applications.
The acquisition mode of the multi-open application set may be various, and this embodiment is not particularly limited. For example, applications of different versions can be installed respectively, one version is used as a main application, and other versions are used as separate applications, wherein installation of the same application of different versions can be realized by decompiling and modifying an installation package (APK) file of the application and then installing the modified APK file; for another example, the method can be realized by applying third-party multi-open helper software for simulating user space and dynamically loading technology; as another example, this may be accomplished by modifying the system mechanism.
Preferably, the multiple application sets in this embodiment are implemented based on a multi-user mechanism, where the multi-user mechanism may specifically include a multi-user mechanism supported by an operating system in the mobile terminal, such as a multi-user mechanism of an Android (Android) system and a multi-user mechanism of a Windows (WP) operating system of a mobile Phone.
The multi-open application set is realized based on a multi-user mechanism and comprises a main application and all the split applications corresponding to the main application.
Specifically, the implementation of the multiple open application set based on the multi-user mechanism may include the following: the main application is installed under a main user, the body-separated application is installed under a slave user, and the main user comprises an access port for operating the body-separated application.
In one embodiment, the multi-user implementation mechanism of the present application includes the following logic:
1. multi-user management
a) The system defaults to have a master user, and the master user can create other new users (slave users) and delete and manage the new users;
b) common users (non-master users) and guest users, which may be collectively referred to as slave users;
c) the default master user id (identity Identification) is 0, and other newly added user ids are increased one by one from 10;
d) when the user is switched, a series of interface switching such as desktop reloading and the like can be realized;
e) the master user can limit the authorities of other users whether to be capable of making and receiving calls, short messages and the like.
For multi-user management, the slave users can be managed through the master user, the slave users comprise creation, deletion, authority setting and the like of the slave users, ID setting starts from the master user, the IDs of the new slave users are added in sequence and overlapped, and a series of interfaces such as desktops of the corresponding users are reloaded when the users are switched.
2. Multi-user installation, uninstallation applications
a) The default installed application can be installed to all created users, and application icons can be seen on desktops of other users;
b) the application installed in the master user is managed through the file, the application cannot be installed to other users, and the application icons cannot be seen on desktops of other users;
c) the system can specify userid (user identity) when installing and uninstalling the application, specify the application to be installed to a specified user, or uninstall the application at a specified user. Applications may also be installed for all users, or uninstalled.
d) When the user A unloads the application B, the application B still exists for other users, the application icon can be seen on the desktop, and the application B can be normally used on other users.
For multi-user installation and uninstallation of applications, the default installed applications are installed to all the created users (including a master user and a slave user), and application icons are generated on desktops of the users; the application installed through file management under the master user is only installed under the master user, and an application icon is generated on the desktop of the master user and is not installed under the slave user; the application installation/uninstallation can also be based on the user's specification of the user, and the user specifies the application installation/uninstallation in the master user and the slave user by specifying the user identity under a certain user, some users or all users; the same application is unloaded independently under each user, and the application of a certain user is unloaded without influencing the use of the application of other users.
3. User data management
a) User id directory related to system data: various system data stores corresponding to the users are stored, such as: desktop widget lists, setup databases, default application start policies, and the like.
b) User id directory related to application package data: and storing the application package catalog correspondingly installed by the user, and if the application operation generates data, storing the application data in the catalog.
c) System SD Card (Secure Digital Memory Card) catalog: it is not the same that each subscriber sees its sdcard directory, but only its sdcard directory.
For user data management, under a multi-user implementation mechanism, system data and application related data under each user are respectively stored under different data storage paths, for example, various system data under a certain user are stored under a specified first data storage path, and application related data such as an installed application package directory and application data generated by application operation are stored under a specified second data storage path; the data storage of each user is independent, and each user can only view own stored data, such as an own sdcard directory.
4. User rights management
a) After installation, the application applies various permissions (e.g.: read and store the catalogue authority, read and write the message authority, open the camera authority, etc.), will be divided into two parts, one part is insensitive to the authority, while employing and installing, the system allows the application to obtain the authority directly; some sensitive dangerous authorities, such as read-write short message authorities, prompt the user whether the application is allowed to obtain the authority or not when the application is used.
b) The system is independent and isolated for the authority of the same application at different users, the basic insensitive authority obtained by one application is directly obtained in each user after installation, and the partial sensitive dangerous authority is independent. For example: when the user 0 opens the WeChat, if the permission of reading and writing the short message is obtained, the system prompts whether the user allows the WeChat or not when the user 10 is switched to, and the user 0 does not need to be reminded because the WeChat obtains the permission. The same applies to other users.
For user authority management, when a certain user installs an application, an insensitive authority can directly obtain permission, and the sensitive authority needs to be obtained by permission of the user; under different users, the permission configurations of the same application are independent and isolated, and when the users switch, the sensitive permission of the application used for the first time needs to prompt the users whether to be entitled.
For the self-body application, the existence form of the access port in the master user may be various, and this embodiment is not particularly limited, for example, the access port may be a desktop icon including an application identifier, where the application identifier is used to distinguish the current self-body application from the master application and other self-body applications; the application identifier can be attached to the main application icon; an icon containing an application identifier which can also exist in a floating window form; but also items that exist in a notification center or the like.
The mobile terminal user can realize the operation of the main application in the main user and can also operate the corresponding personal application in the main user through the access port. It can be understood that the same master application may correspond to a plurality of separate applications, and each separate application is installed in a different slave user, so that each separate application is respectively operated in different slave users, and does not interfere with each other in the operation process.
Compared with third-party multi-open helper software, the multi-open application is realized based on a multi-user mechanism, so that the actions of pushing advertisements and stealing user privacy data by the third-party software are avoided, and the safety is higher; compared with the scheme that the application main body and the application sub-body are operated under the same user, the method reduces the process interference between different application sub-bodies or application main bodies under the same user, and avoids the function loss phenomenon caused by a complex operation environment.
For example, in this embodiment, the main application and the self-service application may be distinguished by the user identifier userid and the application identifier uid.
And 102, when a data sharing instruction of a target application in the multi-open application set is detected under a master user of a current terminal, storing shared data corresponding to the sharing instruction into a set sharing folder.
Wherein the master application is installed under the master user, and the split application is installed under the slave user. The target application is a main application or a separate application in the multi-open application set.
Illustratively, the application is WeChat, and when an emoticon collection instruction of the WeChat application is detected by a master user, the emoticon is stored in a set shared folder. In another example, the application is an address book, and when a contact saving instruction of the address book application is detected by the master user, the contact is stored in the set sharing folder. The shared file can be stored under a master user path or a slave user path, and can also be stored under other specified paths in the system.
Step 103, when detecting that other target applications in the multi-open application set trigger a shared data acquisition event under the master user, sharing the shared data to the other target applications.
Wherein the other target applications are similar applications except the target application in step 102, for example, if the target application is a wechat master application, the other target applications are wechat split applications; and if the target application is the wechat split application, the wechat main application or other wechat split applications of other target applications.
According to the data sharing method for the application, the shared data of the target application in the multi-open application set is stored in the set shared folder, and when the terminal detects that the shared data acquisition event of other target applications in the multi-open application set is triggered under the master user, the shared data is shared with the other target applications, so that the shared data of the master application and the split application are more conveniently managed, the problems that in the prior art, when the master application data are changed, the corresponding data on the split application are correspondingly updated, the workload of a mobile terminal is large, and the memory occupied is large are solved, the data sharing technology of the existing application is optimized, and the memory occupied by the shared data of the application is reduced.
On the basis of the technical scheme, the method further comprises the following steps: and setting the data sharing authority and the shared data acquisition authority of the main application and the self-body application. The data sharing permission is the permission for storing shared data in a set sharing folder, and the shared data acquisition permission is the permission for acquiring the shared data from the set sharing folder.
On the basis of the above technical solution, the step 103 may specifically include: when detecting that other target applications in a multi-open application set trigger a shared data acquisition event under the master user, if the other target applications have shared data acquisition permission, sharing the shared data to the other target applications.
On the basis of the technical scheme, the main user comprises an access port for receiving the user to operate the personal application. The access port can be generated by a floating window, a popup frame, a task manager, an application list, a sharing link, a notification center or a newly-built body-divided application icon under the main user.
Fig. 2 is a flowchart of a data sharing method for another application according to an embodiment of the present invention. The present embodiment is optimized based on the above embodiments. In this embodiment, the step of acquiring the multiple application sets is optimized.
Correspondingly, as shown in fig. 2, the method provided by the embodiment includes the following steps:
step 201, installing a main application in a multi-open application set under a main user of a current terminal, and simultaneously installing a split application in the multi-open application set under a slave user; or, installing a master application in a multi-open application set under a master user of a current terminal, and installing a split application of the master application under a slave user when a creation instruction of the split application in the multi-open application set is detected under the master user.
Wherein the multi-open application set comprises a main application and a split application of the main application.
In one embodiment, the process by which the multi-open application set is implemented based on a multi-user mechanism can be described as follows:
assuming that a default user of the mobile terminal is a master user, the user stores an installation package (APK) file ABC.apk of application ABC into the mobile terminal in a mode of downloading from an application store or copying from other sources and the like under the master user, and after the system installs the APK under the master user, a desktop of the master user can generate an icon of the master application ABC. And simultaneously, installing the ABC.apk under the condition that a slave user exists in the current terminal (if the slave user does not exist currently, a slave user can be created, the creation process is completed under the condition that the user cannot be aware of, and the user does not need to set an account and a password) to obtain the split application, adding an identifier (assumed to be) for the newly installed split application in order to distinguish the master application from the split application, and recording the split application as ABC. After ABC is successfully installed, a notification of 'successful installation' (identification is added in the notification) can be appointed to be sent to the master user, after the desktop under the master user receives the notification, an icon with the identification is generated to be distinguished from the icon of the master application ABC, the icon can be used as an access port of the master user for receiving the operation of the user on the divided application, after the icon is clicked, the system can appoint ABC to be started under the slave user, and the relevant process corresponding to ABC is also run under the slave user.
As another example, when a split application creation instruction generated by dragging and pressing a main application icon by a user is detected under a main user, an abc.
When the creation instruction of the avatar application is detected by the master user, specifically, installing the avatar application of the master application under the slave user may include: when a creation instruction of the self-body application is detected under the master user, determining whether a slave user which does not install the self-body application exists in a current terminal; if the self-body-divided application exists, the self-body-divided application is installed under the slave user which does not install the self-body-divided application; and if the application does not exist, establishing a new slave user, and installing the self-body-splitting application under the new slave user.
Step 202, when a data sharing instruction of a target application in the multi-open application set is detected by a master user of a current terminal, storing shared data corresponding to the sharing instruction into a set sharing folder.
Step 203, when detecting that other target applications in the multi-open application set trigger a shared data acquisition event under the master user, sharing the shared data to the other target applications.
In the method provided by this embodiment, a master application is installed under a master user of a current terminal, and a split application is installed under a slave user at the same time, or a master application is installed under a master user of the current terminal, and when a creation instruction of the split application is detected under the master user, the split application of the master application is installed under the slave user, after the installation of the master application and the split application is completed, if a data sharing instruction of a target application is detected, shared data is stored under a set shared folder, and when a shared data acquisition event of other target applications is detected under the master user of the terminal and triggered, the shared data is shared with the other target applications, so that the management of shared data of the master application and the split application is more convenient, and the corresponding data on the split application is prevented from being updated correspondingly when the master application data is changed in the prior art, the problems of large workload and large memory occupation of the mobile terminal are caused, the existing data sharing technology of the application is optimized, and the memory occupation of the shared data of the application is reduced.
Fig. 3 is a flowchart of a data sharing method for another application according to an embodiment of the present invention. In this embodiment, the optimization is performed based on the above embodiment, and in this embodiment, the optimization of "when detecting that other target applications in the multi-open application set trigger a shared data acquisition event under the master user, sharing the shared data to the other target applications" is that: and when detecting an operation instruction of a user acting on a set data sharing icon in other target applications in the multi-open application set under the master user, sharing the shared data to the other target applications.
Correspondingly, as shown in fig. 3, the method provided by the embodiment includes the following steps:
and 301, acquiring a multi-open application set.
The multi-open application set comprises a main application and all the split applications corresponding to the main application.
Step 302, when a data sharing instruction of a target application in the multi-open application set is detected by a master user of a current terminal, storing shared data corresponding to the sharing instruction into a set sharing folder. Wherein the master application is installed under the master user, and the split application is installed under the slave user.
And 303, when an operation instruction of a user on a set data sharing icon in other target applications in the multi-open application set is detected under the master user, sharing the shared data to the other target applications.
Fig. 4-1 is a schematic diagram of a human-computer interaction interface of an address book application according to an embodiment of the present invention, and as shown in fig. 4-1, when an operation instruction that a user clicks a contact icon a in the address book application is detected under a master user, information of a shared contact stored in a set sharing folder is automatically displayed in a current display interface in the address book application, and as shown in fig. 4-1, information of a shared contact cluster B is displayed in the current display interface. The address book application can be an address book main application or an address book separate application. The display mode of the shared data can be displayed in a mode different from other data, for example, a display font and a display size of the shared contact are changed, or a mark such as an "x" is added beside the shared contact.
Fig. 4-2 is a schematic diagram of a human-computer interaction interface in the wechat application according to the embodiment of the present invention, and as shown in fig. 4-2, when an operation instruction of a user for clicking an emoticon C is detected under a master user, a shared emoticon D stored in a set shared folder is automatically displayed in a current emoticon display interface. The wechat application can be a wechat main application or a wechat split application.
According to the method provided by the embodiment, the shared data of the target application in the multi-open application set is stored under the set shared folder, and when the terminal detects that the user acts on the operation instruction of the set data shared icon in other target applications in the multi-open application set under the main user, the shared data is shared to the other target applications, so that the management of the shared data of the main application and the split application is more convenient, the problems that in the prior art, when the main application data changes, the corresponding data on the split application is updated correspondingly, the workload of a mobile terminal is large, and the memory usage is large are solved, the data sharing technology of the existing application is optimized, and the memory usage of the shared data of the application is reduced.
Fig. 5 is a flowchart of a data sharing method for another application according to an embodiment of the present invention. In this embodiment, the optimization is performed based on the above embodiment, and in this embodiment, the optimization of "when detecting that other target applications in the multi-open application set trigger a shared data acquisition event under the master user, sharing the shared data to the other target applications" is that: and when detecting that a user acts on an operation instruction for setting a shortcut icon of a shared folder in other target applications in the multi-open application set under the master user, sharing the shared data to the other target applications.
Correspondingly, as shown in fig. 5, the method provided by the embodiment includes the following steps:
step 401, acquiring a multi-open application set.
The multi-open application set comprises a main application and all the split applications corresponding to the main application.
Step 402, when a data sharing instruction of a target application in the multi-open application set is detected by a master user of a current terminal, storing sharing data corresponding to the sharing instruction into a set sharing folder.
Step 402, when detecting an operation instruction of a user acting on a shortcut icon of a set shared folder in other target applications in the multi-open application set under the master user, sharing the shared data to the other target applications.
For example, fig. 6 is a schematic diagram of a human-computer interaction interface of a wechat application provided in an embodiment of the present invention, and as shown in fig. 6, when detecting that a user clicks an operation instruction of a shortcut icon E of a shared folder in an emotion of the wechat application, the shared emotion in the shared folder is displayed in a new emotion display window, or the shortcut icon is directly replaced, and the shared emotion is displayed in a current emotion display interface. The wechat application can be a wechat main application or a wechat split application.
According to the method provided by the embodiment, the shared data of the target application in the multi-open application set is stored under the set shared folder, and when the terminal detects an operation instruction of a user acting on the shortcut icon of the set shared folder in other target applications in the multi-open application set under the main user, the shared data is shared with other target applications, so that the management of the shared data of the main application and the split application is more convenient, the problems that the workload of a mobile terminal is large and the memory is large because the corresponding data on the split application is updated when the main application data is changed in the prior art are solved, the data sharing technology of the prior application is optimized, and the memory occupation of the shared data of the application is reduced.
Fig. 7 is a block diagram of a data sharing apparatus for an application according to an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal. As shown in fig. 7, the apparatus includes a multiple-open application set acquisition module 51, a shared data storage module 52, and a shared data sharing module 53.
A multiple open application set obtaining module 51, configured to obtain a multiple open application set, where the multiple open application set includes a main application and an individual application of the main application;
the shared data storage module 52 is configured to, when a data sharing instruction of a target application in the multi-open application set is detected by a master user of a current terminal, store shared data corresponding to the sharing instruction into a set shared folder, where the multi-open application set includes a master application and a stand-by application of the master application;
the shared data sharing module 53 is configured to, when detecting that another target application in the multi-open application set triggers a shared data acquisition event under the master user, share the shared data to the another target application;
wherein the master application is installed under the master user, and the split application is installed under the slave user.
According to the technical scheme provided by the embodiment, the shared data of the target application in the multi-open application set is stored in the set shared folder, and when the terminal detects that the shared data acquisition event of other target applications in the multi-open application set is triggered under the master user, the shared data is shared with the other target applications, so that the management of the shared data of the master application and the split application is more convenient, the problems that the workload of the mobile terminal is large and the memory occupied by the mobile terminal is large because the corresponding data on the split application is updated when the master application data is changed in the prior art are solved, the data sharing technology of the existing application is optimized, and the memory occupied by the shared data of the application is reduced.
On the basis of the above technical solution, the apparatus further includes:
and the authority setting module is used for setting the data sharing authority and the shared data acquisition authority of the main application and the self-body application.
On the basis of the above technical solution, the shared data sharing module is specifically configured to:
when the master user detects that other target applications in the multi-open application set trigger a shared data acquisition event, if the other target applications have shared data acquisition permission, the shared data is shared to the other target applications.
On the basis of the above technical solution, the shared data sharing module is specifically configured to:
when an operation instruction of a user acting on a set data sharing icon in other target applications in the multi-open application set is detected under the master user, sharing the shared data to the other target applications; or,
and when detecting that the user acts on an operation instruction for setting a shortcut icon of a shared folder in other target applications in the multi-open application set under the master user, sharing the shared data to the other target applications.
On the basis of the above technical solution, the multiple open application set acquisition module is specifically configured to:
installing a master application in a multi-open application set under the master user, and simultaneously installing a split application in the multi-open application set under the slave user; or,
the method comprises the steps of installing a master application in a multi-open application set under a master user, and installing a split application under a slave user when a creation instruction of the split application in the multi-open application set is detected under the master user.
On the basis of the technical scheme, the main user comprises an access port for receiving the user to operate the personal application.
The data sharing device for the application provided by the embodiment of the invention can execute the data sharing method for the application provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
The embodiment provides a mobile terminal, which can comprise the data sharing device of the application provided by the embodiment of the invention. Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 8, the mobile terminal may include: memory 601, a Central Processing Unit (CPU) 602, peripheral interfaces 603, RF (Radio Frequency) circuitry 605, audio circuitry 606, speakers 611, a power management chip 608, an input/output (I/O) subsystem 609, a touch screen 612, other input/control devices 610, and an external port 604, which communicate via one or more communication buses or signal lines 607.
It should be understood that the illustrated mobile terminal 600 is merely one example of a mobile terminal and that the mobile terminal 600 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a mobile terminal for data sharing of an application provided in this embodiment, where the mobile terminal is a mobile phone as an example.
A memory 601, the memory 601 being accessible by the CPU602, the peripheral interface 603, and the like, the memory 601 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 603, said peripheral interface 603 may connect input and output peripherals of the device to the CPU502 and the memory 601.
An I/O subsystem 609, the I/O subsystem 609 may connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610, to the peripheral interface 603. The I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610. Where one or more input controllers 6092 receive electrical signals from or transmit electrical signals to other input/control devices 610, the other input/control devices 610 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 6092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 612, which touch screen 612 is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or transmits electrical signals to the touch screen 612. The touch screen 612 detects a contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 612, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 612 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 605 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 605 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603, convert the audio data into an electric signal, and transmit the electric signal to the speaker 611.
The speaker 611 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 605 into sound and play the sound to the user.
And a power management chip 608 for supplying power and managing power to the hardware connected to the CPU602, the I/O subsystem, and the peripheral interface 603.
The CPU602 provided in the embodiment of the present invention can perform the following operations:
acquiring a multi-open application set, wherein the multi-open application set comprises a main application and a body-separated application of the main application;
when a master user of a current terminal detects a data sharing instruction of a target application in the multi-open application set, storing sharing data corresponding to the sharing instruction into a set sharing folder;
when detecting that other target applications in the multi-open application set trigger shared data acquisition events under the master user, sharing the shared data to the other target applications;
wherein the master application is installed under the master user, and the split application is installed under the slave user.
The mobile terminal can execute the method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in the above embodiments, reference may be made to the data sharing method of the application provided in the embodiments of the present invention.
The foregoing is considered as illustrative of the preferred embodiments of the invention and technical principles employed. The present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the claims.

Claims (13)

1. A method for sharing data of an application, comprising:
acquiring a multi-open application set, wherein the multi-open application set comprises a main application and a body-separated application of the main application;
when a master user of a current terminal detects a data sharing instruction of a target application in the multi-open application set, storing sharing data corresponding to the sharing instruction into a set sharing folder;
when detecting that other target applications in the multi-open application set trigger shared data acquisition events under the master user, sharing the shared data to the other target applications;
wherein the master application is installed under the master user and the split application is installed under the slave user;
and the other target applications are similar applications except the target application in the multi-open application set.
2. The method of claim 1, further comprising:
and setting the data sharing authority and the shared data acquisition authority of the main application and the self-body application.
3. The method according to claim 2, wherein the sharing the shared data to other target applications in the multi-open application set when detecting that the other target applications trigger a shared data acquisition event under the primary user comprises:
when the master user detects that other target applications in the multi-open application set trigger a shared data acquisition event, if the other target applications have shared data acquisition permission, the shared data is shared to the other target applications.
4. The method according to claim 1, wherein the sharing the shared data to other target applications in the multi-open application set when detecting that the other target applications trigger a shared data acquisition event under the primary user comprises:
when an operation instruction of a user acting on a set data sharing icon in other target applications in the multi-open application set is detected under the master user, sharing the shared data to the other target applications; or,
and when detecting that the user acts on an operation instruction for setting a shortcut icon of a shared folder in other target applications in the multi-open application set under the master user, sharing the shared data to the other target applications.
5. The method of claim 1, wherein obtaining the set of applications comprises:
installing a master application in a multi-open application set under the master user, and simultaneously installing a split application in the multi-open application set under the slave user; or,
the method comprises the steps of installing a master application in a multi-open application set under a master user, and installing a split application under a slave user when a creation instruction of the split application in the multi-open application set is detected under the master user.
6. A method according to any of claims 1-5, characterized in that said primary user comprises an access port for accepting user operations to said avatar application.
7. An apparatus for sharing data of an application, comprising:
the system comprises a multi-open application set acquisition module, a multi-open application set acquisition module and a multi-open application set acquisition module, wherein the multi-open application set comprises a main application and a body-divided application of the main application;
the shared data storage module is used for storing shared data corresponding to a sharing instruction into a set shared folder when a data sharing instruction of a target application in the multi-open application set is detected by a master user of a current terminal;
the shared data sharing module is used for sharing the shared data to other target applications when detecting that other target applications in the multi-open application set trigger shared data acquisition events under the master user;
wherein the master application is installed under the master user and the split application is installed under the slave user;
and the other target applications are similar applications except the target application in the multi-open application set.
8. The apparatus of claim 7, further comprising:
and the authority setting module is used for setting the data sharing authority and the shared data acquisition authority of the main application and the self-body application.
9. The apparatus of claim 8, wherein the shared data sharing module is specifically configured to:
when the master user detects that other target applications in the multi-open application set trigger a shared data acquisition event, if the other target applications have shared data acquisition permission, the shared data is shared to the other target applications.
10. The apparatus of claim 7, wherein the shared data sharing module is specifically configured to:
when an operation instruction of a user acting on a set data sharing icon in other target applications in the multi-open application set is detected under the master user, sharing the shared data to the other target applications; or,
and when detecting that the user acts on an operation instruction for setting a shortcut icon of a shared folder in other target applications in the multi-open application set under the master user, sharing the shared data to the other target applications.
11. The apparatus of claim 7, wherein the multiple open application set obtaining module is specifically configured to:
installing a master application in a multi-open application set under the master user, and simultaneously installing a split application in the multi-open application set under the slave user; or,
the method comprises the steps of installing a master application in a multi-open application set under a master user, and installing a split application under a slave user when a creation instruction of the split application in the multi-open application set is detected under the master user.
12. An arrangement according to any of claims 7-11, characterized in that said primary user comprises an access port for accepting user operation of said avatar application.
13. A mobile terminal characterized in that it integrates the apparatus according to any of claims 7-12.
CN201610885174.XA 2016-10-10 2016-10-10 A kind of data sharing method of application, device and mobile terminal Active CN106357921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610885174.XA CN106357921B (en) 2016-10-10 2016-10-10 A kind of data sharing method of application, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610885174.XA CN106357921B (en) 2016-10-10 2016-10-10 A kind of data sharing method of application, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106357921A CN106357921A (en) 2017-01-25
CN106357921B true CN106357921B (en) 2019-05-14

Family

ID=57865712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610885174.XA Active CN106357921B (en) 2016-10-10 2016-10-10 A kind of data sharing method of application, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106357921B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878153A (en) * 2017-03-06 2017-06-20 宇龙计算机通信科技(深圳)有限公司 A kind of message sharing method and device and mobile terminal, server
CN106970978A (en) * 2017-03-28 2017-07-21 联想(北京)有限公司 Data sharing method and device
CN106980519A (en) * 2017-03-29 2017-07-25 联想(北京)有限公司 A kind of data processing method and electronic equipment
WO2018209507A1 (en) * 2017-05-15 2018-11-22 深圳市伊特利网络科技有限公司 Method and system for terminal app duplication
CN109271211B (en) * 2017-07-18 2021-03-26 斑马智行网络(香港)有限公司 Method, device, equipment and medium for separating application program
CN109960563A (en) * 2017-12-22 2019-07-02 北京安天网络安全技术有限公司 Call the more extractions of root of hook application program and system
CN108197273B (en) * 2018-01-08 2022-04-22 青岛海信移动通信技术股份有限公司 Method and device for multi-user data synchronization
CN108287765A (en) * 2018-01-24 2018-07-17 青岛海信移动通信技术股份有限公司 Application data sharing method and terminal
CN108228894B (en) * 2018-02-05 2023-07-04 腾讯科技(深圳)有限公司 Method, device and terminal for checking recently used files
CN109117208B (en) * 2018-07-20 2022-12-02 北京奇虎科技有限公司 Information sharing method and device, user terminal and readable storage medium
WO2020243653A1 (en) 2019-05-31 2020-12-03 Apple Inc. Multi-user devices in a connected home environment
CN112825072B (en) * 2019-11-21 2023-02-17 青岛海信移动通信技术股份有限公司 Communication terminal and data sharing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760032A (en) * 2012-03-19 2012-10-31 联想(北京)有限公司 Information processing method and electronic device
CN104618601A (en) * 2015-02-05 2015-05-13 深圳酷派技术有限公司 Data sharing method and multisystem terminal
CN104885055A (en) * 2014-03-19 2015-09-02 华为终端有限公司 Method and device for application data synchronization
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002111845A (en) * 2000-09-27 2002-04-12 Nec Corp Common portable telephone and method of sharing portable telephone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760032A (en) * 2012-03-19 2012-10-31 联想(北京)有限公司 Information processing method and electronic device
CN104885055A (en) * 2014-03-19 2015-09-02 华为终端有限公司 Method and device for application data synchronization
CN104618601A (en) * 2015-02-05 2015-05-13 深圳酷派技术有限公司 Data sharing method and multisystem terminal
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《PP助手"应用多开"功能趣味使用攻略》;PChome;《http://article.pchome.net/content1725431.html》;20140604;第1-3页

Also Published As

Publication number Publication date
CN106357921A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN106357921B (en) A kind of data sharing method of application, device and mobile terminal
CN106484547B (en) Multi-open application management method and device and terminal
CN107026933B (en) Multi-open application message management method and device and intelligent terminal
CN106484538B (en) Memory control method and device of terminal equipment and terminal equipment
CN106445612B (en) Method and device for opening application and mobile terminal
CN106648736B (en) A kind of control method of application, device and mobile terminal
CN106648737B (en) A kind of control method of application, device and mobile terminal
CN106445647B (en) Open the data manipulation method, device and mobile terminal of application more
CN108710515B (en) Application preloading method and device, storage medium and terminal
CN106445706B (en) Open the data transmission method, device and mobile terminal of application more
CN106502732B (en) Application closing method and device and intelligent terminal
CN106484479A (en) A kind of management method, device and intelligent terminal for opening application more
CN106484514B (en) Multi-open application operation management method and device and intelligent terminal
CN106357667B (en) Account management method and device for split application in multi-open application and intelligent terminal
CN106648459B (en) A kind of data managing method of application, device and mobile terminal
CN106485111B (en) Method, device and terminal for hiding self-service application
CN106383672B (en) A kind of data-erasure method, device and mobile terminal for opening application more
CN106648738B (en) Method, device and terminal for managing personal applications
CN106648908A (en) Control method, device of application progress and mobile terminal
CN106484419A (en) Information searching method, device and mobile terminal in a kind of application program
CN106648962B (en) A kind of management method, device and intelligent terminal for opening application more
CN106648298B (en) Application control method and device and mobile terminal
CN106484482B (en) Method and device for managing split application in multi-open application and intelligent terminal
CN106445670B (en) A kind of data managing method, device and mobile terminal for opening application more
CN106649495B (en) A kind of data-erasure method device and mobile terminal for opening application more

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant