Display device and focus-falling method

By recording the focus coordinates in the display device and using Bézier curves to implement focus switching animations, the problem of low efficiency in the display device configuration media asset page is solved, thus improving the user experience.

CN119421003BActive Publication Date: 2025-11-28JUHAOKAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410170570.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2025-11-28
Estimated Expiration
2044-02-06

AI Technical Summary

Technical Problem

Display devices are inefficient when configuring media asset pages, and the focus switching process lacks visual effects, resulting in a large workload and low processing efficiency.

Method used

By recording the coordinates of the previous focus point in the display device and obtaining the coordinates of the current focus point in real time, the animation effect of focus switching is achieved using Bézier curves, thereby enhancing the user's visual experience.

Benefits of technology

It improves the processing efficiency of media asset pages and enhances the user's visual experience by presenting the focus switching process in the form of animation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119421003B_ABST
    Figure CN119421003B_ABST
Patent Text Reader

Abstract

The application provides a display device and a focus falling method. When the focus of a recommended position in a media page is switched, a second focus selection event is generated based on an operating system. An auxiliary process of the operating system receives the second focus selection event, and the second focus selection event is sent to a background service application through the auxiliary process. A first focus coordinate before the focus is switched is obtained, and a second focus coordinate after the focus is switched is obtained. A focus switching animation is generated according to the first focus coordinate and the second focus coordinate, and the display is controlled to display the focus switching animation in the media page. The method can record the coordinate position of the last focus, and obtain the coordinate position of the current focus, that is, the target focus, in real time. The switching process of the last focus and the target focus is presented in the form of an animation, and the jumping focus falling effect is realized in the form of a Bezier curve. The method can be applied to all audio and video application programs, and the media page processing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of display devices, and in particular to a display device and a focus landing method. BACKGROUND

[0002] A display device is a smart device capable of presenting a user interface and supporting user interaction. Taking a smart television as an example, the smart television is a display device based on Internet application technology, has an open operating system and a chip, has an open application platform, and can realize a bidirectional man-machine interaction function. The smart television can integrate various functions such as audio, video, entertainment, and data, and is used to meet the diversified and personalized needs of users. For example, a user can watch various movies, television series, variety shows, and the like through the smart television.

[0003] In some embodiments, a plurality of recommendation positions can be provided in a media page, and pictures, movies, television series, and the like can be associated in the recommendation positions. When a user clicks on each recommendation position, the corresponding media content can be viewed. When a certain recommendation position in the media page is selected, that is, when the focus is positioned to a certain recommendation position, the selected recommendation position can be rendered. For example, a white and thick border can be provided around the recommendation position, and an animation effect can also be provided for the picture, so as to improve the visual experience of the user.

[0004] However, in the above rendering manner, when there are a plurality of recommendation positions in the media page, the same rendering process needs to be performed for all the recommendation positions in the media page. Moreover, a plurality of applications APP can exist in the display device, and the same rendering process also needs to be performed for different applications APP. This can result in a large workload of the display device in configuring the media page, and a low processing efficiency of the media page. In addition, in the above rendering manner, only the current focus is rendered, and the process of focus switching is not displayed. SUMMARY

[0005] Some embodiments of the present application provide a display device and a focus landing method to solve the problem of low efficiency of the display device in configuring a media page, and at the same time, the process of focus switching can be presented in the form of an animation to improve the visual experience of the user.

[0006] In a first aspect, some embodiments of the present application provide a display device, comprising:

[0007] a display configured to display a user interface;

[0008] a controller configured to:

[0009] generate a first focus selection event of a recommendation position in a media page based on an operating system; the media page is a page presented after starting an audio and video application program;

[0010] receive the first focus selection event by an auxiliary process in the operating system, and send the first focus selection event to a background service type application by the auxiliary process; the background service type application is an application that has registered the auxiliary process;

[0011] when the execution number of the first focus selection event is equal to a preset number, control the display to display a first reminder icon at a preset position of the recommendation position;

[0012] when the focus of the recommendation position in the media asset page is switched, generate a second focus selection event based on the operating system;

[0013] receive the second focus selection event by an auxiliary process in the operating system, and send the second focus selection event to the background service type application by the auxiliary process;

[0014] obtain a first focus coordinate before the focus is switched, and obtain a second focus coordinate after the focus is switched;

[0015] generate a focus switching animation according to the first focus coordinate and the second focus coordinate, and control the display to display the focus switching animation in the media asset page.

[0016] In a second aspect, some embodiments of the present application provide a focus landing method, which can be applied to the display device of the first aspect, the display device comprising a display and a controller, and the focus landing method comprises:

[0017] generate a first focus selection event of a recommendation position in a media asset page based on an operating system; the media asset page is a page presented after starting an audio and video application program;

[0018] receive the first focus selection event by an auxiliary process in the operating system, and send the first focus selection event to a background service type application by the auxiliary process; the background service type application is an application that has registered the auxiliary process;

[0019] when the execution number of the first focus selection event is equal to a preset number, control the display to display a first reminder icon at a preset position of the recommendation position;

[0020] when the focus of the recommendation position in the media asset page is switched, generate a second focus selection event based on the operating system;

[0021] receive the second focus selection event by an auxiliary process in the operating system, and send the second focus selection event to the background service type application by the auxiliary process;

[0022] acquire a first focus point coordinate before switching the focus point, and acquire a second focus point coordinate after switching the focus point;

[0023] generate a focus point switching animation according to the first focus point coordinate and the second focus point coordinate, and control the display to display the focus point switching animation in the media page.

[0024] According to the above technical solutions, some embodiments of the present application provide a display device and a focus point landing method. The method comprises: generating a first focus point selection event of a recommended position in a media page based on an operating system; receiving the first focus point selection event through an auxiliary process in the operating system, and sending the first focus point selection event to a background service type application through the auxiliary process; when the number of execution times of the first focus point selection event is equal to a preset number, controlling the display to display a first reminder icon at a preset position of the recommended position; when the focus point of the recommended position is switched in the media page, generating a second focus point selection event based on the operating system; receiving the second focus point selection event based on the auxiliary process in the operating system, and sending the second focus point selection event to the background service type application through the auxiliary process; acquiring a first focus point coordinate before switching the focus point, and acquiring a second focus point coordinate after switching the focus point; generating a focus point switching animation according to the first focus point coordinate and the second focus point coordinate, and controlling the display to display the focus point switching animation in the media page. The display device 200 can record the coordinate position of the last focus point and acquire the coordinate position of the current focus point, i.e. the target focus point, in real time, present the switching process of the last focus point and the target focus point in the form of an animation, realize the jumping landing effect in the form of a Bezier curve, and improve the processing efficiency of the media page, so as to solve the problem of low efficiency of the display device in configuring the media page. BRIEF DESCRIPTION OF DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.

[0026] Figure 1 a schematic diagram of an operation scene between a display device and a control device provided by some embodiments of the present application;

[0027] Figure 2 a hardware configuration block diagram of a display device provided by some embodiments of the present application;

[0028] Figure 3 a hardware configuration block diagram of a control device provided by some embodiments of the present application;

[0029] Figure 4A software configuration diagram of a display device provided by some embodiments of the present application;

[0030] Figure 5 An effect diagram of displaying media through a media page shown by some embodiments of the present application;

[0031] Figure 6 A flow diagram of a focus landing method of a display device provided by some embodiments of the present application;

