CN107102893A - Using switching method and system - Google Patents
Using switching method and system Download PDFInfo
- Publication number
- CN107102893A CN107102893A CN201710200909.5A CN201710200909A CN107102893A CN 107102893 A CN107102893 A CN 107102893A CN 201710200909 A CN201710200909 A CN 201710200909A CN 107102893 A CN107102893 A CN 107102893A
- Authority
- CN
- China
- Prior art keywords
- storehouse
- application
- mark
- path
- redirects
- 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
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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Present disclose provides one kind application switching method and electronic equipment, seamlessly it can switch between applications.In accordance with an embodiment of the present disclosure, include using switching method:Multiple processes of the application of operation first on an electronic equipment, each process corresponds to different accounts;When a process call second apply when, record the information of the process, as described second application redirect path;And at the end of the second called application, path is redirected described in inquiry, the process is back to along path is redirected.
Description
Technical field
This disclosure relates to electronic technology field, in particular it relates to a kind of application switching method and system.
Background technology
With communication and the fast development of electronic technology, various electronic equipments (for example, smart mobile phone) are by more and more
Applied to daily life.Also various technologies are occurred in that to improve Consumer's Experience.Application suitable for smart mobile phone is more next
It is more so that the function of smart mobile phone is more and more diversified.For same application, user may have multiple accounts, or multiple
User may use same smart mobile phone, so that same application has multiple accounts of different user.
For example, (such as king is flourish for application of the current system environment to wechat (applying 1) and support wechat Account Logon or payment
Credit) (applying 2) all support many Account Logons, i.e. current system exist wechat 1 (the wechat application of account 1), wechat 2 (account 2
Wechat application) and king's honor 1 (king's honor application of account 1), king's honor 2 (king's honor application of account 2).When with
When family is logged in or paid in king's honor using wechat account, such as in king's honor 1, user selection wechat 2 log in or
Pay, it is necessary to which proper authorization result and credential information are returned into king's honor after wechat 2 has handled login or payment flow
1 to complete whole flow process.Due to system can not know active user need start be which account king's honor application, because
This causes user when using the application for supporting many Account Logons, the problems such as page starts failure or redirects mistake occurs.
Existing solution is, when the application for finding to be currently up is uncertain, by pop-up box there is provided interface, with
The application for needing to start is selected for user.
The shortcoming of the program is that the startup of the application returned needs user to participate in, and flow is complicated, once selection mistake can be led
Cause program can not correctly be run, and influence the fluency of interaction.
Accordingly, it would be desirable to which a kind of can seamlessly switch the method for application.
The content of the invention
An aspect of this disclosure provides one kind application switching method, including:Operation first should on an electronic equipment
Multiple processes, each process corresponds to different accounts;When a process call second apply when, record the letter of the process
Breath, path is redirected as the described second application;And at the end of the second called application, path is redirected described in inquiry,
The process is back to along path is redirected.
According to one embodiment of the disclosure, the path record that redirects has the mark of the corresponding account of the process.
According to one embodiment of the disclosure, the path that redirects is recorded as storehouse or table.
According to one embodiment of the disclosure, recording the path that redirects of second application includes:To the process and institute
The storehouse for stating one of the second application adds following information:The mark of this storehouse;Redirect the mark of storehouse.
According to one embodiment of the disclosure, recording the path that redirects of second application also includes:Storage association storehouse,
The association storehouse is included:The mark of this storehouse, redirects the mark of storehouse;Wherein, redirecting in the storehouse of second application
The mark of storehouse indicates the association storehouse, and the heap of the mark instruction process for redirecting storehouse of the association storehouse
Stack.
Another aspect of the present disclosure provides a kind of electronic equipment, including:Memory, be stored with machine readable instructions;Place
Device is managed, following operate is performed when being configured as running the instruction:Multiple processes of the application of operation first, each process corresponds to
Different accounts;When a process call second apply when, record the information of the process, as described second application redirect road
Footpath;And at the end of the second called application, path is redirected described in inquiry, the process is back to along path is redirected.
Another aspect of the present disclosure provides a kind of computer-readable storage medium, and be stored with computer program, the computer
Program causes computing device method according to the present disclosure when by computing device.
Brief description of the drawings
In order to be more fully understood from the disclosure and its advantage, referring now to the following description with reference to accompanying drawing, wherein:
Fig. 1 diagrammatically illustrates the application scenarios of application switching method in accordance with an embodiment of the present disclosure;
Fig. 2 diagrammatically illustrates the flow chart of application switching method in accordance with an embodiment of the present disclosure;
Fig. 3 shows the schematic diagram of the execution of application switching method in accordance with an embodiment of the present disclosure;And
Fig. 4 diagrammatically illustrates the block diagram of the structure of electronic equipment in accordance with an embodiment of the present disclosure.
Embodiment
According to reference to accompanying drawing to the described in detail below of disclosure exemplary embodiment, other side, the advantage of the disclosure
It is will become obvious with prominent features for those skilled in the art.
In the disclosure, term " comprising " and " containing " and its derivative mean including and it is unrestricted;Term "or" is bag
Containing property, mean and/or.
In this manual, following various embodiments for being used to describe disclosure principle are explanation, should not be with any
Mode is construed to limit scope of disclosure.Referring to the drawings described below is used to help comprehensive understanding by claim and its equivalent
The exemplary embodiment for the disclosure that thing is limited.It is described below to help to understand including a variety of details, but these details should
Think what is be merely exemplary.Therefore, it will be appreciated by those of ordinary skill in the art that without departing substantially from the scope of the present disclosure and spirit
In the case of, embodiment described herein can be made various changes and modifications.In addition, for clarity and brevity,
Eliminate the description of known function and structure.In addition, through accompanying drawing, same reference numbers are used for identity function and operation.
Embodiment of the disclosure provides a kind of application switching method and electronic equipment.This method is included on an electronic device
Operation first is applied.Applied by multiple accounts operation first, so that multiple processes of the application of operation first on an electronic device,
Each process corresponds to different accounts.When the process initiation second in multiple processes is applied, the information of the process is recorded,
Path is redirected as the second application.At the end of the second application being activated, path is redirected described in inquiry, is returned along path is redirected
It is back to the process.Even if the first application for having multiple accounts so as to current operation, path is redirected by inquiry, the be activated
Two applications could be aware that what needs returned to is the first application of which account, so that successfully jump to corresponding account first should
With, it is to avoid the problems such as redirecting mistake.
Fig. 1 diagrammatically illustrates the application scenarios of application switching method in accordance with an embodiment of the present disclosure.
As shown in figure 1, the wechat that operation has multiple accounts on electronic equipment (mobile phone is shown as in Fig. 1) is applied and multiple
The game application of account, wechat 1, wechat 2, wechat 3, game 1, game 2 and the wechat application (wechat 1) of play 3, i.e. account 1
With game application (game 1), the wechat application (wechat 2) of account 2 and game application (game 2) and the wechat application of account 3
(wechat 3) and game application (game 3).In other words, many Account Logons are all supported in wechat application and game application.
Fig. 2 diagrammatically illustrates the flow chart of application switching method 2000 in accordance with an embodiment of the present disclosure.
As shown in Fig. 2 starting according to the method 2000 of the presentation image of the embodiment of the present disclosure, step S2100 is transferred to, one
Multiple processes of the application of operation first on electronic equipment, each process corresponds to different accounts.In the situation shown in Fig. 1, use
Family logs in game using multiple accounts (account 1-3), such as using different grades of Account Logon game application.So, in electricity
Operation has multiple processes of game in sub- equipment, and each process corresponds to different accounts.When a process call second apply when,
Step S2200 is performed, the information of the process is recorded, path is redirected as the described second application.In the situation shown in Fig. 1
In, when user's selection is logged in or paid using wechat 2 in 1 (process corresponding to account 1 of game) of playing, that is, use
Family selection accesses to your account 2 come when calling the wechat to apply, the information of recording game 1 redirects path as wechat (wechat 2).So
Afterwards in step S2300, at the end of the second called application, path is redirected described in inquiry, institute is back to along path is redirected
State process.In the situation shown in Fig. 1, after the processing of wechat 2 completes payment flow, what its inquiry was recorded redirects path, from
And know that game 1 is called to it, so that Resume Mission 1.So, the account being called to it is successfully jumped to
Application, it is to avoid the problems such as redirecting mistake.
According to one embodiment of the disclosure, redirecting path record has the mark of the corresponding account of the process.For example,
In situation shown in Fig. 1, redirecting path record has the mark of account 1, can be obtained so as to be inquired about when needing to redirect and redirect path
Know it is that the game application (that is, the process 1 of game) of account 1 is called to it, so as to correctly be redirected.
According to one embodiment of the disclosure, redirect path and be recorded as storehouse or table.
Fig. 3 shows the schematic diagram of the execution of application switching method in accordance with an embodiment of the present disclosure.
As shown in Fig. 3 (a), operation has the game application of multiple accounts, trip on electronic equipment (mobile phone is shown as in Fig. 3)
Play 1, game 2 and game 3.As shown in Fig. 3 (b), in game 1, user's selection is logged in using wechat account.Such as Fig. 3 (c)
Shown, user proceeds selection, and selection is logged in using the account 2 (that is, wechat 2) of wechat.As shown in Fig. 3 (d), micro-
Login process is performed in letter 2, now, on the screen of the electronic device, is shown in the page of wechat 2 " authorizing login "
Message.After login process processing in wechat 2 is completed, such as shown in Fig. 3 (e), inquiry redirects path, redirects path and have recorded
The information of game 1, so that as shown in Fig. 3 (f), on the screen of the electronic device, " logining successfully " is shown in the page of game 1
Message.
It also show in Fig. 3 and redirect path as stack record.Show respectively in Fig. 3 (d), 3 (e) and 3 (f) underface
The storehouse of wechat 2, system and game 1 is gone out.
In accordance with an embodiment of the present disclosure, following information is added to the storehouse of one of the process and second application:This
The mark of storehouse;Redirect the mark of storehouse.In accordance with an embodiment of the present disclosure, also storage associates storehouse, and the association storehouse is included:
The mark of current stack, redirects the mark of storehouse.The mark for redirecting storehouse in the storehouse of second application indicates the association heap
Stack, and the storehouse for identifying the process for indicating to call the second application for redirecting storehouse of the association storehouse.
Illustrated below by taking android system as an example.In accordance with an embodiment of the present disclosure, by increasing parsing in systems
Module carrys out dynamic analysis and produces the page to redirect path.The module redirects for the account maintenance one of each many account applications
Stack, path is redirected for recording.When application A starts the application B page, it would be desirable to which the application B of startup information is stored in should
With in A storehouse, include the essential information (the bag name of application, UID, PID etc.) of application, while being set in application B storehouse
Its father node is to apply the corresponding storehouses of A, after the completion of handling in the application, and need are got by inquiring about the storehouse of its father node
The application to be returned and corresponding account, page turn function is completed by the module, and data are correctly returned to correspondingly
Application.
As shown in figure 3, record has the mark 2 of this storehouse in the storehouse of wechat 2, and redirect the storehouse (heap of father node
Stack) mark 1.Record has the mark 1 of this storehouse in the storehouse of the parsing module of system, and redirects the mark 0 of storehouse.
Record has the mark 0 of this storehouse in the storehouse of game 1, and redirects the mark -1 of storehouse.After the completion of the processing of wechat 2, it is looked into
Inquiry redirects path, i.e. this storehouse, knows the storehouse for redirecting storehouse for mark 1.It is designated the 1 storehouse i.e. storehouse of system maintenance.
The parsing module of system is analyzed, and inquiry redirects path, knows the storehouse of the storehouse, i.e. game 1 that redirect storehouse for mark 0.
Game 1 continues inquiry, and it redirects path, knows the storehouse for redirecting storehouse for mark -1, therefore know that redirecting path terminates.Therefore,
In accordance with an embodiment of the present disclosure, game 1 is successfully jumped to from wechat 2.
In accordance with an embodiment of the present disclosure, the mark of this storehouse can be added in the storehouse of each process creation in systems
With the mark for redirecting storehouse, path is redirected to create.
According to another embodiment of the present disclosure, a storehouse can be newly created for each process in systems, and in storehouse
The essential information of the middle mark and the mark and process that redirect storehouse for adding this storehouse.For example, from the storehouse below Fig. 3 (d)
As can be seen that this is the storehouse using the storehouse, i.e. wechat for wrapping entitled com.tencent.mm, its storehouse is designated 2, and it is redirected
Storehouse is designated 1.
In accordance with an embodiment of the present disclosure, redirecting path can also record in the form of a table.For example, can be road in systems
A table is safeguarded in redirecting for footpath.During a process initiation another application in the application for supporting many accounts, one is added in table
Row information, i.e., the essential information of record the process in the column of active applications one, record that it is started in passively one column of application should
Essential information.After processing in the application started is completed, one column of the passive application of inquiry, finding information should with itself
A line of information matches, and then, the process recorded in the column of active applications one of the row starts the process of the application, so that
Find the process to be redirected.
Those skilled in the art could be aware that, according to the form that path is not limited to storehouse and table that redirects of the disclosure.
Any other applicable data structure form, which may be used to record, to be redirected path to realize the technical scheme of the disclosure.
Fig. 4 diagrammatically illustrates the block diagram of the structure of electronic equipment 4000 in accordance with an embodiment of the present disclosure.
As shown in figure 4, display system 4000 includes processor 410, computer-readable recording medium 420, sender unit
430th, signal receiver 440.The electronic equipment can perform the method described above with reference to Fig. 2~Fig. 3, there are many accounts
In the case of, participated in without user, the switching seamlessly applied.
Specifically, processor 410 can for example include general purpose microprocessor, instruction set processor and/or related chip group
And/or special microprocessor (for example, application specific integrated circuit (ASIC)), etc..Processor 410 can also include being used to cache using
The onboard storage device on way.Processor 410 can be performed for the side according to the embodiment of the present disclosure described with reference to Fig. 2~Fig. 3
Single treatment unit either multiple processing units of the different actions of method flow.
Computer-readable recording medium 420 for example can be that can include, store, transmit, propagate or transmit appointing for instruction
Meaning medium.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device,
Device or propagation medium.The specific example of readable storage medium storing program for executing includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Optical storage
Device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication chain
Road.
Computer-readable recording medium 420 can include computer program 421, and the computer program 421 can include generation
Code/computer executable instructions, it by processor 410 when being performed so that processor 410 is performed for example above in conjunction with Fig. 2~figure
Method flow and its any deformation described by 3.
Computer program 421 can be configured with such as computer program code including computer program module.Example
Such as, in the exemplary embodiment, the code in computer program 421 can include one or more program modules, such as including mould
Block 421A, module 421B, module 421C.Wherein, as computing device module 421A, processor is on an electronic device by more
Individual account operation first is applied.Multiple processes that i.e. operation first is applied on an electronic device, each process corresponds to different accounts
Family.As computing device module 421B, i.e. when a process call second apply when, processor records the letter of the process
Breath, path is redirected as the described second application.As computing device module 421C, i.e. in the second called application knot
Shu Shi, processor inquiry is described to redirect path, and edge redirects path and is back to the process.
It should be noted that the dividing mode and number of module are not fixed, those skilled in the art can be according to reality
Situation is combined using suitable program module or program module, when the combination of these program modules is performed by processor 410 so that
Processor 410 can be performed for example above in conjunction with the method flow described by Fig. 2~3 and its any deformation.
In accordance with an embodiment of the present disclosure, processor 410 can use sender unit 430 and signal receiver 440 to hold
Row is above in conjunction with the method flow described by Fig. 2~3 and its any deformation.
Although the disclosure, art technology has shown and described in the certain exemplary embodiments with reference to the disclosure
Personnel it should be understood that without departing substantially from appended claims and its equivalent restriction spirit and scope of the present disclosure in the case of,
A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment,
But not only should be determined by appended claims, also it is defined by the equivalent of appended claims.
Claims (10)
1. one kind application switching method, including:
Multiple processes of the application of operation first on an electronic equipment, each process corresponds to different accounts;
When a process call second apply when, record the information of the process, as described second application redirect path;With
And
At the end of the second called application, path is redirected described in inquiry, the process is back to along path is redirected.
2. application switching method according to claim 1, wherein, the path record that redirects has the corresponding account of the process
The mark at family.
3. application switching method according to claim 1, wherein, the path that redirects is recorded as storehouse or table.
4. application switching method according to claim 3, wherein, recording the path that redirects of second application includes:
Following information is added to the storehouse of one of the process and second application:The mark of this storehouse;Redirect the mark of storehouse
Know.
5. application switching method according to claim 4, wherein, recording the path that redirects of second application also includes:
Storage association storehouse, the association storehouse is included:The mark of this storehouse, redirects the mark of storehouse;
Wherein, the mark for redirecting storehouse in the storehouse of second application indicates the association storehouse, and the association heap
The mark for redirecting storehouse of stack indicates the storehouse of the process.
6. a kind of electronic equipment, including:
Memory, be stored with machine readable instructions;
Processor, performs following operate when being configured as running the instruction:
Multiple processes of the application of operation first, each process corresponds to different accounts;
When a process call second apply when, record the information of the process, as described second application redirect path;With
And
At the end of the second called application, path is redirected described in inquiry, the process is back to along path is redirected.
7. electronic equipment according to claim 6, wherein, the path record that redirects has the corresponding account of the process
Mark.
8. electronic equipment according to claim 6, wherein, the path that redirects is recorded as storehouse or table.
9. electronic equipment according to claim 8, wherein, processor also performs following operation when running the instruction:
Following information is added to the storehouse of one of the process and second application:The mark of this storehouse;Redirect the mark of storehouse
Know.
10. method according to claim 9, wherein, processor also performs following operation when running the instruction:
Storage association storehouse, the association storehouse is included:The mark of current stack, redirects the mark of storehouse, the name of the process
Claim;
Wherein, the mark for redirecting storehouse in the storehouse of second application indicates the association storehouse, and the association heap
The mark for redirecting storehouse of stack indicates the storehouse of the process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710200909.5A CN107102893A (en) | 2017-03-29 | 2017-03-29 | Using switching method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710200909.5A CN107102893A (en) | 2017-03-29 | 2017-03-29 | Using switching method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107102893A true CN107102893A (en) | 2017-08-29 |
Family
ID=59674833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710200909.5A Pending CN107102893A (en) | 2017-03-29 | 2017-03-29 | Using switching method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107102893A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748690A (en) * | 2017-10-30 | 2018-03-02 | 深圳Tcl新技术有限公司 | Using jump method, device and computer-readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902372A (en) * | 2014-03-14 | 2014-07-02 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104239146A (en) * | 2014-09-28 | 2014-12-24 | 东莞宇龙通信科技有限公司 | System and/or application program switching method, switching system and terminal |
CN104866342A (en) * | 2015-05-07 | 2015-08-26 | 北京数字天域科技有限责任公司 | Method and device for simultaneously starting multiple same applications on intelligent terminal |
-
2017
- 2017-03-29 CN CN201710200909.5A patent/CN107102893A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902372A (en) * | 2014-03-14 | 2014-07-02 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104239146A (en) * | 2014-09-28 | 2014-12-24 | 东莞宇龙通信科技有限公司 | System and/or application program switching method, switching system and terminal |
CN104866342A (en) * | 2015-05-07 | 2015-08-26 | 北京数字天域科技有限责任公司 | Method and device for simultaneously starting multiple same applications on intelligent terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748690A (en) * | 2017-10-30 | 2018-03-02 | 深圳Tcl新技术有限公司 | Using jump method, device and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9740761B2 (en) | Management of application state data | |
US9635098B2 (en) | Open platform, open platform access system, storage medium, and method for allowing third party application to access open platform | |
CN103595790B (en) | The remote access method of equipment, thin-client and virtual machine | |
JP6469313B2 (en) | Information processing method, terminal, and computer storage medium | |
US10664443B2 (en) | Method and apparatus for presenting to-be-cleaned data, and electronic device | |
CN104813679A (en) | Method, apparatus and system of screenshot grabbing and sharing | |
CN103995738A (en) | Terminal apparatus, server, browser of terminal apparatus operating system and method of operating browser | |
US20170171334A1 (en) | Single-account multiple-preference recommendation method for video website and electronic device | |
CN103945259A (en) | Online video playing method and device | |
US10885507B1 (en) | Transferring a customer from an ATM transaction to a device-based transaction during an error state, and applications thereof | |
US20170168660A1 (en) | Voice bullet screen generation method and electronic device | |
CN107025145B (en) | Error code analysis method and device | |
US20160309202A1 (en) | Method, apparatus, and system for playing multimedia file | |
US20160323402A1 (en) | Visualization of user behavior | |
CN110354491B (en) | Global co-service game system, data synchronization method, electronic equipment and medium | |
JP2013212263A (en) | Device for providing game | |
CN107102893A (en) | Using switching method and system | |
US20170169044A1 (en) | Property retrieval apparatus, method and system | |
CN104375993B (en) | A kind of method and device of data processing | |
CN102981773A (en) | Storage device access method and storage device access system and storage device access supervisor | |
US10328336B1 (en) | Concurrent game functionality and video content | |
CN106778255A (en) | Credible performing environment isolation detection method and device based on internal memory traversal | |
CN109302641B (en) | Video watching request method, medium and device | |
CN103365895B (en) | Web page resources monitoring method and device | |
CN105721572A (en) | Method and system for monitoring use behaviors in terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170829 |