[go: up one dir, main page]

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

A kind of terminal and its display methods Download PDF

Info

Publication number
CN106445438B
CN106445438B CN201610814867.XA CN201610814867A CN106445438B CN 106445438 B CN106445438 B CN 106445438B CN 201610814867 A CN201610814867 A CN 201610814867A CN 106445438 B CN106445438 B CN 106445438B
Authority
CN
China
Prior art keywords
activity
data
dual action
action service
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610814867.XA
Other languages
Chinese (zh)
Other versions
CN106445438A (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 CN201610814867.XA priority Critical patent/CN106445438B/en
Publication of CN106445438A publication Critical patent/CN106445438A/en
Application granted granted Critical
Publication of CN106445438B publication Critical patent/CN106445438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1438Digital 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote 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

The embodiment of the present invention provides a kind of terminal and its display methods, the described method includes: according to the Dual Action service constructed in advance, the first activity of starting in the stack of first task, newly-built second task and the second activity of starting in the stack of second task, wherein, first activity operates in the first screen, and the second activity operates in the second screen;First activity and second activity prestored respectively from Dual Action service using obtained in data respectively need to data;Windowing calculating is carried out to the first activity and the second activity respectively, obtains the first active window and the second active window;The first active window show the first activity need to data, the second active window show the second activity need to data;The incidence relation in Dual Action service is called, and keeps the second movable state synchronous with the first movable state holding according to incidence relation.The embodiment of the present invention can make two screens show same application data jointly, realize that screen extends function, and not need change hardware configuration.

Description

A kind of terminal and its display methods
Technical field
The embodiment of the present invention belongs to electronic technology field more particularly to a kind of terminal and its display methods.
Background technique
Continuous with display technology is popularized, and shows data on multiple screens to realize the demand of multi-screen interactive increasingly Greatly.
However, existing display equipment, is typically only capable to enough individually show different data on different display screens respectively, And the data of same application can not be shown jointly on two screens, to cannot achieve screen extension.
Summary of the invention
The embodiment of the present invention provides a kind of terminal and its display methods, two screens can be synthesized a screen, made Two screens show same application data jointly, to realize screen extension function, and do not need the hardware knot of change Android device Structure, it is easy to accomplish, suitable for being widely used to promote.
On the one hand the embodiment of the present invention provides a kind of display methods of terminal, the terminal includes the first screen and the second screen Curtain, which comprises
Campaign management services start the first activity, newly according to the Dual Action service constructed in advance in the stack of first task Build the second task and the second activity of starting in the stack of second task, wherein first activity operates in first screen Curtain, second activity operate in second screen;
First activity and second activity obtain from the application data that the Dual Action service prestores each respectively From need to data;
Window management service carries out Windowing calculating to first activity and second activity respectively, and it is living to obtain first Dynamic window and the second active window;
Interface delivery service first active window show first activity need to data, it is living described second Dynamic window show second activity need to data;
The campaign management services call the incidence relation in the Dual Action service, and make institute according to the incidence relation It is synchronous with the described first movable state holding to state the second movable state.
On the other hand the embodiment of the present invention also provides a kind of terminal comprising the first screen and the second screen, the terminal Further include:
Movable start unit, for campaign management services according to the Dual Action service constructed in advance, in the stack of first task Middle the first activity of starting, creates the second task and the second activity of starting in the stack of second task, wherein first activity First screen is operated in, second activity operates in second screen;
Data capture unit is prestored from the Dual Action service respectively for first activity and second activity Using obtained in data respectively need to data;
Windowing computing unit carries out window to first activity and second activity respectively for window management service Mouthization calculates, and obtains the first active window and the second active window;
Synthesize display unit, for interface delivery service first active window show first activity need to Data, second active window show second activity need to data;
Associated synchronisation unit calls the incidence relation in the Dual Action service, and root for the campaign management services Keep the described second movable state synchronous with the described first movable state holding according to the incidence relation.
Two screens can be synthesized a screen by providing a kind of terminal and its display methods by the embodiment of the present invention Curtain, makes two screens show same application data jointly, to realize screen extension function, and does not need the hard of change Android device Part structure, it is easy to accomplish, suitable for being widely used to promote.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the basic procedure block diagram of the display methods for the terminal that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the display methods of terminal provided by Embodiment 2 of the present invention;
Fig. 3 is Dual Action service provided by Embodiment 2 of the present invention and campaign management services, the first activity and the second activity Between interactive relation figure;
Fig. 4 is the structural block diagram for the terminal that the embodiment of the present invention three provides;
Fig. 5 is the structural block diagram for the terminal that the embodiment of the present invention four provides;
Fig. 6 is the structural block diagram for the terminal that the embodiment of the present invention five provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is the present invention one The embodiment divided, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, should fall within the scope of the present invention.
Description and claims of this specification and term " includes " and their any deformations in above-mentioned attached drawing, meaning Figure, which is to cover, non-exclusive includes.Such as process, method or system comprising a series of steps or units, product or equipment do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " second " and " third " etc. is for distinguishing different objects, not for description particular order.
The display methods and terminal of terminal provided by the embodiment of the present invention, the application scenarios and terminal device of method Including and be not limited to IOS system, android system, windows system and the terminal or equipment for carrying these systems.Below Embodiment is using android system and to carry the terminal of android system be description object as embodiment.
Embodiment one:
In a particular application, the display methods of terminal provided by the embodiment of the present invention can be applied not only to include two The Android device of screen, can also be applied to including multiple screens Android device so that multiple screens show jointly it is same The data of application, to realize that screen extends.For example, three screens show the article including the text of page three jointly, then the first screen Show that first page text, the second screen show that second page text, third screen show third page text.
As shown in Figure 1, the terminal includes the first screen and the second screen the present embodiment provides a kind of display methods of terminal Curtain, which comprises
Step S101: campaign management services (AMS, ActivityManagerService) are according to the Dual Action constructed in advance It services (DualActivityService), starts first movable (Activity) in the stack of first task, create the second task And starting second is movable (Activity) in the stack of second task, wherein first activity operates in first screen Curtain, second activity operate in second screen.
In the present embodiment, default setting be run on the first screen activity (Activity, i.e., it is most heavy in Android component One of big component of four wanted) it is the first activity, the activity run on the second screen is the second activity.In a particular application, Can be set to the activity run on the first screen is the second activity, and the activity run on the second screen is the first activity.
In one embodiment, include: before step S101
The starting Android installation kit instruction for receiving user's input, instructs, starting is corresponding according to the starting Android installation kit Android installation kit (APK, AndroidPackage), include the Dual Action service constructed in advance in the Android installation kit;
Start the Dual Action service.
Dual Action service (DualActivityService) is customized function name in the present embodiment.
In one embodiment, newly-built second task and the second activity of starting in the stack of second task, comprising:
The second activity of starting;
When starting second activity, sending jumps type mark (Intent.FLAG_ACTIVITY_NEW_TASK), And by being intended to transmitting display flag parameters (display_flag);
According to the display flag parameters, second activity is simultaneously placed on second task by newly-built second task In stack.
Step S102: the application data that first activity and second activity are prestored from the Dual Action service respectively It is middle acquisition respectively need to data.
In one embodiment, step S102 is specifically included:
The data acquisition function is called in first activity, to obtain from the application data of the Dual Action service memory Take its need to data;
The data acquisition function is called in second activity, to obtain from the application data of the Dual Action service memory Take its need to data.
Step S103: window management service (WMS, WindowManagerService) is respectively to first activity and institute It states the second activity and carries out Windowing calculating, obtain the first movable (Activity) window and second movable (Activity) window.
In a particular application, the size of Activity window is calculated by window management service.Window management service The size of Activity window can be determined according to the size of the screen of operation Activity and the screen ornamental area.One After Activity window only knows the size of oneself, the UI element inside it could be measured, be laid out and be drawn. The size of Activity window is equal to the size of its effective display area domain, such as a mobile phone screen, Activity window Full-size theoretically can be the size of whole mobile phone screen, but usually require to remove electricity display icon, network signal figure The region of the menus display fields such as mark.
Step S104: interface delivery (Surfaceflinger) service shows that described first is living in first active window It is dynamic need to data, second active window show second activity need to data.
Step S105: the campaign management services call the incidence relation in the Dual Action service, and according to the pass Connection relationship keeps the described second movable state synchronous with the described first movable state holding.
In one embodiment, the campaign management services call the incidence relation in the Dual Action service, comprising:
It calls other described activities to obtain activity function, obtains activity function with other described activities of basis and obtain described pair Incidence relation in activity service.
In a particular application, make first activity with second activity holding synchronize specifically refer to: make the second activity life cycle The state in each stage changes with the variation of the state in first activity life cycle each stage, movable (Activity) life cycle The state in each stage specifically includes: pause (pause) stops (stop), returns to (resume) and destroy (destroy).
In one embodiment, after step S105 further include:
The campaign management services obtain the first movable state, and the association in the Dual Action service is called to close System obtains second activity with first activity association according to the incidence relation, movable to switch described second State keeps the described second movable state synchronous with the described first movable state holding.
Two screens can be synthesized a screen by providing a kind of display methods of terminal by the embodiment of the present invention, So that two screens is shown same application data jointly, to realize screen extension function, and does not need the hardware of change Android device Structure, it is easy to accomplish, suitable for being widely used to promote.
Embodiment two:
As shown in Fig. 2, in the present embodiment, in embodiment one before step S101 further include:
Step S201: building Dual Action service in advance;
Step S202: according to binder mechanism, the Dual Action service and campaign management services, the first activity and the are established Communication between two activities.
In a particular application, Dual Action service for campaign management services, the first activity and the second activity for providing accordingly 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 for the communication between campaign management services, the first activity and the second movable three is realized It specifically includes:
Other activity settings function (SetOtherActivity function) and other work are constructed in Dual Action service It is dynamic to obtain function (GetOtherActivity function), wherein other described activity setting activity functions are for establishing described the Incidence relation before one activity and second activity, other described activities obtain activity function and close for obtaining the association System;
Data storage function (SetData function) and data acquisition function (GetData are constructed in Dual Action service Function), wherein for storing data, the data acquisition function is for obtaining data for the data storage function;
The data storage function is called, applies data to store in Dual Action service.
As shown in figure 3, (being expressed as in figure for Dual Action service (DualActivityService) with campaign management services AMS), the interaction between first movable (being expressed as Activity0 in figure) and second movable (being expressed as Activity1 in figure) is closed System's figure.
In a particular application, it is independent from each other, passes through between two Activity threads of Android system SetOtherActivity function is established after the incidence relation before the first Activity and the 2nd Activity, and described first Activity or the campaign management services can be obtained and first by calling GetOtherActivity function Associated 2nd Activity of Activity;When the first Activity jumps to each stage of its life cycle, activity Management service can make the 2nd Activity life cycle by calling GetOtherActivity function to obtain the 2nd Activity Each stage it is synchronous with the holding of each stage of the first Activity life cycle.
In a particular application, the application data that SetData function is stored are to show some in application, required complete Apply data in portion.For example, display one include the text of page two article when, it is described using data be include the complete of the texts of page two Portion's data;When showing this article jointly by the first screen and the second screen, the first Activity transfers GetData function, To obtain the data of first page text, the 2nd Activity transfers GetData function, to obtain the data of second page text, so The data for showing first page text in the first screen afterwards show the data of second page text in the second screen, to realize that double screen closes One display function.
The present embodiment by constructing a customized Dual Action service in advance, for realizing adjustable pipe as telecommunication media Communication between reason service, the first activity and the second movable three, helps quickly to transmit data in a series of activities process.
Embodiment three:
As shown in figure 4, terminal 10 provided by the present embodiment comprising the first screen and the second screen.
In a particular application, the terminal is smart phone based on android system, tablet computer, display, television set Etc. Android devices.
In the present embodiment, the terminal further include:
Movable start unit 101, for campaign management services according to the Dual Action service constructed in advance, in first task The first activity of starting in stack creates the second task and the second activity of starting in the stack of second task, wherein described first is living Dynamic to operate in first screen, second activity operates in second screen;
Data capture unit 102, it is pre- from Dual Action service respectively for first activity and second activity Deposit using obtained in data respectively need to data;
Windowing computing unit 103, for window management service respectively to it is described first activity and it is described second activity into The Windowing calculating of row, obtains the first active window and the second active window;
Display unit 104 is synthesized, shows that first activity needs in first active window for interface delivery service Data, second active window show second activity need to data;
Associated synchronisation unit 105 calls the incidence relation in the Dual Action service for the campaign management services, and Keep the described second movable state synchronous with the described first movable state holding according to the incidence relation.
In one embodiment, the terminal further includes service start unit, for receiving the starting Android peace of user's input Dress packet instruction, instructs according to the starting Android installation kit, starts corresponding Android installation kit (APK, AndroidPackage), It include the Dual Action service constructed in advance in the Android installation kit;
Start the 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 the first activity of starting in the stack of first task;
Second movable start unit, for starting the second activity;
Object tag unit is used for when starting second activity, and campaign management services sending jumps type mark, and By being intended to transmit display flag parameters;
Task creates unit, for according to the display flag parameters, newly-built second task simultaneously to put second activity It sets in the stack of second task.
In one embodiment, the terminal further include:
First function construction unit, for constructing data storage function and data acquisition letter in Dual Action service Number, wherein for storing data, the data acquisition function is for obtaining data for the data storage function;
Function calling cell, for calling the data storage function, with the storing data in Dual Action service;
Corresponding, data capture unit 103 includes:
First data capture unit calls the data acquisition function for first activity, with from the Dual Action Service memory using obtained in data its need to data;
Second data capture unit calls the data acquisition function for second activity, with from the Dual Action Service memory using obtained in data its need to data.
In one embodiment, the terminal further include:
Second function construction unit, for constructing other activity setting activity functions and other in Dual Action service Activity obtains activity function, wherein other described activity setting activity functions are for establishing first activity and described second Incidence relation before activity, other described activities obtain activity function for obtaining the incidence relation;
Corresponding, associated synchronisation unit 106 is specifically used for:
It calls other described activities to obtain activity function, obtains activity function with other described activities of basis and obtain described pair Incidence relation in activity service.
In one embodiment, the terminal further include:
Status toggle unit obtains the first movable state for the campaign management services, and calls described double Incidence relation in activity service obtains second activity with first activity association according to the incidence relation, with Switch the described second movable state, keeps the described second movable state synchronous with the described first movable state holding.
In a particular application, status toggle unit can be campaign management services.
The embodiment of the present invention makes two screens show same answer jointly by that two screens can be synthesized a screen With data, to realize screen extension function, and the hardware configuration of change Android device is not needed, it is easy to accomplish, suitable for pushing away extensively It is wide to use.
Example IV:
As shown in figure 5, terminal 10 is on the basis of embodiment three provided by the present embodiment further include:
Service construction unit 201, for constructing Dual Action service in advance;
Communication unit 202, for establishing the Dual Action service and campaign management services, first according to binder mechanism Communication between activity and the second activity.
In a particular application, Dual Action service for campaign management services, the first activity and the second activity for providing accordingly 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 constructing other activity setting functions in Dual Action service (SetOtherActivity function) and other activity obtain function (GetOtherActivity function), wherein it is described other Activity setting activity function is used to establish the incidence relation before first activity and second activity, other described activities Activity function is obtained for obtaining the incidence relation;
Data storage function (SetData function) and data acquisition function (GetData are constructed in Dual Action service Function), wherein for storing data, the data acquisition function is for obtaining data for the data storage function;
The data storage function is called, applies data to store in Dual Action service.
The present embodiment by constructing a customized Dual Action service in advance, for realizing adjustable pipe as telecommunication media Communication between reason service, the first activity and the second movable three, helps quickly to transmit data in a series of activities process.
Embodiment five:
As shown in fig. 6, terminal 100 provided by the present embodiment comprising:
Processor (processor) 110, communication interface (Communications Interface) 120, memory (memory) 130, bus 140, the first screen 150 and the second screen 160.
Processor 110, communication interface 120, memory 130, the first screen 150 and the second screen 160 are complete by bus 140 At mutual communication.
Communication interface 120, is used for and external device, for example, PC, smart phone etc. communicate.
Processor 110, for executing program 131.
First screen 150 and the second screen 160 for showing that is applied a data jointly, to realize screen extension function.
Specifically, program 131 may include program code, and said program code includes computer operation instruction.
Processor 110 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.
Memory 130, for storing program 131.Memory 130 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Program 131 specifically can wrap It includes:
Movable start unit 1311, for campaign management services according to the Dual Action service constructed in advance, in first task Stack in starting first activity, create the second task simultaneously in the stack of second task starting second activity, wherein described first Activity operates in first screen, and second activity operates in second screen;
Data capture unit 1312, it is pre- from Dual Action service respectively for first activity and second activity Deposit using obtained in data respectively need to data;
Windowing computing unit 1313, for window management service respectively to it is described first activity and it is described second activity into The Windowing calculating of row, obtains the first active window and the second active window;
Display unit 1314 is synthesized, shows that first activity needs in first active window for interface delivery service Data, second active window show second activity need to data;
Associated synchronisation unit 1315 calls the incidence relation in the Dual Action service for the campaign management services, And keep the described second movable state synchronous with the described first movable state holding according to the incidence relation.
In one embodiment, program 131 can also include:
Second movable start unit, for the first activity of starting in the stack of first task;
Second movable start unit, for starting the second activity;
Object tag unit is used for when starting second activity, and campaign management services sending jumps type mark, and By being intended to transmit display flag parameters;
Task creates unit, for according to the display flag parameters, newly-built second task simultaneously to put second activity It sets in the stack of second task.
In one embodiment, program 131 can also include:
First function construction unit, for constructing data storage function and data acquisition letter in Dual Action service Number, wherein for storing data, the data acquisition function is for obtaining data for the data storage function;
Function calling cell, for calling the data storage function, with the storing data in Dual Action service;
First data capture unit calls the data acquisition function for first activity, with from the Dual Action Service memory using obtained in data its need to data;
Second data capture unit calls the data acquisition function for second activity, with from the Dual Action Service memory using obtained in data its need to data.
In one embodiment, program 131 can also include:
Second function construction unit, for constructing other activity setting functions and other activities in Dual Action service Obtain function, wherein other described activity setting functions are used to establish the pass before first activity and second activity Connection relationship, other described activities obtain function for obtaining the incidence relation;
In one embodiment, program 131 can also include:
Service construction unit, for constructing Dual Action service in advance;
Communication unit, for establishing the Dual Action service and campaign management services, the first activity according to binder mechanism And the second communication between activity.
Module or submodule in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, specific integrated circuit) Lai Shixian.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of display methods of terminal, which is characterized in that the terminal includes the first screen and the second screen, the method packet It includes:
The starting Android installation kit instruction for receiving user's input, instructs according to the starting Android installation kit, starts corresponding peace Tall and erect installation kit includes the Dual Action service constructed in advance in the Android installation kit;
Start the Dual Action service;
Campaign management services start the first activity, newly according to the Dual Action service constructed in advance in the stack of first task Build the second task and the second activity of starting in the stack of second task, wherein first activity operates in first screen Curtain, second activity operate in second screen;
First activity and second activity obtain from the application data that the Dual Action service prestores respectively need respectively Data;
Window management service carries out Windowing calculating to first activity and second activity respectively, obtains the first active window Mouth and the second active window;
Interface delivery service first active window show first activity need to data, in second active window Mouthful show second activity need to data;
The campaign management services call the Dual Action service in incidence relation, and make described the according to the incidence relation Two movable states are synchronous with the described first movable state holding.
2. the display methods of terminal as described in claim 1, which is characterized in that described to create the second task and at this second Starting the second activity in the stack of business includes:
The second activity of starting;
When starting second activity, sending jumps type mark, and by being intended to transmitting display flag parameters;
According to the display flag parameters, newly-built second task and the stack that second activity is placed on to second task In.
3. the display methods of terminal as described in claim 1, which is characterized in that first activity and second activity point Do not prestored from the Dual Action service using obtained in data respectively need to data before, comprising:
Data storage function and data acquisition function are constructed in Dual Action service, wherein the data storage function is used In storing data, the data acquisition function is for obtaining data;
The data storage function is called, applies data to store in Dual Action service;
Corresponding, first activity and second activity are obtained from the application data that the Dual Action service prestores respectively Respectively need to data, comprising:
The data acquisition function is called in first activity, to obtain it from the application data of the Dual Action service memory Need to data;
The data acquisition function is called in second activity, to obtain it from the application data of the Dual Action service memory Need to data.
4. the display methods of terminal as described in claim 1, which is characterized in that the campaign management services call the dual-active Before incidence relation in dynamic service, comprising:
Other activity setting functions are constructed in Dual Action service and other activities obtain function, wherein other described work Dynamic setting function is used to establish the incidence relation before first activity and second activity, other described activities obtain letter Number is for obtaining the incidence relation;
Corresponding, the campaign management services call the incidence relation in the Dual Action service, comprising:
It calls other described activities to obtain function, is obtained in the Dual Action service with obtaining function according to other described activities Incidence relation.
5. the display methods of terminal as described in claim 1, which is characterized in that the method also includes:
Building Dual Action service in advance;
According to binder mechanism, establish between the Dual Action service and campaign management services, the first activity and the second activity Communication.
6. a kind of terminal, which is characterized in that the terminal includes the first screen and the second screen, the terminal further include:
Movable start unit opens in the stack of first task for campaign management services according to the Dual Action service constructed in advance Dynamic first activity creates the second task and the second activity of starting in the stack of second task, wherein the first activity operation In first screen, second activity operates in second screen;In the campaign management services according to preparatory building Dual Action service before, receive user input starting Android installation kit instruction, according to the starting Android installation kit instruction, Start corresponding Android installation kit, includes the Dual Action service constructed in advance in the Android installation kit;Start the Dual Action Service;
Data capture unit, the application prestored respectively from the Dual Action service for first activity and second activity Obtained in data respectively need to data;
Windowing computing unit respectively carries out first activity and second activity for window management service Windowing It calculates, obtains the first active window and the second active window;
Synthesize display unit, for interface delivery service first active window show first activity need to number According to, second active window show second activity need to data;
Associated synchronisation unit calls the incidence relation in the Dual Action service for the campaign management services, and according to institute Stating incidence relation keeps the described second movable state synchronous with the described first movable state holding.
7. terminal as claimed in claim 6, which is characterized in that it is described activity start unit include:
Second movable start unit, for the first activity of starting in the stack of first task;
Second movable start unit, for starting the second activity;
Object tag unit, for when starting second activity, campaign management services sending to jump type mark, and passes through It is intended to transmitting display flag parameters;
Task creates unit, for according to the display flag parameters, second activity to be simultaneously placed on by newly-built second task In the stack of second task.
8. terminal as claimed in claim 6, which is characterized in that the terminal further include:
First function construction unit, for constructing data storage function and data acquisition function in Dual Action service, In, for storing data, the data acquisition function is for obtaining data for the data storage function;
Function calling cell, for calling the data storage function, with the storing data in Dual Action service;
Corresponding, the data capture unit includes:
First data capture unit calls the data acquisition function for first activity, with from the Dual Action service Storage using obtained in data its need to data;
Second data capture unit calls the data acquisition function for second activity, with from the Dual Action service Storage using obtained in data its need to data.
9. terminal as claimed in claim 6, which is characterized in that the terminal further include:
Second function construction unit is obtained for constructing other activity setting functions and other activities in Dual Action service Function, wherein the association before other described activity setting functions are used to establish first activity and second activity is closed System, other described activities obtain function for obtaining the incidence relation;
Corresponding, the associated synchronisation unit is specifically used for:
It calls other described activities to obtain function, is obtained in the Dual Action service with obtaining function according to other described activities Incidence relation.
10. terminal as claimed in claim 6, which is characterized in that the terminal further include:
Service construction unit, for constructing Dual Action service in advance;
Communication unit, for according to binder mechanism, establishing the Dual Action service and campaign management services, the first activity and the Communication between two activities.
CN201610814867.XA 2016-09-09 2016-09-09 A kind of terminal and its display methods Active CN106445438B (en)

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 CN106445438A (en) 2017-02-22
CN106445438B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (4)