[0032] Figure 7 A timing diagram of a focus landing method of a display device provided by some embodiments of the present application;

[0033] Figure 8 A flow diagram of displaying a first reminder icon at a preset position of a recommendation position of a display device provided by some embodiments of the present application;

[0034] Figure 9 An effect diagram of displaying a first reminder icon of a display device provided by some embodiments of the present application;

[0035] Figure 10 A contrast diagram of displaying a first reminder icon to change a layer provided by some embodiments of the present application;

[0036] Figure 11 A first-order Bezier curve effect diagram provided by some embodiments of the present application;

[0037] Figure 12 A second-order Bezier curve effect diagram provided by some embodiments of the present application;

[0038] Figure 13 A third-order Bezier curve effect diagram provided by some embodiments of the present application;

[0039] Figure 14 A first dynamic demonstration scene diagram of a dynamic target control provided by some embodiments of the present application;

[0040] Figure 15 A second dynamic demonstration scene diagram of a dynamic target control provided by some embodiments of the present application. DETAILED DESCRIPTION

[0041] In order to make the purposes, technical solutions and advantages of some embodiments of the present application clearer, the technical solutions of some embodiments of the present application will be described below in conjunction with relevant drawings of the embodiments. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments.

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

[0043] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0044] The term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0045] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device provided in some embodiments of this application. For example... Figure 1 As shown, the user can operate the display device 200 through the mobile terminal 300 and the control device 100.

[0046] In some embodiments, the mobile terminal 300 may install software applications with the display device 200 to establish a connection and communication via a network communication protocol, thereby achieving one-to-one control operation and data communication. Alternatively, audio and video content displayed on the mobile terminal 300 can be transmitted to the display device 200 to achieve synchronous display.

[0047] like Figure 1 The diagram also shows that the display device 200 communicates with the server 400 via various communication methods. This allows the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.

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

[0049] Figure 2 This is a hardware configuration block diagram of a display device 200 provided in some embodiments of this application.

[0050] In some embodiments, the display device 200 includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0051] In some embodiments, the detector 230 is configured to collect signals from the external environment or the external interaction.

[0052] In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving the image display, a component for receiving image signals from the controller output, and a component for displaying video content, image content, and menu control interface, and a user control UI interface, etc.

[0053] In some embodiments, the communicator 220 is a component for communicating with the external device or the server 400 according to various communication protocol types.

[0054] In some embodiments, the controller 250 controls the operation of the display device and responds to the user's operation by storing various software control programs in the memory. The controller 250 controls the overall operation of the display device 200.

[0055] In some embodiments, the user can input user commands through the graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the graphical user interface (GUI).

[0056] In some embodiments, the user interface 280 is an interface that can be used to receive control input.

[0057] Figure 3 A hardware configuration block diagram of the control device is provided for some embodiments of the present application. As shown in Figure 3 The control device 100 includes a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.

[0058] The control device 100 is configured to control the display device 200 and can receive user input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, acting as an intermediary between the user and the display device 200.

[0059] In some embodiments, the control device 100 can be a smart device. For example, the control device 100 can install various applications for controlling the display device 200 according to user needs.

[0060] In some embodiments, as shown in Figure 1 The mobile terminal 300 or other smart electronic device can perform similar functions to the control device 100 after installing an application for controlling the display device 200.

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

[0062] The communication interface 130 is configured to realize the communication of the control signals and the data signals between the control device 100 and the display device 200 under the control of the controller 110. The communication interface 130 can include at least one of a WiFi chip 131, a Bluetooth module 132, an NFC module 133, and other near field communication modules.

[0063] The user input / output interface 140, wherein the input interface includes at least one of a microphone 141, a touchpad 142, a sensor 143, a key 144, and other input interfaces.

[0064] In some embodiments, the control device 100 includes at least one of the communication interface 130 and the input / output interface 140. The control device 100 is configured to encode the user input instructions through the WiFi protocol, or the Bluetooth protocol, or the NFC protocol, and send the instructions to the display device 200 through the communication interface 130, such as the WiFi, Bluetooth, NFC, and other modules.

[0065] The storage 190 is configured to store various running programs, data, and applications for driving and controlling the control device 100 under the control of the controller. The storage 190 can store various control signal instructions input by the user.

[0066] The power supply 180 is configured to provide running power support for the components of the control device 100 under the control of the controller.

[0067] Figure 4 The software configuration schematic diagram of the display device provided in some embodiments of the present application divides the system into four layers from top to bottom, namely, the application program (Applications) layer (referred to as the "application layer"), the application program framework (Application Framework) layer (referred to as the "framework layer"), the Android runtime and system library layer (referred to as the "system runtime library layer"), and the kernel layer.

[0068] In some embodiments, at least one application program is running in the application layer. These application programs can be the window (Window) program, the system setting program, the clock program, the camera application, and the like provided by the operating system, or the application programs developed by the third-party developers.

[0069] The framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some pre-defined functions. The application framework layer is equivalent to a processing center that decides which application in the application layer to act.

[0070] As shown in Figure 4 , in some embodiments of the present application, the application framework layer includes managers, content providers, and a view system, etc.

[0071] In some embodiments, the activity manager is used to manage the life cycle of each application and the general navigation back function.

[0072] In some embodiments, the window manager is used to manage all window programs.

[0073] In some embodiments, the system runtime library layer provides support for the upper layer, i.e., the framework layer. When the framework layer is accessed, the Android operating system runs the C / C++ library included in the system runtime library layer to realize the functions of the framework layer.

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

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

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

[0077] The above embodiments illustrate the hardware / software architecture and functional implementation of a display device 200. The display device 200 is an intelligent device capable of presenting a user interface and supporting user interaction. Taking a smart TV as an example, a smart TV is a display device based on Internet application technology, possessing an open operating system and chip, an open application platform, and enabling two-way human-computer interaction. A smart TV can integrate multiple functions such as audio-visual entertainment and data to meet diverse and personalized user needs. For example, users can watch various movies, TV series, variety shows, etc., through a smart TV.

[0078] Figure 5 These are schematic diagrams illustrating the effect of displaying media assets through a media asset page, as shown in some embodiments of this application. Figure 5 As shown, in some embodiments, the media asset page can have multiple recommendation slots, each associated with media assets such as images, movies, or TV series. When a user clicks on a recommendation slot, they can view the corresponding media asset content.

[0079] In some embodiments, when selected Figure 5 When a specific recommended section is displayed on a Chinese media asset page, i.e., when the focus is on a particular recommended section, the selected recommended section can be rendered. For example, as shown... Figure 5 As shown, the recommended section can be surrounded by a bold white border to remind the user that the currently selected section is selected. Animation effects can also be added to the image; for example, when a recommended section is selected, or when switching to a new recommended section, a transitional halo from the top left to the bottom right corner can be added to enhance the user's visual experience.

[0080] However, in the rendering method described above, if there are multiple recommendation slots on the media asset page, all of them need to undergo the same rendering process. Furthermore, the display device 200 may contain multiple applications, and these different applications also need to perform the same rendering process. This results in a heavy workload for the display device 200 and low processing efficiency for the media asset page.

[0081] For example, a media asset page might be configured with JUUI templates and multiple recommendation slots of different styles. JUUI templates are front-end template libraries for creating user interfaces. They can contain many predefined components and styles, helping developers quickly build beautiful and easy-to-use user interfaces. For instance, JUUI templates can include layout templates for homepages, list pages, and detail pages, as well as components such as buttons, forms, and navigation bars. They can also include styles such as colors, fonts, and spacing, and provide rich icon resources. Therefore, when focus movement is triggered on the media asset page, if a jump focus animation from position A to position B is implemented, all recommendation slot styles need to be adapted, reducing the processing efficiency of the media asset page on the display device.

[0082] Moreover, a plurality of applications APP are deployed in the display device 200, and if a uniform focus effect is to be configured for all the applications APP, all the applications APP need to be adapted and modified, which is a large workload and low processing efficiency. In addition, in the above rendering manner, only the current focus is rendered, and the process of focus switching is not displayed.

[0083] To solve the problem of low efficiency of display device configuration media page, some embodiments of the present application provide a display device 200, which comprises a display 260 and a controller 250. The display 260 is configured to display an audio and video application interface, and the controller 250 is configured to perform a focus falling method. When the focus is switched, the display device 200 can record the coordinate position of the last focus and obtain the coordinate position of the current focus, i.e. the target focus in real time, present the switching process of the last focus and the target focus in the form of animation, and realize the jumping focus effect through the form of Bezier curve.

[0084] For example, the coordinate position of the last focus is position A, and the coordinate position of the target focus is position B. The dynamic effect can start from position A and move to position B through a Bezier curve to present the dynamic process of switching from the last focus to the target focus, thereby improving the user's visual experience.

[0085] To facilitate the understanding of the technical solutions of some embodiments of the present application, the following will describe each step in detail in combination with some specific embodiments and drawings. Figure 6 The display device provided by some embodiments of the present application performs a focus falling method, and a flowchart thereof is shown in FIG. 2. Figure 6 As shown in FIG. 2, in some embodiments, when the display device 200 performs the focus falling method, it can include the following steps S1-S7, and the specific content is as follows:

[0086] Step S1: The display device 200 generates a first focus selection event of a recommended position in a media page based on an operating system.

[0087] In some embodiments, the operating system can be an Android system, which can be provided with an Android auxiliary process such as AccessibilityService. AccessibilityService is an auxiliary function service provided by the Android system, which can obtain information on the user interface through the auxiliary function framework of the Android bottom layer. For example, it can listen to the focus, window change, button click, etc. on the user interface, and also can listen to some state transitions in the user interface, such as page switching, focus change, page notification, etc.

[0088] In some embodiments, the media asset page is the page displayed after launching an audio / video application. The display device 200 may include multiple audio / video applications, each corresponding to a different media asset page.

[0089] In some embodiments, the media asset page can have multiple featured sections. These sections can be configured with different sizes and shapes, such as squares, rectangles, or other custom shapes. When a user selects a featured section on the media asset page using a remote control or touchscreen, that section becomes the selected focus. The selected section can be highlighted; for example, a highlight border or a gradient halo can be applied to it.

[0090] Figure 7 This is a timing diagram illustrating the focus setting method for a display device according to some embodiments of this application, such as... Figure 7 As shown, in some embodiments, in response to the power-on command of the display device 200, the display device 200 can create a preset service through a background service application. The preset service is used to execute auxiliary processes of the operating system and listen for interface operation events generated in the operating system.

[0091] For example, the audio / video application can be an app in the display device 200, the operating system's auxiliary process can be Android Accessibility, and the background service application can be the advertising terminal background service. In some embodiments, the advertising terminal background service can be a background service application without a UI, so the user cannot visually perceive its existence. When the display device 200 powers on, the advertising terminal background service, upon receiving the power-on broadcast, can start its process and create a preset service, such as a Service, to perform Android Accessibility. This execution can be understood as inheriting the Android system's AccessibilityService through the Service. The display device's Accessibility service can also be based on other operating systems, such as iOS.

[0092] In order to enable background service applications to execute operating system auxiliary processes, in some embodiments, the display device 200 can generate interface operation events of media asset pages based on the operating system, receive the interface operation events through the auxiliary process, register the auxiliary process through a preset service, and send the interface operation events to the background service applications through the auxiliary process.

[0093] Exemplarily, during the interaction of the user interface, the Android system can listen to the changes of the user interface, such as the media page. In some embodiments, a module for listening to events in the media page, such as an event management module, can be provided in the Android system. The event management module can be configured with an object-oriented processing mechanism, through which the event management module can listen to and feedback the interactive operations on the media page.

[0094] In some embodiments, the event management module can involve the following processing objects: an event source processing object, an event generation processing object, and an event listening processing object. Among them, the event source processing object, that is, the source of the event, can be various components, for example, can be a button component, a window component, etc. The event generation processing object can encapsulate the relevant information of the interactive events occurring on the user interface component, and some interactive events can also be generated through the event generation processing object. The event listening processing object is responsible for listening to the interactive events occurring in the event source, and can execute corresponding processing for different interactive events.

[0095] In some embodiments, a series of possible interactive events can be defined in the event management module, for example, click events, long press events, etc., each event will be associated with a specific function or response. For example, clicking a button can trigger the playing of a video in the recommended position, sliding can switch to the next video in the recommended position, etc.

[0096] In order to facilitate the management of events, an event list can be created through the event management module, and these interactive events can be registered in the event list. Once the events are registered, the event management module will start listening to these events, that is, the event management module can continuously monitor the user's operation through listening to determine whether a registered event is triggered. Therefore, the event management module can generate page operation events of the media page based on the listening of the interactive events.

[0097] In some embodiments, when the user interface, such as the media page, is displayed, the user can input key values for interaction in the media page through a remote control or other input device, for example, the user can use the direction keys to select or switch the focus in the media page, or use the play or pause keys to control the playing of the video in the media page. These key values can be predefined and can correspond to specific operations or commands. For example, the "Enter" key can correspond to selection or playing, and the "Esc" key can be used for returning or canceling, etc.

[0098] After the user inputs the key values, the audio-video application can receive and process these key values. For example, taking the audio-video application A service as an example, when A service receives a key value, it will parse the key value and perform the corresponding action. For example, if A service receives the value of the "Enter" key, it may trigger the playback of the currently selected video. If it receives the value of the "Esc" key, it may perform a back operation and return to the previous menu.

[0099] When the user performs a corresponding interactive operation in the media asset page, the event management module will detect this operation and identify the corresponding event type. For example, the event management module is responsible for listening to user operations on the media asset page, and the event management module will convert these operations into event objects, which contain all relevant information about the operation, such as type, time, target element, etc. The event management module is also responsible for passing the interactive event to the corresponding processing program or service, for example, it can be passed to A service, so that A service can execute the related processing flow.

[0100] In some embodiments, when the user performs an interaction, the AccessibilityService can identify the specific event type, for example, it can distinguish whether the user has clicked a button or double-clicked the screen. AccessibilityService can also read the content on the media asset page or perform other auxiliary functions to ensure that these interactive events are accessible and understandable to all users.

[0101] In some embodiments, the page operation event can be an AccessibilityEvent event, which is a class in the Android system for describing various operations and state changes on the user interface, such as the media asset page. In the Android system, when the user interacts with the interface, the event management module in the Android system can convert the corresponding event into an AccessibilityEvent event, and the event management module can generate different types of AccessibilityEvent events. AccessibilityEvent events can include various operations and state changes on the user interface, such as focus switching, control state changes, page scrolling, etc.

[0102] In some embodiments, the AccessibilityEvent event can include event type information, trigger event source information, event occurrence time information, and additional information, etc. Among them, the event type information is used to describe the type of event, such as focus change event, control state change event, scrolling event, etc. The trigger event source information is used to describe the source View that triggers the event, and the information of the source View can be obtained through the getSource() method. The event occurrence time information is used to describe the specific time point of the event occurrence. The additional information is used to describe the related information of different types of events, such as text content information, state information, etc.

[0103] In some embodiments, the AccessibilityEvent event is a component in the accessibility framework, and by listening to the AccessibilityEvent event, the accessibility service such as AccessibilityService can obtain the information and state changes of the user interface, so as to realize the auxiliary operation of the user interface.

[0104] In some embodiments, the AccessibilityEvent event can be distributed to the AccessibilityService through the accessibility framework, and the AccessibilityService can perform corresponding processing according to the event type information and the trigger event source information after receiving these events. That is, by listening to the AccessibilityEvent event, the AccessibilityService can obtain the information and state changes in the media page, such as obtaining the focus switching event, page scrolling event, etc., and these functions are realized based on the accessibility framework of the Android system.

[0105] When the user interacts with the media page, the event management module can generate a first focus selection event of the recommended position in the media page based on the operating system. Continue to refer to Figure 7 , for example, when the user opens any application APP, the background will start the media page corresponding to the application APP, and display the specific content contained in the media page. There will be a focus point in the media page, which can be the default focus point when the user enters the media page, and the first focus selection event can be the selection event of the default focus point, that is, the event corresponding to when the user does not switch the focus. After step S1 is executed, the following step S2 can be executed.

[0106] Step S2: receiving the first focus selection event through the accessibility process in the operating system, and sending the first focus selection event to the background service class application through the accessibility process; the background service class application is an application that has registered the accessibility process.

[0107] Continue to refer toFigure 7 After the event management module generates the first focus selection event in the recommendation position of the media page based on the operating system, the event management module in the Android system converts the first focus selection event into an AccessibilityEvent event, and the type of the event is a focus selection event.

[0108] In some embodiments, the background service type application is an application independent of the audio / video application program to which the current interface belongs.

[0109] In some embodiments, the first focus selection event can be received by an auxiliary process of the Android system, and the first focus selection event can be sent to the background service type application, such as the advertisement terminal background service, through the auxiliary process. Since the advertisement terminal background service has registered the auxiliary process, such as AccessibilityService, after the AccessibilityService receives the AccessibilityEvent event, the AccessibilityService can distribute the AccessibilityEvent event to the advertisement terminal background service. Therefore, the advertisement terminal background service can receive the focus selection event AccessibilityEvent transmitted by the AccessibilityService. After step S2 is executed, the following step S3 can be executed.

[0110] Step S3: When the execution times of the first focus selection event are equal to the preset times, the background service type application controls the display 260 to display the first reminder icon at the preset position of the recommendation position.

[0111] In order to be suitable for the first focus selection event in any use scenario, in some embodiments, a unified event processing function or a timer mechanism can be used to count the execution times of the first focus selection event, without distinguishing whether it is the first time or not.

[0112] For example, a unified event processing function is designed to process all first focus selection events, regardless of whether they are triggered for the first time or not. A counter can also be used to track the number of times the first focus selection event is triggered. Each time the event occurs, the counter is incremented, and no special state or flag is set to distinguish between the first time and the non-first time.

[0113] After receiving the first focus selection event, it can be determined whether the first focus selection event is the first focus selection event after the boot. If it is the first focus selection event after the boot, it means that the focus has not been switched, and at this time, only a static icon can be displayed at the preset position of the recommendation position where the focus is located, without the focus dynamic switching process.

[0114] To this end, the following function can be performed: when the number of execution times of the first focus selection event is equal to the preset number of times, the background service class application controls the display 260 to display the first reminder icon at the preset position of the recommended position. The recommended position can be the recommended position at the default focus position.

[0115] In some embodiments, the preset number of times can be 1, and only when the first focus selection event occurs once, it is indicated that the first focus selection event should be the selection event of the default focus in the media page. At this time, the first reminder icon can be displayed at the preset position of the recommended position.

[0116] Figure 8 The flowchart of the display device provided by some embodiments of the present application for displaying the first reminder icon at the preset position of the recommended position is shown in FIG. 1, which comprises the following steps: Figure 8 First, the first focus selection event can be obtained, and then the focus information and the control information contained in the first focus selection event are extracted, and the recommended position selected by the first focus selection event is obtained according to the focus information and the control information, and the preset corner coordinates are obtained according to the recommended position, and the display 260 is controlled to display the first reminder icon at the position of the preset corner coordinates.

[0117] For example, the focus information and the control information contained in the first focus selection event can be extracted, and the recommended position selected by the first focus selection event is obtained based on the focus information and the control information. For example, the recommended position corresponding to the first focus selection event can be obtained by the getSource() method of the AccessibilityEvent, and after the recommended position is obtained, the coordinates of each corner of the recommended position can be obtained.

[0118] Figure 9 The effect diagram of the display device provided by some embodiments of the present application for displaying the first reminder icon is shown in FIG. 2, which comprises the following steps: Figure 9 For example, taking the upper left corner as an example, the background service class application can obtain the coordinates of the upper left corner of the recommended position, and the coordinates of the upper left corner of the recommended position, i.e., the upper left corner coordinates, can be marked as (x1, y1). After the advertising terminal background service determines that the recommended position is the selection event of the first focus after starting, since there is no focus coordinates of the last time, the advertising terminal background service can display the first reminder icon at the upper left corner of the recommended position according to the obtained coordinates.

[0119] It should be noted that in some embodiments, the advertisement terminal background service displays the first reminder icon at the preset corner position of the recommendation position while the audio and video application also executes the original focus logic. For example, the audio and video application performs the rendering process on the selected recommendation position, and performs the effect of magnification or highlight display on the outer frame of the recommendation position. That is, the original rendering process of the audio and video application on the focus and the preset corner position of the advertisement terminal background service for displaying the first reminder icon coexist, and do not conflict with each other.

[0120] From the perspective of layer control and layer change, when the advertisement terminal background service displays the first reminder icon at the preset corner position of the recommendation position, since the audio and video application also executes the original focus logic, both have their own presentation effects on the layer. Figure 10 The contrast diagram of displaying the first reminder icon and changing the layer provided by some embodiments of the present application is shown in FIG. 1, where the upper diagram is a schematic diagram of the advertisement terminal background service not displaying the first reminder icon, and the media asset page only has the focus logic processing flow of the audio and video application; and the lower diagram is a schematic diagram of the advertisement terminal background service displaying the first reminder icon, and the media asset page adds the first reminder icon on the basis of the original upper diagram, for example, the first reminder icon can be superimposed and displayed to remind the user of the current focus position through the first reminder icon, which is more intuitive. Figure 10

[0121] After step S3 is executed, the following step S4 can be executed.

[0122] Step S4: When the focus of the recommendation position is switched in the media asset page, a second focus selection event is generated based on the operating system.

[0123] Continuing to refer to Figure 7 When the focus of the recommendation position is switched in the media asset page, the event management module in the Android system generates a second focus selection event based on the switching of the focus.

[0124] ​For example, when the user switches the focus of the media page by a remote controller or the like, the media page has an initial focus, i.e., the pre-switch focus, before the focus switching is performed. After the corner point switching is performed, the media page will change to a new focus, i.e., the post-switch focus. After the focus in the media page changes, the event management module can generate a second focus selection event and convert the second focus selection event into an AccessibilityEvent event. After the conversion is completed, the AccessibilityEvent event can be distributed to an auxiliary process of the Android system, such as an AccessibilityService. After the AccessibilityEvent event is received by the AccessibilityService, since the advertisement terminal background service has registered to listen to the event of the AccessibilityService, the advertisement terminal background service can receive the second focus selection event AccessibilityEvent event transmitted by the AccessibilityService.

[0125] In some embodiments, the advertisement terminal background service can also obtain the recommended position of the post-switch focus by the getSource() method of the AccessibilityEvent, so as to obtain the preset focus coordinates, such as the upper left corner coordinates, of the recommended position of the post-switch focus.

[0126] That is, in the focus switching event corresponding to the second focus selection event, the focus is switched from the recommended position of the first focus to the recommended position of the second focus. The upper left corner coordinates of the recommended position of the first focus, such as the coordinates of the upper left corner point P0, are (x1, y1), and the upper left corner coordinates of the recommended position of the second focus, such as the coordinates of the upper left corner point P2, are (x2, y2). After step S4 is performed, the following step S5 can be performed.

[0127] Step S5: receiving, by an auxiliary process in the operating system, the second focus selection event, and sending, by the auxiliary process, the second focus selection event to the background service type application.

[0128] In order to enable the background service type application to receive the second focus selection event, in some embodiments, after the second focus selection event is generated based on the operating system, the second focus selection event can be received based on an auxiliary process, such as an AccessibilityService, and then the second focus selection event is sent to the background service type application by the AccessibilityService. In this way, the background service type application can obtain the second focus selection event, and thus obtain the specific focus switching situation. After step S5 is performed, the following step S6 can be performed.

[0129] Step S6: The background service application acquires the first focus coordinate before the focus switching, and acquires the second focus coordinate after the focus switching.

[0130] The first focus coordinate before the focus switching and the second focus coordinate after the focus switching have been calculated through the above steps. For example, the coordinate of the top-left corner point P0 of the recommended position before the focus switching is (x1, y1), i.e., the first focus coordinate is (x1, y1), and the coordinate of the top-left corner P2 of the recommended position after the focus switching is (x2, y2), i.e., the second focus coordinate is (x2, y2). The advertisement terminal background service can directly acquire (x1, y1) and (x2, y2), which are the data basis for the subsequent focus switching animation.

[0131] In order to provide more accurate advertisement delivery, the advertisement terminal background service can recognize the user's behavior and the position of the recommended position where the focus is located through various ways.

[0132] In some embodiments, the second focus coordinate (x2, y2) can be acquired through the audio / video application program, i.e., the second focus coordinate data of the user after the focus switching. Still taking the audio / video application program A service as an example, when the user switches the focus in the media page corresponding to the A service, the advertisement terminal background service can acquire the new position of the focus after the switching through API calling or through event listening in real time. This can be realized through a synchronous transmission mechanism, i.e., when the user switches the focus in the media page, the position information of the focus after the switching is also transmitted to the advertisement terminal background service.

[0133] In some embodiments, the second focus coordinate can also be acquired through an asynchronous transmission mechanism. When the user switches the focus in the media page corresponding to the A service, the A service can first send a synchronization instruction to the advertisement terminal background service to inform the advertisement terminal background service that there is a new page loading or focus switching, and then the advertisement terminal background service requests and acquires the position information of the focus after the switching, i.e., the second focus coordinate (x2, y2), from the A service.

[0134] In some embodiments, after the user opens the media page corresponding to the audio / video application program, the advertisement terminal background service can pre-acquire the control position of the recommended position where the current focus is located in the background. In this way, when the user interacts with the media page, for example, when the user moves the focus up, down, left or right through the direction keys of the remote controller, the advertisement terminal background service has pre-stored the control position, and thus the pre-stored control position can be called to help the advertisement terminal background service respond to the user's interaction event more quickly. Because the position information does not need to be acquired during the interaction, but is directly called from the cache, the synchronization of the focus and the animation in the audio / video application program can be improved.

[0135] After step S6 is executed, step S7 can be executed.

[0136] Step S7: The background service type application generates a focus switching animation according to the first focus coordinate and the second focus coordinate, and controls the display 260 to display the focus switching animation in the media page.

[0137] In order to generate the focus switching animation, the advertisement terminal background service can first obtain the first focus coordinate and the second focus coordinate, then obtain the curve order of the Bezier curve of the focus switching animation, and then determine the number of transition points contained in the Bezier curve according to the curve order. Then the curve animation track can be generated according to the first focus coordinate, the second focus coordinate and the point number, and the motion frame of the focus mark picture can be set according to the curve animation track, so as to generate the focus switching animation.

[0138] It should be noted that in some embodiments, the advertisement terminal background service still exists two kinds of processing logic in the process of generating the focus switching animation. One is the original focus logic of the audio and video application program, and the other is the logic of generating and displaying the focus switching animation by the advertisement terminal background service. From the perspective of layer control and layer change, the above two kinds of processing logic represent the actions performed by different layers. One layer is the application control of the audio and video application program such as A service layer on the rendering of the recommended position of the focus, and the other layer is the application control of the animation effect by the advertisement terminal background service, and the two exist at the same time.

[0139] For example, continuing to refer to Figure 7 , after the background service type application receives the AccessibilityEvent event distributed by the Android accessibility function, the pre-switch focus coordinate and the post-switch focus coordinate can be obtained, and the focus switching animation can be displayed according to the two coordinates. For example, it has been calculated in the above steps that the first focus coordinate is the coordinate (x1, y1) of the left upper corner point P0, and the second focus coordinate is the coordinate (x2, y2) of the left upper corner point P2. After the first focus coordinate and the second focus coordinate are determined, the curve order of the Bezier curve of the focus switching animation can be obtained. The Bezier curve and its curve order will be described in detail below.

[0140] The Bezier curve is a kind of parametric curve used in computer graphics and related fields, which defines the shape of the curve through discrete control points, making the design and adjustment of the curve more intuitive. The Bezier curve can ensure the smoothness of the curve, and by adjusting the position of the control point, the shape of the Bezier curve can be changed, thereby controlling the appearance of the curve.

[0141] In some embodiments, the Bezier curve can be defined by a starting point, a control point, and an ending point. For example, the starting point is the initial point of the animation effect realized by the Bezier curve, the number of which is 1, the ending point is the last point of the animation effect, the number of which is also 1, and the control point is the transition point between the starting point and the ending point, the number of which can be 1 or more, and the specific number can be set according to actual needs, which is not limited in the present application.

[0142] It should be noted that the present application only takes the Bezier curve as an example to illustrate the process of realizing the focus switching animation, and it can also be realized in other forms, which is not limited in the present application. For example, it can be realized by using circular arc path algorithm, as long as the animation effect is smooth.

[0143] In some embodiments, the Bezier curve can be realized in the following way. First, there should be a starting point and an ending point, which can be the top left corner point P0 of the recommended position before switching the focus as the starting point, and the top left corner P2 of the recommended position after switching the focus as the ending point. Figure 11 The first-order Bezier curve effect schematic diagram provided by some embodiments of the present application is shown in FIG. 1. Figure 11 As can be understood, when there is no transition point between P0 and P2, a straight line is formed by the two points P0 and P2, at this time, a curve cannot be formed, that is, the number of transition points is 0, which can be referred to as a first-order Bezier curve.

