CN106484500A - A kind of application operation method and device - Google Patents
A kind of application operation method and device Download PDFInfo
- Publication number
- CN106484500A CN106484500A CN201510532004.9A CN201510532004A CN106484500A CN 106484500 A CN106484500 A CN 106484500A CN 201510532004 A CN201510532004 A CN 201510532004A CN 106484500 A CN106484500 A CN 106484500A
- Authority
- CN
- China
- Prior art keywords
- case
- instance
- master instance
- application program
- case process
- 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.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
A kind of application operation method and device is embodiments provided, described method includes:The case process of configuration application program, wherein, the case process includes that master instance process and at least one, from case process, uniquely represents a case process using instance identification;Distinguish according to the instance identification and call master instance process or from the corresponding application program of case process;Process message is processed by the master instance process called or from case process.Multiple case process can be configured for an application program, so as in a mobile device for same application while running multiple, so as to accurately determine the case process for processing message, user can log in multiple accounts simultaneously in a mobile device, time-consuming.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of application operation method and one kind should
Use running gear.
Background technology
Android (Android) is the operating system of a kind of freedom based on Linux and open source code, main
Mobile device to be applied to, such as smart mobile phone and panel computer etc..
Using android system equipment in, user can install in android system various not
Same application program, but, user is applied used in the equipment of android system during application program
Program can only start one.The social activities such as such as QQ, wechat, microblogging, instant messaging application can only start
One application program, if user has multiple wechat accounts, due to can not start multiple wechat simultaneously, because
This can only log in a wechat account, be accomplished by exiting current account in wechat to log in other accounts
Number, then other accounts are logged in, and complex operation, affect efficiency.
Content of the invention
In view of the above problems, it is proposed that the present invention overcomes the problems referred to above or at least part of to provide one kind
The application operation method that solves the above problems and corresponding application running gear.
According to one aspect of the present invention, there is provided a kind of application operation method, including:Configuration application journey
The case process of sequence, wherein, the case process includes master instance process and at least one from case process,
One case process is uniquely represented using instance identification;Distinguishing according to the instance identification calls master instance to enter
Journey or from the corresponding application program of case process;By the master instance process called or from case process to entering
Journey message is processed.
Optionally, the case process of the configuration application program, including:A master is registered for application process
Case process, configures the instance identification of the master instance process;For the master instance process registers at least
Individual from case process, configure each instance identification from case process.
Optionally, also include:Primary storage catalogue for the master instance process configuration data storage address;
Under the primary storage catalogue, each stores mesh from the son of the address data memory of case process respectively for configuration
Record.
Optionally, distinguish according to the instance identification and call master instance process or answer from case process is corresponding
With program, including:Instance identification is obtained from process message;Determine the corresponding main reality of the instance identification
Example process or from case process, calls the master instance process or from the corresponding application program of case process.
Optionally, the operating system is android system;Then distinguish according to the instance identification and call
Master instance process or from the corresponding application program of case process, including:Zygote process calls local function
Establishment process, is that process profile instance mark determines establishment master instance process or from case process;Plus
Carry master instance process or from the class function needed for case process, run the application program.
Optionally, process message is processed by the master instance process called or from case process, bag
Include:The process message is sent to the master instance process called or from case process, is called using described
Master instance process or process the process message from case process.
Optionally, also include:The application message that the master instance process is corresponded to application program is stored to institute
State under primary storage catalogue;Or, the application message for corresponding to application program from case process is stored to son
Under storage catalogue, to execute storage isolation.
Optionally, also include:Application is respectively configured with each from case process for the master instance process to retouch
Information is stated, wherein, the application description information includes application icon and Apply Names;In the user interface
Show each application description information.
Optionally, also include:Based on case process be respectively configured account with from the corresponding application program of case process
Number information.
Optionally, also include:By at least one account information configuration for corresponding to application program from case process
For secret account.
Optionally, also include:While running at least two case process of same application, wherein, institute
Stating case process at least includes one from case process.
Optionally, also include:Same application and meanwhile run two case process between transmit into
Journey message.
Optionally, the type of the application program includes following at least one:Instant messaging class application, society
Hand over class application.
A kind of other side according to embodiments of the present invention, there is provided application running gear, including:Real
Example control module, for configuring the case process of application program, wherein, the case process includes main reality
Example process and at least one uniquely represents a case process from case process using instance identification;Collaboration
Control module, calls master instance process or corresponding from case process for distinguishing according to the instance identification
Application program;Process message is processed by the master instance process called or from case process.
Optionally, the example control module, including:First configuration submodule, for for application process
One master instance process of registration, configures the instance identification of the master instance process;Second configuration submodule,
For for the master instance process registers at least one from case process, configuring each reality from case process
Example mark.
Optionally, also include:Storage control module, for storing for the master instance process configuration data
The primary storage catalogue of address;Configure respectively that each is deposited from the data of case process under the primary storage catalogue
The sub- storage catalogue of storage address.
Optionally, the Collaborative Control module, including:Acquisition submodule, for obtaining from process message
Take instance identification;Submodule is called, for determining the corresponding master instance process of the instance identification or from reality
Example process, calls the master instance process or from the corresponding application program of case process.
Optionally, the operating system is android system;The Collaborative Control module, including:Wound
Submodule is built, local function creation process is called for Zygote process, be the process profile instance
Mark determines establishment master instance process or from case process;Operation submodule, for loading master instance process
Or from the class function needed for case process, run the application program.
Optionally, the Collaborative Control module, including:Message Processing submodule, for by the process
Message is sent to the master instance process called or from case process, using the master instance process that calls or
The process message is processed from case process.
Optionally, the storage control module, is additionally operable to for the master instance process to correspond to application program
Application message storage is under the primary storage catalogue;Or, corresponding to application program by described from case process
Application message storage is isolated with executing storage under sub- storage catalogue.
Optionally, example control module, is additionally operable to divide from case process with each for the master instance process
Description information Pei Zhi not be applied, wherein, the application description information includes application icon and Apply Names;
Show each application description information in the user interface.
Optionally, the Collaborative Control module, be additionally operable to based on case process with from case process corresponding should
Account information is respectively configured with program.
Optionally, the Collaborative Control module, is additionally operable to correspond to application journey by least one from case process
The account information of sequence is configured to secret account.
Optionally, the Collaborative Control module, is additionally operable to while running same application at least two in fact
Example process, wherein, the case process at least includes one from case process.
Optionally, the Collaborative Control module, is additionally operable in same application two realities while running
Process message is transmitted between example process.
Optionally, the type of the application program includes following at least one:Instant messaging class application, society
Hand over class application.
The master instance process and at least one of configuration application program is from case process, unique using instance identification
Represent a case process such that it is able to multiple case process are configured for an application program, so as to move
In dynamic equipment for same application and meanwhile run multiple, can using instance identification distinguish call main reality
Example process or from the corresponding application program of case process, by the master instance process called or from case process
Process message is processed such that it is able to accurately determine the case process for processing message, user is permissible
While log in multiple accounts in a mobile device, time-consuming.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and being practiced according to the content of specification, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of application operation method embodiment according to an embodiment of the invention is flowed
Cheng Tu;
The step of Fig. 2 shows a kind of application operation method embodiment in accordance with another embodiment of the present invention
Flow chart;
Fig. 3 shows application display schematic diagram according to embodiments of the present invention;
Fig. 4 shows a kind of structural frames of application running gear embodiment according to an embodiment of the invention
Figure;
Fig. 5 shows a kind of structure of application running gear embodiment in accordance with another embodiment of the present invention
Block diagram.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although show in accompanying drawing
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.Conversely, provide these embodiments being able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment one
With reference to Fig. 1, a kind of application operation method embodiment according to an embodiment of the invention is shown
Flow chart of steps, specifically may include steps of:
Step 102, configures the case process of application program.
The embodiment of the present invention is applied to mobile device, the operating system of the mobile device is suitable for by the present embodiment
Including ios, Android and Windows Phone etc..In the operating system of mobile device, same
Individual application program (Application, APP) generally only allows operation one.And QQ, wechat, microblogging
Deng social, instant messaging application, a user can generally register multiple accounts, be only capable of in systems opening
A dynamic application program may result in user in a mobile device cannot be while use to individual account, using non-
Normal inconvenience.
In the embodiment of the present invention in the operating system for application program profile instance process when, can be each
Application program configures multiple case process, wherein, case process include master instance process and at least one from
Case process, i.e., not only can configure master instance process for application program, can also configure at least one
From case process.From by operation master instance process and from case process in systems to same application
While running multiple processes.Wherein, a case process is uniquely represented by instance identification, therefore main reality
Example process is respectively provided with unique instance identification (identity, ID) with each from case process.
Step 104, distinguishes according to the instance identification and calls master instance process or corresponding from case process
Application program.
When starting or communicate messages to the case process for running in an operating system, instance identification can be passed through
Case process is made a distinction, is determined and the corresponding application program of master instance process is called, or call from example
The corresponding application program of process.The collaboration that realizes between different instances process is processed, i.e. Case-based Reasoning ID area
Divide different process instances.
Step 106, is processed to process message by the master instance process called or from case process.
After process message is received, the instance identification of process message can be obtained, so as to process disappears
Breath is transferred to corresponding master instance process or from case process, using the master instance process or from case process
Process message process is processed.Wherein, case process can be according to reality to the process operation of process message
Message determine that the embodiment of the present invention is not construed as limiting to this.
In sum, the master instance process and at least one of application program is configured from case process, using reality
Example mark uniquely represents a case process such that it is able to configures multiple examples for an application program and enters
Journey, multiple so as to run for same application in a mobile device simultaneously, instance identification can be adopted
Differentiation calls master instance process or from the corresponding application program of case process, by the master instance process that calls
Or process message is processed from case process such that it is able to accurately determine that the example for processing message enters
Journey, user can log in multiple accounts simultaneously in a mobile device, time-consuming.
Embodiment two
On the basis of above-described embodiment, the present embodiment is discussed in detail on the mobile apparatus to same application journey
Sequence runs multiple steps of realizing simultaneously, and wherein, the present embodiment is described by taking android system as an example.
With reference to Fig. 2, a kind of application operation method embodiment in accordance with another embodiment of the present invention is shown
The step of flow chart, specifically may include steps of:
Step 202, is that application process registers a master instance process, configures the reality of the master instance process
Example mark.
Step 204, be the master instance process registers at least one from case process, configure each from reality
The instance identification of example process.
In the embodiment of the present invention, in order in a mobile device to an application program while running multiple
Process, to realize many accounts while logging in use, can register a master instance for an application program and entering
Journey, and for the master instance process registers at least one from case process, can be right from an application program
A master instance process and at least one is answered from case process, during registration based on case process and
Each is respectively configured example ID from case process, subsequently to make a distinction to different case process.
For example, it is case process registration euid, the extension mark as process is that example ID is many to support
Case process.While the list of the software kit of its operation can also be configured for case process, determine which can
The application program of operation.
In the embodiment of the present invention, the process registers of case process carry out including process identity, process name,
The information such as software kit name.The present embodiment realizes many examples of process i.e. each application program using ID labelling method
Multi-process example, therefore distinguish different case process by example ID.For example, master instance enters
Journey is id=0, one from case process id=1, another is from case process id=2 etc..
Step 206, is the primary storage catalogue of the master instance process configuration data storage address.
Step 208, configuration under the primary storage catalogue distinguish each data storage ground from case process
The sub- storage catalogue of location.
Based on case process and from case process distribute memory space, wherein, be that the master instance process is joined
Address data memory is put, determines the primary storage catalogue that the address data memory is located, then can be in the number
According to being to distribute address data memory from customer instance in storage address, i.e., configuration under the primary storage catalogue divides
Each is not from the sub- storage catalogue of the address data memory of case process, data so as to master instance process and
It is isolation from the data of case process.
Wherein, the memory space of mobile device includes the device space and external space, and external space is by moving
The external storage card of equipment is provided, external storage card such as SD (Secure Digital, secure digital) card,
MiniSD, microSD or T-Flash (TransFLash) card etc., therefore address data memory includes to set
The standby address data memory in space and the address data memory in external space.
For example, master instance process in the primary storage catalogue of the device space is:/ data/data/XXXX/, outward
Primary storage catalogue between being empty is:/sdcard/Android/data/XXX/;Accordingly, exist from case process
Sub- storage catalogue under the primary storage catalogue of the device space is:/ data/data/XXXX/.1/, external space
Primary storage catalogue under sub- storage catalogue be:/sdcard/Android/data/XXX/.1/.
Step 210, is that the master instance process is respectively configured application description information with each from case process.
Step 212, shows each application description information in the user interface.
In the embodiment of the present invention, multiple case process, each reality is configured for application program in a mobile device
Example process can all run the application program, so as to support many accounts of social activity, instant messaging class application program
Family at the same log in, use, therefore can based on case process and each be respectively configured application from case process
Description information, the application description information include application icon and Apply Names, then in mobile device
User interface, such as Application Program Interface, main interface etc. show multiple application icons of an application program.
Wherein, the logged in account information of application is distinguished for the ease of user, can be an application program
The different instances process different application description informations of configuration, i.e., in the base for embodying application program title itself
Again can be otherwise varied on plinth.For example application icon can be made a distinction according to color, such as the application of wechat
With green as mass-tone, then master instance process configures original application icon to icon, and configures from case process
The application icon of extension as different to the extension of Icon Color process, such as from the application icon of case process 1 with
Blue is mass-tone, from the application icon of case process 2 with pink colour as mass-tone etc..Can also be from Apply Names
On make a distinction, the such as original Apply Names of master instance process configuration, from case process configure extension should
With title, it is wechat that such as master instance process corresponds to Apply Names, and it is micro- to correspond to Apply Names from case process
Letter attend to anything else as shown in figure 3, and for example multiple from case process when, corresponding Apply Names is wechat 1, wechat
2nd ... wechat n etc..This just can quickly be distinguished by application icon and Apply Names so as to user
The different account information logged in by application program.
In the embodiment of the present invention, based on case process be respectively configured account with from the corresponding application program of case process
Number information, i.e. user can log in an account information when using master instance process using application program,
Using from case process using can log in another account information during application program, and when using foundation
Application icon and Apply Names just can intuitively distinguish the corresponding application program of each account.
In the embodiment of the present invention, at least two case process of same application can be run simultaneously, so as to
The support logged in by many accounts is realized, wherein, the case process at least includes one from case process,
I.e. while two case process of operation can be all from case process, or a master instance process
With one from case process.
Case process includes in an operating system to create and runs two states, by different instance identification
Make a distinction, then create case process when, according to the instance identification distinguish call master instance process or
From the corresponding application program of case process, including:Zygote process calls local function creation process, is
The process profile instance mark determines establishment master instance process or from case process;Load master instance process
Or from the class function needed for case process, run the application program.When the case process of operation is called
Distinguish according to the instance identification and call master instance process or from the corresponding application program of case process, wrap
Include:Instance identification is obtained from process message;Determine the corresponding master instance process of the instance identification or from
Case process, calls the master instance process or from the corresponding application program of case process.
Step 214, Zygote process call local function creation process, are the process profile instance mark
Know and determine establishment master instance process or from case process.
Step 216, loads master instance process or from the class function needed for case process, runs the application
Program.
Zygote process is alternatively referred to as sub-processes, be in android system application one considerable
Process, his major function are just carried out Android application program, i.e., most program process
All created by zygote process, wherein, Zygote process can be set up the environment of operation and start
Virtual machine.In android system, each application program is each with a Dalvik virtual machine from category
To run, in actual treatment, the example for running application program by Zygote process initiation virtual machine enters
Journey, i.e. read requests information, comprising the parameter options for creating new process, analysis request in the solicited message
In information is string data, including gid, uid etc. of application program, such as passes through
Zygote.forkAndSpecialize () method receives the parameter of analysis, calls the nation method of Zygote class
forkAndSpecialize().Then local function creation process is called.Local function fork () is such as called,
New process is created, old complaint arranges gid, uid etc. according to the transmission option of new process.Reload master instance process
Or from the class function needed for case process, i.e. class needed for loading process and the main () method of class is called,
Startup optimization master instance process or the application program from case process.
Step 218, obtains instance identification from process message.
Step 220, determines the corresponding master instance process of the instance identification or from case process, calls institute
State master instance process or from the corresponding application program of case process.
Process message can be received before case process starts, instance identification is determined according to the process message
After can start corresponding master instance process or from case process, then process message process is processed.?
Instance identification can also be obtained from process message in operation, determine the corresponding master instance of the instance identification
Process or from case process, then calls the master instance process or from the corresponding application journey of case process
Sequence, determines the master instance process that transmits needed for a process message or from case process by example ID.
Step 222, the process message is sent to the master instance process called or from case process, adopts
The process message is processed with the master instance process that calls or from case process.
The present embodiment can run the corresponding application program of many case process in systems, such as one
Application program is separately operable using master instance process and from case process, therefore can also be received process and be disappeared
Breath, such as the wechat message of network transmission, therefore after the corresponding process instance of startup optimization, can be by institute
State process message and be sent to the master instance process called or from case process, using the master instance for calling
Process processes the process message from case process, and such as parsing process message obtains message content and then carries
Show user, or the mobile device for showing is medium.
Step 224, the application message storage that the master instance process is corresponded to application program arrive the main memory
Under storage catalogue;The application message for application program being corresponded to from case process is stored to sub- storage catalogue
Under.
After master instance process processes the related news of application program, corresponding application message can be generated, permissible
Application message is stored under primary storage catalogue.After the related news for application program being processed from case process,
Also corresponding application message can be generated, application message can be stored to and should deposit from the corresponding son of case process
Under storage catalogue, it is stored under different storage catalogues, in case process so as to the message of different instances process
Need to call application message information can be obtained from the storage catalogue corresponding data storage address of itself, make
With very convenient.
In the embodiment of the present invention, the type of the application program includes following at least one:Instant messaging class
Application, social class application.User would generally be registered when using instant messaging class application, social class application
Multiple accounts, in order that multiple accounts can be logged in simultaneously, for example, have for a lot of people while using
The demand of two wechat, a wechat are used for work, carry out daily exchange in job market;Another is used for individual
People lives, and belongs to the category for comparing secret.The present embodiment can run same application journey in a mobile device
Multiple case process of sequence, i.e., while run at least two case process of same application, wherein, institute
Stating case process at least includes one from case process.Same in a mobile device such as mobile phone so as to realize
The function of two wechat of Shi Yunhang, this are two in a built-in function of the operating system of mobile device
Wechat can receive simultaneously send message, brush circle of friends, do not interfere with each other.
Therefore can based on case process correspond to application program with each from the corresponding application program of case process
It is respectively configured account information, i.e. master instance process and application program one account of login is corresponded to, and each from example
Process corresponds to application program and logs in corresponding account respectively, realizes logging in while many accounts and uses.
In a preferred embodiment of the invention, by least one account for corresponding to application program from case process
Information configuration is secret account.Pass through the account login user personal account, preserve corresponding secret letter
The data space of the secret account corresponding instance process such as is configured to encrypt space, needs solution by breath
Close could access.
Multiple case process of an application program are while run, i.e., difference accounts is same in a mobile device
Shi Denglu and use, therefore in same application while transmit process between two case process for running
Message, the case process at least include one from case process, i.e., while two case process of operation
Can be all from case process, or a master instance process and one from case process, so as to
Family can send message mutually between the multiple accounts of oneself.It can be seen that, in the embodiment of the present invention, two are entered
Journey example is in a file system, can exchange visits between different process instances.
For embodiment of the method, in order to be briefly described, therefore which is all expressed as a series of combination of actions,
But those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement
System, because according to the embodiment of the present invention, some steps using other orders or while can be carried out.Its
Secondary, those skilled in the art should also know, embodiment described in this description belongs to be preferable to carry out
, necessary to the involved action not necessarily embodiment of the present invention.
Embodiment three
On the basis of above-described embodiment, the present embodiment also discloses a kind of application running gear.
With reference to Fig. 4, a kind of application running gear embodiment according to an embodiment of the invention is shown
Structured flowchart, specifically can include as lower module:
Example control module 402, for configuring the case process of application program, wherein, the example enters
Journey includes that master instance process and at least one, from case process, uniquely represents an example using instance identification
Process.
Collaborative Control module 404, calls master instance process or from reality for distinguishing according to the instance identification
The corresponding application program of example process;Process message is entered by the master instance process called or from case process
Row is processed.
To sum up, the master instance process and at least one of application program is configured from case process, using example mark
Know uniquely and represent a case process such that it is able to multiple case process are configured for an application program, from
And in a mobile device for same application and meanwhile run multiple, can using instance identification distinguish adjust
With master instance process or from the corresponding application program of case process, by the master instance process called or from reality
Example process is processed to process message such that it is able to is accurately determined the case process for processing message, is used
Family can log in multiple accounts simultaneously in a mobile device, time-consuming.
With reference to Fig. 5, a kind of application running gear embodiment in accordance with another embodiment of the present invention is shown
Structured flowchart, specifically can include as lower module:
Example control module 502, for configuring the case process of application program, wherein, the example enters
Journey includes that master instance process and at least one, from case process, uniquely represents an example using instance identification
Process.
Storage control module 506, for the primary storage for the master instance process configuration data storage address
Catalogue;Configure respectively that each is deposited from the son of the address data memory of case process under the primary storage catalogue
Storage catalogue.
Collaborative Control module 504, calls master instance process or from reality for distinguishing according to the instance identification
The corresponding application program of example process;Process message is entered by the master instance process called or from case process
Row is processed.
The example control module 502, including:First configuration submodule 50202, for for apply into
Journey registers a master instance process, configures the instance identification of the master instance process;Second configuration submodule
50204, for for the master instance process registers at least one from case process, configuring each from example
The instance identification of process.
In one alternative embodiment of the present invention, the Collaborative Control module 504, including:Acquisition submodule
50402, for obtaining instance identification from process message;Submodule 50404 is called, described for determining
The corresponding master instance process of instance identification or from case process, calls the master instance process or enters from example
The corresponding application program of journey.
In another alternative embodiment of the present invention, the operating system is android system;The collaboration
Control module 504, including:Submodule 50406 is created, calls local function to create for Zygote process
Process is built, is that process profile instance mark determines establishment master instance process or from case process;Operation
Submodule 50408, for loading master instance process or from the class function needed for case process, running described
Application program.
The Collaborative Control module 504, also includes:Message Processing submodule 50410, for will be described
Process message is sent to the master instance process called or from case process, is entered using the master instance for calling
Journey processes the process message from case process.
The storage control module 506, is additionally operable to the master instance process is corresponded to the application of application program
Information Store is under the primary storage catalogue;Or, by described from case process correspond to application program application
Information Store is isolated with executing storage under sub- storage catalogue.
Example control module 502, is additionally operable to join from case process respectively with each for the master instance process
Application description information is put, wherein, the application description information includes application icon and Apply Names;With
Show each application description information in the interface of family.
The Collaborative Control module, be additionally operable to based on case process with divide from the corresponding application program of case process
Pei Zhi not account information.
The Collaborative Control module, is additionally operable at least one account for corresponding to application program from case process
Information configuration is secret account.
The Collaborative Control module, is additionally operable to while run at least two case process of same application,
Wherein, the case process at least includes one from case process.
The Collaborative Control module, be additionally operable in same application and meanwhile two case process running it
Between transmit process message.
In the embodiment of the present invention, the type of the application program includes following at least one:Instant messaging class
Application, social class application.
Multiple case process of an application program are while run, i.e., difference accounts is same in a mobile device
Shi Denglu and use, therefore in same application while transmit process between two case process for running
Message, the case process at least include one from case process, i.e., while two case process of operation
Can be all from case process, or a master instance process and one from case process, so as to
Family can send message mutually between the multiple accounts of oneself.It can be seen that, in the embodiment of the present invention, two are entered
Journey example is in a file system, can exchange visits between different process instances.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison of description
Simply, related part is illustrated referring to the part of embodiment of the method.
Algorithm and display are solid with any certain computer, virtual system or miscellaneous equipment provided herein
There is correlation.Various general-purpose systems can also be used together based on teaching in this.As described above,
It is obvious to construct the structure required by this kind of system.Additionally, the present invention be also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description that above language-specific is done be in order to disclose the preferred forms of the present invention.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
Known method, structure and technology is shown specifically, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
Or multiple, in description above to the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.However, should not be by the disclosure
Method be construed to reflect following intention:I.e. the present invention for required protection requires ratio in each claim
The more features of middle feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right
Separate embodiments of the requirement all as the present invention itself.
Those skilled in the art are appreciated that can be carried out to the module in the equipment in embodiment certainly
Adaptively change and they are arranged in one or more equipment different from the embodiment.Permissible
Module in embodiment or unit or component are combined into a module or unit or component, and in addition may be used
To be divided into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit is excluded each other, (companion can be included to this specification using any combinations
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can, equivalent identical by offer or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include which
Included some features rather than further feature in its embodiment, but the group of the feature of different embodiments
Closing means to be within the scope of the present invention and formed different embodiments.For example, in following power
In sharp claim, embodiment required for protection one of arbitrarily can in any combination mode making
With.
The all parts embodiment of the present invention can be realized with hardware, or with one or more process
The software module that runs on device is realized, or is realized with combinations thereof.Those skilled in the art should
Understand, basis can be realized using microprocessor or digital signal processor (DSP) in practice
The embodiment of the present invention application operation method and appliance arrangement in some or all parts some or
Person's repertoire.The present invention be also implemented as execute method as described herein a part or
Whole equipment or program of device (for example, computer program and computer program).Such
The program for realizing the present invention can be stored on a computer-readable medium, or can be with one or many
The form of individual signal.Such signal can be downloaded from internet website and be obtained, or in carrier signal
Upper offer, or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention,
And those skilled in the art can design replacement without departing from the scope of the appended claims
Embodiment.In the claims, any reference symbol Wei Yu bracket between should not be configured to right
The restriction of requirement.Word "comprising" does not exclude the presence of element not listed in the claims or step.Position
Word "a" or "an" before element does not exclude the presence of multiple such elements.The present invention can
To realize by means of the hardware for including some different elements and by means of properly programmed computer.
If in the unit claim for listing equipment for drying, several in these devices can be by same
Individual hardware branch is embodying.The use of word first, second, and third does not indicate that any order.
These words can be construed to title.
The invention discloses A1, a kind of application operation method, including:The example of configuration application program enters
Journey, wherein, the case process includes master instance process and at least one from case process, using example
Mark uniquely represents a case process;Distinguish according to the instance identification and call master instance process or from reality
The corresponding application program of example process;Process message is entered by the master instance process called or from case process
Row is processed.
A2, the method as described in A1, the case process of the configuration application program, including:For application
One master instance process of process registers, configures the instance identification of the master instance process;For the master instance
Process registers at least one configure each instance identification from case process from case process.
A3, the method as described in A2, it is characterised in that also include:Configure for the master instance process
The primary storage catalogue of address data memory;Under the primary storage catalogue, configuration distinguishes each from case process
Address data memory sub- storage catalogue.
A4, the method as described in A1, distinguish according to the instance identification and call master instance process or from reality
The corresponding application program of example process, including:Instance identification is obtained from process message;Determine the example
Identify corresponding master instance process or from case process, call the master instance process or from case process pair
The application program that answers.
A5, the method as described in A1, the operating system are android system;Then according to the reality
Example mark differentiation calls master instance process or from the corresponding application program of case process, including:Zygote enters
Journey calls local function creation process, be the process profile instance mark determine create master instance process or
From case process;Load master instance process or from the class function needed for case process, run the application journey
Sequence.
A6, the method as described in A3, are disappeared to process by the master instance process called or from case process
Breath is processed, including:The process message is sent to the master instance process called or from case process,
The process message is processed using the master instance process that calls or from case process.
A7, the method as described in A3, also include:The master instance process is corresponded to answering for application program
With under information Store to the primary storage catalogue;Or, corresponding to answering for application program by described from case process
With under information Store to sub- storage catalogue, to execute storage isolation.
A8, the method as described in A1, also include:For the master instance process with each from case process
Application description information is respectively configured, wherein, the application description information includes application icon and Apply Names;
Show each application description information in the user interface.
A9, the method as described in A1, also include:Based on case process with from case process corresponding application
Program is respectively configured account information.
A10, the method as described in A9, also include:At least one is corresponded to application journey from case process
The account information of sequence is configured to secret account.
A11, the method as described in A1 to A10 is arbitrary, also include:While running same application
At least two case process, wherein, the case process at least includes one from case process.
A12, the method as described in A11, also include:In same application while two realities that runs
Process message is transmitted between example process.
A13, the method as described in A12, the type of the application program include following at least one:I.e.
When communication class application, social class application.
The embodiment of the invention also discloses B14, a kind of application running gear, including:Example control module,
For configuring the case process of application program, wherein, the case process includes master instance process and at least
One, from case process, uniquely represents a case process using instance identification;Collaborative Control module, uses
Master instance process is called or from the corresponding application program of case process in distinguishing according to the instance identification;Logical
Cross the master instance process called or process message is processed from case process.
B15, the device as described in B14, the example control module, including:First configuration submodule,
For a master instance process being registered for application process, configure the instance identification of the master instance process;The
Two configuration submodules, for for the master instance process registers at least one from case process, configuring each
Instance identification from case process.
B16, the device as described in B15, also include:Storage control module, for for the master instance
The primary storage catalogue of process configuration data storage address;Under the primary storage catalogue configuration respectively each from
The sub- storage catalogue of the address data memory of case process.
B17, the device as described in B14, the Collaborative Control module, including:Acquisition submodule, uses
In acquisition instance identification from process message;Submodule is called, corresponding for determining the instance identification
Master instance process or from case process, calls the master instance process or from the corresponding application journey of case process
Sequence.
B18, the device as described in B14, the operating system are android system;The collaboration control
Molding block, including:Submodule is created, and local function creation process is called for Zygote process, is
The process profile instance mark determines establishment master instance process or from case process;Operation submodule, uses
In loading master instance process or from the class function needed for case process, the application program is run.
B19, the device as described in B16, the Collaborative Control module, including:Message Processing submodule,
For the process message to be sent to the master instance process that calls or from case process, called using described
Master instance process or process the process message from case process.
B20, the device as described in B16, the storage control module, it is additionally operable to enter the master instance
Journey corresponds to the application message storage of application program under the primary storage catalogue;Or, entering described from example
Journey corresponds to the application message storage of application program under sub- storage catalogue, to execute storage isolation.
B21, the device as described in B14, example control module, be additionally operable to as the master instance process and
Each is respectively configured application description information from case process, and wherein, the application description information includes application
Icon and Apply Names;Show each application description information in the user interface.
B22, the device as described in B14, the Collaborative Control module, be additionally operable to based on case process and
Application program is corresponded to from case process and be respectively configured account information.
B23, the device as described in B22, the Collaborative Control module, it is additionally operable at least one from reality
Example process corresponds to the account information of application program and is configured to secret account.
B24, the device as described in B14 to B22 is arbitrary, the Collaborative Control module, be additionally operable to while
Operation at least two case process of same application, wherein, the case process at least include one from
Case process.
B25, the device as described in B24, the Collaborative Control module, it is additionally operable in same application
While transmitting process message between two case process of operation.
B26, the device as described in B25, it is characterised in that the type of the application program includes following
At least one:Instant messaging class application, social class application.
Claims (10)
1. one kind applies operation method, including:
The case process of configuration application program, wherein, the case process includes master instance process and at least
One, from case process, uniquely represents a case process using instance identification;
Distinguish according to the instance identification and call master instance process or from the corresponding application program of case process;
Process message is processed by the master instance process called or from case process.
2. the method for claim 1, it is characterised in that the example of the configuration application program
Process, including:
A master instance process is registered for application process, configure the instance identification of the master instance process;
For the master instance process registers at least one from case process, each reality from case process is configured
Example mark.
3. method as claimed in claim 2, it is characterised in that also include:
Primary storage catalogue for the master instance process configuration data storage address;
Configure respectively that each is deposited from the son of the address data memory of case process under the primary storage catalogue
Storage catalogue.
4. the method for claim 1, it is characterised in that distinguish according to the instance identification and adjust
With master instance process or from the corresponding application program of case process, including:
Instance identification is obtained from process message;
Determine the corresponding master instance process of the instance identification or from case process, call the master instance to enter
Journey or from the corresponding application program of case process.
5. method according to claim 1, it is characterised in that the operating system is Android
System;Then distinguish according to the instance identification and call master instance process or from the corresponding application journey of case process
Sequence, including:
Zygote process calls local function creation process, is that process profile instance mark determines establishment
Master instance process or from case process;
Load master instance process or from the class function needed for case process, run the application program.
6. method as claimed in claim 3, it is characterised in that by the master instance process called or
Process message is processed from case process, including:
The process message is sent to the master instance process called or from case process, is called using described
Master instance process or process the process message from case process.
7. method as claimed in claim 3, it is characterised in that also include:
The master instance process is corresponded to the application message storage of application program under the primary storage catalogue;
Or, store the application message for corresponding to application program from case process under sub- storage catalogue,
To execute storage isolation.
8. the method for claim 1, it is characterised in that also include:
Application description information is respectively configured with each from case process for the master instance process, wherein, institute
Stating application description information includes application icon and Apply Names;
Show each application description information in the user interface.
9. the method for claim 1, it is characterised in that also include:
Based on case process be respectively configured account information with from the corresponding application program of case process.
10. one kind applies running gear, including:
Example control module, for configuring the case process of application program, wherein, the case process bag
Master instance process and at least one is included from case process, uniquely represent that an example enters using instance identification
Journey;
Collaborative Control module, for calling master instance process according to instance identification differentiation or entering from example
The corresponding application program of journey;From carrying out to process message by the master instance process called or from case process
Reason.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510532004.9A CN106484500A (en) | 2015-08-26 | 2015-08-26 | A kind of application operation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510532004.9A CN106484500A (en) | 2015-08-26 | 2015-08-26 | A kind of application operation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106484500A true CN106484500A (en) | 2017-03-08 |
Family
ID=58233788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510532004.9A Pending CN106484500A (en) | 2015-08-26 | 2015-08-26 | A kind of application operation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106484500A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106940761A (en) * | 2017-03-27 | 2017-07-11 | 联想(北京)有限公司 | The control method and controller of a kind of application program |
CN109299608A (en) * | 2018-10-24 | 2019-02-01 | 武汉斗鱼网络科技有限公司 | It is a kind of based on hide window with the method and relevant apparatus of detection procedure example number |
CN109542714A (en) * | 2018-09-29 | 2019-03-29 | 中国平安人寿保险股份有限公司 | Method for monitoring application program and device, computer installation and computer storage medium |
CN111541604A (en) * | 2020-04-21 | 2020-08-14 | 招商局金融科技有限公司 | Session message processing method, electronic device and computer-readable storage medium |
CN111858041A (en) * | 2020-07-10 | 2020-10-30 | 中国联合网络通信集团有限公司 | Data processing method and server |
CN113190282A (en) * | 2021-04-07 | 2021-07-30 | 北京鲸鲮信息系统技术有限公司 | Android operating environment construction method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2746940A1 (en) * | 2012-12-20 | 2014-06-25 | Software AG | Heterogeneous cloud-store provider access systems, and/or associated methods |
CN104077180A (en) * | 2012-03-15 | 2014-10-01 | 北京奇虎科技有限公司 | Multi-process management method and device |
CN104199734A (en) * | 2014-09-12 | 2014-12-10 | 上海斐讯数据通信技术有限公司 | Android smart terminal based application multi-run management method and system |
-
2015
- 2015-08-26 CN CN201510532004.9A patent/CN106484500A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077180A (en) * | 2012-03-15 | 2014-10-01 | 北京奇虎科技有限公司 | Multi-process management method and device |
EP2746940A1 (en) * | 2012-12-20 | 2014-06-25 | Software AG | Heterogeneous cloud-store provider access systems, and/or associated methods |
CN104199734A (en) * | 2014-09-12 | 2014-12-10 | 上海斐讯数据通信技术有限公司 | Android smart terminal based application multi-run management method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106940761A (en) * | 2017-03-27 | 2017-07-11 | 联想(北京)有限公司 | The control method and controller of a kind of application program |
CN109542714A (en) * | 2018-09-29 | 2019-03-29 | 中国平安人寿保险股份有限公司 | Method for monitoring application program and device, computer installation and computer storage medium |
CN109299608A (en) * | 2018-10-24 | 2019-02-01 | 武汉斗鱼网络科技有限公司 | It is a kind of based on hide window with the method and relevant apparatus of detection procedure example number |
CN109299608B (en) * | 2018-10-24 | 2020-10-16 | 武汉斗鱼网络科技有限公司 | Method and related device for detecting number of process instances based on hidden window |
CN111541604A (en) * | 2020-04-21 | 2020-08-14 | 招商局金融科技有限公司 | Session message processing method, electronic device and computer-readable storage medium |
CN111858041A (en) * | 2020-07-10 | 2020-10-30 | 中国联合网络通信集团有限公司 | Data processing method and server |
CN111858041B (en) * | 2020-07-10 | 2023-06-30 | 中国联合网络通信集团有限公司 | Data processing method and server |
CN113190282A (en) * | 2021-04-07 | 2021-07-30 | 北京鲸鲮信息系统技术有限公司 | Android operating environment construction method and device |
CN113190282B (en) * | 2021-04-07 | 2024-04-09 | 北京字节跳动网络技术有限公司 | Android running environment construction method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106484500A (en) | A kind of application operation method and device | |
KR102329378B1 (en) | Techniques for intent-based search for bots | |
CN104093136B (en) | Obtain method and system, the virtual number service platform of virtual-number | |
CN103259920B (en) | Apparatus and method for portable terminal having dual subscriber identity module card | |
KR102318877B1 (en) | Apparatus and method for displaying user interface | |
CN110326255A (en) | Managing messaging protocol communications | |
CN104126330B (en) | Method and apparatus for emulating multinomial order | |
JP6453417B2 (en) | Dual SIM mobile communication device cloud identification method, device and system | |
KR102122803B1 (en) | Method and apparatus of providing sim profile for embedded universal integrated circuit card | |
US9877185B2 (en) | Techniques for phone number and data management | |
US20180181886A1 (en) | Reservation Management Terminal, Reservation Management Method and Reservation Management Program | |
CN103024698B (en) | A kind of method, system and the mobile terminal of information that integrating each contact person | |
CN107071723A (en) | With sharing user profile close to device | |
CN107274507A (en) | A kind of work attendance processing method, storage device and mobile terminal based on mobile terminal | |
CN106484501A (en) | A kind of application operation method and device | |
CN107368406A (en) | The method, apparatus and equipment of test application program | |
CN105453072A (en) | user-centric data maintenance | |
CN103634298B (en) | A kind of data base's connection processing method and device | |
CN106302368A (en) | Transaction methods and device | |
CN105530244A (en) | Method for controlling intelligent device by main control device and server | |
CN105100454B (en) | The providing method and offer device of conversation object evaluation information | |
WO2017028541A1 (en) | Mode permission management method, apparatus, and terminal | |
CN109344127A (en) | A kind of application icon management method, device and terminal device | |
US20180091450A1 (en) | Online chat questions segmentation and visualization | |
CN108062401A (en) | Using recommendation method, apparatus and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20170802 Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801 Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD. Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant before: Beijing Qihu Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170308 |
|
RJ01 | Rejection of invention patent application after publication |