CN106445438A - Terminal and display method thereof - Google Patents
Terminal and display method thereof Download PDFInfo
- Publication number
- CN106445438A CN106445438A CN201610814867.XA CN201610814867A CN106445438A CN 106445438 A CN106445438 A CN 106445438A CN 201610814867 A CN201610814867 A CN 201610814867A CN 106445438 A CN106445438 A CN 106445438A
- Authority
- CN
- China
- Prior art keywords
- activity
- data
- dual action
- function
- service
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital 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/1446—Digital 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital 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/1438—Digital 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 using more than one graphics controller
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Embodiments of the invention provide a terminal and a display method thereof. The method comprises the steps of starting a first activity in a stack of a first task according to a pre-constructed double-activity service, newly creating a second task and starting a second activity in a stack of the second task, wherein the first activity runs in a first screen, and the second activity runs in a second screen; obtaining data needed to be used by the first activity and the second activity from application data pre-stored in the double-activity service by the first activity and the second activity; performing windowed calculation on the first activity and the second activity to obtain a first activity window and a second activity window; displaying the data needed to be used by the first activity in the first activity window, and displaying the data needed to be used by the second activity in the second activity window; and calling an associative relationship in the double-activity service, and enabling a state of the second activity to be kept synchronous with a state of the first activity according to the associative relationship. According to the terminal and the display method thereof provided by the embodiments of the invention, two screens can be enabled to display the same application data together, so that a screen expansion function is realized and a hardware structure does not need to be modified.
Description
Technical field
The embodiment of the present invention belongs to electronic technology field, more particularly, to a kind of terminal and its display packing.
Background technology
With the continuous popularization of Display Technique, on multiple screens video data with realize multi-screen interactive demand increasingly
Greatly.
However, existing display device, it is typically only capable to enough different data of independent display on different display screens respectively,
And the data of same application cannot jointly be shown on two screens, thus screen extension cannot be realized.
Content of the invention
The embodiment of the present invention provides a kind of terminal and its display packing, two screens can be synthesized a screen, make
Two screens show same application data jointly, to realize screen expanded function, and do not need to change the hardware knot of Android device
Structure, it is easy to accomplish, it is suitable to be widely popularized use.
Embodiment of the present invention one side provides a kind of display packing of terminal, and described terminal includes the first screen and the second screen
Curtain, methods described includes:
Campaign management services, according to the Dual Action service building in advance, start the first activity, newly in the stack of first task
Build the second task and start the second activity in the stack of this second task, wherein, described first activity operates in described first screen
Curtain, described second activity operates in described second screen;
Described first movable and described second activity obtains each respectively from the application data that described Dual Action service prestores
Data from need;
Movable to described first and described second activity carries out Windowing calculating respectively for window management service, obtains first and lives
Dynamic window and the second active window;
Interface delivery service described first active window show described first activity need to data, described second work
Dynamic window show described second activity need to data;
Described campaign management services call the incidence relation in described Dual Action service, and make institute according to described incidence relation
The state of the state and described first activity of stating the second activity keeps synchronous.
On the other hand the embodiment of the present invention also provides a kind of terminal, and it includes the first screen and the second screen, described terminal
Also include:
Movable start unit, for campaign management services according to the Dual Action service building in advance, in the stack of first task
Middle startup first activity, newly-built second task simultaneously starts the second activity in the stack of this second task, wherein, described first activity
Operate in described first screen, described second activity operates in described second screen;
Data capture unit, prestores from described Dual Action service respectively for the described first movable and described second activity
Obtain in application data each need to data;
Windowing computing unit, for window management service, movable to described first and described second activity carries out window respectively
Mouthization calculates, and obtains the first active window and the second active window;
Synthesis display unit, for interface delivery service described first active window show described first activity need to
Data, described second active window show described second activity need to data;
Associated synchronisation unit, calls the incidence relation in described Dual Action service for described campaign management services, and root
The state of described second activity is made to keep synchronous with the state of described first activity according to described incidence relation.
The embodiment of the present invention is passed through to provide a kind of terminal and its display packing, two screens can be synthesized a screen
Curtain, makes two screens jointly show same application data, to realize screen expanded function, and does not need to change the hard of Android device
Part structure, it is easy to accomplish, it is suitable to be widely popularized use.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below
Accompanying drawing be 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 also be obtained other attached according to these accompanying drawings
Figure.
Fig. 1 is the basic procedure block diagram of the display packing of terminal that the embodiment of the present invention one provides;
Fig. 2 is the FB(flow block) of the display packing of terminal that the embodiment of the present invention two provides;
Fig. 3 is the Dual Action service and campaign management services, the first activity and the second activity that the embodiment of the present invention two provides
Between interactive relation figure;
Fig. 4 is the structured flowchart of the terminal that the embodiment of the present invention three provides;
Fig. 5 is the structured flowchart of the terminal that the embodiment of the present invention four provides;
Fig. 6 is the structured flowchart of the terminal that the embodiment of the present invention five provides.
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 whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
The every other embodiment being obtained under the premise of going out creative work, all should belong to the scope of protection of the invention.
Term " inclusion " in description and claims of this specification and above-mentioned accompanying drawing and their any deformation, meaning
Figure is to cover non-exclusive comprising.For example comprise series of steps or process, method or system, product or the equipment of unit do not have
Have and be defined in the step listed or unit, but alternatively also include step or the unit do not listed, or alternatively also wrap
Include for these processes, method, product or the intrinsic other steps of equipment or unit.Additionally, term " first ", " second " and
" 3rd " etc. is for distinguishing different objects, not for description particular order.
The display packing of the terminal that the embodiment of the present invention is provided and terminal, the application scenarios of its method and terminal unit
Including and be not limited to IOS system, android system, windows system and the terminal or the equipment that carry these systems.Below
Embodiment using android system and carries the terminal of android system for description object as embodiment.
Embodiment one:
In a particular application, the display packing of the terminal that the embodiment of the present invention is provided can be applied not only to including two
The Android device of screen, can also be applied to the Android device including multiple screens, so that the common display of multiple screen is same
The data of application, to realize screen extension.For example, three screens show the article including page three words, then the first screen jointly
Display page 1 word, the second screen display page 2 word, the 3rd screen display page 3 word.
As shown in figure 1, the present embodiment provides a kind of display packing of terminal, described terminal includes the first screen and the second screen
Curtain, methods described includes:
Step S101:Campaign management services (AMS, ActivityManagerService) are according to the Dual Action building in advance
Service (DualActivityService), starts first movable (Activity), newly-built second task in the stack of first task
And start second movable (Activity) in the stack of this second task, wherein, described first activity operates in described first screen
Curtain, described second activity operates in described second screen.
In the present embodiment, default setting be on the first screen run activity (Activity, that is, heavy in ARIXTRA assembly
One of four big assemblies wanted) movable for first, the activity running on the second screen is the second activity.In a particular application,
The activity that could be arranged to run on the first screen is the second activity, and the activity running on the second screen is the first activity.
In one embodiment, include before step S101:
The startup ARIXTRA installation kit instruction of receiving user's input, according to described startup ARIXTRA installation kit instruction, starts corresponding
ARIXTRA installation kit (APK, AndroidPackage), described ARIXTRA installation kit includes the Dual Action service building in advance;
Start described Dual Action service.
In the present embodiment, Dual Action service (DualActivityService) is self-defining function name.
In one embodiment, described newly-built second task startup second activity in the stack of this second task, including:
Start the second activity;
When starting described second activity, send and redirect type mark (Intent.FLAG_ACTIVITY_NEW_TASK),
And by being intended to transmission display flag parameters (display_flag);
According to described display flag parameters, described second activity is simultaneously placed on described second task by newly-built second task
In stack.
Step S102:The application data that described first movable and described second activity prestores from described Dual Action service respectively
Middle acquisition each need to data.
In one embodiment, step S102 specifically includes:
Described data acquisition function is called in described first activity, to obtain from the application data of described Dual Action service memory
Take its need to data;
Described data acquisition function is called in described second activity, to obtain from the application data of described Dual Action service memory
Take its need to data.
Step S103:Window management service (WMS, WindowManagerService) is respectively to the described first activity and institute
Second activity of stating carries out Windowing calculating, obtains the first movable (Activity) window and second movable (Activity) window.
In a particular application, the size of Activity window is serviced to calculate by window management.Window management services
The size of Activity window can be determined according to the size of the screen and this screen ornamental area that run Activity.One
After the size of oneself only known by Activity window, the UI element inside it could be measured, layout and drafting.
The size of Activity window be equal to its effective display area domain size, such as one mobile phone screen, its Activity window
Full-size can be the size of whole mobile phone screen in theory, but typically requires removing electricity display icon, network signal figure
The region of the menu display fields such as mark.
Step S104:In described first active window, interface delivery (Surfaceflinger) service shows that described first lives
Dynamic need to data, described second active window show described second activity need to data.
Step S105:Described campaign management services call the incidence relation in described Dual Action service, and according to described pass
Connection relation makes the state of described second activity keep synchronous with the state of described first activity.
In one embodiment, described campaign management services call the incidence relation in described Dual Action service, including:
Other activities described are called to obtain activity function, described double to be obtained according to other activity acquisition activity functions described
Incidence relation in activity service.
In a particular application, the first activity is made synchronously to specifically refer to the second activity holding:Make the second movable life cycle
The change of the state with first movable life cycle each stage for the state in each stage and change, movable (Activity) life cycle
The state in each stage specifically includes:Suspend (pause), stop (stop), return to (resume) and destroy (destroy).
In one embodiment, also include after step S105:
Described campaign management services obtain the state of described first activity, and call the association in described Dual Action service to close
System, obtains described second activity with described first activity association according to described incidence relation, to switch described second activity
State, makes the state of described second activity keep synchronous with the state of described first activity.
The embodiment of the present invention is passed through to provide a kind of display packing of terminal, two screens can be synthesized a screen,
Make two screens jointly show same application data, to realize screen expanded function, and do not need to change the hardware of Android device
Structure, it is easy to accomplish, it is suitable to be widely popularized use.
Embodiment two:
As shown in Fig. 2 in the present embodiment, also include before step S101 in embodiment one:
Step S201:Build Dual Action service in advance;
Step S202:According to binder mechanism, set up described Dual Action service and campaign management services, the first activity and the
Communication between two activities.
In a particular application, Dual Action services for providing accordingly for campaign management services, the first activity and the second activity
Communication interface, Dual Action service realizes between campaign management services, the first activity and the second movable three as telecommunication media
Communication.
In one embodiment, the method realizing the communication between campaign management services, the first activity and the second movable three
Specifically include:
Other activities setting function (SetOtherActivity function) and other work is built in described Dual Action service
Dynamic obtain function (GetOtherActivity function), wherein, other activity setting activity functions described are used for setting up described the
Incidence relation before one movable and described second activity, other activities described obtain activity function and are used for obtaining described association pass
System;
Build data storage function (SetData function) data in described Dual Action service and obtain function (GetData
Function), wherein, described data storage function is used for data storage, and described data acquisition function is used for obtaining data;
Call described data storage function, to store application data in described Dual Action service.
As shown in figure 3, for Dual Action service (DualActivityService), (in figure is expressed as with campaign management services
AMS), the interaction pass between first movable (in figure is expressed as Activity0) and second movable (in figure is expressed as Activity1)
System's figure.
In a particular application, it is separate between two Activity threads of Android system, pass through
After SetOtherActivity function sets up the incidence relation before an Activity and the 2nd Activity, described first
Activity or described campaign management services can be obtained and first by calling GetOtherActivity function
The 2nd Activity that Activity is associated;When an Activity jumps to each stage of its life cycle, activity
Management service can obtain the 2nd Activity by calling GetOtherActivity function, makes the 2nd Activity life cycle
Each stage of each stage and an Activity life cycle keep synchronous.
In a particular application, when the application data that SetData function is stored is some application of display, required is complete
Portion's application data.For example, during the article of one inclusion of display page two words, described application data includes the complete of this page two word
Portion's data;When jointly showing this article by the first screen and the second screen, an Activity transfers GetData function,
To obtain the data of page 1 word, the 2nd Activity transfers GetData function, to obtain the data of page 2 word, so
Afterwards in the data of the first screen display page 1 word, in the data of the second screen display page 2 word, to realize double screen conjunction
One display function.
The present embodiment passes through to build a self-defining Dual Action service in advance, for realizing adjustable pipe as telecommunication media
Communication between reason service, the first activity and the second movable three, contributes to quick transmission data in a series of activities process.
Embodiment three:
As shown in figure 4, the terminal 10 that the present embodiment is provided, it includes the first screen and the second screen.
In a particular application, described terminal be smart mobile phone based on Android system, panel computer, display, television set
Etc. Android device.
In the present embodiment, described terminal also includes:
Movable start unit 101, for campaign management services according to the Dual Action service building in advance, in first task
Start the first activity, newly-built second task simultaneously starts the second activity in the stack of this second task, and wherein, described first lives in stack
Move and operate in described first screen, described second activity operates in described second screen;
Data capture unit 102, pre- from described Dual Action service respectively for the described first movable and described second activity
Obtain in the application data deposited each need to data;
Windowing computing unit 103, for window management service, movable to described first and described second activity is entered respectively
The Windowing calculating of row, obtains the first active window and the second active window;
In described first active window, synthesis display unit 104, shows that described first activity needs for interface delivery service
Data, described second active window show described second activity need to data;
Associated synchronisation unit 105, calls the incidence relation in described Dual Action service for described campaign management services, and
The state of described second activity is made to keep synchronous with the state of described first activity according to described incidence relation.
In one embodiment, described terminal also includes servicing start unit, for the startup ARIXTRA peace of receiving user's input
Dress bag instruction, according to described startup ARIXTRA installation kit instruction, starts corresponding ARIXTRA installation kit (APK, AndroidPackage),
Described ARIXTRA installation kit includes the Dual Action service building in advance;
Start described Dual Action service.
In a particular application, service start unit can be desktop starter (launcher).
In one embodiment, movable start unit 102 includes:
Second movable start unit, for starting the first activity in the stack of first task;
Second movable start unit, for starting the second activity;
Object tag unit, for when starting described second activity, campaign management services send and redirect type mark, and
By being intended to transmission display flag parameters;
The newly-built unit of task, for according to described display flag parameters, described second activity is simultaneously put by newly-built second task
Put in the stack of described second task.
In one embodiment, described terminal also includes:
First function construction unit, obtains letter for building data storage function data in described Dual Action service
Number, wherein, described data storage function is used for data storage, and described data acquisition function is used for obtaining data;
Function calling cell, is used for calling described data storage function, with data storage in described Dual Action service;
Corresponding, data capture unit 103 includes:
First data capture unit, calls described data acquisition function for described first activity, with from described Dual Action
Obtain in the application data of service memory its need to data;
Second data capture unit, calls described data acquisition function for described second activity, with from described Dual Action
Obtain in the application data of service memory its need to data.
In one embodiment, described terminal also includes:
Second function construction unit, for described Dual Action service in build other activity setting activity functions and other
Activity obtains activity function, and wherein, other activity setting activity functions described are used for setting up described first movable and described second
Incidence relation before activity, other activities described obtain activity function and are used for obtaining described incidence relation;
Corresponding, associated synchronisation unit 106 specifically for:
Other activities described are called to obtain activity function, described double to be obtained according to other activity acquisition activity functions described
Incidence relation in activity service.
In one embodiment, described terminal also includes:
Status toggle unit, obtains the state of described first activity for described campaign management services, and calls described double
Incidence relation in activity service, obtains described second activity with described first activity association according to described incidence relation, with
Switch the state of described second activity, make the state of described second activity keep synchronous with the state of described first activity.
In a particular application, status toggle unit can be campaign management services.
The embodiment of the present invention, by two screens being synthesized a screen, makes two screens jointly show same answering
With data, to realize screen expanded function, and do not need to change the hardware configuration of Android device, it is easy to accomplish, it is suitable to extensively push away
Wide use.
Example IV:
As shown in figure 5, the terminal 10 that the present embodiment is provided also includes on the basis of embodiment three:
Service construction unit 201, for building Dual Action service in advance;
Communication unit 202, for according to binder mechanism, set up described Dual Action service and campaign management services, first
Communication between activity and the second activity.
In a particular application, Dual Action services for providing accordingly for campaign management services, the first activity and the second activity
Communication interface, Dual Action service realizes between campaign management services, the first activity and the second movable three as telecommunication media
Communication.
Service construction unit 201, specifically for building other activity setting functions in described Dual Action service
(SetOtherActivity function) and other activity obtain function (GetOtherActivity function), wherein, described other
Activity setting activity function is used for setting up the incidence relation before the described first movable and described second activity, other activities described
Obtain activity function to be used for obtaining described incidence relation;
Build data storage function (SetData function) data in described Dual Action service and obtain function (GetData
Function), wherein, described data storage function is used for data storage, and described data acquisition function is used for obtaining data;
Call described data storage function, to store application data in described Dual Action service.
The present embodiment passes through to build a self-defining Dual Action service in advance, for realizing adjustable pipe as telecommunication media
Communication between reason service, the first activity and the second movable three, contributes to quick transmission data in a series of activities process.
Embodiment five:
As shown in fig. 6, the terminal 100 that the present embodiment is provided, it includes:
Processor (processor) 110, communication interface (Communications Interface) 120, memorizer
(memory) 130, bus 140, the first screen 150 and the second screen 160.
It is complete that processor 110, communication interface 120, memorizer 130, the first screen 150 and the second screen 160 pass through bus 140
Become mutual communication.
Communication interface 120, for external device, for example, PC, smart mobile phone etc. communicate.
Processor 110, for configuration processor 131.
First screen 150 and the second screen 160 are used for one application data of common display, to realize screen expanded function.
Specifically, program 131 can include program code, and described program code includes computer-managed instruction.
Processor 110 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the one or more integrated electricity of the embodiment of the present invention
Road.
Memorizer 130, is used for depositing program 131.Memorizer 130 may comprise high-speed RAM memorizer it is also possible to also include
Nonvolatile memory (non-volatile memory), for example, at least one disk memory.Program 131 specifically can be wrapped
Include:
Movable start unit 1311, for campaign management services according to the Dual Action service building in advance, in first task
Stack in start the first activity, newly-built second task simultaneously starts the second activity, wherein, described first in the stack of this second task
Activity operates in described first screen, and described second activity operates in described second screen;
Data capture unit 1312, pre- from described Dual Action service respectively for the described first movable and described second activity
Obtain in the application data deposited each need to data;
Windowing computing unit 1313, for window management service, movable to described first and described second activity is entered respectively
The Windowing calculating of row, obtains the first active window and the second active window;
In described first active window, synthesis display unit 1314, shows that described first activity needs for interface delivery service
Data, described second active window show described second activity need to data;
Associated synchronisation unit 1315, calls the incidence relation in described Dual Action service for described campaign management services,
And make the state of described second activity keep synchronous with the state of described first activity according to described incidence relation.
In one embodiment, program 131 can also include:
Second movable start unit, for starting the first activity in the stack of first task;
Second movable start unit, for starting the second activity;
Object tag unit, for when starting described second activity, campaign management services send and redirect type mark, and
By being intended to transmission display flag parameters;
The newly-built unit of task, for according to described display flag parameters, described second activity is simultaneously put by newly-built second task
Put in the stack of described second task.
In one embodiment, program 131 can also include:
First function construction unit, obtains letter for building data storage function data in described Dual Action service
Number, wherein, described data storage function is used for data storage, and described data acquisition function is used for obtaining data;
Function calling cell, is used for calling described data storage function, with data storage in described Dual Action service;
First data capture unit, calls described data acquisition function for described first activity, with from described Dual Action
Obtain in the application data of service memory its need to data;
Second data capture unit, calls described data acquisition function for described second activity, with from described Dual Action
Obtain in the application data of service memory its need to data.
In one embodiment, program 131 can also include:
Second function construction unit, for building other activity setting functions and other activities in described Dual Action service
Obtain function, wherein, other activity setting functions described are used for setting up the pass before the described first movable and described second activity
Connection relation, other activities described obtain function and are used for obtaining described incidence relation;
In one embodiment, program 131 can also include:
Service construction unit, for building Dual Action service in advance;
Communication unit, for according to binder mechanism, setting up described Dual Action service and campaign management services, the first activity
And second communication between activity.
Module in all embodiments of the invention or submodule, can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, special IC) realizing.
Step in present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention device can merge according to actual needs, divides and delete.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible
Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include 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..
The foregoing is only presently preferred embodiments of the present invention, not in order 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 packing of terminal is it is characterised in that described terminal includes the first screen and the second screen, methods described bag
Include:
Campaign management services, according to the Dual Action service building in advance, start the first activity in the stack of first task, and newly-built the
Two tasks simultaneously start the second activity in the stack of this second task, and wherein, described first activity operates in described first screen, institute
Second activity of stating operates in described second screen;
Described first movable and described second activity obtains from the application data that described Dual Action service prestores respectively and each needs
Data;
Movable to described first and described second activity carries out Windowing calculating respectively for window management service, obtains the first active window
Mouth and the second active window;
Interface delivery service described first active window show described first activity need to data, in described second active window
Mouthful show described second activity need to data;
Described campaign management services call the incidence relation in described Dual Action service, and make described the according to described incidence relation
The state of two activities keeps synchronous with the state of described first activity.
2. the display packing of terminal as claimed in claim 1 is it is characterised in that described newly-built second task at this second
Start the second activity in the stack of business to include:
Start the second activity;
When starting described second activity, send and redirect type mark, and by being intended to transmission display flag parameters;
According to described display flag parameters, described second activity is simultaneously placed on the stack of described second task by newly-built second task
In.
3. the display packing of terminal as claimed in claim 1 is it is characterised in that the described first movable and described second activity divides
Do not obtain from the application data that described Dual Action service prestores each need to data before, including:
Build data storage function data in described Dual Action service and obtain function, wherein, described data storage function is used
In data storage, described data acquisition function is used for obtaining data;
Call described data storage function, to store application data in described Dual Action service;
Corresponding, the described first movable and described second activity obtains respectively from the application data that described Dual Action service prestores
Each need to data, including:
Described data acquisition function is called in described first activity, to obtain it from the application data of described Dual Action service memory
Need to data;
Described data acquisition function is called in described second activity, to obtain it from the application data of described Dual Action service memory
Need to data.
4. the display packing of terminal as claimed in claim 1 is it is characterised in that described campaign management services call described dual-active
Before incidence relation in dynamic service, including:
Build other activity setting functions and other activities obtain function in described Dual Action service, wherein, other work described
Dynamic setting function is used for setting up the incidence relation before the described first movable and described second activity, and other activities described obtain letter
Number is used for obtaining described incidence relation;
Corresponding, described campaign management services call the incidence relation in described Dual Action service, including:
Call other activities described to obtain function, obtained in described Dual Action service with obtaining function according to other activities described
Incidence relation.
5. the display packing of terminal as claimed in claim 1 is it is characterised in that methods described also includes:
Build Dual Action service in advance;
According to binder mechanism, set up between described Dual Action service and campaign management services, the first activity and the second activity
Communication.
6. it is characterised in that described terminal includes the first screen and the second screen, described terminal also includes a kind of terminal:
Movable start unit, for campaign management services according to the Dual Action service building in advance, opens in the stack of first task
Dynamic first activity, newly-built second task simultaneously starts the second activity in the stack of this second task, and wherein, described first activity runs
In described first screen, described second activity operates in described second screen;
Data capture unit, the application prestoring from described Dual Action service respectively for the described first movable and described second activity
Obtain in data each need to data;
Windowing computing unit, for window management service respectively movable to described first and described second activity carry out Windowing
Calculate, obtain the first active window and the second active window;
Synthesis display unit, for interface delivery service described first active window show described first activity need to number
According to, described second active window show described second activity need to data;
Associated synchronisation unit, calls the incidence relation in described Dual Action service for described campaign management services, and according to institute
Stating incidence relation makes the state of described second activity keep synchronous with the state of described first activity.
7. terminal as claimed in claim 6 is it is characterised in that described activity start unit includes:
Second movable start unit, for starting the first activity in the stack of first task;
Second movable start unit, for starting the second activity;
Object tag unit, for when starting described second activity, campaign management services send and redirect type mark, and pass through
It is intended to transmission display flag parameters;
The newly-built unit of task, for according to described display flag parameters, described second activity is simultaneously placed on by newly-built second task
In the stack of described second task.
8. terminal as claimed in claim 6 is it is characterised in that described terminal also includes:
First function construction unit, obtains function for building data storage function data in described Dual Action service, its
In, described data storage function is used for data storage, and described data acquisition function is used for obtaining data;
Function calling cell, is used for calling described data storage function, with data storage in described Dual Action service;
Corresponding, described data capture unit includes:
First data capture unit, calls described data acquisition function for described first activity, with from described Dual Action service
Storage application data in obtain its need to data;
Second data capture unit, calls described data acquisition function for described second activity, with from described Dual Action service
Storage application data in obtain its need to data.
9. terminal as claimed in claim 6 is it is characterised in that described terminal also includes:
Second function construction unit, obtains for building other activity setting functions and other activities in described Dual Action service
Function, wherein, the association that other activity setting functions described are used for setting up before the described first movable and described second activity is closed
System, other activities described obtain function and are used for obtaining described incidence relation;
Corresponding, described associated synchronisation unit specifically for:
Call other activities described to obtain function, obtained in described Dual Action service with obtaining function according to other activities described
Incidence relation.
10. terminal as claimed in claim 6 is it is characterised in that described terminal also includes:
Service construction unit, for building Dual Action service in advance;
Communication unit, for according to binder mechanism, setting up described Dual Action service and campaign management services, the first activity and the
Communication between two activities.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610814867.XA CN106445438B (en) | 2016-09-09 | 2016-09-09 | A kind of terminal and its display methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610814867.XA CN106445438B (en) | 2016-09-09 | 2016-09-09 | A kind of terminal and its display methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106445438A true CN106445438A (en) | 2017-02-22 |
CN106445438B CN106445438B (en) | 2019-10-22 |
Family
ID=58168960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610814867.XA Active CN106445438B (en) | 2016-09-09 | 2016-09-09 | A kind of terminal and its display methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445438B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423012A (en) * | 2017-03-31 | 2017-12-01 | 掌阅科技股份有限公司 | A kind of data display method, device and electronic equipment |
CN107832113A (en) * | 2017-10-26 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | A kind of interface display method and device of android system application program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102150094A (en) * | 2008-09-08 | 2011-08-10 | 高通股份有限公司 | Multi-panel device with configurable interface |
CN102495712A (en) * | 2011-12-15 | 2012-06-13 | 王飞 | Map splicing display method based on a plurality of display terminals |
CN103282851A (en) * | 2010-10-01 | 2013-09-04 | Flex Electronics ID Co.,Ltd. | Gesture controls for multi-creen user interface |
CN103581754A (en) * | 2012-07-20 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Data display method and intelligent equipment |
-
2016
- 2016-09-09 CN CN201610814867.XA patent/CN106445438B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102150094A (en) * | 2008-09-08 | 2011-08-10 | 高通股份有限公司 | Multi-panel device with configurable interface |
CN103282851A (en) * | 2010-10-01 | 2013-09-04 | Flex Electronics ID Co.,Ltd. | Gesture controls for multi-creen user interface |
CN102495712A (en) * | 2011-12-15 | 2012-06-13 | 王飞 | Map splicing display method based on a plurality of display terminals |
CN103581754A (en) * | 2012-07-20 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Data display method and intelligent equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423012A (en) * | 2017-03-31 | 2017-12-01 | 掌阅科技股份有限公司 | A kind of data display method, device and electronic equipment |
CN107423012B (en) * | 2017-03-31 | 2018-08-07 | 掌阅科技股份有限公司 | A kind of data display method, device and electronic equipment |
CN107832113A (en) * | 2017-10-26 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | A kind of interface display method and device of android system application program |
Also Published As
Publication number | Publication date |
---|---|
CN106445438B (en) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107728901B (en) | Interface display method and device and terminal | |
CN105549819B (en) | The display methods and device of background application information | |
CN105549820B (en) | A kind of method and terminal showing graphic user interface | |
CN105335041A (en) | Method and apparatus for providing application icon | |
CN105117099A (en) | Terminal interface control method and terminal | |
CN104796553A (en) | Communication event reminding method and terminal | |
CN107728876A (en) | A kind of method of split screen display available, terminal and computer-readable recording medium | |
CN103870119A (en) | Information processing method and electronic equipment | |
CN105988860A (en) | Method for executing application program and mobile device | |
CN107273111A (en) | A kind of multi-screen display method and terminal | |
CN103150183A (en) | Wallpaper background switching processing method of multi-desktop system and mobile intelligent equipment | |
CN106325687A (en) | Method for calling program and terminal | |
CN106843779A (en) | A kind of screen control method and terminal | |
CN105204751A (en) | Method and terminal for touch screen equipment background image conversion | |
CN103279349A (en) | Mobile phone or PDA multi-window browsing system based on moving middleware | |
CN110196665A (en) | UI control background setting method, device and terminal | |
CN104424432A (en) | Information processing method and electronic device | |
CN108459781A (en) | Input frame shows control method, device and user terminal | |
CN107045413A (en) | Application program image target display methods and device | |
CN106445438A (en) | Terminal and display method thereof | |
CN103914223B (en) | The generation method and device at terminal applies interface | |
CN105843576A (en) | Splicing wall window switching method and apparatus | |
CN106713657A (en) | Screen split display method and terminal | |
CN103885676A (en) | Information processing method and electronic equipment | |
CN109062525A (en) | Data processing method, device and the computer equipment of splice displaying system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210317 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 |