CN106648488B - A kind of terminal and its display methods - Google Patents

A kind of terminal and its display methods Download PDF

Info

Publication number
CN106648488B
CN106648488B CN201610821856.4A CN201610821856A CN106648488B CN 106648488 B CN106648488 B CN 106648488B CN 201610821856 A CN201610821856 A CN 201610821856A CN 106648488 B CN106648488 B CN 106648488B
Authority
CN
China
Prior art keywords
screen
display
active stack
window
message
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
CN201610821856.4A
Other languages
Chinese (zh)
Other versions
CN106648488A (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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610821856.4A priority Critical patent/CN106648488B/en
Publication of CN106648488A publication Critical patent/CN106648488A/en
Application granted granted Critical
Publication of CN106648488B publication Critical patent/CN106648488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls

Abstract

The embodiment of the present invention provides a kind of terminal and its display methods, which comprises the driving of unloading the first screen and the second screen, the first screen of load driver and the synthesis of the second screen are shown as the driving of third screen, and send corresponding notice;The active stack of the first screen and the second screen that keep in advance is obtained according to notice, and the active stack of the first screen and the second screen is synthesized to the active stack of third screen;The screen message of third screen is generated according to the active stack of third screen and places the task stack of screen message;Windowing calculating is carried out according to the third screen that screen message again synthesizes the first screen and the second screen, the display window of third screen is generated and is sent to display synthesis module corresponding with third screen, by display window synthesis display in third screen.The embodiment of the present invention can be without being shown to the data arbitrarily applied on a screen as synthesized by two screens under the premise of restarting system, and compatibility is strong.

Description

A kind of terminal and its display methods
Technical field
The embodiment of the present invention belongs to electronic technology field more particularly to a kind of terminal and its display methods.
Background technique
Continuous with display technology is popularized, and shows data on multiple screens to realize the demand of multi-screen interactive increasingly Greatly.
However, existing terminal or display equipment, need restarting systems or only operation terminal or display equipment The specific application that manufacturer writes could show jointly the data of same application on two screens, and compatibility is poor, can not Realize the double screen unification display function of any application.
Summary of the invention
The embodiment of the present invention provides a kind of terminal and its display methods, can be without under the premise of restarting system, arbitrarily The data of application are shown on a screen as synthesized by two screens, and the double screen of any application can be achieved by force in compatibility Unify display function.
On the one hand the embodiment of the present invention provides a kind of display methods of terminal, the Android device includes the first screen and the Two screens, which comprises
If desktop starter detects double screen unification instruction, trigger the first screen described in bottom dynamic offloading first is driven Dynamic and second screen second drives, and the first screen described in load driver and second screen synthesis are shown as third screen The third driving of curtain;
System kernel is sent by display synthesis module, interface delivery service and display management service to campaign management services Notice;
The campaign management services obtain the active stack of first screen kept in advance and described according to the notice The active stack of second screen, and the active stack of the active stack of first screen and second screen is synthesized into the third The active stack of screen;
Window management service generates the screen message of the third screen according to the active stack of the third screen, and generates Place the task stack of the screen message;
Window management service first screen and second screen are synthesized again according to the screen message the Three screens carry out Windowing calculating, to generate the display window of the third screen;
The display window of the third screen is sent to display corresponding with the third screen and closed by interface delivery service At module, display window synthesis to be shown in the third screen by the display synthesis module.
On the other hand the embodiment of the present invention also provides a kind of terminal, the terminal includes the first screen and the second screen, institute Stating terminal includes:
Trigger unit triggers described in bottom dynamic offloading the if detecting double screen unification instruction for desktop starter First driving of one screen and the second of second screen drive, and the first screen described in load driver and second screen close It is driven at the third for being shown as third screen;
Notification unit, for system kernel by showing synthesis module, interface delivery service and display management service to work Dynamic management service sends notice;
Active stack synthesis unit obtains keep in advance described first according to the notice for the campaign management services The active stack of the active stack of screen and second screen, and by the work of the active stack of first screen and second screen Dynamic stack synthesizes the active stack of the third screen;
Screen message generation unit generates the third according to the active stack of the third screen for window management service The screen message of screen, and generate the task stack for placing the screen message;
Display window generation unit, for window management service according to the screen message again to first screen and The third screen of the second screen synthesis carries out Windowing calculating, to generate the display window of the third screen;
Display unit is synthesized, is sent to the display window of the third screen and the third for interface delivery service The corresponding display synthesis module of screen, to be shown display window synthesis in the third by the display synthesis module Screen.
The embodiment of the present invention by providing a kind of terminal and its display methods, can without under the premise of restarting system, The data arbitrarily applied are shown on a screen as synthesized by two screens, and any application can be achieved by force in compatibility Double screen unifies display function, does not need the hardware configuration of change Android device, it is easy to accomplish, suitable for being widely used to promote.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the basic procedure block diagram of the display methods for the terminal that the embodiment of the present invention one provides;
Fig. 2 is the basic procedure block diagram of the display methods of terminal provided by Embodiment 2 of the present invention;
Fig. 3 is the structural block diagram for the terminal that the embodiment of the present invention three provides;
Fig. 4 is the structural block diagram for the terminal that the embodiment of the present invention four provides;
Fig. 5 is the structural block diagram for the terminal that the embodiment of the present invention five provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is the present invention one The embodiment divided, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, should fall within the scope of the present invention.
Description and claims of this specification and term " includes " and their any deformations in above-mentioned attached drawing, meaning Figure, which is to cover, non-exclusive includes.Such as process, method or system comprising a series of steps or units, product or equipment do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " second " and " third " etc. is for distinguishing different objects, not for description particular order.
The display methods and terminal of terminal provided by the embodiment of the present invention, the application scenarios and terminal device of method Including and be not limited to IOS system, android system, windows system and the terminal or equipment for carrying these systems.Below Embodiment is using android system and to carry the terminal of android system be description object as embodiment.
Embodiment one:
As shown in Figure 1, the terminal includes the first screen and the second screen the present embodiment provides a kind of display methods of terminal Curtain.
Double screen unification display in the present embodiment specifically refers to: making script isolated operation different application, display different application Two screens of data synthesize the application data that a large screen shows same application jointly.For example, making the first screen and Two screens synthesize a large screen in physically splicing, and the size of the large screen is equal to the size and the of the first screen The sum of the size of two screens, run Chinese chess application, make the first screen show Board of chess half, the second screen show as Chess chessboard the other half, it is single compared on two screens to realize that two screens show the effect of entire Board of chess jointly Chinese chess application is solely run, method provided by the present embodiment can realize that screen extends, and make to be shown in two screens using data On one biggish screen of curtain splicing synthesis.
In a particular application, the display methods of terminal provided by the embodiment of the present invention can be applied not only to include two The Android device of screen, can also be applied to including multiple screens Android device so that multiple screens show jointly it is same The data of application, to realize that screen extends.For example, three screens show the article including the text of page three jointly, then the first screen Show that first page text, the second screen show that second page text, third screen show third page text.
The described method includes:
Step S101: if desktop starter detects double screen unification instruction, the first screen described in bottom dynamic offloading is triggered First driving of curtain and the second driving of second screen, and the first screen described in load driver and second screen synthesis It is shown as the third driving of third screen.
In a particular application, double screen unification instruction is inputted by user by the user interface of Android device.
In one embodiment, if the desktop starter in step S101 detects double screen, unification instruction includes:
The double screen that desktop starter receives user's input unifies instruction, is unified according to the double screen and is instructed, and starting is corresponding Android installation kit (APK, AndroidPackage).
In the present embodiment, the first driving, the second driving and third driving are respectively used to drive corresponding first screen, the Two screens and third screen are shown using data.
Step S102: system kernel (kernel) passes through display synthesis (HWComposer) module, interface delivery (Surfaceflinger) service and display management service are sent to campaign management services notifies.
Step S103: the campaign management services obtain the activity of first screen kept in advance according to the notice The active stack of stack (ActivityStack) and second screen, and by the active stack of first screen and second screen The active stack of curtain synthesizes the active stack of the third screen;
In the present embodiment, active stack (ActivityStack) refers to one or more associated for placing and managing The storehouse (Stack) of Activity, the new Activity started every time will be added in storehouse, and Activity is the equal of It is recorded in active stack, can be checked and be recalled, the active stack including one group of associated Activity is the equal of one A task (task).
In one embodiment, step S103 includes:
The campaign management services call its pre-registered call back function loaded and displayed function according to the loading messages (onDisplayAdded), the active stack of the active stack of first screen and second screen is synthesized into the third screen The active stack of curtain;
In a particular application, the active stack of the active stack of first screen and second screen is synthesized described The active stack of three screens can specifically be arranged successively the active stack data and of the first screen according to the sequence of data in active stack The active stack data of two screens form a new active stack, which is the active stack of third screen, can also be with After the active stack data that the active stack data of first screen are come to the second screen in order.
Step S104: window management service is believed according to the screen that the active stack of the third screen generates the third screen It ceases (DisplayContent), and generates the task stack (TaskStack) for placing the screen message.
In the present embodiment, task stack (TaskStack) refers to for managing and placing one or more tasks (Task) Associated Activity is combined, is then placed in storehouse by storehouse (Stack), task (Task).
In a particular application, the screen message specifically refers to the information such as the resolution ratio of screen, display id.
In one embodiment, step S104 is specifically included:
Its call back function loaded and displayed function (onDisplayAdded) of the window management service call, according to described The active stack of three screens generates the screen message of the third screen and places the task stack of the screen message.
Step S105: window management service is according to the screen message again to first screen and second screen The third screen of synthesis carries out Windowing calculating, to generate the display window (surface) of the third screen.
In a particular application, to first screen and the Windowing calculating of second screen progress, in particular to again Calculate display size, the display position etc. of the display window (windowstate) of the first screen and the second screen.
In one embodiment, step S105 is specifically included:
Its performLayoutAndPlaceSurfacesLockedLoop function of window management service call, with basis The screen message carries out Windowing calculating to first screen and second screen again, to generate the third screen Display window (surface).
Step S106: the display window of the third screen is sent to corresponding with the third screen by interface delivery service Display synthesis module, with by the display synthesis module by the display window synthesis display in the third screen.
In one embodiment, step S106 is specifically included:
The layer structure (layerstack) of interface delivery service by the display window of the third screen be sent to it is described The corresponding display synthesis module of third screen, to be shown display window synthesis described by the display synthesis module Third screen.
In one embodiment, include: before step S102
Campaign management services first pass through in advance registration display answer device (registerDisplayListener) registration it is hot-swappable The call back function of event deletes explicit function (onDisplayRemoved) and call back function loaded and displayed function (onDisplayAdded)。
The embodiment of the present invention by providing a kind of display methods of terminal, can without restart system under the premise of, times The data of meaning application are shown on a screen as synthesized by two screens, and the double of any application can be achieved by force in compatibility Screen unification display function, does not need the hardware configuration of change Android device, it is easy to accomplish, suitable for being widely used to promote.
Embodiment two:
As shown in Fig. 2, in the present embodiment, the notice is hot-swappable event;Step S102 is specifically included:
Step S201: system kernel sends a hot-swappable event to display synthesis module, and the hot-swappable event includes Unload message (remove) and loading messages (add), wherein the unloading message is for notifying the dynamic of bottom described in other threads First driving and second driving are being unloaded, the loading messages are for notifying the dynamic of bottom described in other threads just Loading the third driving;
Step S202: the display synthesis module calls Hook Function (hook_hotplug) to send out the hot-swappable event Give interface delivery service;
Step S203: the interface delivery service receives the hot-swappable event, then calls its call back function heat to dial and insert Event receiver function (onHotplugReceived) obtains the screen message of the third screen and sends out the hot-swappable event Give display management service.
In a particular application, after display management service receives unloading message, Event receiver can be shown by it (DisplayEventReceiver) the pre-registered call back function of campaign management services is called, campaign management services root is then made Corresponding task is executed according to its pre-registered call back function.
Step S204: the display management service by the hot-swappable event be sent to the campaign management services (AMS, ActivityManagerService);
Step S205: the campaign management services according to the unloading message call, delete by its pre-registered call back function The active stack of first screen is maintained in the first interim chained list by explicit function, and the active stack of second screen is protected It holds in the second interim chained list.
In one embodiment, after step S205 further include:
The loading messages are sent to the window management service by the display management service (WindowManagerServier);
The window management service calls its call back function to delete explicit function according to the loading messages, removes and the window The corresponding task stack (TaskStack) of mouth management service;
Its window lock function of the window management service call locks the display window of first screen (surface) and the display window of second screen, to stop continuing to refresh first screen and the second screen institute The data of display.
In a particular application, the screen message specifically refers to the information such as the resolution ratio of screen, display id.
The embodiment of the present invention notifies other to service " the first screen described in bottom dynamic offloading by sending hot-swappable event The first driving and second screen the second driving, and the first screen described in load driver and second screen synthesis are aobvious Be shown as the third driving of third screen " event, other current screen states of service timely learnings can be made, then opened in time Corresponding task is moved, system response time is improved, shortens screen generated time.
Embodiment three:
As shown in figure 3, terminal 10 provided by the present embodiment comprising the first screen and the second screen, further includes:
Trigger unit 101 triggers described in bottom dynamic offloading if detecting double screen unification instruction for desktop starter First driving of the first screen and the second of second screen drive, the first screen and second screen described in load driver Synthesis is shown as the third driving of third screen;
Notification unit 102, for system kernel by display synthesis module, interface delivery service and display management service to Campaign management services send notice;
Active stack synthesis unit 103, for the campaign management services according to the notice acquisition keep in advance described in The active stack of the active stack of first screen and second screen, and by the active stack of first screen and second screen Active stack synthesize the active stack of the third screen;
Screen message generation unit 104, for window management service according to the generation of the active stack of the third screen The screen message of third screen, and generate the task stack for placing the screen message;
Display window generation unit 105, for window management service according to the screen message again to first screen Curtain and the third screen of second screen synthesis carry out Windowing calculating, to generate the display window of the third screen;
Synthesize display unit 106, for interface delivery service by the display window of the third screen be sent to it is described The corresponding display synthesis module of third screen, to be shown display window synthesis described by the display synthesis module Third screen.
In one embodiment, trigger unit 101 is also used to the double screen unification instruction that desktop starter receives user's input, root Unify according to the double screen and instruct, starts corresponding Android installation kit (APK, AndroidPackage), the Android installation kit First driving of the first screen described in bottom dynamic offloading and the second driving of second screen, and first described in load driver Screen and second screen synthesis are shown as the third driving of third screen.
In one embodiment, active stack synthesis unit 103 disappears specifically for the campaign management services according to the load Breath, calls its pre-registered call back function loaded and displayed function, by the active stack of first screen and second screen Active stack synthesize the active stack of the third screen;
In one embodiment, screen message generation unit 104, being specifically used for the window management service call, it adjusts back letter Number loaded and displayed function generates the screen message of the third screen according to the active stack of the third screen and places the screen The task stack of curtain information.
In one embodiment, display window generation unit 105 is specifically used for its window of window management service call and locks Loop function, to carry out Windowing calculating to first screen and second screen again according to the screen message, with Generate the display window (surface) of the third screen.
In one embodiment, display unit 106 is synthesized, specifically for the layer structure (layerstack) of interface delivery service The display window of the third screen is sent to display synthesis module corresponding with the third screen, to pass through the display Synthesis module is by display window synthesis display in the third screen.
In one embodiment, the terminal further include:
Call back function registering unit first passes through registration display in advance for campaign management services and answers device (registerDisplayListener) call back function for registering hot-swappable event deletes explicit function and call back function load is aobvious Show function.
The embodiment of the present invention by providing a kind of display methods of terminal, can without restart system under the premise of, times The data of meaning application are shown on a screen as synthesized by two screens, and the double of any application can be achieved by force in compatibility Screen unification display function, does not need the hardware configuration of change Android device, it is easy to accomplish, suitable for being widely used to promote.
Example IV:
As shown in figure 4, in the present embodiment, the notice is hot-swappable event;Notification unit 102 specifically includes:
First hot-swappable event transmission unit 201 sends a hot-swappable thing to display synthesis module for system kernel Part, the hot-swappable event include unloading message and loading messages, wherein the unloading message is for notifying described in other threads Bottom dynamic is unloading first driving and second driving, and the loading messages are for notifying bottom described in other threads Layer dynamic is loading the third driving;
Second hot-swappable event transmission unit 202 calls Hook Function by the hot drawing for the display synthesis module Slotting event is sent to interface delivery service;
Screen information acquisition unit 203 receives the hot-swappable event for the interface delivery service, then calls it Call back function heat dials slotting event receiver function and obtains the screen message of the third screen and be sent to the hot-swappable event Display management service;
The hot-swappable event is sent to by the hot-swappable event transmission unit 204 of third for the display management service The campaign management services;
Active stack holding unit 205, for the campaign management services, according to the unloading message call, its is registered in advance Call back function delete explicit function, the active stack of first screen is maintained in the first interim chained list, by described second The active stack of screen is maintained in the second interim chained list.
In a particular application, active stack holding unit passes through after receiving unloading message specifically for display management service It shows that Event receiver (DisplayEventReceiver) calls the pre-registered call back function of campaign management services, then Campaign management services are made to execute corresponding task according to pre-registered call back function.
In one embodiment, notification unit 102 is specific further include:
The loading messages are sent to the window for the display management service by the 4th hot-swappable event transmission unit Mouth management service;
Task stack clearing cell calls its call back function to delete for the window management service according to the loading messages Explicit function removes task stack corresponding with window management service;
Screen locking unit is used for its window lock function of the window management service call, locks the aobvious of first screen Show the display window of window and second screen, to stop continuing to refresh shown by first screen and second screen Data.
The embodiment of the present invention notifies other to service " the first screen described in bottom dynamic offloading by sending hot-swappable event The first driving and second screen the second driving, and the first screen described in load driver and second screen synthesis are aobvious Be shown as the third driving of third screen " event, other current screen states of service timely learnings can be made, then opened in time Corresponding task is moved, system response time is improved, shortens screen generated time.
Embodiment five:
As shown in figure 5, terminal 100 provided by the present embodiment comprising:
Processor (processor) 110, communication interface (Communications Interface) 120, memory (memory) 130, bus 140, the first screen 150 and the second screen 160.
Processor 110, communication interface 120, memory 130, the first screen 150 and the second screen 160 are complete by bus 140 At mutual communication.
Communication interface 120, is used for and external device, for example, PC, smart phone etc. communicate.
First screen 150 and the second screen 160 are in physically mutually splicing setting side by side, for showing one jointly Using data, to realize screen extension function.
Processor 110, for executing program 131;
Specifically, program 131 may include program code, and said program code includes computer operation instruction.
Processor 110 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.
Memory 130, for storing program 131.Memory 130 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Program 131 specifically can wrap It includes:
Trigger unit 1311 triggers bottom dynamic offloading institute if detecting double screen unification instruction for desktop starter State the first driving of the first screen and the second driving of second screen, the first screen and second screen described in load driver Curtain synthesis is shown as the third driving of third screen;
Notification unit 1312 passes through display synthesis module, interface delivery service and display management service for system kernel It sends and notifies to campaign management services;
Active stack synthesis unit 1313, for the campaign management services according to the notice acquisition keep in advance described in The active stack of the active stack of first screen and second screen, and by the active stack of first screen and second screen Active stack synthesize the active stack of the third screen;
Screen message generation unit 1314, for window management service according to the generation of the active stack of the third screen The screen message of third screen, and generate the task stack for placing the screen message;
Display window generation unit 1315, for window management service according to the screen message again to first screen Curtain and the third screen of second screen synthesis carry out Windowing calculating, to generate the display window of the third screen;
Synthesize display unit 1316, for interface delivery service by the display window of the third screen be sent to it is described The corresponding display synthesis module of third screen, to be shown display window synthesis described by the display synthesis module Third screen.
In one embodiment, program 131 specifically can also include:
First hot-swappable event transmission unit sends a hot-swappable event to display synthesis module for system kernel, The hot-swappable event includes unloading message and loading messages, wherein the unloading message is for notifying bottom described in other threads Layer dynamic is unloading first driving and second driving, and the loading messages are for notifying bottom described in other threads Dynamic is loading the third driving;
Second hot-swappable event transmission unit calls Hook Function by the hot-swappable thing for the display synthesis module Part is sent to interface delivery service;
Screen information acquisition unit receives the hot-swappable event for the interface delivery service, then calls its time Letter of transfer number heat dials slotting event receiver function and obtains the screen message of the third screen and be sent to the hot-swappable event aobvious Show management service;
The hot-swappable event is sent to described by the hot-swappable event transmission unit of third for the display management service Campaign management services;
Active stack holding unit, for the campaign management services according to the unloading message call its pre-registered time Letter of transfer number deletes explicit function, the active stack of first screen is maintained in the first interim chained list, by second screen Active stack be maintained in the second interim chained list.
In one embodiment, program 131 specifically can also include:
The loading messages are sent to the window for the display management service by the 4th hot-swappable event transmission unit Mouth management service;
Task stack clearing cell calls its call back function to delete for the window management service according to the loading messages Explicit function removes task stack corresponding with window management service;
Screen locking unit is used for its window lock function of the window management service call, locks the aobvious of first screen Show the display window of window and second screen, to stop continuing to refresh shown by first screen and second screen Data.
In one embodiment, the active stack synthesis unit disappears specifically for the campaign management services according to the load Breath, calls its pre-registered call back function loaded and displayed function, by the active stack of first screen and second screen Active stack synthesize the active stack of the third screen;
The screen message generation unit is specifically used for its call back function loaded and displayed letter of the window management service call Number generates the screen message of the third screen according to the active stack of the third screen and places the task of the screen message Stack.
In one embodiment, program 131 specifically can also include:
Call back function registering unit first passes through registration display in advance for campaign management services and answers the hot-swappable event of device registration Call back function delete explicit function and call back function loaded and displayed function.
In one embodiment, program 131 specifically can also include:
Unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, specific integrated circuit) Lai Shixian.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of display methods of terminal, which is characterized in that the terminal includes the first screen and the second screen, the method packet It includes:
If desktop starter detect double screen unification instruction, trigger the first screen described in bottom dynamic offloading first driving and The second of second screen drives, and the first screen described in load driver and second screen synthesis are shown as third screen Third driving;
System kernel is sent by display synthesis module, interface delivery service and display management service to campaign management services logical Know;
The campaign management services obtain the active stack and described second of first screen kept in advance according to the notice The active stack of screen, and the active stack of the active stack of first screen and second screen is synthesized into the third screen Active stack;
Window management service generates the screen message of the third screen according to the active stack of the third screen, and generates placement The task stack of the screen message;
The third screen that window management service again synthesizes first screen and second screen according to the screen message Curtain carries out Windowing calculating, to generate the display window of the third screen;
The display window of the third screen is sent to display corresponding with the third screen and synthesizes mould by interface delivery service Block, to be shown display window synthesis in the third screen by the display synthesis module.
2. the display methods of terminal as described in claim 1, which is characterized in that the notice is hot-swappable event;
The system kernel is sent by display synthesis module, interface delivery service and display management service to campaign management services Notice, comprising:
System kernel sends a hot-swappable event to display synthesis module, and the hot-swappable event includes unloading message and load Message, wherein the unloading message for notify bottom described in other threads dynamic unloading it is described first driving and it is described Second driving, the loading messages are for notifying the dynamic of bottom described in other threads loading the third driving;
The display synthesis module calls Hook Function that the hot-swappable event is sent to interface delivery service;
The interface delivery service receives the hot-swappable event, then calls its call back function heat to dial slotting event receiver function and obtain It takes the screen message of the third screen and the hot-swappable event is sent to display management service;
The hot-swappable event is sent to the campaign management services by the display management service;
According to the unloading message call, its pre-registered call back function deletes explicit function to the campaign management services, by institute The active stack for stating the first screen is maintained in the first interim chained list, and the active stack of second screen is maintained at the second interim chain In table.
3. the display methods of terminal as claimed in claim 2, which is characterized in that the method also includes:
The loading messages are sent to the window management service by the display management service;
The window management service calls its call back function to delete explicit function according to the loading messages, removes and the window pipe Reason services corresponding task stack;
Its window lock function of the window management service call locks the display window and second screen of first screen The display window of curtain, to stop continuing to refresh data shown by first screen and second screen.
4. the display methods of terminal as claimed in claim 2, which is characterized in that the active stack by first screen and The active stack of second screen synthesizes the active stack of the third screen, comprising:
The campaign management services call its pre-registered call back function loaded and displayed function according to the loading messages, will The active stack of the active stack of first screen and second screen synthesizes the active stack of the third screen;
The window management service generates the screen message of the third screen according to the active stack of the third screen, and generates Place the task stack of the screen message, comprising:
Its call back function loaded and displayed function of the window management service call generates institute according to the active stack of the third screen It states the screen message of third screen and places the task stack of the screen message.
5. such as the display methods of the described in any item terminals of claim 2~4, which is characterized in that the desktop starter detection Include: before whether receiving the double screen unification instruction of user's transmission
Campaign management services first pass through in advance registration display answer device register hot-swappable event call back function delete explicit function and Call back function loaded and displayed function.
6. a kind of terminal, which is characterized in that the terminal includes the first screen and the second screen, and the terminal includes:
Trigger unit triggers the first screen described in bottom dynamic offloading if detecting double screen unification instruction for desktop starter First driving of curtain and the second of second screen drive, and the first screen described in load driver and second screen synthesis are aobvious It is shown as the third driving of third screen;
Notification unit, for system kernel by showing synthesis module, interface delivery service and display management service to adjustable pipe Reason service sends notice;
Active stack synthesis unit obtains first screen kept in advance according to the notice for the campaign management services Active stack and second screen active stack, and by the active stack of the active stack of first screen and second screen Synthesize the active stack of the third screen;
Screen message generation unit generates the third screen according to the active stack of the third screen for window management service Screen message, and generate the task stack for placing the screen message;
Display window generation unit, for window management service according to the screen message again to first screen and described The third screen of second screen synthesis carries out Windowing calculating, to generate the display window of the third screen;
Display unit is synthesized, is sent to the display window of the third screen and the third screen for interface delivery service Corresponding display synthesis module, to be shown display window synthesis in the third screen by the display synthesis module Curtain.
7. terminal as claimed in claim 6, which is characterized in that the notice is hot-swappable event;
The notification unit includes:
First hot-swappable event transmission unit sends a hot-swappable event to display synthesis module for system kernel, described Hot-swappable event includes unloading message and loading messages, wherein the unloading message is for notifying that bottom described in other threads is dynamic State is unloading first driving and second driving, and the loading messages are for notifying the dynamic of bottom described in other threads Loading the third driving;
Second hot-swappable event transmission unit calls Hook Function to send out the hot-swappable event for the display synthesis module Give interface delivery service;
Screen information acquisition unit receives the hot-swappable event for the interface delivery service, then it is called to adjust back letter Number heat dials slotting event receiver function and obtains the screen message of the third screen and the hot-swappable event is sent to display tube Reason service;
The hot-swappable event is sent to the activity for the display management service by the hot-swappable event transmission unit of third Management service;
Active stack holding unit, for the campaign management services according to its pre-registered readjustment letter of the unloading message call Number deletes explicit function, the active stack of first screen is maintained in the first interim chained list, by the work of second screen Dynamic stack is maintained in the second interim chained list.
8. terminal as claimed in claim 7, which is characterized in that the terminal further include:
The loading messages are sent to the window pipe for the display management service by the 4th hot-swappable event transmission unit Reason service;
Task stack clearing cell calls its call back function to delete display for the window management service according to the loading messages Function removes task stack corresponding with window management service;
Screen locking unit is used for its window lock function of the window management service call, locks the display window of first screen The display window of mouth and second screen, to stop continuing to refresh number shown by first screen and second screen According to.
9. terminal as claimed in claim 7, which is characterized in that
The active stack synthesis unit is specifically used for the campaign management services according to the loading messages, calls its registered in advance Call back function loaded and displayed function, the active stack of the active stack of first screen and second screen is synthesized described The active stack of third screen;
The screen message generation unit is specifically used for its call back function loaded and displayed function of the window management service call, root The screen message of the third screen is generated according to the active stack of the third screen and places the task stack of the screen message.
10. such as the described in any item terminals of claim 7~9, which is characterized in that the terminal further include:
Call back function registering unit first passes through registration display in advance for campaign management services and answers time that device registers hot-swappable event Letter of transfer number deletes explicit function and call back function loaded and displayed function.
CN201610821856.4A 2016-09-12 2016-09-12 A kind of terminal and its display methods Active CN106648488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610821856.4A CN106648488B (en) 2016-09-12 2016-09-12 A kind of terminal and its display methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610821856.4A CN106648488B (en) 2016-09-12 2016-09-12 A kind of terminal and its display methods

