CN109117208A - Information sharing method, device, user terminal and readable storage medium storing program for executing - Google Patents
Information sharing method, device, user terminal and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109117208A CN109117208A CN201810806268.2A CN201810806268A CN109117208A CN 109117208 A CN109117208 A CN 109117208A CN 201810806268 A CN201810806268 A CN 201810806268A CN 109117208 A CN109117208 A CN 109117208A
- Authority
- CN
- China
- Prior art keywords
- sharing
- application program
- anything
- entrance
- application
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
- G06F9/4484—Executing subprograms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The invention discloses a kind of information sharing method, device, user terminal and readable storage medium storing program for executing, this method comprises: obtaining to the corresponding sharing request of sharing information, which includes sharing rule;It is regular based on sharing, show that first shares interface, the first sharing interface includes that the first sharing entrance and second share entrance, wherein, first sharing entrance is the sharing entrance for meeting the native applications program for sharing rule, the second sharing entrance be installed on it is in sandbox, meet and share the first of the rule sharing entrance for attending to anything else application program;When detect user to second share entrance the first trigger action when, jump to triggered the second sharing entrance corresponding first and attend to anything else the corresponding sharing page of application program, and this will be shared with to sharing information and first attended to anything else application program.The technical solution provided through the invention can rapidly share information to each account, be conducive to simplify user's operation, improve information and share efficiency.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of information sharing method, device, user terminals and readable
Storage medium.
Background technique
In order to facilitate work and life, for certain social applications, many users can apply for multiple accounts.Such case
Under, if user wants the information such as text, picture or video being sent to the friend in these accounts, need first in the social activity
Using an account is logged in, into the dialog interface with friend, selection or editor's information are sent, then exit the account, in the society
It hands over application to log in next account, executes same operation, and so on, until the information completed under all accounts is sent.This
The operating process of sample is comparatively laborious, time-consuming and laborious.
Summary of the invention
In view of the above problems, the invention proposes a kind of information sharing method, device, user terminal and readable storage mediums
Matter is conducive to improve information sharing efficiency.
In a first aspect, the embodiment of the invention provides a kind of information sharing methods, which comprises obtain letter to be shared
Corresponding sharing request is ceased, the sharing request includes sharing rule;Based on the sharing rule, show that first shares interface,
Described first, which shares interface, shares entrance and the second sharing entrance including first, wherein described first shares entrance to meet
The sharing entrance for sharing the native applications program of rule is stated, the second sharing entrance is to meet first point for sharing rule
The sharing entrance of body application program, the described first application program of attending to anything else are installed in sandbox;When detecting user to described second
When sharing the first trigger action of entrance, jumps to triggered the second sharing entrance corresponding first and attend to anything else the phase of application program
It should share the page, and be shared with this by described to sharing information and first attend to anything else application program.
Optionally, described based on sharings rule, show the first sharing interface include: it is regular based on the sharing,
It is pre-configured in the first pre-registration library in the sandbox, searches filtering information with described and share the first of rule match
Application program, using the first application program found as first object application program, wherein first pre-registration library
Correspondence relationship information between identification information and corresponding filtering information including multiple first application programs;Judge the sand
Whether it is equipped with corresponding with the first object application program first in case to attend to anything else application program, if so, by first mesh
Mark application program corresponding first is attended to anything else in application program, and the application program of attending to anything else for being provided with sharing component in advance, which is used as, meets institute
It states and shares the first of rule and attend to anything else application program;It is determined for compliance with the native applications program for sharing rule;Displaying meets described
Share the first sharing entrance of the native applications program of rule and meet and described share the first of rule and attend to anything else application program
Second shares entrance.
Optionally, described first to share interface further include the second sharing interface entrance, the method also includes: when detecting
User to described second share interface entrance the second trigger action when, then based on sharings rule, show the second sharing circle
Face, second sharing interface include be installed on it is in the sandbox, meet and described share the second of rule and attend to anything else application program
Third share entrance;When detecting user and sharing the third trigger action of entrance to the third, jumps to and triggered
Third shares entrance corresponding second and attends to anything else the corresponding sharing page of application program, by it is described to sharing information be shared with this second
Attend to anything else application program.
Optionally, described based on sharings rule, show the second sharing interface include: it is regular based on the sharing,
It is pre-configured in the second pre-registration library in the sandbox, searches filtering information with described and share the second of rule match
Application program, using the second application program found as the second destination application, wherein second pre-registration library
Correspondence relationship information between identification information and corresponding filtering information including multiple second application programs;Judge the sand
Whether it is equipped with corresponding with second destination application second in case to attend to anything else application program, if so, by second mesh
Mark application program corresponding second is attended to anything else in application program, and the application program of attending to anything else for being provided with sharing component in advance, which is used as, meets institute
It states and shares the second of rule and attend to anything else application program;Show that the second third for attending to anything else application program for meeting the sharing rule is shared
Entrance.
Optionally, described based on sharings rule, before showing the first sharing interface further include: to pacifying in the sandbox
The target of dress application program of attending to anything else carries out sharing pre-registration, wherein target application program of attending to anything else is specified application
Attend to anything else application program;Attended to anything else application program based on the target for sharing pre-registration is completed, obtains first and attend to anything else application program.
Optionally, described to be attended to anything else application program based on completing the target for sharing pre-registration, it obtains first and attends to anything else application
Program includes: the identification information based on the specified application, and preconfigured mesh will be located in the specified application
Specified application in mark application library is divided into the first application program, is not located at specified using journey in the target application library
Sequence is divided into the second application program, wherein the target application library includes the identification information of multiple application programs;By the sandbox
The middle target for completing sharing pre-registration is attended to anything else in application program, the application program conduct of attending to anything else corresponding to first application program
First attends to anything else application program, and the application program of attending to anything else corresponding to second application program is attended to anything else application program as second.
Optionally, it is described to the target installed in the sandbox attend to anything else application program carry out share pre-registration include: in institute
It states in sandbox in advance for the one or more sharing components for realizing sharing function of specified application registration;Work as prison
Hear installed in the sandbox target attend to anything else application program event when, by the corresponding sharing of the specified application
Unappropriated sharing component distributes to the target and attends to anything else application program in component, to complete application of attending to anything else to the target
The sharing pre-registration of program.
Optionally, described that sharing pre-registration is carried out to the target installed in sandbox application program of attending to anything else further include: when
Listen to delete the target attend to anything else application program event when, release target application program of attending to anything else and share component to corresponding
Occupancy.
Second aspect, the embodiment of the invention also provides a kind of information sharing apparatus, described device include: obtain module,
First display module and the first jump module.Module is obtained, for obtaining to the corresponding sharing request of sharing information, described point
Enjoying request includes sharing rule.First display module, for based on sharings rule, showing the first sharing interface, described the
One, which shares interface, shares entrance and the second sharing entrance including first, wherein the first sharing entrance is to meet the sharing
The sharing entrance of the native applications program of rule, the second sharing entrance are to meet described to share the first of rule and attend to anything else application
The sharing entrance of program, the described first application program of attending to anything else are installed in sandbox.First jump module detects user for working as
To described second share entrance the first trigger action when, show that triggered the second sharing entrance corresponding first is attended to anything else application
The corresponding sharing page of program, and be shared with this by described to sharing information and first attend to anything else application program.
Optionally, first display module includes: the first lookup submodule, for regular based on the sharing, pre-
It is first configured in the first pre-registration library in the sandbox, searches filtering information and share the first of rule match with described and answer
With program, using the first application program found as first object application program, wherein first pre-registration library packet
Include the correspondence relationship information between the identification information and corresponding filtering information of multiple first application programs;First judges submodule
Block, for judging whether be equipped with application program of attending to anything else corresponding with the first object application program in the sandbox, if so,
The application program of attending to anything else for sharing component in the corresponding application program of attending to anything else of the first object application program, will be provided in advance to make
Described share the first of rule to meet and attend to anything else application program;Submodule is determined, for being determined for compliance with the original for sharing rule
Raw application program;First shows submodule, for shows meet it is described share the first of regular native applications program share into
Mouthful and meet it is described share rule first attend to anything else application program second share entrance.
Optionally, first sharing interface further includes the second sharing interface entrance, described device further include: second shows
Module, for when detecting second trigger action of the user to the second sharing interface entrance, then being advised based on the sharing
Then, show second share interface, it is described second sharing interface include be installed on it is in the sandbox, meet it is described share rule
Second third for attending to anything else application program shares entrance;Second jump module, for when detect user to the third share into
Mouthful third trigger action when, jump to triggered third and share entrance corresponding second and attend to anything else the corresponding sharing of application program
The page is shared with described this to sharing information and second attends to anything else application program.
Optionally, second display module includes: the second lookup submodule, for regular based on the sharing, pre-
It is first configured in the second pre-registration library in the sandbox, searches filtering information and share the second of rule match with described and answer
With program, using the second application program found as the second destination application, wherein second pre-registration library packet
Include the correspondence relationship information between the identification information and corresponding filtering information of multiple second application programs;Second judges submodule
Block, for judging whether be equipped with application program of attending to anything else corresponding with second destination application in the sandbox, if so,
The application program of attending to anything else for sharing component in the corresponding application program of attending to anything else of second destination application, will be provided in advance to make
Described share the second of rule to meet and attend to anything else application program;Second shows submodule, meets the sharing rule for showing
Second attend to anything else application program third share entrance.
Optionally, described device further include: pre-registration module, for attending to anything else the target installed in the sandbox using journey
Sequence carries out sharing pre-registration, wherein the target attend to anything else application program be specified application application program of attending to anything else;Handle mould
Block obtains first and attends to anything else application program for being attended to anything else application program based on completing the target for sharing pre-registration.
Optionally, the processing module is specifically used for: the identification information based on the specified application, will be described specified
The specified application being located in preconfigured target application library in application program is divided into the first application program, is not located at institute
It states the specified application in target application library and is divided into the second application program, wherein the target application library includes multiple answers
With the identification information of program;The target for completing to share pre-registration in the sandbox is attended to anything else in application program, corresponds to described the
The application program of attending to anything else of one application program is attended to anything else application program as first, the application of attending to anything else corresponding to second application program
Program is attended to anything else application program as second.
Optionally, the pre-registration module is specifically used for: infusing in advance for the specified application in the sandbox
The one or more sharing components for realizing sharing function of volume;It is answered when listening in the sandbox to install the target and attend to anything else
When with the event of program, sharing component unappropriated in the corresponding sharing component of the specified application is distributed into institute
It states target to attend to anything else application program, with the sharing pre-registration for application program of completing to attend to anything else to the target.
Optionally, the pre-registration module is also used to: when listen to delete the target attend to anything else application program event when,
It releases the target and attends to anything else application program to the corresponding occupancy for sharing component.
The third aspect, the embodiment of the invention also provides a kind of user terminal, including processor and memory, the storages
Device is couple to the processor, the memory store instruction.Make the user when executed by the processor
Terminal executes the step of information sharing method that above-mentioned first aspect provides.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
The step of program, which realizes the information sharing method that above-mentioned first aspect provides when being executed by processor.
In technical solution provided in an embodiment of the present invention, by getting after the corresponding sharing request of sharing information,
Based on the sharing rule in the sharing request, shows that first shares interface, not only include meeting the sharing in the first sharing interface
The first of the native applications program of rule shares entrance, further includes being installed in sandbox to meet first attending to anything else for sharing rule
The second of application program shares entrance, for selection by the user, then will be wait divide when detecting that user selects certain second sharing entrance
Enjoy information and be sent to corresponding first and attend to anything else application program, and jump to this first attend to anything else application program sharing page as contacted
Person selects the page or circle of friends shares page etc..In this way when user needs to multiple account sharing informations of certain application program,
Multiple application programs of attending to anything else that the application program can be installed in sandbox in advance pass through point in native applications program and sandbox
Body application program logs in different accounts respectively, at this point, the technical solution provided through this embodiment can be rapidly by information
Share each account, be conducive to simplify user's operation, improves information and share efficiency.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of information sharing method of first embodiment of the invention offer;
Fig. 2 shows the schematic diagrames that one kind first that first embodiment of the invention provides shares interface;
One kind second that Fig. 3 shows first embodiment of the invention offer shares the schematic diagram at interface;
Fig. 4 shows a kind of functional block diagram of information sharing apparatus of second embodiment of the invention offer;
Fig. 5 shows a kind of module frame chart of user terminal of third embodiment of the invention offer.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Referring to Figure 1, a kind of method flow diagram of information sharing method of first embodiment of the invention offer is provided.It should
Information sharing method can be applied to user terminal, and operating system and third party application are equipped in the user terminal.
In the present embodiment, which can be Android (Android), IOS, Windows Phone or Windows etc..Such as Fig. 1 institute
Show, the method at least includes the following steps S100, step S102 and step S104.
Step S100 is obtained to the corresponding sharing request of sharing information, and the sharing request includes sharing rule.
It is understood that when user need by text, picture or video wait sharing information share to some or it is more
It, can be by executing behaviour of the sharing operation as clicked the sharing button generated to sharing information place interface when a application program
Make, trigger to the corresponding sharing request of sharing information, and includes to share rule in sharing request.Sharing rule specifically can wrap
It includes but is not limited to the corresponding movement of sharing operation and the data type to sharing information.As an implementation, sharing operation
Corresponding movement can be to send a message to specified recipient;Data type to sharing information can be text, figure
The types such as piece or video;Mark to sharing information can be a uniform resource identifier (Uniform of direction data
Resource Identifier, URI).
By taking Android system as an example, when user be based on certain when sharing contents click corresponding sharings button when, can generate accordingly
Intent (intention), and Intent is sent to operating system, Request System interface.Wherein, which is and shares to ask
It asks.Intent is responsible for the movement of once-through operation in application, movement is related to data, additional data is described.Operating system exists
After receiving Intent, corresponding component can be searched according to the description of the Intent.
It is understood that a brief description in Intent including the movement to be executed (action), is such as checked dynamic
Work, modification movement, sending action etc..It then may include the transmission to be executed for the Intent generated based on sharing operation
The description of movement.Intent further includes the execution movement data to be operated (data), uses in Android system and is directed toward the one of data
A URI is indicated.In addition, other than the two important attributes of action and data, Intent is also in a kind of optional mode
It may include some adeditive attributes, such as category (classification), type (data type), the data class of Explicit designation Intent
Type, extras (additional information) etc..Wherein, category expression is performed the additional information of movement, extras refers to other institutes
There is the set of additional information.At this point, sharing rule can be made of information such as action, type and category.
Step S102 shows that first shares interface, first sharing interface includes first point based on the sharing rule
It enjoys entrance and second and shares entrance, wherein the first sharing entrance is to meet the native applications program for sharing rule
Share entrance, the second sharing entrance be meet it is described share the first of the rule sharing entrance for attending to anything else application program, it is described
First application program of attending to anything else is installed in sandbox.
Operating system is got after the sharing request of sharing information, can be parsed to the sharing request, this point is based on
The sharing rule for including in request is enjoyed, the application program for meeting sharing rule is searched, shows the application for meeting sharing rule
The sharing page jump interface of program shares entrance, that is, shows that first shares interface, includes symbol in the first sharing interface
The sharing entrance of the application program of sharing rule is closed, for selection by the user.
When user needs to select in the first sharing interface when sharing information shares one of application program
Select corresponding sharing entrance, the corresponding sharing page for the application program that can be jumped.As a kind of optional mode, first point
Enjoying interface can show in the form of a list, share entrance with multiple second including multiple first sharings entrances in list.One
In kind concrete application scene, due to the interface zone limited area of user terminal, first shown on user terminal shares interface
Currently may can only exposition list, i.e., can not show whole first and share entrances and second and share entrance, at this point, with
Family can check other sharing entrances in list by moving up or moving down operation.For example, when user terminal is touch control terminal
When, what user can show on the screen first shares and executes sliding or operation of gliding on interface, to check whole first points
It enjoys entrance and second and shares entrance.As another optional way, first shares interface can also the exhibition directly in the form of interface
It is existing.At this point, in the initial state, can only display portion first divide on the first sharing interface in a kind of concrete application scene
Entrance and/or the second sharing entrance are enjoyed, others first are shared into entrances and/or the second sharing entrance is hidden, when the user clicks
When expansion button in the interface, then in the interface show that whole first share entrances and second and share entrance.
The displaying process for sharing interface for first, will be right after system receives Intent equally by taking Android system as an example
The Intent is parsed.Intent mechanism for resolving is mainly by searching for registered in AndroidManifest.xml
All IntentFilter and its defined in Intent, eventually find matched Intent, thus first share interface in
Show the sharing entrance of corresponding application programs.In this resolving, system can by action, type of Intent,
For these three attributes of category come what is judged, judgment method is as follows: if Intent specifies action, target element
IntentFilter action list in just must include this action, otherwise cannot match;If Intent does not have
It is provided with type, system will obtain data type from data.It, must in the lists of data types of target element as action
It must include the data type of Intent, otherwise cannot match;Similarly, if Intent specifies one or more category,
These category must be then included at least in target element, otherwise cannot be matched.
It is understood that for, with the native applications program of sharing function, existing in advance in system
AndroidManifest.xml registers with an IntentFilter, in this way when user executes sharing operation, to system request point
When enjoying interface, system is just capable of calling the first sharing entrance of the native applications program of successful match, as being sent to social application
The entrance of sharing platform, the entrance for the friend being sent in social application etc..Wherein, sharing platform can be in social application and use
The platform of sharing information between each good friend added by family and the user.
Sandbox (Sandbox) is a virtual system program, and the application program for needing to detect can be run in sandbox,
Obtain crawler behavior, the operation result etc. of application program.And influence caused by the application program of detection is run in sandbox
It can then delete, hard disk itself will not be had an impact.Sandbox can be used as an independent virtual environment, detect not accredited
The application program appointed.Application program is put into sandbox and is run, provides a closed operation ring by sandbox for application program
Border may be implemented to be monitored the behavior of the application program in the process of running.
It may be implemented by configuring sandbox in the user terminal using opening more, i.e., be installed and turned on certain in sandbox and primary answer
With the more than one application program of attending to anything else of program, multiple identical applications are run simultaneously in same terminal device to realize
Program.That is, user can install multiple application programs of attending to anything else of certain application programs in sandbox, and sandbox can be right
These attend to anything else application program Installation Events and deletion events etc. are monitored.In the present embodiment, in order to distinguish, it is by primary operation
The application program installed in system is known as native applications program, and the application program installed in sandbox is known as application program of attending to anything else.
In order to enable the first of system demonstration shares in interface, in addition to including meeting the native applications program for sharing rule
First share entrance outside, also show that in sandbox meeting share rule first attend to anything else application program second share entrance, this
In embodiment, based on sharings rule, before showing the first sharing interface, the above method further include: to being installed in sandbox
Target application program of attending to anything else carry out sharing pre-registration, wherein the target is attended to anything else point that application program is specified application
Body application program;Attended to anything else application program based on the target for sharing pre-registration is completed, obtains first and attend to anything else application program.Specifically
For, to the target installed in sandbox attend to anything else application program carry out share pre-registration process may include: in sandbox in advance
For the sharing component of the one or more sharing functions for realizing application program of specified application registration;When listening to
Installed in the sandbox target attend to anything else application program event when, will be in the corresponding sharing component of the specified application
Unappropriated sharing component distributes to the target and attends to anything else application program, to complete application program of attending to anything else to the target
Share pre-registration, the as target is attended to anything else application deployment information sharing function.
Wherein, specified application can be selected as needed, and can be one, or multiple.That is,
After predefining specified application, each specified application multiple sharing components registered in advance can be directed to such as respectively
The sharing number of components of IntentFilter, specific each specified application registration can be set according to actual needs.Work as prison
Hear installed in sandbox any one specified application it is corresponding attend to anything else application program when, can be by the specified application pair
The a certain sharing component answered distributes to the application program of attending to anything else, so that the sharing component is occupied by the application program of attending to anything else, i.e., in fact
The sharing pre-registration for the application program of attending to anything else installed in existing sandbox, so that operating system is receiving above-mentioned sharing request
When, it can show that the second of the application program of attending to anything else shares entrance in the first sharing interface shown.
Furthermore, it is contemplated that user may will be deleted some installed in sandbox or multiple application programs of attending to anything else, this feelings
Under condition, if deleted attend to anything else application program occupancy have sharing component, need delete these attend to anything else application program when, release
The application program of attending to anything else is to the corresponding occupancy for sharing component, in order to realize the dynamic allocation of the sharing component to pre-registration.Cause
This, above-mentioned pre-registration procedure further include: when listen to delete the target attend to anything else application program event when, release the target
Application program of attending to anything else is to the corresponding occupancy for sharing component.
This, which is also similar to that, accounts for hole mechanism, and being equivalent to each registered to share component is hole position, each specified
Application program corresponds to one or more hole positions, records the state of each hole position.For any one specified application, often exist
One specified application corresponding application program of attending to anything else is installed in sandbox, then the application program of attending to anything else is made to occupy a phase
Answer hole position, modify the hole position state, and record this attend to anything else application program and cheat position between corresponding relationship and respectively cheat position,
Until being finished the corresponding hole position of the specified application is occupied.It should be noted that if hole position is occupied complete, it cannot be right again
The subsequent application program of accordingly attending to anything else installed in sandbox carries out sharing pre-registration, for that can not carry out sharing attending to anything else for pre-registration
Application program, the sharing entrance that operating system also just can not share these application programs of attending to anything else of interface display first.Work as monitoring
To a certain specified application any one attend to anything else application program be deleted when, if this is attended to anything else application program occupancy have hole position,
Can then discharge hole position, in this way it is subsequent install again the specified application attend to anything else application program when, the application of attending to anything else newly installed
Program can continue with hole position and carry out sharing pre-registration.
In advance to the target installed in sandbox attend to anything else application program carry out sharing pre-registration on the basis of, above-mentioned steps
In S102, based on the sharing rule, shows that the process at the first sharing interface can specifically include: being based on the sharing rule,
In the first pre-registration library being pre-configured in the sandbox, filtering information is searched with described and shares the of rule match
One application program, using the first application program found as first object application program;Judge whether install in the sandbox
There is corresponding with the first object application program first to attend to anything else application program, if so, by the first object application program pair
First answered is attended to anything else in application program, be provided in advance share component attend to anything else application program as meet it is described share it is regular
First attends to anything else application program;It is determined for compliance with the native applications program for sharing rule;It shows and meets the original for sharing rule
First sharing entrance of raw application program and meet it is described share the first of rule and attend to anything else the second of application program share entrance.
In the present embodiment, the first pre-registration library be can be based on the finger for having carried out sharing pre-registration in advance in sandbox
Determine filtering information defined in application program and pre-registration and constructs.Specifically, the first pre-registration library can wrap
Include the correspondence relationship information between the identification information and corresponding filtering information of multiple first application programs.First application program
Identification information be used for the first application program of unique identification, for example, it may be the packet name and/or user identity of the first application program
Prove etc..
Further it will be understood that being directed to when carrying out sharing pre-registration to the first application program in sandbox in advance
When component is shared in the registration of first application program, sharing will the corresponding filtering information of definition in component.Share defined in component
Filtering information, which is determined, shares intention with first application matches.Specifically, filtering information includes: that can be applicable in
The data type etc. sharing movement and can shared.For example, by taking Android system as an example, filtering information may include it is registered
Action, type and category of Intent defined in IntentFilter in AndroidManifest.xml.It will divide
The sharing rule for enjoying request is matched with the filtering information of each first application program pre-registered in sandbox, by successful match
The first application program as first object application program.For example, the first application program include application program A, application program B and
Application program C, as application program A and the equal successful match of application program B, then social application A and social application B is first object
Application program.
Attend to anything else application program it should be noted that being fitted without first object application program corresponding first in the sandbox
When, then prohibit to fall the corresponding sharing component of the first object application program, so that operating system can not find the component;Until prison
It hears that installing certain specified application corresponding first in sandbox attends to anything else application program, and corresponding component of sharing is distributed to this
First attend to anything else application program when, by this first attend to anything else application program it is occupied share component state be revised as by disabled status
Initiate mode enables operating system to find the component, so that this first is attended to anything else using journey in the first sharing interface display
The second of sequence shares entrance.
By taking above-mentioned application program A and application program B as an example, if application program A and application program B are first object application
Program attends to anything else and the first of application program A1 and application program B attends to anything else using journey when be equipped with application program A in sandbox first
When sequence B1, and the first application program B1 that attends to anything else of application program A1 and first that attends to anything else has carried out sharing pre- note in advance in sandbox
Volume, that is, occupying has corresponding sharing component, then when interface is shared in above-mentioned steps S102 displaying first, so that it may show first point
Body application program A1 second sharing entrance and first attend to anything else application program B1 second share entrance.Certainly, if in sandbox
The first of the application program A and application program B of installation is attended to anything else the equal more than one of application program, and have passed through sharing pre-registration,
Second sharing entrance of these application programs of attending to anything else can be shown to be shared in interface above-mentioned first, for selection by the user.
Step S104 is jumped to and is triggered when detecting first trigger action of the user to the second sharing entrance
The second sharing entrance corresponding first attend to anything else the corresponding sharing page of application program, and be shared with this to sharing information for described
First attends to anything else application program.
Specifically, the first trigger action can be the clicking operation for sharing entrance to second, or other for selecting
Select the operation of the entrance.User can choose any one first sharing entrance or the second sharing shown in the first sharing interface
Entrance.When user selects certain first sharing entrance, then the phase of the corresponding native applications program of the first sharing entrance is jumped to
The page should be shared, and the native applications program will be shared with to sharing information.When user selects certain second sharing entrance, then jump
The corresponding sharing page of the application program of attending to anything else to the second sharing entrance corresponding first in sandbox is gone to, and will letter be shared
Breath is shared with the native applications program.
In addition, as a kind of optional mode, can be used as first to answer above-mentioned specified application in the present embodiment
It is correspondingly, corresponding with specified application and complete that share the target application program of attending to anything else of pre-registration be the with program
One attends to anything else application program.
However, installing more feelings of attending to anything else in sandbox if regarding above-mentioned specified application as the first application program
Under condition, may cause the first of the first sharing interface display attend to anything else application program second share entrance it is various, be unfavorable for user
Quickly entrance is shared in selection.Certainly, it in order to avoid the situation, when can carry out sharing pre-registration in sandbox, only chooses relatively often
The application program used is as specified application.But more fully share entrance to provide the user with, to facilitate user point
Information is enjoyed, as another optional mode, one or more application program work can be chosen from above-mentioned specified application
For the first application program, using remaining specified application as the second application program.For example, can will it is above-mentioned it is specified apply journey
Sequence is divided into common application program and the application program that is of little use, wherein common application program as first will apply journey
Sequence, using the application program being of little use as the second application program.
The application program at this point, the above-mentioned target based on the completion sharing pre-registration is attended to anything else, obtains first and attends to anything else using journey
The process of sequence may include: the identification information based on the specified application, preparatory by being located in the specified application
Specified application in the target application library of configuration is divided into the first application program, the finger not being located in the target application library
Determine application program and be divided into the second application program, wherein the target application library includes the identification information of multiple application programs;It will
The target that pre-registration is shared in completion in the sandbox is attended to anything else in application program, the application of attending to anything else corresponding to first application program
Program is attended to anything else application program as first, and the application program of attending to anything else corresponding to second application program is attended to anything else application as second
Program.
Specifically, it can be pre-configured with target application library according to actual needs, be stored in target application library multiple normal
With the identification information of application program, if the identification information of certain specified application, table can be found in target application library
Show that the specified application is located in target application library, belong to common application program, which is divided into
One application program;If the identification information of certain specified application can not be found in target application library, then it represents that this is specified and answers
It is not located in target application library with program, belongs to the application program being of little use, which is divided into the second application
Program.It is understood that whether application program is common can be determined by the operation data of the application program.
At this point it is possible to which interface is shared in setting second on the basis of first shares interface, for showing in sandbox with second
Application program corresponding second is attended to anything else application program, in order to user's selection.Specifically, as a kind of optional mode, on
Stating the first sharing interface further includes the second sharing interface entrance, the method also includes: when detecting user to described second point
When enjoying the second trigger action of interface entrance, then based on the sharing rule, show that second shares interface, described second shares boundary
Face includes being installed on the second third for attending to anything else application program in the sandbox, meeting the sharing rule to share entrance;When
When detecting that user shares the third trigger action of entrance to the third, it is corresponding to jump to triggered third sharing entrance
The second corresponding sharing page for attending to anything else application program is shared with described this to sharing information and second attends to anything else application program.Specifically
For, the second trigger action can be the clicking operation for sharing interface entrance to second, or other for selecting the entrance
Operation;Third trigger action can be the clicking operation for sharing entrance to third, or other for selecting the entrance
Operation.
After in this way, when user want to be shared with to sharing information it is being installed in sandbox with application program pair that is being of little use
Answer attend to anything else application program when, so that it may share interface entrance by clicking show on the first sharing interface second, into the
Two share interface, and then share the third for selecting required second to attend to anything else application program in interface second and share entrance, jump
To the second corresponding sharing page for attending to anything else application program, so that based on the sharing page corresponding positions will be shared to sharing information
It sets.
Similarly, above-mentioned based on the sharing rule, show that the process at the second sharing interface shares interface with displaying first
Process is similar, can specifically include: based on the sharing rule, in the second pre-registration being pre-configured in the sandbox
In library, search filtering information and second application program for sharing rule match, using the second application program found as
Second destination application, wherein second pre-registration library include multiple second application programs identification information and
Correspondence relationship information between corresponding filtering information;Judge whether be equipped in the sandbox and the second target application journey
Sequence corresponding second is attended to anything else application program, if so, second destination application corresponding second is attended to anything else in application program,
It is provided in advance and shares the application program of attending to anything else of component and described share regular second and attend to anything else application program as meeting;Show symbol
The second third for attending to anything else application program for closing the sharing rule shares entrance.
At this point, the first pre-registration library can be based on the first application for having carried out sharing pre-registration in advance in sandbox
Information is filtered defined in program and each first application program pre-registration and is constructed.Second pre-registration library can be
Determined based on the second application program and each second application program pre-registration for having carried out sharing pre-registration in advance in sandbox
Justice filtering information and construct.Specifically, the second pre-registration library may include the identification information of the second application program
And the correspondence relationship information between corresponding filtering information.The identification information of second application program is answered for unique identification second
With program, for example, it may be the packet name and/or user identity of the second application program prove etc..
For example, in a kind of specific application scenarios, first shown on user terminal shares interface as shown in Fig. 2, the
Multiple first are illustrated in one sharing interface shares entrance, multiple second sharing entrances and the second sharing interface entrance.Wherein,
" friend being sent in application program A " " sharing platform for being sent to application program A ", " is sent to the friend in application program B
Friend ", " being sent to application program C ", " being sent to application program D " and " being sent to application program F " are first to share entrance, are divided
It Wei not native applications program A, native applications program B, native applications program C, native applications program D and native applications program F
The corresponding sharing page entrance;" friend being sent in application program A (attend to anything else 1) " " is sent to application program A (attend to anything else 1)
Sharing platform ", " friend being sent in application program B (attend to anything else 1) " and " be sent to the friend in application program B (attend to anything else 2)
Friend " is the second sharing entrance, the application program of attending to anything else corresponding with native applications program A respectively installed in sandbox
Accordingly share the corresponding of two application programs of attending to anything else corresponding to native applications program B installed in the entrance and sandbox of the page
Share the entrance of the page;" being sent to other attend to anything else " is the second sharing interface entrance.User click any one first share into
Mouth or the second sharing entrance, then can jump to the corresponding sharing page.
If user clicks " being sent to other attend to anything else ", show that second shares interface, as shown in Figure 3.Wherein, second shares
Illustrate multiple thirds in interface and share entrances, respectively " being sent to application program C (attend to anything else 1) ", " be sent to application program D
(attend to anything else 1) " and " being sent to application program F (attend to anything else 1) "." being sent to application program C (attend to anything else 1) " be installed in sandbox with original
The entrance of the corresponding sharing page of the corresponding application program of attending to anything else of life application program C, " is sent to application program D (to attend to anything else
It 1) is " entrance of the corresponding sharing page for the application program of attending to anything else corresponding to native applications program D installed in sandbox,
" being sent to application program F (attend to anything else 1) " is the application program of attending to anything else corresponding with native applications program F installed in sandbox
The corresponding entrance for sharing the page.User clicks any one third and shares entrance, then can jump to the corresponding sharing page.
For example, application program B is social application, certain user's registration three accounts of application program B, respectively the first account
Number, the second account and third account, it is assumed that the user has logged in the first account by native applications program B, by pacifying in sandbox
One corresponding with the native applications program B application program i.e. application program B that attends to anything else of dress has logged in the second account at (attend to anything else 1), leads to
Another corresponding with native applications program B installed in the sandbox application program i.e. application program B (attend to anything else 2) that attends to anything else is crossed to log in
Third account.At this point, being shared with native applications program when user wants certain picture being shared with the friend in these three accounts
B, when application program B (attend to anything else 1) and application program B (attend to anything else 2), it is only necessary to which the sharing that interface where clicking the picture generates is pressed
Button, first in display shares in interface, selects " being sent to the friend in application program B ", so that it may jump to respectively primary
The corresponding sharing page of application program B shares the picture to native applications program B.Then boundary where again tapping on the picture
The sharing button that face generates, first in display shares in interface, and selection " is sent to the friend in application program B (attend to anything else 1) ",
The corresponding sharing page that application program B (attend to anything else 1) can be jumped to shares the picture to application program B (attend to anything else 1).Together
Reason can also share the picture to application program B (attend to anything else 2).Thus the picture easily can be sent to each account
Friend in number.
In technical solution provided in an embodiment of the present invention, by getting after the corresponding sharing request of sharing information,
Based on the sharing rule in the sharing request, shows that first shares interface, not only include meeting the sharing in the first sharing interface
The first of the native applications program of rule shares entrance, further includes being installed in sandbox to meet first attending to anything else for sharing rule
The second of application program shares entrance, for selection by the user, then will be wait divide when detecting that user selects certain second sharing entrance
Enjoy information and be sent to corresponding first and attend to anything else application program, and jump to this first attend to anything else application program sharing page as contacted
Person selects the page or circle of friends shares page etc..In this way when user needs to multiple account sharing informations of certain application program,
Multiple application programs of attending to anything else that the application program can be installed in sandbox in advance pass through point in native applications program and sandbox
Body application program logs in different accounts respectively, at this point, the technical solution provided through this embodiment can be rapidly by information
Share each account, be conducive to simplify user's operation, improves information and share efficiency.
Based on the same inventive concept, second embodiment of the invention provides a kind of information sharing apparatus.Fig. 4 shows this hair
A kind of functional block diagram for information sharing apparatus that bright second embodiment provides.As shown in figure 4, the information sharing apparatus 400
It include: to obtain module 401, the first display module 402 and the second display module 403.
Wherein, module 401 is obtained, for obtaining to the corresponding sharing request of sharing information, the sharing request includes point
Enjoy rule;
First display module 402, for showing that first shares interface, described first shares boundary based on the sharing rule
Face includes that the first sharing entrance and second share entrance, wherein the first sharing entrance is to meet the original for sharing rule
The sharing entrance of raw application program, the second sharing entrance are to meet described to share the first of rule point for attending to anything else application program
Enjoy entrance, the described first application program of attending to anything else is installed in sandbox;
First jump module 403, for jumping when detecting the first trigger action of the user to the second sharing entrance
It goes to triggered the second sharing entrance corresponding first to attend to anything else the corresponding sharing page of application program, and by the letter to be shared
Breath is shared with this and first attends to anything else application program.
As an alternative embodiment, first display module 402 includes:
First searches submodule, for being infused in advance in first be pre-configured in the sandbox based on the sharing rule
In volume information bank, filtering information and first application program for sharing rule match are searched, applies journey for find first
Sequence is as first object application program, wherein first pre-registration library includes the mark letter of multiple first application programs
Correspondence relationship information between breath and corresponding filtering information;
First judging submodule, it is corresponding with the first object application program for judging whether to be equipped in the sandbox
Application program of attending to anything else, if so, being provided with sharing in advance in the corresponding application program of attending to anything else of the first object application program
The application program of attending to anything else of component described share the first of rule and attends to anything else application program as meeting;
Submodule is determined, for being determined for compliance with the native applications program for sharing rule;
First show submodule, for shows meet it is described share rule native applications program first sharing entrance with
And meet it is described share rule first attend to anything else application program second share entrance.
As an alternative embodiment, first sharing interface further includes the second sharing interface entrance.At this point, such as
Shown in Fig. 4, above- mentioned information sharing apparatus 400 further include:
Second display module 404, for when the second trigger action for detecting that user shares interface entrance to described second
When, then based on the sharing rule, show that second shares interface, second sharing interface includes being installed in the sandbox
, meet it is described share rule second attend to anything else application program third share entrance;
Second jump module 405, for jumping when detecting third trigger action of the user to third sharing entrance
It goes to triggered third and shares entrance corresponding second and attend to anything else the corresponding sharing page of application program, it will be described to sharing information
This is shared with second to attend to anything else application program.
As an alternative embodiment, second display module 404 includes:
Second searches submodule, for being infused in advance in second be pre-configured in the sandbox based on the sharing rule
In volume information bank, filtering information and second application program for sharing rule match are searched, applies journey for find second
Sequence is as the second destination application, wherein second pre-registration library includes the mark letter of multiple second application programs
Correspondence relationship information between breath and corresponding filtering information;
Second judgment submodule, it is corresponding with second destination application for judging whether to be equipped in the sandbox
Application program of attending to anything else, if so, being provided with sharing in advance in the corresponding application program of attending to anything else of second destination application
The application program of attending to anything else of component described share the second of rule and attends to anything else application program as meeting;
Second shows submodule, for shows meet it is described share the second regular third for attending to anything else application program share into
Mouthful.
As an alternative embodiment, above- mentioned information sharing apparatus 400 further include:
Pre-registration module, for carrying out sharing pre-registration to the target installed in sandbox application program of attending to anything else, wherein
The target attend to anything else application program be specified application application program of attending to anything else;
Processing module obtains first and attends to anything else to answer for attending to anything else application program based on completing the target for sharing pre-registration
Use program.
As an alternative embodiment, the pre-registration module is specifically used for:
In advance for specified application registration one or more for realizing sharing function in the sandbox
Share component;
When listen to installed in the sandbox target attend to anything else application program event when, will it is described it is specified apply journey
Unappropriated sharing component distributes to the target and attends to anything else application program in the corresponding sharing component of sequence, to complete to described
Target is attended to anything else the sharing pre-registration of application program.
As an alternative embodiment, the pre-registration module is also used to: attending to anything else when listening to the deletion target
When the event of application program, releases the target and attend to anything else application program to the corresponding occupancy for sharing component.
As an alternative embodiment, the processing module is specifically used for:
Based on the identification information of the specified application, preconfigured target will be located in the specified application
Specified application in application library is divided into the first application program, the specified application not being located in the target application library
It is divided into the second application program, wherein the target application library includes the identification information of multiple application programs;
The target for completing to share pre-registration in the sandbox is attended to anything else in application program, first application program is corresponded to
Application program of attending to anything else attend to anything else application program as first, the application program of attending to anything else corresponding to second application program is as
Two attend to anything else application program.
Above each module can be by software code realization, at this point, above-mentioned each module can be stored in depositing for user terminal
In reservoir.Alternatively, above each module can equally be realized by hardware such as IC chip.
It should be noted that information sharing apparatus 400 provided by the embodiment of the present invention, specific implementation and the skill generated
Art effect is identical with preceding method embodiment, and to briefly describe, Installation practice part does not refer to place, can refer to preceding method
Corresponding contents in embodiment.
In addition, based on the same inventive concept, third embodiment of the invention additionally provides a kind of user terminal, including processor
And memory, the memory are couple to the processor, the memory store instruction, when described instruction is by the processor
The user terminal is set to execute following operation when execution:
It obtains to the corresponding sharing request of sharing information, the sharing request includes sharing rule;
Based on sharing rule, show that first shares interface, described first share interface include first share entrance and
Second shares entrance, wherein and the first sharing entrance is the sharing entrance for meeting the native applications program for sharing rule,
The second sharing entrance be meet it is described share the first of the rule sharing entrance for attending to anything else application program, described first, which attends to anything else, answers
It is installed in sandbox with program;
When detecting first trigger action of the user to the second sharing entrance, jumps to triggered second and share
Entrance corresponding first is attended to anything else the corresponding sharing page of application program, and is shared with this by described to sharing information and first is attended to anything else and answer
Use program.
It should be noted that in user terminal provided by the embodiment of the present invention, the specific implementation of above-mentioned each step and
The technical effect of generation is identical with preceding method embodiment, and to briefly describe, the present embodiment does not refer to that place can refer to aforementioned side
Corresponding contents in method embodiment.
Operating system and third party application are installed in the embodiment of the present invention, in user terminal.User terminal
It can be tablet computer, mobile phone, laptop, PC (personal computer, personal computer), wearable device, vehicle
The subscriber terminal equipments such as mounted terminal.
Fig. 5 shows a kind of module frame chart of exemplary user terminal 500.As shown in figure 5, user terminal 500 includes depositing
Reservoir 502, storage control 504, one or more (one is only shown in figure) processors 506, Peripheral Interface 508, network mould
Block 510, input/output module 512, display module 514 etc..These components pass through one or more communication bus/signal wire 516
Mutually communication.
Memory 502 can be used for storing software program and module, as the information sharing method in the embodiment of the present invention with
And the corresponding program instruction/module of device, the software program and mould that processor 506 is stored in memory 502 by operation
Block, thereby executing various function application and data processing, such as information sharing method provided in an embodiment of the present invention.
Memory 502 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.Processor 506 and other possible components are to storage
The access of device 502 can carry out under the control of storage control 504.
Various input/output devices are couple processor 506 and memory 502 by Peripheral Interface 508.In some implementations
In example, Peripheral Interface 508, processor 506 and storage control 504 can be realized in one single chip.In some other reality
In example, they can be realized by independent chip respectively.
Network module 510 is for receiving and transmitting network signal.Above-mentioned network signal may include wireless signal or have
Line signal.
Input/output module 512 is used to be supplied to the interaction that user input data realizes user and user terminal.It is described defeated
Entering output module 512 may be, but not limited to, mouse, keyboard and Touch Screen etc..
Display module 514 provides an interactive interface (such as user interface) between user terminal 500 and user
Or it is referred to for display image data to user.In the present embodiment, the display module 514 can be liquid crystal display or touching
Control display.It can be the touching of the capacitance type touch control screen or resistance-type of support single-point and multi-point touch operation if touch control display
Control screen etc..Single-point and multi-point touch operation is supported to refer to that touch control display can sense on the touch control display one or more
The touch control operation generated simultaneously at a position, and the touch control operation that this is sensed transfers to processor to be calculated and handled.
It is appreciated that structure shown in fig. 5 is only to illustrate, user terminal 500 may also include it is more than shown in Fig. 5 or
Less component, or with the configuration different from shown in Fig. 5.Each component shown in Fig. 5 can using hardware, software or its
Combination is realized.
Fourth embodiment of the invention provides a kind of computer storage medium, and the information in second embodiment of the invention is shared
If the integrated functional module of device is realized and when sold or used as an independent product in the form of software function module, can
To be stored in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned first embodiment
All or part of the process in information sharing method can also instruct relevant hardware to complete, institute by computer program
The computer program stated can be stored in a computer readable storage medium, which, can when being executed by processor
The step of realizing above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, the computer
Program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer can
Reading medium may include: any entity or device, recording medium, USB flash disk, mobile hard that can carry the computer program code
Disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate
It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice
When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter
Number and telecommunication signal.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize gateway according to an embodiment of the present invention, proxy server, in system
Some or all components some or all functions.The present invention is also implemented as executing side as described herein
Some or all device or device programs (for example, computer program and computer program product) of method.It is such
It realizes that program of the invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape
Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of information sharing method, which comprises
It obtains to the corresponding sharing request of sharing information, the sharing request includes sharing rule;
Based on sharing rule, show that first shares interface, described first share interface include first share entrance and
Second shares entrance, wherein and the first sharing entrance is the sharing entrance for meeting the native applications program for sharing rule,
The second sharing entrance be meet it is described share the first of the rule sharing entrance for attending to anything else application program, described first, which attends to anything else, answers
It is installed in sandbox with program;
When detecting first trigger action of the user to the second sharing entrance, jumps to triggered second and share
Entrance corresponding first is attended to anything else the corresponding sharing page of application program, and is shared with this by described to sharing information and first is attended to anything else and answer
Use program.
A2, method according to a1, it is described based on the sharing rule, show that the first sharing interface includes:
Filtering is searched in the first pre-registration library being pre-configured in the sandbox based on the sharing rule
Information and first application program for sharing rule match, using the first application program found as first object application journey
Sequence, wherein first pre-registration library includes the identification information of multiple first application programs and filters information accordingly
Between correspondence relationship information;
Judge whether to be equipped with corresponding with the first object application program first in the sandbox to attend to anything else application program,
If so, the first object application program corresponding first is attended to anything else in application program, is provided in advance and shares attending to anything else for component
Application program described share the first of rule and attends to anything else application program as meeting;
It is determined for compliance with the native applications program for sharing rule;
It shows the first sharing entrance for meeting the native applications program for sharing rule and meets the sharing rule
First attend to anything else application program second share entrance.
A3, method according to a1, first sharing interface further includes the second sharing interface entrance, and the method is also
Include:
When detecting second trigger action of the user to the second sharing interface entrance, then advised based on the sharing
Then, show second share interface, it is described second sharing interface include be installed on it is in the sandbox, meet it is described share rule
Second third for attending to anything else application program shares entrance;
When detecting third trigger action of the user to third sharing entrance, jumps to triggered third and share
Entrance corresponding second is attended to anything else the corresponding sharing page of application program, is shared with this by described to sharing information and second is attended to anything else application
Program.
A4, method according to a3, it is described based on the sharing rule, show that the second sharing interface includes:
Filtering is searched in the second pre-registration library being pre-configured in the sandbox based on the sharing rule
Information and second application program for sharing rule match, using the second application program found as the second target application journey
Sequence, wherein second pre-registration library includes the identification information of multiple second application programs and filters information accordingly
Between correspondence relationship information;
Judge whether to be equipped with corresponding with second destination application second in the sandbox to attend to anything else application program,
If so, second destination application corresponding second is attended to anything else in application program, is provided in advance and shares attending to anything else for component
Application program described share the second of rule and attends to anything else application program as meeting;
Show that the second third for attending to anything else application program for meeting the sharing rule shares entrance.
A5, method according to a1, it is described based on the sharing rule, before showing the first sharing interface, the side
Method further include:
Sharing pre-registration is carried out to the target installed in sandbox application program of attending to anything else, wherein the target, which is attended to anything else, answers
It is the application program of attending to anything else of specified application with program;
Attended to anything else application program based on the target for sharing pre-registration is completed, obtains first and attend to anything else application program.
A6, method according to a5, it is described to be attended to anything else application program based on completing the target for sharing pre-registration, it obtains
First application program of attending to anything else includes:
Based on the identification information of the specified application, preconfigured target will be located in the specified application
Specified application in application library is divided into the first application program, the specified application not being located in the target application library
It is divided into the second application program, wherein the target application library includes the identification information of multiple application programs;
The target for completing to share pre-registration in the sandbox is attended to anything else in application program, first application program is corresponded to
Application program of attending to anything else attend to anything else application program as first, the application program of attending to anything else corresponding to second application program is as
Two attend to anything else application program.
A7, method according to a5, it is described to the target installed in the sandbox attend to anything else application program share it is pre-
Registration includes:
In advance for specified application registration one or more for realizing sharing function in the sandbox
Share component;
When listen to installed in the sandbox target attend to anything else application program event when, will it is described it is specified apply journey
Unappropriated sharing component distributes to the target and attends to anything else application program in the corresponding sharing component of sequence, to complete to described
Target is attended to anything else the sharing pre-registration of application program.
A8, the method according to A7, it is described to the target installed in the sandbox attend to anything else application program share it is pre-
Registration further include:
When listen to delete the target attend to anything else application program event when, release the target and attend to anything else application program to phase
The occupancy of component should be shared.
The invention discloses B9, a kind of information sharing apparatus, described device includes:
Module is obtained, for obtaining to the corresponding sharing request of sharing information, the sharing request includes sharing rule;
First display module, for showing that first shares interface, described first shares interface packet based on the sharing rule
It includes the first sharing entrance and second and shares entrance, wherein the first sharing entrance is primary the answering for meeting the sharing rule
With the sharing entrance of program, the second sharing entrance is to meet first sharing for attending to anything else application program for sharing rule to enter
Mouthful, the described first application program of attending to anything else is installed in sandbox;
First jump module, for jumping when detecting the first trigger action of the user to the second sharing entrance
Attend to anything else the corresponding sharing page of application program to the second sharing entrance corresponding first triggered, and will be described to sharing information
This is shared with first to attend to anything else application program.
B10, the device according to B9, first display module include:
First searches submodule, for being infused in advance in first be pre-configured in the sandbox based on the sharing rule
In volume information bank, filtering information and first application program for sharing rule match are searched, applies journey for find first
Sequence is as first object application program, wherein first pre-registration library includes the mark letter of multiple first application programs
Correspondence relationship information between breath and corresponding filtering information;
First judging submodule, it is corresponding with the first object application program for judging whether to be equipped in the sandbox
Application program of attending to anything else, if so, being provided with sharing in advance in the corresponding application program of attending to anything else of the first object application program
The application program of attending to anything else of component described share the first of rule and attends to anything else application program as meeting;
Submodule is determined, for being determined for compliance with the native applications program for sharing rule;
First show submodule, for shows meet it is described share rule native applications program first sharing entrance with
And meet it is described share rule first attend to anything else application program second share entrance.
B11, the device according to B9, first sharing interface further includes the second sharing interface entrance, described device
Further include:
Second display module, for when detect user to it is described second share interface entrance the second trigger action when,
Then based on the sharing rule, show that second shares interface, second sharing interface includes being installed in the sandbox, symbol
The second third for attending to anything else application program for closing the sharing rule shares entrance;
Second jump module, for jumping when detecting third trigger action of the user to third sharing entrance
Share entrance corresponding second to the third that is triggered to attend to anything else the corresponding sharing page of application program, it will be described to sharing information point
It enjoys and second attending to anything else application program to this.
B12, the device according to B11, second display module include:
Second searches submodule, for being infused in advance in second be pre-configured in the sandbox based on the sharing rule
In volume information bank, filtering information and second application program for sharing rule match are searched, applies journey for find second
Sequence is as the second destination application, wherein second pre-registration library includes the mark letter of multiple second application programs
Correspondence relationship information between breath and corresponding filtering information;
Second judgment submodule, it is corresponding with second destination application for judging whether to be equipped in the sandbox
Application program of attending to anything else, if so, being provided with sharing in advance in the corresponding application program of attending to anything else of second destination application
The application program of attending to anything else of component described share the second of rule and attends to anything else application program as meeting;
Second shows submodule, for shows meet it is described share the second regular third for attending to anything else application program share into
Mouthful.
B13, the device according to B9, described device further include:
Pre-registration module, for carrying out sharing pre-registration to the target installed in sandbox application program of attending to anything else, wherein
The target attend to anything else application program be specified application application program of attending to anything else;
Processing module obtains first and attends to anything else to answer for attending to anything else application program based on completing the target for sharing pre-registration
Use program.
B14, device according to b13, the processing module are specifically used for:
Based on the identification information of the specified application, preconfigured target will be located in the specified application
Specified application in application library is divided into the first application program, the specified application not being located in the target application library
It is divided into the second application program, wherein the target application library includes the identification information of multiple application programs;
The target for completing to share pre-registration in the sandbox is attended to anything else in application program, first application program is corresponded to
Application program of attending to anything else attend to anything else application program as first, the application program of attending to anything else corresponding to second application program is as
Two attend to anything else application program.
B15, device according to b13, the pre-registration module are specifically used for:
In advance for specified application registration one or more for realizing sharing function in the sandbox
Share component;
When listen to installed in the sandbox target attend to anything else application program event when, will it is described it is specified apply journey
Unappropriated sharing component distributes to the target and attends to anything else application program in the corresponding sharing component of sequence, to complete to described
Target is attended to anything else the sharing pre-registration of application program.
B16, the device according to B15, the pre-registration module are also used to:
When listen to delete the target attend to anything else application program event when, release the target and attend to anything else application program to phase
The occupancy of component should be shared.
The invention discloses C17, a kind of user terminal, including processor and memory, the memory is couple to described
Processor, the memory store instruction make the user terminal execute A1-A8 when executed by the processor
Any one of the method the step of.
The invention discloses D18, a kind of computer readable storage medium, are stored thereon with computer program, the program quilt
The step of any one of A1-A8 the method is realized when processor executes.
Claims (10)
1. a kind of information sharing method, which is characterized in that the described method includes:
It obtains to the corresponding sharing request of sharing information, the sharing request includes sharing rule;
Based on the sharing rule, show that first shares interface, described first, which shares interface, shares entrance and second including first
Share entrance, wherein the first sharing entrance is the sharing entrance for meeting the native applications program for sharing rule, described
Second sharing entrance be meet it is described share the first of the rule sharing entrance for attending to anything else application program, described first attends to anything else using journey
Sequence is installed in sandbox;
When detecting first trigger action of the user to the second sharing entrance, jumps to triggered second and share entrance
The corresponding first corresponding sharing page for attending to anything else application program, and be shared with this by described to sharing information and first attend to anything else using journey
Sequence.
2. boundary is shared in displaying first the method according to claim 1, wherein described based on the sharing rule
Face includes:
Based on the sharing rule, in the first pre-registration library being pre-configured in the sandbox, filtering information is searched
With first application program for sharing rule match, using the first application program found as first object application program,
Wherein, first pre-registration library includes between the identification information and corresponding filtering information of multiple first application programs
Correspondence relationship information;
Judge whether to be equipped with corresponding with the first object application program first in the sandbox to attend to anything else application program, if
It is that the first object application program corresponding first is attended to anything else in application program, is provided in advance to share and answer attending to anything else for component
Program is used as meeting described to share the first of rule and attend to anything else application program;
It is determined for compliance with the native applications program for sharing rule;
It shows the first sharing entrance for meeting the native applications program for sharing rule and meets and described share the of rule
One attend to anything else application program second share entrance.
3. the method according to claim 1, wherein first sharing interface further includes that the second sharing interface enters
Mouthful, the method also includes:
When detecting second trigger action of the user to the second sharing interface entrance, then based on the sharing rule, exhibition
Show that the second sharing interface, second sharing interface include being installed in the sandbox, meeting the sharing rule second
The third for application program of attending to anything else shares entrance;
When detecting third trigger action of the user to third sharing entrance, jumps to triggered third and share entrance
The corresponding second corresponding sharing page for attending to anything else application program is shared with described this to sharing information and second attends to anything else using journey
Sequence.
4. boundary is shared in displaying first the method according to claim 1, wherein described based on the sharing rule
Before face, further includes:
Sharing pre-registration is carried out to the target installed in sandbox application program of attending to anything else, wherein the target is attended to anything else using journey
Sequence is the application program of attending to anything else of specified application;
Attended to anything else application program based on the target for sharing pre-registration is completed, obtains first and attend to anything else application program.
5. according to the method described in claim 4, it is characterized in that, described attended to anything else based on the target for completing the sharing pre-registration
Application program, obtaining the first application program of attending to anything else includes:
Based on the identification information of the specified application, preconfigured target application will be located in the specified application
Specified application in library is divided into the first application program, and the specified application not being located in the target application library divides
For the second application program, wherein the target application library includes the identification information of multiple application programs;
The target for completing to share pre-registration in the sandbox is attended to anything else in application program, point corresponding to first application program
Body application program is attended to anything else application program as first, and the application program of attending to anything else corresponding to second application program is as second point
Body application program.
6. according to the method described in claim 4, it is characterized in that, described attend to anything else using journey to the target installed in the sandbox
Sequence carries out sharing pre-registration
In advance for the one or more sharings for realizing sharing function of specified application registration in the sandbox
Component;
When listen to installed in the sandbox target attend to anything else application program event when, by the specified application pair
Unappropriated sharing component distributes to the target and attends to anything else application program in the sharing component answered, to complete to the target
The sharing pre-registration for application program of attending to anything else.
7. according to the method described in claim 6, it is characterized in that, described attend to anything else using journey to the target installed in the sandbox
Sequence carries out sharing pre-registration further include:
When listen to delete the target attend to anything else application program event when, release the target and attend to anything else application program to corresponding point
Enjoy the occupancy of component.
8. a kind of information sharing apparatus, which is characterized in that described device includes:
Module is obtained, for obtaining to the corresponding sharing request of sharing information, the sharing request includes sharing rule;
First display module, for based on sharings rule, showing that first shares interface, described first, which shares interface, includes the
One, which shares entrance and second, shares entrance, wherein the first sharing entrance is to meet the native applications journey for sharing rule
The sharing entrance of sequence, the second sharing entrance be meet it is described share the first of the rule sharing entrance for attending to anything else application program,
Described first application program of attending to anything else is installed in sandbox;
First jump module, for jumping to institute when detecting the first trigger action of the user to the second sharing entrance
Second sharing entrance corresponding first of triggering is attended to anything else the corresponding sharing page of application program, and described will be shared to sharing information
First attend to anything else application program to this.
9. a kind of user terminal, which is characterized in that including processor and memory, the memory is couple to the processor,
The memory store instruction makes the user terminal perform claim require 1-7 when executed by the processor
Any one of the method the step of.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The step of any one of claim 1-7 the method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810806268.2A CN109117208B (en) | 2018-07-20 | 2018-07-20 | Information sharing method and device, user terminal and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810806268.2A CN109117208B (en) | 2018-07-20 | 2018-07-20 | Information sharing method and device, user terminal and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109117208A true CN109117208A (en) | 2019-01-01 |
CN109117208B CN109117208B (en) | 2022-12-02 |
Family
ID=64863237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810806268.2A Active CN109117208B (en) | 2018-07-20 | 2018-07-20 | Information sharing method and device, user terminal and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109117208B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134900A (en) * | 2019-04-18 | 2019-08-16 | 深圳壹账通智能科技有限公司 | Page data sharing method, device, computer equipment and storage medium |
CN111124569A (en) * | 2019-12-05 | 2020-05-08 | 维沃移动通信有限公司 | Application sharing method, electronic equipment and computer readable storage medium |
CN112019422A (en) * | 2020-08-24 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Information sharing method, information processing method, related device and equipment |
CN115002685A (en) * | 2022-07-14 | 2022-09-02 | 深圳市利诺威科技有限公司 | Method and system for transmitting image data |
CN116049118A (en) * | 2022-05-27 | 2023-05-02 | 荣耀终端有限公司 | File sharing method and electronic equipment |
WO2024055867A1 (en) * | 2022-09-15 | 2024-03-21 | 荣耀终端有限公司 | Application cloning-based interface display method and related apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150046839A1 (en) * | 2013-08-09 | 2015-02-12 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method and computer-readable medium |
CN106201748A (en) * | 2016-07-21 | 2016-12-07 | 北京奇虎科技有限公司 | Method, device and the mobile terminal of a kind of Message Processing based on mobile terminal |
CN106357921A (en) * | 2016-10-10 | 2017-01-25 | 广东欧珀移动通信有限公司 | Application data sharing method, application data sharing device and mobile terminal |
CN107247622A (en) * | 2017-05-31 | 2017-10-13 | 湖南机友科技有限公司 | A kind of collocation method and device for opening application more |
CN107608746A (en) * | 2017-09-18 | 2018-01-19 | 北京奇虎科技有限公司 | A kind of optimization method and device for opening application more |
CN108287765A (en) * | 2018-01-24 | 2018-07-17 | 青岛海信移动通信技术股份有限公司 | Application data sharing method and terminal |
-
2018
- 2018-07-20 CN CN201810806268.2A patent/CN109117208B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150046839A1 (en) * | 2013-08-09 | 2015-02-12 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method and computer-readable medium |
CN106201748A (en) * | 2016-07-21 | 2016-12-07 | 北京奇虎科技有限公司 | Method, device and the mobile terminal of a kind of Message Processing based on mobile terminal |
CN106357921A (en) * | 2016-10-10 | 2017-01-25 | 广东欧珀移动通信有限公司 | Application data sharing method, application data sharing device and mobile terminal |
CN107247622A (en) * | 2017-05-31 | 2017-10-13 | 湖南机友科技有限公司 | A kind of collocation method and device for opening application more |
CN107608746A (en) * | 2017-09-18 | 2018-01-19 | 北京奇虎科技有限公司 | A kind of optimization method and device for opening application more |
CN108287765A (en) * | 2018-01-24 | 2018-07-17 | 青岛海信移动通信技术股份有限公司 | Application data sharing method and terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134900A (en) * | 2019-04-18 | 2019-08-16 | 深圳壹账通智能科技有限公司 | Page data sharing method, device, computer equipment and storage medium |
CN111124569A (en) * | 2019-12-05 | 2020-05-08 | 维沃移动通信有限公司 | Application sharing method, electronic equipment and computer readable storage medium |
CN112019422A (en) * | 2020-08-24 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Information sharing method, information processing method, related device and equipment |
CN116049118A (en) * | 2022-05-27 | 2023-05-02 | 荣耀终端有限公司 | File sharing method and electronic equipment |
CN116049118B (en) * | 2022-05-27 | 2023-11-07 | 荣耀终端有限公司 | File sharing method and electronic equipment |
CN115002685A (en) * | 2022-07-14 | 2022-09-02 | 深圳市利诺威科技有限公司 | Method and system for transmitting image data |
WO2024055867A1 (en) * | 2022-09-15 | 2024-03-21 | 荣耀终端有限公司 | Application cloning-based interface display method and related apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN109117208B (en) | 2022-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109117208A (en) | Information sharing method, device, user terminal and readable storage medium storing program for executing | |
CN108293081B (en) | Deep linking of program playback to mobile application state through user interface events | |
US9215074B2 (en) | Expressing intent to control behavior of application components | |
US20200167174A1 (en) | System and method for identifying, indexing, and navigating to deep states of mobile applications | |
US9116608B2 (en) | Activation of dormant features in native applications | |
US10911565B2 (en) | Method, device and system for associating a service account | |
US9189132B2 (en) | Dynamic configurable menu using self-describing applications | |
CN110348236A (en) | A kind of operating right setting method, device and the storage medium of file | |
CN109074277A (en) | Stateful dynamic link is enabled in mobile application | |
CN104486430A (en) | Method, device and client for realizing data sharing in mobile browser client | |
CN104360794A (en) | Method and device for controlling window pop-up through full screen-identifying mode | |
JP6074516B2 (en) | Method, apparatus, facility, program and recording medium for adding plug-in to address book | |
CN103677527A (en) | Suspension problem interaction control display method and device suitable for mobile terminal | |
WO2013142321A1 (en) | Providing information about a web application or extension offered by website based on information about the application or extension gathered from a trusted site | |
CN106027597B (en) | A kind of method and server of offline file transmission | |
KR20140143028A (en) | Method for operating program and an electronic device thereof | |
CN105335435B (en) | File management method and information processing equipment | |
CN104360925B (en) | Statistics application program uses the method and device of frequency | |
CN109074278A (en) | Verify the stateful dynamic link in mobile application | |
CN107704241B (en) | Display method and device for page state switching | |
CN107533618A (en) | Protect data from unwarranted access | |
CN103577747A (en) | Mobile equipment privacy protection device and method | |
CN110708294A (en) | Interactive information issuing and processing method and device, electronic equipment and medium | |
CN106503062A (en) | A kind of social dynamic dissemination method and device, user terminal | |
CN104461741B (en) | Graphics device interface based computing device optimizing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |