Display equipment and cursor style switching method

By parsing and switching the cursor operation event generation method of the display device, and dynamically matching the cursor instance object in the cursor class module, the problem of cursor style incompatibility under different event generation methods of the display device is solved, realizing dynamic switching of cursor style and improving response speed.

CN121300664APending Publication Date: 2026-01-09VIDAA (NETHERLANDS) INT HLDG LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511404462.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-28
Publication Date
2026-01-09

AI Technical Summary

Technical Problem

The display device cannot dynamically switch the cursor style corresponding to different graphics display protocols, which leads to incompatibility of cursor display when the event generation method of the control device changes, resulting in operation failure.

Method used

By parsing the cursor operation event generation method of the control device, a switching strategy is generated, and the cursor instance object corresponding to the target event generation method is queried in the cursor class module to dynamically switch the cursor style, ensuring that the display device can respond to the cursor style of different event generation methods.

Benefits of technology

It enables dynamic matching and switching of cursor styles on display devices under different event generation methods, improving cursor display compatibility and response speed, avoiding cursor switching failures and operation malfunctions, and enhancing the user interaction experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121300664A_ABST
    Figure CN121300664A_ABST
Patent Text Reader

Abstract

The invention provides a display device and a cursor style switching method, when a target cursor operation event sent by a control device is received, a target event generation mode of the target cursor operation event is analyzed, and if the target event generation mode is different from an event generation mode of a previous cursor operation event, the cursor style switching method is executed. And querying a first target cursor instance object corresponding to the target event generation mode in a cursor class module in which the cursor instance object is stored through an interface switching module, and then responding to the target cursor operation event, changing the current cursor style of the cursor into the cursor style of the first target cursor instance object, and displaying the cursor after the cursor style is changed on the user interface. The display device in the embodiment can dynamically respond to events of different event generation modes such as direction keys and sensor pointing from the control device, and the cursor style of the corresponding graphic display protocol is automatically matched to display the cursor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display device technology, and in particular to a display device and a method for switching cursor styles. Background Technology

[0002] During the use of a display device, users can interact with it via a remote control. When a user operates the remote control, the resulting operation events are input to the display device and distributed to the application currently having focus. Upon receiving the input event, the application calls the graphics display interface to render and update the cursor's shape, position, and visibility, thus providing visual feedback on the user's intent.

[0003] Remote controls can generate operation events using various methods. For example, they can generate operation events via directional buttons, pointing functions, or based on internal sensors. When a display device receives operation events generated by different methods, it needs to use different graphics display protocols to display the cursor.

[0004] However, the display device uses a static binding method to handle cursor display. This means the browser on the display device consistently calls the interface of a specific graphics display protocol and continues to use that protocol throughout the entire runtime. When the control device switches to a different event generation method, the graphics display protocol corresponding to that event differs from the one the display device is currently using. This results in the display device being unable to display the cursor using the different cursor styles corresponding to the different graphics display protocols. Summary of the Invention

[0005] This application provides a display device and a cursor style switching method to solve the problem that the display device cannot display the cursor using cursor styles corresponding to different graphics display protocols.

[0006] In a first aspect, some embodiments of this application provide a display device, including:

[0007] The monitor is configured to display the user interface;

[0008] The communication device is configured to receive cursor operation events sent by the control device;

[0009] The controller is configured as follows:

[0010] Upon receiving a target cursor operation event sent by the control device, the target event generation method of the target cursor operation event is parsed.

[0011] If the target event generation method is different from the event generation method of the previous cursor operation event, a switching strategy is generated through the interface switching module;

[0012] According to the switching strategy, the cursor class module queries the first target cursor instance object corresponding to the target event generation method. The cursor class module stores cursor instance objects used to represent cursor styles.

[0013] In response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style represented by the first target cursor instance object;

[0014] The user interface displays the cursor after the cursor style has been changed.

[0015] The above technical solution has the following beneficial effects or advantages: When the communication device receives a target cursor operation event sent by the control device, the controller can parse the target event generation method. When it determines that the target cursor operation event differs from the previous event's generation method, the interface switching module queries the cursor class module for the first target cursor instance object corresponding to the target cursor operation time. The cursor instance object encapsulates a specific cursor style. The controller can respond to the target cursor operation event by switching the current cursor style to the style defined by the first target cursor instance object, and finally update the cursor display on the user interface through the display. In this embodiment, the display device can dynamically respond to events from different event generation methods, such as arrow keys and sensor pointing, and automatically match the cursor style of the corresponding graphics display protocol to display the cursor.

[0016] In some embodiments, before the step of querying the first target cursor instance object corresponding to the target event generation method in the cursor class module according to the switching strategy, the controller is further configured to:

[0017] Set the corresponding cursor style for the event generation method of the cursor operation event generated by the control device;

[0018] Obtain the display parameters of the cursor style;

[0019] The display parameters are encapsulated to obtain a cursor instance object corresponding to the cursor style;

[0020] Store the cursor instance object in the cursor class module.

[0021] The above technical solution has the following beneficial effects or advantages: This embodiment sets the corresponding cursor style by controlling the event generation method of the cursor operation event generated by the control device. Then, it obtains the display parameters of the cursor style and encapsulates the display parameters into a cursor instance object, which is then stored in the cursor class module. In this way, the display device can ensure that each event generation method has a pre-set cursor type, so that the interface switching module can quickly query the target cursor instance object when switching cursor styles, thereby improving the efficiency of the display device in switching cursor styles.

[0022] In some embodiments, the controller performs the step of querying the cursor class module for a first target cursor instance object corresponding to the target event generation method according to the switching strategy, specifically configured as follows:

[0023] If the target event generation method is different from the event generation method of the previous cursor operation event, the focus marker of the interface switching module is moved from the event generation method of the previous cursor operation event to the target event generation method.

[0024] The switching strategy is generated from the focus information corresponding to the focus marker.

[0025] The cursor class module queries the first target cursor instance object corresponding to the focus information.

[0026] The above technical solution has the following beneficial effects or advantages: When the target event generation method changes, the controller moves the focus marker of the interface switching module from the previous event generation method to the current target event generation method, and sends the corresponding focus information to the cursor class module, so that the cursor class module can query the first target cursor instance object according to the target event generation method, thereby avoiding the query of cursor instance objects of irrelevant event generation methods, reducing system resource consumption, and improving the response speed of cursor switching.

[0027] In some embodiments, the controller performs the step of displaying the cursor after the cursor style has been changed on the user interface, specifically configured as follows:

[0028] Obtain the display status parameters of the cursor under the current cursor style;

[0029] Based on the display status parameters and the cursor style of the first target cursor instance object, the cursor with the changed cursor style is displayed on the user interface.

[0030] The above technical solution has the following beneficial effects or advantages: Before changing the cursor style, the controller first obtains the display state parameters of the cursor under the current style, and then combines them with the first target cursor instance object to render and display the cursor after changing the cursor style on the user interface. This embodiment can retain the original display state of the cursor during the style switching process, maintain a smooth transition of cursor switching, avoid unpleasant experiences such as cursor jumping, flickering, or position reset that may occur due to style changes, and improve the naturalness of the interaction.

[0031] In some embodiments, the display state parameters include the display position coordinates of the cursor and the cursor display size. The controller performs the step of displaying the cursor with the changed cursor style on the user interface according to the display state parameters and the cursor style of the first target cursor instance object. Specifically, this step is configured as follows:

[0032] The reference display position of the cursor is determined in the user interface based on the display position coordinates, and the reference display position is the center position of the cursor when it is in the current cursor style;

[0033] The center position of the cursor after changing the cursor style will coincide with the reference display position;

[0034] The cursor with the changed cursor style is displayed according to the cursor display size, with the reference display position as the center position of the cursor after the cursor style is changed.

[0035] The above technical solution has the following beneficial effects or advantages: By acquiring display status parameters including display position coordinates and cursor display size, the center reference position of the cursor in the current style is determined according to the display position coordinates. Then, the center point of the cursor in the changed style is aligned with this reference position, and finally, it is displayed according to the original shape and size parameters. This embodiment can ensure that the cursor position in the user interface remains unchanged during the cursor change process, effectively preventing misoperation or inaccurate pointing caused by changes in cursor size, and improving the accuracy of the cursor before and after the change.

[0036] In some embodiments, if no first target cursor instance object corresponding to the target event generation method is found in the cursor class module, the controller is further configured to:

[0037] In the cursor class module, create a cursor instance object for the target event generation method;

[0038] The cursor instance object is marked as the first target cursor instance object.

[0039] The above technical solution has the following beneficial effects or advantages: If no first target cursor instance object corresponding to the target event generation method is found in the cursor class module, the controller will create a new cursor instance object according to the event generation method and mark it for use by the target function. This embodiment can ensure that the display device will not cause cursor switching failure when the target event generation method is not found, but can dynamically learn and expand its supported cursor style library, improving the compatibility of the display device with cursor switching.

[0040] In some embodiments, the controller is further configured to:

[0041] If the target event is generated in the same way as the previous cursor operation event, then the target application responding to the target cursor operation event is detected.

[0042] If the target application is different from the application that responded to the previous cursor operation event, then query the cursor class module that stores cursor instance objects to find the second target cursor instance object corresponding to the target application.

[0043] In response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style of the second target cursor instance object.

[0044] The above technical solution has the following beneficial effects or advantages: When the target event generation method remains unchanged but the target application changes, the controller detects the change in the responding application and queries the cursor class module for the second target cursor instance object corresponding to the target application, thereby switching the cursor style to the style defined by the target application. This allows the same event generation method to present different cursor forms in different applications, such as using a crosshair in a video application and an arrow in a browser application, improving the adaptability of the cursor to the application scenario and enhancing the user's cursor switching experience between different applications.

[0045] In some embodiments, before the controller performs the step of querying the cursor class module storing cursor instance objects for a second target cursor instance object corresponding to the target application if the target application is different from the application that responded to the previous cursor operation event, it is further configured to:

[0046] Set the corresponding cursor style for the application integrated into the display device;

[0047] The display parameters of the cursor style corresponding to different applications are encapsulated into different cursor instance objects;

[0048] Store the cursor instance object in the cursor class module.

[0049] The above technical solution has the following beneficial effects or advantages: By pre-setting corresponding cursor styles for each application integrated into the display device, its display parameters are encapsulated as cursor instance objects and stored in the cursor class module. This embodiment, through this method, enables the use of independent cursor styles when cursor operation events respond to applications, improving the flexibility and compatibility of cursor style switching.

[0050] In some embodiments, the controller is further configured to:

[0051] Configure the event generation method and the priority order of the application;

[0052] According to the priority order, the target cursor instance object is queried in the cursor class module based on the event generation method or the application.

[0053] The above technical solutions have the following beneficial effects or advantages: by presetting the priority order, it is clear whether to query the target cursor instance object based on the event generation method or the application when multiple switching conditions are met at the same time, thereby avoiding logical conflicts in cursor style switching and improving the feasibility of cursor switching in complex interactive scenarios.

[0054] Secondly, some embodiments of this application provide a cursor style switching method, applied to the display device provided in the first aspect, the method comprising:

[0055] Upon receiving a target cursor operation event sent by the control device, the target event generation method of the target cursor operation event is parsed.

[0056] If the target event generation method is different from the event generation method of the previous cursor operation event, a switching strategy is generated through the interface switching module;

[0057] According to the switching strategy, the cursor class module queries the first target cursor instance object corresponding to the target event generation method. The cursor class module stores cursor instance objects used to represent cursor styles.

[0058] In response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style represented by the first target cursor instance object;

[0059] The user interface displays the cursor after the cursor style has been changed.

[0060] As can be seen from the above technical solutions, this application provides a display device and a cursor style switching method. When a target cursor operation event is received from a control device, the target event generation method of the target cursor operation event is parsed. If the target event generation method is different from the event generation method of the previous cursor operation event, the interface switching module queries the cursor class module storing cursor instance objects for the first target cursor instance object corresponding to the target event generation method. Then, in response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style of the first target cursor instance object, and the cursor after the change in cursor style is displayed on the user interface. The display device in this embodiment can dynamically respond to events from the control device with different event generation methods, such as directional keys and sensor pointing, and automatically match the cursor style of the corresponding graphics display protocol to display the cursor. Attached Figure Description

[0061] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0062] 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;

[0063] Figure 2 This is a schematic diagram of the hardware configuration of a display device provided in some embodiments of this application;

[0064] Figure 3 This is a schematic diagram of the software configuration of a display device provided in some embodiments of this application;

[0065] Figure 4 A flowchart illustrating a method for switching cursor styles on a display device, provided in some embodiments of this application;

[0066] Figure 5 Timing diagrams of a cursor style switching method performed on a display device according to some embodiments of this application;

[0067] Figure 6 This is a flowchart illustrating how cursor operation events are generated using different event generation methods in some embodiments of this application;

[0068] Figure 7 A flowchart illustrating the encapsulation of cursor instance objects in a display device according to some embodiments of this application;

[0069] Figure 8 A flowchart illustrating how a display device queries a first cursor instance object, provided in some embodiments of this application;

[0070] Figure 9 This is a flowchart illustrating the process of querying a cursor instance object when switching focus information on a display device, as provided in some embodiments of this application.

[0071] Figure 10 A flowchart illustrating how a display device displays a cursor based on display state parameters, provided in some embodiments of this application;

[0072] Figure 11 A flowchart illustrating how a display device changes its cursor style based on its current position, provided in some embodiments of this application;

[0073] Figure 12 A flowchart illustrating how a display device, according to an application, changes the cursor style in some embodiments of this application. Detailed Implementation

[0074] The embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described below do not represent all embodiments consistent with this application. They are merely examples of systems and methods consistent with some aspects of this application as detailed in the claims.

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

[0076] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0077] 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.

[0078] 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.

[0079] In this embodiment, the display device 200 generally refers to a device with screen display and data processing capabilities. For example, the display device 200 includes, but is not limited to, smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.

[0080] 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, a user can operate the display device 200 via touch operation, a mobile terminal 300, and a control device 100. The control device 100 receives user input commands and converts them into control commands that the display device 200 can recognize and respond to. For example, the control device 100 can be a remote control, a stylus, a gamepad, etc.

[0081] The mobile terminal 300 can function as a control device for human-computer interaction between the user and the display device 200. It can also function as a communication device for establishing a communication connection with the display device 200 and exchanging data. In some embodiments, the mobile terminal 300 can have software applications installed on it and communicate with the display device 200 via network communication protocols to achieve one-to-one control and data communication. Furthermore, it can transmit audio and video content displayed on the mobile terminal 300 to the display device 200 for synchronized display.

[0082] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application that controls the display device 200.

[0083] 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.

[0084] Display device 200 can provide broadcast television reception function, and can also be equipped with intelligent network television function that provides computer support, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.

[0085] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of display device 200.

[0086] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.

[0087] In some embodiments, detector 230 is used to acquire signals from the external environment or to interact with the outside world. For example, detector 230 includes a light receiver, a sensor for acquiring ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to acquire external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.

[0088] In some embodiments, the display 260 includes display function components for presenting images and driving components for driving image display. The display 260 is used to receive and display image signals output from the controller 250. For example, the display 260 can be used to display video content, image content, menu control interface components, and user control UI interfaces, etc.

[0089] In some embodiments, the communication device 220 is a component used to communicate with external devices or the server 400 according to various communication protocol types. The display device 200 may have multiple communication devices 220 depending on the supported communication methods. For example, when the display device 200 supports wireless network communication, it may have a communication device 220 with WiFi functionality. When the display device 200 supports Bluetooth connectivity, it needs to have a communication device 220 with Bluetooth functionality.

[0090] The communication device 220 enables the display device 200 to communicate with external devices or the server 400 via wireless or wired connections. Wired connections utilize data cables, interfaces, or other components to connect the display device 200 to external devices. Wireless connections utilize wireless signals or wireless networks. The display device 200 can directly establish a connection with external devices or indirectly through gateways, routers, or other connection devices.

[0091] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0092] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

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

[0094] In some embodiments, the audio output device 270 can be a built-in speaker of the display device 200 or an external audio output device connected to the display device 200. For the external audio output device connected to the display device 200, the display device 200 may also be provided with an external audio output terminal, through which the audio output device can be connected to the display device 200 to output sound from the display device 200.

[0095] In some embodiments, the user input interface 280 can be used to receive instructions from user input.

[0096] To enable user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program used to manage and control the hardware and software resources of the display device 200. The operating system can control the display device to provide a user interface; for example, the operating system can directly control the display device to provide a user interface, or it can provide a user interface by running an application. The operating system also allows users to interact with the display device 200.

[0097] It should be noted that the operating system can be a native operating system based on a specific operating platform, a third-party operating system that is deeply customized based on a specific operating platform, or an independent operating system specifically developed for display devices.

[0098] An operating system can be divided into different modules or levels based on the functions it implements, for example... Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the System Library layer, and the Kernel layer.

[0099] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run applications and interact with the user based on the applications. The application layer may contain at least one application, which may be a built-in Windows program, system settings program, or clock program of the operating system; or it may be an application developed by a third-party developer. In specific implementations, the application packages in the application layer are not limited to the examples above.

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

[0101] like Figure 3 As shown, Figure 3 The diagram below illustrates the software configuration of a display device according to some embodiments of this application. In some embodiments, the system of the display device 200 can be divided into three layers, from top to bottom: the application layer, the middleware layer, and the hardware layer.

[0102] The application layer mainly includes TV applications and application frameworks. The applications are mainly browser-based applications, such as HTML5 apps, and native apps.

[0103] An application framework is a complete program model that has all the basic functions required by standard application software, such as file access, data exchange, and the user interface for these functions (toolbar, status bar, menu, dialog box).

[0104] Native apps can support online or offline access, push notifications, or access to local resources.

[0105] The middleware layer includes various television protocols, multimedia protocols, and system components. Middleware can use the basic services (functions) provided by system software to connect different parts of application systems or different applications on the network, achieving resource sharing and function sharing.

[0106] The hardware layer mainly includes the HAL interface, hardware, and drivers. The HAL interface is a unified interface for all TV chips, with the specific logic implemented by each chip. The drivers mainly include: audio drivers, display drivers, Bluetooth drivers, camera drivers, Wi-Fi drivers, USB drivers, HDMI drivers, sensor drivers (such as fingerprint sensors, temperature sensors, pressure sensors, etc.), and power drivers.

[0107] It should be noted that the above examples are merely a simple division of operating system functions and do not limit the specific form of the operating system of the display device 200 in this application embodiment. Depending on the function of the display device, the type of operating system, and other factors, the number of levels and the specific level type of the operating system may be expressed in other forms.

[0108] In some embodiments, a user can interact with a display device 200 through a control device 100. The control device 100 can generate operation events based on the user's interaction and send these events to the display device 200. The display device 200 can establish a communication connection with the control device 100 through a communication device 220. Based on this communication connection, the display device 200 can receive operation events from the control device 100. The interaction between the control device 100 and the display device 200 can include various wireless connection methods such as infrared communication, Bluetooth communication, and Wi-Fi communication, or data transmission can be achieved through wired methods such as a USB data cable.

[0109] In some embodiments, the display device 200 can perform interactive operations via a cursor. Upon receiving an operation event, the display device 200 can map the operation event to the cursor in the user interface to achieve operations such as cursor movement and cursor response. When a user inputs an operation event using the directional keys in the control device 100, the display device 200 can respond to the operation event corresponding to the directional key, calling the cursor located in the user interface so that the cursor moves according to the movement trajectory corresponding to the directional key, thereby presenting a visual effect on the user interface of the cursor moving according to the direction indicated by the directional key. Users can also perform interactive operations using the function navigation keys in the control device 100. The function navigation keys may include an OK button and a Back (Exit) button. The display device 200 can respond to the operation events corresponding to the function navigation keys to perform functional interactions. For example, when the cursor points to an application control in the user interface, if the display device 200 receives an operation event corresponding to the OK button, it can respond to this operation event to call the application control's application to respond and launch the application. In the interface corresponding to the application, if an operation event corresponding to the Back button is received, the interface corresponding to the application can be exited in response to the operation event.

[0110] In some embodiments, the control device 100 may generate operation events using various event generation methods, such as physical buttons on the control device, the pointing function of the control device 100, or a touch panel provided on the control device 100. Operation events generated by different event generation methods can use different graphical display protocols to display the cursor.

[0111] However, the display device 200 uses a static binding method to handle cursor display. That is, the display device 200 calls a fixed interface of a graphics display protocol to respond to the cursor during operation. This causes the display device 200 to be unable to dynamically switch the image display protocol corresponding to other event generation methods from the control device 100. Consequently, the display device 200 cannot be compatible with operation events generated from different event generation methods at the same time. When the control device 100 switches the event generation method or application, the cursor cannot be displayed and the operation fails.

[0112] Based on the above problems, some embodiments of this application provide a display device 200, including a display 260, a communication device 220 and a controller 250, wherein the display 260 is configured to display a user interface, the communication device 220 is configured to receive cursor operation events sent by the control device 100, and the controller 250 is configured to execute a cursor style switching method.

[0113] Figure 4 A flowchart illustrating a method for switching cursor styles on a display device provided in some embodiments of this application. Figure 5 Timing diagrams showing the execution of a cursor style switching method on a display device according to some embodiments of this application. See also... Figure 4 and Figure 5 The method includes the following:

[0114] S100: Upon receiving a target cursor operation event sent by the control device, parse the target event generation method of the target cursor operation event.

[0115] Users can generate cursor operation events through the control device 100. The control device 100 should include at least two event generation methods for generating cursor operation events, so that the display device 200 can dynamically switch responses to cursor operation events generated by different event generation methods. For example, taking two event generation methods as an example, the control device 100 can generate cursor operation events through physical buttons and remote control pointing.

[0116] It should be noted that this embodiment does not limit the event generation method of the control device to generate cursor operation events. The event generation method may include, as shown in the foregoing embodiments, button event generation method, touch event generation method, remote control pointing event generation method, voice event generation method, etc. This embodiment does not specifically limit the number of event generation methods.

[0117] like Figure 6As shown, for button event generation, events can be triggered by physical buttons such as directional keys and function navigation keys on the control device 100. For example, when a user presses a directional key, the control device generates a cursor operation event containing a movement command. Remote pointing events can be generated based on sensing components such as the gyroscope and accelerometer built into the control device 100. The cursor operation event is generated by detecting the pointing angle and movement trajectory of the control device itself. For example, when a user holds the control device 100 and points it at a specified location on the display 260, the control device 100 will perform coordinate system transformation based on the pointing angle and the distance between the control device 100 and the display device 200, thereby generating the corresponding cursor operation event.

[0118] Different event generation methods correspond to different graphics display protocol types. Therefore, after receiving a target cursor operation event, the display device needs to parse the target event generation method of the target cursor operation event, and then call the graphics display protocol that matches the target event generation method to process the target cursor operation event, so as to display the cursor in the cursor style corresponding to the graphics display protocol.

[0119] S200: If the target event generation method is different from the event generation method of the previous cursor operation event, a switching strategy is generated through the interface switching module.

[0120] After parsing the target event generation method, the display device 200 can compare the target event generation method with the event generation method of the previous cursor operation event to determine whether the event generation method of the control device 100 has changed. If the target event generation method is different from the event generation method of the previous cursor operation event, it means that the user has switched the event generation method of the control device 100 for generating cursor operation events. For example, if the target event generation method is a button event generation method, while the event generation method corresponding to the previous cursor operation event was a remote control pointing event generation method, it means that the control device 100 has changed from remote control pointing control to button control. Correspondingly, the display device 200 should also switch the cursor style according to the target event generation method corresponding to the target cursor operation event.

[0121] In some embodiments, when the controller 250 detects that the generation method of the target event differs from that of the previous cursor operation event, it can send an interface switching command to the interface switching module. The interface switching module can be a context class pre-generated by the display device 200. The context class is the core management module for implementing the dynamic switching strategy. In this embodiment, the context class is used to switch between different protocol interfaces. The interface switching module can respond to the interface switching command by generating a switching strategy, which is used to switch between interfaces of different graphics display protocols.

[0122] S300: According to the switching strategy, query the cursor class module for the first target cursor instance object corresponding to the target event generation method.

[0123] After receiving the switching strategy, the cursor class module can query the first target cursor instance object corresponding to the target event generation method according to the switching strategy. The cursor class module stores multiple cursor instance objects, and different cursor instance objects correspond to different graphics display protocols. The cursor instance object is used to represent the cursor style. The cursor instance object can encapsulate data such as the cursor drawing logic, coordinate calculation rules and cursor state update mechanism under an event generation method, so that the corresponding cursor instance object can be called to draw the cursor according to the corresponding event generation method.

[0124] S400: In response to the target cursor operation event, change the current cursor style of the cursor to the cursor style represented by the first target cursor instance object.

[0125] After the first target cursor instance object is found, the display device 100 can respond to the target cursor operation event and trigger the function call mechanism of the cursor class module through the interface switching module to replace the currently executing cursor instance object with the first target cursor instance object, thereby changing the current cursor style of the cursor to the cursor style of the first target cursor instance object. This realizes the switching of cursor control logic and ensures that the display device can present a cursor shape and response mode that conforms to the user's operating habits in real time according to the changes in the event generation method of the control device.

[0126] S500: Display the cursor after changing the cursor style on the user interface.

[0127] After switching the cursor style to the cursor style of the first target cursor instance object, the display device 200 will reconfigure the cursor's display parameters in the user interface based on the drawing logic, coordinate calculation rules, and cursor state update mechanism encapsulated in the first target cursor instance object. After completing the parameter configuration, the display device 200 will render the cursor in the user interface in real time according to the new parameters, ensuring that the user can intuitively see the style-updated cursor when performing subsequent operations and obtain interactive feedback that matches the updated cursor style. For example, the smoothness of cursor movement and the response speed of click operations should all meet the preset standards of the cursor instance object.

[0128] Based on the above technical solution, when the communication device 220 receives a target cursor operation event sent by the control device, the controller 250 can parse the target event generation method. When it determines that the target cursor operation event differs from the previous event's generation method, the interface switching module queries the cursor class module for the first target cursor instance object corresponding to the target cursor operation time. The cursor instance object encapsulates a specific cursor style. The controller 250 can respond to the target cursor operation event by switching the current cursor style to the style defined by the first target cursor instance object, and finally update the cursor display on the user interface through the display 260. In this embodiment, the display device 200 can dynamically respond to events from different event generation methods, such as arrow keys and sensor pointing, automatically matching the corresponding cursor style. Thus, through this dynamic switching method, it calls different cursor styles corresponding to different graphics display protocols to display the cursor based on different event generation methods.

[0129] In some embodiments, before the controller 250 executes step S200, it is also necessary to configure the cursor class module. For this purpose, see [link to relevant documentation]. Figure 6 Before querying the first target cursor instance object corresponding to the first target cursor instance object in the cursor class module that stores at least two cursor instance objects, the controller 250 also needs to set the corresponding cursor style according to the event generation method of the cursor operation event generated by the control device 100. For example... Figure 6 As shown, the display device 200 can detect the supported receiving methods. These receiving methods can correspond to the event generation methods of the control device 200. For example, if the display device 200 supports both button receiving and remote control pointing receiving methods, it can respond to cursor operation events generated by the control device 100 using both button and remote control pointing methods. If the control device 100 can also generate cursor operation events using touch event generation methods, but the display device 200 cannot support the receiving method corresponding to the touch event generation method, then the display device 200 cannot respond to the cursor operation events generated by the control device 100 using the touch event generation method. Therefore, there is no need to set a corresponding cursor style for the touch event generation method.

[0130] See Figure 7The display device 200 can set corresponding cursor styles for the event generation methods of the control device 100 based on the supported receiving methods. For example, a first cursor style can be set for button event generation, and a second cursor style can be set for remote control pointing event generation. The first cursor style can be different from the second cursor style, so that the user can distinguish cursor interactions performed by different event generation methods through different cursor styles. In another case, the first cursor style can also be the same as the second cursor style, so that the same cursor display effect can be achieved by switching different event generation methods of the control device 100.

[0131] After setting the cursor style corresponding to different event generation methods, the display device 200 can obtain the display parameters of the cursor style. The display parameters may include cursor size, color, transparency, dynamic effect frequency, etc. The display device 200 displays the parameters according to preset rules or user-defined configurations. For example, if the user sets the first cursor style corresponding to the button event generation method to a size of 20 pixels, red, transparency of 10%, and no dynamic effect, and the second cursor style corresponding to the remote control pointing event generation method to a size of 25 pixels, blue, transparency of 20%, and a slow blinking dynamic effect, the display device 200 will adjust the corresponding display values ​​during the cursor rendering process after obtaining these parameters to ensure that the cursors triggered by different event generation methods can be displayed on the user interface according to the set display parameters.

[0132] In some embodiments, to ensure proper cursor display, the display device 200 also verifies the acquired display parameters. If the parameters are detected to exceed the basic settings range for the cursor (e.g., the cursor size is too large, or the cursor excessively obscures the user interface, causing display abnormalities), the display device 200 automatically adjusts the display parameters according to the basic settings range to improve the stability and appropriateness of the cursor style display. After adjusting the display parameters, the display device 200 can notify the user of the parameter adjustment status through pop-up windows or log entries.

[0133] After obtaining the display parameters, the display device 200 can encapsulate the display parameters, thereby encapsulating them into a cursor instance object that represents the cursor style according to preset rules and standard formats, so as to facilitate subsequent calls to the cursor instance object. The display device 200 can encapsulate the display parameters of different cursor styles in a predetermined order, or it can encapsulate the display parameters of all cursor styles at the same time, thereby improving the encapsulation efficiency.

[0134] After encapsulating the cursor instance object, the display device 200 can establish a mapping relationship between the cursor instance object and the cursor style, and store the cursor instance object in the cursor class module. The cursor class module can be a factory class, which can store and uniformly manage cursor instance objects corresponding to different cursor styles. When the display device 200 needs to call a cursor style, it can send the corresponding cursor style or the event generation method corresponding to the cursor style to the factory class through the interface switching module. The factory class can then quickly locate and obtain the corresponding cursor instance object based on the cursor style or the event generation method, without repeatedly encapsulating parameters, effectively reducing system resource consumption. For example, ... Figure 8 As shown, the example of querying cursor instance objects based on event generation methods is used to illustrate the process. After parsing the cursor operation event, the interface switching module can send the first event generation method corresponding to the cursor operation event to the cursor class module. The cursor class module then queries the first cursor instance object corresponding to the first event generation method based on the mapping relationship.

[0135] In some embodiments, the cursor class module can also update the stored cursor instance objects. If the display parameters or cursor style rules change subsequently, the cursor class module can directly modify or replace the stored cursor instance objects to ensure that the cursor instance objects are synchronized with the latest cursor style requirements.

[0136] Based on the above technical solution, the corresponding cursor style is set by controlling the event generation method of the cursor operation events generated by the control device. Then, the display parameters of the cursor style are obtained and encapsulated into a cursor instance object, which is stored in the cursor class module. In this way, the display device can ensure that each event generation method has a pre-set cursor type, so that the interface switching module can quickly query the target cursor instance object when switching cursor styles, thereby improving the efficiency of the display device in switching cursor styles.

[0137] In some embodiments, such as Figure 9 As shown, step S300 may include steps S310-S330.

[0138] S310: If the target event generation method is different from the event generation method of the previous cursor operation event, the focus marker of the interface switching module is moved from the event generation method of the previous cursor operation event to the target event generation method.

[0139] The display device 200 can set a focus marker in the interface switching module. The focus marker is used to represent the cursor instance object used by the display device 200 when the cursor is currently displayed. When the target event generation method is different from the event generation method of the previous cursor operation event, the display device 200 can move the focus marker from the event generation method of the migration cursor operation event to the target event generation method, so as to indicate that the target cursor operation event received by the display device 200 was generated by the control device 100 in the target event generation method.

[0140] For example, if the previous cursor operation event was generated by the control device 100 using a button event generation method, after the display device 200 responds to this cursor operation event, the focus marker should be in the button event generation mode, indicating that the display device 200 is responding to a cursor operation event generated by a button. The target cursor operation event is generated using a remote control pointing event generation mode. Since the remote control pointing event generation mode differs from the button event generation mode, the event generation mode of the cursor operation event changes, and the display device 200 needs to move the focus marker from the button event generation mode to the remote control pointing event generation mode through the interface switching module.

[0141] S320: Generate the switching strategy from the focus information corresponding to the focus marker.

[0142] After the focus marker moves, the interface switching module needs to generate a switching strategy based on the focus information corresponding to the moved focus marker. This switching strategy instructs the cursor class module to switch the cursor instance object to change the cursor style. For example, when the focus marker moves from a key event generation method to a remote control pointing event generation method, the interface switching module will use the remote control pointing event generation method as the focus information to generate the switching strategy. This strategy instructs the cursor class module to switch the cursor instance object generated by the key event to the cursor instance object generated by the remote control pointing event. Then, the interface switching module sends the switching strategy to the cursor class module.

[0143] S330: Query the focus information through the cursor class module to find the corresponding first target cursor instance object.

[0144] Upon receiving the switching strategy, the cursor module parses the focus information within it and queries a pre-defined cursor instance object mapping table. This mapping table stores the association between different event generation methods and their corresponding cursor instance objects. When the focus information is a remote pointing event generation method, the cursor module can query the corresponding first target cursor instance object—the cursor instance object corresponding to the remote pointing event generation method—in the cursor instance object mapping table. Based on this first target cursor instance object, the cursor module can then control the cursor to switch to a cursor style adapted to the remote pointing operation, such as an arrow or hand cursor.

[0145] Based on the above technical solution, when the target event generation method changes, the controller 250 moves the focus marker of the interface switching module from the previous event generation method to the current target event generation method, and sends the corresponding focus information to the cursor class module, so that the cursor class module can query the first target cursor instance object according to the target event generation method, thereby avoiding the query of cursor instance objects of irrelevant event generation methods, reducing system resource consumption, and improving the response speed of cursor switching.

[0146] In some embodiments, such as Figure 10 As shown, step S500 may include steps S510-S520.

[0147] S510: Obtain the display status parameters of the cursor under the current cursor style.

[0148] Before switching cursor styles, the display device 200 can obtain the display status parameters of the cursor under the current cursor style. The display status parameters can represent the display state of the cursor before switching. By recording these display status parameters, the display device 200 can set the configuration parameters of the cursor after changing the cursor style according to the current state during the cursor style switching process. This allows the cursor style to be switched while retaining the original display state, avoiding abnormal cursor display during cursor switching and improving the user's visual experience and operation smoothness.

[0149] S520: Combining the display status parameters and the cursor style of the first target cursor instance object, display the cursor with the changed cursor style on the user interface.

[0150] After obtaining the display status parameters, the display device 200 can perform parameter fusion processing between the display status parameters and the cursor style of the first target cursor instance object. For example, the cursor style corresponding to the first target cursor instance object may involve new attributes such as shape outline, color value, or line thickness. The display device 200 will first perform a compatibility check on the display status parameters to ensure that after the display status parameters are combined with the new cursor style, the cursor can be placed within the effective display area of ​​the user interface.

[0151] After ensuring that there are no compatibility issues with the display status parameters, the display device 200 can perform calculations by overlaying the display status parameters with the configuration parameters corresponding to the changed cursor style to generate a set of cursor display configuration data, and generate the cursor with the changed cursor style based on the cursor display configuration data, thereby rendering and displaying it in the user interface.

[0152] Based on the above technical solution, this embodiment first obtains the display state parameters of the cursor under the current style before changing the cursor style, and then combines them with the first target cursor instance object to render and display the cursor after changing the cursor style on the user interface. This embodiment can retain the original display state of the cursor during the style switching process, maintain a smooth transition of cursor switching, avoid unpleasant experiences such as cursor jumping, flickering, or position reset that may occur due to style changes, and improve the naturalness of the interaction.

[0153] In some embodiments, display state parameters may include the cursor's display position coordinates and cursor display size. The display position coordinates are used to determine the cursor's position in the user interface before switching cursor styles. The display position coordinates may include the horizontal X-axis coordinate and the vertical Y-axis coordinate, so that the current cursor display position is preserved when switching cursor styles. The cursor display size includes parameters such as the cursor's length, width, and line thickness. Different display sizes directly affect the cursor's visual presentation in the interface. For example, when the cursor is used for text input, a smaller display size may be more suitable for precise text positioning, while a larger display size allows the user to more clearly observe the cursor position when performing operations such as drawing graphics. Accurate acquisition and processing of these display state parameters can provide a reference for subsequent cursor style switching, ensuring that the cursor can smoothly transition from its original state after a style change.

[0154] Therefore, such as Figure 11 As shown, step S520 may include S521-S522.

[0155] S521: Determine the reference display position of the cursor in the user interface based on the display position coordinates.

[0156] To preserve the current cursor position, the display device 200 can determine the cursor's reference display position in the user interface based on the display position coordinates. The reference display position is the center position of the cursor when it is in the current cursor style, and can be used as the positioning position during cursor style switching, thereby ensuring that the cursor is always in the area where the positioning position is located before and after the style change.

[0157] S522: Using the reference display position as the center position of the cursor after the cursor style has been changed, display the cursor after the cursor style has been changed according to the cursor display size.

[0158] After determining the reference display position, the display device 200 can change the cursor style according to the first target cursor instance object and determine the center position of the cursor after the style change. The center position can be the geometric center or the response position of the cursor, such as the pointer tip of a pointer cursor. Taking the geometric center as the center position as an example, the display device 200 can use a preset coordinate calibration algorithm to align the geometric center of the cursor after the style change with the coordinate point of the reference display position, so that the center position of the cursor after the style change coincides with the reference display position.

[0159] After completing the coordinate calibration, the display device 200 can render the cursor with the center position of the cursor after the cursor style has been changed, based on the cursor display size, at the reference display position, so as to display the updated cursor in the user interface.

[0160] In some embodiments, the display device 200 can optimize the edge transition effect of the cursor after changing the cursor style. Based on the background color of the user interface and the contrast of the currently displayed content, the transparency and blur of the cursor edge are adjusted so that the cursor after changing the cursor style can be clearly displayed without causing visual interference to other elements in the user interface.

[0161] In some embodiments, during the cursor style switching process, the display device 200 temporarily saves the cursor display data before the switch through a caching mechanism. The cursor display data includes the original cursor style and display status parameters. If an abnormal situation occurs during the switching process, the display device 200 can call the cursor display data through the caching mechanism to restore the original cursor state, thereby ensuring the stability and reliability of the cursor display.

[0162] Based on the above technical solution, this embodiment obtains display status parameters, including display position coordinates and cursor display size, determines the center reference position of the cursor under the current style according to the display position coordinates, then aligns the center point of the cursor in the changed style with this reference position, and finally displays it according to the original size parameters. This embodiment can ensure that the cursor position in the user interface remains unchanged during the cursor change process, effectively preventing misoperation or inaccurate pointing caused by changes in cursor size, and improving the accuracy of the cursor before and after the change.

[0163] In some embodiments, the cursor class module can also generate cursor instance objects on the fly. For example, when the control device 100 receives a cursor operation event generated for the first time using a certain event generation method, a cursor instance object is created according to the event generation method corresponding to the cursor operation event. Therefore, if the controller 250 does not find a first target cursor instance object corresponding to the target event generation method in the cursor class module during step S200, it indicates that the control device 100 has generated a cursor operation event for the first time using the target event generation method, i.e., the target cursor operation event.

[0164] In this scenario, the display device 200 can create a cursor instance object in the cursor class module according to the target event generation method, and mark this cursor instance object as the first target cursor instance object to suggest a mapping relationship between the cursor instance object and the target event generation method. Then, the display device 200 stores this cursor instance object in the cursor instance object mapping table of the cursor class module. This allows the device to directly query and call the corresponding cursor instance object from the cursor instance object mapping table when receiving subsequent cursor operation events with the same event generation method, eliminating the need for repeated creation and thus improving the response efficiency of cursor operation events.

[0165] Based on the above technical solutions, in this embodiment, if the first target cursor instance object corresponding to the target event generation method is not found in the cursor class module, the controller 250 will create a new cursor instance object according to the event generation method and mark it as the target function for use, thereby improving the display device 200's ability to quickly and reliably support cursor operation events generated for the first time in a specific event generation method during cursor switching.

[0166] In some embodiments, if the target event is generated in the same way as the previous cursor operation event, it means that the way the control device 100 generates the cursor operation event has not changed, and the display device 200 can directly respond to the target cursor operation event according to the same cursor style.

[0167] In some embodiments, where the target event is generated in the same way as the previous cursor operation event, the display device 200 may also set another switching condition for switching the cursor style. For example, the application responding to the cursor operation event may be used as the switching condition. The display device 200 can detect the target application responding to the target cursor operation event.

[0168] If the cursor is in the control area or application interface area of ​​an application, then that application is the one the cursor is responding to. For example... Figure 12 As shown, the display device 200 can compare the target application with the application that responded to the previous cursor operation event. If the two are the same application, the original cursor style is maintained, thereby dynamically adjusting the cursor style according to the differences in application scenarios, improving the visual recognition of the cursor and the continuity of operation when switching between multiple applications.

[0169] If the two events are different applications, i.e., the target application is different from the application that responded to the previous cursor operation event, the display device 200 will trigger the cursor style switching mechanism even if the event generation method of the two consecutive cursor operation events remains unchanged. In this case, the display device 200 queries the cursor class module for a second target cursor instance object corresponding to the target application. The interface switching module can send the focus information of the target application to the cursor class module to instruct it to query multiple cursor instance objects for a second target cursor instance object corresponding to the target application. After determining the second target cursor instance object, the display device 200 can respond to the target cursor operation event by changing the current cursor style to the cursor style corresponding to the second target cursor instance object.

[0170] Based on the above technical solution, in this embodiment, when the target event generation method remains unchanged but the responding target application changes, the controller detects the change in the responding application and queries the cursor class module for a second target cursor instance object corresponding to the target application, thereby switching the cursor style to the style defined by the target application. This allows the same event generation method to present different cursor forms in different applications, improving the adaptability of the cursor to the application scenario and enhancing the user's cursor switching experience between different applications.

[0171] In some embodiments, before querying the second target cursor instance object, the display device 200 may set the corresponding cursor style for the application integrated into the display device 200, encapsulate the display parameters of the cursor style corresponding to different applications into different cursor instance objects, and then store these cursor instance objects in the cursor class module for subsequent calls.

[0172] In some embodiments, the cursor style corresponding to the application can be the same as the cursor style corresponding to the event generation method. Therefore, the display device 200 can encapsulate the display parameters for different cursor styles only and store the resulting cursor instance objects in the cursor class module.

[0173] In some embodiments, the event generation method and the application are different scenario factors for switching cursor styles in this application. To avoid conflicts between the event generation method and the application during cursor style switching, the display device 200 can set the priority order of the event generation method and the application when switching cursor styles, and query the target cursor instance object in the cursor class module according to the priority order. For example, when the cursor style corresponding to the event generation method and the cursor style defined by the application exist side by side, the display device 200 adopts the first priority order, and prioritizes querying the target cursor instance object in the cursor class module according to the application. Alternatively, the display device 200 can also adopt a second priority order, prioritizing querying the target cursor instance object in the cursor class module according to the event generation method.

[0174] Based on the above technical solutions, by pre-setting the priority order, it is determined whether to query the target cursor instance object based on the event generation method or the application when multiple switching conditions are met simultaneously. This avoids logical conflicts in cursor style switching and improves the feasibility of cursor switching in complex interactive scenarios.

[0175] In some embodiments, the display device 200 can also make the cursor with the changed cursor style effective through a browser. To this end, after the cursor class module queries and determines the first target cursor instance object, it can send the first target cursor instance object to the browser of the display device 200. Upon receiving the first target cursor instance object, the browser can parse the graphics display protocol corresponding to the first target cursor instance object, and, using the first target cursor instance object and the graphics display protocol, call the graphics display interface to generate the target interface at the kernel layer of the display device 200, which includes the graphics corresponding to the user interface and the cursor with the changed cursor style. The data corresponding to the target interface is then sent to the application layer for display on the display 260. Alternatively, the display device 200 can simply call the graphics display interface to render the cursor with the changed cursor style, and update the original cursor in the user interface according to the rendered cursor to make the cursor style effective.

[0176] It should be noted that the above embodiments are illustrated using a first target cursor instance object. The second target cursor instance object can also be displayed in the same way through a browser to make the cursor style change effective, which will not be repeated here.

[0177] Some embodiments of this application also provide a cursor style switching method, applied to a display device 200, the method comprising:

[0178] S100: Upon receiving a target cursor operation event sent by the control device, parse the target event generation method of the target cursor operation event;

[0179] S200: If the target event generation method is different from the event generation method of the previous cursor operation event, a switching strategy is generated through the interface switching module;

[0180] S300: According to the switching strategy, query the cursor class module for the first target cursor instance object corresponding to the target event generation method. The cursor class module stores cursor instance objects used to represent cursor styles.

[0181] S400: In response to the target cursor operation event, change the current cursor style of the cursor to the cursor style represented by the first target cursor instance object;

[0182] S500: Display the cursor after changing the cursor style on the user interface.

[0183] As can be seen from the above technical solutions, this application provides a display device and a cursor style switching method. When a target cursor operation event is received from a control device, the target event generation method of the target cursor operation event is parsed. If the target event generation method is different from the event generation method of the previous cursor operation event, the interface switching module queries the cursor class module storing cursor instance objects for the first target cursor instance object corresponding to the target event generation method. Then, in response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style of the first target cursor instance object, and the cursor after the change in cursor style is displayed on the user interface. The display device in this embodiment can dynamically respond to events from the control device with different event generation methods, such as directional keys and sensor pointing, and automatically match the cursor style of the corresponding graphics display protocol to display the cursor.

[0184] The same or similar parts among the various embodiments in this specification can be referred to mutually, and will not be repeated here.

[0185] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or certain parts of the embodiments of the present invention.

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

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

Claims

1. A display device, characterized in that, include: The monitor is configured to display the user interface; The communication device is configured to receive cursor operation events sent by the control device; The controller is configured as follows: Upon receiving a target cursor operation event sent by the control device, the target event generation method of the target cursor operation event is parsed. If the target event generation method is different from the event generation method of the previous cursor operation event, a switching strategy is generated through the interface switching module; According to the switching strategy, the cursor class module queries the first target cursor instance object corresponding to the target event generation method. The cursor class module stores cursor instance objects used to represent cursor styles. In response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style represented by the first target cursor instance object; The user interface displays the cursor after the cursor style has been changed.

2. The display device according to claim 1, characterized in that, According to the switching strategy, before the step of querying the first target cursor instance object corresponding to the target event generation method in the cursor class module, the controller is further configured as follows: Set the corresponding cursor style for the event generation method of the cursor operation event generated by the control device; Obtain the display parameters of the cursor style; The display parameters are encapsulated to obtain a cursor instance object corresponding to the cursor style; Store the cursor instance object in the cursor class module.

3. The display device according to claim 2, characterized in that, The controller executes the step of querying the cursor class module for the first target cursor instance object corresponding to the target event generation method according to the switching strategy, specifically configured as follows: If the target event generation method is different from the event generation method of the previous cursor operation event, the focus marker of the interface switching module is moved from the event generation method of the previous cursor operation event to the target event generation method. The switching strategy is generated from the focus information corresponding to the focus marker. The cursor class module queries the first target cursor instance object corresponding to the focus information.

4. The display device according to claim 1, characterized in that, The controller executes the step of displaying the cursor after the cursor style has been changed on the user interface, specifically configured as follows: Obtain the display status parameters of the cursor under the current cursor style; Based on the display status parameters and the cursor style of the first target cursor instance object, the cursor with the changed cursor style is displayed on the user interface.

5. The display device according to claim 4, characterized in that, The display status parameters include the cursor's display position coordinates and cursor display size. The controller executes the step of displaying the cursor with the changed cursor style on the user interface based on the display status parameters and the cursor style of the first target cursor instance object. Specifically, this step is configured as follows: The reference display position of the cursor is determined in the user interface based on the display position coordinates, and the reference display position is the center position of the cursor when it is in the current cursor style; The cursor with the changed cursor style is displayed according to the cursor display size, with the reference display position as the center position of the cursor after the cursor style is changed.

6. The display device according to claim 1, characterized in that, If no first target cursor instance object corresponding to the target event generation method is found in the cursor class module, the controller is further configured as follows: In the cursor class module, create a cursor instance object of the target event generation method; The cursor instance object is marked as the first target cursor instance object.

7. The display device according to claim 1, characterized in that, The controller is also configured to: If the target event is generated in the same way as the previous cursor operation event, then the target application responding to the target cursor operation event is detected. If the target application is different from the application that responded to the previous cursor operation event, then query the cursor class module that stores cursor instance objects to find the second target cursor instance object corresponding to the target application. In response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style of the second target cursor instance object.

8. The display device according to claim 7, characterized in that, Before the controller executes the step of querying the cursor class module storing cursor instance objects for a second target cursor instance object corresponding to the target application if the target application is different from the application that responded to the previous cursor operation event, it is further configured to: Set the corresponding cursor style for the application integrated into the display device; The display parameters of the cursor style corresponding to different applications are encapsulated into different cursor instance objects; Store the cursor instance object in the cursor class module.

9. The display device according to claim 8, characterized in that, The controller is also configured to: Configure the event generation method and the priority order of the application; According to the priority order, the target cursor instance object is queried in the cursor class module based on the event generation method or the application.

10. A method for switching cursor styles, characterized in that, Applied to the display device according to any one of claims 1-9, the method comprises: Upon receiving a target cursor operation event sent by the control device, the target event generation method of the target cursor operation event is parsed. If the target event generation method is different from the event generation method of the previous cursor operation event, a switching strategy is generated through the interface switching module; According to the switching strategy, the cursor class module queries the first target cursor instance object corresponding to the target event generation method. The cursor class module stores cursor instance objects used to represent cursor styles. In response to the target cursor operation event, the current cursor style of the cursor is changed to the cursor style represented by the first target cursor instance object; The user interface displays the cursor after the cursor style has been changed.