* Cited by examiner, † Cited by third party
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 control for multi-screen user interfaces
CN103581754A (en) * 2012-07-20 2014-02-12 腾讯科技(深圳)有限公司 Data display method and intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
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 control for multi-screen user interfaces
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

Also Published As

Publication number Publication date
CN106445438A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN104793838B (en) A kind of method and device for realizing the display that suspends
CN104238896B (en) The display methods and device of function menu
CN104461473B (en) A kind of switching method and device, terminal device of screen locking wallpaper
CN103902692B (en) Application interface updating method, device and system
CN105338011B (en) A kind of ' In System Reconfiguration Method based on cloud service, device and Cloud Server
CN104780458A (en) Method and electronic equipment for loading effects in instant video
CN104020999B (en) A kind of management method of application program and system
CN109471742A (en) Information processing method and device, electronic equipment and readable storage medium
CN104168309A (en) Data backup and operation method based on cloud service
CN104331238A (en) Method for triggering applications with a smart device
CN103425647B (en) A kind of seamless browsing method of webpage and system
CN106445438B (en) A kind of terminal and its display methods
CN102306084A (en) Method and device for managing application programs
CN109117241A (en) A display direction control method, system and mobile terminal
CN106155676B (en) Access control method and device for application program and terminal
CN104020929B (en) Application information showing method, device and terminal equipment
CN107193662A (en) A kind of information synchronization method and mobile terminal based on dual system
CN112395029A (en) Application program interface display method and device, electronic equipment and storage medium
CN104244220B (en) Communication service processing method and communication terminal
CN105955572A (en) Application icon display method and apparatus as well as terminal device
CN103647879B (en) A kind of method and terminal for showing application content
CN103870281B (en) A kind of information processing method and electronic equipment
CN104239023B (en) Flash memory device management method and device
CN106326476A (en) Information processing method and device
CN105892852A (en) Rapid achieving method for terminal functions and electronic equipment

Legal Events

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

Effective date of registration: 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.