Publications (2)

Publication Number Publication Date
CN106648488A CN106648488A (en) 2017-05-10
CN106648488B true CN106648488B (en) 2019-10-22

Family

ID=58853146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610821856.4A Active CN106648488B (en) 2016-09-12 2016-09-12 A kind of terminal and its display methods

Country Status (1)

Country Link
CN (1) CN106648488B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908624A (en) * 2018-09-18 2020-03-24 深圳市布谷鸟科技有限公司 Control method and system for screen abnormal display
CN113360120B (en) * 2021-07-02 2023-04-07 亿咖通(湖北)技术有限公司 Screen driving method and apparatus, electronic apparatus, computer-readable storage medium, and computer program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999309A (en) * 2011-08-31 2013-03-27 Flex Electronics ID Co.,Ltd. Multi-screen display control
US8786517B2 (en) * 2012-02-21 2014-07-22 Blackberry Limited System and method for displaying a user interface across multiple electronic devices
CN204423882U (en) * 2015-01-29 2015-06-24 广东王牌网络科技有限公司 A kind of screen splicing control system
CN104915172A (en) * 2015-06-26 2015-09-16 努比亚技术有限公司 Splitting method and device of screens of multiple mobile terminals
CN105739934A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Multi-screen splicing display processing method and device
US9436217B2 (en) * 2010-10-01 2016-09-06 Z124 Windows position control for phone applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9436217B2 (en) * 2010-10-01 2016-09-06 Z124 Windows position control for phone applications
CN102999309A (en) * 2011-08-31 2013-03-27 Flex Electronics ID Co.,Ltd. Multi-screen display control
US8786517B2 (en) * 2012-02-21 2014-07-22 Blackberry Limited System and method for displaying a user interface across multiple electronic devices
CN105739934A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Multi-screen splicing display processing method and device
CN204423882U (en) * 2015-01-29 2015-06-24 广东王牌网络科技有限公司 A kind of screen splicing control system
CN104915172A (en) * 2015-06-26 2015-09-16 努比亚技术有限公司 Splitting method and device of screens of multiple mobile terminals

Also Published As

Publication number Publication date
CN106648488A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
EP3171242B1 (en) Electronic device and method for configuring display thereof
JP6348989B2 (en) Firmware restoration method, apparatus, terminal, program, and recording medium
US20150269164A1 (en) Electronic device and contact display method therefor
CN104969527A (en) Releasing notification data towards a device driver
CN107292180B (en) A kind of screen watermark handling method and device
CN104765466B (en) The key control method and device of mobile terminal
CN104793995A (en) Method and device for controlling GPS invocation
CN106662969A (en) Method of processing content and electronic device thereof
CN106681581B (en) Application icon arrangement method and device
CN111770229B (en) Network connection mode setting method and device
US20200159546A1 (en) Interface switching method and apparatus
CN104683591A (en) Message disturbance-free method based on mobile terminal and mobile terminal using method
US20120226844A1 (en) Dual processor system and method for using the same
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN106648488B (en) A kind of terminal and its display methods
CN104636154B (en) Application program installation method and device
CN109857489B (en) Development system based on Android system, decoupling method and device
US11100243B2 (en) Selective persistence of data utilized by software containers
CN109285524A (en) Liquid crystal display and its display methods, terminal, computer readable storage medium
CN107346198A (en) The startup method and device of application program
CN110389789A (en) A kind of application control method, equipment and computer readable storage medium
CN106775230B (en) Application freezing method and device and terminal
CN106021129A (en) Terminal and terminal cache clearing method
CN109089159A (en) The splicing method for previewing and Related product of promotion video
CN107249021A (en) Method of data synchronization, device, storage medium, computer equipment and server

Legal Events

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

Effective date of registration: 20210318

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right