CN105516782A - Method and system for implementing suspension interface mutual exclusion function of smart television with Android system - Google Patents

Method and system for implementing suspension interface mutual exclusion function of smart television with Android system Download PDF

Info

Publication number
CN105516782A
CN105516782A CN201510907191.4A CN201510907191A CN105516782A CN 105516782 A CN105516782 A CN 105516782A CN 201510907191 A CN201510907191 A CN 201510907191A CN 105516782 A CN105516782 A CN 105516782A
Authority
CN
China
Prior art keywords
suspension interface
interface
android
suspension
window
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
CN201510907191.4A
Other languages
Chinese (zh)
Other versions
CN105516782B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201510907191.4A priority Critical patent/CN105516782B/en
Publication of CN105516782A publication Critical patent/CN105516782A/en
Application granted granted Critical
Publication of CN105516782B publication Critical patent/CN105516782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention relates to the field of Android applications of smart televisions, and provides a method and a system for implementing the suspension interface mutual exclusion function of a smart television with an Android system, for solving a current problem that when a user manipulates the suspension interfaces of applications on the smart television with the Android system, operation is inconvenient due to the fact that the plurality of application interfaces are overlapped and covered with one another. The system comprises a suspension interface hiding module, a suspension interface saving module and a suspension interface reappearing module. According to the method and system provided by the invention, it ensures that when the user manipulates the suspension interfaces, the problem that the interfaces of the multiple applications are overlapped and covered with one another is avoided, and thereby the whole operation process is smoother, simpler and more efficient, and the user experience is enhanced.

Description

The implementation method of android system intelligent television suspension interface mutual exclusion function and system
Technical field
The present invention relates to intelligent television Android application, particularly the implementation method of a kind of android system intelligent television suspension interface mutual exclusion function and system.
Background technology
Along with the development of Internet technology, the intelligent television based on android system enters into the family of domestic consumer gradually.At present; the application of many android system intelligent televisions; especially the application comprising Service all brings into use suspension interface (View) as the UI interface realizing certain concrete function; but suspension interface also can mutual exclusion unlike Activity assembly; so often there will be the situation of multiple suspension interface overlap covering; it is at which suspension interface of manipulation on earth that such user is difficult to distinguish current, have impact on the use fluency of Android TV greatly, have impact on Consumer's Experience.
Therefore, what how to allow user manipulation suspension interface directly perceived, efficient show is particularly important.
Summary of the invention
[technical problem that will solve]
The object of this invention is to provide implementation method and the system of a kind of android system intelligent television suspension interface mutual exclusion function, during to solve the suspension interface of current user manipulation application on android system intelligent television, the superposition of multiple application interface hides the problem causing current operation inconvenience.
[technical scheme]
The present invention is achieved by the following technical solutions.
First the present invention relates to the implementation method of a kind of android system intelligent television suspension interface mutual exclusion function, and the method comprising the steps of:
A, when being breathed out in a suspension interface, in the service of Android window management, travel through all windows, when find display and the suspension interface that can manipulate time, call Android callback interface and the suspension interface found be set to invisible;
B, by be set in steps A sightless suspension interface successively with the form of stack list be kept at Android window management service in;
C, when show suspension interface exit time, call whether the stack list of preserving in the expansion interface determining step B of Android window management service is empty, then choose the suspension interface being positioned at stack list top if not empty, call Android callback interface and the suspension interface chosen is set to visible.
As one preferred embodiment, show in described steps A and the suspension interface that can manipulate is Visibility attribute is VISIBLE, comprise Focus, window type is the window of SYSTEM_WINDOW.
What the invention still further relates to a kind of android system intelligent television suspension interface mutual exclusion function realizes system, comprising:
Suspension interface hides module, it is configured to when being breathed out in a suspension interface, in the service of Android window management, travel through all windows, when finding the suspension interface that also can manipulate of display, calling Android callback interface and the suspension interface found is set to invisible;
Suspension interface saving module, it is configured to: suspension interface is hidden in module be set to sightless suspension interface successively with the form of stack list be kept at Android window management service in;
Suspension interface rendering module, it is configured to: when the suspension interface shown is exited, the expansion interface calling the service of Android window management judges whether the stack list that suspension interface saving module is preserved is empty, then choose the suspension interface being positioned at stack list top if not empty, call Android callback interface and the suspension interface chosen is set to visible.
As another preferred embodiment, the suspension interface that also can manipulate of described display is Visibility attribute is VISIBLE, comprise Focus, window type is the window of SYSTEM_WINDOW.
[beneficial effect]
The technical scheme that the present invention proposes has following beneficial effect:
The present invention adds the mechanism of the display and control to suspension interface in android system.Particularly, when being breathed out in the suspension interface of an application, if now screen also has the suspension interface of other application, then remaining suspension interface is hidden, the display and control mechanism at this suspension interface can ensure currently only to show by the suspension interface of breathing out, when the complete current suspension interface of user operation and after exiting, the operation before the suspension interface display of other application of hiding before is out continued for user.Like this, user there will not be the interface superposition of multiple application and hides problem when manipulating suspension interface can be ensured, make whole operating process more smooth, more simply, more efficient, enhance Consumer's Experience.
Accompanying drawing explanation
The theory diagram of the system that realizes of the android system intelligent television suspension interface mutual exclusion function that Fig. 1 provides for embodiments of the invention one.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, carry out clear, complete description by the specific embodiment of the present invention below.
Embodiment one
The theory diagram of the system that realizes of the android system intelligent television suspension interface mutual exclusion function that Fig. 1 provides for the embodiment of the present invention one.As shown in Figure 1, this system comprises suspension interface and hides module, suspension interface saving module, suspension interface rendering module.
Suspension interface hides module and is configured to: when being breathed out in a suspension interface, all windows are traveled through in Android window management service WindowManagerService, when finding the suspension interface that also can manipulate of display, calling Android callback interface dispatchAppVisibility and the suspension interface found is set to invisible.In the present embodiment, the suspension interface that also can manipulate of display is Visibility attribute is VISIBLE, comprise Focus, window type is the window of SYSTEM_WINDOW.
Suspension interface saving module is configured to: suspension interface is hidden in module be set to sightless suspension interface successively with the form of stack list be kept at Android window management service WindowManagerService in.
Suspension interface rendering module is configured to: when the suspension interface shown is exited, the expansion interface isInManualRemovedList calling Android window management service WindowManagerService judges whether the stack list that suspension interface saving module is preserved is empty, then choose the suspension interface being positioned at stack list top if not empty, call Android callback interface dispatchAppVisibility and the suspension interface chosen is set to visible.
Embodiment two
Embodiment two provides the implementation method of a kind of android system intelligent television suspension interface mutual exclusion function.The method comprising the steps of (1) to step (6).
Step (1): application A first breathes out a suspension interface.
Step (2): application B breathes out a suspension interface.
Step (3): when processing the display at the suspension interface of application B in standard interface addWindow at the window services WindowManagerService of AndroidFramework layer, during the window list of preserving in cycling among windows service, found one visible, containing manipulation focus, window type is the window object of SYSTEM_WINDOW, namely applies the suspension interface of A.Step (3) executes rear execution step (4).
Step (4): the A interface found in step 3 is set to invisible by Android standardized callback interface dispatchAppVisibility, and with the suspension interface saving of application A that the form of stack list will be hidden in window services WindowManagerService, the interface hidden the latest is at list top.Because the present embodiment only opens two suspension interfaces, then the suspension interface of applying A is stored in the top of stack list.Step (4) executes rear execution step (5).
Step (5): being finished using by user in the suspension interface of application B, exits the suspension interface of application B.Step (5) executes rear execution step (6).
Step (6): when the suspension interface of application B is exited, the expansion interface isInManualRemovedList calling Android window management service WindowManagerService judges whether the stack list that suspension interface saving module is preserved is empty, then choose the suspension interface (namely applying the suspension interface of A) being positioned at stack list top if not empty, calling Android callback interface dispatchAppVisibility is set to visible by the suspension interface chosen (namely applying the suspension interface of A), by Android standardized callback interface dispatchAppVisibility, interface A is shown again, user is enable to continue to operate the suspension interface of application A.
As can be seen from the above embodiments, the embodiment of the present invention adds the mechanism of the display and control to suspension interface in android system.Particularly, when being breathed out in the suspension interface of an application, if now screen also has the suspension interface of other application, then remaining suspension interface is hidden, the display and control mechanism at this suspension interface can ensure currently only to show by the suspension interface of breathing out, when the complete current suspension interface of user operation and after exiting, the operation before the suspension interface display of other application of hiding before is out continued for user.Like this, user there will not be the interface superposition of multiple application and hides problem when manipulating suspension interface can be ensured, make whole operating process more smooth, more simply, more efficient, enhance Consumer's Experience.
Need to illustrate, the embodiment of foregoing description is a part of embodiment of the present invention, instead of whole embodiment, neither limitation of the present invention.Based on embodiments of the invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to protection scope of the present invention.

