CN107315554A - A kind of method for displaying user interface and device - Google Patents

A kind of method for displaying user interface and device Download PDF

Info

Publication number
CN107315554A
CN107315554A CN201610265388.7A CN201610265388A CN107315554A CN 107315554 A CN107315554 A CN 107315554A CN 201610265388 A CN201610265388 A CN 201610265388A CN 107315554 A CN107315554 A CN 107315554A
Authority
CN
China
Prior art keywords
display device
touch
configured information
screen event
pushing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610265388.7A
Other languages
Chinese (zh)
Other versions
CN107315554B (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.)
Shanghai Juyi Technology Co., Ltd
Original Assignee
Shanghai Actions Semiconductor 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 Shanghai Actions Semiconductor Co Ltd filed Critical Shanghai Actions Semiconductor Co Ltd
Priority to CN201610265388.7A priority Critical patent/CN107315554B/en
Publication of CN107315554A publication Critical patent/CN107315554A/en
Application granted granted Critical
Publication of CN107315554B publication Critical patent/CN107315554B/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
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method for displaying user interface and device.In this method, after the configured information for pushing UI is received, following steps are performed:The first UI on main display device is sent into auxiliary display device to be shown, and keeps the application program where the first UI to be running status;The 2nd UI is shown on main display device.The above method is realized shows different UI on main display device and auxiliary display device so that main display device and auxiliary display device perform different tasks simultaneously, improves Consumer's Experience.

Description

