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
applications
application
shared
user
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

A kind of data sharing method of application, device and mobile terminal
Technical field
The present embodiments relate to field of terminal technology more particularly to a kind of data sharing methods of application, device and shifting Dynamic terminal.
Background technique
With the development of terminal technology, the type and form of the application on mobile terminal are more next more, and many applications have become Indispensable a part in people's life, work and amusement, brings preferable experience for user.User is to the various of application Demand is also more and more, for example, start multiple identical applications on the same mobile terminal, it is specific for example, mobile whole Start two wechat applications on end, to log in two wechat accounts.
Currently, when main application data change, correspondence is just gone more when installing multiple same applications in the terminal Newly attend to anything else using upper corresponding data, causes the heavy workload of mobile terminal and the big problem of committed memory.
Summary of the invention
The embodiment of the present invention provides the data sharing method, device and mobile terminal of a kind of application, to optimize existing answer Data sharing technology reduces the EMS memory occupation of the shared data of application.
In a first aspect, the embodiment of the invention provides a kind of data sharing methods of application, comprising:
It obtains and opens set of applications more, wherein the set of applications of opening include answering main application and the attending to anything else for main application more With;
It, will 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 storage corresponding with the shared instruction is into setting Shared Folders;
Detect that other target applications triggering shared data more opened in set of applications obtains event under the primary user When, the shared data is shared into other described target applications;
Wherein, the main application is mounted under the primary user, and the application of attending to anything else is mounted under user.
In second aspect, the embodiment of the invention provides a kind of data sharing devices of application, comprising:
It opens set of applications more and obtains module, open set of applications for obtaining more, wherein the set of applications of opening include master more Using the application of attending to anything else with the main application;
Shared data memory module, for detecting that open the target in set of applications answers more under the primary user of present terminal When data sharing instructs, shared data corresponding with the shared instruction is stored into setting Shared Folders;
Shared data sharing module, for detecting other target applications more opened in set of applications under the primary user When triggering shared data acquisition event, the shared data is shared into other described target applications;
Wherein, the main application is mounted under the primary user, and the application of attending to anything else is mounted under user.
In the third aspect, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal is integrated with such as second party Device provided by face.
The embodiment of the present invention is shared literary to setting by the shared data storage for the target application that will more open in set of applications Under part folder, when terminal detects that the shared data for more opening other target applications in set of applications obtains event quilt under primary user When triggering, the shared data is shared into other described target applications, makes the shared data of winner's application and application of attending to anything else It is more convenient to manage, and avoids in the prior art when main application data change, corresponding that update is just gone to attend to anything else using upper Corresponding data causes the heavy workload of mobile terminal and the big problem of committed memory, and the data for optimizing existing application are total Technology is enjoyed, the EMS memory occupation of the shared data of application is reduced.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the data sharing method of application provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the data sharing method of another application provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the data sharing method of another application provided in an embodiment of the present invention;
Fig. 4-1 is the schematic diagram of the human-computer interaction interface of address list application provided in an embodiment of the present invention;
Fig. 4-2 is the schematic diagram of the human-computer interaction interface in wechat application provided in an embodiment of the present invention;
Fig. 5 is the flow chart of the data sharing method of another application provided in an embodiment of the present invention;
The schematic diagram of the human-computer interaction interface of Fig. 6 wechat application provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of the data sharing device of application provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of mobile terminal provided by the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing to of the invention specific real Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.It also should be noted that illustrating only for ease of description, in attached drawing related to the present invention Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail It applies example and is described as the processing or method described as flow chart.Although operations (or step) are described as sequence by flow chart Processing, but many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations It can be rearranged.The processing can be terminated when its operations are completed, be not included in attached drawing it is also possible to have Additional step.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Fig. 1 gives a kind of flow chart of the data sharing method of application provided in an embodiment of the present invention, the present embodiment Method can be executed by the data sharing device applied, which can be realized by way of hardware and/or software, the dress A part setting that can be used as mobile terminal is set inside the mobile terminal.
As shown in Figure 1, the data sharing method of application provided in this embodiment specifically includes the following steps:
Step 101 obtains and opens set of applications more.
Wherein, open the application of attending to anything else that set of applications includes main application and the main application more.
Optionally, it when user is that a certain application foundation in terminal is attended to anything else in application, original application is referred to as main application, builds Vertical attends to anything else using the application of attending to anything else for being referred to as main application.Multiple applications of attending to anything else, the same master can be generated according to a main application The difference of application is attended to anything else using compatriot's application each other.Terminal described in the present embodiment includes but is not limited to mobile phone, wrist-watch, puts down The equipment such as plate computer and smart television.
Open set of applications includes main application and the application of attending to anything else of at least one main application more.Illustratively, master is being established Attend to anything else using first of A using after A1, main application A and attends to anything else to constitute using A1 and open set of applications more.When according to main application A or Person, which attends to anything else, to establish second of main application using A1 and attends to anything else using after A2, and main application A, attending to anything else is constituted using A1 and attending to anything else using A2 Set of applications is opened, wherein attending to anything else using A1 and attending to anything else using A2 compatriot's application each other more.
More open set of applications acquisition modes can there are many kinds of, the present embodiment is not specifically limited.For example, can pacify respectively The application for filling different editions, using a kind of version as main application, using other versions as application of attending to anything else, wherein can be compiled by counter Installation kit (APK) file of modification application is translated, then modified APK file is installed to realize that the same money of installation different editions is answered With;For another example, assistant's software can be opened by the third party of application simulation user's space and Dynamic loading technique to realize more;For another example, It can be realized by modification system mechanism.
Preferably, in the present embodiment to open set of applications based on multi-user's mechanism to realize, wherein multi-user's mechanism is specific more It may include multi-user's mechanism that the operating system in mobile terminal is supported, such as multi-user's mechanism of Android (Android) system And multi-user's mechanism etc. of mobile phone window (Windows Phone, WP) operating system.
Wherein, set of applications is opened to realize based on multi-user's mechanism more, including it is main application and it is corresponding with main application own Attend to anything else application.
Specifically, opening set of applications based on multi-user's mechanism to realize may include following content: main application is installed on master more Under user, attend to anything else using being installed under user, comprising for the access port applied and operated of attending to anything else in primary user.
In one embodiment, multi-user's realization mechanism of the application includes following logic:
1. multi-user management
A) system default has a primary user, and primary user can create other multiple new users (from user), and can be with It deletes and manages them;
B) ordinary user (non-master user) and Guest User, can be collectively referred to as from user;
C) default primary user id (identity, Identification) be 0, other id that Add User since 10, by A increase;
When d) switching user, a series of changing interfaces such as desktop can be reloaded;
E) whether primary user can limit other users being capable of the permissions such as making and receiving calls and transmitting-receiving short message.
For multi-user management, can be managed by primary user to from user, including from user creation, delete and Priority assignation etc., ID are arranged since primary user, newly-increased from when switching between User ID laminated structure, each user, reloading pair A series of interfaces such as the desktop using family.
2. multi-user pacifies loading, unloading application
A) application of default installation will be installed the user of oneself all creations, all visible application on other user's desktops Icon;
B) application installed in primary user by file management will not be installed to other users, on other user's desktops Invisible application icon;
C) system may specify userid (User Identity) when pacifying loading, unloading application, and specified application is installed to some Designated user, or the application is unloaded in some designated user.All users can also all be installed with application, or unloading application.
D) it has unloaded in user A using B, for other users, using B or existing, all visible application on desktop Icon can be used normally on other users using B.
Loading, unloading application is pacified for multi-user, the application of default installation will be installed all user (including masters created User and from user), and generate application icon on each user's desktop;And it is answered under primary user by what file management was installed With, be mounted only under primary user, primary user's desktop generate application icon, be not installed under user;Installation/unloading of application User can also be specified based on user, user is specified by designated user's identity in primary user and from user The installation of application/be discharged under some user, certain user or all users carries out;Same application is discharged under each user solely It is vertical to carry out, the application under a certain user is unloaded, does not influence the use of the application under other users.
3. user data management
A) user's id catalogue relevant to system data: housing the corresponding various system data storages of user, such as: table Face widget (component) list, is arranged database, and default application starts strategy etc..
B) user's id catalogue relevant to application packet data: house the corresponding installation of user applies packet catalogue, if answered Data are produced with operation, then also deposit in this catalogue using data.
C) system SD card (Secure Digital Memory Card, safe digital card) catalogue: each user sees certainly Oneself sdcard catalogue be all it is different, can only see the sdcard catalogue of oneself.
For user data management, under multi-user's realization mechanism, system data and application-dependent data point under each user It does not deposit under different data storage paths, e.g., various system datas deposit in specified the first data storage under certain user Under path, and install specified using being deposited in using data these application-dependent datas of generating of packet catalogue and application operating Second data are stored under path;Data storage is mutually indepedent under each user, and each user can only check the storing data of itself, such as certainly The sdcard catalogue of body.
4. user authority management
A) application after installation, using application various permissions (such as: read storage catalogue permission, read-write short message power Limit opens camera permission etc.), two parts can be divided into, a part of insensitive permission, in application installation, system directly allows Using acquisition permission;A part than more sensitive dangerous permission, such as read-write short message permission, can using when, system mentions Show whether user allows using acquisition permission.
B) for system in different users, the permission to the same application is base independent and isolated, that an application obtains This insensitive permission directly obtains in each user after mounting, and part is than more sensitive dangerous permission It is independent.Such as: when user 0 opens wechat, if obtaining read-write short message permission, when being switched to user 10, beat for the first time When opening wechat, system still can prompt the user whether to allow, and will not obtain permission without reminding in user 0 because of wechat.Together Reason, it is same in other users.
For user authority management, when under a certain user using installation, insensitive permission can directly obtain permission, sensitivity power Limit need to permit to obtain through user;It is independent and isolated mutually to the authority configuration of same application under different users, in user When switching, for the sensitive permission of the application used for the first time, it is both needed to whether prompt user assigns power.
For application of attending to anything else, the existence form of the access port in primary user can be diversified, this reality It applies example to be not specifically limited, for example, it may be the desktop icons comprising application identities, which answers will currently attend to anything else It is come with main application and other application divisions of attending to anything else;It can also be the application identities being additional on main application icon;May be used also By be in the form of floating window existing for include application identities icon;It can also be the project for being present in the positions such as notice center.
The operation to main application can be achieved in mobile terminal user in primary user, while can also pass through access in primary user Mouth is operated to attending to anything else to apply accordingly.It is understood that the same main application can correspond to multiple applications of attending to anything else, Mei Gefen Body application be installed in one it is different from user, make respectively to attend to anything else using being separately operable in different from user, transport It is not interfere with each other during row.
It realizes that opening application is advantageous in that more based on multi-user's mechanism, is opened for assistant's software compared to third party more, It avoids third party software advertisement and steals the generation of the behaviors such as privacy of user data, safety is higher;Compared to application Main body and application, which are attended to anything else, to be run on for the scheme under same user, is reduced different application under same user and is attended to anything else or using master Process interference between body, and avoid the generation of afunction phenomenon brought by complicated running environment.
Illustratively, main application can be distinguished in the present embodiment by user identifier userid and application identities uid and is divided Body application.
Step 102 detects the data for opening the target application in set of applications more under the primary user of present terminal When shared instruction, shared data corresponding with the shared instruction is stored into setting Shared Folders.
Wherein, the main application is mounted under the primary user, and the application of attending to anything else is mounted under user.The target Using for main application or the applications of attending to anything else opened in set of applications more.
Illustratively, the application is wechat, will when detecting the expression packet collection instruction of wechat application under primary user The expression packet storage is into the Shared Folders of setting.Again illustrative, the application is address list, is detected under primary user When the contact person applied to address list saves instruction, by contact person storage into setting Shared Folders.Wherein, described total Enjoying file can store under primary user path or under user path, may also be stored in other specified paths in system Under.
Step 103 detects that other target applications triggering opened in set of applications shared more under the primary user When data acquisition event, the shared data is shared into other described target applications.
Wherein, other described target applications are the similar application in addition to the target application in step 102, for example, if institute Stating target application is the main application of wechat, then other described target applications are that wechat is attended to anything else application;If the target application is wechat Attend to anything else application, then the main application of wechat of other target applications or other wechats are attended to anything else application.
The data sharing method of application provided in this embodiment passes through the shared of target application that will more open in set of applications Under data storage to setting Shared Folders, when terminal detects other target applications more opened in set of applications under primary user Shared data obtain event when being triggered, the shared data is just shared into other described target applications, applies winner It is more convenient with the management of the shared data for application of attending to anything else, it avoids in the prior art when main application data change, it is right It should just go to update and attend to anything else using upper corresponding data, cause the heavy workload of mobile terminal and the big problem of committed memory, it is excellent The data sharing technology for having changed existing application reduces the EMS memory occupation of the shared data of application.
Based on the above technical solution, further comprising the steps of: the setting main application and the application of attending to anything else Data sharing permission and shared data obtain permission.Wherein, the data sharing permission is that shared data storage is total to setting The permission in file is enjoyed, it is that the power of shared data is obtained from the setting Shared Folders that the shared data, which obtains permission, Limit.
Based on the above technical solution, the step 103 can specifically include: detect under the primary user more When opening other target applications triggering shared data acquisition event in set of applications, if other described target applications have shared number According to permission is obtained, then the shared data is shared into other described target applications.
Based on the above technical solution, comprising attending to anything else to described using progress for receiving user in the primary user The access port of operation.Wherein, suspended window, the bullet frame, task manager, list of application, sharing under primary user can specifically be passed through The mode of link, notice center or newly-built application icon of attending to anything else generates the access port.
Fig. 2 gives the flow chart of the data sharing method of another application provided in an embodiment of the present invention.The present embodiment It is optimized based on above-described embodiment.In the present embodiment, the step of more opening set of applications to acquisition optimizes.
Correspondingly, as shown in Fig. 2, method provided in this embodiment the following steps are included:
Step 201 installs the main applications opened in set of applications more under the primary user of present terminal, while under user The installation applications of attending to anything else opened in set of applications more;Alternatively, installing the masters opened in set of applications under the primary user of present terminal more Using, and when detecting under the primary user creation instruction for opening the application of attending to anything else in set of applications more, from The application of attending to anything else of the main application is installed under family.
Wherein, the set of applications of opening includes the main application of attending to anything else applied with the main application more.
In one embodiment, the process opening set of applications more being realized based on multi-user's mechanism can be described as follows:
Assuming that the default user of mobile terminal be primary user, user under primary user by from application shop downloading or In installation kit (package, APK) file ABC.apk deposit mobile terminal from modes such as other sources copies by application ABC, After system installs ABC.apk under primary user, primary user's desktop can generate a main icon using ABC.Simultaneously current whole End is existing (if there is currently no from user, can to create one from user, which is can not in user from user Completed in the case where discovering, account and password be set without user) under installation ABC.apk obtain application of attending to anything else, in order to To main application and attend to anything else using being distinguish, can attend to anything else for what is newly installed using one mark (being assumed to be *) of addition, application of attending to anything else It can be designated as ABC*.After ABC* is installed successfully, it may specify the notice (the also addition mark * in the notice) of " installing successfully " Be sent to primary user, after the desktop reception to the notice under primary user, generate one with mark * icon, with main application The icon of ABC distinguishes, which, which can be used as, receives user to the access port applied and operated of attending to anything else, when this in primary user After icon is clicked, system starts specified ABC* under user, and associated process corresponding with ABC* is also transported under user Row.
It is again illustrative, detect that user pins main application icon under primary user, and dragged and what is generated attends to anything else When using creation instruction, application of attending to anything else is obtained installing ABC.apk under user, further, is created on the desktop of primary user Build the application icon of attending to anything else with mark * for being different from main application icon.
Wherein, when the creation instruction for detecting the application of attending to anything else under the primary user, described under user The application of attending to anything else for installing the main application can specifically include: detect that the creation of the application of attending to anything else refers under the primary user When enabling, determine present terminal whether there is do not install the application of attending to anything else from user;If it exists, then it is described do not install it is described The installation under user of application of attending to anything else is attended to anything else application;If it does not exist, then establish it is new from user, and described new under user Application of attending to anything else is installed.
Step 202 detects the data for opening the target application in set of applications more under the primary user of present terminal When shared instruction, shared data corresponding with the shared instruction is stored into setting Shared Folders.
Step 203 detects that other target applications triggering opened in set of applications shared more under the primary user When data acquisition event, the shared data is shared into other described target applications.
Method provided in this embodiment, by installing main application under the primary user of present terminal, while it is described from Attend to anything else application described in installation under family, alternatively, installing main application under the primary user of present terminal, and is examined under the primary user When measuring the creation instruction of the application of attending to anything else, in the application of attending to anything else for installing the main application under user, complete to lead Using and the installation for application of attending to anything else after, if the data sharing instruction of target application is detected, by shared data storage to setting Under Shared Folders, when terminal detected under primary user other target applications shared data obtain event be triggered when, The shared data is shared into other described target applications, makes the management of the shared data of winner's application and application of attending to anything else more It is convenient, it avoids in the prior art when main application data change, it is corresponding that update is just gone to attend to anything else using upper corresponding data, The heavy workload of mobile terminal and the problem that committed memory is big are caused, the data sharing technology of existing application is optimized, subtracts The EMS memory occupation of the shared data of small application.
Fig. 3 gives the flow chart of the data sharing method of another application provided in an embodiment of the present invention.The present embodiment It is optimized based on above-described embodiment, " will detect open in set of applications under the primary user in the present embodiment more Other target applications triggering shared data when obtaining event, the shared data is shared into other described target applications " it is excellent It turns to: it is total to detect that user acts on the setting data more opened in other target applications in set of applications under the primary user When enjoying the operational order of icon, the shared data is shared into other described target applications.
Correspondingly, as shown in figure 3, method provided in this embodiment the following steps are included:
Step 301 obtains and opens set of applications more.
Wherein, open set of applications includes main application and all applications of attending to anything else corresponding with the main application more.
Step 302 detects the data for opening the target application in set of applications more under the primary user of present terminal When shared instruction, shared data corresponding with the shared instruction is stored into setting Shared Folders.Wherein, the master answers With being mounted under the primary user, the application of attending to anything else is mounted under user.
Step 303 detects that user acts on described other targets opened in set of applications more and answers under the primary user When the operational order of the setting data sharing icon in, the shared data is shared into other described target applications.
Fig. 4-1 gives the schematic diagram of the human-computer interaction interface of address list application provided in an embodiment of the present invention, such as Fig. 4-1 It is shown, when detecting that user clicks the operational order of the contact icon A in address list application under primary user, set being stored in Determine the information of the shared contact person in Shared Folders to show in the current display interface in address list application automatically, such as Shown in Fig. 4-1, show that shared connection crowd of people know the information of B in current display interface.Wherein, the address list application can be The main application of address list or address list are attended to anything else application.The display mode of the shared data can be using the side for being different from other data Formula is shown, such as is changed the display font of the shared contact person, shown size or beside the shared contact person In addition the modes such as mark such as " * ".
Fig. 4-2 gives the schematic diagram of the human-computer interaction interface in wechat application provided in an embodiment of the present invention, such as Fig. 4-2 It is shown, when detecting the operational order of user clicks table feelings icon C under primary user, it will be stored in setting Shared Folders Shared expression D is shown in current expression display interface automatically.Wherein, the wechat application can for wechat it is main application or Wechat is attended to anything else application.
Method provided in this embodiment is stored by the shared data for the target application that will more open in set of applications to setting Under Shared Folders, when terminal detects that user acts in other target applications more opened in set of applications under primary user When setting the operational order of data sharing icon, the shared data is shared into other described target applications, applies winner It is more convenient with the management of the shared data for application of attending to anything else, it avoids in the prior art when main application data change, it is right It should just go to update and attend to anything else using upper corresponding data, cause the heavy workload of mobile terminal and the big problem of committed memory, it is excellent The data sharing technology for having changed existing application reduces the EMS memory occupation of the shared data of application.
Fig. 5 gives the flow chart of the data sharing method of another application provided in an embodiment of the present invention.The present embodiment It is optimized based on above-described embodiment, " will detect open in set of applications under the primary user in the present embodiment more Other target applications triggering shared data when obtaining event, the shared data is shared into other described target applications " it is excellent It turns to: detecting that user acts on the shared text of the setting more opened in other target applications in set of applications under the primary user When part presss from both sides the operational order of shortcut icon, the shared data is shared into other described target applications.
Correspondingly, as shown in figure 5, method provided in this embodiment the following steps are included:
Step 401 obtains and opens set of applications more.
Wherein, open set of applications includes main application and all applications of attending to anything else corresponding with the main application more.
Step 402 detects the data for opening the target application in set of applications more under the primary user of present terminal When shared instruction, shared data corresponding with the shared instruction is stored into setting Shared Folders.
Step 402 detects that user acts on described other targets opened in set of applications more and answers under the primary user When the operational order of the setting Shared Folders shortcut icon in, the shared data is shared into other described targets Using.
Illustratively, Fig. 6 gives the schematic diagram of the human-computer interaction interface of wechat application provided in an embodiment of the present invention, such as Shown in Fig. 6, detect that user clicks the operation of the Shared Folders shortcut icon E in wechat application expression under primary user When instruction, the shared expression under Shared Folders is shown in new expression display window, or directly described in replacement Shortcut icon is shown in current expression display interface.Wherein, the wechat application can for wechat it is main application or Wechat is attended to anything else application.
Method provided in this embodiment is stored by the shared data for the target application that will more open in set of applications to setting Under Shared Folders, when terminal detects that user acts on other target applications more opened in set of applications under the primary user In setting Shared Folders shortcut icon operational order when, the shared data is shared into other described targets and is answered With making that winner applies and the management of the shared data for application of attending to anything else is more convenient, avoid in the prior art when main using data It is corresponding that update is just gone to attend to anything else using upper corresponding data when changing, it causes in the heavy workload of mobile terminal, and occupancy Big problem is deposited, the data sharing technology of existing application is optimized, reduces the EMS memory occupation of the shared data of application.
Fig. 7 is a kind of structural block diagram of the data sharing device of application provided in an embodiment of the present invention, which can be by soft Part and/or hardware realization, are typically integrated in mobile terminal.As shown in fig. 7, the device includes opening set of applications to obtain module more 51, shared data memory module 52 and shared data sharing module 53.
It opens set of applications more and obtains module 51, open set of applications for obtaining more, wherein open set of applications described includes more The application of attending to anything else of main application and the main application;
Shared data memory module 52, for detecting described open in set of applications under the primary user of present terminal more When the data sharing instruction of target application, shared data corresponding with the shared instruction is stored to setting Shared Folders In, the set of applications of opening include the main application of attending to anything else applied with the main application more;
Shared data sharing module 53, for detecting described other mesh opened in set of applications under the primary user more When marking applications trigger shared data acquisition event, the shared data is shared into other described target applications;
Wherein, the main application is mounted under the primary user, and the application of attending to anything else is mounted under user.
Technical solution provided in this embodiment, by arriving the shared data storage for the target application more opened in set of applications It sets under Shared Folders, when terminal detects the shared datas for opening other target applications in set of applications more under primary user When acquisition event is triggered, the shared data is shared into other described target applications, makes winner's application and application of attending to anything else The management of shared data is more convenient, avoids in the prior art when main application data change, corresponding just to go update point Body applies upper corresponding data, causes the heavy workload of mobile terminal and the big problem of committed memory, optimizes existing answer Data sharing technology reduces the EMS memory occupation of the shared data of application.
Based on the above technical solution, described device further include:
Priority assignation module, for the data sharing permission and shared data of the main application and the application of attending to anything else to be arranged Obtain permission.
Based on the above technical solution, the shared data sharing module is specifically used for:
Detect that other target applications triggering shared data opened in set of applications obtains more under the primary user When event, if there is other described target applications shared data to obtain permission, by the shared data share to it is described other Target application.
Based on the above technical solution, the shared data sharing module is specifically used for:
Detect that user acts on setting in described other target applications opened in set of applications more under the primary user When determining the operational order of data sharing icon, the shared data is shared into other described target applications;Alternatively,
Detect that user acts on setting in described other target applications opened in set of applications more under the primary user When determining the operational order of Shared Folders shortcut icon, the shared data is shared into other described target applications.
Based on the above technical solution, the set of applications acquisition module of opening is specifically used for more:
The main applications opened in set of applications are installed more under the primary user, at the same it is described installed under user it is described more Open the application of attending to anything else in set of applications;Alternatively,
The main applications opened in set of applications are installed more under the primary user, and are detected under the primary user described When opening the creation instruction of the application of attending to anything else in set of applications, in the application of attending to anything else described in installation under user more.
Based on the above technical solution, comprising attending to anything else to described using progress for receiving user in the primary user The access port of operation.
The application that any embodiment of that present invention provides can be performed in the data sharing device of application provided in an embodiment of the present invention Data sharing method, have the corresponding functional module of execution method and beneficial effect.
A kind of mobile terminal is present embodiments provided, which may include application provided in an embodiment of the present invention Data sharing device.Fig. 8 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention, as shown in figure 8, the movement Terminal may include: memory 601, central processing unit (Central Processing Unit, hereinafter referred to as CPU) 602, outer If interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/control devicess 610 and outside port 604, this A little components are communicated by one or more communication bus or signal wire 607.
It should be understood that illustrating the example that mobile terminal 600 is only mobile terminal, and mobile terminal 600 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the mobile terminal of the data sharing provided in this embodiment for application is described in detail below, the movement Terminal takes the mobile phone as an example.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU502 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystem 609, the I/O subsystem 609 can be by the input/output peripherals in equipment, such as touch screen 612 With other input/control devicess 610, it is connected to Peripheral Interface 603.I/O subsystem 609 may include 6091 He of display controller For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 6092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 612, the touch screen 612 are the input interface and output interface between user terminal and user, can It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 6091 in I/O subsystem 609 receives electric signal from touch screen 612 or sends out to touch screen 612 Electric signals.Touch screen 612 detects the contact on touch screen, and the contact that display controller 6091 will test is converted to and is shown The interaction of user interface object on touch screen 612, i.e. realization human-computer interaction, the user interface being shown on touch screen 612 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 605 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 605 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 605 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 605 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606 is mainly used for receiving audio data from Peripheral Interface 603, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611 is reduced to sound for mobile phone to be passed through RF circuit 605 from the received voice signal of wireless network And the sound is played to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface 603 are supplied Electricity and power management.
The executable following operation of CPU602 provided in an embodiment of the present invention:
It obtains and opens set of applications more, wherein the set of applications of opening include answering main application and the attending to anything else for main application more With;
The data sharing instruction for opening the target application in set of applications is detected under the primary user of present terminal more When, shared data corresponding with the shared instruction is stored into setting Shared Folders;
Detect that other target applications triggering shared data opened in set of applications obtains more under the primary user When event, the shared data is shared into other described target applications;
Wherein, the main application is mounted under the primary user, and the application of attending to anything else is mounted under user.
Method provided by the embodiment of the present invention can be performed in above-mentioned mobile terminal, has the corresponding functional module of execution method And beneficial effect.The not technical detail of detailed description in the above-described embodiments, reference can be made to application provided by the embodiment of the present invention Data sharing method.
The technical principle that above are only presently preferred embodiments of the present invention and used.The present invention is not limited to spies described here Determine embodiment, various significant changes, readjustment and the substitution being able to carry out for a person skilled in the art are not departing from Protection scope of the present invention.Therefore, although the present invention has been described in more detail through the above examples, this hair It is bright to be not limited only to above embodiments, it can also include other more equivalence enforcements without departing from the inventive concept Example, and the scope of the present invention is determined by the scope of the claims.

Claims (13)

1. a kind of data sharing method of application characterized by comprising
It obtains and opens set of applications more, wherein the set of applications of opening include the main application of attending to anything else applied with the main application more;
It, will when detecting the data sharing instruction for opening the target application in set of applications under the primary user of present terminal more Shared data storage corresponding with the shared instruction is into setting Shared Folders;
Detect that other target applications triggering shared data opened in set of applications obtains event more under the primary user When, the shared data is shared into other described target applications;
Wherein, the main application is mounted under the primary user, and the application of attending to anything else is mounted under user;
Wherein, other described target applications are the similar application opened in set of applications in addition to the target application more.
2. the method according to claim 1, wherein further include:
The data sharing permission and shared data that the main application and the application of attending to anything else is arranged obtain permission.
3. according to the method described in claim 2, it is characterized in that, described detect under the primary user described opens application more When other target applications triggering shared data in set obtains event, the shared data is shared into other described targets and is answered With including:
Detect that other target applications triggering shared data opened in set of applications obtains event more under the primary user When, if there is other described target applications shared data to obtain permission, the shared data is shared into other described targets Using.
4. the method according to claim 1, wherein described detect under the primary user described opens application more When other target applications triggering shared data in set obtains event, the shared data is shared into other described targets and is answered With including:
The setting number that user acts in described other target applications opened in set of applications more is detected under the primary user According to shared icon operational order when, the shared data is shared into other described target applications;Alternatively,
The setting for detecting that user acts in described other target applications opened in set of applications more under the primary user is total When enjoying the operational order of file shortcut icon, the shared data is shared into other described target applications.
5. the method according to claim 1, wherein the acquisition more opens set of applications and includes:
The main applications opened in set of applications are installed more under the primary user, while open being installed more under user answers described With the application of attending to anything else in set;Alternatively,
The main applications opened in set of applications are installed more under the primary user, and detect under the primary user described open more When the creation instruction of the application of attending to anything else in set of applications, in the application of attending to anything else described in installation under user.
6. method according to claim 1-5, which is characterized in that comprising for receiving user in the primary user Attend to anything else to described using the access port operated.
7. a kind of data sharing device of application characterized by comprising
It opens set of applications more and obtains module, open set of applications for obtaining, wherein opening set of applications described includes main application more more With the application of attending to anything else of the main application;
Shared data memory module described more opened the target in set of applications and is answered for detecting under the primary user of present terminal When data sharing instructs, shared data corresponding with the shared instruction is stored into setting Shared Folders;
Shared data sharing module, for detecting described other target applications opened in set of applications under the primary user more When triggering shared data acquisition event, the shared data is shared into other described target applications;
Wherein, the main application is mounted under the primary user, and the application of attending to anything else is mounted under user;
Wherein, other described target applications are the similar application opened in set of applications in addition to the target application more.
8. device according to claim 7, which is characterized in that further include:
Priority assignation module, data sharing permission and shared data for the main application and the application of attending to anything else to be arranged obtain Permission.
9. device according to claim 8, which is characterized in that the shared data sharing module is specifically used for:
Detect that other target applications triggering shared data opened in set of applications obtains event more under the primary user When, if there is other described target applications shared data to obtain permission, the shared data is shared into other described targets Using.
10. device according to claim 7, which is characterized in that the shared data sharing module is specifically used for:
The setting number that user acts in described other target applications opened in set of applications more is detected under the primary user According to shared icon operational order when, the shared data is shared into other described target applications;Alternatively,
The setting for detecting that user acts in described other target applications opened in set of applications more under the primary user is total When enjoying the operational order of file shortcut icon, the shared data is shared into other described target applications.
11. device according to claim 7, which is characterized in that the set of applications acquisition modules of opening are specifically used for more:
The main applications opened in set of applications are installed more under the primary user, while open being installed more under user answers described With the application of attending to anything else in set;Alternatively,
The main applications opened in set of applications are installed more under the primary user, and detect under the primary user described open more When the creation instruction of the application of attending to anything else in set of applications, in the application of attending to anything else described in installation under user.
12. according to the described in any item devices of claim 7-11, which is characterized in that comprising for receiving use in the primary user Attend to anything else to described using the access port operated at family.
13. a kind of mobile terminal, which is characterized in that the mobile terminal is integrated with such as the described in any item dresses of claim 7-12 It sets.
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
CN113875193A (en) * 2019-05-31 2021-12-31 苹果公司 Multi-user device in an interconnected 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
CN106484478B (en) A kind of method, device and mobile terminal creating application of attending to anything else
CN106445647B (en) Open the data manipulation method, device and mobile terminal of application more
CN106484479B (en) A kind of management method, device and intelligent terminal for opening application more
CN106657589A (en) Message alert method and message alert device for multi-open applications, and mobile terminal
CN106648736B (en) A kind of control method of application, device and mobile terminal
CN106484547A (en) A kind of management method, device and terminal for opening application more
CN106445671B (en) A kind of management method of application program, device and terminal
CN106648737B (en) A kind of control method of application, device and mobile terminal
CN106373017B (en) A kind of application message processing method, device and mobile terminal
CN107026933A (en) A kind of information management method, device and intelligent terminal for opening application more
CN106485136A (en) The authority configuring method of application program, device and mobile terminal
CN106445706B (en) Open the data transmission method, device and mobile terminal of application more
CN106650324A (en) Application program authority management method and device and mobile terminal
CN106487789A (en) A kind of method of the password of modification application account, device and mobile terminal
CN106648459B (en) A kind of data managing method of application, device and mobile terminal
CN106488020B (en) A kind of operation management method, device and intelligent terminal for opening application more
CN106484419A (en) Information searching method, device and mobile terminal in a kind of application program
CN106484514A (en) A kind of operation management method, device and intelligent terminal for opening application more
CN106383672B (en) A kind of data-erasure method, device and mobile terminal for opening application more
CN106445670B (en) A kind of data managing method, device and mobile terminal for opening application more
CN106648962B (en) A kind of management method, device and intelligent terminal for opening application more
CN106648908A (en) Control method, device of application progress and mobile terminal
CN106648738A (en) Copy application management method and device, and terminal
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