A method for processing application destruction exception and a display device

By receiving user input on the display device, switching the running home application, and destroying abnormal activities, the problem of the display device playing audio from a physical signal source when the application is closed is resolved, thus improving the user experience.

CN114281490BActive Publication Date: 2025-10-28HISENSE VISUAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011216430.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-04
Publication Date
2025-10-28
Estimated Expiration
2040-11-04

AI Technical Summary

Technical Problem

Display devices often play audio corresponding to the physical signal source when applications are closed, resulting in a poor user experience.

Method used

After playing the physical signal source, the system receives user input instructing it to launch the home application, switches to running the home application in the foreground, and destroys the activity of the first application when it receives user input instructing it to exit the first application, switches to running the home application in the foreground, and does not play the audio corresponding to the physical signal source.

Benefits of technology

This effectively avoids playback errors during application destruction, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114281490B_ABST
    Figure CN114281490B_ABST
Patent Text Reader

Abstract

This application discloses a method for handling application destruction anomalies and a display device to avoid playback errors during application destruction, thereby improving the user experience. The method includes: after playing a physical signal source, receiving user input instructing the user to launch a homepage application, and switching the homepage application to the foreground; receiving user input instructing the user to launch a first application, and switching the first application to the foreground; receiving user input instructing the user to exit the first application running in the foreground, destroying the activity corresponding to the first application, and switching the homepage application to the foreground.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of application destruction anomaly technology, and in particular to a method for handling application destruction anomalies and a display device. Background Technology

[0002] As display devices become increasingly powerful, they can play content from multiple signal sources. In this context, users often find that physical signal sources are played when applications are closed, leading to a poor user experience. Summary of the Invention

[0003] This application provides a method for handling application destruction anomalies and a display device to improve the user experience.

[0004] In a first aspect, a display device is provided, comprising:

[0005] monitor;

[0006] User interface, used to receive input signals;

[0007] The controllers, connected to the display and user interface respectively, are used to perform:

[0008] After playing the physical signal source, the system receives user input instructing the user to launch the home application and switches to run the home application in the foreground.

[0009] Upon receiving user input instructing them to launch the first application, the first application is switched to run in the foreground.

[0010] Upon receiving user input instructing the user to exit the first application running in the foreground, the activity corresponding to the first application is destroyed, the home application is switched to run in the foreground, and the audio corresponding to the physical signal source is not played.

[0011] In some embodiments, the activity corresponding to the physical signal source is located in a first stack, the activity corresponding to the home application is located in a second stack, and the activity corresponding to the first application is located in the first stack and above the activity corresponding to the physical signal source.

[0012] The controller is configured to perform the following steps to destroy the activity corresponding to the first application and switch the home application to run in the foreground:

[0013] Delete the activity corresponding to the first application in the first stack; determine whether the next activity in the first stack is in a temporarily destroyed state; if it is in a temporarily destroyed state, switch to the foreground to run the home application.

[0014] In some embodiments, the physical signal source includes signals transmitted via ATV, DTV, or HDMI channels.

[0015] In some embodiments, the first stack is a full-screen stack.

[0016] In some embodiments, the second stack is the home page stack.

[0017] Secondly, a method for handling application destruction exceptions is provided, the method comprising:

[0018] After playing the physical signal source, the system receives user input instructing the user to launch the home application and switches to run the home application in the foreground.

[0019] Upon receiving user input instructing them to launch the first application, the first application is switched to run in the foreground.

[0020] Upon receiving user input instructing the user to exit the first application running in the foreground, the activity corresponding to the first application is destroyed, the home application is switched to run in the foreground, and the audio corresponding to the physical signal source is not played.

[0021] In some embodiments, the activity corresponding to the physical signal source is located in a first stack, the activity corresponding to the home application is located in a second stack, and the activity corresponding to the first application is located in the first stack and above the activity corresponding to the physical signal source.

[0022] The steps of destroying the activity corresponding to the first application and switching the homepage application to run in the foreground include:

[0023] Delete the activity corresponding to the first application in the first stack; determine whether the next activity in the first stack is in a temporarily destroyed state; if it is in a temporarily destroyed state, switch to the foreground to run the home application.

[0024] In some embodiments, the physical signal source includes signals transmitted via ATV, DTV, or HDMI channels.

[0025] In some embodiments, the first stack is a full-screen stack.

[0026] In some embodiments, the second stack is the home page stack.

[0027] In the above embodiments, a method for handling application destruction anomalies and a display device are provided to avoid playback anomalies during application destruction, thereby improving the user experience. The method includes: after playing a physical signal source, receiving user input instructing the user to launch a homepage application, and switching the homepage application to the foreground; receiving user input instructing the user to launch a first application, and switching the first application to the foreground; receiving user input instructing the user to exit the first application running in the foreground, destroying the activity corresponding to the first application, and switching the homepage application to the foreground. Attached Figure Description

[0028] Figure 1 The diagram illustrates an operational scenario between a display device and a control device according to some embodiments;

[0029] Figure 2 The diagram illustrates, by way of example, a hardware configuration block diagram of a display device 200 according to some embodiments;

[0030] Figure 3 The diagram illustrates, by way of example, a hardware configuration block diagram of a control device 100 according to some embodiments;

[0031] Figure 4 The diagram illustrates, by way of example, a software configuration schematic of a display device 200 according to some embodiments;

[0032] Figure 5 The image above exemplarily illustrates a schematic diagram of an icon control interface display for an application in a display device 200 according to some embodiments;

[0033] Figure 6 The diagram illustrates a user interface according to some embodiments;

[0034] Figure 7 The diagram illustrates a user interface according to some embodiments;

[0035] Figure 8 The diagram illustrates a user interface according to some embodiments;

[0036] Figure 9 The diagram illustrates a user interface according to some embodiments;

[0037] Figure 10 The diagram illustrates a user interface according to some embodiments;

[0038] Figure 11 The diagram illustrates, exemplarily, a full-screen stack and a home page stack according to some embodiments;

[0039] Figure 12 The flowchart of a method for handling application destruction exceptions according to some embodiments is illustrated in the example;

[0040] Figure 13 The diagram illustrates a flowchart of another method for handling application destruction exceptions according to some embodiments. Detailed Implementation

[0041] To make the objectives, implementation methods and advantages of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only some embodiments of this application, and not all embodiments.

[0042] Based on the exemplary embodiments described in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the appended claims. Furthermore, although the disclosures in this application are presented by way of one or more exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete implementation on its own.

[0043] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0044] In this application, the terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings are used to distinguish similar or related objects or entities and do not necessarily imply a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be used interchangeably where appropriate, for example, in situations where implementation is possible in a sequence other than those given in the embodiments illustrated or described in this application.

[0045] Furthermore, the terms “including” and “having”, and any variations thereof, are intended to cover but not exclusively include, for example, a product or device that includes a series of components is not necessarily limited to those components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0046] As used in this application, the term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with that element.

[0047] As used in this application, the term "remote control" refers to a component of an electronic device (such as the display device disclosed in this application) that typically allows for wireless control of the electronic device over a short distance. It generally uses infrared and / or radio frequency (RF) signals and / or Bluetooth to connect to the electronic device, and may also include functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors. For example, a handheld touch remote control replaces most of the physical built-in hard buttons in a typical remote control device with a user interface on a touchscreen.

[0048] As used in this application, the term "gesture" refers to user behavior that uses a change in hand shape or hand movement to express an expected idea, action, purpose, and / or result.

[0049] Figure 1 The diagram illustrates an operational scenario between a display device and a control device according to an embodiment. Figure 1 As shown, the user can operate the display device 200 through the mobile terminal 300 and the control device 100.

[0050] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, controlling the display device 200 wirelessly or via other wired means. Users can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. For example, users can input corresponding control commands through volume up / down buttons, channel control buttons, up / down / left / right movement buttons, voice input buttons, menu buttons, power on / off buttons, etc., to achieve the function of controlling the display device 200. The wireless method can be direct or indirect, and can be routed or unrouted.

[0051] In some embodiments, mobile terminals, tablets, computers, laptops, and other smart devices can also be used to control the display device 200. For example, an application running on the smart device can be used to control the display device 200. This application can be configured to provide the user with various controls in an intuitive user interface (UI) on the screen associated with the smart device.

[0052] In some embodiments, the mobile terminal 300 can install software applications with the display device 200 to establish a connection and communication via a network communication protocol, achieving one-to-one control operations and data communication. For example, a control command protocol can be established between the mobile terminal 300 and the display device 200, synchronizing a remote control keyboard to the mobile terminal 300. By controlling the user interface on the mobile terminal 300, the display device 200 can be controlled. Alternatively, audio and video content displayed on the mobile terminal 300 can be transmitted to the display device 200 for synchronized display.

[0053] like Figure 1The diagram also shows that display device 200 communicates with server 400 via various communication methods. Display device 200 can communicate via local area network (LAN), wireless local area network (WLAN), and other networks. Server 400 can provide display device 200 with various content and interactive features. For example, display device 200 can interact by sending and receiving information, as well as through electronic program guides (EPGs), receiving software updates, or accessing remotely stored digital media libraries. Server 400 can be a cluster or multiple clusters, and may include one or more types of servers. Other network services such as video-on-demand and advertising services are provided through server 400.

[0054] Display device 200 can be an LCD monitor, OLED monitor, or projection display device. The specific type, size, and resolution of the display device are not limited. Those skilled in the art will understand that display device 200 can be modified in terms of performance and configuration as needed.

[0055] In addition to providing broadcast television reception functions, the display device 200 can also be equipped with intelligent network television functions that provide computer support, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.

[0056] Figure 2 The diagram illustrates a hardware configuration block diagram of a display device 200 according to an exemplary embodiment.

[0057] In some embodiments, the display device 200 includes at least one of the following: a controller 250, a tuner / demodulator 210, a communicator 220, a detector 230, an input / output interface 255, a display 275, an audio output interface 285, a memory 260, a power supply 290, a user interface 265, and an external device interface 240.

[0058] In some embodiments, the display 275 is a component for receiving image signals output from a first processor and for displaying video content and images as well as a menu control interface.

[0059] In some embodiments, the display 275 includes a display screen assembly for presenting an image and a driving assembly for driving the image display.

[0060] In some embodiments, the displayed video content may originate from broadcast television content, or from various broadcast signals received via wired or wireless communication protocols. Alternatively, it may display various image content received from a network server via network communication protocols.

[0061] In some embodiments, the display 275 is used to present a user-controlled UI interface generated in the display device 200 and used to control the display device 200.

[0062] In some embodiments, depending on the type of display 275, a driving component for driving the display may also be included.

[0063] In some embodiments, the display 275 is a projection display, and may also include a projection device and a projection screen.

[0064] In some embodiments, the communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the communicator may include at least one of the following: a Wi-Fi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip, other network communication protocol chips or near-field communication protocol chips, and an infrared receiver.

[0065] In some embodiments, the display device 200 may establish a communication with an external control device 100 or a content providing device via a communicator 220 to send and receive control signals and data signals.

[0066] In some embodiments, the user interface 265 can be used to receive infrared control signals from the control device 100 (e.g., an infrared remote controller).

[0067] In some embodiments, the detector 230 is used by the display device 200 to collect signals from the external environment or to interact with the outside world.

[0068] In some embodiments, the detector 230 includes a light receiver and a sensor for collecting ambient light intensity, which can adaptively display parameter changes by collecting ambient light.

[0069] In some embodiments, the detector 230 may also include an image acquisition device, such as a camera or webcam, which can be used to acquire external environmental scenes and to acquire user attributes or user interaction gestures. It can adaptively change display parameters and recognize user gestures to achieve the function of interaction with the user.

[0070] In some embodiments, the detector 230 may also include a temperature sensor, such as by sensing ambient temperature.

[0071] In some embodiments, the display device 200 may adaptively adjust the color temperature of the displayed image. For example, in a high-temperature environment, the display device 200 may adjust the color temperature of the displayed image to be cooler, or in a low-temperature environment, the display device 200 may adjust the color temperature of the displayed image to be warmer.

[0072] In some embodiments, the detector 230 may also be a sound acquisition device, such as a microphone, for receiving the user's voice. For example, it may include voice signals containing control commands from the user to the display device 200, or it may collect ambient sounds to identify the type of environmental scene, enabling the display device 200 to adaptively adapt to ambient noise.

[0073] In some embodiments, as Figure 2 As shown, the input / output interface 255 is configured to enable data transmission between the controller 250 and other external devices or other controllers 250. This includes receiving video and audio signal data, or command and instruction data, from external devices.

[0074] In some embodiments, the external device interface 240 may include, but is not limited to, one or more interfaces such as an HDMI interface, an analog or high-definition component input interface, a composite video input interface, a USB input interface, and an RGB port. Alternatively, multiple interfaces may be combined to form a composite input / output interface.

[0075] In some embodiments, as Figure 2 As shown, the tuner / demodulator 210 is configured to receive broadcast television signals via wired or wireless means, and to perform modulation and demodulation processes such as amplification, mixing, and resonance, to demodulate audio and video signals from multiple wireless or wired broadcast television signals. The audio and video signals may include television audio and video signals carried in the frequency of the television channel selected by the user, as well as EPG data signals.

[0076] In some embodiments, the frequency point demodulated by the tuner 210 is controlled by the controller 250, which can issue control signals according to user selection to make the modem respond to the television signal frequency selected by the user and modulate the television signal carried at that frequency.

[0077] In some embodiments, broadcast television signals can be categorized according to different broadcasting standards, such as terrestrial broadcast signals, cable broadcast signals, satellite broadcast signals, or internet broadcast signals. Alternatively, they can be categorized according to different modulation types, such as digital modulation signals or analog modulation signals. Or, they can be categorized according to different signal types, such as digital signals or analog signals.

[0078] In some embodiments, the controller 250 and the tuner / demodulator 210 can be located in different separate devices; that is, the tuner / demodulator 210 can also be located in an external device of the main device where the controller 250 is located, such as an external set-top box. In this way, the set-top box outputs the modulated and demodulated television audio and video signal from the received broadcast television signal to the main device, and the main device receives the audio and video signal through the first input / output interface.

[0079] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations via various software control programs stored in memory. The controller 250 can control the overall operation of the display device 200. For example, in response to receiving a user command to select a UI object to display on the display 275, the controller 250 can perform operations related to the object selected by the user command.

[0080] In some embodiments, the object can be any of the optional objects, such as a hyperlink or an icon. Operations related to the selected object include, for example, displaying links to hyperlinked pages, documents, images, etc., or performing operations corresponding to the program associated with the icon. User commands for selecting UI objects can be input via various input devices connected to the display device 200 (e.g., mouse, keyboard, touchpad, etc.) or voice commands corresponding to spoken commands by the user.

[0081] like Figure 2 As shown, the controller 250 includes at least one of the following: Random Access Memory 251 (RAM), Read-Only Memory 252 (ROM), Video Processor 270, Audio Processor 280, Other Processors 253 (e.g., Graphics Processing Unit (GPU), Central Processing Unit (CPU) 254), Communication Interface, and Communication Bus 256. The Communication Bus connects the various components.

[0082] In some embodiments, RAM 251 is used to store temporary data of the operating system or other running programs.

[0083] In some embodiments, ROM 252 is used to store various system startup instructions.

[0084] In some embodiments, ROM 252 is used to store a basic input / output system, referred to as the Basic Input / Output System (BIOS). It is used to perform power-on self-test (POST), initialization of various functional modules within the system, drivers for the system's basic inputs / outputs, and to boot the operating system.

[0085] In some embodiments, upon receiving a power-on signal, the display device 200 starts up, the CPU executes the system startup instructions in ROM 252, and copies temporary data of the operating system stored in memory to RAM 251 to facilitate the startup or operation of the operating system. After the operating system has started up, the CPU copies temporary data of various applications from memory to RAM 251 to facilitate the startup or operation of various applications.

[0086] In some embodiments, the CPU processor 254 is configured to execute operating system and application instructions stored in memory, and to execute various applications, data, and content based on various interactive instructions received from external input, so as to ultimately display and play various audio and video content.

[0087] In some exemplary embodiments, the CPU processor 254 may include multiple processors. The multiple processors may include a main processor and one or more sub-processors. The main processor is used to perform some operations of the display device 200 in a pre-power-on mode, and / or to display a screen in normal mode. The one or more sub-processors are used for one operation in a standby mode or other state.

[0088] In some embodiments, the graphics processor 253 is used to generate various graphical objects, such as icons, operation menus, and graphics displayed based on user input commands. It includes a calculation unit that performs calculations based on various user input interaction commands and displays various objects according to display attributes. It also includes a renderer that renders the various objects obtained from the calculation unit, and the rendered objects are used to display on a monitor.

[0089] In some embodiments, the video processor 270 is configured to receive external video signals and perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal, so as to obtain a signal that can be directly displayed or played on the display device 200.

[0090] In some embodiments, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, etc.

[0091] The demultiplexing module is used to demultiplex the input audio and video data streams. For example, if the input is MPEG-2, the demultiplexing module will demultiplex it into video signals and audio signals.

[0092] The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.

[0093] Image compositing modules, such as image synthesizers, are used to overlay and blend GUI signals generated by a graphics generator based on user input or its own data with scaled video images to generate displayable image signals.

[0094] The frame rate conversion module is used to convert the frame rate of the input video, such as converting a 60Hz frame rate to a 120Hz frame rate or a 240Hz frame rate. The usual format is achieved by frame interpolation.

[0095] The display formatting module is used to convert the received frame rate video output signal and change the signal to conform to the display format, such as outputting RGB data signals.

[0096] In some embodiments, the graphics processor 253 can be integrated with the video processor or configured separately. When integrated, it can perform the processing of graphics signals output to the display. When configured separately, they can perform different functions, such as a GPU+FRC (Frame Rate Conversion) architecture.

[0097] In some embodiments, the audio processor 280 is configured to receive external audio signals, perform decompression and decoding according to the standard codec protocol of the input signals, and perform noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in a speaker.

[0098] In some embodiments, the video processor 270 may comprise one or more chips. The audio processor may also comprise one or more chips.

[0099] In some embodiments, the video processor 270 and the audio processor 280 may be separate chips or integrated into one or more chips together with the controller.

[0100] In some embodiments, the audio output receives sound signals output by the audio processor 280 under the control of the controller 250, such as the speaker 286, and external audio output terminals of the generating device of an external device, such as an external audio interface or headphone interface, in addition to the speaker carried by the display device 200 itself. It may also include a short-range communication module in the communication interface, such as a Bluetooth module for Bluetooth speaker sound output.

[0101] The power supply 290, under the control of the controller 250, provides power to the display device 200 from an external power source. The power supply 290 may include a built-in power circuit installed inside the display device 200, or it may be an external power source installed in the display device 200, providing an external power interface within the display device 200.

[0102] User interface 265 is used to receive user input signals and then send the received user input signals to controller 250. The user input signals can be remote control signals received via an infrared receiver, or various user control signals received via a network communication module.

[0103] In some embodiments, the user inputs a user command through the control device 100 or the mobile terminal 300, and the user input interface responds to the user's input through the controller 250.

[0104] In some embodiments, the user can input user commands through a graphical user interface (GUI) displayed on the display 275, and the user input interface receives the user input commands through the GUI. Alternatively, the user can input user commands by inputting specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.

[0105] In some embodiments, a "user interface" is the medium through which an application or operating system interacts and exchanges information with a user. It converts information between its internal form and a form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.

[0106] The memory 260 includes various software modules for driving the display device 200. For example, the various software modules stored in the first memory include at least one of the following: a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.

[0107] The basic module is a low-level software module used for signal communication between various hardware components in the display device 200 and for sending processing and control signals to higher-level modules. The detection module is a management module used to collect various information from various sensors or user input interfaces, perform digital-to-analog conversion, and analyze and manage the data.

[0108] For example, the speech recognition module includes a speech parsing module and a speech command database module. The display control module controls the monitor to display image content and can be used to play multimedia images and UI information. The communication module is used for control and data communication with external devices. The browser module is used to perform data communication with browser servers. The service module provides various services and applications. Meanwhile, the memory 260 also stores received external data and user data, images of various items in the user interface, and visual effects of the focused object.

[0109] Figure 3 An exemplary configuration block diagram of a control device 100 according to an exemplary embodiment is shown. Figure 3 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.

[0110] The control device 100 is configured to control the display device 200, and to receive user input commands, converting the commands into commands that the display device 200 can recognize and respond to, thus acting as an intermediary for interaction between the user and the display device 200. For example, if the user operates the channel up / down keys on the control device 100, the display device 200 will respond with the channel up / down operation.

[0111] In some embodiments, the control device 100 may be an intelligent device. For example, the control device 100 may be equipped with various applications for controlling the display device 200 according to user needs.

[0112] In some embodiments, as Figure 1 As shown, the mobile terminal 300 or other smart electronic devices, after installing the application for controlling the display device 200, can perform functions similar to controlling the device 100. For example, users can install the application and use the various function keys or virtual buttons provided on the graphical user interface of the mobile terminal 300 or other smart electronic devices to control the physical buttons of the device 100.

[0113] The controller 110 includes a processor 112, RAM 113, ROM 114, a communication interface 130, and a communication bus. The controller is used to control the operation of the control device 100, as well as the communication and cooperation between internal components and the external and internal data processing functions.

[0114] Under the control of the controller 110, the communication interface 130 enables communication of control signals and data signals with the display device 200. For example, it sends received user input signals to the display device 200. The communication interface 130 may include at least one of other near-field communication modules such as a WiFi chip 131, a Bluetooth module 132, and an NFC module 133.

[0115] User input / output interface 140, wherein the input interface includes at least one of other input interfaces such as microphone 141, touchpad 142, sensor 143, and button 144. For example, the user can realize the user command input function through voice, touch, gesture, pressing and other actions. The input interface converts the received analog signal into a digital signal, and the digital signal into a corresponding command signal, and sends it to the display device 200.

[0116] The output interface includes an interface for sending received user commands to the display device 200. In some embodiments, it can be an infrared interface or a radio frequency (RF) interface. For example, with an infrared signal interface, the user input command needs to be converted into an infrared control signal according to an infrared control protocol, and then sent to the display device 200 via an infrared transmitting module. Similarly, with an RF signal interface, the user input command needs to be converted into a digital signal, then modulated according to an RF control signal modulation protocol, and then sent to the display device 200 via an RF transmitting terminal.

[0117] In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input / output interface 140. The control device 100 is configured with the communication interface 130, such as a WiFi, Bluetooth, or NFC module, which can encode user input commands via WiFi, Bluetooth, or NFC protocols and send them to the display device 200.

[0118] The memory 190 is used to store various operating programs, data, and applications for driving and controlling the control device 200 under the control of the controller. The memory 190 can also store various control signal commands input by the user.

[0119] The power supply 180 provides power to the various components of the control device 100 under the control of the controller. It can be a battery or related control circuitry.

[0120] In some embodiments, a system may include a kernel, a command interpreter (shell), a file system, and applications. The kernel, shell, and file system together form the basic operating system structure, allowing users to manage files, run programs, and use the system. Upon power-up, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, and runs and maintains virtual memory, the scheduler, signals, and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. Applications are compiled into machine code after startup, forming a process.

[0121] See Figure 4 In some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and system library layer (referred to as the "System Runtime Library Layer"), and the kernel layer.

[0122] In some embodiments, at least one application runs in the application layer. These applications may be built-in Windows programs, system settings programs, clock programs, camera applications, etc., or applications developed by third-party developers, such as HiSee programs, karaoke programs, magic mirror programs, etc. In specific implementations, the application packages in the application layer are not limited to the examples above, and may actually include other application packages. This application embodiment does not impose any limitations on this.

[0123] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications in the application layer. Through the API, applications can access system resources and obtain system services during execution.

[0124] like Figure 4As shown, the application framework layer in this embodiment includes managers, content providers, etc., wherein the managers include at least one of the following modules: ActivityManager, which interacts with all activities running in the system; LocationManager, which provides access to system location services for system services or applications; PackageManager, which retrieves various information related to application packages currently installed on the device; NotificationManager, which controls the display and clearing of notification messages; and WindowManager, which manages icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0125] In some embodiments, the Activity Manager is used to: manage the lifecycle of each application and general navigation back functions, such as controlling the exit of an application (including switching the currently displayed user interface in the display window to the system desktop), opening an application, and going back (including switching the currently displayed user interface in the display window to the previous level user interface).

[0126] In some embodiments, the window manager is used to manage all window programs, such as obtaining the screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling changes to the display window (e.g., shrinking the display window, shaking the display, distorting the display, etc.).

[0127] In some embodiments, the system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to perform.

[0128] In some embodiments, the kernel layer is a layer between hardware and software. For example... Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensor, pressure sensor, etc.).

[0129] In some embodiments, the kernel layer also includes a power driver module for power management.

[0130] In some embodiments, Figure 4 The software programs and / or modules corresponding to the software architecture in the document are stored in [the relevant database]. Figure 2 or Figure 3 In the first or second memory shown.

[0131] In some embodiments, taking the Magic Mirror application (photo-taking application) as an example, when the remote control receiver receives a remote control input operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the input operation into a raw input event (including the value of the input operation, the timestamp of the input operation, etc.). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer, identifies the control corresponding to the input event based on the current focus position, and determines whether the input operation is a confirmation operation. The control corresponding to the confirmation operation is the Magic Mirror application icon. The Magic Mirror application calls the interface of the application framework layer to start the Magic Mirror application, and then calls the kernel layer to start the camera driver, thereby capturing still images or videos through the camera.

[0132] In some embodiments, for touch-enabled display devices, taking split-screen operation as an example, the display device receives user input operations (such as split-screen operation) on the display screen. The kernel layer can generate corresponding input events based on the input operations and report the events to the application framework layer. The activity manager of the application framework layer sets the window mode (such as multi-window mode), window position, and size corresponding to the input operation. The window management of the application framework layer draws the window according to the settings of the activity manager, and then sends the drawn window data to the display driver of the kernel layer. The display driver then displays the corresponding application interface in different display areas of the screen.

[0133] In some embodiments, such as Figure 5 As shown, the application layer contains at least one application that can display corresponding icon controls on the display, such as: live TV application icon control, video-on-demand application icon control, media center application icon control, application center icon control, game application icon control, etc.

[0134] In some embodiments, a live TV application can provide live TV from different signal sources. For example, the live TV application can provide a TV signal using input from cable television, terrestrial broadcasting, satellite services, or other types of live TV services. Furthermore, the live TV application can display the video of the live TV signal on display device 200.

[0135] In some embodiments, a video-on-demand application may provide video from different storage sources. Unlike live TV applications, video-on-demand provides video display from certain storage sources. For example, video-on-demand may come from a cloud storage server or from local hard drive storage containing existing video programs.

[0136] In some embodiments, a media center application may be an application that provides playback of various multimedia content. For example, a media center may provide services that, unlike live TV or video-on-demand, allow users to access various images or audio through the media center application.

[0137] In some embodiments, the application center may provide a storage for various applications. An application may be a game, an application, or other applications related to a computer system or other device but capable of running on a smart TV. The application center may obtain these applications from various sources, store them in local storage, and then make them runnable on the display device 200.

[0138] As display devices become increasingly powerful, they can play content from multiple signal sources. In this context, users often find that when an application is closed, the audio corresponding to the physical signal source is played, leading to a poor user experience.

[0139] For example, the display device switches to the ATV channel to play the physical signal source, such as... Figure 6 As shown, the user interface displays the video corresponding to the physical signal source and simultaneously plays the audio corresponding to the physical signal source. At this time, the user can use the control device to bring up the homepage application, control the homepage display on the user interface, and select to play an animated video through the recommended tabs on the homepage. The device then plays the animated video, for example, such as... Figure 7 As shown. Subsequently, the user can launch the music playback application via a control device or voice command. For example, the user presses the voice button and says, "I want to listen to Andy Lau's 'Forgetful Water'," as... Figure 8 As shown. The display device plays the audio for "Forgetful Water," and simultaneously, the user interface displays a corresponding music video (mv). Then, the user exits the music playback application via a control device or voice command. For example, the user presses the voice button and says "Exit QQ Music," as shown. Figure 9 As shown, at this point, the audio corresponding to the physical signal source is played, and the user interface displays as shown. Figure 10 As shown.

[0140] The inventors discovered that the above situation occurred because closing the application caused a problem with the stack switching when the Android system destroyed multiple activities corresponding to the application.

[0141] The following provides a detailed explanation for the aforementioned scenario. Generally, two stacks are used: the home stack and the fullscreen stack. When a home application launches, its corresponding activity is on the home stack; for example, the activity could be the home activity (homeactivity). When other applications launch, their corresponding activities are on the fullscreen stack. For instance, when a music player application launches, multiple activities are on the fullscreen stack; for example, these activities could be activity A and activity B. Similarly, when a physical signal source playback application launches, its corresponding activity is on the fullscreen stack; for example, the activity could be activity C.

[0142] In the scenario described above, the application playing the physical signal source is launched first, followed by the home application, and then the music playback application. Therefore, the activity displayed on the full-screen stack and the home stack is as follows: Figure 11 As shown, when the music player application is closed, activities A and B corresponding to the music player application in the full-screen stack should be destroyed one by one. When activity A is destroyed, activity B is moved to the top of the full-screen stack, and the order from top to bottom is activity B, the home activity, and activity C. After activity B is destroyed, the home activity should be at the top. However, in reality, when activity B is destroyed, a stack swap operation is performed, that is, the home activity's stack is moved onto the full-screen stack. There is a time difference in this process. During the stack swap, activity C is at the top. Since activity C is an application that plays physical signal sources, the display device plays content related to activity C. It should be noted that since activity C is a physical signal source playback application, and the physical signal source playback application uses a different port than other applications that play video, a switch is required when the previous video playback application uses a different port than the physical signal source playback application. However, the port cannot be switched during the stack swap, which results in only audio being played when playing physical signal sources, while the corresponding video can only be displayed as shown. Figure 10 The user interface shown.

[0143] This application provides a method for handling application destruction anomalies, such as... Figure 12 As shown, the method includes:

[0144] S100: After playing the physical signal source, receive user input indicating to start the home application, and switch to run the home application in the foreground; receive user input indicating to start the first application, and switch to run the first application in the foreground.

[0145] For example, the display device switches to the ATV channel to play the physical signal source, such as... Figure 6As shown, the user interface displays the video corresponding to the physical signal source and simultaneously plays the audio corresponding to the physical signal source. At this time, the user can use the control device to bring up the homepage application, control the homepage display on the user interface, and select to play an animated video through the recommended tabs on the homepage. The device then plays the animated video, for example, such as... Figure 7 As shown. Subsequently, the system receives user input instructing the user to launch the first application. The user can activate the music playback application via a control device or voice. For example, the user presses the voice button and says, "I want to listen to Andy Lau's 'Forgetful Water'," as shown. Figure 8 As shown. When the first application is switched to the foreground, the device plays the audio of "Forgetful Water," and the user interface simultaneously displays the corresponding music video (mv).

[0146] S200: Receive user input indicating to exit the first application running in the foreground, destroy the activity corresponding to the first application, and switch to the home application running in the foreground.

[0147] For example, the system receives user input instructing the user to exit the first application running in the foreground. The user can exit the music playback application via a control device or voice command display. For example, the user presses the voice button and says "Exit QQ Music," as shown below. Figure 9 As shown. At this point, the activity corresponding to the first application is destroyed, the home application is switched to the foreground, and content related to the physical signal source is no longer played in the foreground. For example, the audio corresponding to the physical signal source is played, and so on. Figure 10 The user interface shown.

[0148] In some embodiments, the activity corresponding to the physical source of the playback signal is located in a first stack, the activity corresponding to the home application is located in a second stack, and the activity corresponding to the first application is located in the first stack and is located above the activity corresponding to the physical source of the playback signal.

[0149] The steps of destroying the activity corresponding to the first application and switching the homepage application to run in the foreground include:

[0150] Delete the activity corresponding to the first application in the first stack; determine whether the next activity in the first stack is in a temporarily destroyed state; if it is in a temporarily destroyed state, switch to the foreground to run the home application.

[0151] In some embodiments, user input instructing the user to exit a first application running in the foreground is received, and the activity at the top of the first stack corresponding to the first application is destroyed. The activity corresponding to the first application is located in the first stack. For example, the first application may be a music player application, and the first stack may be a full-screen stack.

[0152] In some embodiments, the process of destroying the first activity in the first stack corresponding to the first application includes: as follows Figure 13 As shown, the `FinishActivityLocked` function is called (the function to destroy the activity lock), which is called by every activity when it calls the `finish` interface (the active destruction interface), indicating that the current user interface is to be destroyed; the `DeferredSurfaceLayout` function is called (the function to delay the surface layout), during which the user interface is locked for a period of time to prevent the user interface (UI) from refreshing; the `MakeFinishingLocked` function is called (the function to destroy the lock), locking and synchronizing the lock (finishing); the `AdjustFocusedActivityStackLocked` function (the function to adjust the focus activity stack lock) is called, because the Android system has AMS (Activity Stack Management) and WMS (Window Management), so the focus needs to be adjusted; at the same time, the `RequestVisibleBehindLocked` function (the function to request visibility delayed lock) and the `SetVisibleBehindActivity` function (the function to set the visible management activity) are called, the purpose of which is to set the visible activity; the `FinishCurrentActivityLocked` function (the function to destroy the current activity lock) is called, after setting the visible activity, the current activity is destroyed.

[0153] Determine whether the next activity in the first stack is in a temporarily destroyed state. Since the number of activities corresponding to the first application is uncertain, when the first application is exited, all activities corresponding to the first application need to be destroyed. Therefore, it is necessary to further determine whether the next activity should be destroyed, hence the determination of whether the next activity is in a temporarily destroyed state. The next activity refers to the activity in the same stack as the currently destroyed activity that follows it in the sequence. The temporary destroyed state can be explained by the following example: For instance, if an application playing a physical signal source is running in the foreground, and the main application is launched without exiting the physical signal source application, the physical signal source application is in a temporarily destroyed state.

[0154] If the application is in a temporarily destroyed state, the main application is switched to the foreground, and the activity corresponding to the main application is located in the second stack. If the application is in a temporarily destroyed state, the main application is directly switched to the foreground, and the next activity is not moved to the top of the first stack. This prevents the next activity from being launched. For example, if the next activity is the activity corresponding to the application playing the physical signal source, then the audio corresponding to the physical signal source will not be played, nor will other activities such as... Figure 10 The user interface shown.

[0155] In some embodiments, the step of switching the foreground running home application includes: referring again Figure 13 The Resumehomestacktask function is called when the home application starts. The home application is usually on a separate stack, and this function is typically called when the home application starts.

[0156] In some embodiments, if the next activity is not in a temporarily destroyed state, it is moved to the top of the first stack and destroyed. It should be noted that if the next activity is not in a temporarily destroyed state, it means the next activity is still the activity corresponding to the one instructed to close the application, so the next activity is moved to the top of the first stack and destroyed.

[0157] In some embodiments, the step of moving the next activity to the top of the first stack includes calling the Resumetopactivitylocked function to restore the top-level activity.

[0158] In some embodiments, the physical signal source includes signals transmitted via ATV (Analog TV, input analog signal), DTV (Digital TV, input digital signal), or HDMI (High Definition Multimedia Interface) channels.

[0159] In the above embodiments, a method for handling application destruction anomalies and a display device are provided to avoid playback anomalies during application destruction, thereby improving the user experience. The method includes: after playing a physical signal source, receiving user input instructing the user to launch a homepage application, and switching the homepage application to the foreground; receiving user input instructing the user to launch a first application, and switching the first application to the foreground; receiving user input instructing the user to exit the first application running in the foreground, destroying the activity corresponding to the first application, and switching the homepage application to the foreground.

[0160] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0161] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that, include: monitor; User interface, used to receive input signals; The controllers, connected to the display and user interface respectively, are used to perform: After playing the physical signal source, the system receives user input instructing the user to launch the home application and switches to run the home application in the foreground. The system receives user input instructing it to launch a first application, and switches to run the first application in the foreground. The activity corresponding to the physical signal source is located in the first stack, the activity corresponding to the home application is located in the second stack, and the activity corresponding to the first application is located in the first stack and above the activity corresponding to the physical signal source. Receive user input instructing the user to exit the first application running in the foreground, and destroy the activity corresponding to the first application in the first stack; determine whether the next activity in the first stack is in a temporarily destroyed state; if it is in a temporarily destroyed state, switch to the home application running in the foreground and do not play the audio corresponding to the physical signal source.

2. The display device according to claim 1, characterized in that, The physical signal source includes signals transmitted via ATV, DTV, or HDMI channels.

3. The display device according to claim 1, characterized in that, The first stack is a full-screen stack.

4. The display device according to claim 1, characterized in that, The second stack is the main stack.

5. A method for handling application destruction anomalies, characterized in that, The method includes: After playing the physical signal source, the system receives user input instructing the user to launch the home application and switches to run the home application in the foreground. The system receives user input instructing it to launch the first application, switches to run the first application in the foreground, and the activity corresponding to the physical signal source is located in the first stack, while the activity corresponding to the home application is located in the second stack. The activity corresponding to the first application is located in the first stack and is above the activity corresponding to the physical signal source. Receive user input instructing the user to exit the first application running in the foreground, and destroy the activity corresponding to the first application in the first stack; determine whether the next activity in the first stack is in a temporarily destroyed state; if it is in a temporarily destroyed state, switch to the home application running in the foreground and do not play the audio corresponding to the physical signal source.

6. The method according to claim 5, characterized in that, The physical signal source includes signals transmitted via ATV, DTV, or HDMI channels.

7. The method according to claim 6, characterized in that, The first stack is a full-screen stack.

8. The method according to claim 6, characterized in that, The second stack is the main stack.

Citation Information

Patent Citations

  • Smart television and application switching method thereof

    CN105516767A

  • Source switching method and device for Android TV, Android TV and readable storage medium

    CN108600838A