A kind of method for displaying user interface and device
Technical field
The present invention relates to multihead display field, more particularly to a kind of method for displaying user interface and device.
Background technology
As the technology of the communications field is continued to develop and ripe, in the communication equipment become increasingly popular, particularly The application of function of application program is increasingly enriched in intelligent display device (such as mobile device, intelligent television), The individual demand of user is more and more.
Android platform has become one of most important operating system of intelligent display terminal.In Android4.0 In version afterwards simultaneously, it would be preferable to support multiple display screens are shown, but only support multiple display screens to show identical Content.
At present, also without main display device and auxiliary display device can be realized while showing different application journeys Sequence UI (User Interface, user interface) technical scheme, it is impossible to meet user while opening multitask Demand.
The content of the invention
The embodiments of the invention provide a kind of method for displaying user interface and device, set to realize in main display Different user interfaces are shown on standby and auxiliary display device simultaneously.
Method for displaying user interface provided in an embodiment of the present invention, including:
After the configured information for pushing UI is received, following steps are performed:
The first UI on main display device is sent into auxiliary display device to be shown, and keeps described Application program where one UI is running status;
The 2nd UI is shown on main display device.
Specifically, the first UI on main display device is sent into auxiliary display device to be shown, including:
Obtain the first UI where current focus on main display device;
First UI is sent into auxiliary display device to be shown;
Discharge the focus on the first UI;
Focus is arranged on the 2nd UI on main display device.
Specifically, the first UI on main display device is sent into auxiliary display device to be shown, including:
The layer properties and display properties of first UI is set, so that the first UI is shown in auxiliary Shown in equipment;
According to the layer properties and display properties of the first UI, the first UI is sent to auxiliary aobvious Show that equipment is shown.
Preferably, this method also includes:
After push UI configured information again is received, following steps are performed:
It is determined that the abnormal application program exited, the UI of the application program is once pushed to auxiliary display device It is upper to be shown;
Start the application program that the exception is exited on backstage;
The UI for the application program that the exception being currently activated is exited is sent to auxiliary display device progress Display.
Alternatively, the configured information of the push UI and the configured information for pushing UI again are by for floating Dynamic UI touch-screen event is produced;
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to different types of touch-screen event;Or
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to the touch-screen event of same type;Receiving for the described mutually similar of floating UI After the touch-screen event of type, it is being sent to currently without UI in the case that auxiliary display device shown: If judge last time be sent to the UI that auxiliary display device is shown where application exception exit, The configured information for pushing UI again is then produced according to the touch-screen event being currently received, otherwise, according to current The touch-screen event received produces the configured information for pushing UI.
Preferably, this method also includes:
After receiving and retracting UI configured information, following steps are performed:
Determine the UI that auxiliary display device is currently shown;
The UI is shown on main display device.
Specifically, the UI is shown on main display device, including:
Focus is arranged on the UI;
The layer properties and display properties of application program where the UI are set, so that the UI is in main display Shown in equipment;
The layer properties and display properties of application program according to where the UI, show on main display device Show the UI.
Alternatively, the configured information and the configured information for retracting UI of the push UI is by for floating UI touch-screen event is produced;
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to different types of touch-screen event;Or
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to the touch-screen event of same type;Receiving the same type for floating UI After touch-screen event, if judge there is display UI on current auxiliary display device, and the UI of display is set with main display The UI of standby upper display is different, then the configured information for retracting UI is produced according to the touch-screen event being currently received, Otherwise the configured information for pushing UI is produced according to the touch-screen event being currently received.
Alternatively, the operating system of the main display device is Android.
User interface display device provided in an embodiment of the present invention, including:
Receiving module, UI configured information is pushed for receiving;
Processing module, is shown for the first UI on main display device to be sent into auxiliary display device, And the application program where keeping the first UI is running status;Second is shown on main display device UI。
Specifically, the processing module, specifically for:
Obtain the first UI where current focus on main display device;
First UI is sent into auxiliary display device to be shown;
Discharge the focus on the first UI;
Focus is arranged on the 2nd UI on main display device.
Specifically, the processing module specifically for:Layer properties and the display of first UI is set Attribute, so that the first UI is shown on auxiliary display device;According to the layer properties of the first UI And display properties, the first UI is sent to auxiliary display device and shown.
Preferably, the receiving module is additionally operable to:Receive the configured information for pushing UI again;
The processing module, is additionally operable to determine the abnormal application program exited, the UI of the application program was once It is pushed on auxiliary display device and is shown;Start the application program that the exception is exited on backstage; The UI for the application program that the exception being currently activated is exited is sent to auxiliary display device and shown Show.
Alternatively, the configured information of the push UI and the configured information for pushing UI again are by for floating Dynamic UI touch-screen event is produced;
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to different types of touch-screen event;Or
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to the touch-screen event of same type;Described device also includes configured information generation module, For after the touch-screen event for the floating UI same type is received, being sent out currently without UI Give in the case that auxiliary display device shown:If judging, the last time is sent to auxiliary display device and entered Application exception where the UI of row display is exited, then produces weight according to the touch-screen event being currently received The new configured information for pushing UI, otherwise, the instruction for pushing UI is produced according to the touch-screen event being currently received Information.
Preferably, the receiving module is additionally operable to:Receive the configured information for retracting UI;
The processing module is additionally operable to:Determine the UI that auxiliary display device is currently shown;By the UI main aobvious Show and shown in equipment.
Specifically, the processing module specifically for:
Focus is arranged on the UI;
The layer properties and display properties of application program where the UI are set, so that the UI is in main display Shown in equipment;
The layer properties and display properties of application program according to where the UI, show on main display device Show the UI.
Alternatively, the configured information and the configured information for retracting UI of the push UI is by for floating UI touch-screen event is produced;
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to different types of touch-screen event;Or
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to the touch-screen event of same type;Described device also includes configured information generation module, is used for After the touch-screen event for the floating UI same type is received, if judging, current auxiliary display is set It is standby above to have display UI, and the UI of display is different from the UI shown on main display device, then basis currently connects The touch-screen event received produces the configured information for retracting UI, otherwise according to the touch-screen event production being currently received The raw configured information for pushing UI.
In the above embodiment of the present invention, after the configured information for pushing UI is received, by main display device On the first UI be sent to auxiliary display device and shown, application program where keeping the UI is operation shape State, and the 2nd UI is shown on several display devices, shown with realizing on main display device and auxiliary display device Show different UI, improve Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment The accompanying drawing needed to use is briefly introduced, it should be apparent that, drawings in the following description are only the present invention's Some embodiments, for one of ordinary skill in the art, are not paying the premise of creative labor Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 shows for the framework of the support multi-display equipment in android system suitable for the embodiment of the present invention It is intended to;
Fig. 2 is one of schematic flow sheet of UI display methods provided in an embodiment of the present invention;
Fig. 3 is the two of the schematic flow sheet of UI display methods provided in an embodiment of the present invention;
Fig. 4 is the three of the schematic flow sheet of UI display methods provided in an embodiment of the present invention;
Fig. 5 is the structural representation of UI display devices provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing to this hair It is bright to be described in further detail, it is clear that described embodiment is only a part of embodiment of the invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out all other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
In order to realize on main display device and auxiliary display device while showing different application program UI, originally Inventive embodiments provide a kind of application program UI display methods.
Referring to Fig. 1, for the system architecture schematic diagram suitable for the embodiment of the present invention, wherein, main display device Can be the display device under Android operation system or other operating systems, such as mobile phone, tablet personal computer Deng auxiliary display device can be the display devices such as TV.Main display device can pass through HDMI (High Definition Multimedia Interface, HDMI) it is connected with auxiliary display device, It can also be connected by wireless network or other modes with auxiliary display device, the present invention is without limitation.
It is the flow signal of UI display methods provided in an embodiment of the present invention referring to Fig. 2 based on above-mentioned framework Figure, as illustrated, the UI display methods comprises the following steps:
Step 201:Main display device receives the configured information for pushing UI.
Wherein, the configured information of the push UI is used to indicate that the UI for currently showing main display device is sent Shown to auxiliary display device.
Step 202:The first UI on main display device is sent to auxiliary display device and carried out by main display device It has been shown that, and keep the application program where the first UI to be running status.Here, for convenience of description, Assuming that the first UI is " application program A UI ".
Specifically, obtain the UI of the application program A on main display device where current focus, i.e., it is current aobvious Show the UI in the application program A of the main display device the superiors, it is aobvious that application program A UI is sent into auxiliary Show that equipment is shown, and keep application program A to be on running status, release application program A UI Focus, focus is arranged on other UI on main display device.
Specifically, the above-mentioned application program A by main display device UI is sent to auxiliary display device and entered Row display, including following operation:
Window management module in calling system sets application program A UI layer properties and display category Property, so that application program A UI is shown on auxiliary display device, and discharge application program A UI On focus.One application program UI is probably to be obtained by multiple figure layers (layer) superposition, for example, regarding Frequency player is when playing video, including Video Layer and the figure layer that is made up of title bar, frame, button etc., In display, these figure layers are overlapped.When the layerstack property values of these figure layers are identical, then These figure layers are displayed in same equipment.In android system, layerstack property values are defaulted as 0, I.e. acquiescence is shown in main display device, to the layerstack property values of application program A UI figure layer Modify, for example, the layerstack property values of application program A UI All Layers be revised as 1, Shown so that application program A UI is sent to auxiliary display device, can also be only to part figure layer Layerstack is (such as:For screen player, only video push to auxiliary display device can be carried out It has been shown that, and the figure layer such as title bar, frame is shown not on auxiliary display device).Furthermore it is possible to will display (display) layerstack property values set and are also configured as 1, aobvious in main display device and auxiliary to realize Show that equipment shows different UI.
Main display device is after the above-mentioned UI to the application program A modification of each attribute is completed, according to application Program A UI layer properties and display properties, auxiliary display is sent to by application program A UI Equipment is shown.Application program A UI needs the content shown to be transferred to for managing auxiliary display In the frame buffer equipment that equipment is shown.
Specifically, above-mentioned holding application program A is running status, is in order that obtaining application program A rear Platform can normally be run.By taking the life cycle of application program in android system as an example, in the prior art, After application program enters onResume states, that is, represent that the application program is normally run, if now starting Another application program, then current application program can enter onPause states, i.e. halted state, Ran Houjie The operation of the beam application program, closes the application program.In embodiments of the present invention, to application program A's State is modified, so that main display device still ensures to apply journey when entering startup other applications Sequence A is normally run on backstage, without entering pause or done state, so that application program A UI Can normally it be shown in auxiliary display device.
Because the function that the embodiment of the present invention is realized is to send application program A UI to auxiliary display device After display, application program A will enter running background on main display device, so when can by focus from should Discharged, be arranged on other UI with program A UI.
Step 203:The 2nd UI is shown on main display device.
Wherein, the 2nd UI is other UIs different from the first UI, can be shown on main display device In task stack be located at application program A below and adjacent application program A application program B UI, also may be used To be system interface.For example, browser is first started on mobile phone browses news, video is started again afterwards Player plays video, and video is sent to auxiliary display device shown, then opened before mobile phone currently display Dynamic browser, and focus is arranged on the browser so that user can continue to browse news or other Webpage.If for another example mobile phone video is sent to auxiliary display device show before and it is not actuated other should With program, then now mobile phone can show system main interface.
In above-mentioned steps 201, the configured information for pushing UI can be by the touch-screen event production for floating UI It is raw;Similarly, other configured informations being subsequently noted can also be by the touch-screen event generation for floating UI.
Above-described embodiment using a main display device and auxiliary display device show different application as Example, certainly, based on identical technical concept, the embodiment of the present invention can also realize a main display device and Multiple auxiliary display devices show different application program.
Under the scene of part, it is possible that the situation that application program is automatically exited from, such as video playback are finished Rear video player is automatically exited from, when either abnormal or mobile phone EMS memory deficiency occurs in application program.Now, The time showing UI of acquiescence can be sent to auxiliary display device and shown.However, user may be simultaneously sometimes It is not desired to terminate what application program was shown in auxiliary display device, therefore the embodiment of the present invention additionally provides quick weight The new method for sending the abnormal application program exited.This method, which can be realized, ought send to auxiliary display device When the application program A of display is exited extremely, and user wishes again to send application program A UI to auxiliary Help display device to show, can quickly be re-transmitted to auxiliary in backstage re-launching applications A and by its UI Display device is shown, the operation for starting application program A and sending is re-executed without user.
The schematic flow sheet of the above method is as shown in figure 3, this method specifically includes following steps:
Step 301:Main display device receives the configured information for pushing UI again.
Wherein, the configured information that UI is pushed again is used to indicate, is pushed in existing UI aobvious to auxiliary Show that equipment is shown, but in the case that the application exception where the UI is exited, again push to the UI Auxiliary display device is shown.
Step 302:Main display device determines the abnormal application program exited, and the UI of the application program is once pushed away It is sent on auxiliary display device and is shown.
Application program exit reason be divided into it is normal exit and it is abnormal exit, if for example, user actively closes The application program, then be commonly referred to be and normally exit, the situation that application program is actively exited after the completion of performing Also it can be considered and normally exit, the situation that other non-user are actively closed then is referred to as exception and exited, such as due to being The system inadequate resource positive closing application program, or other reasonses cause the application program to automatically exit from.Its In, although the situation that application program is actively exited after the completion of performing can be considered as normally exiting, but it is also possible to logical The realization of method for pushing again provided in an embodiment of the present invention is crossed to push again.
Main display device can in several ways, it is determined that the abnormal application program exited:
For example, UI is being pushed to after auxiliary display device shown by main display device, by the UI and should Application records where UI are push state;After the UI is retracted, by where the UI and the UI The push status modifier of application program is to have retracted;Where the UI being pushed on auxiliary display device When application exception is exited, the status indication of the application program is exited to be abnormal.So, when main display Equipment is received after the configured information for pushing UI again, above-mentioned record can be inquired about, if there is the shape of application program State is " push state " and is marked as " exiting extremely ", then shows once to be pushed before the application program Shown on to auxiliary display device, but the application program where the UI is closed extremely, then this is applied into journey Sequence is defined as needing to be pushed to the application program shown on auxiliary display device again.
Further, if by inquiring about above-mentioned record, determining the state of multiple application programs " to push away Send state " and be marked as " exiting extremely ", then main display device can be by the letter of the plurality of application program Breath is shown in Pop-up interface to be selected for user, and the application program that user selects is defined as into needs again It is pushed to the application program shown on auxiliary display device.
Further, if by inquiring about above-mentioned record, determining the state of multiple application programs " to push away Send state " and be marked as " exiting extremely ", then main display device can also be according to the tactful more from this of setting Being determined in individual application program needs to be pushed to the application program shown on auxiliary display device again.Citing comes Say, can be arranged to according to the plurality of application program push state time or labeled as it is abnormal exit when Between, time nearest application program is defined as needing to be pushed to again to the application shown on auxiliary display device Program;The embodiment of the present invention can also use other strategies to aid in display to set to determine to need to be pushed to again The application program of standby upper display, no longer illustrates one by one herein.
Step 303:The abnormal application program exited is restarted on backstage.
For example, user is shown video push to auxiliary display device, just clear on main display device Look at webpage, if when video player is exited extremely, user wishes that video is pushed to auxiliary display again to be set It is standby to be shown, in order to not influence user to continue to browse webpage in main display device, therefore opened again on backstage The video player that dynamic exception is exited.
Step 304:It is aobvious that the UI for the application program that the exception being currently activated is exited is sent to auxiliary Show that equipment is shown.
The UI for the application program that the exception being currently activated is exited is sent to auxiliary display device progress The process of display is as it was previously stated, here is omitted.
Application program A UI is sent to auxiliary display device after showing, due to releasing application program A UI on focus, user can not operate to application program A.So the embodiment of the present invention is also carried Supply a kind of the UI for having sent the application program A shown to auxiliary display device to be returned into main display device The method of display, to realize that user can operate to the application program A shown in auxiliary display device.
The schematic flow sheet of the above method is as shown in figure 4, this method specifically includes following steps:
Step 401:Main display device receives the configured information for retracting UI.
Wherein, the configured information for retracting UI is used to indicate that currently will be sent to auxiliary display device shows The UI for the application program shown is returned to main display device and shown.
Step 402:Main display device determines the UI that auxiliary display device is currently shown.
Preferably, the UI of application program is being pushed to after auxiliary display device shown by main display device, The UI of the application program of push can be recorded, so that main display device can be with the current quilt of quick obtaining Push to the UI that auxiliary display device is shown.
Step 403:Main display device shows the UI determined on main display device.
Specifically, main display device can complete the UI that will be determined in main display device by following steps Upper display:
Call window management module that focus is arranged on the UI determined, and the UI determined figure is set Layer attribute and display properties, so that the UI determined is shown on main display device.For example, In android system, can the All Layers of the UI and the layerstack property values of display be revised as 0, Now, main display device and auxiliary display show the UI, if by the layerstack of the All Layers of the UI Property value be revised as 0, the layerstack property values of display are revised as other values, now only main display device The UI is shown, and auxiliary display device then no longer shows the UI.
Main display device is according to the layer properties and display properties of the UI, and display should on main display device UI.The UI needs the content shown to be transferred to for managing in the frame buffer equipment that main display device is shown.
Using the above method, user can realize to send video to auxiliary display device and show, in main display Equipment browse webpage plays game, when video progress F.F. that user wishes show auxiliary display device or after During the operation moved back, video can be returned to main display device and shown, now user can carry out fast to video Enter operation.Video is returned to after main display device shows, auxiliary display device can continue to set with main display The video of standby simultaneous display F.F. or retrogressing, can also no longer show video.After good video progress to be adjusted, Video is sent to auxiliary display device again, user can continue to browse webpage or play game.
Triggering UI display methods provided in an embodiment of the present invention can be accomplished in several ways, for convenience User's operation embodiment of the present invention is preferably triggered by a floating UI.
Floating UI can be realized by installing application program on main display device in advance, when this applies journey After sequence starts, floating UI is shown in the main display device the superiors.The application program can be in the following manner Start:
Mode 1:The application program is automatically turned on after main display device starting-up, after startup on main display device Show floating UI.
Mode 2:Searched for, be connected with if searching main display device automatically after main display device starting-up Auxiliary display device, then start the application program, shows floating UI after startup on main display device.
Mode 3:The application program is started by user, floating UI is shown after startup on main display device.
Mode 4:The application program is started by event triggering, when main display device and auxiliary display device foundation During connection, the application program is triggered startup, shows floating UI after startup on main display device.
Floating UI is always positioned at the superiors of main display device, can carry out simply touching for floating UI Screen operation, you can realization the UI of application program is sent to auxiliary display device show or will send to The UI for the application program that auxiliary display device is shown is returned to main display device and shown, facilitates user to be grasped Make.Floating UI only takes up less area under normal circumstances, in order to avoid block the application that user is browsing Program.
In view of user operation habits, the embodiment of the present invention can be determined the contact action that floating UI can be responded The following several types of justice:
Floating UI is slided to the right;
Click floating UI;
Double-click floating UI;
Floating UI is slided to the left.
So that above-mentioned four kinds of touch-screen events trigger application program UI display methods provided in an embodiment of the present invention as an example, Trigger process to the above embodiment of the present invention is described in detail.
Alternatively, above-mentioned push UI configured information can be produced by the touch-screen event for sliding floating UI to the right, The above-mentioned configured information for pushing UI again can be by the double-click touch-screen event generation for floating UI, above-mentioned drawing Returning UI configured information can be produced by the touch-screen event for sliding floating UI to the left.Because touch-screen event is different, Main display device directly can produce corresponding configured information according to touch-screen event, and be entered according to the configured information The corresponding operation of row.
Alternatively, above-mentioned push UI configured information and push UI configured information again can be by for floating Dynamic UI same type touch-screen event is produced, and the touch-screen event for producing the configured information for retracting UI can be with production The touch-screen event of the raw configured information for pushing UI is different.To push UI configured information and push UI again Configured information produced by the touch-screen event for sliding floating UI to the right, the configured information for retracting UI slided by the left Exemplified by dynamic floating UI touch-screen event is produced, main display device slides to the right floating UI touch screen getting After event, it is being sent to currently without UI in the case that auxiliary display device shown:If in judgement Application exception where being once sent to the UI that auxiliary display device is shown is exited, then basis The touch-screen event that is currently received produces the configured information for pushing UI again, otherwise, according to being currently received Touch-screen event produce push UI configured information;Main display device is getting slip floating UI to the left Touch-screen event after, if judge it is current there is UI to be sent to auxiliary display device to be shown, according to ought Before the touch-screen event for sliding floating UI to the left that receives produce the configured information for retracting UI.
Alternatively, above-mentioned push UI configured information and the configured information for retracting UI can be by for floating UI same type touch-screen event is produced, and the touch-screen event for producing the configured information for pushing UI again can be with The touch-screen event for producing the configured information for pushing UI is different.To push UI configured information and retract UI's Configured information by for floating UI click touch-screen event produce, again push UI configured information by for Exemplified by floating UI double-click touch-screen event is produced, main display device get it is tactile for clicking for floating UI After screen event, if judge there is display UI on current auxiliary display device, and the UI and main display device of display The UI of upper display is different, then the configured information for retracting UI is produced according to the touch-screen event being currently received, no The configured information for pushing UI is then produced according to the touch-screen event being currently received;Main display device is being got After floating UI double-click touch-screen event, then the instruction for pushing UI again is produced according to double-click touch-screen event Information.
Alternatively, above-mentioned push UI configured information, again push UI configured information and retract UI Configured information, can by for floating UI identical touch-screen event generation.Because touch-screen event is identical, Main display device after the touch-screen event for floating UI is got, it is necessary to judge the touch-screen event, Produce corresponding configured information.To push UI configured information, push UI configured information and drawing again Return UI configured information by for floating UI click touch-screen event produce exemplified by, main display device is being obtained Get clicking after touch-screen event for floating UI:If the last time produces for floating UI touch-screen event It is the configured information for pushing UI or the configured information for pushing UI again, and the application program where the UI is just Often operation, then produce the configured information for retracting UI according to the touch-screen event being currently received;If last pin What the touch-screen event to floating UI was produced is push UI configured information or pushes UI configured information again, And the application exception where the UI is exited, then produced and pushed away again according to the touch-screen event being currently received Send UI configured information;Otherwise, the configured information for pushing UI is produced according to the touch-screen event being currently received.
In embodiments of the present invention, the operation to floating UI is not limited to the touch-screen event of above-mentioned four type, It can also be other touch-screen events.
In the above embodiment of the present invention, after the configured information for pushing UI is received, by main display device On the first UI be sent to auxiliary display device and shown, application program where keeping the UI is operation shape State, and the 2nd UI is shown on several display devices, shown with realizing on main display device and auxiliary display device Show different UI.Retracted further, it is also possible to which the application program UI that is shown to auxiliary display device will have been sent Operated to main display device, exited having sent the application exception that is shown to auxiliary display device When the application program can be quickly restarted by floating UI and is sent to auxiliary display device show, convenient use Family is operated, and improves Consumer's Experience.
Based on identical technical concept, the embodiment of the present invention also puies forward a kind of application program UI display devices of knowing clearly, As shown in figure 5, the device includes:
Receiving module 501, UI configured information is pushed for receiving.
Processing module 502, will be main aobvious for being received in receiving module 501 after the configured information for pushing UI Show that the first UI in equipment is sent to auxiliary display device and shown, and where keeping the first UI Application program is running status;The 2nd UI is shown on main display device.
Specifically, above-mentioned processing module 502 can include state management module 5021 and window management module 5022, wherein, the application program where above-mentioned holding the first UI is running status, can be by state Management module 5021 is performed.
Specifically, above-mentioned processing module 502 specifically for:
Obtain the first UI where current focus on main display device;
First UI is sent into auxiliary display device to be shown;
Discharge the focus on the first UI;
Focus is arranged on the 2nd UI on main display device.
Wherein, the setting of focus is performed by window management module 5022.
Specifically, above-mentioned processing module 502 is specifically for setting the layer properties of the first UI and showing Show attribute, so that the first UI is shown on auxiliary display device;Belonged to according to the figure layer of the first UI Property and display properties, are sent to auxiliary display device by the first UI and are shown.Wherein, figure layer The setting of attribute and display properties is performed by window management module 5022.
Preferably, above-mentioned receiving module 501 is additionally operable to receive the configured information for pushing UI again;
Above-mentioned processing module 502 is additionally operable to:It is determined that the abnormal application program exited, the application program UI was once pushed on auxiliary display device and shown;Start the application journey that the exception is exited on backstage Sequence;The UI for the application program that the exception being currently activated is exited is sent to auxiliary display device progress Display.
Alternatively, above-mentioned push UI configured information and the configured information for pushing UI again are by for floating Dynamic UI touch-screen event is produced.Produced again for producing the touch-screen event for the configured information for pushing UI with being used for The touch-screen event of the new configured information for pushing UI may belong to different types of touch-screen event;Or, it is used for Produce the touch-screen event for the configured information for pushing UI and the touch screen for producing the configured information for pushing UI again Event can also belong to the touch-screen event of same type.
When the touch-screen event for the configured information for producing push UI pushes UI configured information with being used for generation again Touch-screen event when belonging to the touch-screen event of same type, the device may also include configured information generation module 503, for receive for floating UI the same type touch-screen event after, currently without UI is sent in the case that auxiliary display device shown:If judging, the last time is sent to auxiliary display Application exception where the UI that equipment is shown is exited, then according to the touch-screen event being currently received Produce the configured information for pushing UI again and send to receiving module 501, otherwise, according to what is be currently received Touch-screen event produces the configured information for pushing UI and sent to receiving module 501.
Preferably, above-mentioned receiving module 501 is additionally operable to:Receive the configured information for retracting UI;
Above-mentioned processing module 502 is additionally operable to:Determine the UI that auxiliary display device is currently shown;The UI is existed Shown on main display device.
Specifically, above-mentioned processing module 502 specifically for:
Focus is arranged on the UI;
The layer properties and display properties of application program where the UI are set, so that the UI is in main display Shown in equipment;
The layer properties and display properties of application program according to where the UI, show on main display device Show the UI.
Alternatively, push UI configured information and retract UI configured information by the touch screen for floating UI Event is produced.For producing instruction of the touch-screen event for the configured information for pushing UI with retracting UI for producing The touch-screen event of information may belong to different types of touch-screen event;Or, UI finger is pushed for producing The touch-screen event and the touch-screen event for producing the configured information for retracting UI for showing information can also belong to identical The touch-screen event of type.
When configured information of the touch-screen event with retracting UI for producing for producing the configured information for pushing UI Touch-screen event when belonging to the touch-screen event of same type, the device may also include configured information generation module 503, for after the touch-screen event for the floating UI same type is received, if judging current auxiliary Helping on display device has display UI, and the UI of display is different from the UI shown on main display device, then root The configured information for retracting UI is produced according to the touch-screen event being currently received and is sent to receiving module 501, it is no Then, produced according to the touch-screen event being currently received and push UI configured information and send to receiving module 501。
Preferably, the operating system of above-mentioned main display device is Android.Above-mentioned window management module 5022 Corresponding to the WindowManager in android system framework, the above-mentioned correspondence of state management module 5021 ActivityManager in android system framework.
In the above embodiment of the present invention, after the configured information for pushing UI is received, by main display device On the first UI be sent to auxiliary display device and shown, application program where keeping the UI is operation shape State, and the 2nd UI is shown on main display device, shown with realizing on main display device and auxiliary display device Show different UI.Retracted further, it is also possible to which the application program UI that is shown to auxiliary display device will have been sent Operated to main display device, exited having sent the application exception that is shown to auxiliary display device When the application program can be quickly restarted by floating UI and is sent to auxiliary display device show, convenient use Family is operated, and improves Consumer's Experience.
The present invention is with reference to the production of method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and / or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or the processing of other programmable datas to set In the standby computer-readable memory worked in a specific way so that be stored in the computer-readable memory Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described This creative concept, then can make other change and modification to these embodiments.So, appended right will Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the present invention Bright spirit and scope.So, if the present invention these modifications and variations belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (17)

1. a kind of user interface UI display methods, it is characterised in that including:
After the configured information for pushing UI is received, following steps are performed:
The first UI on main display device is sent into auxiliary display device to be shown, and keeps described Application program where one UI is running status;
The 2nd UI is shown on main display device.
2. the method as described in claim 1, it is characterised in that send out the first UI on main display device Auxiliary display device is given to be shown, including:
Obtain the first UI where current focus on main display device;
First UI is sent into auxiliary display device to be shown;
Discharge the focus on the first UI;
Focus is arranged on the 2nd UI on main display device.
3. the method as described in claim 1, it is characterised in that send out the first UI on main display device Auxiliary display device is given to be shown, including:
The layer properties and display properties of first UI is set, so that the first UI is shown in auxiliary Shown in equipment;
According to the layer properties and display properties of the first UI, the first UI is sent to auxiliary aobvious Show that equipment is shown.
4. the method as described in claim 1, it is characterised in that also include:
After push UI configured information again is received, following steps are performed:
It is determined that the abnormal application program exited, the UI of the application program is once pushed to auxiliary display device It is upper to be shown;
Start the application program that the exception is exited on backstage;
The UI for the application program that the exception being currently activated is exited is sent to auxiliary display device progress Display.
5. method as claimed in claim 4, it is characterised in that the configured information of the push UI and institute The configured information for pushing UI again is stated by the touch-screen event generation for floating UI;
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to different types of touch-screen event;Or
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to the touch-screen event of same type;Receiving for the described mutually similar of floating UI After the touch-screen event of type, it is being sent to currently without UI in the case that auxiliary display device shown: If judge last time be sent to the UI that auxiliary display device is shown where application exception exit, The configured information for pushing UI again is then produced according to the touch-screen event being currently received, otherwise, according to current The touch-screen event received produces the configured information for pushing UI.
6. the method as described in claim 1, it is characterised in that also include:
After receiving and retracting UI configured information, following steps are performed:
Determine the UI that auxiliary display device is currently shown;
The UI is shown on main display device.
7. method as claimed in claim 6, it is characterised in that show the UI on main display device, Including:
Focus is arranged on the UI;
The layer properties and display properties of application program where the UI are set, so that the UI is in main display Shown in equipment;
The layer properties and display properties of application program according to where the UI, show on main display device Show the UI.
8. method as claimed in claim 6, it is characterised in that the configured information of the push UI and institute The configured information for retracting UI is stated by the touch-screen event generation for floating UI;
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to different types of touch-screen event;Or
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to the touch-screen event of same type;Receiving the same type for floating UI After touch-screen event, if judge there is display UI on current auxiliary display device, and the UI of display is set with main display The UI of standby upper display is different, then the configured information for retracting UI is produced according to the touch-screen event being currently received, Otherwise, the configured information for pushing UI is produced according to the touch-screen event being currently received.
9. the method as any one of claim 1 to 8, it is characterised in that the main display is set Standby operating system is Android.
10. a kind of user interface UI display devices, it is characterised in that including:
Receiving module, UI configured information is pushed for receiving;
Processing module, is shown for the first UI on main display device to be sent into auxiliary display device, And the application program where keeping the first UI is running status;Second is shown on main display device UI。
11. device as claimed in claim 10, it is characterised in that the processing module, specific to use In:
Obtain the first UI where current focus on main display device;
First UI is sent into auxiliary display device to be shown;
Discharge the focus on the first UI;
Focus is arranged on the 2nd UI on main display device.
12. device as claimed in claim 10, it is characterised in that the processing module specifically for: The layer properties and display properties of first UI is set, so that the first UI is in auxiliary display device Upper display;According to the layer properties and display properties of the first UI, the first UI is sent to auxiliary Display device is helped to be shown.
13. device as claimed in claim 10, it is characterised in that the receiving module is additionally operable to:Connect Receive the configured information for pushing UI again;
The processing module, is additionally operable to determine the abnormal application program exited, the UI of the application program was once It is pushed on auxiliary display device and is shown;Start the application program that the exception is exited on backstage; The UI for the application program that the exception being currently activated is exited is sent to auxiliary display device and shown Show.
14. device as claimed in claim 13, it is characterised in that the configured information of the push UI and Again the configured information for pushing UI is by the touch-screen event generation for floating UI;
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to different types of touch-screen event;Or
Believe for producing instruction of the touch-screen event for the configured information for pushing UI with pushing UI again for producing The touch-screen event of breath belongs to the touch-screen event of same type;Described device also includes configured information generation module, For after the touch-screen event for the floating UI same type is received, being sent out currently without UI Give in the case that auxiliary display device shown:If judging, the last time is sent to auxiliary display device and entered Application exception where the UI of row display is exited, then produces weight according to the touch-screen event being currently received The new configured information for pushing UI, otherwise, the instruction for pushing UI is produced according to the touch-screen event being currently received Information.
15. device as claimed in claim 10, it is characterised in that the receiving module is additionally operable to:Connect Reel back UI configured information;
The processing module is additionally operable to:Determine the UI that auxiliary display device is currently shown;By the UI main aobvious Show and shown in equipment.
16. device as claimed in claim 15, it is characterised in that the processing module specifically for:
Focus is arranged on the UI;
The layer properties and display properties of application program where the UI are set, so that the UI is in main display Shown in equipment;
The layer properties and display properties of application program according to where the UI, show on main display device Show the UI.
17. device as claimed in claim 15, it is characterised in that the configured information of the push UI and The configured information for retracting UI is by the touch-screen event generation for floating UI;
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to different types of touch-screen event;Or
For producing configured information of the touch-screen event for the configured information for pushing UI with retracting UI for producing Touch-screen event belongs to the touch-screen event of same type;Described device also includes configured information generation module, is used for After the touch-screen event for the floating UI same type is received, if judging, current auxiliary display is set It is standby above to have display UI, and the UI of display is different from the UI shown on main display device, then basis currently connects The touch-screen event received produces the configured information for retracting UI, otherwise, according to the touch-screen event being currently received Produce the configured information for pushing UI.
CN201610265388.7A 2016-04-26 2016-04-26 User interface display method and device Active CN107315554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610265388.7A CN107315554B (en) 2016-04-26 2016-04-26 User interface display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610265388.7A CN107315554B (en) 2016-04-26 2016-04-26 User interface display method and device

