CN106484547B - Multi-open application management method and device and terminal - Google Patents

Multi-open application management method and device and terminal Download PDF

Info

Publication number
CN106484547B
CN106484547B CN201610885767.6A CN201610885767A CN106484547B CN 106484547 B CN106484547 B CN 106484547B CN 201610885767 A CN201610885767 A CN 201610885767A CN 106484547 B CN106484547 B CN 106484547B
Authority
CN
China
Prior art keywords
application
data
target
user
main
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
CN201610885767.6A
Other languages
Chinese (zh)
Other versions
CN106484547A (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 CN201610885767.6A priority Critical patent/CN106484547B/en
Publication of CN106484547A publication Critical patent/CN106484547A/en
Application granted granted Critical
Publication of CN106484547B publication Critical patent/CN106484547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

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

The embodiment of the invention discloses a method, a device and a terminal for managing multi-open applications, which relate to the technical field of communication, wherein the method comprises the following steps: detecting whether a target application in a multi-open application set calls a first application outside the multi-open application set or not; when the target application is detected to call the first application, saving data generated when the target application calls the first application, wherein the multi-open application set comprises a main application and all split applications corresponding to the main application; and sending the data or the address of the data to a second application associated with the target application in the multi-open application set so that the second application calls the data. The embodiment of the invention realizes the main application, the individual application and the data sharing among the individual applications.

Description

Multi-open application management method and device and terminal
Technical Field
The invention relates to the technical field of communication, in particular to a method, a device and a terminal for managing multiple applications.
Background
With the development of the mobile internet, the user demands for applications in the terminal are more and more abundant. In the process of daily use of the terminal, a user needs to log in a same application at the same time through multiple account numbers, for example, for a microblog, the multiple account numbers of the user need to log in and use at the same time, or for a certain game, the multiple account numbers of the user need to log in at the same time to meet the requirements of convenient operations such as switching and trading.
At present, in order to meet the requirement that different accounts log in the same application at the same time, a plurality of same applications can be started in a terminal, and different accounts can be logged in the plurality of same applications. However, in the prior art, when one of a plurality of identical applications calls a third-party application, the generated data cannot be shared with other identical applications. For example, a plurality of wechat applications exist in the terminal, and when a user calls the camera application by using one of the wechat applications, data such as generated images and videos cannot be shared with other wechat applications, so that the operation is inconvenient.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a terminal for managing multiple applications, so as to implement a main application and a separate application, and data sharing between the separate applications.
In a first aspect, an embodiment of the present invention provides a method for managing multiple applications, including:
detecting whether a target application in a multi-open application set calls a first application outside the multi-open application set or not;
when the target application is detected to call the first application, saving data generated when the target application calls the first application, wherein the multi-open application set comprises a main application and all split applications corresponding to the main application;
and sending the data or the address of the data to a second application associated with the target application in the multi-open application set so that the second application calls the data.
In a second aspect, an embodiment of the present invention provides a management apparatus for multiple applications, including:
the detection module is used for detecting whether a target application in the multi-open application set calls a first application outside the multi-open application set or not;
the storage module is used for storing data generated when the target application calls a first application out of the multi-open application set when the target application calls the first application, wherein the multi-open application set comprises a main application and all the split applications corresponding to the main application;
a sending module, configured to send the data or the address of the data to a second application associated with the target application in the multiple-open application set, so that the second application invokes the data.
In a third aspect, an embodiment of the present invention provides a terminal, where the terminal integrates the management apparatus for multiple applications provided in the embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the data of the first application outside the multi-open application set called by the target application in the multi-open application set is stored, and the data or the data address is sent to the second application associated with the target application in the multi-open application set, so that the second application can call the data, and the data sharing between the main application and the body-separated application and among the body-separated applications in the multi-open application set is realized.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a flowchart of a management method for multiple applications according to an embodiment of the present invention;
fig. 2 is a flowchart of a management method for multiple applications according to an embodiment of the present invention;
FIG. 3 is a flowchart of a management method for multiple applications according to an embodiment of the present invention
Fig. 4 is a block diagram of a management apparatus for multiple applications according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. 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.
Fig. 1 is a flowchart of a management method for a multi-open application, which is provided by an embodiment of the present invention, and is performed by a management apparatus for a multi-open application, where the apparatus is performed by software and/or hardware. The device is configured in a terminal such as a mobile phone. As shown in fig. 1, the technical solution provided in this embodiment is as follows:
s110: whether a target application in a multi-open application set calls a first application outside the multi-open application set is detected.
In this embodiment, the multi-open application set includes a main application and all the split applications corresponding to the main application. In this embodiment, the main application and the body-separated application corresponding to the main application are the same application program, and the main application and the body-separated application corresponding to the main application can run simultaneously. When a user opens the main application, the terminal generates a source process corresponding to the main application, and when the user clicks an icon of the split application to open the split application, the terminal generates the split process corresponding to the split application so as to realize that the source process and the split process run simultaneously, and if the user has a plurality of accounts, simultaneous login can be realized.
In this embodiment, the target application may be a main application or an individual application corresponding to the main application. The first application may be a camera application or another application outside a set of multiple applications installed in the terminal, such as a recorder application.
In this embodiment, for the detection that the target application calls the first application, the terminal may determine by recognizing the current progress information. For example, when the target application calls the first application, the target application and the process information of the first application exist in the current process, and the process information of the target application and the first application are associated. Or may be determined in other ways.
S120: when detecting that the target application calls the operation of a first application out of the multi-open application set, saving data generated when the target application calls the first application, wherein the multi-open application set comprises a main application and all the split applications corresponding to the main application.
In this embodiment, the data generated by the target application when calling the first application includes: at least one of pictures, video, and audio. The data generated by the target application when the first application is called is not limited to pictures, video or audio, but may also include other data.
S130: and sending the data or the address of the data to a second application associated with the target application in the multi-open application set so that the second application calls the data.
In this embodiment, when a target application is a master application, a second application associated with the target application includes an avatar application associated with the master application; when the target application is an avatar application, the second application associated with the target application comprises an avatar application or a main application associated with the avatar application. Optionally, when the target application is a master application, the second application associated with the target application includes an avatar application running simultaneously with the master application; when the target application is a split application, the second application associated with the target application comprises a split application or a main application which runs simultaneously with the split application.
In this embodiment, the data generated when the target application calls the first application or the address of the data is sent to the second application associated with the target application, which may be sent automatically by the terminal, or may be sent according to a sending instruction input by the user, where a specific way of sending the data or sending the address of the data is selected according to the requirement of the user.
In this embodiment, data generated when the target application calls the first application or an address of the data may be sent to a preset location in the second application associated with the target application, so that the second application calls the data, or searches for the data according to the address of the data. By the method, the application and the self-body application and data sharing among the self-body applications can be realized.
It should be noted that, the implementation manner of the multiple-open application set may be many, and the 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 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 multiple-open application set is implemented based on a multi-user mechanism, and 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 embodiments of the present invention 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.
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 terminal is a master user, the user stores an installation package (APK) file, such as abc.apk, of the application ABC into the terminal by downloading from an application store or copying from other sources under the master user, and after the system installs the abc.apk under the master user, a desktop of the master user generates an icon of the master application ABC. When an avatar creation request for a master application ABC is detected under a master user, an avatar application is installed under a slave user (if no slave user exists, a slave user can be created, the creation process is completed without being perceived by the user, and no account and password are set by the user). After ABC is successfully installed, an appointed notification of 'successful installation' (identification is added in the notification) is sent to a master user, after a desktop under the master user receives the notification, an icon with the identification is generated to be distinguished from an icon of ABC of the master application, the icon can be used as an access port for operating the body application in the master user, after the icon is clicked, the system appoints ABC to be started under a slave user, a relevant process corresponding to ABC is also operated under the slave user, a human-computer interaction interface (abbreviated as an interface) of ABC is displayed under the master user, and the interface of ABC can also be used as an access port for operating the body application in the master user.
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 terminal user can realize the operation of the main application in the main user, and simultaneously can 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 main application and the split application are operated under the same user, the method reduces the process interference between different split applications or main applications 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 body-splitting application may also be distinguished by the user identifier userid and the application identifier Uid.
According to the management method for the multiple applications, provided by this embodiment, by storing the data of the first application, which is called by the target application in the multiple application set, and sending the data or the data address to the second application, which is associated with the target application, in the multiple application set, the second application can call the data, so that data sharing between the main application and the body-separated application, and between the body-separated applications in the multiple application set is realized.
Fig. 2 is a flowchart of a management method for multiple applications according to another embodiment of the present invention, where on the basis of the first embodiment, before the data generated when the target application calls the first application is saved when the target application is detected to call the first application, the following operations are further performed:
and establishing an incidence relation between the target application and the second application according to a selection instruction of a user.
Therefore, the incidence relation between the target application and the second application is established through the selection instruction of the user, and the second application can be selected according to the requirement of the user, so that data sharing is realized according to the requirement of the user.
Further, optionally, the sending the data or the address of the data to a second application associated with the target application in the multiple-open application set, so that the second application can call the data, includes:
determining target data from the data according to a setting instruction input by a user;
and sending the target data or the address of the target data to a second application associated with the target application in the multi-open application set so that the second application calls the target data.
Therefore, the target data are determined according to the setting instruction of the user, and the target data or the address of the target data are sent to the second application associated with the target application in the multi-open application set, so that the second application can call the target data, and the target data can be selected according to the requirement of the user, and the main application and the individual application and the data sharing among the individual applications can be realized according to the requirement of the user.
Based on the above optimization, as shown in fig. 2, the technical solution provided in this embodiment is specifically as follows:
s210: and establishing an incidence relation between the target application and the second application according to a selection instruction of a user.
In this embodiment, the association relationship between the target application and the second application may be established according to a selection instruction of the user in the setting options of the terminal. For example, the target application is a main application of WeChat, and the divided applications corresponding to the main application include WeChat 1, WeChat 2, and WeChat 3. In the setting option of the terminal, the user can only select the WeChat 1 to establish the association with the main application (WeChat) so as to realize data sharing between the main application (WeChat) and the separate application (WeChat 1). Or all the body-separated applications and the main application can be associated in the setting options of the terminal, so that data sharing between the main application and each application body can be realized.
S220: whether a target application in a multi-open application set calls a first application outside the multi-open application set is detected.
S230: when the target application is detected to call the first application, data generated when the target application calls the first application is saved, wherein the multi-open application set comprises a main application and all the split applications corresponding to the main application.
S240: and determining target data from the data according to a setting instruction input by a user.
For example, the main application is WeChat, and when a camera is called in WeChat, a plurality of pictures and a plurality of videos are taken. If in the body-divided application of WeChat (WeChat 1), only the WeChat 1 needs to call the picture taken by the main application (WeChat), the user can set the picture taken when the main application (WeChat) calls the camera as the target data. The method for setting the picture taken when the WeChat calls the camera as the target data may be to create a function option available for calling, to select the picture, and to select the function option available for calling, so that the user can view or use the main application (WeChat) to call the picture taken when the camera is called by the user through the separate application (WeChat 1) when sending the picture or other operations. The method of setting the image captured by the wechat call camera as the target data may be another method, and is not limited to the above method.
S250: and sending the target data or the address of the target data to a second application associated with the target application in the multi-open application set so that the second application calls the target data.
In this embodiment, the target data may be sent to the second application associated with the target application in the multi-open application set, or only the address of the target data is sent to the second application associated with the target application in the multi-open application set in order to save the storage space of the terminal, so that the second application views or uses the target data according to the address of the target data. Therefore, by the method, the main application and the individual applications and data sharing among the individual applications can be realized according to the needs of the user.
It should be noted that, in the present invention, the S210-S250 are exemplarily combined into one embodiment to execute a management method of multiple applications, but this is merely an example of the embodiment of the present invention, and in other embodiments of the present invention, only the S220-S250 may be combined into a new embodiment to execute a management method of multiple applications, or the S210 and the S110-S130 may also be combined into a new embodiment to execute a management method of multiple applications. In addition, in the embodiment of the present invention, S220 is executed after S210, but in other embodiments of the present invention, S220 may also be executed before S210, and management of the multi-open application is not affected.
The embodiment provides a management method of multiple applications, which establishes an association relationship between a target application and a second application through a selection instruction of a user, and can select the second application according to the needs of the user so as to realize data sharing according to the needs of the user; the target data are determined according to the setting instruction of the user, and the target data or the address of the target data are sent to the second application associated with the target application in the multi-open application set, so that the second application can call the target data, and the target data can be selected according to the requirement of the user, and the main application and the individual application and the data sharing among the individual applications can be realized according to the requirement of the user.
Fig. 3 is a flowchart of a management method for multiple applications according to an embodiment of the present invention, where on the basis of the first embodiment, optionally, the sending the data to a second application associated with the target application in the multiple application set, so that the second application invokes the data includes:
sending the data to a first set position in a second application associated with the target application in the multi-open application set;
when the operation that the second application calls the data is detected, the data is called from the first set position to view or use the data.
Therefore, the data are transmitted to the first setting position of the second application related to the target application, so that when the operation that the second application calls the data is detected, the data are called from the first setting position, and data sharing between the main application and the body-separated application and among the body-separated applications can be achieved.
Further, optionally, the sending the address of the data to a second application associated with the target application in the multi-open application set, so that the second application can call the data, includes:
sending the address of the data to a second set position in a second application associated with the target application;
when the operation that the second application calls the data is detected, calling the address of the data from the second set position, and searching the data through the address to view or use the data.
Therefore, the address of the data is sent to the second setting position of the second application associated with the target application, so that when the operation that the second application calls the data is detected, the address of the data is called from the second setting position, and the data is searched through the address, the storage space in the terminal can be saved, and the data sharing between the main application and the separate application and among the separate applications can be realized.
Based on the above optimization, as shown in fig. 3, the technical solution provided in this embodiment is specifically as follows:
s310: whether a target application in a multi-open application set calls a first application outside the multi-open application set is detected.
S320: when the target application is detected to call the first application, data generated when the target application calls the first application is saved, wherein the multi-open application set comprises a main application and all the split applications corresponding to the main application.
S330: and sending the data to a first set position in a second application associated with the target application in the multi-open application set.
In this embodiment, the first setting position in the second application may be a position where the installation data of the second application is located, or may be another position.
S340: when the operation that the second application calls the data is detected, the data is called from the first set position to view or use the data.
For example, the main application is WeChat, and the second application is an affiliation application of WeChat application: and 1, the main application takes a picture when calling the camera, and sends the picture to a first preset position of the WeChat 1. When a user contacts with a contact person by adopting the WeChat 1, if the user clicks the operation of sending the picture, the terminal detects that the WeChat 1 calls the operation of the picture, and can select to call the picture from a first preset position for viewing or using.
S350: and sending the address of the data to a second set position in a second application associated with the target application.
In this embodiment, the second setting position may be an installation path of the second application, or may be another position in the terminal for storing data in the second application. In order to save memory space of the terminal, the address of the data may be sent to a second set location in a second application associated with the target application.
S360: when the operation that the second application calls the data is detected, calling the address of the data from the second set position, and searching the data through the address to view or use the data.
For example, in this embodiment, when the user uses the WeChat 1 to contact with the contact person, if the user clicks the operation of sending the picture, the terminal detects that the WeChat 1 calls the main application to call the camera to take the picture, calls the address of the picture from the second setting position, and searches for the picture according to the address to view or use the picture. The operation of calling the data for the second application may also be an operation of detecting that the user clicks and shares a friend circle, or may also be other operations. The manifestation of the operation of the second application to invoke the data is different for different applications.
It should be noted that, in the present embodiment, S330-S340 and S350-S360 are not executed simultaneously, and when a management method of multiple applications is executed, S310-S320 and S330-S340 are executed simultaneously, or S310-S320 and S350-S360 are executed simultaneously.
The embodiment provides a management method of multiple applications, which is characterized in that data are sent to a first set position of a second application associated with a target application, so that when an operation of calling the data by the second application is detected, the data are called from the first set position, and data sharing between a main application and a separate application and among the separate applications can be realized; the address of the data is sent to a second set position of a second application associated with the target application, so that when the operation that the second application calls the data is detected, the address of the data is called from the second set position, and the data is searched through the address, and the storage space in the terminal can be saved.
Fig. 4 is a block diagram of a management apparatus for multiple applications, according to an embodiment of the present invention, the apparatus is configured to execute a management method for multiple applications. As shown in fig. 4, the apparatus includes a detection module 410, a saving module 420, and a sending module 430.
The detecting module 410 is configured to detect whether a target application in a multi-open application set calls a first application outside the multi-open application set;
a saving module 420, configured to, when it is detected that a target application in a multi-open application set invokes a first application outside the multi-open application set, save data generated when the target application invokes the first application, where the multi-open application set includes a main application and all of the split applications corresponding to the main application;
a sending module 430, configured to send the data or the address of the data to a second application associated with the target application in the multiple-open application set, so that the second application invokes the data.
Further, the sending module 430 is specifically configured to:
determining target data from the data according to a setting instruction input by a user;
and sending the target data or the address of the target data to a second application associated with the target application in the multi-open application set so that the second application calls the target data.
Further, the sending module 430 is specifically configured to:
sending the data to a first set position in a second application associated with the target application in the multi-open application set;
when the operation that the second application calls the data is detected, the data is called from the first set position to view or use the data.
Further, the sending module 430 is specifically configured to:
sending the address of the data to a second set position in a second application associated with the target application;
when the operation that the second application calls the data is detected, calling the address of the data from the second set position, and searching the data through the address to view or use the data.
Further, the data includes at least one of:
pictures, video, and audio.
Further, when the target application is a main application, a second application associated with the target application comprises an individuation application running simultaneously with the main application;
when the target application is a split application, the second application associated with the target application comprises a split application or a main application which runs simultaneously with the split application.
Further, the apparatus further comprises: and the association establishing module 440 is configured to establish an association relationship between the target application and the second application according to a selection instruction of a user before the data generated when the target application calls the first application out of the multi-open application set is stored when the target application in the multi-open application set is detected to call the first application.
The embodiment provides a device for managing multiple applications, which is capable of enabling a second application to call data by saving data of a first application, except for a target application in a multiple application set, calling the first application by using the target application, and sending the data or a data address to the second application associated with the target application in the multiple application set, so as to realize data sharing between a main application and a body-separated application and between body-separated applications in the multiple application set.
The present invention provides a terminal, which integrates the management device for multiple applications provided in the foregoing embodiment, and fig. 5 is a schematic structural diagram of a terminal provided in the embodiment of the present invention, and as shown in fig. 5, the terminal may include: memory 501, a Central Processing Unit (CPU) 502, a peripheral interface 503, RF (radio frequency) circuitry 505, audio circuitry 506, speakers 511, a power management chip 508, an input/output (I/O) subsystem 509, a touch screen 512, other input/control devices 510, and an external port 504, which communicate via one or more communication buses or signal lines 507.
It should be understood that the illustrated terminal 500 is only one example of a terminal, and that the terminal 500 may have more or fewer components than shown in the figures, 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 terminal for managing multiple applications provided in this embodiment, where the terminal is a mobile phone as an example.
A memory 501, the memory 501 being accessible by the CPU502, the peripheral interface 503, and the like, the memory 501 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 503, the peripheral interface 503 may connect input and output peripherals of the device to the CPU502 and the memory 501.
An I/O subsystem 509, which I/O subsystem 509 may connect input and output peripherals on the device, such as a touch screen 512 (equivalent to the screen in the above embodiment) and other input/control devices 510, to the peripheral interface 503. The I/O subsystem 509 may include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510. Where one or more input controllers 5092 receive electrical signals from or send electrical signals to other input/control devices 510, the other input/control devices 510 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 5092 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 512, which 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 5091 in the I/O subsystem 509 receives electrical signals from the touch screen 512 or transmits electrical signals to the touch screen 512. The touch screen 512 detects a contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 512, that is, implements a human-computer interaction, and the user interface object displayed on the touch screen 512 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 505 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, the RF circuitry 505 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 505 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. The RF circuitry 505 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 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electric signal, and transmit the electric signal to the speaker 511.
The speaker 511 is used for restoring the voice signal received by the handset from the wireless network through the RF circuit 505 to sound and playing the sound to the user.
And a power management chip 508 for supplying power to the CPU502, the I/O subsystem 509, and the hardware connected to the peripheral interfaces and performing power management.
The CPU502 provided in the embodiment of the present invention may perform the following operations:
when detecting that a target application in a multi-open application set calls a first application outside the multi-open application set, storing data generated when the target application calls the first application, wherein the multi-open application set comprises a main application and all split applications corresponding to the main application;
and sending the data or the address of the data to a second application associated with the target application in the multi-open application set so that the second application calls the data.
The terminal can execute the method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of the execution method.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that 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 greater 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 appended claims.

Claims (13)

1. A method for managing multiple applications is characterized by comprising the following steps:
detecting whether a target application in a multi-open application set calls a first application outside the multi-open application set or not;
when the target application is detected to call the first application, saving data generated when the target application calls the first application, wherein the multi-open application set comprises a main application and all split applications corresponding to the main application; the main application and the body-separated application corresponding to the main application are the same application program, and the main application and the body-separated application corresponding to the main application run simultaneously; the multi-open application set is realized based on a multi-user mechanism, the main application is installed under a main user, the self-body-separated application is installed under a slave user, and the main user comprises an access port for operating the self-body-separated application;
and sending the data or the address of the data to a second application associated with the target application in the multi-open application set so that the second application calls the data.
2. The method of claim 1, wherein sending the data or the address of the data to a second application associated with the target application in the multi-open application set to enable the second application to invoke the data comprises:
determining target data from the data according to a setting instruction input by a user;
and sending the target data or the address of the target data to a second application associated with the target application in the multi-open application set so that the second application calls the target data.
3. The method of claim 1, wherein sending the data to a second application of the multi-open application set associated with the target application to cause the second application to invoke the data comprises:
sending the data to a first set position in a second application associated with the target application in the multi-open application set;
when the operation that the second application calls the data is detected, the data is called from the first set position to view or use the data.
4. The method of claim 1, wherein sending the address of the data to a second application of the multi-open application set associated with the target application to enable the second application to invoke the data comprises:
sending the address of the data to a second set position in a second application associated with the target application;
when the operation that the second application calls the data is detected, calling the address of the data from the second set position, and searching the data through the address to view or use the data.
5. The method of claim 1,
when the target application is a main application, a second application associated with the target application comprises an individualization application running simultaneously with the main application;
when the target application is a split application, the second application associated with the target application comprises a split application or a main application which runs simultaneously with the split application.
6. The method of claim 1,
before the step of saving the data generated when the target application calls the first application is detected, the method further comprises the following steps:
and establishing an incidence relation between the target application and the second application according to a selection instruction of a user.
7. An apparatus for managing a plurality of applications, comprising:
the detection module is used for detecting whether a target application in the multi-open application set calls a first application outside the multi-open application set or not;
the saving module is used for saving data generated when the target application calls the first application is detected, wherein the multi-open application set comprises a main application and all the split applications corresponding to the main application; the main application and the body-separated application corresponding to the main application are the same application program, and the main application and the body-separated application corresponding to the main application run simultaneously; the multi-open application set is realized based on a multi-user mechanism, the main application is installed under a main user, the self-body-separated application is installed under a slave user, and the main user comprises an access port for operating the self-body-separated application;
a sending module, configured to send the data or the address of the data to a second application associated with the target application in the multiple-open application set, so that the second application invokes the data.
8. The apparatus of claim 7, wherein the sending module is specifically configured to:
determining target data from the data according to a setting instruction input by a user;
and sending the target data or the address of the target data to a second application associated with the target application in the multi-open application set so that the second application calls the target data.
9. The apparatus of claim 7, wherein the sending module is specifically configured to:
sending the data to a first set position in a second application associated with the target application in the multi-open application set;
when the operation that the second application calls the data is detected, the data is called from the first set position to view or use the data.
10. The apparatus of claim 7, wherein the sending module is specifically configured to:
sending the address of the data to a second set position in a second application associated with the target application;
when the operation that the second application calls the data is detected, calling the address of the data from the second set position, and searching the data through the address to view or use the data.
11. The apparatus of claim 7,
when the target application is a main application, a second application associated with the target application comprises an individualization application running simultaneously with the main application;
when the target application is a split application, the second application associated with the target application comprises a split application or a main application which runs simultaneously with the split application.
12. The apparatus of claim 7, further comprising:
and the association establishing module is used for establishing the association relationship between the target application and the second application according to a selection instruction of a user before the data generated when the target application calls the first application is stored when the target application calls the first application is detected.
13. A terminal, characterized in that it integrates the device of any of claims 7-12.
CN201610885767.6A 2016-10-10 2016-10-10 Multi-open application management method and device and terminal Active CN106484547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610885767.6A CN106484547B (en) 2016-10-10 2016-10-10 Multi-open application management method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610885767.6A CN106484547B (en) 2016-10-10 2016-10-10 Multi-open application management method and device and terminal

Publications (2)

Publication Number Publication Date
CN106484547A CN106484547A (en) 2017-03-08
CN106484547B true CN106484547B (en) 2019-12-31

Family

ID=58269559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610885767.6A Active CN106484547B (en) 2016-10-10 2016-10-10 Multi-open application management method and device and terminal

Country Status (1)

Country Link
CN (1) CN106484547B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970978A (en) * 2017-03-28 2017-07-21 联想(北京)有限公司 Data sharing method and device
CN107370772B (en) * 2017-09-20 2019-12-10 青岛海信移动通信技术股份有限公司 account login method and device and computer readable storage medium
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
CN108469977B (en) * 2018-03-26 2021-05-25 张�林 Interface data management method
CN108563516A (en) * 2018-03-29 2018-09-21 广东欧珀移动通信有限公司 Using data anti-lost method and device, storage medium, electronic equipment
CN110309006B (en) * 2019-06-28 2021-06-04 百度在线网络技术(北京)有限公司 Function calling method and device, terminal equipment and storage medium
CN110830468B (en) * 2019-11-05 2021-04-13 腾讯科技(深圳)有限公司 Cross-application-based authority management method and device and computer readable storage medium
CN114422837B (en) * 2022-01-25 2023-08-18 成都鼎桥通信技术有限公司 Method, device, equipment and medium for sharing media data by multiple applications

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329657A (en) * 2007-06-19 2008-12-24 瑞达信息安全产业股份有限公司 System and method for safe sharing dynamic memory of multi-application space
CN103246504A (en) * 2012-02-10 2013-08-14 联想(北京)有限公司 Hydrid architecture system and application program switching method thereof
CN103259917A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Method and electronic device for data transmission
CN104885055A (en) * 2014-03-19 2015-09-02 华为终端有限公司 Method and device for application data synchronization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2012108015A1 (en) * 2011-02-09 2014-07-03 富士通株式会社 Data synchronization method, data synchronization program, and data synchronization control device
CN103516904A (en) * 2013-09-22 2014-01-15 东莞宇龙通信科技有限公司 Method for sharing data in terminal and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329657A (en) * 2007-06-19 2008-12-24 瑞达信息安全产业股份有限公司 System and method for safe sharing dynamic memory of multi-application space
CN103246504A (en) * 2012-02-10 2013-08-14 联想(北京)有限公司 Hydrid architecture system and application program switching method thereof
CN103259917A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Method and electronic device for data transmission
CN104885055A (en) * 2014-03-19 2015-09-02 华为终端有限公司 Method and device for application data synchronization

Also Published As

Publication number Publication date
CN106484547A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106484547B (en) Multi-open application management method and device and terminal
CN106357921B (en) A kind of data sharing method of application, device and mobile terminal
CN107026933B (en) Multi-open application message management method and device and intelligent terminal
CN106445612B (en) Method and device for opening application and mobile terminal
CN106445647B (en) Open the data manipulation method, device and mobile terminal of application more
CN105580392B (en) Seamless call handover
CN106484478B (en) A kind of method, device and mobile terminal creating application of attending to anything else
CN107844342B (en) Control method and device for keeping application program alive, storage medium and mobile terminal
CN108710515B (en) Application preloading method and device, storage medium and terminal
CN106648737B (en) A kind of control method of application, device and mobile terminal
CN106484538B (en) Memory control method and device of terminal equipment and terminal equipment
CN106648736B (en) A kind of control method of application, device and mobile terminal
CN106502732B (en) Application closing method and device and intelligent terminal
CN112559069B (en) Running control method and device of sub-application, storage medium and electronic equipment
CN106445671B (en) A kind of management method of application program, device and terminal
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
CN106445706B (en) Open the data transmission method, device and mobile terminal of application more
CN106648738B (en) Method, device and terminal for managing personal applications
CN106648459B (en) A kind of data managing method of application, device and mobile terminal
CN106484480A (en) A kind of determination method of application of attending to anything else, device and terminal
CN106383672B (en) A kind of data-erasure method, device and mobile terminal for opening application more
US11048568B2 (en) Broadcast sending control method and apparatus, storage medium, and electronic device
CN106648908A (en) Control method, device of application progress and mobile terminal
CN106648298B (en) Application control method and device and mobile terminal

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

GR01 Patent grant
GR01 Patent grant