WO2018126971A1 - Homepage interface adjustment method, apparatus and smart television - Google Patents
Homepage interface adjustment method, apparatus and smart television Download PDFInfo
- Publication number
- WO2018126971A1 WO2018126971A1 PCT/CN2017/119082 CN2017119082W WO2018126971A1 WO 2018126971 A1 WO2018126971 A1 WO 2018126971A1 CN 2017119082 W CN2017119082 W CN 2017119082W WO 2018126971 A1 WO2018126971 A1 WO 2018126971A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- interface
- window
- homepage
- interface object
- occlusion
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
Definitions
- the present disclosure relates to the field of interface display, and in particular, to a homepage interface adjustment method, apparatus, and smart television.
- some smart TVs use an interactive system of a full-screen floating homepage interface, which can display the homepage interface in the upper layer of the application interface.
- a blank carrier interface is displayed first, and then a non-transparent application interface is displayed. Since the first window where the carrier interface is located is the same as the second window level of the application interface, the generation time is generated. The late second window is displayed above the first window that was generated earlier, so the application interface overlays the display on the carrier interface.
- the floating window is opened, and the homepage interface object of the homepage interface is displayed in the floating window, so that the homepage interface is displayed in a floating manner, due to the window of the floating window
- the level is higher than the window level of the second window where the application interface is located, so the opened home page interface is suspended in the upper layer of the application interface.
- the homepage interface will disappear and display again. Since the carrier interface of the smart TV is grayed out by default, the screen of the smart TV will disappear from the disappearance of the homepage interface to the gap of the display. The gray color is displayed, which causes the interface to flicker visually during the hooking process, which affects the visual effect of the interface of the smart TV.
- a homepage interface adjustment method, device and smart television The technical solution is as follows:
- a method for adjusting a homepage interface of a smart television includes:
- the screenshot image being displayed in the occlusion window, the window level of the occlusion window being higher than a window level of a floating window where the home page interface object of the home page interface is located;
- a home screen adjustment device for a smart television includes:
- the first screenshot device is configured to: when the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, perform a full-screen screenshot on the visible interface displayed by the smart television to obtain a screenshot image;
- a display configured to generate an occlusion window, the screenshot image being displayed in the occlusion window, the window level of the occlusion window being higher than a window level of a floating window where the home page interface object of the home page interface is located;
- a hook configured to unattach the home page interface object from the floating window and attach the home page interface object to the carrier interface
- a closeter configured to close the occlusion window.
- a smart television comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor executing the computer program
- a computer readable storage medium in which computer instructions are stored, the computer instructions being executed by a processor to implement the home page adjustment method described above.
- a computer program product in which computer instructions are stored, the computer instructions being executed by a processor to implement the home page adjustment method described above.
- the upper layer of the application interface displays a homepage interface
- the application interface is forcibly closed, a full-screen screenshot of the visible interface displayed by the smart television is generated, and then an occlusion window is generated, and the full-screen screenshot is displayed in the occlusion window.
- the screenshot image when the home interface object is hooked onto the carrier interface, the occlusion window is closed, because the window level of the occlusion window is higher than the window level of the floating window, before the smart TV hooks the home interface object to the carrier interface, the occlusion is blocked.
- the window will be overlaid on the floating window, and the process of attaching the homepage interface object to the carrier interface by the smart TV will be occluded; therefore, the screen of the smart TV will be grayed out in the gap from the disappearance to the display of the homepage interface.
- FIG. 1 is a schematic diagram of a process in which a homepage interface object of the present disclosure is unattached to a reattach;
- FIG. 2A is a flowchart of a method for adjusting a homepage interface according to an embodiment of the present disclosure
- 2B is a schematic diagram of a process of generating an occlusion window to being closed according to an embodiment of the present disclosure
- 2C is a flowchart of a method for adjusting a homepage interface according to another embodiment of the present disclosure
- FIG. 3 is a block diagram showing the structure of a homepage interface adjusting apparatus provided in an embodiment of the present disclosure
- FIG. 4 is a block diagram showing the structure of a homepage interface adjusting apparatus provided in another embodiment of the present disclosure.
- FIG. 5 is a structural block diagram of a homepage interface adjusting apparatus provided in still another embodiment of the present disclosure.
- FIG. 6 is a block diagram showing the structure of a terminal provided in some embodiments of the present disclosure.
- FIG. 1 a schematic diagram of the process of unmounting the re-attachment with reference to the homepage interface object shown in FIG. 1.
- the homepage interface object is unattached to the re-attachment process. Be explained.
- the homepage interface when the homepage interface is displayed on the upper layer of the application interface (state A shown in FIG. 1), if the application corresponding to the application interface stops running or is uninstalled, the application interface is Forced to close (state B shown in Figure 1), Smart TV will move the carrier interface covered by the application interface to the foreground display by default, and unmount the home interface object from the floating window, and hang the home interface object. Connected to the carrier interface (state C shown in Figure 1). In the process of unmounting and re-attaching the homepage interface object, the homepage interface will disappear and display again. Since the carrier interface of the smart TV is grayed out by default, the screen of the smart TV will disappear from the disappearance of the homepage interface to the gap of the display. The gray color is displayed, which causes the interface to flicker visually during the hooking process, which affects the visual effect of the interface of the smart TV.
- smart TV generally uses Android operating system
- Android operating system can not only display system component Activity, but also display dialog box (English: Dialog), status bar, volume bar, lock screen interface, mouse cursor, screen saver, pop-up message Box Toast and various windows.
- the Android operating system sets multiple window levels for the window, and the high-level window is displayed on the upper level of the lower level window.
- window levels from low to high are: TYPE_APPLICATION, TYPE_PHONE, TYPE_SYSTEM_DIALOG, TYPE_TOAST, YPE_DREAM, TYPE_SYSTEM_ALERT, TYPE_STATUS_BAR, TYPE_STATUS_BAR_PANEL, TYPE_VOLUME_OVERLAY, TYPE_SYSTEM_OVERLAY, TYPE_SYSTEM_ERROR, TYPE_POINTER and so on.
- FIG. 2A is a flowchart of a method for adjusting a home page interface of a smart TV according to an embodiment of the present disclosure.
- the homepage interface adjustment method of the smart TV may include the following steps:
- Step 101 When the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, a full screen shot is taken on the visible interface displayed by the smart TV to obtain a screenshot image.
- the homepage interface object of the homepage interface is hooked up to the floating window, since the high-level window is displayed on the upper layer of the lower-level window,
- the smart TV uses the Application Window Manager to attach the home page interface object to the floating window of the window where the window level is higher than the application interface, the home page interface is suspended in the upper layer of the application interface.
- the window level of the floating window is TYPE_STATUS_BAR
- the window level of the window where the application interface is located is TYPE_APPLICATION.
- the application interface When the upper layer of the application interface displays a homepage interface, if the application corresponding to the application interface stops running or is uninstalled, the application interface is forcibly closed, and the smart TV performs a full screen on the currently displayed visible interface.
- Screenshot get the screenshot image
- the screenshot image is a bitmap file (English: Bitmap) dot matrix image data
- the visible interface not only contains the home page interface, but also may include the volume bar interface displayed on the upper layer of the home page interface, the notification prompt interface and other system interfaces .
- Step 102 Generate an occlusion window, and display a screenshot image in the occlusion window, the window level of the occlusion window being higher than the window level of the floating window where the home page interface object of the home page interface is located.
- the homepage interface is composed of a homepage interface object and a carrier interface, which is a human-computer interaction interface.
- the occlusion window has a window level of TYPE_SYSTEM_ERROR.
- a full-screen interface object (such as an Image View control) is added to the occlusion window to fill the screenshot image, and the interface object is a view component in the Android component.
- the occlusion window is displayed on the upper layer of the floating window.
- Step 103 Unmount the home page interface object from the floating window, and attach the home page interface object to the carrier interface.
- the carrier interface is an Activity component in the Android component.
- the operation of the smart TV to attach the homepage interface object to the carrier interface is the Window Manager object in the Activity instance of the smart TV acquiring the carrier interface, and the home page view of the homepage interface is obtained by the addView() method of the Window Manager object. Add to the Activity Window of the carrier interface. Since the Window Manager object can manage the Window of the Activity instance, the control unit of the smart TV can directly attach the home page interface object to the Window of the Activity instance through the addView() method.
- the screenshot image displayed in the occlusion window completely covers the home interface object displayed in the floating window.
- the smart TV hooks the home interface object to the carrier interface, the screenshot image will be on the smart TV.
- the process of attaching the homepage interface object to the carrier interface is occluded, so as to prevent the user from seeing the process of disappearing from the homepage interface to the display, and visually avoiding the phenomenon of interface flicker.
- FIG. 2B is a schematic diagram of a process of generating an occlusion window to being closed according to an embodiment of the present disclosure.
- the smart television first displays the smart television.
- the visible interface is full-screen screenshot
- the screenshot image is obtained
- the occlusion window is generated
- the screenshot image is displayed in the occlusion window (state 2 shown in FIG. 2B)
- the home interface object is unmounted from the floating window, and the homepage is removed.
- the interface object is attached to the carrier interface (state 3 shown in Figure 2C).
- step 104 the occlusion window is closed.
- the smart TV Since the screenshot image is obtained according to the full screen screenshot of the currently displayed visible interface of the smart TV, the smart TV unmounts the home interface object from the floating window, and then the main interface object is attached to the carrier interface for a period of several hundred. Milliseconds, hundreds of milliseconds is relatively short for the user, so after the smart TV successfully hooks the home page interface to the carrier interface, closing the occlusion window will not be detected by the user.
- the method for adjusting the homepage interface of the smart TV is: when the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, the display of the smart television is visible.
- the interface performs a full-screen screenshot, and then generates an occlusion window, and displays a screenshot image obtained after the full-screen screenshot is displayed in the occlusion window.
- the occlusion window is closed, because the occlusion window has a higher level than the floating window.
- the occlusion window will overwrite the display on the floating window, and occlude the process of the smart TV connecting the home page interface object to the carrier interface;
- the screen of the smart TV will be grayed out, which will cause the interface to flicker visually during the hooking process, affecting the visual effect of the interface of the smart TV;
- the phenomenon of interface flicker appears visually Improve the visual effect of the smart TV interface.
- the smart TV when the upper layer of the floating window where the homepage interface object of the homepage interface is located displays other windows, and the interface object displayed in the other window completely covers the homepage interface, the user sees the display in other windows.
- the interface object therefore, when the smart TV adjusts the window level of the homepage interface, the user may not perceive the phenomenon that the interface of the homepage interface object is visually blinking during the process of hooking to the carrier interface, so when the homepage interface object is located
- the smart TV may not occlude the process of attaching the home interface object to the carrier interface.
- FIG. 2B is a flowchart of a method for adjusting a home page interface provided by another embodiment of the present disclosure.
- the homepage interface adjustment method is applied to a smart TV, and may include the following steps:
- Step 201 When the upper layer of the application interface displays the homepage interface, if the application interface is forcibly closed, it is determined whether the upper layer of the floating window displays other windows.
- the interface objects in other windows completely cover the home page interface of the floating display.
- the interface objects in other windows may be a source list interface, a theme selection interface, a recently used task list interface, and the like in the homepage interface.
- the carrier interface includes at least two status flag bits, where the first status flag is used to indicate whether the carrier interface is visible, for example, when the value of the first status flag of the carrier interface is the first value. , indicating that the carrier interface is visible, when the value of the first identifier of the carrier interface is a second value, indicating that the carrier interface is invisible; the second state flag is used to indicate whether the carrier interface is covered, such as when the carrier interface When the value of the second status flag is the third value, it indicates that the carrier interface is covered. When the value of the second status flag of the carrier interface is the fourth value, it indicates that the carrier interface is not covered.
- the two status flag bits can reflect the state of the carrier interface in the floating window in addition to the state of the carrier interface. Therefore, when the smart TV hooks the homepage interface object to the carrier interface, the value of the first state flag bit of the carrier interface to be displayed is first set to a first value, and the second state flag of the carrier interface is set.
- the value is set to the fourth value, and after the home interface object is hooked to the carrier interface by using the addView() method of the Window Manager object in the registered Activity instance, the visibility of the home interface object is set to be visible ( View.VISIBLE), therefore, when the value of the first status flag of the carrier interface is the second value, and the value of the second status flag of the carrier interface is the third value, it indicates that the carrier interface is covered and not Visible, that is, at this point the home page interface object is hooked in the floating window and the home page interface object is visible.
- Step 202 When other windows are displayed on the upper layer of the floating window, the floating window is closed, and the home interface object is hooked onto the carrier interface.
- the smart TV adjusts the window level of the homepage interface, the user may not notice the homepage.
- the visually appearing interface flickering phenomenon occurs when the interface object is hooked up to the carrier interface.
- the smart TV may not occlude the process of attaching the homepage interface object to the carrier interface, directly close the floating window, and attach the homepage interface object to the carrier. On the interface.
- Step 203 When no other window is displayed on the upper layer of the floating window, the state of the home page interface object is queried in the window list.
- the window list records the state of the interface object attached to each window, such as the name of the window where the interface object is located, the window level of the window where the interface object is located, and whether the window where the interface object is located is displayed at the same level. Above other windows, the visibility of the interface object, whether the interface object is in the user edit state or dynamically changed state.
- the display of the floating window is usually controlled by the control unit of the smart TV, so the control unit can find the home page interface. Whether the floating window where the object is located is displayed on other windows in the same level.
- the control unit may query the operating window of the operating system (the Window Manager Service in the Android system) to query the window list, and the window list may determine the floating window where the home interface object is located. Whether it is displayed on other windows in the same level.
- Step 204 Monitor the state change of the homepage interface object when the homepage interface object is in the user edit state or the dynamic change state.
- the homepage interface object is in a user editing state, and specifically, a menu item name on the homepage interface is being edited by the user, the homepage interface is in a position adjustment state, and the like.
- the home page interface object is dynamically changing, and the size or position of the interface control on the home page interface may be dynamically changed.
- the homepage interface object of the homepage interface When the homepage interface object of the homepage interface is in the user edit state or dynamically changed state, the homepage interface object is dynamic, and the smart TV performs a full screen screenshot on the displayed visible interface, and the obtained screenshot image is static, if the smart TV will The screenshot image is displayed in the occlusion window. In the visual, the homepage interface object will suddenly stop changing. Because the homepage interface object is dynamic, if the location of the visible interface in the screenshot image and the position of the visible interface after the homepage interface object is mounted to the carrier interface If it does not correspond, the user will find an exception.
- the control unit of the smart TV adds a change listener to the homepage interface object, which is used to monitor the state change of the homepage interface object, and is still listening to the homepage interface object.
- the user is in the edit state or the dynamic change state, continue to monitor the state change of the home page interface object, and do not perform subsequent operations.
- Step 205 Stop listening to the state of the home page interface object when the home page interface object is not in the user editing state and is not in the dynamic change state.
- control unit When the change listener monitors that the home page interface object is not in the user edit state and is not in the dynamic change state, the control unit will call back the listener and stop monitoring the state of the home page interface object.
- Step 206 Perform a full-screen screenshot on the visible interface displayed on the smart TV to obtain a screenshot image.
- step 207 an occlusion window is generated, and the screenshot image is displayed in the occlusion window.
- the window level of the occlusion window is higher than the window level of the floating window where the home page interface object of the home page interface is located.
- Step 208 Unmount the home page interface object from the floating window, and attach the home page interface object to the carrier interface.
- step 209 the occlusion window is closed.
- the occlusion window is closed.
- steps 206 to 209 are similar to steps 101 to 104, the description of step 206 to step 209 is not repeated in this embodiment.
- the method for adjusting the homepage interface of the smart TV is: when the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, the display of the smart television is visible.
- the interface performs a full-screen screenshot, and then generates an occlusion window, and displays a screenshot image obtained after the full-screen screenshot is displayed in the occlusion window.
- the occlusion window is closed, because the occlusion window has a higher level than the floating window.
- the occlusion window will overwrite the display on the floating window, and occlude the process of the smart TV connecting the home page interface object to the carrier interface;
- the screen of the smart TV will be grayed out, which will cause the interface to flicker visually during the hooking process, affecting the visual effect of the interface of the smart TV;
- the phenomenon of interface flicker appears visually Improve the visual effect of the interface of smart TV.
- the smart television may not perform the process of attaching the homepage interface object to the carrier interface. Occlusion.
- FIG. 3 is a structural block diagram of a homepage interface adjusting apparatus of a smart television according to an embodiment of the present disclosure.
- the home screen adjustment device of the smart TV includes a first screenshot 301, a display 302, a hook 303, and a closer 304.
- the first screenshot device 301 is configured to: when the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, a full-screen screenshot of the visible interface of the smart television is performed, and a screenshot image is obtained;
- the display 302 is configured to generate an occlusion window, and display a screenshot image in the occlusion window, and the window level of the occlusion window is higher than the window level of the floating window where the home interface object of the homepage interface is located;
- the hook 303 is configured to unattach the homepage interface object from the floating window, and hook the homepage interface object to the carrier interface;
- a closer 304 is configured to close the occlusion window.
- the device further includes:
- the querier 305 is configured to query the state of the homepage interface object in the window list before the full screen screenshot of the visible interface of the smart television, and record the state of the interface object attached to each window in the window list;
- the listener 306 is configured to monitor a state change of the homepage interface object when the homepage interface object is in a user edit state or a dynamic change state;
- the second screenshot device 307 is configured to stop monitoring the state of the homepage interface object when the homepage interface object is not in the user editing state, and is not in the dynamic change state, and perform a full screen screenshot on the visible interface of the smart television.
- the switcher 304 is further configured to:
- the occlusion window is closed after the occlusion window is generated and the predetermined length of time is reached.
- the apparatus further includes:
- the determiner 308 is configured to determine whether the upper layer of the floating window displays other windows if the application interface is forcibly closed;
- the hook 303 is further configured to: when the upper layer of the floating window displays other windows, close the floating window, and hook the home interface object to the carrier interface;
- the third screenshot 309 is configured to perform a full-screen screenshot of the visible interface of the smart TV when no other window is displayed on the upper layer of the floating window.
- the homepage interface adjusting apparatus of the smart television provided by the embodiment of the present disclosure can display the smart television display if the application interface is forcibly closed when the upper layer of the application interface displays the homepage interface.
- the interface performs a full-screen screenshot, and then generates an occlusion window, and displays a screenshot image obtained after the full-screen screenshot is displayed in the occlusion window.
- the occlusion window is closed, because the occlusion window has a higher level than the floating window.
- the occlusion window will overwrite the display on the floating window, and occlude the process of the smart TV connecting the home page interface object to the carrier interface;
- the screen of the smart TV will be grayed out, which will cause the interface to flicker visually during the hooking process, affecting the visual effect of the interface of the smart TV;
- the phenomenon of interface flicker appears visually Improve the visual effect of the smart TV interface.
- the smart television may not perform the process of attaching the homepage interface object to the carrier interface. Occlusion.
- the homepage interface adjusting apparatus of the smart TV provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the functions may be assigned differently according to needs.
- the function module is completed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above.
- the homepage interface adjustment apparatus and the homepage interface adjustment method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- Terminal 400 is configured to implement the homepage interface adjustment method provided by the foregoing embodiment.
- Terminal 400 in the present disclosure may include one or more of the following components: a processor for executing computer program instructions to perform various processes and methods for data and stored program instructions, random access memory (RAM), and read only. Memory (ROM), memory for storing data and data, I/O devices, interfaces, antennas, etc. Specifically:
- the terminal 400 may include an RF (Radio Frequency) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a WiFi (Wireless Fidelity) module 470, a processor 480, and a power supply 482. , camera 490 and other components.
- RF Radio Frequency
- the terminal structure shown in FIG. 6 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
- terminal 400 The specific components of the terminal 400 will be specifically described below with reference to FIG. 6:
- the RF circuit 410 can be used for transmitting and receiving data or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink data of the base station, the processing is performed by the processor 480. In addition, the designed uplink data is sent to the base station.
- RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
- RF circuitry 410 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
- the memory 420 can be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the terminal 400 by running software programs and modules stored in the memory 420.
- the memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 400 (such as audio data, phone book, etc.) and the like.
- memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 430 can be configured to receive input digital or character data, and to generate key signal inputs related to user settings and function control of the terminal 400.
- the input unit 430 may include a touch panel 431 and other input devices 432.
- the touch panel 431 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 431 or near the touch panel 431. Operation) and drive the corresponding connecting device according to a preset program.
- the touch panel 431 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch data from the touch detection device, converts the touch data into contact coordinates, and sends the touch
- the processor 480 is provided and can receive commands from the processor 480 and execute them.
- the touch panel 431 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 430 may also include other input devices 432.
- other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the display unit 440 can be used to display data input by the user or data provided to the user and various menus of the terminal 400.
- the display unit 440 may include a display panel 441.
- the display panel 441 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the touch panel 431 can cover the display panel 441. When the touch panel 431 detects a touch operation on or near the touch panel 431, it transmits to the processor 480 to determine the type of the touch event, and then the processor 480 according to the touch event. The type provides a corresponding visual output on display panel 441.
- touch panel 431 and the display panel 441 are used as two independent components to implement the input and input functions of the terminal 400 in FIG. 6, in some embodiments, the touch panel 431 may be integrated with the display panel 441. The input and output functions of the terminal 400 are implemented.
- Terminal 400 may also include at least one type of sensor 450, such as a gyro sensor, a magnetic induction sensor, a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may close the display panel 441 when the terminal 400 moves to the ear. / or backlight.
- the acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the terminal (such as horizontal and vertical screen switching, related games).
- the audio circuit 460, the speaker 461, and the microphone 462 can provide an audio interface between the user and the terminal 400.
- the audio circuit 460 can transmit the converted electrical data of the received audio data to the speaker 461 for conversion to the sound signal output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal by the audio circuit 460. After receiving, it is converted into audio data, and then processed by the audio data output processor 480, transmitted to the terminal, for example, via the RF circuit 410, or the audio data is output to the memory 420 for further processing.
- WiFi is a short-range wireless transmission technology
- the terminal 400 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 470, which provides wireless broadband Internet access for users.
- FIG. 6 shows the WiFi module 470, it can be understood that it does not belong to the essential configuration of the terminal 400, and may be omitted as needed within the scope of not changing the essence of the disclosure.
- Processor 480 is the control center of terminal 400, which connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in memory 420, and recalling data stored in memory 420, The various functions and processing data of the terminal 400 are performed to thereby perform overall monitoring of the terminal.
- the processor 480 may include one or more processing units; preferably, the processor 480 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 480.
- the terminal 400 also includes a power source 482 (e.g., a battery) that supplies power to the various components.
- a power source 482 e.g., a battery
- the power source can be logically coupled to the processor 482 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
- the camera 490 is generally composed of a lens, an image sensor, an interface, a digital signal processor, a CPU, a display screen, and the like.
- the lens is fixed above the image sensor, and the focus can be changed by manually adjusting the lens;
- the image sensor is equivalent to the "film" of the conventional camera, and is the heart of the image captured by the camera;
- the interface is used to connect the camera with the cable and the board to the board.
- the spring-type connection mode is connected to the terminal board, and the collected image is sent to the memory 420;
- the digital signal processor processes the acquired image through a mathematical operation, converts the collected analog image into a digital image, and sends the image to the interface Memory 420.
- the terminal 400 may further include a Bluetooth module or the like, and details are not described herein again.
- the terminal 400 includes, in addition to the one or more processors 480, a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors to perform the above Home page adjustment method.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
- the embodiment of the present application further provides a computer readable storage medium.
- the computer readable storage medium stores a computer program.
- the computer program is executed by the processor, the processes of the homepage interface adjustment method embodiment are implemented, and the same can be achieved. Technical effects, to avoid repetition, will not be repeated here.
- the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
- the computer readable storage medium provided by the embodiments of the present application is used to perform the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above. I will not repeat them here.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本申请要求于2017年01月03日提交中国专利局、申请号为201710001730.7发明名称为“主页界面调整方法、装置和智能电视”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to the Chinese Patent Application entitled "Homepage Interface Adjustment Method, Apparatus, and Smart TV" by the Chinese Patent Office, filed on Jan. 03, 2017, the entire disclosure of which is hereby incorporated by reference. in.
本公开涉及界面显示领域,特别涉及一种主页界面调整方法、装置和智能电视。The present disclosure relates to the field of interface display, and in particular, to a homepage interface adjustment method, apparatus, and smart television.
目前,一些智能电视采用全屏幕悬浮式主页界面的交互系统,该交互系统可以在应用程序界面的上层悬浮显示主页界面。At present, some smart TVs use an interactive system of a full-screen floating homepage interface, which can display the homepage interface in the upper layer of the application interface.
使用该交互系统的智能电视开机后,会先显示空白的载体界面,再显示非透明的应用程序界面,由于载体界面所在的第一窗口与该应用程序界面所在的第二窗口层级相同,生成时刻晚的第二窗口位于生成时刻早的第一窗口之上显示,因此该应用程序界面将覆盖显示在载体界面之上。当智能电视接收到用户利用遥控器发送的用于打开主页界面的打开指令时,会打开悬浮窗口,在该悬浮窗口中显示主页界面的主页界面对象,使得主页界面悬浮显示,由于悬浮窗口的窗口层级高于该应用程序界面所在的第二窗口的窗口层级,因此打开后的主页界面会悬浮显示在该应用程序界面的上层。After the smart TV using the interactive system is powered on, a blank carrier interface is displayed first, and then a non-transparent application interface is displayed. Since the first window where the carrier interface is located is the same as the second window level of the application interface, the generation time is generated. The late second window is displayed above the first window that was generated earlier, so the application interface overlays the display on the carrier interface. When the smart TV receives the open command sent by the user to open the homepage interface by using the remote controller, the floating window is opened, and the homepage interface object of the homepage interface is displayed in the floating window, so that the homepage interface is displayed in a floating manner, due to the window of the floating window The level is higher than the window level of the second window where the application interface is located, so the opened home page interface is suspended in the upper layer of the application interface.
在主页界面对象解除挂接到再挂接的过程中,主页界面会消失再显示,由于智能电视的载体界面默认显示为灰色,因此在主页界面从消失到显示的间隙中,智能电视的画面会呈现灰色,导致挂接过程在视觉上会出现界面闪烁的现象,影响智能电视的界面视觉效果。In the process of unmounting and re-attaching the homepage interface object, the homepage interface will disappear and display again. Since the carrier interface of the smart TV is grayed out by default, the screen of the smart TV will disappear from the disappearance of the homepage interface to the gap of the display. The gray color is displayed, which causes the interface to flicker visually during the hooking process, which affects the visual effect of the interface of the smart TV.
发明内容Summary of the invention
为了解决在主页界面从消失到显示的间隙中,智能电视的画面会呈现灰色,导致挂接过程在视觉上会出现界面闪烁的现象,影响智能电视的界 面视觉效果的问题,本公开实施例提供了一种主页界面调整方法、装置和智能电视。所述技术方案如下:In order to solve the problem that the screen of the smart TV is grayed out in the gap of the homepage interface from the disappearance to the display, the phenomenon that the interface is blinking visually appears in the hooking process, and the problem of the visual effect of the interface of the smart television is affected. A homepage interface adjustment method, device and smart television. The technical solution is as follows:
第一方面,提供了一种智能电视的主页界面调整方法,所述方法包括:In a first aspect, a method for adjusting a homepage interface of a smart television is provided, and the method includes:
当应用程序界面的上层显示有主页界面时,若所述应用程序界面被强制关闭,则对所述智能电视显示的可见界面进行全屏截图,得到截图图像;When the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, a full screen shot is taken on the visible interface displayed by the smart television to obtain a screenshot image;
生成遮挡窗口,在所述遮挡窗口中显示所述截图图像,所述遮挡窗口的窗口层级高于所述主页界面的主页界面对象所在的悬浮窗口的窗口层级;Generating an occlusion window, the screenshot image being displayed in the occlusion window, the window level of the occlusion window being higher than a window level of a floating window where the home page interface object of the home page interface is located;
将所述主页界面对象从所述悬浮窗口中解除挂接,并将所述主页界面对象挂接到载体界面上;Unloading the homepage interface object from the floating window, and hooking the homepage interface object to the carrier interface;
关闭所述遮挡窗口。Close the occlusion window.
第二方面,提供了一种智能电视的主页界面调整装置,所述装置包括:In a second aspect, a home screen adjustment device for a smart television is provided, and the device includes:
第一截图器,配置为当应用程序界面的上层显示有主页界面时,若所述应用程序界面被强制关闭,则对所述智能电视显示的可见界面进行全屏截图,得到截图图像;The first screenshot device is configured to: when the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, perform a full-screen screenshot on the visible interface displayed by the smart television to obtain a screenshot image;
显示器,配置为生成遮挡窗口,在所述遮挡窗口中显示所述截图图像,所述遮挡窗口的窗口层级高于所述主页界面的主页界面对象所在的悬浮窗口的窗口层级;a display, configured to generate an occlusion window, the screenshot image being displayed in the occlusion window, the window level of the occlusion window being higher than a window level of a floating window where the home page interface object of the home page interface is located;
挂接器,配置为将所述主页界面对象从所述悬浮窗口中解除挂接,并将所述主页界面对象挂接到载体界面上;a hook configured to unattach the home page interface object from the floating window and attach the home page interface object to the carrier interface;
关闭器,配置为关闭所述遮挡窗口。A closeter configured to close the occlusion window.
第三方面,提供了一种智能电视,所述智能电视包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的主页界面调整方法。In a third aspect, a smart television is provided, the smart television comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor executing the computer program The above method of adjusting the home page interface is implemented.
第四方面,提供了一种计算机可读存储介质,所述存储介质中存储有计算机指令,所述计算机指令由处理器执行以实现上述的主页界面调整方法。In a fourth aspect, a computer readable storage medium is provided, in which computer instructions are stored, the computer instructions being executed by a processor to implement the home page adjustment method described above.
第五方面,提供了一种计算机程序产品,所述计算机程序产品中存储有计算机指令,所述计算机指令由处理器执行以实现上述的主页界面调整方法。In a fifth aspect, a computer program product is provided, in which computer instructions are stored, the computer instructions being executed by a processor to implement the home page adjustment method described above.
本公开实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of the present disclosure include at least:
当应用程序界面的上层显示有主页界面时,若该应用程序界面被强制关闭,则对所述智能电视显示的可见界面进行全屏截图,再生成遮挡窗口,在遮挡窗口中显示全屏截图后得到的截图图像,当主页界面对象挂接到载体界面上后,关闭该遮挡窗口,由于遮挡窗口的窗口层级高于悬浮窗口的窗口层级,在智能电视将主页界面对象挂接到载体界面上之前,遮挡窗口会覆盖显示在悬浮窗口之上,对智能电视将主页界面对象挂接到载体界面上的过程进行遮挡;因此解决了在主页界面从消失到显示的间隙中,智能电视的画面会呈现灰色,导致挂接过程在视觉上会出现界面闪烁的现象,影响智能电视的界面视觉效果的问题;达到了避免挂接主页界面对象的过程中,在视觉上出现界面闪烁的现象,提高智能电视的界面视觉效果。When the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, a full-screen screenshot of the visible interface displayed by the smart television is generated, and then an occlusion window is generated, and the full-screen screenshot is displayed in the occlusion window. The screenshot image, when the home interface object is hooked onto the carrier interface, the occlusion window is closed, because the window level of the occlusion window is higher than the window level of the floating window, before the smart TV hooks the home interface object to the carrier interface, the occlusion is blocked. The window will be overlaid on the floating window, and the process of attaching the homepage interface object to the carrier interface by the smart TV will be occluded; therefore, the screen of the smart TV will be grayed out in the gap from the disappearance to the display of the homepage interface. The phenomenon that the interface flashes visually appears in the hooking process, affecting the visual effect of the interface of the smart TV; in the process of avoiding the hooking of the homepage interface object, the phenomenon of interface flicker appears visually, and the interface of the smart television is improved. Visual effect.
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present disclosure. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本公开提供的主页界面对象解除挂接到再挂接的过程的示意图;1 is a schematic diagram of a process in which a homepage interface object of the present disclosure is unattached to a reattach;
图2A是本公开一个实施例提供的主页界面调整方法的方法流程图;2A is a flowchart of a method for adjusting a homepage interface according to an embodiment of the present disclosure;
图2B是本公开一个实施例提供的遮挡窗口生成到关闭的过程的示意图;2B is a schematic diagram of a process of generating an occlusion window to being closed according to an embodiment of the present disclosure;
图2C是本公开另一个实施例提供的主页界面调整方法的方法流程图;2C is a flowchart of a method for adjusting a homepage interface according to another embodiment of the present disclosure;
图3是本公开一个实施例中提供的主页界面调整装置的结构方框图;3 is a block diagram showing the structure of a homepage interface adjusting apparatus provided in an embodiment of the present disclosure;
图4是本公开另一实施例中提供的主页界面调整装置的结构方框图;4 is a block diagram showing the structure of a homepage interface adjusting apparatus provided in another embodiment of the present disclosure;
图5是本公开又一实施例中提供的主页界面调整装置的结构方框图;FIG. 5 is a structural block diagram of a homepage interface adjusting apparatus provided in still another embodiment of the present disclosure;
图6是本公开部分实施例中提供的终端的结构方框图。6 is a block diagram showing the structure of a terminal provided in some embodiments of the present disclosure.
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。The embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
为了帮助对本申请进行理解,以下参照图1所示的主页界面对象解除挂接到再挂接的过程的示意图,对在一种特殊的场景中,主页界面对象解除挂接到再挂接的过程进行说明。In order to help understand the present application, the following is a schematic diagram of the process of unmounting the re-attachment with reference to the homepage interface object shown in FIG. 1. In a special scenario, the homepage interface object is unattached to the re-attachment process. Be explained.
参照图1所示,当主页界面悬浮显示在应用程序界面的上层(图1所示的状态A)时,若该应用程序界面对应的应用程序停止运行或者被卸载,该应用程序界面则会被强制关闭(图1所示的状态B),智能电视会默认将被该应用程序界面覆盖的载体界面移至前台显示,并将主页界面对象从悬浮窗口中解除挂接,将该主页界面对象挂接到载体界面上(图1所示的状态C)。在主页界面对象解除挂接到再挂接的过程中,主页界面会消失再显示,由于智能电视的载体界面默认显示为灰色,因此在主页界面从消失到显示的间隙中,智能电视的画面会呈现灰色,导致挂接过程在视觉上会出现界面闪烁的现象,影响智能电视的界面视觉效果。Referring to FIG. 1, when the homepage interface is displayed on the upper layer of the application interface (state A shown in FIG. 1), if the application corresponding to the application interface stops running or is uninstalled, the application interface is Forced to close (state B shown in Figure 1), Smart TV will move the carrier interface covered by the application interface to the foreground display by default, and unmount the home interface object from the floating window, and hang the home interface object. Connected to the carrier interface (state C shown in Figure 1). In the process of unmounting and re-attaching the homepage interface object, the homepage interface will disappear and display again. Since the carrier interface of the smart TV is grayed out by default, the screen of the smart TV will disappear from the disappearance of the homepage interface to the gap of the display. The gray color is displayed, which causes the interface to flicker visually during the hooking process, which affects the visual effect of the interface of the smart TV.
目前,智能电视普遍使用Android操作系统,Android操作系统不仅可以显示系统组件Activity,还可以显示对话框(英文:Dialog)、状态栏、音量条、锁屏界面、鼠标光标、屏幕保护、弹出式消息框Toast以及各种窗口。Android操作系统为窗口设置了多个窗口层级,高层级的窗口会显示在低层级的窗口的上层。常用的窗口层级从低至高依次为:TYPE_APPLICATION,TYPE_PHONE,TYPE_SYSTEM_DIALOG,TYPE_TOAST,YPE_DREAM,TYPE_SYSTEM_ALERT,TYPE_STATUS_BAR,TYPE_STATUS_BAR_PANEL,TYPE_VOLUME_OVERLAY,TYPE_SYSTEM_OVERLAY,TYPE_SYSTEM_ERROR,TYPE_POINTER等等。At present, smart TV generally uses Android operating system, Android operating system can not only display system component Activity, but also display dialog box (English: Dialog), status bar, volume bar, lock screen interface, mouse cursor, screen saver, pop-up message Box Toast and various windows. The Android operating system sets multiple window levels for the window, and the high-level window is displayed on the upper level of the lower level window. Commonly used window levels from low to high are: TYPE_APPLICATION, TYPE_PHONE, TYPE_SYSTEM_DIALOG, TYPE_TOAST, YPE_DREAM, TYPE_SYSTEM_ALERT, TYPE_STATUS_BAR, TYPE_STATUS_BAR_PANEL, TYPE_VOLUME_OVERLAY, TYPE_SYSTEM_OVERLAY, TYPE_SYSTEM_ERROR, TYPE_POINTER and so on.
请参考图2A,其示出了本公开一个实施例提供的智能电视的主页界面调整方法的方法流程图。该智能电视的主页界面调整方法可以包括如下步骤:Please refer to FIG. 2A , which is a flowchart of a method for adjusting a home page interface of a smart TV according to an embodiment of the present disclosure. The homepage interface adjustment method of the smart TV may include the following steps:
步骤101,当应用程序界面的上层显示有主页界面时,若应用程序界面被强制关闭,则对智能电视显示的可见界面进行全屏截图,得到截图图像。Step 101: When the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, a full screen shot is taken on the visible interface displayed by the smart TV to obtain a screenshot image.
当某个应用程序界面运行时,若智能电视打开主页界面,该主页界面的主页界面对象则会被挂接到悬浮窗口中显示,由于高层级的窗口会显示在低层级的窗口的上层,因此,当智能电视利用Application Window Manager将主页界面对象挂接到窗口层级高于应用程序界面所在窗口的悬浮窗口中后,主页界面将悬浮显示在应用程序界面的上层。When an application interface is running, if the smart TV opens the homepage interface, the homepage interface object of the homepage interface is hooked up to the floating window, since the high-level window is displayed on the upper layer of the lower-level window, When the smart TV uses the Application Window Manager to attach the home page interface object to the floating window of the window where the window level is higher than the application interface, the home page interface is suspended in the upper layer of the application interface.
可选的,悬浮窗口的窗口层级为TYPE_STATUS_BAR,应用程序界面所在窗口的窗口层级为TYPE_APPLICATION。Optionally, the window level of the floating window is TYPE_STATUS_BAR, and the window level of the window where the application interface is located is TYPE_APPLICATION.
当应用程序界面的上层显示有主页界面时,若该应用程序界面对应的应用程序停止运行或者被卸载,该应用程序界面则会被强制关闭,此时智能电视会对当前显示的可见界面进行全屏截图,得到截图图像,该截图图像为位图文件(英文:Bitmap)点阵图像数据,该可见界面不仅包含主页界面,还可能包含主页界面上层所显示的音量条界面、通知提示界面等系统界面。When the upper layer of the application interface displays a homepage interface, if the application corresponding to the application interface stops running or is uninstalled, the application interface is forcibly closed, and the smart TV performs a full screen on the currently displayed visible interface. Screenshot, get the screenshot image, the screenshot image is a bitmap file (English: Bitmap) dot matrix image data, the visible interface not only contains the home page interface, but also may include the volume bar interface displayed on the upper layer of the home page interface, the notification prompt interface and other system interfaces .
步骤102,生成遮挡窗口,在遮挡窗口中显示截图图像,该遮挡窗口的窗口层级高于主页界面的主页界面对象所在的悬浮窗口的窗口层级。Step 102: Generate an occlusion window, and display a screenshot image in the occlusion window, the window level of the occlusion window being higher than the window level of the floating window where the home page interface object of the home page interface is located.
主页界面由主页界面对象和载体界面构成,该主页界面为人机交互界面。The homepage interface is composed of a homepage interface object and a carrier interface, which is a human-computer interaction interface.
可选的,该遮挡窗口的窗口层级为TYPE_SYSTEM_ERROR。Optionally, the occlusion window has a window level of TYPE_SYSTEM_ERROR.
智能电视生成遮挡窗口后,向该遮挡窗口添加全屏幕大小的界面对象(比如Image View控件),来填充该截图图像,该界面对象为Android组件中的view组件。After the smart TV generates the occlusion window, a full-screen interface object (such as an Image View control) is added to the occlusion window to fill the screenshot image, and the interface object is a view component in the Android component.
由于该遮挡窗口的窗口层级高于主页界面的主页界面对象所在的悬浮窗口的窗口层级,因此遮挡窗口会显示在悬浮窗口的上层。Since the window level of the occlusion window is higher than the window level of the floating window where the home page interface object of the home page interface is located, the occlusion window is displayed on the upper layer of the floating window.
步骤103,将主页界面对象从悬浮窗口中解除挂接,并将该主页界面对象挂接到载体界面上。Step 103: Unmount the home page interface object from the floating window, and attach the home page interface object to the carrier interface.
本实施例中,该载体界面为Android组件中的Activity组件。In this embodiment, the carrier interface is an Activity component in the Android component.
本实施例中,智能电视将主页界面对象挂接到载体界面的操作即为智能电视获取载体界面的Activity实例中的Window Manager对象,通过该Window Manager对象的addView()方法将主页界面的主页view添加到载体界面的Activity Window上。由于Window Manager对象可管理该 Activity实例的Window,因此智能电视的控制单元通过addView()方法可将主页界面对象直接挂接在该Activity实例的Window进行显示。In this embodiment, the operation of the smart TV to attach the homepage interface object to the carrier interface is the Window Manager object in the Activity instance of the smart TV acquiring the carrier interface, and the home page view of the homepage interface is obtained by the addView() method of the Window Manager object. Add to the Activity Window of the carrier interface. Since the Window Manager object can manage the Window of the Activity instance, the control unit of the smart TV can directly attach the home page interface object to the Window of the Activity instance through the addView() method.
当遮挡窗口显示在悬浮窗口的上层时,遮挡窗口中显示的截图图像完全覆盖悬浮窗口中显示的主页界面对象,当智能电视将主页界面对象挂接到载体界面上时,截图图像会对智能电视将主页界面对象挂接到载体界面上的过程进行遮挡,避免用户看见主页界面从消失到显示的过程,在视觉上有效避免出现界面闪烁的现象。When the occlusion window is displayed on the upper layer of the floating window, the screenshot image displayed in the occlusion window completely covers the home interface object displayed in the floating window. When the smart TV hooks the home interface object to the carrier interface, the screenshot image will be on the smart TV. The process of attaching the homepage interface object to the carrier interface is occluded, so as to prevent the user from seeing the process of disappearing from the homepage interface to the display, and visually avoiding the phenomenon of interface flicker.
请参见图2B,图2B是本公开一个实施例提供的遮挡窗口生成到关闭的过程的示意图,当应用程序界面被强制关闭(图2B所示的状态1)后,智能电视先对智能电视显示的可见界面进行全屏截图,得到截图图像,再生成遮挡窗口,在遮挡窗口中显示截图图像(图2B所示的状态2),最后将主页界面对象从悬浮窗口中解除挂接,并将该主页界面对象挂接到载体界面上(图2C所示的状态3)。Referring to FIG. 2B, FIG. 2B is a schematic diagram of a process of generating an occlusion window to being closed according to an embodiment of the present disclosure. When the application interface is forcibly closed (state 1 shown in FIG. 2B), the smart television first displays the smart television. The visible interface is full-screen screenshot, the screenshot image is obtained, the occlusion window is generated, the screenshot image is displayed in the occlusion window (state 2 shown in FIG. 2B), and the home interface object is unmounted from the floating window, and the homepage is removed. The interface object is attached to the carrier interface (state 3 shown in Figure 2C).
步骤104,关闭遮挡窗口。In
由于截图图像是根据智能电视对当前显示的可见界面进行全屏截图得到的,智能电视将主页界面对象从悬浮窗口中解除挂接,再将主页界面对象挂接到载体界面上的时长通常为几百毫秒,几百毫秒对于用户来讲较为短暂,因此智能电视成功将主页界面挂接到载体界面上后,关闭遮挡窗口并不会被用户发现异常。Since the screenshot image is obtained according to the full screen screenshot of the currently displayed visible interface of the smart TV, the smart TV unmounts the home interface object from the floating window, and then the main interface object is attached to the carrier interface for a period of several hundred. Milliseconds, hundreds of milliseconds is relatively short for the user, so after the smart TV successfully hooks the home page interface to the carrier interface, closing the occlusion window will not be detected by the user.
综上所述,本公开实施例提供的智能电视的主页界面调整方法,通过当应用程序界面的上层显示有主页界面时,若该应用程序界面被强制关闭,则对所述智能电视显示的可见界面进行全屏截图,再生成遮挡窗口,在遮挡窗口中显示全屏截图后得到的截图图像,当主页界面对象挂接到载体界面上后,关闭该遮挡窗口,由于遮挡窗口的窗口层级高于悬浮窗口的窗口层级,在智能电视将主页界面对象挂接到载体界面上之前,遮挡窗口会覆盖显示在悬浮窗口之上,对智能电视将主页界面对象挂接到载体界面上的过程进行遮挡;因此解决了在主页界面从消失到显示的间隙中,智能电视的画面会呈现灰色,导致挂接过程在视觉上会出现界面闪烁的现象,影响智能电视的界面视觉效果的问题;达到了避免挂接主页界面对象的过程中,在视觉上出现界面闪烁的现象,提高智能电视的界面视觉效果。In summary, the method for adjusting the homepage interface of the smart TV provided by the embodiment of the present disclosure is: when the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, the display of the smart television is visible. The interface performs a full-screen screenshot, and then generates an occlusion window, and displays a screenshot image obtained after the full-screen screenshot is displayed in the occlusion window. When the home interface object is attached to the carrier interface, the occlusion window is closed, because the occlusion window has a higher level than the floating window. Window level, before the smart TV hooks the home page interface object to the carrier interface, the occlusion window will overwrite the display on the floating window, and occlude the process of the smart TV connecting the home page interface object to the carrier interface; In the gap between the disappearance and the display of the homepage interface, the screen of the smart TV will be grayed out, which will cause the interface to flicker visually during the hooking process, affecting the visual effect of the interface of the smart TV; In the process of interface objects, the phenomenon of interface flicker appears visually Improve the visual effect of the smart TV interface.
在一种实现的方式中,当主页界面的主页界面对象所在的悬浮窗口的上层显示有其它窗口且其它窗口中显示的界面对象完全覆盖该主页界面时,由于用户看到的是其它窗口中显示的界面对象,因此智能电视对主页界面进行窗口层级的调整时,用户可能不会察觉到主页界面对象挂接到载体界面的过程中视觉上出现的界面闪烁的现象,所以,当主页界面对象所在的悬浮窗口的上层显示有其它窗口,且其它窗口中显示的界面对象完全覆盖悬浮显示的主页界面时,智能电视可以不对主页界面对象挂接到载体界面上的过程进行遮挡。In an implementation manner, when the upper layer of the floating window where the homepage interface object of the homepage interface is located displays other windows, and the interface object displayed in the other window completely covers the homepage interface, the user sees the display in other windows. The interface object, therefore, when the smart TV adjusts the window level of the homepage interface, the user may not perceive the phenomenon that the interface of the homepage interface object is visually blinking during the process of hooking to the carrier interface, so when the homepage interface object is located When the upper layer of the floating window displays other windows, and the interface object displayed in other windows completely covers the home page interface of the floating display, the smart TV may not occlude the process of attaching the home interface object to the carrier interface.
请参考图2B,其示出了本公开另一个实施例提供的主页界面调整方法的方法流程图。该主页界面调整方法应用于智能电视中,可以包括如下步骤:Please refer to FIG. 2B , which is a flowchart of a method for adjusting a home page interface provided by another embodiment of the present disclosure. The homepage interface adjustment method is applied to a smart TV, and may include the following steps:
步骤201,当应用程序界面的上层显示有主页界面时,若该应用程序界面被强制关闭,则判断悬浮窗口的上层是否显示有其它窗口。Step 201: When the upper layer of the application interface displays the homepage interface, if the application interface is forcibly closed, it is determined whether the upper layer of the floating window displays other windows.
本实施里中,其它窗口中的界面对象完全覆盖悬浮显示的主页界面。In this implementation, the interface objects in other windows completely cover the home page interface of the floating display.
在实际应用中,其它窗口中的界面对象可以为主页界面中的信号源列表界面、主题选择界面、最近使用任务列表界面等等。In practical applications, the interface objects in other windows may be a source list interface, a theme selection interface, a recently used task list interface, and the like in the homepage interface.
可选的,本实施例中载体界面至少包括两个状态标志位,第一状态标志位用于表示该载体界面是否可见,比如当载体界面的第一状态标志位的取值为第一数值时,表示该载体界面可见,当载体界面的第一标识位的取值为第二数值时,表示该载体界面不可见;第二状态标志位用于表示该载体界面是否被覆盖,比如当载体界面的第二状态标志位的取值为第三数值时,表明该载体界面被覆盖,当载体界面的第二状态标志位的取值为第四数值时,表明该载体界面未被覆盖。Optionally, in this embodiment, the carrier interface includes at least two status flag bits, where the first status flag is used to indicate whether the carrier interface is visible, for example, when the value of the first status flag of the carrier interface is the first value. , indicating that the carrier interface is visible, when the value of the first identifier of the carrier interface is a second value, indicating that the carrier interface is invisible; the second state flag is used to indicate whether the carrier interface is covered, such as when the carrier interface When the value of the second status flag is the third value, it indicates that the carrier interface is covered. When the value of the second status flag of the carrier interface is the fourth value, it indicates that the carrier interface is not covered.
由于本实施例中主页界面对象仅可能挂接到悬浮窗口中或者载体界面上,因此两个状态标志位除了可以反映载体界面的状态,也可以反向反应主页界面对象在悬浮窗口中的状态。由于,当智能电视将主页界面对象挂接到载体界面上时,会先将所要显示的载体界面的第一状态标志位的取值置为第一数值,将该载体界面的第二状态标志位的取值置为第四数值,并在利用已经注册的Activity实例中的Window Manager对象的addView()方法将主页界面对象挂接到载体界面后,将该主页界面对象的可见性设置 为可见(View.VISIBLE),因此,当载体界面的第一状态标志位的取值为第二数值,且该载体界面的第二状态标志位的取值为第三数值时,说明载体界面被覆盖且不可见,也就是说,此时该主页界面对象挂接在悬浮窗口中且该主页界面对象可见。Since the homepage interface object in this embodiment can only be hooked into the floating window or the carrier interface, the two status flag bits can reflect the state of the carrier interface in the floating window in addition to the state of the carrier interface. Therefore, when the smart TV hooks the homepage interface object to the carrier interface, the value of the first state flag bit of the carrier interface to be displayed is first set to a first value, and the second state flag of the carrier interface is set. The value is set to the fourth value, and after the home interface object is hooked to the carrier interface by using the addView() method of the Window Manager object in the registered Activity instance, the visibility of the home interface object is set to be visible ( View.VISIBLE), therefore, when the value of the first status flag of the carrier interface is the second value, and the value of the second status flag of the carrier interface is the third value, it indicates that the carrier interface is covered and not Visible, that is, at this point the home page interface object is hooked in the floating window and the home page interface object is visible.
步骤202,当悬浮窗口的上层显示有其它窗口时,关闭悬浮窗口,将主页界面对象挂接到载体界面上。Step 202: When other windows are displayed on the upper layer of the floating window, the floating window is closed, and the home interface object is hooked onto the carrier interface.
当主页界面对象所在的悬浮窗口的上层显示有其它窗口时,由于用户看到的是其它窗口中显示的界面对象,因此智能电视对主页界面进行窗口层级的调整时,用户可能不会察觉到主页界面对象挂接到载体界面的过程中视觉上出现的界面闪烁的现象,智能电视可以不对主页界面对象挂接到载体界面上的过程进行遮挡,直接关闭悬浮窗口,将主页界面对象挂接到载体界面上。When the upper layer of the floating window where the homepage interface object is located has other windows displayed, since the user sees the interface object displayed in other windows, when the smart TV adjusts the window level of the homepage interface, the user may not notice the homepage. The visually appearing interface flickering phenomenon occurs when the interface object is hooked up to the carrier interface. The smart TV may not occlude the process of attaching the homepage interface object to the carrier interface, directly close the floating window, and attach the homepage interface object to the carrier. On the interface.
步骤203,当悬浮窗口的上层未显示有其它窗口时,在窗口列表中查询主页界面对象的状态。Step 203: When no other window is displayed on the upper layer of the floating window, the state of the home page interface object is queried in the window list.
本实施例中,该窗口列表中记录有各个窗口所挂接的界面对象的状态,比如界面对象所在窗口的名称、界面对象所在的窗口的窗口层级、界面对象所在的窗口是否显示在同层级的其它窗口之上、界面对象的可见性、界面对象是否处于用户编辑状态或者动态变化状态等。In this embodiment, the window list records the state of the interface object attached to each window, such as the name of the window where the interface object is located, the window level of the window where the interface object is located, and whether the window where the interface object is located is displayed at the same level. Above other windows, the visibility of the interface object, whether the interface object is in the user edit state or dynamically changed state.
由于该操作系统中一般只有主页界面对象(或者同类用途的System UI应用等)会显示在悬浮窗口中,悬浮窗口的显示通常由智能电视的控制单元进行控制,因此该控制单元可以查到主页界面对象所在的悬浮窗口是否显示在同层级的其它窗口之上。而对于个别不受该控制单元控制的悬浮窗口,该控制单元可以向操作系统的窗口显示管理框架(Android系统中为Window Manager Service)查询窗口列表,通过窗口列表可判定主页界面对象所在的悬浮窗口是否显示在同层级的其它窗口之上。Since only the home page interface object (or the similar system UI application, etc.) is displayed in the floating window in the operating system, the display of the floating window is usually controlled by the control unit of the smart TV, so the control unit can find the home page interface. Whether the floating window where the object is located is displayed on other windows in the same level. For a floating window that is not controlled by the control unit, the control unit may query the operating window of the operating system (the Window Manager Service in the Android system) to query the window list, and the window list may determine the floating window where the home interface object is located. Whether it is displayed on other windows in the same level.
步骤204,当主页界面对象处于用户编辑状态或者动态变化状态时,监听主页界面对象的状态变化情况。Step 204: Monitor the state change of the homepage interface object when the homepage interface object is in the user edit state or the dynamic change state.
该主页界面对象处于用户编辑状态具体可为该主页界面上某个菜单项名称正在被用户编辑、该主页界面正处于位置调整状态等等。The homepage interface object is in a user editing state, and specifically, a menu item name on the homepage interface is being edited by the user, the homepage interface is in a position adjustment state, and the like.
该主页界面对象处于动态变化状态具体可为该主页界面上的界面控 件的尺寸或位置发生动态变化。The home page interface object is dynamically changing, and the size or position of the interface control on the home page interface may be dynamically changed.
当主页界面的主页界面对象处于用户编辑状态或者动态变化状态时,该主页界面对象为动态,而智能电视对所显示的可见界面进行全屏截图,得到的截图图像为静态,若此时智能电视将截图图像显示在遮挡窗口中,在视觉上主页界面对象则会突然停止变化,由于主页界面对象为动态,若截图图像中可见界面的位置与主页界面对象挂载到载体界面后的可见界面的位置不对应,用户则会发现异常。因此,当主页界面对象处于用户编辑状态或者动态变化状态时,智能电视的控制单元会向主页界面对象添加变化监听器,用于监听主页界面对象的状态变化情况,并在监听到主页界面对象仍处于用户编辑状态或者动态变化状态时,继续监听主页界面对象的状态变化情况,不执行后续操作。When the homepage interface object of the homepage interface is in the user edit state or dynamically changed state, the homepage interface object is dynamic, and the smart TV performs a full screen screenshot on the displayed visible interface, and the obtained screenshot image is static, if the smart TV will The screenshot image is displayed in the occlusion window. In the visual, the homepage interface object will suddenly stop changing. Because the homepage interface object is dynamic, if the location of the visible interface in the screenshot image and the position of the visible interface after the homepage interface object is mounted to the carrier interface If it does not correspond, the user will find an exception. Therefore, when the homepage interface object is in the user edit state or the dynamic change state, the control unit of the smart TV adds a change listener to the homepage interface object, which is used to monitor the state change of the homepage interface object, and is still listening to the homepage interface object. When the user is in the edit state or the dynamic change state, continue to monitor the state change of the home page interface object, and do not perform subsequent operations.
步骤205,当监听到主页界面对象不处于用户编辑状态,且不处于动态变化状态时,停止监听主页界面对象的状态。Step 205: Stop listening to the state of the home page interface object when the home page interface object is not in the user editing state and is not in the dynamic change state.
当变化监听器监听到主页界面对象不处于用户编辑状态,且不处于动态变化状态时,控制单元会回调监听器,停止监听主页界面对象的状态。When the change listener monitors that the home page interface object is not in the user edit state and is not in the dynamic change state, the control unit will call back the listener and stop monitoring the state of the home page interface object.
步骤206,对智能电视显示的可见界面进行全屏截图,得到截图图像。Step 206: Perform a full-screen screenshot on the visible interface displayed on the smart TV to obtain a screenshot image.
步骤207,生成遮挡窗口,在遮挡窗口中显示截图图像。In
在本实施例中,该遮挡窗口的窗口层级高于主页界面的主页界面对象所在的悬浮窗口的窗口层级。In this embodiment, the window level of the occlusion window is higher than the window level of the floating window where the home page interface object of the home page interface is located.
步骤208,将主页界面对象从悬浮窗口中解除挂接,并将该主页界面对象挂接到载体界面上。Step 208: Unmount the home page interface object from the floating window, and attach the home page interface object to the carrier interface.
步骤209,关闭遮挡窗口。In
可选的,当智能电视生成遮挡窗口后达到预定时长时,关闭该遮挡窗口。Optionally, when the smart TV generates the occlusion window and reaches a predetermined length of time, the occlusion window is closed.
需要说明的是,由于步骤206至步骤209与步骤101至步骤104相似,因此本实施例不再对步骤206至步骤209赘述说明。It should be noted that, since
综上所述,本公开实施例提供的智能电视的主页界面调整方法,通过当应用程序界面的上层显示有主页界面时,若该应用程序界面被强制关闭,则对所述智能电视显示的可见界面进行全屏截图,再生成遮挡窗口,在遮挡窗口中显示全屏截图后得到的截图图像,当主页界面对象挂接到载 体界面上后,关闭该遮挡窗口,由于遮挡窗口的窗口层级高于悬浮窗口的窗口层级,在智能电视将主页界面对象挂接到载体界面上之前,遮挡窗口会覆盖显示在悬浮窗口之上,对智能电视将主页界面对象挂接到载体界面上的过程进行遮挡;因此解决了在主页界面从消失到显示的间隙中,智能电视的画面会呈现灰色,导致挂接过程在视觉上会出现界面闪烁的现象,影响智能电视的界面视觉效果的问题;达到了避免挂接主页界面对象的过程中,在视觉上出现界面闪烁的现象,提高智能电视的界面视觉效果。In summary, the method for adjusting the homepage interface of the smart TV provided by the embodiment of the present disclosure is: when the upper layer of the application interface displays a homepage interface, if the application interface is forcibly closed, the display of the smart television is visible. The interface performs a full-screen screenshot, and then generates an occlusion window, and displays a screenshot image obtained after the full-screen screenshot is displayed in the occlusion window. When the home interface object is attached to the carrier interface, the occlusion window is closed, because the occlusion window has a higher level than the floating window. Window level, before the smart TV hooks the home page interface object to the carrier interface, the occlusion window will overwrite the display on the floating window, and occlude the process of the smart TV connecting the home page interface object to the carrier interface; In the gap between the disappearance and the display of the homepage interface, the screen of the smart TV will be grayed out, which will cause the interface to flicker visually during the hooking process, affecting the visual effect of the interface of the smart TV; In the process of interface objects, the phenomenon of interface flicker appears visually Improve the visual effect of the interface of smart TV.
本实施例中,当主页界面对象所在的悬浮窗口的上层显示有其它窗口且其它窗口中显示的界面对象完全覆盖该主页界面时,智能电视可以不对主页界面对象挂接到载体界面上的过程进行遮挡。In this embodiment, when the upper layer of the floating window where the homepage interface object is located displays other windows and the interface objects displayed in other windows completely cover the homepage interface, the smart television may not perform the process of attaching the homepage interface object to the carrier interface. Occlusion.
下述为本公开装置实施例,对于装置实施例中未详尽描述的细节,可以参考上述一一对应的方法实施例。The following is a device embodiment of the present disclosure. For details not specifically described in the device embodiment, reference may be made to the one-to-one corresponding method embodiment.
请参考图3,图3是本公开一个实施例中提供的智能电视的主页界面调整装置的结构方框图。该智能电视的主页界面调整装置包括:第一截图器301、显示器302、挂接器303和关闭器304。Please refer to FIG. 3. FIG. 3 is a structural block diagram of a homepage interface adjusting apparatus of a smart television according to an embodiment of the present disclosure. The home screen adjustment device of the smart TV includes a
第一截图器301,配置为当应用程序界面的上层显示有主页界面时,若应用程序界面被强制关闭,则对智能电视的可见界面进行全屏截图,得到截图图像;The
显示器302,配置为生成遮挡窗口,在遮挡窗口中显示截图图像,遮挡窗口的窗口层级高于主页界面的主页界面对象所在的悬浮窗口的窗口层级;The
挂接器303,配置为将主页界面对象从悬浮窗口中解除挂接,并将主页界面对象挂接到载体界面上;The
关闭器304,配置为关闭遮挡窗口。A closer 304 is configured to close the occlusion window.
参照图4所示,在一种可能的实现方式中,该装置还包括:Referring to FIG. 4, in a possible implementation, the device further includes:
查询器305,配置为在则对智能电视的可见界面进行全屏截图之前,在窗口列表中查询主页界面对象的状态,窗口列表中记录有各个窗口所挂接的界面对象的状态;The
监听器306,配置为当主页界面对象处于用户编辑状态或者动态变化 状态时,监听主页界面对象的状态变化情况;The
第二截图器307,配置为当监听到主页界面对象不处于用户编辑状态,且不处于动态变化状态时,停止监听主页界面对象的状态,对智能电视的可见界面进行全屏截图。The
在一种可能的实现方式中,该关闭器304,还配置为:In a possible implementation manner, the
在遮挡窗口生成后达到预定时长,关闭遮挡窗口。The occlusion window is closed after the occlusion window is generated and the predetermined length of time is reached.
参照图5所示,在一种可能的实现方式中,该装置还包括:Referring to FIG. 5, in a possible implementation manner, the apparatus further includes:
判断器308,配置为若应用程序界面被强制关闭,则判断悬浮窗口的上层是否显示有其它窗口;The
挂接器303,还配置为当悬浮窗口的上层显示有其它窗口时,关闭悬浮窗口,将主页界面对象挂接到载体界面上;The
第三截图器309,配置为当悬浮窗口的上层未显示有其它窗口时,对智能电视的可见界面进行全屏截图。The
综上所述,本公开实施例提供的智能电视的主页界面调整装置,通过当应用程序界面的上层显示有主页界面时,若该应用程序界面被强制关闭,则对所述智能电视显示的可见界面进行全屏截图,再生成遮挡窗口,在遮挡窗口中显示全屏截图后得到的截图图像,当主页界面对象挂接到载体界面上后,关闭该遮挡窗口,由于遮挡窗口的窗口层级高于悬浮窗口的窗口层级,在智能电视将主页界面对象挂接到载体界面上之前,遮挡窗口会覆盖显示在悬浮窗口之上,对智能电视将主页界面对象挂接到载体界面上的过程进行遮挡;因此解决了在主页界面从消失到显示的间隙中,智能电视的画面会呈现灰色,导致挂接过程在视觉上会出现界面闪烁的现象,影响智能电视的界面视觉效果的问题;达到了避免挂接主页界面对象的过程中,在视觉上出现界面闪烁的现象,提高智能电视的界面视觉效果。In summary, the homepage interface adjusting apparatus of the smart television provided by the embodiment of the present disclosure can display the smart television display if the application interface is forcibly closed when the upper layer of the application interface displays the homepage interface. The interface performs a full-screen screenshot, and then generates an occlusion window, and displays a screenshot image obtained after the full-screen screenshot is displayed in the occlusion window. When the home interface object is attached to the carrier interface, the occlusion window is closed, because the occlusion window has a higher level than the floating window. Window level, before the smart TV hooks the home page interface object to the carrier interface, the occlusion window will overwrite the display on the floating window, and occlude the process of the smart TV connecting the home page interface object to the carrier interface; In the gap between the disappearance and the display of the homepage interface, the screen of the smart TV will be grayed out, which will cause the interface to flicker visually during the hooking process, affecting the visual effect of the interface of the smart TV; In the process of interface objects, the phenomenon of interface flicker appears visually Improve the visual effect of the smart TV interface.
本实施例中,当主页界面对象所在的悬浮窗口的上层显示有其它窗口且其它窗口中显示的界面对象完全覆盖该主页界面时,智能电视可以不对主页界面对象挂接到载体界面上的过程进行遮挡。In this embodiment, when the upper layer of the floating window where the homepage interface object is located displays other windows and the interface objects displayed in other windows completely cover the homepage interface, the smart television may not perform the process of attaching the homepage interface object to the carrier interface. Occlusion.
需要说明的是:上述实施例中提供的智能电视的主页界面调整装置在显示主页界面时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将终端的内部 结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的主页界面调整装置与主页界面调整方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when displaying the homepage interface, the homepage interface adjusting apparatus of the smart TV provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the functions may be assigned differently according to needs. The function module is completed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the homepage interface adjustment apparatus and the homepage interface adjustment method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
请参见图6所示,其示出了本公开部分实施例中提供的终端的结构方框图。该终端400用于实施上述实施例提供的主页界面调整方法。本公开中的终端400可以包括一个或多个如下组成部分:用于执行计算机程序指令以完成各种流程和方法的处理器,用于数据和存储程序指令随机接入存储器(RAM)和只读存储器(ROM),用于存储数据和数据的存储器,I/O设备,界面,天线等。具体来讲:Referring to FIG. 6, there is shown a block diagram showing the structure of a terminal provided in some embodiments of the present disclosure. The terminal 400 is configured to implement the homepage interface adjustment method provided by the foregoing embodiment.
终端400可以包括RF(Radio Frequency,射频)电路410、存储器420、输入单元430、显示单元440、传感器450、音频电路460、WiFi(wireless fidelity,无线保真)模块470、处理器480、电源482、摄像头490等部件。本领域技术人员可以理解,图6中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The terminal 400 may include an RF (Radio Frequency)
下面结合图6对终端400的各个构成部件进行具体的介绍:The specific components of the terminal 400 will be specifically described below with reference to FIG. 6:
RF电路410可用于收发数据或通话过程中,信号的接收和发送,特别地,将基站的下行数据接收后,给处理器480处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路410还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The
存储器420可用于存储软件程序以及模块,处理器480通过运行存储在存储器420的软件程序以及模块,从而执行终端400的各种功能应用以及数据处理。存储器420可主要包括存储程序区和存储数据区,其中,存 储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端400的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
输入单元430可用于接收输入的数字或字符数据,以及产生与终端400的用户设置以及功能控制有关的键信号输入。具体地,输入单元430可包括触控面板431以及其他输入设备432。触控面板431,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板431上或在触控面板431附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,触控面板431可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸数据,并将它转换成触点坐标,再送给处理器480,并能接收处理器480发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板431。除了触控面板431,输入单元430还可以包括其他输入设备432。具体地,其他输入设备432可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The
显示单元440可用于显示由用户输入的数据或提供给用户的数据以及终端400的各种菜单。显示单元440可包括显示面板441,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板441。进一步的,触控面板431可覆盖显示面板441,当触控面板431检测到在其上或附近的触摸操作后,传送给处理器480以确定触摸事件的类型,随后处理器480根据触摸事件的类型在显示面板441上提供相应的视觉输出。虽然在图6中,触控面板431与显示面板441是作为两个独立的部件来实现终端400的输入和输入功能,但是在某些实施例中,可以将触控面板431与显示面板441集成而实现终端400的输入和输出功能。The
终端400还可包括至少一种传感器450,比如陀螺仪传感器、磁感应 传感器、光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板441的亮度,接近传感器可在终端400移动到耳边时,关闭显示面板441和/或背光。作为运动传感器的一种,加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端400还可配置的气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路460、扬声器461,传声器462可提供用户与终端400之间的音频接口。音频电路460可将接收到的音频数据转换后的电信号,传输到扬声器461,由扬声器461转换为声音信号输出;另一方面,传声器462将收集的声音信号转换为电信号,由音频电路460接收后转换为音频数据,再将音频数据输出处理器480处理后,经RF电路410以发送给比如另一终端,或者将音频数据输出至存储器420以便进一步处理。The
WiFi属于短距离无线传输技术,终端400通过WiFi模块470可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块470,但是可以理解的是,其并不属于终端400的必须构成,完全可以根据需要在不改变公开的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the terminal 400 can help users to send and receive emails, browse web pages, and access streaming media through the
处理器480是终端400的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器420内的软件程序和/或模块,以及调用存储在存储器420内的数据,执行终端400的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器480可包括一个或多个处理单元;优选的,处理器480可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器480中。
终端400还包括给各个部件供电的电源482(比如电池),优选的,电源可以通过电源管理系统与处理器482逻辑相连,从而通过电源管理系 统实现管理充电、放电、以及功耗管理等功能。The terminal 400 also includes a power source 482 (e.g., a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the
摄像头490一般由镜头、图像传感器、接口、数字信号处理器、CPU、显示屏幕等组成。其中,镜头固定在图像传感器的上方,可以通过手动调节镜头来改变聚焦;图像传感器相当于传统相机的“胶卷”,是摄像头采集图像的心脏;接口用于把摄像头利用排线、板对板连接器、弹簧式连接方式与终端主板连接,将采集的图像发送给所述存储器420;数字信号处理器通过数学运算对采集的图像进行处理,将采集的模拟图像转换为数字图像并通过接口发送给存储器420。The
尽管未示出,终端400还可以包括蓝牙模块等,在此不再赘述。Although not shown, the terminal 400 may further include a Bluetooth module or the like, and details are not described herein again.
终端400除了包括一个或者多个处理器480,还包括有存储器,以及一个或者多个程序,其中一个或者多个程序存储于存储器中,并被配置成由一个或者多个处理器执行,执行上述主页界面调整方法。The terminal 400 includes, in addition to the one or
需要说明的是,上述实施例提供的终端与主页界面调整装置实施例以及主页界面调整方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the embodiments of the terminal and the homepage interface adjustment device and the embodiment of the homepage interface adjustment method are provided in the same concept. For details, refer to the method embodiment, and details are not described herein again.
上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present disclosure are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述主页界面调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present application further provides a computer readable storage medium. The computer readable storage medium stores a computer program. When the computer program is executed by the processor, the processes of the homepage interface adjustment method embodiment are implemented, and the same can be achieved. Technical effects, to avoid repetition, will not be repeated here. The computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
其中,本申请实施例提供的计算机可读存储介质均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。The computer readable storage medium provided by the embodiments of the present application is used to perform the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above. I will not repeat them here.
以上所述仅为本公开的较佳实施例,并不用以限制本公开,凡在本 公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above description is only the preferred embodiment of the present disclosure, and is not intended to limit the disclosure. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and principles of the present disclosure, should be included in the protection of the present disclosure. Within the scope.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710001730.7A CN106792101B (en) | 2017-01-03 | 2017-01-03 | Home interface method of adjustment, device and smart television |
| CN201710001730.7 | 2017-01-03 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018126971A1 true WO2018126971A1 (en) | 2018-07-12 |
Family
ID=58952180
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/119082 Ceased WO2018126971A1 (en) | 2017-01-03 | 2017-12-27 | Homepage interface adjustment method, apparatus and smart television |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106792101B (en) |
| WO (1) | WO2018126971A1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112073769A (en) * | 2019-06-10 | 2020-12-11 | 海信视像科技股份有限公司 | Display device and method for applying common display |
| CN112925833A (en) * | 2021-02-18 | 2021-06-08 | 国网山东省电力公司泰安供电公司 | Real-time online monitoring system for new energy automobile |
| CN113965791A (en) * | 2021-09-14 | 2022-01-21 | 海信视像科技股份有限公司 | Returning method of floating window and display device |
| EP4092520A4 (en) * | 2020-01-19 | 2023-06-28 | Hangzhou Hikvision Digital Technology Co., Ltd. | Overlaid window display processing method and apparatus, and electronic device |
| RU2808678C1 (en) * | 2020-01-19 | 2023-12-01 | Ханчжоу Хиквижн Диджитал Текнолоджи Ко., Лтд. | Method, equipment and electronic device for processing display window overlay |
Families Citing this family (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106792101B (en) * | 2017-01-03 | 2019-09-20 | 青岛海信电器股份有限公司 | Home interface method of adjustment, device and smart television |
| CN109117035B (en) * | 2017-06-26 | 2021-06-22 | 深圳回收宝科技有限公司 | Method for hiding floating icon, terminal recovery system and storage medium |
| CN109144622B (en) * | 2017-06-26 | 2021-08-10 | 深圳回收宝科技有限公司 | Interface display method, terminal and storage medium |
| CN107547811B (en) * | 2017-08-11 | 2019-10-18 | 中广热点云科技有限公司 | Realize the method and device that multiple video pictures are intercepted after signal converting is handled |
| CN108322806B (en) | 2017-12-20 | 2020-04-07 | 海信视像科技股份有限公司 | Smart television and display method of graphical user interface of television picture screenshot |
| CN110362304B (en) * | 2018-03-26 | 2024-02-02 | 北京京东尚科信息技术有限公司 | Webpage display method and device |
| CN109117137B (en) * | 2018-08-07 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Advertisement animation execution method, device, terminal and readable medium |
| CN109254820B (en) * | 2018-09-05 | 2022-04-19 | Oppo广东移动通信有限公司 | Window closing method, device, terminal and computer readable storage medium |
| US11039196B2 (en) | 2018-09-27 | 2021-06-15 | Hisense Visual Technology Co., Ltd. | Method and device for displaying a screen shot |
| CN109388461A (en) * | 2018-09-27 | 2019-02-26 | 青岛海信电器股份有限公司 | Display methods, device and the display terminal of object are identified in screen-picture screenshot |
| CN109359009B (en) * | 2018-10-12 | 2022-05-17 | Oppo广东移动通信有限公司 | Display control method, electronic device, and computer-readable storage medium |
| CN110806912B (en) * | 2019-10-30 | 2024-01-30 | Oppo广东移动通信有限公司 | Interface processing methods and related equipment |
| CN112675535B (en) * | 2020-12-24 | 2023-08-01 | 咪咕互动娱乐有限公司 | Display interface adjustment method, device, network equipment and storage medium |
| CN113014977B (en) * | 2021-02-07 | 2023-08-11 | Vidaa(荷兰)国际控股有限公司 | Display device and volume display method |
| CN112948002B (en) * | 2021-03-04 | 2023-03-28 | 浪潮云信息技术股份公司 | Method for carrying out configuration management on workflow submission page |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102932694A (en) * | 2012-11-09 | 2013-02-13 | 深圳创维-Rgb电子有限公司 | Method and device of intelligent network television interface display |
| CN103067787A (en) * | 2013-01-31 | 2013-04-24 | 深圳市酷开网络科技有限公司 | Interaction system and method for intelligent television |
| CN103533424A (en) * | 2013-05-22 | 2014-01-22 | Tcl集团股份有限公司 | Intelligent television window switching method, system and intelligent television |
| CN103618950A (en) * | 2013-11-11 | 2014-03-05 | 李达航 | Inter-cut method of content of smart television |
| US20150326575A1 (en) * | 2014-05-09 | 2015-11-12 | Lenovo (Singapore) Pte. Ltd. | Data transfer based on input device identifying information |
| CN106792101A (en) * | 2017-01-03 | 2017-05-31 | 青岛海信电器股份有限公司 | Home interface method of adjustment, device and intelligent television |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20160097393A (en) * | 2013-06-07 | 2016-08-18 | 삼성전자주식회사 | Method for invoking program and electronic device therof |
| CN104090720B (en) * | 2014-04-10 | 2019-05-07 | 中兴通讯股份有限公司 | A kind of method and device shown based on gesture operation adjustment terminal window |
| CN104038807B (en) * | 2014-06-13 | 2018-08-31 | Tcl集团股份有限公司 | A kind of figure layer mixed method and device based on OpenGL |
| CN104407804B (en) * | 2014-11-25 | 2018-09-04 | 广州酷狗计算机科技有限公司 | Screenshotss method, apparatus and electronic equipment |
| CN105808060B (en) * | 2016-03-07 | 2019-03-15 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of playing animation |
| CN105808074A (en) * | 2016-03-31 | 2016-07-27 | 浙江慧脑信息科技有限公司 | Method for controlling new establishment, switching and closing of pages |
| CN109561266A (en) * | 2016-07-26 | 2019-04-02 | 青岛海信电器股份有限公司 | The screenshotss method and TV of TV |
-
2017
- 2017-01-03 CN CN201710001730.7A patent/CN106792101B/en active Active
- 2017-12-27 WO PCT/CN2017/119082 patent/WO2018126971A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102932694A (en) * | 2012-11-09 | 2013-02-13 | 深圳创维-Rgb电子有限公司 | Method and device of intelligent network television interface display |
| CN103067787A (en) * | 2013-01-31 | 2013-04-24 | 深圳市酷开网络科技有限公司 | Interaction system and method for intelligent television |
| CN103533424A (en) * | 2013-05-22 | 2014-01-22 | Tcl集团股份有限公司 | Intelligent television window switching method, system and intelligent television |
| CN103618950A (en) * | 2013-11-11 | 2014-03-05 | 李达航 | Inter-cut method of content of smart television |
| US20150326575A1 (en) * | 2014-05-09 | 2015-11-12 | Lenovo (Singapore) Pte. Ltd. | Data transfer based on input device identifying information |
| CN106792101A (en) * | 2017-01-03 | 2017-05-31 | 青岛海信电器股份有限公司 | Home interface method of adjustment, device and intelligent television |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112073769A (en) * | 2019-06-10 | 2020-12-11 | 海信视像科技股份有限公司 | Display device and method for applying common display |
| EP4092520A4 (en) * | 2020-01-19 | 2023-06-28 | Hangzhou Hikvision Digital Technology Co., Ltd. | Overlaid window display processing method and apparatus, and electronic device |
| US11768588B2 (en) | 2020-01-19 | 2023-09-26 | Hangzhou Hikvision Digital Technology Co., Ltd. | Window overlay display processing method and apparatus, and electronic device |
| RU2808678C1 (en) * | 2020-01-19 | 2023-12-01 | Ханчжоу Хиквижн Диджитал Текнолоджи Ко., Лтд. | Method, equipment and electronic device for processing display window overlay |
| CN112925833A (en) * | 2021-02-18 | 2021-06-08 | 国网山东省电力公司泰安供电公司 | Real-time online monitoring system for new energy automobile |
| CN112925833B (en) * | 2021-02-18 | 2022-09-06 | 国网山东省电力公司泰安供电公司 | Real-time online monitoring system for new energy automobile |
| CN113965791A (en) * | 2021-09-14 | 2022-01-21 | 海信视像科技股份有限公司 | Returning method of floating window and display device |
| CN113965791B (en) * | 2021-09-14 | 2024-05-24 | 海信视像科技股份有限公司 | Floating window return method and display device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106792101B (en) | 2019-09-20 |
| CN106792101A (en) | 2017-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018126971A1 (en) | Homepage interface adjustment method, apparatus and smart television | |
| CN110752980B (en) | Message sending method and electronic equipment | |
| CN110673913B (en) | Notification message display method and mobile terminal | |
| CN106598529A (en) | Method and device for sub-screen display of mobile terminal, and mobile terminal | |
| US11165950B2 (en) | Method and apparatus for shooting video, and storage medium | |
| CN107193451B (en) | Information display method, apparatus, computer equipment, and computer-readable storage medium | |
| CN110989882A (en) | Control method, electronic device and computer readable storage medium | |
| CN109284041A (en) | Application interface switching method and mobile terminal | |
| CN109407948B (en) | Interface display method and mobile terminal | |
| CN109032445A (en) | A kind of control method for screen display and terminal device | |
| CN109871164A (en) | A kind of message method and terminal device | |
| CN109753350B (en) | Resource management method and terminal equipment | |
| CN110750187A (en) | Method for moving icon of application program and terminal device | |
| CN110647277A (en) | Control method and terminal equipment | |
| CN108763540A (en) | A kind of file browsing method and terminal | |
| CN111104380A (en) | Application file management method and device, mobile terminal and storage medium | |
| CN111158485B (en) | Screen control method and electronic equipment | |
| CN109558009A (en) | Video broadcasting method, mobile terminal and computer readable storage medium | |
| CN109271262A (en) | Display method and terminal | |
| CN109660657B (en) | Application control method and device | |
| CN107622234B (en) | Method and device for displaying budding face gift | |
| CN114415893A (en) | Image display method and device, electronic equipment and storage medium | |
| EP4160364A1 (en) | Method, device, and equipment for switching text language types, and storage medium | |
| CN114398113A (en) | Interface display method, intelligent terminal and storage medium | |
| EP3979099A1 (en) | Editing method and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17890328 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17890328 Country of ref document: EP Kind code of ref document: A1 |