Publications (2)

Publication Number Publication Date
CN107315554A true CN107315554A (en) 2017-11-03
CN107315554B CN107315554B (en) 2020-06-02

Family

ID=60184255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610265388.7A Active CN107315554B (en) 2016-04-26 2016-04-26 User interface display method and device

Country Status (1)

Country Link
CN (1) CN107315554B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536506A (en) * 2018-03-20 2018-09-14 青岛海信移动通信技术股份有限公司 A kind of application state management method and device
CN109101328A (en) * 2018-07-17 2018-12-28 奇酷互联网络科技(深圳)有限公司 The method, apparatus of mobile terminal and application program running background

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101023423A (en) * 2004-05-24 2007-08-22 森内拉科技有限责任公司 Handheld electronic device supporting multiple display mechanisms
CN104133629A (en) * 2014-07-10 2014-11-05 深圳市中兴移动通信有限公司 Double-screen interaction method and mobile terminal
CN104750440A (en) * 2013-12-30 2015-07-01 纬创资通股份有限公司 Multi-screen window management method, electronic device and computer program product
CN105094727A (en) * 2014-05-23 2015-11-25 纬创资通股份有限公司 Application program operating method in expanded screen mode and tablet computer
CN105511787A (en) * 2015-12-04 2016-04-20 联想(北京)有限公司 Input method, electronic equipment and input system
CN105988860A (en) * 2015-01-20 2016-10-05 纬创资通股份有限公司 Method for executing application program and mobile device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101023423A (en) * 2004-05-24 2007-08-22 森内拉科技有限责任公司 Handheld electronic device supporting multiple display mechanisms
CN104750440A (en) * 2013-12-30 2015-07-01 纬创资通股份有限公司 Multi-screen window management method, electronic device and computer program product
CN105094727A (en) * 2014-05-23 2015-11-25 纬创资通股份有限公司 Application program operating method in expanded screen mode and tablet computer
US20150339005A1 (en) * 2014-05-23 2015-11-26 Wistron Corp. Methods for handling applications running in the extend mode and tablet computers using the same
CN104133629A (en) * 2014-07-10 2014-11-05 深圳市中兴移动通信有限公司 Double-screen interaction method and mobile terminal
CN105988860A (en) * 2015-01-20 2016-10-05 纬创资通股份有限公司 Method for executing application program and mobile device
CN105511787A (en) * 2015-12-04 2016-04-20 联想(北京)有限公司 Input method, electronic equipment and input system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536506A (en) * 2018-03-20 2018-09-14 青岛海信移动通信技术股份有限公司 A kind of application state management method and device
CN109101328A (en) * 2018-07-17 2018-12-28 奇酷互联网络科技(深圳)有限公司 The method, apparatus of mobile terminal and application program running background
WO2020015571A1 (en) * 2018-07-17 2020-01-23 奇酷互联网络科技(深圳)有限公司 Mobile terminal, method for running application in background, and device

Also Published As

Publication number Publication date
CN107315554B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
TWI656471B (en) Task management method, device and terminal device for multitasking interface
CN107426403B (en) Mobile terminal
CN101770399B (en) Electronic equipment, method and device for switching operating system desktop
US9247199B2 (en) Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof
EP2226715A2 (en) Music playback apparatus and method for music selection and playback
EP3691255A1 (en) Method for playing multiple videos on mobile terminal, mobile terminal, and readable storage medium
CN105988860B (en) Method for executing application program and mobile device
WO2021258821A1 (en) Video editing method and device, terminal, and storage medium
KR102207443B1 (en) Method for providing graphic user interface and apparatus for the same
CN110286978B (en) Window hierarchy switching method, device, equipment and storage medium
JP2014149833A (en) Image display method for multitasking operation, and terminal supporting the same
CN106649639A (en) Page display method and device
KR20150079792A (en) Icon display method and apparatus
CN112269508B (en) Display method and device and electronic equipment
US9244593B2 (en) Information processing methods and electronic devices
CN105094656A (en) Application starting method, application starting device and mobile terminal
WO2015131531A1 (en) Widget display method, apparatus, and terminal
CN106716357A (en) Control method of multisystem mobile terminal, control device and electronic device
CN107885567B (en) Interface display method and system, readable storage medium and mobile device
CN104281400A (en) Electronic device and touch method
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
CN112558831A (en) Desktop sorting method and device and electronic equipment
CN103379385B (en) The control method of intelligent television and operating system
CN113918522A (en) File generation method and device and electronic equipment
CN113835577A (en) Display method, display device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200108

Address after: 200120 room 1008, 10 / F, building 2, No. 58, Xiangke Road, Shanghai pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai Juyi Technology Co., Ltd

Address before: 201203, room 8, building 200, 701 Newton Road, Zhangjiang hi tech park, Shanghai, Pudong New Area

Applicant before: Shanghai Actions Semiconductor Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant