Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in instructions of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " terminal device " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissive ability, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can carry out the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication facilitiess, its honeycomb or other communication facilities of having single line display or multi-line display or not having multi-line display; PCS (PersonalCommunicationsService, PCS Personal Communications System), it can combine voice, data processing, fax and/or its communication ability; PDA (PersonalDigitalAssistant, personal digital assistant), it can comprise radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (GlobalPositioningSystem, GPS) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " terminal device " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " terminal device " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (MobileInternetDevice, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
The present inventor finds through research, in the interface display method of existing multiple operating system, multiple operating system shares same or same class boundary face data cache region corresponding to a FB equipment (FrameBuffer, framebuffer device) usually; Behind operating system foreground in handoff procedure, need first the interface data being switched to the operating system on backstage to be removed from interface data buffer zone, again the interface data of the operating system being switched to foreground is loaded in interface data buffer zone, thus realize the interface showing the operating system being switched to foreground on screen, complete the switching display at interface; But, the time that data dump and Data import need cost longer is carried out to interface data buffer zone, causes the speed of changing interface display on the whole comparatively slow, reduce the experience of user.
In the embodiment of the present invention, each operating system in intelligent terminal is when it starts, the address of its interface data buffer zone is appointed as its framebuffer device address, the service data of this operating system can be stored in the interface data buffer zone of this operating system.After intelligent terminal for reception to systematic evaluation order, first operating system on foreground is switched to backstage, and the second operating system involved by systematic evaluation order is switched to foreground from backstage; The interface data buffer zone of the second operating system is appointed as the display buffer of display controller.Afterwards, intelligent terminal is without the need to removing the data in the respective interface data buffer zone of first and second operating system and reload, display controller can be made to show the interface of the second operating system according to the content in this interface data buffer zone, thus complete changing interface display.Visible, utilize the embodiment of the present invention, the step that the data in interface data buffer zone are removed and loaded can be saved, thus improve the speed of changing interface display, the experience of user can be promoted.
The present inventor also finds, cause display abnormal to prevent two or more operating system from competing same display device (such as display screen), when utilizing the existing interface display method based on systematic evaluation, each operating system and other operating system is also needed to carry out communication, to know whether the interface of other operating system is shown; Thus ensure that the same time only has the interface of an operating system to be shown.But the communicating step between operating system is comparatively complicated, need to expend the more time, cause the speed of changing interface display on the whole comparatively slow, reduce the experience of user.
In embodiments of the invention, separate between the interface data buffer zone of each operating system, the content change in a certain interface data buffer zone, can not have influence on the content in other interface data buffer zone.Therefore, without the need to carrying out communication between first and second operating system, display controller, according to the interface data buffer zone of second operating system of specifying, can show the interface of the second operating system, completes changing interface display.Visible, utilize the embodiment of the present invention, the step communicating with one another to know the operating system that interface is shown between operating system can be saved, thus improve the speed of changing interface display, the experience of user can be promoted.
The present inventor finds further, when utilizing the existing interface display method based on systematic evaluation, need in each operating system, increase the source code carrying out communication with other operating system, such as, know by communication interface the source code whether interface of other operating system is shown; Thus ensure that the same time only has the interface of an operating system to be shown.Visible, utilize the existing interface display method based on systematic evaluation to need the source code of retouching operation system, workload is comparatively large, and cause existing scheme implementation difficulty, portability is more weak, promotes comparatively difficulty, causes range of application less.
In the embodiment of the present invention, after os starting in intelligent terminal, an interface data buffer zone is distributed for this operating system by the kernel of intelligent terminal, and after the address of interface data buffer zone being appointed as the framebuffer device address of this operating system, without the need to the source code of retouching operation system, the method that the embodiment of the present invention can be utilized to provide realizes the changing interface display of multiple operating system.Visible, the workload of the embodiment of the present invention is less, and it is comparatively easy to implement, and portability is comparatively strong, easily promotes, has application prospect comparatively widely.
The technical scheme of the embodiment of the present invention is specifically introduced below in conjunction with accompanying drawing.
The intelligent terminal of the embodiment of the present invention can be the terminal device such as smart mobile phone, panel computer.The block schematic illustration of the inner structure of intelligent terminal as shown in Figure 1, comprising: kernel 101 and at least two operating systems.
The application scenarios of the embodiment of the present invention, for kernel 101 lightweight realized based on LinuxContainer Intel Virtualization Technology is virtual, and based on many shielding systems that this Intel Virtualization Technology realizes.
In embodiments of the present invention, operating system can be traditional (SuSE) Linux OS or Unix operating system, also can be the android system, Ubuntu system, the Meego system that are derived based on (SuSE) Linux OS, etc., the many shielding systems based on the realization of LinuxContainer Intel Virtualization Technology are the operating system of the above kind can run on intelligent terminal.
Wherein, at least two above-mentioned operating systems can be specifically the operating system based on container.Operating system based on container can be arranged according to following method: utilize Linuxcontainer container Intel Virtualization Technology, create two or more container in intelligent terminal, installs and run an operating system in each container.Each container is configured with independently hardware resource access rights configuration, and the operating system based on container can independent access hardware resource, as CPU, IO (InputOutput, input and output) equipment etc.Operating system based on container can be configured with system program and the application program of a set of independent completion; Thus isolate mutually between operating system based on container.
In the embodiment of the present invention, when kernel 101 detects os starting (such as initiating switchup) in intelligent terminal, for the operating system started distributes interface data buffer zone, and the address of the interface data buffer zone of distribution is appointed as the FB device address of this operating system.
Preferably, kernel 101, by the mark corresponding stored of the mark of operating system with the interface data buffer zone distributed for this operating system, makes operating system and interface data buffer zone one_to_one corresponding.
Such as, 4 operating system System1, System2, System3 and System4 in intelligent terminal are corresponding with 4 interface data buffer zones Buffer1, Buffer2, Buffer3 and Buffer4 respectively.
Preferably, after os starting, send the application request of interface data buffer zone to FB equipment.
After kernel 101 receives the application request of the interface data buffer zone that operating system sends by FB equipment, for this operating system distributes interface data buffer zone; And be the address space of the interface data buffer zone distributed by the Address space mappinD of the FB equipment of this operating system.FB equipment is presented as device node file usually, such as device node file/dev/fb0.
Now, for operating system, this operating system by its interface data, according to FB device address, can be written in FB equipment.Be the address space of the interface data buffer zone of this operating system by the Address space mappinD of the FB equipment of this operating system due to kernel 101, therefore, this operating system is actually its interface data, according to the address of the interface data buffer zone of this operating system, be written in the interface data buffer zone of this operating system.The interface data of operating system can comprise the interface data of system program in this operating system or application program.
Therefore, in the multiple operating system of the embodiment of the present invention, the contents such as interface data to be shown in its operational process can be stored in the interface data buffer zone of the first operating system 102 by the first operating system 102; The contents such as interface data to be shown in its operational process can be stored in the interface data buffer zone of the second operating system 103 by the second operating system 103.
Be the current operating system being in foreground with the first operating system 102 in multiple operating system below, the second operating system 103 in multiple operating system is the situation of the to be switched operating system to foreground is example, the interface display method based on systematic evaluation of the embodiment of the present invention is described, the schematic flow sheet of the method as shown in Figure 2, comprises the steps:
S201: after kernel 101 receives systematic evaluation order, is switched to backstage by first operating system 102 on foreground, and the second operating system 103 involved by systematic evaluation order is switched to foreground from backstage.
Particularly, before kernel 101 receives systematic evaluation order, the first operating system 102 is positioned at foreground; Kernel 101 according to the interface data of the first operating system 102 in the interface data buffer zone of the first operating system 102, at the interface of display screen display first operating system 102 of this intelligent terminal.
First operating system 102 can receive the systematic evaluation order of user's input by multiple method.
Such as, the first operating system 102 can by the interface of display, receives after user links the click event of button for the second operating system 103 on this interface, determines the systematic evaluation order relating to the second operating system 103 receiving user's input.
For another example, after the first operating system 102 photographs the appointment gesture of user by the camera of this intelligent terminal, the systematic evaluation order relating to the second operating system 103 receiving user's input is determined.
For another example, after the first operating system 102 detects by the sensor of this intelligent terminal the appointment motion track that this intelligent terminal makes, the systematic evaluation order relating to the second operating system 103 receiving user's input is determined.
After first operating system 102 receives the systematic evaluation order of user's input, by this systematic evaluation transferring order to kernel 101.
First operating system 102 on foreground, according to the systematic evaluation order received, is switched to backstage by kernel 101, and the second operating system 103 involved by systematic evaluation order is switched to foreground from backstage.
Preferably, kernel 101 records the AM/BAM information of each operating system after completing the AM/BAM switching of the first operating system 102 and the second operating system 103.More excellent, after kernel 101 completion system AM/BAM switches, by the AM/BAM information of each operating system and the mark corresponding stored of this operating system.
S202: kernel 101 determines the interface data buffer zone of the second operating system 103.
After the AM/BAM switching of kernel 101 complete operation system in above-mentioned steps S201, determine the interface data buffer zone of the operating system being positioned at foreground in this step.Particularly, kernel 101 determines the interface data buffer zone of the second operating system 103.
Preferably, kernel 101, from the mark of the operating system of corresponding stored and the mark of interface data buffer zone, determines the mark with the interface data buffer zone of the second operating system 103 corresponding stored.
Preferably, kernel 101, for each operating system being positioned at backstage, from the mark of the operating system of corresponding stored and the mark of interface data buffer zone, determines the mark with the interface data buffer zone of this operating system corresponding stored.
Such as, kernel 101 determines the interface data buffer zone Buffer2 of the operating system System2 being switched to foreground.Preferably, kernel 101 determines System1, System3 and System4 Buffer1, Buffer3 and Buffer4 separately of being positioned at backstage respectively.
More excellent, kernel 101, for each operating system, determines the mark with the AM/BAM information of this operating system of the mark corresponding stored of this operating system and the interface data buffer zone of this operating system.
S203: the display buffer of display controller is appointed as in the interface data buffer zone of the second operating system 103 by kernel 101.
Display controller in the intelligent terminal of the embodiment of the present invention can comprise local display controller.Local display controller is for being presented at the display screen of this intelligent terminal by data according to parameter.
Kernel 101 is by the address of the interface data buffer zone of the second operating system 103, and the address as the display buffer of local display controller is sent to local display controller.
Kernel 101, by the display mode of the display buffer of local display controller, i.e. the interface data buffer zone of the second operating system 103, is set to exclusive mode.
Such as, kernel 101 by the address of the interface data buffer zone Buffer2 of operating system System2, as the address of the display buffer of local display controller, can be sent to local display controller; And the display mode of the display buffer of local display controller, i.e. Buffer2 is set to exclusive mode.
More excellent, in the embodiment of the present invention, the display buffer of local display controller is multiple.The display mode of multiple display buffers of local display controller can also be set to stacked system by kernel 101, comprising:
The first display buffer, second display buffer of local display controller is appointed as in the interface data buffer zone of the first operating system 102, second operating system 103 by kernel 101 respectively.Particularly, kernel 101, by the address of the interface data buffer zone of the first operating system 102, second operating system 103, is sent to local display controller respectively as the first display buffer of local display controller, the address of the second display buffer.
First display buffer of local display controller and the display mode of the second display buffer are all set to stacked system by kernel 101; The superposition level arranging display buffer is the first display buffer, the second display buffer is distinguished and is positioned at bottom, top layer; The transparency being positioned at the display buffer of non-bottom is set.
Such as, kernel 101 is by the address of the interface data buffer zone of System1-4, and the address respectively as first, second and third and four display buffers of local display controller is sent to local display controller.The display mode of first, second and third and four display buffers of local display controller is all set to stacked system by kernel 101; The superposition level of display buffer is set, is followed successively by the second display buffer (being namely positioned at top layer), the 3rd display buffer, the 4th display buffer, the first display buffer (being namely positioned at bottom) from top to bottom; The transparency of second and third and four display buffers is set.In fact, the interface of each operating system can have diversified superposition level, is not limited to the superposition level in this example; Kernel 101 can be chosen the superposition level of specifying according to actual conditions and arrange.
More excellent, in the embodiment of the present invention, the display mode of multiple display buffers of local display controller can also be set to split screen array mode by kernel 101, comprising:
The first display buffer, second display buffer of local display controller is appointed as in the interface data buffer zone of the first operating system 102, second operating system 103 by kernel 101 respectively.Particularly, kernel 101, by the address of the interface data buffer zone of the first operating system 102, second operating system 103, is sent to local display controller respectively as the first display buffer of local display controller, the address of the second display buffer.
First display buffer of local display controller and the display mode of the second display buffer are all set to split screen array mode by kernel 101; The display position arranging display buffer is the first display buffer, the second display buffer is distinguished and is positioned at right half screen, left half screen.
Such as, kernel 101 is by the address of the interface data buffer zone of System1-4, and the address respectively as first, second and third and four display buffers of local display controller is sent to local display controller.The display mode of first, second and third and four display buffers of local display controller is all set to split screen array mode by kernel 101; First, second and third is set and is respectively upper right, upper left, lower-left and bottom right 1/4th screen with the display position of four display buffers.In fact, the interface of each operating system can have multiple display position, is not limited to the display position in this example; Kernel 101 can be chosen the display position of specifying according to actual conditions and arrange.
More excellent, the display controller in the intelligent terminal of the embodiment of the present invention can be multiple, except comprising local display controller, can also comprise external display controller.External display controller is for export data according to parameter and be presented at external display device.External display device can be intelligent television, notebook computer etc.
The intelligent terminal of the embodiment of the present invention, by WLAN (wireless local area network) or wired mode, after connecting, starts external display controller with external display device.WLAN (wireless local area network) can be WiFi (WirelessFidelity, Wireless Fidelity) LAN (Local Area Network); Wired mode can be successively by connector (such as MicroUSB interface) and the patchcord of multimedia interface (such as HDMI), the line of multimedia interface of this intelligent terminal, is connected to external display device.
The display mode of the display buffer of display controller can also be set to multi-screen mode by kernel 101, comprising:
Kernel 101 is by the address of the interface data buffer zone of the first operating system 102, and the address as the display buffer of local display controller is sent to local display controller; Arranging the display buffer of local display controller, the i.e. display mode of the interface data buffer zone of the first operating system 102 is exclusive mode.
Kernel 101 is by the address of the interface data buffer zone of the second operating system 103, and the address as the display buffer of external display controller is sent to external display controller; Arranging the display buffer of external display controller, the i.e. display mode of the interface data buffer zone of the second operating system 103 is exclusive mode.
Such as, kernel 101, by the address of the interface data buffer zone Buffer1-2 of System1-2, as the address of the display buffer of this locality, external display controller, is sent to this locality, external display controller respectively.The display mode of the display buffer of this locality, external display controller is all set to exclusive mode by kernel 101.
S204: display controller, according to the content of the display buffer of specifying, shows the interface of the second operating system 103.
Particularly, local display controller, according to the address of the interface data buffer zone of the second operating system 103, obtains the interface data of the second operating system 103 from the interface data buffer zone of the second operating system 103; According to the exclusive mode that display buffer is set up, the interface of full screen display second operating system 103 on the display screen of this intelligent terminal.In exclusive display situation, local display controller does not remove the interface data obtaining other operating system, and on the display screen of this intelligent terminal, nature can not show the interface of other operating system.
Such as, local display controller, according to the address of the Buffer2 of System2, obtains the interface data of System2 from Buffer2; According to the exclusive mode arranged for Buffer2, the interface data of the System2 of acquisition is carried out full screen display on the display screen of intelligent terminal.In exclusive display situation, local display controller do not go obtain System1,3 or 4 interface data, on the display screen of this intelligent terminal nature can not show System1,3 or 4 interface.
More excellent, local display controller carries out Overlapping display to the interface of multiple operating system.
Particularly, local display controller is according to the address of the interface data buffer zone of the first operating system 102, second operating system 103, respectively from the respective interface data buffer zone of the first operating system 102, second operating system 103, obtain the interface data of the first operating system 102, second operating system 103; According to stacked system, superposition level and transparency that display buffer is set up, on the display screen of intelligent terminal by be switched to the interface display of first operating system 102 on backstage at bottom, will the interface display of second operating system 103 on foreground be switched at top layer, and be transparent or opaque by the interface display of the second operating system 103.When the interface of the second operating system 103 is shown as transparent, user can observe the interface of the first operating system 102 through the interface of the second operating system 103.
Such as, local display controller, from Buffer1-4, obtains the interface data of System1-4 respectively; The stacked system be set up according to first, second and third and four display buffers and superposition level, the display screen of this intelligent terminal shows the interface of System2 (top layer), System3, System4 and System1 (bottom) from top to bottom respectively; Wherein, the transparency that local display controller is set up according to second and third and four display buffers, is set to transparent by the interface of System2, System3 and System4.
It will be understood by those skilled in the art that the interface of each operating system of Overlapping display in this step, can be full screen display, also can be non-full screen display (being similar to window display).When the interface of non-bottom is set to transparent after, make user can observe the interface of AM/BAM all operations system, be convenient to user carry out operating system AM/BAM switch, improve switching efficiency.When the interface of each operating system is all non-full screen display, even if the interface being positioned at upper strata is opaque, the part being positioned at the interface of lower floor also can not be blocked usually, user can by clicking operation, the gesture of specifying of the part that lower interface is not blocked or make this mobile terminal move along intended trajectory, thus input system switching command, be convenient to the AM/BAM switching that user carries out operating system, improve switching efficiency.
More excellent, local display controller carries out split screen combination display to the interface of multiple operating system.
Particularly, local display controller is according to the address of the interface data buffer zone of the first operating system 102, second operating system 103, respectively from the respective interface data buffer zone of the first operating system 102, second operating system 103, obtain the interface data of the first operating system 102, second operating system 103; The split screen array mode be set up according to first and second display buffer and display position, show the interface of the second operating system 103 (being positioned at foreground) at the left half screen of this intelligent terminal display screen, show the interface of the first operating system 102 (being positioned at backstage) at the right half screen of this display screen.
Such as, local display controller, from the respective interface data buffer zone Buffer1-4 of Systen1-4, obtains the interface data of Systen1-4 respectively; The split screen array mode be set up according to Buffer1-4 and display position, in the upper left of the display screen of this intelligent terminal, upper right, lower-left and bottom right 1/4th shield, and shows the interface of System2, System1, System3 and System4 respectively.
More excellent, local display controller and external display controller carry out multihead display to the interface of multiple operating system.
Particularly, local display controller, according to the address of the interface data buffer zone of the first operating system 102, obtains the interface data of the first operating system 102 from the interface data buffer zone of the first operating system 102; According to the exclusive mode that the display buffer of local display controller is set up, the interface of full screen display first operating system 102 on the display screen of this intelligent terminal.
External display controller, according to the address of the interface data buffer zone of the second operating system 103, obtains the interface data of the second operating system 103 from the interface data buffer zone of the second operating system 103; According to the exclusive mode that the display buffer of external display controller is set up, the interface of full screen display second operating system 103 on external display device.
Such as, local display controller, from the interface data buffer zone Buffer1 of Systen1, obtains the interface data of Systen1; According to the exclusive mode that Buffer1 is set up, the interface of full screen display System1 (being positioned at backstage) on the display screen of this intelligent terminal.And external display controller is from the interface data buffer zone Buffer2 of Systen2, obtain the interface data of Systen2; According to the exclusive mode that Buffer2 is set up, the interface of full screen display System2 (being positioned at foreground) on external display device.
In fact, display can be changed mutually between the display modes such as exclusive mode, stacked system, split screen array mode and the multi-screen mode mentioned in the above-mentioned steps S203 of the embodiment of the present invention and S204.
Such as, under split screen array mode, the display screen of intelligent terminal shows the interface of System1-4; The interface of user by specifying gesture to amplify one of them operating system System1, then kernel 101 determines to receive systematic evaluation order System1 being switched to foreground and the order display mode of display controller being set to exclusive mode, the interface of full screen display System1 on the display screen of this intelligent terminal.
According to the above-mentioned interface display method based on systematic evaluation, the block schematic illustration of kernel 101 inner structure of the intelligent terminal of the embodiment of the present invention as shown in Figure 3 a, comprising: multisystem administration module 301 and display controller 302.
Wherein, multisystem administration module 301 is for before receiving systematic evaluation order, now the first operating system 102 is positioned at foreground, make display controller 302 for the interface data according to the first operating system 102 in the interface data buffer zone of the first operating system 102, at the interface of display screen display first operating system 102 of this intelligent terminal.
First operating system 102 on foreground, for after receiving systematic evaluation order, is switched to backstage, and the second operating system 103 involved by systematic evaluation order is switched to foreground by multisystem administration module 301; The interface data buffer zone of the second operating system 103 is appointed as the display buffer of display controller; And when the second operating system 103 starts, the address of the interface data buffer zone of the second operating system 103 is appointed as the framebuffer device address of the second operating system 103.
Display controller 302 shows the interface of the second operating system 103 for the content of the display buffer of specifying according to multisystem administration module 301.
The implementation method of above-mentioned multisystem administration module 301 and display controller 302 function, with reference to the particular content of process step as shown in Figure 2 above, can not repeat herein.
More excellent, as shown in Figure 3 b, multisystem administration module 301 comprises: systematic evaluation unit 311, Region specification unit 312 and interface data buffer zone allocation units 313.As shown in Figure 3 b, display controller 302 comprises: local display controller 321 and external display controller 322.
In multisystem administration module 301, interface data buffer zone allocation units 313 are for when os starting, for the operating system started distributes interface data buffer zone, and the address of the interface data buffer zone distributed for operating system is appointed as the framebuffer device address of this operating system.
Preferably, the application request of interface data buffer zone is sent after os starting to FB equipment.
After interface data buffer zone allocation units 313 receive the application request of the interface data buffer zone that operating system sends by FB equipment, for this operating system distributes interface data buffer zone; It is the address space of the interface data buffer zone distributed by the Address space mappinD of the framebuffer device of operating system; This operating system by its interface data, according to framebuffer device address, can be written in the interface data buffer zone of this operating system.
Preferably, interface data buffer zone allocation units 313, by the mark corresponding stored of the mark of operating system with the interface data buffer zone distributed for this operating system, make operating system and interface data buffer zone one_to_one corresponding.
First operating system 102 on foreground, for after receiving systematic evaluation order, is switched to backstage, and the second operating system 103 involved by systematic evaluation order is switched to foreground by systematic evaluation unit 311.
Preferably, after systematic evaluation unit 311 completes the AM/BAM switching of the first operating system 102 and the second operating system 103, by the AM/BAM information of each operating system and the mark corresponding stored of this operating system.
Region specification unit 312 is for being appointed as the display buffer of display controller by the interface data buffer zone of the second operating system 103.
Particularly, Region specification unit 312 determines the interface data buffer zone of the second operating system 103.
Preferably, Region specification unit 312, for each operating system, determines the mark with the AM/BAM information of this operating system of the mark corresponding stored of this operating system and the interface data buffer zone of this operating system.
Region specification unit 312 is behind the interface data buffer zone determining the second operating system 103, by the address of the interface data buffer zone of the second operating system 103, the address as the display buffer of local display controller 321 is sent to local display controller 321.Further, Region specification unit 312 arranges the display mode of the display buffer of local display controller 321 is exclusive mode.
And, the exclusive mode of local display controller 321 for arranging according to Region specification unit 312, the interface of full screen display second operating system 103.
Particularly, local display controller 321, according to the address of the interface data buffer zone of the second operating system 103, obtains the interface data of the second operating system 103 from the interface data buffer zone of the second operating system 103; According to the exclusive mode that display buffer is set up, the interface of full screen display second operating system 103 on the display screen of this intelligent terminal.
More excellent, when the display buffer of local display controller 321 is multiple, Region specification unit 312 is also for being appointed as first and second display buffer of local display controller 321 respectively by the interface data buffer zone of first and second operating system; And the display mode arranging first and second display buffer is set to stacked system, the superposition level arranging display buffer is the first display buffer, the second display buffer is distinguished and is positioned at bottom, top layer; The transparency being positioned at the display buffer of non-bottom is set.
Local display controller carries out Overlapping display to the interface of multiple operating system.
Particularly, local display controller 321 is according to the address of the interface data buffer zone of the first operating system 102, second operating system 103, respectively from the respective interface data buffer zone of the first operating system 102, second operating system 103, obtain the interface data of the first operating system 102, second operating system 103; According to stacked system, superposition level and transparency that display buffer is set up, on the display screen of intelligent terminal by be switched to the interface display of first operating system 102 on backstage at bottom, will the interface display of second operating system 103 on foreground be switched at top layer, and be transparent or opaque by the interface display of the second operating system 103.
More excellent, the display mode of multiple display buffers of local display controller 321 can also be set to split screen array mode by Region specification unit 312, comprising: the first display buffer, second display buffer of local display controller 321 is appointed as in the interface data buffer zone of the first operating system 102, second operating system 103 by Region specification unit 312 respectively.
Particularly, Region specification unit 312, by the address of the interface data buffer zone of the first operating system 102, second operating system 103, is sent to local display controller respectively as the first display buffer of local display controller 321, the address of the second display buffer.Further, the first display buffer of local display controller and the display mode of the second display buffer are all set to split screen array mode by Region specification unit 312; The display position arranging display buffer is the first display buffer, the second display buffer is distinguished and is positioned at right half screen, left half screen.
Local display controller 321 carries out split screen combination display to the interface of multiple operating system.
Particularly, local display controller 321 is according to the address of the interface data buffer zone of the first operating system 102, second operating system 103, respectively from the respective interface data buffer zone of the first operating system 102, second operating system 103, obtain the interface data of the first operating system 102, second operating system 103; The split screen array mode be set up according to first and second display buffer and display position, show the interface of the second operating system 103 (being positioned at foreground) at the left half screen of this intelligent terminal display screen, show the interface of the first operating system 102 (being positioned at backstage) at the right half screen of this display screen.
More excellent, the display mode of the display buffer of display controller 302 can also be set to multi-screen mode by Region specification unit 312, comprising:
Region specification unit 312 is by the address of the interface data buffer zone of the first operating system 102, and the address as the display buffer of local display controller 321 is sent to local display controller 321; Arranging the display buffer of local display controller 321, the i.e. display mode of the interface data buffer zone of the first operating system 102 is exclusive mode.
Region specification unit 312 is by the address of the interface data buffer zone of the second operating system 103, and the address as the display buffer of external display controller 322 is sent to external display controller 322; Arranging the display buffer of external display controller 322, the i.e. display mode of the interface data buffer zone of the second operating system 103 is exclusive mode.
And local display controller 321 and external display controller 322 carry out multihead display to the interface of multiple operating system.
Particularly, local display controller 321, according to the address of the interface data buffer zone of the first operating system 102, obtains the interface data of the first operating system 102 from the interface data buffer zone of the first operating system 102; According to the exclusive mode that the display buffer of local display controller 321 is set up, the interface of full screen display first operating system 102 on the display screen of this intelligent terminal.
External display controller 322, according to the address of the interface data buffer zone of the second operating system 103, obtains the interface data of the second operating system 103 from the interface data buffer zone of the second operating system 103; According to the exclusive mode that the display buffer of external display controller 322 is set up, at the interface of full screen display second operating system 103 on external display device.
Said system switch unit 311, Region specification unit 312 and interface data buffer zone allocation units 313, and the implementation method of local display controller 321 and external display controller 322 function, with reference to the particular content of process step as shown in Figure 2 above, can not repeat herein.
In embodiments of the invention, after intelligent terminal for reception to systematic evaluation order, first operating system on foreground is switched to backstage, and the second operating system involved by systematic evaluation order is switched to foreground from backstage; The interface data buffer zone of the second operating system is appointed as the display buffer of display controller, makes display controller show the interface of the second operating system according to the content in this interface data buffer zone, thus complete changing interface display.Visible, the embodiment of the present invention compared with prior art, the step that the data in interface data buffer zone are removed and loaded can be saved, and the step communicating with one another to know the operating system that interface is shown between operating system can be saved, thus improve the speed of changing interface display, the experience of user can be promoted.
And, in the embodiment of the present invention, after os starting in intelligent terminal, an interface data buffer zone is distributed for this operating system by the kernel of intelligent terminal, and after the address of interface data buffer zone being appointed as the framebuffer device address of this operating system, without the need to the source code of retouching operation system, the method that the embodiment of the present invention can be utilized to provide realizes the changing interface display of multiple operating system.Visible, the workload of the embodiment of the present invention is less, and it is comparatively easy to implement, and portability is comparatively strong, easily promotes, has application prospect comparatively widely.
Further, in embodiments of the invention, each operating system in intelligent terminal can pass through same FB equipment, is written in respective interface data buffer zone by respective interface data and stores.That is, embodiments of the invention can be implemented when the number of single FB equipment or FB equipment is less than the number of operating system, and it is comparatively easy to implement, and portability is comparatively strong, easily promotes, has application prospect comparatively widely.
In addition, in embodiments of the invention, the display of stacked system can be carried out in the interface of multiple operating system by intelligent terminal; When the interface of non-bottom is set to transparent after, make user can observe the interface of AM/BAM all operations system, be convenient to user carry out operating system AM/BAM switch, improve switching efficiency.And intelligent terminal can utilize local display controller and external display controller, multihead display is carried out at the interface of multiple operating system; Such as, video data can be outputted to external intelligent television by external display controller and show by intelligent terminal, and by local display controller display web page on the display screen of this intelligent terminal, make user to carry out surfing the Net and watching video simultaneously; Thus greatly improve the experience of user, and improve the utilization factor of intelligent terminal.
Those skilled in the art of the present technique are appreciated that the one or more equipment that the present invention includes and relate to for performing in operation described in the application.These equipment for required object and specialized designs and manufacture, or also can comprise the known device in multi-purpose computer.These equipment have storage computer program within it, and these computer programs optionally activate or reconstruct.Such computer program can be stored in equipment (such as, computing machine) in computer-readable recording medium or be stored in and be suitable for store electrons instruction and be coupled in the medium of any type of bus respectively, described computer-readable medium includes but not limited to that the dish of any type (comprises floppy disk, hard disk, CD, CD-ROM, and magneto-optic disk), ROM (Read-OnlyMemory, ROM (read-only memory)), RAM (RandomAccessMemory, storer immediately), EPROM (ErasableProgrammableRead-OnlyMemory, Erarable Programmable Read only Memory), EEPROM (ElectricallyErasableProgrammableRead-OnlyMemory, EEPROM (Electrically Erasable Programmable Read Only Memo)), flash memory, magnetic card or light card.Namely, computer-readable recording medium comprises and being stored or any medium of transmission information with the form that can read by equipment (such as, computing machine).
Those skilled in the art of the present technique are appreciated that the combination that can realize the frame in each frame in these structural drawing and/or block diagram and/or flow graph and these structural drawing and/or block diagram and/or flow graph with computer program instructions.Those skilled in the art of the present technique are appreciated that, the processor that these computer program instructions can be supplied to multi-purpose computer, special purpose computer or other programmable data disposal routes realizes, thus is performed the scheme of specifying in the frame of structural drawing disclosed by the invention and/or block diagram and/or flow graph or multiple frame by the processor of computing machine or other programmable data disposal routes.
Those skilled in the art of the present technique are appreciated that various operations, method, the step in flow process, measure, the scheme discussed in the present invention can be replaced, changes, combines or delete.Further, there is various operations, method, other steps in flow process, measure, the scheme discussed in the present invention also can be replaced, change, reset, decompose, combine or delete.Further, of the prior art have also can be replaced with the step in operation various disclosed in the present invention, method, flow process, measure, scheme, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.