[go: up one dir, main page]

CN106648488A - Terminal and display method thereof - Google Patents

Terminal and display method thereof Download PDF

Info

Publication number
CN106648488A
CN106648488A CN201610821856.4A CN201610821856A CN106648488A CN 106648488 A CN106648488 A CN 106648488A CN 201610821856 A CN201610821856 A CN 201610821856A CN 106648488 A CN106648488 A CN 106648488A
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.)
Granted
Application number
CN201610821856.4A
Other languages
Chinese (zh)
Other versions
CN106648488B (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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the invention provide a terminal and a display method thereof. The method comprises the steps of uninstalling drivers of a first screen and a second screen, loading a driver for driving the first screen and the second screen to be synthesized and displayed as a third screen, and sending a corresponding notification; obtaining previously kept activity stacks of the first screen and the second screen according to the notification, and synthesizing the activity stacks of the first screen and the second screen into an activity stack of the third screen; generating screen information of the third screen and a task stack for placing the screen information according to the activity stack of the third screen; and performing windowing calculation on the third screen synthesized by the first screen and the second screen again according to the screen information, generating display windows of the third screen, and sending the display windows to a display synthesis module corresponding to the third screen, thereby enabling the display windows to be synthesized and displayed in the third screen. According to the terminal and the display method provided by the embodiments of the invention, data of any application can be displayed in one screen synthesized by two screens on the premise of not restarting a system, so that the compatibility is good.

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 technology
With the continuous popularization of Display Technique, on multiple screens display data with realize multi-screen interactive demand increasingly Greatly.
However, existing terminal or display device, need restarting systems or only operation terminal or display device The application-specific that manufacturer writes, could jointly show the data of same application on two screens, and compatibility is poor, it is impossible to Realize the double screen unification display function of arbitrarily application.
The content of the invention
The embodiment of the present invention provides a kind of terminal and its display methods, can be on the premise of it need not restart system, arbitrarily Using data display on a screen by synthesized by two screens, and the strong double screen for being capable of achieving arbitrarily application of compatibility Unification display function.
On the one hand the embodiment of the present invention provides a kind of display methods of terminal, and the Android device includes the first screen and the Two screens, methods described includes:
If desktop starter detects double screen unification instruction, the first drive of the first screen described in bottom dynamic offloading is triggered Second driving of dynamic and second screen, the first screen described in load driver and second screen synthesis are shown as the 3rd screen 3rd driving of curtain;
System kernel is sent by showing synthesis module, interface delivery service and display management service to campaign management services Notify;
The campaign management services notify to obtain the active stack of first screen for keeping in advance and described according to described The active stack of the second screen, and the active stack of the active stack of first screen and second screen is synthesized into the described 3rd The active stack of screen;
Window management is serviced and generates the screen message of the 3rd screen according to the active stack of the 3rd screen, and is generated Place the task stack of the screen message;
Window management is serviced according to the screen message again to the of first screen and second screen synthesis Three screens carry out Windowing calculating, to generate the display window of the 3rd screen;
The display window of the 3rd screen is sent to show corresponding with the 3rd screen and is closed by interface delivery service Into module, so that display window synthesis to be included in the 3rd screen by the display synthesis module.
On the other hand the embodiment of the present invention also provides a kind of terminal, and the terminal includes the first screen and the second screen, institute Stating terminal includes:
Trigger element, if detecting double screen unification instruction for desktop starter, the described in triggering bottom dynamic offloading First driving of one screen and the second driving of second screen, the first screen described in load driver and second screen are closed Into the 3rd driving for being shown as the 3rd screen;
Notification unit, for system kernel by showing synthesis module, interface delivery service and display management service to work Dynamic management service sends and notifies;
Active stack synthesis unit, notifies to obtain keep in advance described first for the campaign management services according to described 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 3rd screen;
Screen message signal generating unit, the described 3rd is generated for window management service according to the active stack of the 3rd screen The screen message of screen, and generate the task stack for placing the screen message;
Display window signal generating unit, for window management service according to the screen message again to first screen and 3rd screen of the second screen synthesis carries out Windowing calculating, to generate the display window of the 3rd screen;
Synthesis display unit, is sent to the display window of the 3rd screen and the described 3rd for interface delivery service The corresponding display synthesis module of screen, to be included display window synthesis the described 3rd by the display synthesis module Screen.
The embodiment of the present invention by providing a kind of terminal and its display methods, can on the premise of it need not restart system, The arbitrarily data display of application is on a screen by synthesized by two screens, and compatibility is capable of achieving by force arbitrarily application Double screen unifies display function, it is not necessary to change the hardware configuration of Android device, it is easy to accomplish, it is suitable to be widely popularized and uses.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings Figure.
Fig. 1 is the basic procedure block diagram of the display methods of the terminal that the embodiment of the present invention one is provided;
Fig. 2 is the basic procedure block diagram of the display methods of the terminal that the embodiment of the present invention two is provided;
Fig. 3 is the structured flowchart of the terminal that the embodiment of the present invention three is provided;
Fig. 4 is the structured flowchart of the terminal that the embodiment of the present invention four is provided;
Fig. 5 is the structured flowchart of the terminal that the embodiment of the present invention five is provided.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is explicitly described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention one The embodiment divided, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, should all belong to the scope of protection of the invention.
Term " including " and their any deformations in description and claims of this specification and above-mentioned accompanying drawing, meaning Figure is to cover non-exclusive including.Process, method or system, product or equipment for example comprising series of steps or unit does not have The step of listing or unit are defined in, but alternatively also include the step of not listing or unit, or alternatively also wrapped Include other steps intrinsic for these processes, method, product or equipment or unit.Additionally, term " first ", " second " and " 3rd " etc. is for distinguishing different objects, not for description particular order.
The display methods and terminal of the terminal that the embodiment of the present invention is provided, the application scenarios and terminal device of its method Including and be not limited to IOS systems, android system and carries the terminal or equipment of these systems at windows 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 present embodiment provides a kind of display methods of terminal, the terminal includes the first screen and the second screen Curtain.
Double screen unification display in the present embodiment is specifically referred to:Make script isolated operation different application, show different application Two screens of data, synthesize the application data that a giant-screen shows same application jointly.For example, the first screen and are made Two screens synthesize a giant-screen in physically splicing, and the size of the giant-screen is equal to the size of the first screen and the The size sum of two screens, runs Chinese chess application, makes the half of the first screen display Board of chess, the second screen display as Chess chessboard second half, it is single compared on two screens to realize that two screens show the effect of whole Board of chess jointly Solely operation Chinese chess application, the method that the present embodiment is provided is capable of achieving screen extension, makes application data be displayed in two screens On one larger screen of curtain splicing synthesis.
In a particular application, the display methods of the terminal that the embodiment of the present invention is provided can be applied not only to include two The Android device of screen, can also be applied to include the Android device of multiple screens, so that multiple screens show same jointly Using data, with realize screen extend.For example, three screens show the article for including the word of page three jointly, then the first screen Show first page word, the second screen display second page word, the 3rd screen display word of page three.
Methods described includes:
Step S101:If desktop starter detects double screen unification instruction, the first screen described in triggering bottom dynamic offloading 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 3rd driving of the 3rd screen.
In a particular application, double screen unification instruction is input into 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 unification instruction of desktop starter receiving user's input, instructs according to double screen unification, starts corresponding Android installation kit (APK, AndroidPackage).
In the present embodiment, first drive, second drive and the 3rd drive be respectively used to drive corresponding first screen, the Two screens and the 3rd screen display application data.
Step S102:System kernel (kernel) is by showing synthesis (HWComposer) module, interface delivery (Surfaceflinger) service and display management service sends to campaign management services and notifies.
Step S103:The campaign management services are according to the activity for notifying to obtain first screen for keeping in advance 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 3rd screen;
In the present embodiment, active stack (ActivityStack) is referred to for placing and managing one or more associated The storehouse (Stack) of Activity, the new Activity for starting every time will be added in storehouse, and Activity is the equal of In being recorded in active stack, can be checked and be recalled, including the active stack of one group of associated Activity is the equal of one Individual task (task).
In one embodiment, step S103 includes:
The campaign management services call the call back function loaded and displayed function that its is registered in advance according to the loading messages (onDisplayAdded), the active stack of the active stack of first screen and second screen is synthesized into the 3rd 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 into described The active stack of three screens, specifically can be arranged in order the active stack data and of the first screen according to the order of data in active stack The active stack data of two screens constitute a new active stack, and the new active stack is the active stack of the 3rd screen, it is also possible to The active stack data of the first screen are come in order after the active stack data of the second screen.
Step S104:Window management services the screen letter that the 3rd screen is generated according to the active stack of the 3rd screen Breath (DisplayContent), and generate the task stack (TaskStack) for placing the screen message.
In the present embodiment, task stack (TaskStack) is referred to for managing and placing one or more tasks (Task) Storehouse (Stack), task (Task) combines associated Activity, in being then placed within storehouse.
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:
The window management service call its call back function loaded and displayed function (onDisplayAdded), according to described The active stack of three screens generates the screen message of the 3rd screen and places the task stack of the screen message.
Step S105:Window management is serviced according to the screen message again to first screen and second screen 3rd screen of synthesis carries out Windowing calculating, to generate the display window (surface) of the 3rd screen.
In a particular application, Windowing calculating is carried out to first screen and second screen, is specifically referred to again Calculate display size, display location of display window (windowstate) of the first screen and the second screen etc..
In one embodiment, step S105 is specifically included:
Window management service call its performLayoutAndPlaceSurfacesLockedLoop function, with basis The screen message carries out Windowing calculating to first screen and second screen again, to generate the 3rd screen Display window (surface).
Step S106:Interface delivery service is sent to the display window of the 3rd screen corresponding with the 3rd screen Display synthesis module, with by it is described display synthesis module by the display window synthesis include in the 3rd screen.
In one embodiment, step S106 is specifically included:
Interface delivery service Rotating fields (layerstack) by the display window of the 3rd screen be sent to it is described The corresponding display synthesis module of 3rd screen, to be included display window synthesis described by the display synthesis module 3rd screen.
In one embodiment, include before step S102:
Campaign management services beforehand through registration display answer device (registerDisplayListener) register 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 on the premise of it need not restart system, times The data display of meaning application is on a screen by synthesized by two screens, and compatibility is capable of achieving by force the double of arbitrarily application Screen unification display function, it is not necessary to change the hardware configuration of Android device, it is easy to accomplish, it is suitable to be widely popularized and uses.
Embodiment two:
As shown in Fig. 2 in the present embodiment, it is described to notify to be hot-swappable event;Step S102 is specifically included:
Step S201:To synthesis module one hot-swappable event of transmission is shown, the hot-swappable event includes system kernel Unloading message (remove) and loading messages (add), wherein, the unloading message is used to notify bottom dynamic described in other threads Unloading described first to drive and the described second driving, the loading messages are used to notify that bottom dynamic is just described in other threads Drive loading the described 3rd;
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 plug events, then call its call back function heat to dial and insert Event receiver function (onHotplugReceived) obtains the screen message of the 3rd screen and sends out the hot plug events Give display management service.
In a particular application, display management service is received after unloading message, can show Event receiver by it (DisplayEventReceiver) call back function for calling campaign management services registered in advance, then makes campaign management services root Corresponding task is performed according to its call back function registered in advance.
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 are deleted according to described its call back function registered in advance of unloading message call Explicit function, the active stack of first screen is maintained in the first interim chained list, and the active stack of second screen is protected Hold in the second interim chained list.
In one embodiment, also include after step S205:
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;
The window management service call its window lock function, locks the display window of first screen (surface) and second screen display window, 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 service " the first screens 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 3rd driving of the 3rd screen " event, other services can be made to know current screen state in time, then open in time Corresponding task is moved, system response time is improve, screen generated time is shortened.
Embodiment three:
As shown in figure 3, the terminal 10 that the present embodiment is provided, it includes the first screen and the second screen, also includes:
Trigger element 101, if detecting double screen unification instruction for desktop starter, triggers described in bottom dynamic offloading First driving of the first screen and the second driving of second screen, the first screen described in load driver and second screen Synthesis is shown as the 3rd driving of the 3rd screen;
Notification unit 102, for system kernel by show synthesis module, interface delivery service and display management service to Campaign management services send and notify;
Active stack synthesis unit 103, for the campaign management services according to the notice obtained and keep in advance The active stack of the active stack of the first screen and second screen, and by the active stack of first screen and second screen Active stack synthesize the active stack of the 3rd screen;
Screen message signal generating unit 104, for window management service according to the active stack of the 3rd screen is generated The screen message of the 3rd screen, and generate the task stack for placing the screen message;
Display window signal generating unit 105, for window management service according to the screen message again to first screen Curtain and the 3rd screen of second screen synthesis carry out Windowing calculating, to generate the display window of the 3rd screen;
Synthesis display unit 106, for interface delivery service by the display window of the 3rd screen be sent to it is described The corresponding display synthesis module of 3rd screen, to be included display window synthesis described by the display synthesis module 3rd screen.
In one embodiment, trigger element 101 is additionally operable to the double screen unification instruction of desktop starter receiving user's input, root Instruct according to double screen unification, start 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 3rd driving of the 3rd screen.
In one embodiment, active stack synthesis unit 103 disappears specifically for the campaign management services according to the loading Breath, calls the call back function loaded and displayed function that its is registered in advance, by the active stack of first screen and second screen Active stack synthesize the active stack of the 3rd screen;
In one embodiment, screen message signal generating unit 104, specifically for its readjustment letter of the window management service call Number loaded and displayed function, generates the screen message of the 3rd screen and places the screen according to the active stack of the 3rd screen The task stack of curtain information.
In one embodiment, display window signal generating unit 105, specifically for its window locking of window management service call Loop functions, 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 3rd screen.
In one embodiment, display unit 106 is synthesized, specifically for the Rotating fields (layerstack) of interface delivery service The display window of the 3rd screen is sent to into display synthesis module corresponding with the 3rd screen, with by the display Synthesis module includes display window synthesis in the 3rd screen.
In one embodiment, the terminal also includes:
Call back function registering unit, device is answered for campaign management services beforehand through registration display (registerDisplayListener) call back function deletion explicit function and the call back function loading for registering hot-swappable event is aobvious Show function.
The embodiment of the present invention by providing a kind of display methods of terminal, can on the premise of it need not restart system, times The data display of meaning application is on a screen by synthesized by two screens, and compatibility is capable of achieving by force the double of arbitrarily application Screen unification display function, it is not necessary to change the hardware configuration of Android device, it is easy to accomplish, it is suitable to be widely popularized and uses.
Example IV:
As shown in figure 4, in the present embodiment, it is described to notify to be hot-swappable event;Notification unit 102 is specifically included:
First hot-swappable event transmitting element 201, a hot-swappable thing is sent for system kernel to display synthesis module Part, the hot-swappable event includes unloading message and loading messages, wherein, the unloading message is used to notify described in other threads Bottom dynamic is unloading described first and is driving and the described second driving, and the loading messages are used to notify bottom described in other threads Layer dynamic is loading the 3rd driving;
Second hot-swappable event transmitting element 202, Hook Function is called by the hot drawing for the display synthesis module Slotting event is sent to interface delivery service;
Screen information acquisition unit 203, for the interface delivery service hot plug events are received, then call it Call back function heat dials slotting event receiver function and obtains the screen message of the 3rd screen and be sent to the hot plug events Display management is serviced;
3rd hot-swappable event transmitting element 204, is sent to the hot-swappable event 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, receives after unloading message specifically for display management service, passes through It shows that Event receiver (DisplayEventReceiver) calls campaign management services call back function registered in advance, then Campaign management services are made to perform corresponding task according to call back function registered in advance.
In one embodiment, notification unit 102 specifically also includes:
The loading messages are sent to the window by the 4th hot-swappable event transmitting element for the display management service 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 and the window management corresponding task stack of service;
Screen locking unit, 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 service " the first screens 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 3rd driving of the 3rd screen " event, other services can be made to know current screen state in time, then open in time Corresponding task is moved, system response time is improve, screen generated time is shortened.
Embodiment five:
As shown in figure 5, the terminal 100 that the present embodiment is provided, it includes:
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 passes through bus apart from detector unit 150 and display unit 160 140 complete mutual communication.
Communication interface 120, for external device, for example, PC, smart mobile phone etc. communication.
First screen 150 and the second screen 160 show one in physically mutually splicing setting side by side for common Application data, to realize screen expanded function.
Processor 110, for configuration processor 131;
Specifically, program 131 can include program code, and described program code includes computer-managed instruction.
The possibly central processor CPU of processor 110, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement one or more integrated electricity of the embodiment of the present invention Road.
Memory 130, for depositing program 131.Memory 130 may include high-speed RAM memory, it is also possible to also include Nonvolatile memory (non-volatile memory), for example, at least one magnetic disc store.Program 131 specifically can be wrapped Include:
Trigger element 1311, if detecting double screen unification instruction, triggering bottom dynamic offloading institute for desktop starter State the first driving of the first screen and the second driving of second screen, the first screen described in load driver and second screen Curtain synthesis is shown as the 3rd driving of the 3rd screen;
Notification unit 1312, for system kernel by showing synthesis module, interface delivery service and display management service Send to campaign management services and notify;
Active stack synthesis unit 1313, for the campaign management services according to the notice obtained and keep in advance The active stack of the active stack of the first screen and second screen, and by the active stack of first screen and second screen Active stack synthesize the active stack of the 3rd screen;
Screen message signal generating unit 1314, for window management service according to the active stack of the 3rd screen is generated The screen message of the 3rd screen, and generate the task stack for placing the screen message;
Display window signal generating unit 1315, for window management service according to the screen message again to first screen Curtain and the 3rd screen of second screen synthesis carry out Windowing calculating, to generate the display window of the 3rd screen;
Synthesis display unit 1316, for interface delivery service by the display window of the 3rd screen be sent to it is described The corresponding display synthesis module of 3rd screen, to be included display window synthesis described by the display synthesis module 3rd screen.
In one embodiment, program 131 specifically can also include:
First hot-swappable event transmitting element, a hot-swappable event is sent for system kernel to display synthesis module, The hot-swappable event includes unloading message and loading messages, wherein, the unloading message is used to notify bottom described in other threads Layer dynamic is unloading described first and is driving and the described second driving, and the loading messages are used to notify bottom described in other threads Dynamic is loading the 3rd driving;
Second hot-swappable event transmitting element, Hook Function is called by the hot-swappable thing for the display synthesis module Part is sent to interface delivery service;
Screen information acquisition unit, for the interface delivery service hot plug events are received, then call its time Letter of transfer number heat dials slotting event receiver function and obtains the screen message of the 3rd screen and be sent to the hot plug events aobvious Show management service;
3rd hot-swappable event transmitting element, is sent to the hot-swappable event for the display management service described Campaign management services;
Active stack holding unit, for the campaign management services, according to the unloading message call, its registered in advance is returned 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 by the 4th hot-swappable event transmitting element for the display management service 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 and the window management corresponding task stack of service;
Screen locking unit, 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 loading Breath, calls the call back function loaded and displayed function that its is registered in advance, by the active stack of first screen and second screen Active stack synthesize the active stack of the 3rd screen;
The screen message signal generating unit is specifically for its call back function loaded and displayed letter of the window management service call Number, generates the screen message of the 3rd screen and places the task of the screen message according to the active stack of the 3rd screen Stack.
In one embodiment, program 131 specifically can also include:
Call back function registering unit, answers device and registers hot-swappable event for campaign management services beforehand through registration display 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 be by universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or by ASIC (Application Specific Integrated Circuit, special IC) realizing.
Step in present invention method can according to actual needs carry out order adjustment, merge and delete.
Unit in embodiment of the present invention device can according to actual needs be merged, divides and deleted.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, can be Related hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of display methods of terminal, it is characterised in that the terminal includes the first screen and the second screen, methods described bag Include:
If desktop starter detect double screen unification instruction, trigger bottom dynamic offloading described in the first screen first driving and Second driving of second screen, the first screen described in load driver and second screen synthesis are shown as the 3rd screen 3rd drives;
System kernel sends logical by showing synthesis module, interface delivery service and display management service to campaign management services Know;
The campaign management services are according to the active stack and described second for notifying to obtain first screen for keeping in advance The active stack of screen, and the active stack of the active stack of first screen and second screen is synthesized into the 3rd screen Active stack;
Window management is serviced and generates the screen message of the 3rd screen according to the active stack of the 3rd screen, and generates placement The task stack of the screen message;
Window management is serviced according to the screen message again to first screen and the 3rd screen of second screen synthesis Curtain carries out Windowing calculating, to generate the display window of the 3rd screen;
The display window of the 3rd screen is sent to show corresponding with the 3rd screen and synthesizes mould by interface delivery service Block, to be included display window synthesis in the 3rd screen by the display synthesis module.
2. the display methods of terminal as claimed in claim 1, it is characterised in that the notice is hot-swappable event;
The system kernel is sent by showing synthesis module, interface delivery service and display management service to campaign management services Notify, including:
To synthesis module one hot-swappable event of transmission is shown, the hot-swappable event includes unloading message and loading to system kernel Message, wherein, the unloading message is used to notify described in other threads that bottom dynamic is unloading described first and driving and described Second drives, and the loading messages are used to notify that bottom dynamic is loading the 3rd driving described in other threads;
The display synthesis module calls Hook Function that the hot-swappable event is sent to into interface delivery service;
The interface delivery service receives the hot plug events, then call its call back function heat to dial slotting event receiver function and obtain Take the screen message of the 3rd screen and the hot plug events are sent to into display management service;
The hot-swappable event is sent to the campaign management services by the display management service;
The campaign management services delete explicit function according to described its call back function registered in advance of unloading message call, 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 into the second interim chain In table.
3. the display methods of terminal as claimed in claim 2, it is characterised in that methods described 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 The corresponding task stack of reason service;
The window management service call its window lock function, locks the display window and second screen of first screen The display window of curtain, to stop continuing to refresh first screen and the data shown by second screen.
4. the display methods of terminal as claimed in claim 2, it is characterised in that the active stack by first screen and The active stack of second screen synthesizes the active stack of the 3rd screen, including:
The campaign management services call the call back function loaded and displayed function that its is registered in advance 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 3rd screen;
The window management service generates the screen message of the 3rd screen according to the active stack of the 3rd screen, and generates The task stack of the screen message is placed, including:
The window management service call its call back function loaded and displayed function, according to the active stack of the 3rd screen institute is generated The screen message for stating the 3rd screen and the task stack for placing the screen message.
5. the display methods of the terminal as described in any one of claim 2~4, it is characterised in that the desktop starter detection Include before the double screen unification instruction for whether receiving user's transmission:
Campaign management services show beforehand through registration 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, it is characterised in that the terminal includes the first screen and the second screen, the terminal includes:
Trigger element, if detecting double screen unification instruction, the first screen described in triggering bottom dynamic offloading for desktop starter First driving of curtain and the second driving of second screen, the first screen described in load driver and second screen synthesize aobvious It is shown as the 3rd driving of the 3rd screen;
Notification unit, for system kernel by showing synthesis module, interface delivery service and display management service to adjustable pipe Reason service sends and notifies;
Active stack synthesis unit, notifies to obtain first screen for keeping in advance for the campaign management services according to described Active stack and second screen active stack, and by the active stack of first screen and the active stack of second screen Synthesize the active stack of the 3rd screen;
Screen message signal generating unit, the 3rd screen is generated for window management service according to the active stack of the 3rd screen Screen message, and generate the task stack for placing the screen message;
Display window signal generating unit, for window management service according to the screen message again to first screen and described 3rd screen of the second screen synthesis carries out Windowing calculating, to generate the display window of the 3rd screen;
Synthesis display unit, is sent to the display window of the 3rd screen and the 3rd screen for interface delivery service Corresponding display synthesis module, to be included display window synthesis in the 3rd screen by the display synthesis module Curtain.
7. terminal as claimed in claim 6, it is characterised in that the notice is hot-swappable event;
The notification unit includes:
First hot-swappable event transmitting element, it is described for system kernel to synthesis module one hot-swappable event of transmission is shown Hot-swappable event includes unloading message and loading messages, wherein, the unloading message is used to notify that bottom described in other threads is moved State is unloading described first and is driving and the described second driving, and the loading messages are used to notify bottom dynamic described in other threads Loading the 3rd driving;
Second hot-swappable event transmitting element, calls Hook Function to send out the hot-swappable event for the display synthesis module Give interface delivery service;
Screen information acquisition unit, for the interface delivery service hot plug events are received, then call its readjustment letter Number heat dials slotting event receiver function and obtains the screen message of the 3rd screen and the hot plug events are sent to into display tube Reason service;
3rd hot-swappable event transmitting element, the activity is sent to for the display management service by the hot-swappable event Management service;
Active stack holding unit, for the campaign management services according to described its readjustment letter registered in advance of 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, it is characterised in that the terminal also includes:
The loading messages are sent to the window pipe by the 4th hot-swappable event transmitting element for the display management service Reason service;
Task stack clearing cell, calls its call back function to delete and shows for the window management service according to the loading messages Function, removes and the window management corresponding task stack of service;
Screen locking unit, for its window lock function of the window management service call, locks the display window of first screen Mouthful and second screen display window, to stop continuing to refresh first screen and the number shown by second screen According to.
9. terminal as claimed in claim 7, it is characterised in that
The active stack synthesis unit, according to the loading messages, calls its registered in advance specifically for the campaign management services 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 the 3rd screen;
The screen message signal generating unit is specifically for its call back function loaded and displayed function of the window management service call, root The screen message of the 3rd screen is generated according to the active stack of the 3rd screen and place the task stack of the screen message.
10. the terminal as described in any one of claim 7~9, it is characterised in that the terminal also includes:
Call back function registering unit, shows that answering device registers returning for hot-swappable event for campaign management services beforehand through registration 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 true CN106648488A (en) 2017-05-10
CN106648488B 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)

Cited By (3)

* 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
CN113360120A (en) * 2021-07-02 2021-09-07 湖北亿咖通科技有限公司 Screen driving method and apparatus, electronic apparatus, computer-readable storage medium, and computer program product
WO2024193217A1 (en) * 2023-03-22 2024-09-26 华为技术有限公司 Message display method, and medium and electronic device

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

Cited By (3)

* 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
CN113360120A (en) * 2021-07-02 2021-09-07 湖北亿咖通科技有限公司 Screen driving method and apparatus, electronic apparatus, computer-readable storage medium, and computer program product
WO2024193217A1 (en) * 2023-03-22 2024-09-26 华为技术有限公司 Message display method, and medium and electronic device

Also Published As

Publication number Publication date
CN106648488B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN102693394B (en) Method and device for intercepting calling for service of application program
US8875304B2 (en) Application and data removal system
US20110179366A1 (en) Method and apparatus for privacy protection in mobile terminal
CN108702414A (en) Screen lock method and device
JP2017510008A (en) Firmware restoration method, apparatus, terminal, program, and recording medium
CN107958168A (en) Screen recording method and device and terminal
CA2431384A1 (en) Voicemail user interface methods and apparatus for mobile communication devices
JP2010532899A5 (en)
CN101951424A (en) Contact information prompt method, system and mobile terminal
US20140380213A1 (en) Location adjustment system and related method
CN108170844A (en) Storage method, device, terminal and storage medium for screen recording files
CN104731530A (en) Mobile terminal and file management method applied to same
CN108055415A (en) Call redialing method, device and computer equipment
CN106648488A (en) Terminal and display method thereof
WO2016165602A1 (en) Inter-system screen switching method
CN106599115B (en) Data protection method, device and terminal
CN105979062B (en) Communication event processing method and device
CN116088716B (en) Window management method and terminal equipment
CN108683588A (en) A message management method, a message management device and a mobile terminal
US8855609B2 (en) User interface for selectively playing back content of a forwarded message
CN115599484A (en) Screen capture method, screen capture device, screen capture device and computer storage medium
CN106874184B (en) Java code detection method and device
CN112015309A (en) Display switching method and device and mobile terminal
CN103631785B (en) An electronic device and a mode switching method applied to the electronic device
US20080133792A1 (en) Information processing device, method and program for displaying number of transferred data

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