CN105677463B - It is a kind of to realize the method and apparatus that switching is cooperateed between system - Google Patents

It is a kind of to realize the method and apparatus that switching is cooperateed between system Download PDF

Info

Publication number
CN105677463B
CN105677463B CN201511025921.4A CN201511025921A CN105677463B CN 105677463 B CN105677463 B CN 105677463B CN 201511025921 A CN201511025921 A CN 201511025921A CN 105677463 B CN105677463 B CN 105677463B
Authority
CN
China
Prior art keywords
interface
allocating stack
starting
calling
last
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511025921.4A
Other languages
Chinese (zh)
Other versions
CN105677463A (en
Inventor
朱少峰
卜东超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanxin Information Technology Group Co.,Ltd.
Original Assignee
Beijing Yuanxin Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yuanxin Science and Technology Co Ltd filed Critical Beijing Yuanxin Science and Technology Co Ltd
Priority to CN201511025921.4A priority Critical patent/CN105677463B/en
Publication of CN105677463A publication Critical patent/CN105677463A/en
Application granted granted Critical
Publication of CN105677463B publication Critical patent/CN105677463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of method and apparatus realized and cooperate with switching between system, two of them system above is run in same mobile terminal, the described method includes: the last calling interface of last allocating stack of the record the first system when being switched to second system, wherein allocating stack storage corresponds to the sequence that user calls interface;Interface is called in the starting of the starting allocating stack of second system when record is switched to second system;When gradually returning to the first calling interface of the allocating stack according to an allocating stack in second system, determine that described first calls interface whether identical as starting calling interface when receiving further return operation;So that mobile terminal is switched back into the first system when determining that the first calling interface calls interface identical with the starting and shows the last calling interface of the first system.The present invention realizes the uniformly coordinated user experience between multisystem.

Description

It is a kind of to realize the method and apparatus that switching is cooperateed between system
Technical field
This application involves electric digital data processing fields, more particularly to a kind of movement for running more than two systems at the same time The method and apparatus of switching are cooperateed in terminal between realization system.
Background technique
By container technique, more than two operating systems can be run simultaneously on a mobile terminal such as cell phone apparatus. In general, an operating system in multiple operating systems is security system, the function of support is fewer but safe;Another System focus not instead of safety, more applications and function abundant.Security-related operation is concentrated mainly on safe behaviour Make to carry out in system, it is other then can be carried out in non-security system.Multiple systems are run independently of one another.
On the mobile phone that one has run multiple systems, user can form multiple operation calls storehouses in each system. For example, mobile phone has run two operating systems A and B simultaneously.For example, in system A, user's sequence open interface a1, interface a2, Interface a3, then presses home key, this sequence of operations forms an allocating stack a.In systemb, sequence open interface b1, Interface b2, interface b3, this sequence of operations will form a new allocating stack b again.The two allocating stacks are present in respectively In system, and can gradually it be returned as the return of user operates.It can be returned to for example, being executed on the b3 of interface and returning to operation B2, the desktop that can return to B system can be returned again to back to b1 by being then returned to.This when, allocating stack b will fail.With It family can not be back to the interface for leaving A system when being switched to B system from A system.
Summary of the invention
An object of the application is to provide a kind of method that uniformly coordinated user experience is realized between multisystem and/or dress It sets.
An object of the application realizes the method that switching is cooperateed between system by a kind of, and two of them system above is in same movement It is run in terminal, this method comprises:
The last calling interface for recording last allocating stack of the first system when being switched to second system, wherein the tune Correspond to the sequence that user calls interface with storehouse storage;
Interface is called in the starting of the starting allocating stack of second system when record is switched to second system;
When gradually returning to the first calling interface of the allocating stack according to an allocating stack in second system, receiving Determine that described first calls interface whether identical as the starting calling interface when operating to further return;
Mobile terminal is set to switch back into the first system when determining that the first calling interface calls interface identical with the starting Unite and show the last calling interface of the first system.
An object of the application also cooperates with the device of switching between system by a kind of realize, two of them system above is in same shifting It is run in dynamic terminal, which includes:
First logging modle, for recording the last tune of last allocating stack of the first system when being switched to second system With interface, wherein allocating stack storage corresponds to the sequence that user calls interface;
Second logging modle, the starting of the starting allocating stack of second system is called when being switched to second system for recording Interface;
Interface determining module, gradually return to the allocating stack according to an allocating stack in second system first call When interface, receive it is further return to operation when for determine described first call interface whether with starting calling circle Face is identical;
Return module is shown, for making to move when determining that the first calling interface calls interface identical with the starting Terminal switches back into the first system and shows the last calling interface of the first system.
Through the invention, if it find that the current allocating stack of second system is formed immediately after carry out system switching , then this when of user continues to execute return operation and does not just return to the first system.If it find that second system is current Allocating stack is the storehouse formed at once after having executed the first system to second system switching, then if user needs to continue It returns, then can return to interface when leaving the first system in the first system this when.
Unless explicitly stated otherwise, singular as used herein " one ", "the" include that plural reference (has " at least one " The meaning).It will be further understood that terminology used herein " having ", " include " and or " include " show in the presence of described Feature, step, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, step, behaviour Work, component, assembly unit and/or combination thereof.Term "and/or" as used in this includes one or more relevant items enumerated Any and all combination.Unless explicitly stated otherwise, the step of any method disclosed herein need not be accurately according to disclosed sequence It executes.
Detailed description of the invention
The present invention will more completely be illustrated below with reference to attached drawing and in conjunction with preferred embodiment.
Fig. 1 is the flow chart according to an embodiment of the method for the present invention.
Fig. 2 is the flow chart according to another embodiment of the method for the present invention.
Fig. 3 is the structural schematic diagram according to an embodiment of apparatus of the present invention.
Fig. 4 is the structural schematic diagram according to another embodiment of apparatus of the present invention.
For clarity, these attached drawings are figure that is schematic and simplifying, they are only gived for understanding institute of the present invention Necessary details, and omit other details.
Specific embodiment
By detailed description given below, the scope of application of the invention will be evident.It will be appreciated, however, that detailed While thin description and specific example show the preferred embodiment of the present invention, they are provided only for illustration purpose.
Based on container multisystem mobile device such as mobile phone in, container can be independent as equipment in operating system environment One sub-operating system of operation, sub-operating system possess main interface, startup program, application program and the various small portions of oneself Part.
In same running of mobile terminal two or more operating system, such as a kind of SyberOS (safety of applicant's exploitation Mobile operating system), Android and/or other systems, the heap stack sequence for thering is oneself to safeguard between each system.Each There is no problem when operation among system, but between the systems if it is desired to accomplish smooth naturally switching then need this two The storehouse of a system is uniformly processed.
In the present specification, storehouse it is corresponding be user the sequence of operation, can be described as operation storehouse or allocating stack.User Sequence of operations be stored in storehouse, such as user switch application or interface operation.System can be these handover informations It is saved in storehouse in form first-in last-out.It is then taken out according to opposite direction when returning.So as to opposite suitable Sequence gradually executes return operation.
Fig. 1 shows an embodiment of the method for the present invention, and this method for running the movement of more than two systems at the same time Collaboration switching in terminal between realization system.The embodiment runs A system such as Android and B system such as simultaneously with a mobile phone It is illustrated for SyberOS.In system A, if executing a series of continuous operations in systems into desktop and forming calling Storehouse a;Sequence of operations is executed in systemb forms allocating stack b.Allocating stack a and b is independent of one another, in A system or B system Return operation in system can be responded respectively according to allocating stack a or b respectively.The method of the embodiment starts from step S10, In A system by desktop application or control to B system switch when, record switching when last allocating stack it is last Interface is called, allocating stack storage corresponds to user and calls the sequence at interface as called the corresponding address information in interface.Later, locate Reason proceeds to step S20, and when being just switched to B system, interface, starting are called in the starting for recording the starting allocating stack of B system It calls interface that independent variable can be used to mark, this label can also be added in the information of storehouse.Later, user exists on demand Various operations are carried out in B system and form respective calls storehouse such as allocating stack b, when return operation is executed in b, first It is successively returned along the sequence opposite direction of b, finally returns to first calling interface of b storage, returned if at this time continued to execute Return operation, then processing proceeds to step S30, determine the first calling interface whether with the starting that is recorded when being just switched to B system Call interface identical.If identical, processing proceeds to step S40, note when mobile phone being made to switch back into A system and show previously switching The last calling interface of the A system of record.Otherwise, processing proceeds to step S50, cannot return to A system at this time, keeps display B The first of the allocating stack b of system calls interface.In other words, when return operation is executed in b, first along the sequence of b Opposite direction successively returns, and finally returns to first callings interface of b record, if user's needs continue to return, it is determined that the of b It is the state that enters when carrying out system switching by system A that one, which is called interface, if it is, this when can be back to being Unite in A at the state before system B, can be along the opposite direction of a storehouse of A if user continues to execute return operation Continue to return.If it is not, then this when of user continue to execute return operation just will not return system A.Such as: in system A Middle opening wechat application, is switched to system B, executes make a phone call to operate in systemb, and user is by return key after completion.Just In the case where often, user is desirably from the wechat interface that the operation of making a phone call in B returns in system A.Technology of the invention This function then may be implemented in scheme, provides user-friendly experience.
Fig. 2 shows another embodiment of the method for the present invention, in addition to all steps of the method shown in Fig. 1, in step S10 Later it is step S15, determines that the manual switching that is switched to from A system to B system is still automatically switched.In the present specification, hand Dynamic switching is that user triggers manually, such as presses switching push button or special key etc., and manual switching is to can recorde down Come;Automatic switchover is cell phone event triggering, such as incoming call or alarm clock etc..If it is manual switching, processing proceeds to Step 20, method then as shown in Figure 1 carries out downwards.A systematic difference is used if it is automatic switchover, such as user If played a game, surprisingly there is phone incoming call this when, system automatically switches to B system to receive calls, then Processing proceeds to step S70, so that mobile phone is directly switched back into A system after receiving calls and records when showing automatic switchover The last calling interface of A system, eliminates the trouble that user returns step by step, because in this case, user is not intentional Hope is operated in B system, the demand that A system is best suitable for user is returned directly to, to improve efficiency and provide good User experience.
Fig. 3 shows an embodiment of apparatus of the present invention, and the device for running the movement of more than two systems at the same time Collaboration switching in terminal between realization system, which includes: the first logging modle 10, is being switched to for recording the first system The last calling interface of last allocating stack when second system, wherein allocating stack storage, which corresponds to user, calls interface Sequence as call interface address information;Second logging modle 20, second system when being switched to second system for recording Interface is called in the starting for originating allocating stack;Interface determining module 30 gradually returns in second system according to an allocating stack When calling interface to the first of the allocating stack, when receiving further return operation for determining that described first calls boundary Whether face is identical as starting calling interface;Show return module 40, for determine it is described first call interface with it is described Starting makes mobile terminal switch back into the first system and shows the last calling interface of the first system when calling interface identical;It is aobvious Show and keep module 50, for determining that the first calling interface and starting calling interface do not keep showing described the simultaneously One calls interface.
Fig. 4 shows another embodiment of apparatus of the present invention, and in addition to all modules shown in Fig. 3, which further includes Switch mode determining module 15, the manual switching that is switched to for determining between system are still automatically switched and auto-returned module 70, it is mobile whole for making after the task execution for causing system to switch when the first system automatically switches to second system End switches back into the first system and shows the last calling interface.
Some preferred embodiments are illustrated in front, it should be emphasized, however, that the present invention is not limited to this A little embodiments, but can be realized with the other way within the scope of present subject matter.

Claims (8)

1. a kind of realize that the method for cooperateing with switching between system, two of them system above are run in same mobile terminal, special Sign is, which comprises
The last calling interface for recording last allocating stack of the first system when being switched to second system, wherein the calling heap Stack storage corresponds to the sequence that user calls interface;
Interface is called in the starting of the starting allocating stack of second system when record is switched to second system;
In second system according to an allocating stack gradually return to the allocating stack first call interface when, receive into Determine that described first calls interface whether identical as the starting calling interface when return operation of one step;
Mobile terminal is set to switch back into the first system simultaneously when determining that the first calling interface calls interface identical with the starting Show the last calling interface of the first system;
Wherein, the allocating stack in the first system and second system is mutually indepedent;And
Wherein, the corresponding tune that the return operation in the first system or second system is stored according to the allocating stack in respective system It is responded with interface sequence.
2. the method according to claim 1, wherein the method also includes:
Determining that described first calls interface and the starting that interface is called not keep showing that described first calls interface simultaneously.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
When the first system automatically switches to second system, cut mobile terminal after the task execution for causing system to switch It gains the first system and shows the last calling interface.
4. method according to claim 1 or 2, which is characterized in that the address letter at interface is called in the allocating stack storage Breath.
5. a kind of realize the device for cooperateing with switching between system, two of them system above is run in same mobile terminal, special Sign is that described device includes:
First logging modle, for recording last calling circle of last allocating stack of the first system when being switched to second system Face, wherein allocating stack storage corresponds to the sequence that user calls interface;
Second logging modle, boundary is called in the starting of the starting allocating stack of second system when being switched to second system for recording Face;
Interface determining module, gradually return to the allocating stack according to an allocating stack in second system first call interface When, receive it is further return to operation when for determine described first call interface whether with starting calling interface phase Together;
Return module is shown, for making mobile terminal when determining that the first calling interface calls interface identical with the starting It switches back into the first system and shows the last calling interface of the first system;
Wherein, the allocating stack in the first system and second system is mutually indepedent;And
Wherein, the corresponding tune that the return operation in the first system or second system is stored according to the allocating stack in respective system It is responded with interface sequence.
6. device according to claim 5, which is characterized in that described device further include:
Display keeps module, for determining that described first calls interface and the starting that interface is called not keep display institute simultaneously State the first calling interface.
7. device according to claim 5 or 6, which is characterized in that described device further include:
Auto-returned module, for when the first system automatically switches to second system, in the task execution for causing system to switch After so that mobile terminal is switched back into the first system and show the last calling interface.
8. device according to claim 5 or 6, which is characterized in that the address letter at interface is called in the allocating stack storage Breath.
CN201511025921.4A 2015-12-31 2015-12-31 It is a kind of to realize the method and apparatus that switching is cooperateed between system Active CN105677463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511025921.4A CN105677463B (en) 2015-12-31 2015-12-31 It is a kind of to realize the method and apparatus that switching is cooperateed between system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511025921.4A CN105677463B (en) 2015-12-31 2015-12-31 It is a kind of to realize the method and apparatus that switching is cooperateed between system

Publications (2)

Publication Number Publication Date
CN105677463A CN105677463A (en) 2016-06-15
CN105677463B true CN105677463B (en) 2019-06-14

Family

ID=56189859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511025921.4A Active CN105677463B (en) 2015-12-31 2015-12-31 It is a kind of to realize the method and apparatus that switching is cooperateed between system

Country Status (1)

Country Link
CN (1) CN105677463B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003196096A (en) * 2001-12-07 2003-07-11 Internatl Business Mach Corp <Ibm> Computer system, its starting control method and program
CN100383744C (en) * 2004-12-24 2008-04-23 联想(北京)有限公司 Method for switching multiple operation systems of computer
US8868899B2 (en) * 2009-07-20 2014-10-21 Motorola Mobility Llc System and method for switching between environments in a multi-environment operating system
CN103927227A (en) * 2014-04-16 2014-07-16 乐视致新电子科技(天津)有限公司 Method and device for switching multiple operating systems and smart television
US20150355946A1 (en) * 2014-06-10 2015-12-10 Dan-Chyi Kang “Systems of System” and method for Virtualization and Cloud Computing System
CN104516782B (en) * 2014-12-26 2020-05-12 上海迈微软件科技有限公司 Method and equipment for switching operating environments of intelligent system

Also Published As

Publication number Publication date
CN105677463A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN103019841B (en) Quickly switch method and the terminal thereof of application program
US20220100353A1 (en) Launching Application Task Based on Single User Input and Preset Condition
CN105867925B (en) Shortcut establishing method and electronic equipment
CN106383721B (en) Display control method and device of electronic equipment and electronic equipment
CN104077017B (en) A kind of electronic equipment and control method
CN102713820A (en) Operation interface management method, apparatus and mobile terminal
CN102739769A (en) Synchronization method and apparatus of portable terminal
CN106155721A (en) The deployment method of application program, the generation method and device of the recommendation page
CN101883184A (en) Method for controlling application program display on mobile terminal and mobile terminal
CN111787493A (en) Message sending method, message sending device and electronic equipment
CN103905595A (en) Contact person information displaying method and mobile terminal
CN104219553A (en) Method and device for remote control of intelligent set top box
CN102929921A (en) Information operational method and client
CN104333645B (en) Method and system for realizing rapid operation in touch screen mobile phone
CN104954550A (en) Messaging system and method thereof
US20140364107A1 (en) Quick communication method and device, and storage medium
CN101834925A (en) Method and system for configuring key function of terminal
CN104660797B (en) Operation processing method and device
CN103019546B (en) A kind of slideshow method, system and apparatus for demonstrating
CN104348957A (en) Short message viewing method
CN105677463B (en) It is a kind of to realize the method and apparatus that switching is cooperateed between system
CN101951423B (en) Keyboard unlocking method and terminal
CN105912420A (en) Data backup method and device
CN107317915B (en) Method and terminal for shaking dialing
CN102955643A (en) Electronic equipment and display interface switching method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210202

Address after: 101300 room 153, 1 / F, building 17, 16 Caixiang East Road, Nancai Town, Shunyi District, Beijing

Patentee after: Yuanxin Information Technology Group Co.,Ltd.

Address before: 100176 room 2222, building D, building 33, 99 Kechuang 14th Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Patentee before: BEIJING YUANXIN SCIENCE & TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20160615

Assignee: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Assignor: Yuanxin Information Technology Group Co.,Ltd.

Contract record no.: X2021110000018

Denomination of invention: A method and device for realizing cooperative switching between systems

Granted publication date: 20190614

License type: Common License

Record date: 20210531