[0144] Figure 12 The second-order Bezier curve effect schematic diagram provided by some embodiments of the present application is shown in FIG. 2. Figure 12 As can be understood, in some embodiments, the second-order Bezier curve can also be referred to as a quadratic Bezier curve, which is composed of three points. For example, the starting point is P0, the ending point is P2, and P1 is the intermediate transition point, that is, the number of transition points contained in the second-order Bezier curve is 1. The implementation principle of the second-order Bezier curve is to make the curve approximate the triangle formed by the control points P0, P1 and P2.

[0145] Figure 13 The third-order Bezier curve effect schematic diagram provided by some embodiments of the present application is shown in FIG. 3. Figure 13 As can be understood, in some embodiments, the third-order Bezier curve can also be referred to as a cubic Bezier curve, which is composed of four points. For example, the starting point is P0, the ending point is P3, and P1 and P2 are the intermediate transition points, that is, the number of transition points contained in the third-order Bezier curve is 2. The implementation principle of the third-order Bezier curve is to make the curve approximate the quadrilateral formed by the control points P0, P1, P2 and P3.

[0146] Similarly, a fourth order Bezier curve can also be referred to as a quartic Bezier curve, which is composed of five points, including a starting point, an ending point, and three transition points. A fifth order Bezier curve can also be referred to as a quintic Bezier curve, which is composed of six points, including a starting point, an ending point, and four transition points.

[0147] That is, in the embodiments of the present application, the number of transition points included in the Bezier curve can be determined by the order of the Bezier curve. For example, the number of transition points in the first order Bezier curve is 0, the number of transition points in the second order Bezier curve is 1, the number of transition points in the third order Bezier curve is 2, the number of transition points in the fourth order Bezier curve is 3, and so on. After the number of starting points, transition points, and ending points of the Bezier curve is determined, the curve animation track can be generated according to the first focus coordinate, the second focus coordinate, and the number of points.

[0148] In some embodiments, the positions of the transition points can be set according to actual needs, which are not limited in the present application. After the curve animation track is generated, the motion frames of the focus mark picture can be set according to the curve animation track to generate the focus switching animation.

[0149] For example, the starting point coordinate and the ending point coordinate need to be determined first, for example, the starting point coordinate can be the first focus coordinate, and the ending point coordinate can be the second focus coordinate. Then the number and specific coordinate positions of the transition points can be determined. The starting point coordinate, the ending point coordinate, and the transition point coordinate will be used as the control points of the Bezier curve to affect the shape of the curve and the motion path of the animation. When generating the curve animation track, each point on the curve can be calculated according to the determined control points and the number of points using the mathematical formula of the Bezier curve, thereby generating a complete curve track. This track will be used to guide the movement path of the focus in the animation. After the curve track is determined, the position of each frame in the animation can be set according to this track. The length of time, speed, and the like of the animation can be set according to actual needs.

[0150] For example, the Bezier curve has a certain slope, and the slope of the curve represents the motion speed of the animation. The steeper the curve, the faster the speed, and the flatter the curve, the slower the speed. The motion frames of the focus mark picture can be set according to the curve animation track to generate the focus switching animation.

[0151] In order to display the dynamic process of the focus switching, after the focus switching animation is generated, the background service application can control the display 260 to display the focus switching animation in the media page. First, the background service application can obtain a dynamic target control displayed in the media page, wherein the dynamic target control includes an initial size and a target size in the focus switching process, the target size has the same size as the initial size along a first direction, and the size of the target size along a second direction is a preset proportion of the size of the initial size along the second direction, and the first direction is perpendicular to the second direction. Then set the initial size as the default value of the dynamic target control, when the focus of the recommendation position in the media page is switched, obtain a first recommendation position selected by a first focus selection event, display the dynamic target control at a preset focus position of the first recommendation position, and control the dynamic target control to move along the curved animation track. Wherein the size of the dynamic target control at the first focus coordinate and the second focus coordinate of the curved animation track is the initial size, and the size outside the first focus coordinate and the second focus coordinate of the curved animation track is the target size.

[0152] In actual use scenarios, when the user uses the direction button of the remote controller to switch the recommendation position of the media page, after the focus is switched between the recommendation positions, the media page can present a dynamic switching effect, for example, the focus switching can be presented in the form of arc jumping.

[0153] In the focus switching animation, the direction of the jumping of the dynamic target control can be defined. In some embodiments, the distance of the X-axis or Y-axis of each jump can be compared. If the distance in the X-axis direction is greater than the distance in the Y-axis direction, it indicates that the dynamic target control is left-right jumping. If the distance in the Y-axis direction is greater than the distance in the X-axis direction, it indicates that the dynamic target control is up-down jumping, so the jumping direction of the dynamic target control can be obtained.

[0154] In some embodiments, taking the dynamic target control as a control view, the scaling ratio of the control view in the vertical direction is described by scaleY. By modifying the scaleY attribute of the control view, the scaling of the control view in the vertical direction can be realized.

[0155] For example, a control View has an initial size and a target size during focus switching. In some embodiments, the first direction can be the X-axis direction, and the second direction can be the Y-axis direction. The initial size and the target size are the same in the X-axis direction, and they are proportional in the Y-axis direction. The initial size is the default value of the dynamic target control. When the value of scale Y is 1.0, it means that the control View does not scale in the vertical direction; when the value of scale Y is greater than 1.0, it means that the control View is enlarged in the vertical direction; when the value of scale Y is less than 1.0, it means that the control View is shrunk in the vertical direction. For example, when the value of scale Y is scaled from 1.0 to 0.5, the dynamic target control will change from its initial size to half its initial size in the vertical direction. Therefore, the scaling effect of the control View in the vertical direction can be controlled by scale Y to realize the dynamic change process of the dynamic target control.

[0156] Figure 14 This is a schematic diagram of a first dynamic demonstration scenario of the dynamic target control provided in some embodiments of this application, such as... Figure 14 As shown, using a second-order Bézier curve as an example, the specific process of focus switching animation is explained. The user wants to switch from TV series A to TV series B. Assuming the starting point coordinates are still P0(x1, y1) and the ending point is P2(x2, y2), in some embodiments, the coordinates of the transition point P1 can be (x1+(x2-x1) / 2, y1+(y2-y1) / 2). In the initial stage of the focus switching animation, the dynamic target control has its initial size. As it begins to jump, its size changes. For example, if scale Y can be 0.5, the dynamic target control jumping to focus will shrink from its initial size to half its initial size in the vertical direction, similar to a dynamic target control simulating a squatting motion. It can be understood that before reaching the preset corner point of the recommended position after the switch, the dynamic target control will always be in a state of half its initial size.

[0157] Figure 15 This is a schematic diagram of a second dynamic demonstration scenario of the dynamic target control provided in some embodiments of this application, such as... Figure 15 As shown, when the focus switching animation is about to end and reaches the top left corner of the TV series B recommendation position, it will revert from half its initial size to its initial size, meaning the scale Y will return to 1.0, similar to the effect of a dynamic target control simulating standing. Thus, from Figures 14 to 15 The process of change reveals the specific process of the focus switching animation.

[0158] In some embodiments, the user does not only switch the focus of the recommended position on the current page, but also exists the case of media page scrolling. For example, the scrolling state of the media page can include a vertical scrolling state, that is, the scrolling in the up-down direction, and can also include a horizontal scrolling state, that is, the scrolling in the horizontal direction.