Claims (4)

1. an implementation method for android system intelligent television suspension interface mutual exclusion function, is characterized in that comprising:
A, when being breathed out in a suspension interface, in the service of Android window management, travel through all windows, when find display and the suspension interface that can manipulate time, call Android callback interface and the suspension interface found be set to invisible;
B, by be set in steps A sightless suspension interface successively with the form of stack list be kept at Android window management service in;
C, when show suspension interface exit time, call whether the stack list of preserving in the expansion interface determining step B of Android window management service is empty, then choose the suspension interface being positioned at stack list top if not empty, call Android callback interface and the suspension interface chosen is set to visible.
2. the implementation method of android system intelligent television suspension interface according to claim 1 mutual exclusion function, it is characterized in that showing in described steps A and the suspension interface that can manipulate is Visibility attribute is VISIBLE, comprise Focus, window type is the window of SYSTEM_WINDOW.
3. android system intelligent television suspension interface mutual exclusion function realize a system, it is characterized in that comprising:
Suspension interface hides module, it is configured to when being breathed out in a suspension interface, in the service of Android window management, travel through all windows, when finding the suspension interface that also can manipulate of display, calling Android callback interface and the suspension interface found is set to invisible;
Suspension interface saving module, it is configured to: suspension interface is hidden in module be set to sightless suspension interface successively with the form of stack list be kept at Android window management service in;
Suspension interface rendering module, it is configured to: when the suspension interface shown is exited, the expansion interface calling the service of Android window management judges whether the stack list that suspension interface saving module is preserved is empty, then choose the suspension interface being positioned at stack list top if not empty, call Android callback interface and the suspension interface chosen is set to visible.
4. android system intelligent television suspension interface according to claim 3 mutual exclusion function realize system, it is characterized in that described display and the suspension interface that can manipulate is Visibility attribute is VISIBLE, comprise Focus, window type is the window of SYSTEM_WINDOW.
CN201510907191.4A 2015-12-10 2015-12-10 The realization method and system of android system smart television suspension interface mutual exclusion function Active CN105516782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510907191.4A CN105516782B (en) 2015-12-10 2015-12-10 The realization method and system of android system smart television suspension interface mutual exclusion function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510907191.4A CN105516782B (en) 2015-12-10 2015-12-10 The realization method and system of android system smart television suspension interface mutual exclusion function

Publications (2)

Publication Number Publication Date
CN105516782A true CN105516782A (en) 2016-04-20
CN105516782B CN105516782B (en) 2018-08-14

Family

ID=55724369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510907191.4A Active CN105516782B (en) 2015-12-10 2015-12-10 The realization method and system of android system smart television suspension interface mutual exclusion function

Country Status (1)