[0159] In order to be compatible with the scenario of media page scrolling, in some embodiments, the scrolling state of the media page can be listened to while the focus switching animation is presented, so as to perform different operation processes according to different scrolling states.

[0160] In some embodiments, the background service class application can listen to the scrolling state of the media page, and when the vertical scrolling state is not listened to, the step of controlling the display 260 to display the focus switching animation in the media page is performed, after the vertical scrolling state is listened to, the display 260 is controlled to stop playing the focus switching animation, and the dynamic target control is cancelled at the first focus coordinate. And after no page scrolling event is received within a preset time interval, the second focus coordinate after switching the focus is obtained, and the icon corresponding to the dynamic target control is displayed at the preset corner of the second recommended position selected by the second focus selection event.

[0161] For example, if the user triggers the up-down scrolling event of the media page through the remote controller, the event management module in the Android system can generate an AccessibilityEvent event, and the type of the event can be a page scrolling event. Since the advertisement terminal background service has registered to listen to the event of the AccessibilityService, the advertisement terminal background service can receive the page scrolling event transmitted by the AccessibilityService. At this time, if the focus switching animation of the jumping and falling focus is being executed, the focus switching animation should be stopped immediately, and the icon of the dynamic target control should be cancelled to avoid the deviation caused by the movement in the vertical direction during the focus jumping process.

[0162] In some embodiments, the preset time interval can be 100 milliseconds, and when no page scrolling event is received within 100 milliseconds, the recommended position after switching, the corresponding focus coordinate and the recommended position preset corner coordinate can be obtained by the advertisement terminal background service, and the static LOGO icon of the jumping and falling focus can be displayed.

[0163] In order to obtain the coordinates of the recommended position after the vertical scrolling state, in some embodiments, the advertisement terminal background service can obtain the AccessibilityNodeInfo object through the getRootInActiveWindow() method of the AccessibilityService of the Android system, and then obtain the recommended position after switching through the findFocus method of the AccessibilityNodeInfo object, such as AccessibilityNodeInfo.FOCUS_INPUT. After obtaining the recommended position, the coordinates of the recommended position, the corresponding focus coordinates and the preset corner coordinates of the recommended position can be obtained.

[0164] In some embodiments, the AccessibilityNodeInfo can include the following contents, for example, the attribute information of the UI element, the accessibility information of the UI element, the parent-child relationship of the UI element and the operation on the UI element, etc. The attribute information of the UI element can include text content, description, ID, class name, etc., the accessibility information of the UI element can include accessibility label, focus state, etc., the parent-child relationship of the UI element can be used to obtain the parent node, child node, etc. of the UI element, and the operation on the UI element can include clicking, setting text, etc. Through the AccessibilityNodeInfo, the accessibility service can obtain various UI elements on the user interface, thereby obtaining the user interface information and performing related operations, etc., thereby realizing the operation on the user interface.

[0165] In some embodiments, the following process can be performed when the scrolling state is a horizontal scrolling state. When the horizontal scrolling state is not listened to, the step of controlling the display 260 to display the focus switching animation in the media page is performed, after the horizontal scrolling state is listened to, the dynamic target control is cancelled at the start scrolling position, and after a preset time interval without receiving the page scrolling event, the second focus coordinates are obtained, and the icon corresponding to the dynamic target control is displayed at the preset corner of the second recommended position.

[0166] For example, when there is no horizontal scrolling in the media page, the animation is normally displayed. When there is horizontal scrolling, the display of the animation is immediately cancelled when it is determined that there is horizontal scrolling, and the corresponding icon is displayed after the focus is dropped and the media page stops scrolling. The delay time can be set according to actual needs, which is not limited in the present application. In this way, the scrolling scenario of the media page can be compatible, and different processes can be performed in different scrolling states to avoid the situation that the focus is dropped due to scrolling.

[0167] It should be noted that in the embodiments of the present application, it is not required to determine which audio and video application program the media page belongs to, that is, it can be applied to all applications APP. When implementing the focus switching animation, the background service class application can execute the related processes of the focus, without the need for each audio and video application program and each recommendation position to handle it separately, and without limiting the type of specific recommendation position or being limited to the use of templates in the media page. Compared with the traditional way that all rendering is done by the recommendation position, the processing efficiency of the media page can be improved, and all audio and video application program types are compatible, which has strong scalability.

[0168] In order to unify the styles of audio and video application programs, in some embodiments, a uniform focus style is set by a background service class application, and the focus style is sent to the audio and video application programs. In response to the first focus selection event or the second focus selection event, the background service class application adds the focus style to the recommendation position selected by the first focus selection event or the recommendation position selected by the second focus selection event, so as to unify the focus style of the audio and video application programs by the background service class application.

[0169] For example, after the background service class application formulates the uniform focus style, it can be sent to all applications APP. The background service class application can listen to the specific situation of focus selection or focus switching, so it can set a uniform focus style for all recommendation positions in the application APP. After the focus style is determined, a uniform focus switching animation can be formulated based on the uniform focus style. In this way, the display device 200 can share a set of jumping and dropping animation effects, realize style unification, and improve the user's visual experience.

[0170] In some embodiments, the event management module in the Android system can also perform the following processes. After generating events such as focus selection events or focus switching events, the event management module can also synchronously send the above events to the audio and video application programs and the background service class application. In this way, the audio and video application programs can obtain the focus change situation, and the audio and video application programs can perform corresponding processes according to the focus change situation to better realize the synchronization of the focus and the animation in the audio and video application programs.

[0171] According to the above technical solution, the display device 200 generates a first focus selection event of a recommended position in a media page based on an operating system; receives the first focus selection event through an auxiliary process in the operating system, and sends the first focus selection event to a background service application through the auxiliary process; when the number of executions of the first focus selection event is equal to a preset number, controls the display to display a first reminder icon at a preset position of the recommended position; when the focus of the recommended position is switched in the media page, generates a second focus selection event based on the operating system; receives the second focus selection event based on the auxiliary process in the operating system, and sends the second focus selection event to the background service application through the auxiliary process; obtains a first focus coordinate before the focus is switched, and obtains a second focus coordinate after the focus is switched; generates a focus switching animation according to the first focus coordinate and the second focus coordinate, and controls the display to display the focus switching animation in the media page. The display device 200 can record the coordinate position of the last focus, and obtain the coordinate position of the target focus in real time, present the switching process of the last focus and the target focus in the form of an animation, realize the jumping and falling focus effect in the form of a Bezier curve, and improve the processing efficiency of the media page, so as to solve the problem of low efficiency of the display device in configuring the media page.

[0172] Based on the display device 200, the application further provides a focus falling method, which can be applied to the display device 200. In some embodiments, the focus falling method can include the following contents:

[0173] Generating a first focus selection event of a recommended position in a media page based on an operating system; the media page is a page presented after starting an audio and video application program;

[0174] Receiving the first focus selection event through an auxiliary process in the operating system, and sending the first focus selection event to a background service application through the auxiliary process; the background service application is an application that has registered the auxiliary process;

[0175] When the number of executions of the first focus selection event is equal to a preset number, controlling the display to display a first reminder icon at a preset position of the recommended position;

[0176] When the focus of the recommended position is switched in the media page, generating a second focus selection event based on the operating system;

[0177] Receiving the second focus selection event based on the auxiliary process in the operating system, and sending the second focus selection event to the background service application through the auxiliary process;

[0178] Obtaining a first focus coordinate before the focus is switched, and obtaining a second focus coordinate after the focus is switched;

[0179] The focus switching animation is generated according to the first focus coordinate and the second focus coordinate, and the display is controlled to display the focus switching animation in the media page.

[0180] From the above technical solutions, the above embodiment provides a focus landing method, which can record the coordinate position of the last focus, and real-time acquire the coordinate position of the target focus, present the switching process of the last focus and the target focus in the form of animation, and realize the jumping landing effect through the form of Bezier curve, so as to improve the processing efficiency of the media page, and solve the problem of low efficiency of the display device in configuring the media page.

[0181] The same and similar parts among the various embodiments in the specification can be referred to each other, and will not be described here.

[0182] Those skilled in the art can clearly understand that the technologies in the embodiments of the present application can be realized by means of software and necessary general hardware platforms. Based on such understanding, the technical solutions in the embodiments of the present application can be embodied in the form of software products, which can be stored in storage media such as ROM / RAM, magnetic disks, optical disks, etc., and include a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method of the various embodiments or some parts of the embodiments of the present application.

[0183] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

[0184] In order to facilitate explanation, the above description has been made in combination with specific embodiments. However, the above exemplary discussion is not intended to exhaust or limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained according to the above teachings. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different modified embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that, include: The monitor is configured to display the audio / video application interface; The controller is configured as follows: The first focus selection event for the recommended section in the media asset page is generated based on the operating system. The media asset page is the page that appears after launching the audio / video application; the media asset page includes dynamic target controls and a border for reminding users to select the recommended spot; The first focus selection event is received by an auxiliary process in the operating system, and the first focus selection event is sent to a background service application by the auxiliary process. The background service application is an application that has registered the auxiliary process; When the number of times the first focus selection event is executed is equal to the preset number, the display is controlled to display a first reminder icon at the preset position of the recommendation slot; When switching the focus of the recommended position on the media asset page, a second focus selection event is generated based on the operating system; The second focus selection event is received by an auxiliary process in the operating system, and the second focus selection event is sent to the background service application through the auxiliary process. Get the coordinates of the first focus before the focus switch, and get the coordinates of the second focus after the focus switch; Generate a focus switching animation based on the first focus coordinates and the second focus coordinates, and control the display to show the focus switching animation on the media asset page; The focus switching animation is used to display the movement process of the dynamic target control along the trajectory formed by the first focus coordinate and the second focus coordinate.

2. The display device according to claim 1, characterized in that, The controller is further configured to: In response to the power-on command of the display device, a preset service is created through the background service application, and the preset service is used to execute the auxiliary process of the operating system; The preset service listens for interface operation events generated in the operating system.

3. The display device according to claim 2, characterized in that, The controller is further configured to: The interface operation events of the media asset page are generated based on the operating system; The auxiliary process receives the interface operation events. The auxiliary process is registered through the preset service; The auxiliary process sends the interface operation events to the background service application.

4. The display device according to claim 2, characterized in that, The controller, which controls the display to show a first reminder icon at a preset position in the recommended area, is further configured to: Get the first focus selection event; Extract the focus information and control information contained in the first focus selection event; The recommended spot selected by the first focus selection event is obtained based on the focus information and the control information; Obtain the preset corner coordinates based on the recommended position; The display is controlled to show the first reminder icon at the preset corner coordinates.

5. The display device according to claim 4, characterized in that, The controller generates a focus switching animation based on the first focus coordinates and the second focus coordinates, and is further configured to: Obtain the coordinates of the first focus and the coordinates of the second focus; Get the order of the Bézier curve for the focus switching animation; The number of transition points contained in the Bézier curve is determined based on the curve order. Generate a curved animation trajectory based on the first focal coordinates, the second focal coordinates, and the number of points; The motion frames of the focus marker are set according to the described curved animation trajectory to generate a focus switching animation.

6. The display device according to claim 5, characterized in that, The controller executes control to display the focus switching animation on the media asset page, and is further configured to: Obtain the dynamic target control displayed on the media asset page; the dynamic target control includes an initial size and a target size during focus switching; The target size is the same as the initial size along the first direction, and the target size along the second direction is a preset ratio of the initial size along the second direction; the first direction is perpendicular to the second direction. Set the initial size to the default value of the dynamic target control; When switching the focus of the recommended position on the media asset page, the first recommended position selected by the first focus selection event is obtained and the dynamic target control is displayed at the preset focus position of the first recommended position; The dynamic target control is controlled to move along the curved animation trajectory; wherein, the size of the dynamic target control at the first focus coordinate and the second focus coordinate of the curved animation trajectory is the initial size, and the size outside the first focus coordinate and the second focus coordinate of the curved animation trajectory is the target size.

7. The display device according to claim 6, characterized in that, The controller is further configured to: Monitor the scrolling state of the media asset page; the scrolling state includes vertical scrolling. If no vertical scrolling state is detected, execute the step of controlling the display to show the focus switching animation on the media asset page; Upon detecting the vertical scrolling state, control the display to stop playing the focus switching animation; Cancel the display of the dynamic target control at the first focus coordinate; If no page scrolling event is received within a preset time interval, the coordinates of the second focus after the focus switch are obtained, and the icon corresponding to the dynamic target control is displayed at the preset corner point of the second recommended position selected in the second focus selection event.

8. The display device according to claim 7, characterized in that, The scrolling state also includes a horizontal scrolling state, and the controller is further configured to: If no horizontal scrolling state is detected, execute the step of controlling the display to show the focus switching animation on the media asset page; After detecting the horizontal scrolling state, the dynamic target control is de-displayed at the start of scrolling; If no page scrolling event is received within a preset time interval, the second focus coordinates are obtained, and the icon corresponding to the dynamic target control is displayed at a preset corner point of the second recommendation position.

9. The display device according to claim 1, characterized in that, The controller is further configured to: Set a uniform focus style through the aforementioned background service applications; Send the focus style to the audio / video application; In response to the first focus selection event or the second focus selection event, the background service application is controlled to add the focus style to the recommended position selected by the first focus selection event or the recommended position selected by the second focus selection event, so as to unify the focus style of the audio and video application through the background service application.

10. A method for focusing, characterized in that, Applied to the display device according to any one of claims 1-9, the display device comprising a display and a controller, the focusing method comprising: The first focus selection event of the recommended position in the media asset page is generated based on the operating system; the media asset page is the page presented after the audio and video application is launched; the media asset page includes a dynamic target control and a border for reminding the selected recommended position; The first focus selection event is received by an auxiliary process in the operating system, and the first focus selection event is sent to a background service application by the auxiliary process; the background service application is an application that has registered with the auxiliary process. When the number of times the first focus selection event is executed is equal to the preset number, the display is controlled to display a first reminder icon at the preset position of the recommendation slot; When switching the focus of the recommended position on the media asset page, a second focus selection event is generated based on the operating system; The second focus selection event is received by an auxiliary process in the operating system, and the second focus selection event is sent to the background service application through the auxiliary process. Get the coordinates of the first focus before the focus switch, and get the coordinates of the second focus after the focus switch; A focus switching animation is generated based on the first focus coordinates and the second focus coordinates, and the display is controlled to show the focus switching animation on the media asset page; the focus switching animation is used to show the movement process of the dynamic target control along the trajectory formed by the first focus coordinates and the second focus coordinates.

Citation Information

Patent Citations

  • Animation display method, terminal and computer readable storage medium

    CN107329649A

  • Screen focus moving display method, display equipment and storage medium

    CN112351347A