Country Link
CN (1) CN105516782B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020601A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Interface display management method and device
CN111356020A (en) * 2020-03-10 2020-06-30 四川长虹电器股份有限公司 Window mutual exclusion function implementation method of Android smart television
CN111563036A (en) * 2020-04-26 2020-08-21 珠海格力电器股份有限公司 Function logic judgment method and device, intelligent equipment and storage medium
CN115665464A (en) * 2022-10-21 2023-01-31 四川长虹电器股份有限公司 Method for mutually exclusive separation of touch television control center and notification center

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004310655A (en) * 2003-04-10 2004-11-04 Matsushita Electric Ind Co Ltd Window stack control method
CN104077180B (en) * 2012-03-15 2017-11-14 北京奇虎科技有限公司 Multi-process management method and device
WO2014059677A1 (en) * 2012-10-19 2014-04-24 华为技术有限公司 Method for processing user interface, and electronic device
CN102937859A (en) * 2012-10-19 2013-02-20 山东大学 Realization method of desktop system based on Android operation system
CN103197842B (en) * 2013-04-15 2016-08-31 广州博冠信息科技有限公司 The control method of a kind of application window and device
CN103279349B (en) * 2013-05-31 2016-09-21 正益无线(北京)科技有限公司 The multiwindow based on mobile middleware of mobile phone or PDA browses system
CN104571845A (en) * 2013-10-28 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN104461242B (en) * 2014-12-08 2017-12-01 深圳市嘉乐派科技有限公司 A kind of multi-window interface implementation method based on Android operation system
CN104965708B (en) * 2015-06-30 2018-09-28 北京奇艺世纪科技有限公司 A kind of EMS memory management process and device of application program operational process

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020601A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Interface display management method and device
CN111356020A (en) * 2020-03-10 2020-06-30 四川长虹电器股份有限公司 Window mutual exclusion function implementation method of Android smart television
CN111563036A (en) * 2020-04-26 2020-08-21 珠海格力电器股份有限公司 Function logic judgment method and device, intelligent equipment and storage medium
CN115665464A (en) * 2022-10-21 2023-01-31 四川长虹电器股份有限公司 Method for mutually exclusive separation of touch television control center and notification center

Also Published As

Publication number Publication date
CN105516782B (en) 2018-08-14

Similar Documents

Publication Publication Date Title
US11412292B2 (en) Video processing method, video processing device, and storage medium
CN105516782A (en) Method and system for implementing suspension interface mutual exclusion function of smart television with Android system
CN105100851B (en) The method of instructing operation and device of smart television set remote-controller
CN103167154B (en) A kind of method that quick managing mobile phone runs application
US20230269418A1 (en) Video display method, apparatus and storage medium
CN102750146A (en) Method for realizing simulated mouse control in intelligent terminal and intelligent terminal
CN103049191B (en) Splicing wall display system realizes method and the device of mouse interaction operation
CN109286835A (en) Direct broadcasting room interactive element display methods, storage medium, equipment and system
CN104301788A (en) Method and device for providing video interaction
CN104484038B (en) The control method and device of smart machine
CN104461614A (en) Method for processing theme resource and electronic device
CN104156135B (en) screen recording method and device
CN106325657B (en) Control method and device for screen projection display and mobile terminal
CN105808035A (en) Icon display method and apparatus
CN105049948A (en) Coding method of instant video and electronic equipment
CN110708591B (en) Image processing method and device and electronic equipment
CN102929506A (en) Method for quickly adding desktop elements to desktop
WO2017143728A1 (en) Method for switching between operation interfaces of intelligent terminal
CN104185076A (en) Smart television breathing lamp effect achieving method and device
CN102467383B (en) A kind of method that realizes Shipping Options Page window at graphical interface of embedded system
CN104102367A (en) Information processing method and device
CN104683848A (en) Fast operation method of smart television applications and implement system
CN104461615B (en) A kind of processing method and electronic equipment of skin resource
CN104462099A (en) Information processing method and electronic equipment
CN103108242A (en) Method of solving conflict between intelligent television video application and television video

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